Fabian Lange
22a0e7fe65
Optimization for FlateStream_getCode, making more pdfs parsable.
...
This commit cleans up the FlateStream_getCode method, and removes a few error
conditions.
Previously it would fail if the codeSize is less than maxLen if end of stream
is reached. However in the document linked below there is a sub-stream
(the one starting at pos 337) which has maxLen set to 11, but actually
contains only 10. After breaking the sanity check still applies, and in this
case passes validating codeSize(10)==codeLen(10).
http://www.cafeculture.com/wp-content/uploads/2014/03/V-CM-BR-086-04002-1346-0258-GP-Brazil-Fazenda-Cafe-Cambara-Terra-Preta-Microlot-Sample-0460-13-Pulped-Natural-60Kg.pdf
2014-06-09 20:55:31 +02:00
Yury Delendik
43a103d5d3
Merge pull request #4889 from CodingFabian/optimize-jpg-loops
...
Optimized loops in JPG conversion.
2014-06-04 15:34:48 -05:00
Yury Delendik
11c12464e3
Merge pull request #4891 from yurydelendik/typo
...
Fixes typo in getAsync
2014-06-04 13:19:16 -05:00
Yury Delendik
2b6067c040
Updates l10n
2014-06-04 11:33:37 -05:00
Yury Delendik
b20b404061
Fixes typo in getAsync
2014-06-04 11:30:53 -05:00
Yury Delendik
e03ac809d8
Merge pull request #4886 from yurydelendik/issue4883
...
Adds color components decoding to the JPEG
2014-06-04 09:22:30 -05:00
Fabian Lange
dcde59fa76
Optimized loops in JPG conversion.
...
This change makes the 4 conversion loops look the same.
It optimizes access of the array length and access of the property
numComponents, which is known to be constant.
2014-06-04 10:02:47 +02:00
Yury Delendik
d379e31d7b
Adds CMYK JPEG test
2014-06-03 08:56:16 -05:00
Yury Delendik
6235e3a61c
Adds color components decoding to the JPEG
2014-06-03 08:51:57 -05:00
Yury Delendik
2449142fc3
Merge pull request #4835 from Snuffleupagus/issue-4800
...
Prevent font error when no preferred cmap table is found (workaround for issue 4800)
2014-06-02 14:42:58 -05:00
Yury Delendik
3acf5709a0
Merge pull request #4876 from Snuffleupagus/issue-4875
...
Prevent adding undefined array entries to CMap.map in mapRangeToArray (issue 4875)
2014-06-02 14:31:20 -05:00
Yury Delendik
5ded0ea163
Merge pull request #4866 from yurydelendik/issue4673
...
Removes mozResponseArrayBuffer
2014-06-02 12:51:29 -05:00
Yury Delendik
c7c1639e1e
Merge pull request #4851 from orionhealth/4792-addprefhashparam
...
Added more preferences for the available hash parameters.
2014-06-02 12:50:42 -05:00
Yury Delendik
41ccc9af51
Merge pull request #4879 from yurydelendik/master
...
Version 1.0.277
2014-06-02 12:39:56 -05:00
Yury Delendik
efd7692297
Version 1.0.277
2014-06-02 12:37:51 -05:00
Yury Delendik
250d394e47
Merge pull request #4877 from yurydelendik/redircheck
...
PdfRedirector checks if plugin is still in PlayPreview mode
2014-06-02 09:33:07 -05:00
Yury Delendik
75d9ae9cd3
PdfRedirector checks if plugin is still in PlayPreview mode
2014-06-02 09:27:28 -05:00
Jonas Jenwald
d1c71ab7ad
Prevent adding undefined array entries to CMap.map in mapRangeToArray (issue 4875)
2014-06-02 14:29:54 +02:00
Yury Delendik
f9befa189b
Disables worker if XHR does not support arraybuffer
2014-05-29 20:38:50 -05:00
Yury Delendik
9c87fa24f7
Removes mozResponseArrayBuffer
2014-05-29 20:38:50 -05:00
Mohammed Abu-alsaad
e6546642db
Added more preference variables from the available hash parameters
2014-05-30 10:44:41 +12:00
Yury Delendik
34089212e0
Reverts mozRequestAnimationFrame to compatibility.js
2014-05-29 16:23:13 -05:00
Jonas Jenwald
ff0672e0fa
Merge pull request #4865 from yurydelendik/issue4854
...
Adds compatibility.js to the Firefox extension
2014-05-29 23:06:24 +02:00
Yury Delendik
825762f22a
Merge pull request #4803 from mzgol/compatibility
...
[WIP] Update web/compatibility.js
2014-05-29 11:57:34 -05:00
Yury Delendik
d95f78610e
Adds compatibility.js to the Firefox extension
2014-05-29 11:50:16 -05:00
Yury Delendik
844bc644fb
Merge pull request #4861 from timvandermeij/xobject
...
Fixes unhandled XObject subtype PS error
2014-05-29 08:40:57 -05:00
Jonas Jenwald
7e6cdc74af
Merge pull request #4832 from yurydelendik/showtext
...
Refactors showText: split type3, remove showSpacedText
2014-05-29 12:58:09 +02:00
Tim van der Meij
e128bdc397
Fixes unhandled XObject subtype PS error
2014-05-29 11:53:13 +02:00
Tim van der Meij
5b16323916
Merge pull request #4856 from Snuffleupagus/overlay-manager-keydown-preventDefault
...
[OverlayManager] Add preventDefault to the keydown event handler
2014-05-28 19:16:49 +02:00
Yury Delendik
a256ffffd4
Merge pull request #4858 from yurydelendik/cloneInto
...
Bug 1015115 - switch to cloneInto in pdf.js
2014-05-28 10:37:22 -05:00
Yury Delendik
68b037ffb0
Add preprocessor directives for the extension; and refactor FirefoxCom callback
2014-05-28 10:24:06 -05:00
Gijs Kruitbosch
da93e65d8c
Bug 1015115 - switch to cloneInto in pdf.js, r?yury
2014-05-28 10:22:49 -05:00
Yury Delendik
c321f51e54
Updates l10n resources
2014-05-28 09:11:40 -05:00
Yury Delendik
8fab610b7e
Merge pull request #4857 from yurydelendik/normtext
...
Making sure we are not importing CRs and BOMs
2014-05-28 09:05:51 -05:00
Yury Delendik
d65df7df82
Merge pull request #4833 from Koderok/openactionsupport
...
OpenAction support for printing
2014-05-28 08:59:35 -05:00
Yury Delendik
812c5accb2
Making sure we are not importing CRs and BOMs
2014-05-28 08:25:27 -05:00
Michał Gołębiowski
85291dd8da
Update web/compatibility.js
...
1) Remove obsolete workarounds
2) Add support comments
2014-05-28 09:57:25 +02:00
Jonas Jenwald
164535fa93
[OverlayManager] Add preventDefault to the keydown event handler
2014-05-27 23:48:02 +02:00
Tim van der Meij
2a51b735fc
Merge pull request #4850 from timvandermeij/comment-nit
...
Small comment fix
2014-05-27 22:13:55 +02:00
Tim van der Meij
1f1de20d11
Small comment fix
2014-05-27 22:13:00 +02:00
Tim van der Meij
03dff83a60
Merge pull request #4823 from Snuffleupagus/overlay-manager
...
Simplify the interaction with overlays by adding an OverlayManager
2014-05-27 22:08:47 +02:00
Jonas Jenwald
3c5dedf60d
Prevent font error when no preferred cmap table is found (workaround for issue 4800)
2014-05-27 17:30:11 +02:00
Yury Delendik
9664ce8e8d
Merge pull request #4845 from nesQuick/fix_aurora_path
...
adjust the aurora path in the tests browser.json
2014-05-27 10:06:14 -05:00
Ole Michaelis
b4fb161255
adjust the aurora path in the tests browser.json
...
to match a default OSX installation path
2014-05-27 10:40:15 +02:00
Jonas Jenwald
f386501937
Update overlay stubs for the B2G viewer
2014-05-25 21:33:15 +02:00
Jonas Jenwald
5cd6dddeee
Convert the existing overlays to use the OverlayManager
2014-05-25 21:33:15 +02:00
Jonas Jenwald
6dc7a52e35
Simplify the interaction with overlays by adding an OverlayManager
2014-05-25 21:33:14 +02:00
koderok
81d3f4a89b
merged with earlier commits
2014-05-24 05:37:25 +05:30
Yury Delendik
6f39d7849f
Fixing ca/metadata.inc file
2014-05-23 18:32:37 -05:00
Yury Delendik
f000c04b73
Merge pull request #4829 from fkaelberer/optimize_parser_getObj
...
small optimizations in parser.getObj(), lexer.getObj()
2014-05-23 15:14:18 -05:00