Commit Graph

7076 Commits

Author SHA1 Message Date
Yury Delendik
d53dc2e7d6 Refactors showText: split type3, remove showSpacedText 2014-05-23 13:36:54 -05:00
Jonas Jenwald
62c16153c1 Merge pull request #4831 from yurydelendik/ext-preprocessor
Adds some addon/mozcentral files to the preprocessor
2014-05-23 20:20:30 +02:00
Yury Delendik
b9ba80810d Adds some addon/mozcentral files to the preprocessor 2014-05-23 10:17:32 -05:00
fkaelberer
f88118dbf9 small optimizations in parser.getObj(), lexer.getObj() 2014-05-23 09:25:36 +02:00
Yury Delendik
fb74b02218 Merge pull request #4826 from dferer/localstorage-exceptions
Wrapped localstorage.setItem in try block to avoid uncaught exceptions.
2014-05-22 14:54:30 -05:00
Samuel Chantaraud
37c3641fad Added Promise.catch
Fixed Promise so it rejects on uncaught exception
Catch possible rejection on ViewHistory.setMultiple
2014-05-22 13:53:19 -04:00
Yury Delendik
d2da73b8c4 Merge pull request #4821 from yurydelendik/fix-loadfontregr
Fixes regression in the cleanup
2014-05-20 22:38:39 -05:00
Yury Delendik
f4baea900e Fixes regression in the cleanup 2014-05-20 21:57:04 -05:00
Jonas Jenwald
fe27a76004 Merge pull request #4815 from yurydelendik/loadFont
Refactors loadFont for translateFont be async
2014-05-20 21:30:42 +02:00
Yury Delendik
d39af0aba4 Merge pull request #4817 from p01/graphic_optimizations_3
Graphic optimizations 3
2014-05-20 08:08:18 -05:00
p01
455c6b2d35 Removed several 'in' operators in canvas.js
This gives up to 6x speed improvement on these methods
2014-05-20 12:39:59 +02:00
p01
cf5ff3d327 Fewer lookups in CanvasGraphics_constructPath 2014-05-20 12:39:58 +02:00
p01
7b68737baa Strict isEOF / ~22% faster on issue2813, from 16.5s to 13.5s 2014-05-20 12:39:58 +02:00
Yury Delendik
e5a0d89da9 Refactors loadFont for translateFont be async; fixes type3 dup data 2014-05-19 16:27:54 -05:00
Jonas Jenwald
7079992d89 Merge pull request #4770 from yurydelendik/promise-operationlist
Adds Promises to getOperatorList
2014-05-19 23:22:40 +02:00
Yury Delendik
88aa396aca Terminate getOperationList and getTextContent every 20 ms 2014-05-19 16:19:54 -05:00
Yury Delendik
d8eb8b1de1 Adds Promise to the getOperatorList 2014-05-19 16:19:54 -05:00
Yury Delendik
09b24d5231 Merge pull request #4808 from fkaelberer/fixAndroidButtons
Fix strange looking buttons in mobile Firefox
2014-05-19 11:56:57 -05:00
Yury Delendik
5cd6483ebb Merge pull request #4809 from Snuffleupagus/bug-866395-redux
Fix loading of fonts with empty font files (bug 866395 and issue 3522)
2014-05-19 11:23:54 -05:00
Yury Delendik
b7d8296902 Merge pull request #4812 from Snuffleupagus/more-api-unittests
Add more unit tests for the API
2014-05-19 11:15:44 -05:00
Jonas Jenwald
a984fe5b55 Add more unit tests for the API 2014-05-18 23:35:29 +02:00
Jonas Jenwald
3e1db41ddd Fix loading of fonts with empty font files (bug 866395 and issue 3522) 2014-05-18 21:41:06 +02:00
Jonas Jenwald
ea0453f106 Add isEmpty method to Stream, DecodeStream and ChunkedStream 2014-05-18 21:41:05 +02:00
fkaelberer
2d4c35cda7 fix buttons under android 2014-05-18 17:32:26 +02:00
Yury Delendik
c0419d7dea Merge pull request #4773 from fkaelberer/shorterDecodeInt
Simplify Jbig2Image.decodeInteger()
2014-05-18 08:46:08 -05:00
Yury Delendik
37a6aac972 Merge pull request #4799 from chriskr/nested-ps-commands
Handle nested post script arguments in the preprocessor
2014-05-15 14:22:35 -05:00
Christian Krebs
3e7bcaa892 Handle nested post script arguments in the preprocessor
Fix for issue #4785
2014-05-15 19:49:43 +02:00
Tim van der Meij
6d330250da Merge pull request #4549 from Rob--W/crx-pdf-embed-object
<object> / <embed> support in Chrome / Opera
2014-05-14 20:55:11 +02:00
Yury Delendik
7f6cb0ecff Merge pull request #4764 from p01/graphic_optimizations_2
Graphic optimizations 2
2014-05-14 12:26:51 -05:00
p01
330b99f428 Optimized stream.js / 9-10x faster DecodeStream_ensureBuffer 2014-05-14 17:06:39 +02:00
p01
8cfd024e48 Optimized colorspace.js AlternateCS_getRgbBuffer 2014-05-14 17:06:39 +02:00
p01
95fda4fcdc Optimized function.js / 2x Faster PDFFunction_constructPostScriptFromIR 2014-05-14 17:06:38 +02:00
Jonas Jenwald
0d8e3cc8ca Merge pull request #4797 from yurydelendik/issue4634
Update text layer correctly when zooming with USE_ONLY_CSS_ZOOM
2014-05-14 16:59:50 +02:00
Yury Delendik
97782cafa4 Update text layer correctly when zooming with USE_ONLY_CSS_ZOOM 2014-05-14 09:47:58 -05:00
Yury Delendik
048c6d99f1 Merge pull request #4736 from Snuffleupagus/glyph-accent-buildPath
Build paths for glyph accents when drawing text as curves
2014-05-14 07:40:50 -05:00
Yury Delendik
179f4231e6 Merge pull request #4795 from Snuffleupagus/getData-unittest
Add unit test for getData
2014-05-14 06:55:40 -05:00
Yury Delendik
df40ac99aa Merge pull request #4796 from Snuffleupagus/get-destinations-empty-Names
Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations
2014-05-14 06:55:01 -05:00
Jonas Jenwald
3adab8b183 Fix unit test for getDestinations 2014-05-14 12:54:18 +02:00
Jonas Jenwald
c68ffcf978 Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations 2014-05-14 12:43:20 +02:00
Jonas Jenwald
e00b986bd3 Add unit test for getData 2014-05-14 11:57:48 +02:00
Yury Delendik
3051667397 Fixes versions of the jsbin.com examples 2014-05-13 21:47:50 -05:00
Yury Delendik
149d3d8eb9 Merge pull request #4793 from Snuffleupagus/save-regression
Fix regression that prevents downloading the PDF file (PR 4752)
2014-05-13 20:02:11 -05:00
Jonas Jenwald
c4d4682924 Fix regression that prevents downloading the PDF file (PR 4752) 2014-05-14 01:20:21 +02:00
Jonas Jenwald
b907e15a90 Build paths for glyph accents when drawing text as curves 2014-05-14 00:04:44 +02:00
Jonas Jenwald
44cd0f4a76 Merge pull request #4752 from yurydelendik/refmsghdlr
Refactors MessageHandler.send to remove callbacks
2014-05-13 22:47:04 +02:00
Tim van der Meij
36c6bc245c Merge pull request #4777 from Snuffleupagus/overlay-refactor
Refactor the CSS rules for the overlayContainer
2014-05-13 20:17:40 +02:00
Jonas Jenwald
73a9d50fd1 Refactor the CSS rules for the overlayContainer 2014-05-13 10:43:38 +02:00
Yury Delendik
8609f386a9 Merge pull request #4782 from mzgol/script-type
Remove type="text/javascript" from script tags.
2014-05-12 20:24:50 -05:00
Yury Delendik
aa26e6f669 Merge pull request #4783 from mzgol/jquery-2
Use jQuery 2 in examples
2014-05-12 20:21:09 -05:00
Yury Delendik
66753ccb1f Merge pull request #4784 from mzgol/node-0.10
Switch to Node.js 0.10
2014-05-12 20:20:34 -05:00