Commit Graph

6788 Commits

Author SHA1 Message Date
Yury Delendik
2efbdfe8d4 Merge pull request #4834 from dferer/canvas-max-size
Limit the size of canvases to 5MP (iOS restriction)
2014-06-13 09:37:42 -05:00
Yury Delendik
480e0939dc Merge pull request #4933 from nnethercote/fix-4926-masking
Fix mishandling of incomplete, inverted masks.
2014-06-13 09:19:54 -05:00
Yury Delendik
cab043028b Merge pull request #4924 from yurydelendik/fixthumb
Fixes drawImage for thumbs
2014-06-13 09:07:41 -05:00
Yury Delendik
97560efbc1 Merge pull request #4932 from nnethercote/cache-pages-earlier
Cache pages at the start of drawing, not the end.
2014-06-13 09:06:55 -05:00
Nicholas Nethercote
7923eb7edb Fix mishandling of incomplete, inverted masks. 2014-06-13 06:14:52 -07:00
Nicholas Nethercote
29d3db4422 Cache pages at the start of drawing, not the end. 2014-06-12 22:54:37 -07:00
Samuel Chantaraud
952545e20f Limit the size of canvases to 5MP (iOS restriction) 2014-06-12 17:58:58 -04: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
a338a7966d Fixes drawImage for thumbs 2014-06-12 10:28:42 -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