Nicholas Nethercote
29d3db4422
Cache pages at the start of drawing, not the end.
2014-06-12 22:54:37 -07:00
Jonas Jenwald
06cdca4576
Merge pull request #4930 from Snuffleupagus/attachments-swedish
...
Re-add Attachment strings to the Swedish l10n
2014-06-12 23:15:47 +02:00
Jonas Jenwald
a4b71f9c35
Re-add Attachment strings to the Swedish l10n
2014-06-12 23:09:44 +02:00
Tim van der Meij
669b513b8d
Merge pull request #4929 from timvandermeij/l10n-update
...
Imports most recent l10n files
2014-06-12 22:02:59 +02:00
Tim van der Meij
446bc9cf8b
Imports most recent l10n files
2014-06-12 22:01:13 +02:00
Yury Delendik
d57f83e087
Reverting back disableWebGL preferences check
2014-06-12 14:47:46 -05:00
Tim van der Meij
accadcacc3
Merge pull request #4928 from timvandermeij/remove-statcmp.py
...
Removes statcmp.py
2014-06-12 21:25:51 +02:00
Tim van der Meij
e9e5ac5a11
Removes statcmp.py
2014-06-12 21:16:40 +02:00
Tim van der Meij
0ee6180dd3
Merge pull request #4864 from fkaelberer/statcmp.js
...
Translate statcmp.py to JavaScript
2014-06-12 21:11:29 +02:00
Yury Delendik
a75b6859c6
Merge pull request #4925 from yurydelendik/protdisable
...
Protects PDFJS.disableXXX == true from change
2014-06-12 13:35:44 -05:00
Yury Delendik
b37b33829e
Merge pull request #4915 from dferer/fix-4914
...
Fix #4914
2014-06-12 12:59:02 -05:00
Yury Delendik
75859b8d89
Merge pull request #4922 from Snuffleupagus/undefined-fontRef
...
Return ErrorFont in loadFont when the fontRef is undefined
2014-06-12 12:58:45 -05:00
Yury Delendik
3b405cf611
Protects PDFJS.disableXXX == true from change
2014-06-12 12:40:59 -05:00
Yury Delendik
12a35f2878
Merge pull request #4920 from nnethercote/zero-canvas-before-deleting
...
Zero the height and width of the PageView canvas before deleting.
2014-06-12 09:25:46 -05:00
Jonas Jenwald
c0250e16e3
Return ErrorFont in loadFont when the fontRef is undefined
2014-06-12 12:46:39 +02:00
Nicholas Nethercote
97cc06a7f9
Zero the height and width of the PageView canvas before deleting.
2014-06-12 16:33:30 +10:00
Yury Delendik
da42fce118
Merge pull request #3910 from deathy/master
...
Fix destination name for 'Fit' zoom levels in hash params
2014-06-11 13:20:57 -05:00
deathy
7d975dfe22
Fix destination name for 'Fit' zoom levels in hash params
2014-06-11 21:11:56 +03:00
Samuel Chantaraud
f362b3c744
Fix #4914 by ignoring hidden annotation
2014-06-11 10:41:43 -04:00
Yury Delendik
bf92ed9c22
Merge pull request #4917 from dferer/fix-4868
...
Fixed base64 image in CSS
2014-06-11 09:36:47 -05:00
Samuel Chantaraud
221d00a11f
Removed non-base64 bytes before the last 3 characters
2014-06-11 09:12:26 -04:00
Jonas Jenwald
36c0c64272
Merge pull request #4912 from yurydelendik/issue4911
...
Fixes optional backdrop regression
2014-06-10 23:15:36 +02:00
Yury Delendik
1ac8ca66f7
Fixes optional backdrop regression
2014-06-10 15:47:25 -05:00
Yury Delendik
d487d4298c
Merge pull request #4910 from Snuffleupagus/issue-4909
...
Handle cases where the fontName contains non-alphanumeric characters (issue 4909)
2014-06-10 15:21:40 -05:00
Jonas Jenwald
7802a7ab97
Handle cases where the fontName contains non-alphanumeric characters (issue 4909)
2014-06-10 17:25:49 +02:00
Yury Delendik
001238fc4d
Merge pull request #4870 from fkaelberer/enableTestServerCaching
...
Enable browser cache when running test server
2014-06-10 10:11:50 -05:00
Yury Delendik
b2d8e73d54
Merge pull request #4895 from p01/Small_optimizations_1
...
Small optimizations 1
2014-06-10 10:09:12 -05:00
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
p01
6731de6829
Minor refactoring of EvaluatorPreprocessor_read
2014-06-10 12:37:40 +02:00
p01
e0bf7e2151
Optimized genericComposeSMask
...
Declaring the composition and backgdrop functions outside of genericComposeSMask
is more efficient.
2014-06-10 12:37:39 +02:00
p01
412febe4a4
canvas.js minor optimizations
2014-06-10 12:37:39 +02:00
p01
35e418c603
Optimized CanvasGraphics_executeOperatorList 66% faster
2014-06-10 12:37:38 +02:00
p01
d4a01f6034
evaluator.js minor optimizations
2014-06-10 12:37:37 +02:00
p01
0a51b1e616
utils.js optimization of isFOO methods
2014-06-10 12:37:36 +02:00
p01
37c9765ab4
Optimized Lexer_getObj 2x faster
2014-06-10 12:37:36 +02: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