Jonas Jenwald
78d0d269dc
Fallback to the |Dummy| Pattern when we fail to parse a Shading Pattern (issue 5509)
2014-11-30 21:21:45 +01:00
Gijs
1d674d3e8f
Bug 639134 - update check for document colors
...
This checks for both prefs on the understanding that we need to work on older versions of Firefox. If that isn't the case, the first part of the if isn't necessary. This should only land if bug 639134 is resolved - I'd make the patch part of that bug, but AIUI pdfjs's canonical repo is on github, so...
2014-11-26 23:25:03 +00:00
dustyrockpyle
7a0e764ffd
Added page break hints in viewer css.
2014-11-26 11:56:00 -05:00
palkan
4764c52b5b
fix passing null as Promise's onFullfilled (which is broken in Chrome 32)
2014-11-25 16:40:27 +04:00
Tim van der Meij
dc5961d969
Merge pull request #5465 from Snuffleupagus/findbar-notFound-color
...
[GENERIC viewer] Fix the background color of the findInput when the search term is not found
2014-11-18 20:07:31 +01:00
Tim van der Meij
23bcab6f88
Merge pull request #5488 from Snuffleupagus/presentationMode-no-zoom-followup
...
Prevent a "TypeError: pdfViewer is null" when the viewer loads (PR 5413 followup)
2014-11-18 20:01:59 +01:00
Jonas Jenwald
6e7651a548
Merge pull request #5492 from jsundn/master
...
Fixes typo in webgl.js
2014-11-18 16:57:31 +01:00
jsundn
2ec7e34541
Fixes typo in webgl.js
2014-11-18 14:31:19 +01:00
Jonas Jenwald
6078901962
Prevent a "TypeError: pdfViewer is null" when the viewer loads (PR 5413 followup)
...
Currently if you manage to e.g. open the console (with <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>K</kbd>) before the viewer is initialized, the following will be printed in the console: `TypeError: pdfViewer is null`.
This doesn't cause any actual errors, but nevertheless it seems like something we should avoid.
Followup to PR 5413.
2014-11-15 12:17:10 +01:00
Yury Delendik
de9838018e
Merge pull request #5485 from CodingFabian/save-pr-5479
...
fixed multi precinct handling in jpx
2014-11-13 09:10:41 -06:00
Paul Roit
da5c0cf0e2
fixed multi precinct handling in jpx
...
fixes #5475
2014-11-13 09:07:18 +01:00
Yury Delendik
8e6b97eec9
Merge pull request #5473 from fkaelberer/fewerMultiplicationsInYcckToRgb
...
Use fewer multiplications for Ycck to Rgb conversion
2014-11-11 09:41:00 -06:00
Yury Delendik
bb91aa5e38
Merge pull request #5478 from Snuffleupagus/bug-1018882
...
Prevent text selection in Presentation Mode (bug 1018882)
2014-11-11 09:15:50 -06:00
Yury Delendik
e294c8883a
Merge pull request #5203 from Snuffleupagus/disableAutoFetch-loadingBar
...
Fix loadingBar hiding when disableAutoFetch is enabled (issue 3590)
2014-11-11 09:05:16 -06:00
Yury Delendik
3b9a78d3d8
Merge pull request #5416 from Snuffleupagus/percent-sign-l10n
...
Allow localization of the placement of percent signs in the zoom box
2014-11-11 08:30:07 -06:00
Yury Delendik
ade8dccb73
Import L10n
2014-11-11 08:27:54 -06:00
Jonas Jenwald
ce62b9387d
Remove any active text selection when entering Presentation Mode
2014-11-07 12:53:21 +01:00
Jonas Jenwald
86309faf3c
Prevent text selection in Presentation Mode (bug 1018882)
2014-11-07 12:02:48 +01:00
Jonas Jenwald
7f67d76339
Update |node make lint| to also cover the Firefox specific *.jsm files
2014-11-06 23:49:51 +01:00
Jonas Jenwald
4da57c3b85
Fix code style in extensions/firefox/content/PdfStreamConverter.jsm
2014-11-06 23:49:51 +01:00
Jonas Jenwald
8921606b68
Fix code style in extensions/firefox/content/PdfJsTelemetry-addon.jsm
2014-11-06 23:49:50 +01:00
Jonas Jenwald
80503e4197
Fix code style in extensions/firefox/content/PdfJsTelemetry.jsm
2014-11-06 23:37:34 +01:00
Jonas Jenwald
ac0f48c2fc
Fix code style in extensions/firefox/content/PdfJs-stub.jsm
2014-11-06 23:37:34 +01:00
Jonas Jenwald
c4c5c2222b
Fix code style in extensions/firefox/content/PdfjsContentUtils.jsm
2014-11-06 23:37:33 +01:00
Jonas Jenwald
3370b18e0b
Fix code style in extensions/firefox/content/PdfjsChromeUtils.jsm
2014-11-06 23:37:33 +01:00
Jonas Jenwald
9ed3e1e545
Fix code style in extensions/firefox/content/PdfJs.jsm
2014-11-06 23:37:32 +01:00
Brendan Dahl
1480850045
Merge pull request #5428 from yurydelendik/regaddon
...
Bug 1076909 - change args order in registerAddonHistogram.
2014-11-06 14:34:51 -08:00
Yury Delendik
4d4ef11978
Bug 1076909 - change args order in registerAddonHistogram.
2014-11-06 15:27:28 -06:00
fkaelberer
5fcf3d37a7
use fewer multiplications in convertYcckToRgb
2014-11-05 15:53:10 +01:00
fkaelberer
ea719ae805
remove null checks that always evaluate to false
2014-11-05 15:19:30 +01:00
Yury Delendik
45ca953705
Merge pull request #5471 from Snuffleupagus/issue-5470
...
Fix typed array assignment in the |constructPostScriptFromIRResult| function (issue 5470)
2014-11-04 10:24:45 -06:00
Jonas Jenwald
5f32f80e34
Add a reduced test case for issue 5470
2014-11-04 16:16:48 +01:00
Jonas Jenwald
1abad5f290
Fix typed array assignment in the |constructPostScriptFromIRResult| function (issue 5470)
2014-11-04 12:17:27 +01:00
Jonas Jenwald
fbca0e1ab0
[GENERIC viewer] Fix the background color of the findInput when the search term is not found
...
When a search term isn't found, the background color of the findInput is supposed to change (to red). This is currently not working as intended, because the CSS rule is not being applied correctly. (It seems that this broke in PR 2208.)
This patch also changes the background color to match the one used in the native Firefox findbar, since the old color seemed a bit too pink.
2014-11-01 20:26:44 +01:00
Yury Delendik
308646d5f1
Merge pull request #5454 from Snuffleupagus/debugger-font-download
...
Fix regression that prevents downloading of font files in the debugger
2014-10-30 09:19:33 -07:00
Jonas Jenwald
4ed3074011
Fix regression that prevents downloading of font files in the debugger
...
This is a regression from PR 5366.
2014-10-28 19:56:55 +01:00
Fabian Lange
970c048d50
fixes caching of inline images during parsing.
...
As described in #5444 , the evaluator will perform identity checking of
paintImageMaskXObjects to decide if it can use
paintImageMaskXObjectRepeat instead of paintImageMaskXObjectGroup.
This can only ever work if the entry is a cache hit. However the
previous caching implementation was doing a lazy caching, which would
only consider a image cache worthy if it is repeated.
Only then the repeated instance would be cached.
As a result of this the sequence of identical images A1 A2 A3 A4 would
be seen as A1 A2 A2 A2 by the evaluator, which prevents using the
"repeat" optimization. Also only the last encountered image is cached,
so A1 B1 A2 B2, would stay A1 B1 A2 B2.
The new implementation drops the "lazy" init of the cache. The threshold
for enabling an image to be cached is rather small, so the potential waste
in storage and adler32 calculation is rather low. It also caches any
eligible image by its adler32.
The two example from above would now be A1 A1 A1 A1 and A1 B1 A1 B1
which not only saves temporary storage, but also prevents computing
identical masks over and over again (which is the main performance impact
of #2618 )
2014-10-28 15:39:41 +01:00
thejdeep
46238c30cf
Fix of pdf not loading on android (issue 5427)
...
Fix for pdf on android not visible
Fix for pdf on android not visible
2014-10-28 00:21:14 +05:30
Yury Delendik
a737e5b706
Merge pull request #5437 from Snuffleupagus/bug-878194-eq-test
...
Change bug878194 to an |eq| test
2014-10-27 08:32:03 -07:00
Yury Delendik
fdf87c3e4c
Merge pull request #5447 from araghava/issue-5440-rtl-bug
...
[issue 5440] fix rtl direction bug for full language codes
2014-10-27 07:39:16 -07:00
araghava
e2c001c19d
[issue 5440] fix rtl direction bug for full language codes
2014-10-26 17:16:56 -04:00
Yury Delendik
251b2cae2c
Merge pull request #5443 from Snuffleupagus/issue-5291-test
...
Add a reduced test case for issue 5291
2014-10-25 10:24:39 -05:00
Yury Delendik
1bf72f3fe8
Merge pull request #5409 from thejdeep/master
...
Black text not visible #5291
2014-10-25 09:21:08 -05:00
Jonas Jenwald
58cc39f329
Add a reduced test case for issue 5291
2014-10-25 11:35:13 +02:00
thejdeep
39a29cfe03
Fixed text not visible
2014-10-25 07:18:31 +05:30
Yury Delendik
d65db7c5ed
Merge pull request #5438 from fkaelberer/addFKaelbererToAuthors
...
Add fkaelberer to the list of authors
2014-10-23 09:16:52 -05:00
fkaelberer
e2b53ddef7
Add fkaelberer to the list of authors
2014-10-23 16:09:56 +02:00
Jonas Jenwald
bf0d03bccd
Change bug878194 to an |eq| test
2014-10-23 14:19:05 +02:00
Yury Delendik
6048c8a910
Minor node/pdf2svg.js fixes.
2014-10-22 09:59:20 -05:00
Yury Delendik
04390d8252
Merge pull request #5426 from fkaelberer/fixJpxOutOfPackets
...
Fix JPX "Out of Packets" Error (issues 4358, 4659, 4814)
2014-10-22 09:40:29 -05:00