Yury Delendik
12bfd206d9
Merge pull request #4867 from yurydelendik/nonalign32
...
Fixes murmurhash for old webkit.
2014-06-10 09:16:36 -05:00
Yury Delendik
cff2c3afc1
Merge pull request #4892 from yurydelendik/issue4890
...
Fixes masked JPEG image
2014-06-10 09:16:12 -05:00
Yury Delendik
fc85cfdb83
Merge pull request #4907 from CodingFabian/fix-4906
...
add object id to streams to prevent infinite loops.
2014-06-10 08:56:25 -05:00
Yury Delendik
2da1942863
Merge pull request #4902 from Snuffleupagus/bug-1020226
...
Prevent infinite loop when scanning for endstream (bug 1020226)
2014-06-10 08:55:20 -05:00
Fabian Lange
532d7246ea
add object id to streams to prevent infinite loops.
...
fixes http://bugzil.la/1020858
2014-06-10 11:29:25 +02:00
Jonas Jenwald
26bbcedcae
Prevent infinite loop when scanning for endstream (bug 1020226)
2014-06-09 22:42:35 +02:00
Yury Delendik
806aa36aa8
Merge pull request #4897 from CodingFabian/optimize-stream-getCode
...
Optimization for FlateStream_getCode, making more pdfs parsable.
2014-06-09 14:51:42 -05:00
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
9308c7c82f
Merge pull request #4896 from CodingFabian/cleanup-jpgjs-buildComponentData
...
Deleted unused variables in jpgjs buildComponentData.
2014-06-06 09:48:30 -05:00
Yury Delendik
9308b525e5
Merge pull request #4894 from CodingFabian/optimize-jpgjs-receiveAndExtend
...
Optimize JPG.js receiveAndExtend for 1 bit case.
2014-06-05 10:15:28 -05:00
Fabian Lange
030a188af7
Deleted unused variables in jpgjs buildComponentData.
2014-06-05 16:20:29 +02:00
Fabian Lange
0a42edf82f
Optimize JPG.js receiveAndExtend for 1 bit case.
...
Profiling showed that receiveAndExtend is frequently called with the length of
one bit. This happens for example in decodeBaseline.
For a single bit, the loop and shift in receive, as well as the shifts in
receiveAndExtend are overhead.
This shortcut manually calculates the shifts by either returning 1 or -1 from
receiveAndExtend by reading the bit and deciding on the return value.
While it comes with an overhead for each non-one length, the speedup is at about
10% in the hot parse/decode path.
2014-06-05 12:24:53 +02:00
Jonas Jenwald
75e11583bf
Merge pull request #4868 from orionhealth/3579-linksnotworkinginie10
...
Added a base64 transparent gif image to links for IE
2014-06-05 11:25:51 +02:00
Yury Delendik
6b411b559d
Fixes masked JPEG image
2014-06-04 15:53:46 -05: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
Mohammed Abu-alsaad
2b595e6d32
Fixed IE links bug by adding a base64 transparent gif for anchor tags for
...
IE only.
2014-06-03 11:06:43 +12: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
a09aecb24a
Fixes murmurhash for old webkit.
2014-05-29 21:16:32 -05: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