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
Yury Delendik
ff15ec9882
Merge pull request #4781 from mzgol/package.json
...
Move jshint & yargs to devDependencies
2014-05-12 20:19:10 -05:00
Michał Gołębiowski
ca842ed74f
Switch to Node.js 0.10
...
Node.js 0.12 is soon going to be released and Node 0.8 might be
deprecated soon. It's best to stay on the current version.
2014-05-13 02:46:46 +02:00
Michał Gołębiowski
1a8fc8d2b6
Use jQuery 2 in examples
...
Since pdf.js doesn't work in IE8 anyway, it doesn't make sense to use
jQuery 1 with it. jQuery 2 should be used in every example that needs
jQuery.
2014-05-13 02:45:10 +02:00
Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
2014-05-13 02:41:01 +02:00
Michał Gołębiowski
f28acb7b52
Move jshint & yargs to devDependencies
2014-05-13 02:31:54 +02:00
Tim van der Meij
40ba989592
Merge pull request #4772 from Snuffleupagus/fewer-getVisiblePages-calls
...
Reduce the number of calls to PDFView.getVisiblePages from updateViewarea
2014-05-12 22:48:27 +02:00
Tim van der Meij
a27f51e37c
Merge pull request #4768 from Snuffleupagus/issue-4766
...
Handle more cases of invalid line dash patterns in annotation borders
2014-05-12 22:40:46 +02:00