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
fkaelberer
7492699543
Add cache expire time to test server
2014-05-31 00:16:56 +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
fkaelberer
d7aba7b98b
translate statcmp.py to javascript
2014-05-29 17:31:54 +02: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