Commit Graph

47 Commits

Author SHA1 Message Date
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
notmasteryet
0f7f80ee6e If readXRefStream or readXRefTable fails, fallback to object indexing (#828) 2011-12-02 15:31:29 -06:00
Artur Adib
249385b4bb Progress 2011-11-02 15:08:19 -04:00
Kalervo Kujala
b9748a91f1 Name anonymous functions in obj.js. 2011-10-29 20:31:56 +03:00
Kalervo Kujala
7e6a589074 Fix js strict warning in worker.js.
Also fix a few minor nits.
2011-10-27 21:51:10 +03:00
Artur Adib
41caf5018d Merge branch 'refs/heads/master' into filesplit
Conflicts:
	pdf.js
2011-10-26 15:10:58 -04:00
Artur Adib
e71b6188c6 'use strict' everywhere 2011-10-25 18:18:22 -07:00
Artur Adib
a7278b7fbc Splitting files 2011-10-24 16:55:23 -07:00