Commit Graph

326 Commits

Author SHA1 Message Date
Artur Adib
86387272fc webkit dash support 2012-01-03 14:51:35 -05:00
Saebekassebil
7fd0dbbc17 Typdoh 2012-01-03 19:38:45 +01:00
Saebekassebil
77e900da11 Add #findTableCode to CCITTFaxStream's prototype, fixing issue #1015 2012-01-03 19:11:13 +01:00
Christian Legnitto
03e39363b6 Add the style element to the head rather than first element in the document, as the first element could be a comment and this would line would then throw 2012-01-02 21:40:43 -08:00
Julian Viereck
52aba8648e Add displayReadyPromise to the Page object to not request the IRQueue all the time and simplify some stuff 2012-01-02 20:02:20 +01:00
Julian Viereck
0c22e5d653 Make sure resolving the promise sets some data 2012-01-02 20:02:20 +01:00
Brendan Dahl
78f7354dc7 Merge pull request #1009 from notmasteryet/issue-1001
Fix stitching function; media box fix
2011-12-30 18:25:19 -08:00
notmasteryet
cbf4c0393f Replace nbsp entity with character code 2011-12-30 19:32:35 -06:00
notmasteryet
877e0f4159 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
Conflicts:
	web/viewer.js
2011-12-30 19:22:59 -06:00
notmasteryet
6672420f8d Fixing CropBox 2011-12-30 18:52:15 -06:00
notmasteryet
c0cf081ec0 Merge pull request #994 from brendandahl/type4func
Type4 PostScript Functions
2011-12-30 16:05:49 -08:00
Brendan Dahl
df1e22f2e4 Switch to push instead of slice. Faster on jsperf, but doesn't seem to be faster testing locally. 2011-12-30 14:59:00 -08:00
notmasteryet
3f286803d0 Move the media left-top corner to the (0,0) canvas position 2011-12-30 16:45:33 -06:00
Brendan Dahl
acd64d75f3 Switch to conditional operator. 2011-12-30 13:38:09 -08:00
Brendan Dahl
9de52f375d Fix idiv and cvi. Add test case for idiv. 2011-12-30 13:25:34 -08: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
Brendan Dahl
6afb49c6c6 Address Yury's PR comments. 2011-12-30 09:24:13 -08:00
notmasteryet
baab676b00 Fix stitching function 2011-12-29 22:53:25 -06:00
notmasteryet
6a0dd63526 Merge pull request #985 from kkujala/test
Add basic unit tests for obj.js.
2011-12-29 19:01:39 -08:00
Brendan Dahl
20dace0513 Switch to a single "code stack". 2011-12-29 13:41:54 -08:00
Brendan Dahl
7c8445753d Merge upstream. 2011-12-29 12:37:15 -08:00
Brendan Dahl
9161c2e688 Merge pull request #972 from notmasteryet/textstroke
Correct stroke width for text; convert intel-load test to eq-test
2011-12-28 20:12:08 -08:00
Brendan Dahl
27b0d0c941 Switch to two arrays for instructions. 2011-12-28 20:08:18 -08:00
Kalervo Kujala
84d6a121af Add basic unit tests for obj.js. 2011-12-28 23:20:04 +02:00
Steffen Märcker
d769535bee fixed the remaining style error 2011-12-28 19:57:12 +01:00
Steffen Märcker
b506bc7f44 fixed lint errors 2011-12-28 17:32:54 +01:00
Steffen Märcker
9fcd303519 fixed typo 2011-12-28 15:23:39 +01:00
Steffen Märcker
c2b42b1cfc Small refactoring of fallback code to fake worker. 2011-12-28 15:21:32 +01:00
Steffen Märcker
fdcc4ca590 Added fallback to fake worker if serialization of typed array fails.
This happens e.g. in Opera 11.60.
2011-12-28 09:10:06 +01:00
Saebekassebil
e147485262 Refactoring Settings manager, now with limit on memory usage 2011-12-26 15:07:24 +01:00
Brendan Dahl
971f35d165 Add unit files to lint, fix lint errors. 2011-12-23 21:19:15 -08:00
Brendan Dahl
1089c30b56 Adding type4 postscript function support. 2011-12-23 19:41:12 -08:00
notmasteryet
d7754a402e Correct stroke width for text; convert intel-load test to eq-test 2011-12-22 17:43:14 -06:00
Saebekassebil
0de0e92bc4 Added #getFingerprint method to PDFDocModel 2011-12-22 23:44:42 +01:00
Saebekassebil
d44f9f2074 Implemented Settings manager. Now remembering scroll positions 2011-12-22 22:29:01 +01:00
Kalervo Kujala
13b88a07e0 Move initialization of uniquePrefix higher. 2011-12-22 20:05:39 +02:00
Artur Adib
b2791c60a6 Fixed worker_loader for examples/; simplified 2011-12-22 09:40:00 -05:00
Saebekassebil
12e2dcd775 Addressing notmasteryet's comments 2011-12-22 11:29:27 +01:00
Saebekassebil
c714c782cc Lint nits 2011-12-21 23:37:52 +01:00
Saebekassebil
4a661e1735 Implemented Comment and Check annotation. Correcting some typos in last commit 2011-12-21 23:22:07 +01:00
Artur Adib
ca7d44c646 Merge pull request #749 from notmasteryet/forms-1
Simple AcroForms support
2011-12-21 06:16:30 -08:00
notmasteryet
f007455ac4 Merge pull request #961 from brendandahl/smaskscale
Scaling Soft Masks
2011-12-19 18:39:26 -08:00
Brendan Dahl
5cfe97611f Rename some variables. 2011-12-19 16:31:47 -08:00
Brendan Dahl
db4a11e568 Fix comment. 2011-12-19 14:58:01 -08:00
Julian Viereck
e9c762a97f Address review comments by notmasteryet 2011-12-19 16:37:36 +01:00
Brendan Dahl
03ec82ba62 Fix nits. 2011-12-18 17:29:08 -08:00
Brendan Dahl
87d72023dc Scale smask and image to the max dimensions of either one. Fix grayscale to scale the input value based on bpc. 2011-12-18 17:18:36 -08:00
Brendan Dahl
74b66c0a7b Fix bug, decoding was always getting called. 2011-12-18 17:17:35 -08:00
Julian Viereck
156e20ca73 Cache Cmd object to reduce number of created objects 2011-12-18 20:39:10 +01:00
notmasteryet
0f6291c7b9 Move text layer UI to viewer.js; fixes adding div with single char; replaces innerHTML to textContent 2011-12-18 12:53:30 -06:00
Brendan Dahl
3175e5498c Merge remote-tracking branch 'upstream/master' into smaskscale 2011-12-16 10:11:40 -08:00
Artur Adib
f7f7269253 Merge pull request #937 from ironymark/master
stop canvasRenderTextLayer blocking browser UI
2011-12-16 09:06:18 -08:00
Adil Allawi
b921486bce simplify adding of textdivs to DOM as queue is no longer needed 2011-12-16 10:38:30 +00:00
Brendan Dahl
abad94d2b6 Lints. 2011-12-15 16:30:51 -08:00
Brendan Dahl
01e876f014 Merge remote-tracking branch 'origin/decodemap' into smaskscale 2011-12-15 15:20:36 -08:00
Brendan Dahl
8096d747c0 Fix nits. 2011-12-15 15:13:48 -08:00
Brendan Dahl
f4f125f67d Merge remote-tracking branch 'upstream/master' into decodemap 2011-12-15 14:41:03 -08:00
notmasteryet
b010f293a2 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1 2011-12-15 15:35:44 -06:00
Adil Allawi
5bd080fd05 oops, interval was not clearing because 'this' is not the same 'this' inside an interval. Should use local variable 'self' instead. Reviewers you should have spotted this! :) 2011-12-15 11:32:58 +00:00
Adil Allawi
c93e7c9c87 Merge branch 'master' of https://github.com/mozilla/pdf.js 2011-12-15 10:09:04 +00:00
Adil Allawi
4a14a79884 use array index instead of array.shift() 2011-12-15 10:08:50 +00:00
Adil Allawi
cc007b539a fix lint nitpick 2011-12-15 09:20:55 +00:00
Adil Allawi
ce57bac447 Build Text Layer one div at a a time as an Interval instead of a all in a TimeOut to keep the browser responsive 2011-12-14 22:28:34 +00:00
Brendan Dahl
d1f4e7c7d5 Change to passing promises. 2011-12-14 14:02:00 -08:00
Brendan Dahl
c2b91f1272 Merge upstream. 2011-12-14 13:41:36 -08:00
Brendan Dahl
5ad3a9cc72 Add basic rescale support for smacks. 2011-12-14 12:27:56 -08:00
Brendan Dahl
9d042ce166 Use the general function for is default decode. 2011-12-14 08:47:35 -08:00
notmasteryet
45ef8742ac type3 font.coded comment; proper geometery for showText; glyph name 2011-12-13 18:28:02 -06:00
notmasteryet
c9981b6ff4 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into tree-49 2011-12-13 17:57:58 -06:00
Brendan Dahl
ff1d804fd7 Move the default decode to logic to the colorspace. 2011-12-13 14:35:46 -08:00
Brendan Dahl
55bbcbc664 Working improved version. Still need to refactor default decode stuff. 2011-12-13 13:53:22 -08:00
Brendan Dahl
868d07e289 Merge pull request #917 from arturadib/check-pixels
Throw error on # of pixels mismatch
2011-12-13 13:31:57 -08:00
Brendan Dahl
ac3ccdef4a Merge remote-tracking branch 'origin/nativejpegsmask' into decodemap 2011-12-13 09:12:26 -08:00
Brendan Dahl
2f10d24502 Fix for chrome. 2011-12-13 09:05:00 -08:00
Brendan Dahl
d76f5f6815 Playing with initial decode map impl. 2011-12-13 08:48:27 -08:00
notmasteryet
bed87284db Fixing Type3 text layer creation and character spacing 2011-12-12 21:32:20 -06:00
Brendan Dahl
3f8ba7d56a Merge upstream. 2011-12-12 15:34:11 -08:00
Brendan Dahl
94a48cab82 Address Julian's comments. 2011-12-12 15:09:05 -08:00
Brendan Dahl
fcd612e486 Add comments to some of the code I touched/created. 2011-12-12 11:38:16 -08:00
Artur Adib
2113e0615e Reverting error(); warn() instead of TODO() 2011-12-12 14:33:26 -05:00
Brendan Dahl
948de2bdbe Remove some unintended changes. 2011-12-12 09:53:31 -08:00
Brendan Dahl
176452c988 Style nits. 2011-12-12 09:26:24 -08:00
Brendan Dahl
0d370fd206 Remove debugging. 2011-12-12 09:17:40 -08:00
Brendan Dahl
4c01766278 Merge upstream. 2011-12-11 21:13:53 -08:00
Brendan Dahl
683f64d54f Use promises to track completion of decoding. 2011-12-11 16:56:45 -08:00
notmasteryet
315b089b28 (#919) Fixing toUnicode mapping for TrueType fonts with identity mapping 2011-12-09 21:21:58 -06:00
Brendan Dahl
853f16085f Merge pull request #909 from notmasteryet/tree-45
Fixing TrueType code-glyph assigmnent to pass sanitizer
2011-12-09 17:22:47 -08:00
notmasteryet
240bde97b2 Using 'in' instead of array index 2011-12-09 18:25:44 -06:00
Artur Adib
de33e44b09 Lint 2011-12-09 14:57:52 -05:00
Artur Adib
d29e39d754 Merge pull request #898 from kkujala/style
Name constructors in obj.js.
2011-12-09 08:02:06 -08:00
Artur Adib
d65c38c995 Merge pull request #913 from notmasteryet/issue-863
Bad pdf with scanned image
2011-12-09 07:29:02 -08:00
Brendan Dahl
7d1cddf371 Add ability to fast track natively supported jpegs. 2011-12-08 21:18:04 -08:00
notmasteryet
b11d1b2282 Fix error object wrapper (#914) 2011-12-08 20:09:19 -06:00
notmasteryet
fa89ebe537 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into issue-863
Conflicts:
	test/pdfs/.gitignore
2011-12-08 19:22:44 -06:00
notmasteryet
54c31968e7 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into issue-863 2011-12-08 19:20:33 -06:00
Artur Adib
fcbe4f13d1 More sanity checks 2011-12-08 18:19:36 -05:00
Brendan Dahl
d1c823efce Cleaned up how messages are passed and replies work. 2011-12-08 14:51:26 -08: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
Kalervo Kujala
1ef4c94de2 Name all constructors. 2011-12-09 00:18:43 +02:00
Artur Adib
a21030a502 Throw error when pixels don't match 2011-12-08 17:13:17 -05:00