Yury Delendik
3093427480
Marks xref entries with offset 0 as free
13 years ago
Yury Delendik
1fb02300a4
Removing log
13 years ago
Yury Delendik
48811f362b
Skipping incorrectly encoded metadata
13 years ago
Yury Delendik
413e5357b9
Suppress metadata decryption
13 years ago
Nils Maier
40b9be137f
Decode XML metadata as UTF-8
...
XML uses UTF-8 by default, which needs to be decoded to a Javascript
String prior to feeding it to the DOMParser.
In an ideal world, the XML would actually be analyzed and the specified
charset would be used, however that does not seem feasible unless JS
engines get iconv bindings.
Fixes GH-1692
13 years ago
Jakob Miland
0a30d3961b
Support password and add the relevant l10n strings
13 years ago
Kalervo Kujala
889b3d3168
Correct class method names.
13 years ago
Yury Delendik
fcabd176a0
Don't check gen number for free entry; don't index objects twice
13 years ago
Yury Delendik
42911f1fc9
Async getAnnotations(); hide map and xref for Dict
13 years ago
Yury Delendik
8ee1f96b19
Fix the merge
13 years ago
Brendan Dahl
cee2f73ca9
Fix table of contents.
13 years ago
Kalervo Kujala
99440ab691
Refactor class method names.
...
Also move functionality to more logical place in canvas.js and jpx.js.
13 years ago
Brendan Dahl
8a45177be0
Make Dict handle all the fetching of Refs.
13 years ago
gigaherz
9abbce021f
Undo comment changes.
13 years ago
gigaherz
c6d7e654ee
Replace variables named 'char'=>'character', 'byte'=>'octet' and field '.private'=>'.privateData'. This allows pdf.js to compile with Google's Closure Compiler.
13 years ago
Saebekassebil
94a1558843
refactor and shadow
13 years ago
Saebekassebil
ab198e89cc
Typo from git'ing around
13 years ago
Saebekassebil
9dbcc74d41
lint..
13 years ago
Saebekassebil
20dd225e40
Metadata parsing/serialization
13 years ago
Kalervo Kujala
eb4ec7899a
Remove unreachable logic after error(...) is called.
...
The function error(...) always throws so there is no need to return separately
or have an else branch.
13 years ago
Marcus Oblak
7ec282cbb0
Re-Fixed Formatting (Lint friendly)
13 years ago
Marcus Oblak
2fbfed476e
Fixed code formatting.
13 years ago
mrqzzz
d6cb3cbbd7
Handled case where var "outlineDict" was null (in certain PDFs). Handled
...
case where var "e" was null in "function xRefGetEntry" (in certain PDFs)
13 years ago
Artur Adib
775290d698
Lint
13 years ago
Artur Adib
9e9674d45c
Remove debugging line
13 years ago
Artur Adib
0959cd3517
New readXRefTable, working
13 years ago
Artur Adib
4375bd2219
progress
13 years ago
Artur Adib
8068ff242d
readXRefTable rewrite, progress
13 years ago
Kalervo Kujala
66e3441e0e
Change throws to errors.
13 years ago
notmasteryet
d3b3842946
fetch/getEntry returns null if the entry is free
13 years ago
Kalervo Kujala
84d6a121af
Add basic unit tests for obj.js.
14 years ago
Saebekassebil
d44f9f2074
Implemented Settings manager. Now remembering scroll positions
14 years ago
Julian Viereck
e9c762a97f
Address review comments by notmasteryet
14 years ago
Julian Viereck
156e20ca73
Cache Cmd object to reduce number of created objects
14 years ago
Julian Viereck
af8e2a1189
Address review comments by yury
14 years ago
Kalervo Kujala
f239d01bde
Name constructors in obj.js.
14 years ago
Julian Viereck
97802aac64
Inline JpegImageLoader to remove new JpegImageLoader call
14 years ago
notmasteryet
01a96fdddf
Fixing lint errors; extra empty lines
14 years ago
notmasteryet
0f7f80ee6e
If readXRefStream or readXRefTable fails, fallback to object indexing ( #828 )
14 years ago
Artur Adib
249385b4bb
Progress
14 years ago
Kalervo Kujala
b9748a91f1
Name anonymous functions in obj.js.
14 years ago
Kalervo Kujala
7e6a589074
Fix js strict warning in worker.js.
...
Also fix a few minor nits.
14 years ago
Artur Adib
e71b6188c6
'use strict' everywhere
14 years ago
Artur Adib
a7278b7fbc
Splitting files
14 years ago