Commit Graph

6812 Commits

Author SHA1 Message Date
Yury Delendik
11302f09a4 Merge pull request #4959 from nnethercote/zero-cache-canvases
Zero the height and width of cached canvases before deleting them.
2014-06-17 08:26:04 -05:00
Yury Delendik
5a2e511cbd Merge pull request #4955 from timvandermeij/rename-concatenate
Renames concatenateToArray to appendToArray
2014-06-17 08:21:47 -05:00
Nicholas Nethercote
7ef7f95374 Zero the height and width of the Cached canvases before deleting.
This reduces peak RSS by about 300 MiB on my Mac when scrolling slowly through
the first 30 pages of a scanned black and white document.
2014-06-16 22:58:11 -07:00
Yury Delendik
6f79aef03a Uplift for B2G bug 1009780 - Improve open mechanism for downloads. 2014-06-16 19:06:36 -05:00
Jonas Jenwald
22cfcbcf8a Merge pull request #4952 from yurydelendik/telemetry
Collect More Telemetry Data
2014-06-17 00:36:58 +02:00
Yury Delendik
ab63f96a91 Adds telemetry to record embedding usages 2014-06-16 16:41:04 -05:00
Yury Delendik
0cd28ebfa3 Telemetry for used stream and font types 2014-06-16 16:41:04 -05:00
Tim van der Meij
9c072a5d4b Renames concatenateToArray to appendToArray 2014-06-16 22:10:10 +02:00
Yury Delendik
7ac1c6b034 Reporting print usage 2014-06-14 15:55:21 -05:00
Yury Delendik
13efe84d37 Merge pull request #4941 from Snuffleupagus/avoid-rendering-pages-when-home/end-keys
Prevent rendering unnecessary pages when the HOME/END keys are pressed
2014-06-14 11:37:07 -05:00
Yury Delendik
aaf067da06 Merge pull request #4942 from Snuffleupagus/larger-zoom-values-in-scaleSelect
Add larger zoom values to zoom dropdown box
2014-06-14 11:34:19 -05:00
Jonas Jenwald
c145f0e063 Add larger zoom values to zoom dropdown box 2014-06-14 15:51:55 +02:00
Jonas Jenwald
5ac4dd9593 Prevent rendering unnecessary pages when the HOME/END keys are pressed
Currently (at least in Firefox) when the HOME/END keys are pressed, this will trigger unnecessary rendering of pages that lay between the current page and the first/last page. Avoid this by going straight to the first/last page instead.
2014-06-14 14:11:42 +02:00
Yury Delendik
834c69aa0a Merge pull request #4939 from yurydelendik/issue3591
Fixes JPX COC support / JPX error reporting refactoring
2014-06-13 18:52:36 -05:00
Yury Delendik
9f51e46917 Refactoring error reporting in JPX 2014-06-13 18:22:42 -05:00
Yury Delendik
34298e4ba7 Adds test case for JPX COC marker 2014-06-13 18:22:42 -05:00
fkaelberer
894d9fe085 Fix #3591 / list unsupported options 2014-06-13 16:41:27 -05:00
Yury Delendik
a45e10337c Merge pull request #4938 from yurydelendik/2647AES256
Added support for decrypting PDF 1.7/2.0 Algorithm 5 revision 5 and 6. (perf)
2014-06-13 15:44:33 -05:00
Yury Delendik
dd165f2918 SHA512 optimizations 2014-06-13 15:12:50 -05:00
Daniel West
1fce2856c6 Added support for decrypting PDF 1.7/2.0 Algorithm 5 revision 5 and 6.
*Added AES128 Encryption
*Added AES258 Encryption/Decryption
*Added SHA256
*Added SHA512
*Added class to handle 8 byte integers and associated bit operations
*Added SHA384
*Added routines to handle new algorithm and perform PDF2.0 hashing.
2014-06-13 13:05:47 -05:00
Yury Delendik
69d722792d Merge pull request #4936 from nnethercote/fix-cache-splice
Fix PageView cache re-insertions.
2014-06-13 10:19:55 -05:00
Yury Delendik
7377598102 Merge pull request #4937 from nnethercote/smaller-cache
Halve the size of the PageView cache.
2014-06-13 10:19:15 -05:00
Nicholas Nethercote
5b7df1830d Fix PageView cache re-insertions. 2014-06-13 07:57:58 -07:00
Nicholas Nethercote
f852cefdd8 Halve the size of the PageView cache. 2014-06-13 07:53:36 -07:00
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