Commit Graph

757 Commits

Author SHA1 Message Date
sbarman
7c48297794 Adding call to resolve unfulfilled promise 2012-06-11 15:05:06 -07:00
sbarman
c900dfeced Updated lint errors 2012-06-11 14:57:58 -07:00
sbarman
dd14b3051e Fix for issue #1796 2012-06-08 22:42:56 -07:00
Brendan Dahl
1c1447e599 Merge pull request #1763 from yurydelendik/type3-1
Type3 smoothing: pre-scale image in the paintImageMaskXObject
2012-06-06 09:26:38 -07:00
Yury Delendik
d5da15e001 Fixes brackets 2012-06-05 17:56:18 -05:00
Brendan Dahl
6175e4b526 Use already downloaded data for the open with/save as dialog. 2012-06-01 14:17:09 -07:00
benbro
6de284acc9 Set the style element ID. 2012-05-31 12:05:06 +03:00
benbro
4e39685753 Use a style tag with an ID instead of keeping a reference to it. 2012-05-31 12:01:15 +03:00
Brendan Dahl
d9764ab468 Merge pull request #1674 from mozilla/textsearch
Text search with new API, new UI
2012-05-29 10:16:18 -07:00
Brendan Dahl
2ba7cbc4fa Merge pull request #1766 from yurydelendik/encryptmeta
Suppress metadata decryption
2012-05-29 09:44:24 -07:00
Yury Delendik
1fb02300a4 Removing log 2012-05-29 11:01:46 -05:00
Artur Adib
9597efb3f4 merge upstream 2012-05-29 11:54:11 -04:00
Yury Delendik
50b86ff480 Move putImageData 2012-05-28 15:10:44 -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
Yury Delendik
81681e7914 Pre-scale image in the paintImageMaskXObject 2012-05-27 13:50:46 -05:00
Brendan Dahl
5416b92392 Add todo comment. 2012-05-25 13:07:07 -07:00
Brendan Dahl
2da12930a6 Merge branch 'master' of github.com:mozilla/pdf.js into fallback-ui
Conflicts:
	extensions/firefox/components/PdfStreamConverter.js
2012-05-24 14:01:10 -07:00
Brendan Dahl
e16a5c81d4 Merge pull request #1734 from yurydelendik/issue-1721
Adjust heuristic to properly handle unicode characters
2012-05-24 09:44:29 -07:00
Brendan Dahl
139200e772 Merge pull request #1716 from yurydelendik/issue-1709
Adjusts MacRoman switch heuristics threshold
2012-05-22 18:09:51 -07:00
Yury Delendik
6971aec9f3 Adjust heuristic to properly handle unicode characters 2012-05-21 22:15:09 -05:00
Artur Adib
5ac7513fa3 Merge pull request #1728 from yurydelendik/lexer-1
Allow parsing of the "glued" commands
2012-05-21 13:55:29 -07:00
Brendan Dahl
a9136d9f0f Merge pull request #1720 from yurydelendik/remove-cid-1
Removes the CID data from the CFF font
2012-05-21 13:48:51 -07:00
Yury Delendik
874357aac1 Comment for knownCommands 2012-05-21 15:23:49 -05:00
Artur Adib
1e41f65735 Merge pull request #1712 from yurydelendik/winfont-1
Moves Subrs to Private tail in CFF top dict
2012-05-21 11:25:47 -07:00
Yury Delendik
43f1946c7a Add prefixes for literals 2012-05-20 14:05:23 -05:00
Yury Delendik
ec6c185cf5 Allow parsing of the "glued" commands 2012-05-20 13:44:03 -05:00
Yury Delendik
ed02be8352 Removes the CID data from the CFF font 2012-05-18 16:51:55 -05:00
Yury Delendik
84b4f53ed6 Adjusts MacRoman switch heuristics threshold 2012-05-18 11:15:44 -05:00
Yury Delendik
45ae175d0b Fixes CFF: moves Subrs to Private tail 2012-05-17 18:15:11 -05:00
Jakob Miland
b655b414d8 PasswordException in closure 2012-05-17 21:34:39 +02:00
Jakob Miland
3ddf9b5dfd Merge branch 'fixpassword', remote-tracking branch 'origin/master' into fixpassword 2012-05-16 21:03:09 +02:00
Artur Adib
0bac4abcb5 Merge branch 'master' of github.com:mozilla/pdf.js into textsearch 2012-05-16 12:51:19 -04:00
Brendan Dahl
e962d93946 Change to info for most gstate settings. 2012-05-15 16:05:45 -07:00
Brendan Dahl
60dd0e08e4 Merge pull request #1694 from yurydelendik/owner-password
Fixes user and owner passwords logic
2012-05-15 11:52:56 -07:00
Brendan Dahl
080c3e79fc Merge upstream. Use new l10n. 2012-05-15 10:33:01 -07:00
Brendan Dahl
034583e1a1 Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension. 2012-05-14 17:19:09 -07:00
Jakob Miland
45d6daa853 Wrong variable name, fix 2012-05-14 20:58:56 +02:00
Jakob Miland
0a30d3961b Support password and add the relevant l10n strings 2012-05-14 20:45:07 +02:00
Brendan Dahl
3586b7579f Merge pull request #1686 from yurydelendik/evaluator-tests
Evaluator tests
2012-05-14 09:06:41 -07:00
Jakob Miland
b7ea788b0c Merge remote-tracking branch 'origin/master' into fixpassword 2012-05-14 17:58:10 +02:00
Yury Delendik
910ba0b91f Fixes user and owner passwords logic 2012-05-12 21:34:32 -05:00
benbro
b6077c7398 IE9 breaks when adding to many style elements to the page. 2012-05-12 03:40:40 +03:00
Dmitry Kataev
6acdf1791c Two or more operations can be combined together like qqBT 2012-05-09 21:29:50 +04:00
Artur Adib
2d3ed7fc78 Merge branch 'refs/heads/master' into textsearch
Conflicts:
	web/viewer.css
	web/viewer.html
	web/viewer.js
2012-05-08 17:22:48 -04:00
beat
e1146b64ad fix 4 lint errors 2012-05-08 16:34:46 +02:00
beat
e11cad884c code style fixes 2012-05-08 14:17:51 +02:00
beat
7786e4fefb Make authentication work 2012-05-07 09:17:00 +02:00
asraniel
315071ca28 Add stub for the last piece of the puzzle 2012-05-06 21:32:30 +02:00
asraniel
353a43cb46 Add first API change, not working yet 2012-05-06 21:24:42 +02:00
Yury Delendik
3f2adc04ac Merge pull request #1620 from merkste/opera-jpg.js-issue
Opera, Mac: exception on importScript jpg.js locally (clean pull)
2012-05-01 17:50:31 -07:00
Kalervo Kujala
117256ce78 Correct PDFDocumentProxyClosure name. 2012-05-01 20:54:16 +03:00
Kalervo Kujala
889b3d3168 Correct class method names. 2012-05-01 20:48:07 +03:00
Brendan Dahl
f8ed7bb31a Fix object id counter. 2012-04-26 09:38:58 -07:00
Steffen Märcker
2b81f3c2e9 changed load order to fix viewer in Opera locally 2012-04-26 13:28:38 +02:00
Brendan Dahl
92e355dc35 Address review comments. 2012-04-25 18:44:28 -07:00
Brendan Dahl
ba9c828117 Merge pull request #1600 from yurydelendik/issue-1586
Don't check gen number for free entry; don't index objects twice
2012-04-25 17:04:11 -07:00
Saebekassebil
9287ab12e7 Add mailto protocol, to whitelist 2012-04-25 20:17:26 +02:00
Brendan Dahl
0cb6d62089 Merge pull request #1599 from yurydelendik/issue-1597
Guessing pdf char size based on the CMap numbers
2012-04-24 13:49:30 -07:00
Brendan Dahl
2db0ee6ba3 Add next line operators for text collection. 2012-04-24 12:29:23 -07: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
78213e826e Guessing pdf char size based on the CMap numbers 2012-04-23 17:44:51 -05:00
Yury Delendik
f7ccb291f4 Fix broken metadata 2012-04-23 16:43:20 -05:00
Brendan Dahl
8eaf0cdb18 Remove cache of page text content in core. 2012-04-23 13:16:57 -07:00
Brendan Dahl
92d0d1d694 Merge new API and text search. 2012-04-20 16:49:08 -07:00
Yury Delendik
cf19de8fcd Merge pull request #1573 from brendandahl/issue-1516
Handle junk at the end of postscript functions.
2012-04-18 14:00:58 -07:00
Brendan Dahl
cec7a92a99 Merge pull request #1568 from yurydelendik/issue-1557
Fixes annotations; adds text annotation icon
2012-04-18 10:51:13 -07:00
Brendan Dahl
56079d77bc Merge pull request #1504 from yurydelendik/issue-1502
Rebuilding invalid OS/2 table
2012-04-18 10:32:55 -07:00
Brendan Dahl
6ab7584ba4 Fix to lowercase. 2012-04-18 09:50:47 -07:00
Brendan Dahl
e5732f489d Handle junk at the end of postscript functions. 2012-04-18 09:48:28 -07:00
Yury Delendik
237e1d941d Fix annotations; add text annotation icon 2012-04-17 15:33:15 -05:00
Brendan Dahl
9b0224b5cf Merge pull request #1551 from yurydelendik/issue-1549
Fix the operator list deallocation
2012-04-17 09:02:47 -07:00
Yury Delendik
cff6c8db08 skip cached objects and has consistent font ids 2012-04-16 21:42:05 -05:00
Yury Delendik
b6edbb38c1 Fixes content stream reset; terminating rendering when destroyed 2012-04-16 16:46:26 -05:00
Yury Delendik
32684fe324 Change render status logic 2012-04-16 16:19:45 -05:00
Yury Delendik
0380d408e0 Fixes comment 2012-04-16 15:28:34 -05:00
Yury Delendik
f701a1427a Remove operatorList cache from the backend 2012-04-16 15:23:24 -05:00
Yury Delendik
357805696b Fixing concurrency and test driver 2012-04-16 14:49:55 -05:00
Yury Delendik
1e96c73207 Fixing concurent draw page requests for de-allocation 2012-04-16 14:13:41 -05:00
Yury Delendik
08830731c0 Fix the operator list deallocation 2012-04-16 13:38:27 -05:00
Brendan Dahl
32b7eba6de Add RL abbreviation for run length decode. 2012-04-16 11:35:42 -07:00
Brendan Dahl
4616ee0ee8 Show error on JBIG2 images. 2012-04-16 11:34:00 -07:00
Brendan Dahl
04c8d1454d Add Util functions to PDFJS. 2012-04-16 09:45:49 -07:00
Yury Delendik
12b0282836 Remove debug code 2012-04-14 17:57:14 -05:00
Yury Delendik
6bf640260f Fix jsdoc comment; remove resources dict from type3 properties 2012-04-14 17:52:49 -07:00
Yury Delendik
4953e0fecc Merge branch 'api' of git://github.com/mozilla/pdf.js.git into api 2012-04-14 13:56:57 -07:00
Yury Delendik
42911f1fc9 Async getAnnotations(); hide map and xref for Dict 2012-04-14 13:54:31 -07:00
Brendan Dahl
c207d4a7d6 Add docs to API. 2012-04-13 09:25:08 -07:00
Yury Delendik
dee158d80c Fix title info for PDF document 2012-04-12 15:56:17 -07:00
Yury Delendik
f955befc4b Merge pull request #1532 from brendandahl/api
Fix page error handling.
2012-04-12 15:17:33 -07:00
Yury Delendik
eba8f5a22c Fix finger print, remove unused code 2012-04-12 15:14:18 -07:00
Brendan Dahl
23df48bf0e Fix page error handling. 2012-04-12 15:14:18 -07:00
Brendan Dahl
c02b18b5e8 Merge upstream. 2012-04-12 14:11:22 -07:00
Brendan Dahl
07fc34551d Minor clean up. 2012-04-12 14:07:11 -07:00
Yury Delendik
494fd1ccf9 Fixes make files, removes stats from backend, stepper 2012-04-12 14:02:47 -07:00
Brendan Dahl
7c35f10af8 Fix thumbnail view. 2012-04-12 13:04:03 -07:00
Brendan Dahl
2c49cab3a1 Fixing names. 2012-04-12 12:11:22 -07:00
Yury Delendik
f0687c4d50 Refactor pageNumber/pageIndex concept 2012-04-12 10:01:07 -07:00
Yury Delendik
b312719d7e Fixes test driver and examples 2012-04-12 08:23:38 -07:00
Brendan Dahl
5608f8e445 Test refactoring for async api. 2012-04-11 18:05:43 -07:00
Yury Delendik
3b83a42a91 Outline fix, destroy, and linting 2012-04-11 17:09:55 -07:00
Brendan Dahl
fd58f04117 Refactor API to be async. 2012-04-11 16:47:42 -07:00
Yury Delendik
73cab9c302 Initial API refectoring 2012-04-11 15:52:15 -07:00
Yury Delendik
d61c4f07f8 Initial view bug and rename viewport function 2012-04-11 10:18:29 -07:00
Yury Delendik
2f4423cffb Fixing zoom and rotate issues 2012-04-11 09:42:41 -07:00
Yury Delendik
82dd32e807 Merge branch 'api' of git://github.com/mozilla/pdf.js.git into remove-rotatept 2012-04-11 08:30:24 -07:00
Yury Delendik
47c43b5779 Removing the rotatePoint, width, height from the API 2012-04-11 08:29:44 -07:00
Brendan Dahl
fbd9fcd8fb Fix fingerprint name. 2012-04-10 12:17:43 -07:00
Yury Delendik
737ed84174 Initial API implementation 2012-04-09 22:20:57 -07:00
Julian Viereck
c9fb5637c3 Extract one page after the other and not all pages at once 2012-04-08 16:18:43 -07:00
Julian Viereck
3c77291013 Merge text search with current master 2012-04-08 08:57:55 -07:00
Yury Delendik
be6ccdca34 Rebuilding invalid OS/2 table 2012-04-06 15:52:57 -07:00
Brendan Dahl
2e92c0ea08 Merge pull request #1494 from yurydelendik/convert-docinfo
Convert Unicode strings in the document info
2012-04-05 16:15:31 -07:00
Yury Delendik
b10d7fceb8 Merge pull request #1443 from brendandahl/gradientfix
Fix gradients for fill and stroke.
2012-04-05 16:14:55 -07:00
Brendan Dahl
449d7105c6 Merge pull request #1486 from yurydelendik/issue-1466
Improving invalid operations syntax recovery (#1466)
2012-04-05 15:39:47 -07:00
Brendan Dahl
4984ca9894 Fix lint. 2012-04-05 15:33:00 -07:00
Brendan Dahl
dd319995e1 Merge pull request #1484 from yurydelendik/issue-1462
Removing double-entry for 'space' for standard encodings
2012-04-05 15:28:30 -07:00
Brendan Dahl
fece736b8a Merge upstream. 2012-04-05 12:46:23 -07:00
Yury Delendik
5dd4c0278d Merge remote-tracking branch 'mozilla/master' into convert-docinfo
Conflicts:
	src/core.js
2012-04-05 11:34:55 -05:00
Yury Delendik
08a241fc4b Convert Unicode strings in the document info (#1458) 2012-04-05 10:40:37 -05: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
Kalervo Kujala
5083774a8c Fix lint warnings in fonts.js. 2012-04-05 07:37:04 +03:00
Brendan Dahl
cee2f73ca9 Fix table of contents. 2012-04-04 15:29:50 -07:00
Kalervo Kujala
8fd04e7daa Correct Type1 class method names. 2012-04-05 00:14:47 +03: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
82a95d8bde Merge branch 'master' of https://github.com/mozilla/pdf.js into xrefdict 2012-04-04 11:45:04 -07:00
Brendan Dahl
8a45177be0 Make Dict handle all the fetching of Refs. 2012-04-04 11:43:04 -07:00
Yury Delendik
0ca4ca6077 Improving invalid operations syntax recovery (#1466) (see also #589) 2012-04-04 11:50:20 -05:00
Yury Delendik
b3bcd7370c Removing double-entry for 'space' for standard encodings 2012-04-04 09:48:33 -05:00
notmasteryet
512997a5af Merge pull request #1457 from gigaherz/closure-compiler
Fixes to allow compiling with Closure Compiler
2012-03-31 14:42:15 -07:00
notmasteryet
fed4cb194e Merge pull request #1448 from brendandahl/fdselectorder
Fix cff regression.
2012-03-31 07:55:01 -07:00
gigaherz
9abbce021f Undo comment changes. 2012-03-30 23:28:11 +02:00
gigaherz
c6d7e654ee Replace variables named 'char'=>'character', 'byte'=>'octet' and field '.private'=>'.privateData'. This allows pdf.js to compile with Google's Closure Compiler. 2012-03-30 23:17:04 +02:00
Brendan Dahl
c7bd123bab Merge pull request #1417 from notmasteryet/issue-1395
Don't print missing symbols in the font
2012-03-30 12:25:36 -07:00
Brendan Dahl
8c5d33c86b Fix cff regression. 2012-03-29 15:37:40 -07:00
Brendan Dahl
7008d07fde Fix gradients for fill and stroke. 2012-03-29 08:53:51 -07:00
Brendan Dahl
afebc33142 Merge pull request #1413 from saebekassebil/metadata
Metadata Parsing - Setting proper document title
2012-03-28 12:02:16 -07:00
Saebekassebil
e9b5205612 File header 2012-03-28 20:09:03 +02:00
Saebekassebil
10fb0dc383 Use strict and expose in build version 2012-03-28 20:07:37 +02:00
Saebekassebil
1181ef2778 Fix throwing errors 2012-03-28 19:15:59 +02:00
Saebekassebil
89c1873fd8 more one-line fixes 2012-03-27 22:37:02 +02:00
Saebekassebil
e6277784f1 fix to follow syntax style guidelines 2012-03-27 22:32:35 +02:00
Kalervo Kujala
a84fbb9eb2 Fix a couple of closure names. 2012-03-27 14:27:49 +03:00
notmasteryet
19bc96a617 Merge pull request #1406 from 'bdahl/string_fontname'
Fix string font names.
2012-03-26 21:17:16 -05:00
Brendan Dahl
d9bb76d54c Merge pull request #1418 from notmasteryet/truetype-enc-2
Checking if it's a true symbolic truetype font
2012-03-26 17:12:16 -07:00
Saebekassebil
e283a60d7b return and shadow for getDocumentInfo 2012-03-27 00:16:16 +02:00
Saebekassebil
4703a6cfcd refactor getFingerprint 2012-03-27 00:14:59 +02:00
Saebekassebil
94a1558843 refactor and shadow 2012-03-27 00:05:14 +02:00