Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
2013-02-02 16:49:19 -06:00
Jon Buckley
caaf7e8032
Issue #2008 - Fix lint errors for src/obj.js
2013-01-31 19:12:45 -05:00
mduan
48fa0172ed
Support corrupted pdfs that are encrypted but lack 'ID' in trailer
2013-01-14 13:43:10 -08:00
Christian Mehlis
e95fbb3860
Update src/obj.js
...
fix Issue #1523
2012-11-24 21:31:05 +01:00
Yury Delendik
725195b65f
Fixes compressed object entries caching
2012-11-06 12:05:59 -06:00
Yury Delendik
35af48123a
Fixes stream loading for XRefStm
2012-11-02 08:26:45 -05:00
Yury Delendik
69b72078c0
Separate page objects/images from the fonts; does not store large images
2012-10-28 15:24:54 -05:00
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()
2012-10-25 11:15:19 +02:00
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
2012-08-31 15:48:21 -07:00
Yury Delendik
3093427480
Marks xref entries with offset 0 as free
2012-08-10 21:31:33 -05:00
Yury Delendik
1fb02300a4
Removing log
2012-05-29 11:01:46 -05:00
Yury Delendik
48811f362b
Skipping incorrectly encoded metadata
2012-05-27 19:00:13 -05:00
Yury Delendik
413e5357b9
Suppress metadata decryption
2012-05-27 18:03:04 -05:00
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
2012-05-27 22:56:49 +02:00
Jakob Miland
0a30d3961b
Support password and add the relevant l10n strings
2012-05-14 20:45:07 +02:00
Kalervo Kujala
889b3d3168
Correct class method names.
2012-05-01 20:48:07 +03:00
Yury Delendik
fcabd176a0
Don't check gen number for free entry; don't index objects twice
2012-04-23 22:14:58 -05:00
Yury Delendik
42911f1fc9
Async getAnnotations(); hide map and xref for Dict
2012-04-14 13:54:31 -07:00
Yury Delendik
8ee1f96b19
Fix the merge
2012-04-05 10:12:48 -05:00
Yury Delendik
cea388201d
Merge remote-tracking branch 'mozilla/master' into mergexref-1
...
Conflicts:
src/core.js
src/evaluator.js
src/obj.js
2012-04-05 10:03:49 -05:00
Brendan Dahl
cee2f73ca9
Fix table of contents.
2012-04-04 15:29:50 -07:00
Kalervo Kujala
99440ab691
Refactor class method names.
...
Also move functionality to more logical place in canvas.js and jpx.js.
2012-04-04 23:43:26 +03:00
Brendan Dahl
8a45177be0
Make Dict handle all the fetching of Refs.
2012-04-04 11:43:04 -07:00
Saebekassebil
94a1558843
refactor and shadow
2012-03-27 00:05:14 +02:00
Saebekassebil
ab198e89cc
Typo from git'ing around
2012-03-24 23:39:03 +01:00
Saebekassebil
9dbcc74d41
lint..
2012-03-24 20:02:20 +01:00
Saebekassebil
20dd225e40
Metadata parsing/serialization
2012-03-24 19:59:51 +01:00
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.
2012-03-20 14:16:48 +02:00
Marcus Oblak
7ec282cbb0
Re-Fixed Formatting (Lint friendly)
2012-03-14 21:58:22 +01:00
Marcus Oblak
2fbfed476e
Fixed code formatting.
2012-03-13 22:25:39 +01:00
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)
2012-03-13 16:52:55 +01:00
notmasteryet
ff01faa86f
Merge pull request #1148 from arturadib/readXRefTable
...
Rewrite of readXRefTable [obj.js]
2012-02-01 04:40:22 -08:00
Artur Adib
775290d698
Lint
2012-01-31 10:57:32 -05:00
Artur Adib
9e9674d45c
Remove debugging line
2012-01-31 10:50:30 -05:00
Artur Adib
0959cd3517
New readXRefTable, working
2012-01-31 10:49:06 -05:00
Artur Adib
4375bd2219
progress
2012-01-31 09:57:12 -05:00
Artur Adib
8068ff242d
readXRefTable rewrite, progress
2012-01-31 09:01:04 -05:00
Kalervo Kujala
66e3441e0e
Change throws to errors.
2012-01-24 22:10:16 +02:00
notmasteryet
d3b3842946
fetch/getEntry returns null if the entry is free
2012-01-08 14:03:00 -06:00
Brendan Dahl
9fd41e11da
Merge pull request #990 from notmasteryet/concurload
...
Fixes concurrent pages loading (#974 and #626 )
2011-12-30 09:40:12 -08:00
Kalervo Kujala
84d6a121af
Add basic unit tests for obj.js.
2011-12-28 23:20:04 +02:00
Saebekassebil
d44f9f2074
Implemented Settings manager. Now remembering scroll positions
2011-12-22 22:29:01 +01:00
Julian Viereck
e9c762a97f
Address review comments by notmasteryet
2011-12-19 16:37:36 +01:00
Julian Viereck
156e20ca73
Cache Cmd object to reduce number of created objects
2011-12-18 20:39:10 +01:00
Kalervo Kujala
cd01302de8
Merge remote-tracking branch 'upstream/master' into style
...
Conflicts:
src/image.js
src/pattern.js
2011-12-09 00:28:31 +02:00
notmasteryet
cb592d6e51
Merge pull request #776 from jviereck/jpegimage_cleanup
...
Don't create JpegImage object anymore - go functional style
2011-12-07 11:11:11 -08:00
Julian Viereck
af8e2a1189
Address review comments by yury
2011-12-07 19:07:00 +01:00
Kalervo Kujala
f239d01bde
Name constructors in obj.js.
2011-12-07 00:18:40 +02:00
Julian Viereck
97802aac64
Inline JpegImageLoader to remove new JpegImageLoader call
2011-12-05 17:59:03 +01:00
notmasteryet
01a96fdddf
Fixing lint errors; extra empty lines
2011-12-02 15:35:18 -06:00