Commit Graph

507 Commits

Author SHA1 Message Date
notmasteryet
5b6c06d5c6 Address review comments 2012-01-13 18:24:02 -06:00
notmasteryet
8af527919a fix lint error, remove unnecessary comment 2012-01-11 20:54:27 -06:00
notmasteryet
93ca387d1b Migration of the JPX code (from jpx5) 2012-01-11 20:08:46 -06:00
Brendan Dahl
93bb2cf0d3 Merge pull request #969 from arturadib/fix-worker-loader
Fix worker_loader.js for examples/. Simpler code
2012-01-11 17:18:01 -08:00
Brendan Dahl
bd6d89e1a8 Start of the benchmark recording framework. 2012-01-11 16:48:51 -08:00
Brendan Dahl
be2f973be8 Merge pull request #1051 from notmasteryet/fonts-3
Using the encoding instead of predefined  MacRoman in TrueType fonts;
2012-01-11 10:38:36 -08:00
Artur Adib
7611a766c7 Merge branch 'refs/heads/master' into fix-worker-loader
Conflicts:
	src/core.js
2012-01-11 11:47:41 -05:00
notmasteryet
09dfde69a2 Duplicate short map into private use area 2012-01-10 22:01:24 -06:00
notmasteryet
933be30c3a Converting MacRoman symbols to Unicodes 2012-01-10 19:41:45 -06:00
notmasteryet
550819b829 fix serif and symbol attribute detection for standard fonts 2012-01-09 21:15:18 -06:00
notmasteryet
982ea98c44 replacing non-existent page content with empty one 2012-01-09 20:08:22 -06:00
notmasteryet
a84fa13189 using font flags to recognize the symbol and serif fonts; using the encoding instead of predefined MacRoman in TrueType fonts 2012-01-09 19:36:24 -06:00
Artur Adib
4322e7e339 Merge pull request #1042 from notmasteryet/tree-55
fetch/getEntry returns null if the entry is free
2012-01-09 12:22:16 -08:00
notmasteryet
d3b3842946 fetch/getEntry returns null if the entry is free 2012-01-08 14:03:00 -06:00
Kalervo Kujala
d89680bd94 Merge remote-tracking branch 'upstream/master' into refactor 2012-01-07 21:32:16 +02:00
notmasteryet
4bb289ec49 Merge pull request #1026 from brendandahl/nativedecode
Decode JPEGs using browser when possible
2012-01-05 16:25:21 -08:00
Kalervo Kujala
bc3b8e0ff1 Merge remote-tracking branch 'upstream/master' into refactor 2012-01-05 22:24:35 +02:00
Brendan Dahl
7bf5daa273 Only set transform when its a non default. 2012-01-05 11:06:17 -08:00
Artur Adib
0817c4274d Merge pull request #1022 from notmasteryet/tree-53
Fixes this.xref.trailer.get("ID")[0] is undefined
2012-01-05 07:44:52 -08:00
notmasteryet
caacd31a2c Merge branch 'master' of git://github.com/mozilla/pdf.js.git into tree-53
Conflicts:
	test/test_manifest.json
2012-01-04 19:57:08 -06:00
Brendan Dahl
3154ec4e38 Fix bracket nit. 2012-01-04 17:22:07 -08:00
Brendan Dahl
dddcb9c91b Add error backs for promises. 2012-01-04 16:13:53 -08:00
Artur Adib
07deee5750 Merge pull request #954 from notmasteryet/textlayout-ui
Move text layer UI to viewer.js...
2012-01-04 12:52:03 -08:00
Artur Adib
ddf57072a9 Merge pull request #1025 from arturadib/issue-1015
Add findTableCode() to prototype
2012-01-04 12:31:14 -08:00
Brendan Dahl
9538da2b58 Move comments. 2012-01-04 11:56:53 -08:00
Brendan Dahl
702af87731 Merge branch 'master' of https://github.com/mozilla/pdf.js into nativedecode 2012-01-04 11:25:46 -08:00
notmasteryet
1fa5e80ebe Fixes this.xref.trailer.get("ID")[0] is undefined 2012-01-03 19:20:29 -06:00
notmasteryet
edb0ae4eb8 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
Conflicts:
	src/canvas.js
2012-01-03 18:42:13 -06:00
Chris Jones
27d2d99bd8 Merge pull request #1013 from LegNeato/master
Always add style element to the head
2012-01-03 14:30:14 -08:00
Brendan Dahl
3c2a0f11b1 Decode more jpegs using the browser if possible. 2012-01-03 14:26:19 -08:00
Julian Viereck
bf26c1a18c Merge pull request #957 from jviereck/viewer_default_width
Change default width to page-width
2012-01-03 14:02:34 -08:00
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
Brendan Dahl
f7207a51f8 Fix missing bracket. 2011-12-08 12:54:02 -08:00
Brendan Dahl
146cd8c861 Second stage, smasks now working. Still needs optimization. 2011-12-08 12:50:34 -08:00
Artur Adib
7ea770fd08 Merge pull request #911 from notmasteryet/issue-906
(#906) fixing glyph width defined by glyph name
2011-12-08 07:02:23 -08:00
notmasteryet
301a6795db (#906) fixing glyph width defined by glyph name 2011-12-07 23:30:48 -06:00
notmasteryet
fa18c8022e remove glyph references outside range of avaialable glyphs 2011-12-07 21:38:34 -06:00
notmasteryet
18db087f79 Fixing TrueType code-glyph assigmnent to pass sanitizer 2011-12-07 20:59:44 -06:00
Brendan Dahl
2a632d4ab2 First stage of trying to support smasks on native jpegs. 2011-12-07 15:36:27 -08: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
Artur Adib
9ea8668dcb Merge pull request #905 from notmasteryet/issue-886b
Fixing missing text (#886)
2011-12-07 10:11:46 -08:00
Julian Viereck
af8e2a1189 Address review comments by yury 2011-12-07 19:07:00 +01:00
Artur Adib
4a9275268d Merge pull request #907 from notmasteryet/tree-43
Fixes the unicode symbols on the text layer
2011-12-07 09:26:21 -08:00
Artur Adib
c3f6dc6055 Merge pull request #908 from notmasteryet/tree-44
fixes gradient fill (#840)
2011-12-07 08:27:09 -08:00
Artur Adib
2ab4f4dda0 Merge pull request #895 from kkujala/constants
Use constants for paint type and pattern size.
2011-12-07 07:29:37 -08:00
notmasteryet
7d64d3168f Revert int16 clamping for horizontal metrics 2011-12-07 06:47:52 -06:00
notmasteryet
69e5cf2560 fixes gradient fill (#840) 2011-12-07 06:42:01 -06:00
notmasteryet
9234c315d5 Fix the unicode symbols on the text layer 2011-12-06 22:59:06 -06:00
notmasteryet
fe02078c9d Fixing missing text (#886) 2011-12-06 22:13:14 -06:00
Kalervo Kujala
f239d01bde Name constructors in obj.js. 2011-12-07 00:18:40 +02:00
Kalervo Kujala
477683e514 Use constants for paint type and pattern size. 2011-12-06 22:07:35 +02:00
Artur Adib
9eae90a1ba Merge pull request #885 from notmasteryet/issue-884
(#884) Use unicode mapping cmap when simple identity cmap was originally used
2011-12-06 11:59:07 -08:00
Artur Adib
bf755f459e Merge pull request #870 from notmasteryet/issue-867
(#867) Set Type3 font encoding; enable text selection testing
2011-12-06 10:12:56 -08:00
Artur Adib
7edefbbe41 Merge pull request #846 from jviereck/feature_img_data
Add feature detection for using Uint8Array as imageData
2011-12-06 07:17:23 -08:00
notmasteryet
b8a5d6b8a7 Use unicode mapping cmap when simple identity cmap was originally used 2011-12-05 20:42:39 -06:00
notmasteryet
aaa672d5ff Fixing opening from the file system 2011-12-05 17:48:21 -06:00
notmasteryet
dbf869f195 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1
Conflicts:
	web/viewer.css
2011-12-05 17:01:45 -06:00
Artur Adib
3c601f012b Merge pull request #864 from notmasteryet/issue-799
Suppress invisible text (#799)
2011-12-05 12:55:49 -08:00
Brendan Dahl
3b112edd91 Merge pull request #857 from jviereck/hotcmds
Only check execution time on some commands
2011-12-05 10:43:03 -08:00
Julian Viereck
cf7d4503d6 Address review comments: Introduce new CanvasGraphics.putBinaryImageData and make sure feature detection work always 2011-12-05 18:27:09 +01:00
Julian Viereck
d5f4fd05c6 Merge pull request #871 from kkujala/constants
Use constants for radial and axial types.
2011-12-05 09:24:06 -08:00
Julian Viereck
ab08d90680 Merge pull request #868 from kkujala/refactor
Fix few early returns in parser.js.
2011-12-05 09:23:32 -08:00
Artur Adib
e44521eae3 Merge pull request #862 from notmasteryet/issue-828
Fallback to object indexing when reading of xref fails (#828)
2011-12-05 09:06:53 -08:00
Julian Viereck
97802aac64 Inline JpegImageLoader to remove new JpegImageLoader call 2011-12-05 17:59:03 +01:00
Kalervo Kujala
cca0306789 Use object-enumeration for pattern type. 2011-12-05 00:38:45 +02:00
fixplz
5fd3647c57 Style fixes 2011-12-05 00:00:22 +02:00
Kalervo Kujala
7116ce0b53 Use constants for radial and axial types. 2011-12-04 22:22:39 +02:00
notmasteryet
3ea81bf0a6 (#867) Set Type3 font encoding; enable text selection testing 2011-12-04 13:51:12 -06:00
Kalervo Kujala
d2303493fe Fix few early returns in parser.js. 2011-12-04 21:22:08 +02:00
notmasteryet
2719e8eadc add stroke and other text rendering modes 2011-12-02 22:30:31 -06:00
fixplz
7fa9b5827a Avoid skipping over tag in startxref search 2011-12-03 01:55:59 +02:00
notmasteryet
00d1204705 Suppress invisible text (#799) 2011-12-02 16:52:31 -06:00
fixplz
b1ed459443 Scan for startxref more than 1024 chars from end #828 2011-12-03 00:33:00 +02: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
Brendan Dahl
e0c231eec7 Merge upstream and change to error parameter for callback. 2011-12-02 10:19:43 -08:00
notmasteryet
bb6e5c6e00 (#840) fix font stretching and overlapping characters encoding 2011-12-01 20:56:26 -06:00
Artur Adib
705356fa41 Addressing comments by @vingtetun 2011-12-01 14:11:17 -05:00
Brendan Dahl
3ae06c96ad Address Yury's comments. 2011-12-01 09:11:33 -08:00
Artur Adib
5e1d78ef20 Merge branch 'master' of git://github.com/mozilla/pdf.js into text-select
Conflicts:
	src/canvas.js
2011-12-01 10:42:07 -05:00
Julian Viereck
594e5daa7c Only check execution time on some commands 2011-12-01 00:02:30 +01:00
notmasteryet
0414c0711f Fixing base encoding presence detection; character width scale 2011-11-29 22:06:00 -06:00
Brendan Dahl
e5d91ab219 Fix invalid arguments error. 2011-11-29 14:50:19 -08:00
Artur Adib
e2e2240a22 Lint lint lint 2011-11-29 16:02:12 -05:00
Brendan Dahl
cddb106358 Fix lints. 2011-11-29 11:32:01 -08:00
Brendan Dahl
b40af3555b Display error messages on more problems. 2011-11-29 11:28:05 -08:00
Artur Adib
a544bed57e Merge branch 'master' of git://github.com/mozilla/pdf.js into text-select
Conflicts:
	src/canvas.js
2011-11-29 14:17:05 -05:00
Julian Viereck
01d2929401 Add feature detection for using Uint8Array as imageData 2011-11-29 19:31:47 +01:00
Artur Adib
fcc05b08bf Merge pull request #838 from notmasteryet/to-unicode-1
Making cmap equal to ToUnicode tables
2011-11-29 10:28:50 -08:00
notmasteryet
683a8f0de8 Remove indexOf, using reverse map instead 2011-11-28 21:54:07 -06:00
Brendan Dahl
eaac818946 Merge and fix upstream conflict. 2011-11-28 17:49:12 -08:00
notmasteryet
88310a09c2 Removing refreshToUnicode 2011-11-28 19:49:02 -06:00
notmasteryet
e4e864766d Fix CIDFontType2 large cmap tables 2011-11-28 19:47:37 -06:00
Brendan Dahl
d6925b13ba Adding new errorback and code to display error messages. 2011-11-28 16:55:09 -08:00
Artur Adib
4cfc552163 Merge branch 'master' of git://github.com/mozilla/pdf.js into text-select
Conflicts:
	src/canvas.js
	web/viewer.js
2011-11-28 10:02:07 -05:00
Artur Adib
a1853185b1 Comments 2011-11-28 09:25:25 -05:00
notmasteryet
2e70984f38 Merge pull request #829 from jviereck/canvas_currentTransform
Implement ctx.mozCurrentTransform and ctx.mozCurrentTransformInverse shim
2011-11-28 05:09:42 -08:00
notmasteryet
08e3fd88ad Removing adaptUnicode; making cmap equal to ToUnicode tables 2011-11-27 20:43:23 -06:00
Julian Viereck
8991cfad83 Check after each executed command if execution took too long already 2011-11-27 20:54:25 +01:00
Julian Viereck
36e618c373 Address Yury's review comments + remove call to addCtxCurrentTransform in pattern.js as the contet is added during the CanvasGraphics constructor already 2011-11-27 09:22:21 +01:00
Julian Viereck
a30f0ff848 Implement ctx.mozCurrentTransform and ctx.mozCurrentTransformInverse shim 2011-11-27 09:22:20 +01:00
notmasteryet
709dc1a0c9 Initial ToUnicode modifications 2011-11-24 09:38:09 -06:00
notmasteryet
de17cb32cd Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1 2011-11-22 19:26:37 -06:00
Brendan Dahl
faa202df1e Merge upstream and change test pdf file. 2011-11-22 10:39:26 -08:00
notmasteryet
2829e8016a Merge pull request #794 from brendandahl/devicen
DeviceN Colorspace and Multidimensional Sampling Function Support
2011-11-22 09:42:53 -08:00
Brendan Dahl
b64b7d55b1 Use the updated jpgjs with faster transform. 2011-11-22 09:32:20 -08:00
Brendan Dahl
0e0527be81 Address Yury's comment. 2011-11-21 17:23:54 -08:00
Artur Adib
dc33b24fae Merge branch 'refs/heads/master' into text-select 2011-11-21 11:45:10 -05:00
Artur Adib
385b6df2b4 Linting 2011-11-18 13:54:27 -05:00
Artur Adib
5e0d704b12 Macro for generating version information 2011-11-17 15:45:33 -05:00
Brendan Dahl
d2964f3e94 Update documentation. 2011-11-16 15:12:42 -08:00
notmasteryet
7a2301dc95 Inline setXXXRGBColor calls 2011-11-15 20:16:22 -06:00
notmasteryet
ef58ccd284 Issue #644: bypassing identity cmap translation loading; resetting color space when stroke/fill color set 2011-11-15 18:23:45 -06:00
Artur Adib
b1ae23772f No suppressWarnings in Yury's encoding patch 2011-11-14 15:32:52 -05:00
Artur Adib
5c261b46cc Merge branch 'refs/heads/master' into text-select
Conflicts:
	src/fonts.js
2011-11-14 15:21:18 -05:00
Artur Adib
a182431ac5 Fixing lint 2011-11-14 13:59:11 -05:00
notmasteryet
1d8a40b372 Fixing inheritable forms input control properties 2011-11-12 15:39:23 -06:00
notmasteryet
1c18d054d5 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1 2011-11-12 15:20:31 -06:00
notmasteryet
60744a8a61 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into encoding-2
Conflicts:
	src/evaluator.js
	src/fonts.js
2011-11-12 11:09:19 -06:00
Brendan Dahl
543e3377de Adding multi dimensional interpolation and test file. 2011-11-11 14:44:47 -08:00
Julian Viereck
aee1ccf394 Merge pull request #789 from kkujala/master
Fix jslint warnings in pattern.js.
2011-11-11 00:30:22 -08:00
Brendan Dahl
74004b23bb Add comments, fix default color. 2011-11-10 14:23:58 -08:00
Brendan Dahl
c198ec4323 Makes new alternate colorspace which handles separation and device. 2011-11-10 14:06:42 -08:00
Kalervo Kujala
2988b33dcc Fix jslint warnings in pattern.js.
Also refactor few small issues.
2011-11-10 21:09:05 +02:00
Julian Viereck
99254891e6 Disable work on firefox using feature detection 2011-11-10 18:38:22 +01:00
Brendan Dahl
a12419c084 Initial devicen colorspace support. 2011-11-10 08:41:36 -08:00
Brendan Dahl
b872a08f4f Data is now created by jpg.js since we don't know the size. 2011-11-09 09:50:40 -08:00
Brendan Dahl
073af78307 Handle device gray and pass in the color transform option. 2011-11-09 09:29:33 -08:00
Artur Adib
8c182cb724 Default font fallback is same as setFont()'s 2011-11-08 17:27:02 -05:00
Brendan Dahl
493805d952 Remove the alternative way to do CMYK check. Checking the colorspace seems sufficient. 2011-11-08 14:00:39 -08:00
Brendan Dahl
8d52a1e92a Add another way to detect cmyk images. 2011-11-08 13:53:56 -08:00
Artur Adib
686f275830 Fix font and spaces 2011-11-08 16:05:11 -05:00
Artur Adib
9ebec03ddc Implemented selection for showText() 2011-11-08 15:27:03 -05:00
Brendan Dahl
1869888838 Comment on the new flag. 2011-11-08 08:50:01 -08:00
Brendan Dahl
9bb2b881b0 Adds cmyk jpg support. Treats the cmyk jpg as a regular stream. 2011-11-08 08:48:10 -08:00
Artur Adib
46a48a56b7 Merge branch 'refs/heads/master' into text-select
Conflicts:
	src/core.js
2011-11-08 08:56:52 -05:00
Kalervo Kujala
89a6c4fc88 Fix jslint warnings and refactor small issues. 2011-11-06 22:17:20 +02:00
Kalervo Kujala
b321768f59 Remove unused parameters and fix jslint warnings. 2011-11-06 22:16:35 +02:00
Kalervo Kujala
7f0e35c50d Remove unused variables. 2011-11-06 22:15:41 +02:00
notmasteryet
cd3ab6059d Merge pull request #748 from arturadib/for-cache
For-loop cache
2011-11-05 20:24:46 -07:00
notmasteryet
79f8c94624 Merge pull request #769 from kkujala/master
Refactor colorspace.js and fix jslint warnings.
2011-11-05 18:30:11 -07:00
notmasteryet
ac6d4ddb54 Merge pull request #758 from digitarald/fix-worker-bind
Removed unnecessary .bind in worker_loader.js that broke Safari
2011-11-05 17:19:41 -07:00
Kalervo Kujala
cac9044161 Refactor colorspace.js and fix jslint warnings. 2011-11-05 22:13:16 +02:00
Artur Adib
feb621380d Disabling workers until localhost fix lands in FF 2011-11-05 14:42:50 -04:00
Harald Kirschner
d22885a97c - FIX: Removed unnecessary .bind in worker_loader.js that broke Safari 2011-11-04 13:23:42 -07:00
Brendan Dahl
0f0ba74660 Merge pull request #715 from jviereck/worker_f2
Worker feature detection
2011-11-04 11:33:30 -07:00
Kalervo Kujala
33af12abd0 Fix jslint warnings. 2011-11-03 23:26:58 +02:00
Julian Viereck
d9d2ab4c8e Rename processorHandler to messageHandler 2011-11-03 15:30:53 +01:00
Julian Viereck
80b759b093 Fix style nit from brendandahl 2011-11-03 13:44:41 +01:00
Julian Viereck
493c25dcaa Remove useWorker variable and turn worker support whenever this is possible. 2011-11-03 13:43:58 +01:00
notmasteryet
b5ba29be13 lint error fix 2011-11-02 22:20:53 -05:00