Commit Graph

6955 Commits

Author SHA1 Message Date
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
Yury Delendik
210a51c507 Synchronize l10n 2014-05-12 10:26:39 -05:00
fkaelberer
8c38c2cbe3 Simplify Jbig2Image.decodeInteger() 2014-05-10 18:03:54 +02:00
Jonas Jenwald
b88c5330a9 Reduce the number of calls to PDFView.getVisiblePages from updateViewarea 2014-05-10 16:43:22 +02:00
Yury Delendik
2acb40fffb Merge pull request #4771 from Snuffleupagus/api-promise-reject-fix
Fix typo when rejecting Promise in getPage
2014-05-10 07:48:30 -05:00
Tim van der Meij
dc214e1c06 Merge pull request #4738 from Rob--W/allow-unsafe-eval
Allow unsafe-eval to fix font renderer in Chromium extension
2014-05-09 23:52:30 +02:00
Tim van der Meij
746f06e9c2 Merge pull request #4769 from fkaelberer/updateDEtranslation
update DE translation (attachments)
2014-05-09 23:50:17 +02:00
fkaelberer
0ae341ebc0 update DE translation (attachments) 2014-05-09 23:42:09 +02:00
Jonas Jenwald
67a3b59864 Handle more cases of invalid line dash patterns in annotation borders 2014-05-09 23:12:23 +02:00
Tim van der Meij
e359f0694f Merge pull request #4740 from yurydelendik/pageviewportdoc
Adds pageviewport documentation
2014-05-09 22:30:16 +02:00
Yury Delendik
c299acf350 Merge pull request #4767 from timvandermeij/cleanup
Removes unused code from web/compatibility.js
2014-05-09 14:37:38 -05:00
Tim van der Meij
53f3b1326a Removes unused code from web/compatibility.js 2014-05-09 21:26:07 +02:00
Rob Wu
3fdd334a73 <object> / <embed> support in Chromium extension 2014-05-09 15:46:12 +02:00
Yury Delendik
fd4fc89213 Merge pull request #4763 from yurydelendik/canvas-rAF
Uses rAF to interrupt the operator list execution
2014-05-09 07:25:52 -05:00
Yury Delendik
c5eb058b09 Uses rAF to interrupt the operator list execution 2014-05-09 07:00:47 -05:00