Yury Delendik
6809f254eb
Protection from empty/invalid root or kid in NameTree
12 years ago
Yury Delendik
2bdfc0727f
Fixes NameTree reading
12 years ago
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
12 years ago
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
12 years ago
Jon Buckley
caaf7e8032
Issue #2008 - Fix lint errors for src/obj.js
12 years ago
mduan
48fa0172ed
Support corrupted pdfs that are encrypted but lack 'ID' in trailer
12 years ago
Christian Mehlis
e95fbb3860
Update src/obj.js
...
fix Issue #1523
13 years ago
Yury Delendik
725195b65f
Fixes compressed object entries caching
13 years ago
Yury Delendik
35af48123a
Fixes stream loading for XRefStm
13 years ago
Yury Delendik
69b72078c0
Separate page objects/images from the fonts; does not store large images
13 years ago
Piotr Zalewa
812bc6795d
* InvalidPDFException added
...
* Act on throwing an Exception and InvalidPDFException by rejecting the worker
instead of throwing
* changed message for all builds
* alerting and closing window only for B2G builds
* invalid_file_error added to l10n (en and pl)
* UnknownErrorException added and used for every error()
13 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
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