Commit Graph

7579 Commits

Author SHA1 Message Date
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
Yury Delendik
9e7966a446 Merge pull request #5390 from Snuffleupagus/inline-jpeg-image-loading-test-case
Add a reduced test case for PR 5286
2014-10-22 09:38:31 -05:00
Yury Delendik
6b2c900722 Merge pull request #5401 from Snuffleupagus/bug-847420-test
Add a reduced test case for bug 847420
2014-10-22 08:32:20 -05:00
Yury Delendik
deeaee9f7e Merge pull request #5433 from yurydelendik/v1.0.907
Version 1.0.907
2014-10-22 08:30:19 -05:00
Yury Delendik
a1ff71e07a Version 1.0.907 2014-10-22 08:29:52 -05:00
Jonas Jenwald
88c88d08e1 Add a reduced test case for PR 5286 2014-10-22 14:11:15 +02:00
fkaelberer
6337a430b3 Add test case for JPX "Out of packets" error 2014-10-22 10:43:02 +02:00
fkaelberer
141ecfa61f fix "JPX Out of Packets" Error (issues 4358, 4659, 4814) 2014-10-22 09:53:10 +02:00
Yury Delendik
8bfc4b84cb Merge pull request #5350 from CodingFabian/issue-5349
For JPX decoding only read next packet after checking for byte aligning.
2014-10-21 18:05:32 -05:00
Fabian Lange
b2d7c285c0 For JPX decoding only read next packet after checking for byte aligning.
This patch makes the image from #5349 appear correctly, the artefacts
for the last packet are fixed in #5426.
This patch also optimizes some "in-checks" and adds a few header parsings.
2014-10-21 22:06:10 +02:00
Jonas Jenwald
2505c8613b Allow localization of the placement of percent signs in the zoom box 2014-10-21 21:41:06 +02:00
Yury Delendik
419ba54e58 Merge pull request #5418 from Rob--W/issue-5417-annot-error
Fix error in WidgetAnnotation
2014-10-21 14:27:39 -05:00
Yury Delendik
92d3d7fd2e Merge pull request #5422 from Snuffleupagus/issue-5421
Avoid rendering invisible Type3 fonts (issue 5421)
2014-10-21 14:25:59 -05:00
Jonas Jenwald
4ac4d49158 Avoid rendering invisible Type3 fonts (issue 5421) 2014-10-18 22:29:21 +02:00
Jonas Jenwald
83eff107ae Merge pull request #5420 from Snuffleupagus/update-l10n-oct-14
Update l10n files (October 2014)
2014-10-17 13:53:50 +02:00
Jonas Jenwald
2eb4acbb8d Update l10n files (October 2014) 2014-10-17 13:49:22 +02:00
Rob Wu
c889e4e679 Fix error in WidgetAnnotation 2014-10-16 18:08:24 +02:00
Brendan Dahl
e9072ac018 Merge pull request #5414 from yurydelendik/bug1072164
Fixes decoding for CMYK jpegs.
2014-10-15 16:34:37 -07:00
Yury Delendik
2d7a34d692 Fixes decoding for CMYK jpegs. 2014-10-15 15:56:29 -05:00
Yury Delendik
4e890b4a05 Merge pull request #5413 from Snuffleupagus/presentationMode-no-zoom
Disable zooming in Presentation Mode
2014-10-15 15:40:49 -05:00
Jonas Jenwald
a1f4bff4f3 Disable zooming in Presentation Mode 2014-10-15 22:25:31 +02:00
Yury Delendik
406bdc0862 Merge pull request #5407 from mzgol/package.json-update
Package.json update
2014-10-14 12:11:43 -05:00
Michał Gołębiowski
cd33d0717c Use the tilde (~) consistently in package.json
Closes #5407
2014-10-14 14:02:30 +02:00
Michał Gołębiowski
ddec2f2a2a Fix jsdoc version in package.json to work with npm 2.x.y.
Fixes #5340
2014-10-14 14:02:15 +02:00
Brendan Dahl
8445ff1e45 Merge pull request #5402 from yurydelendik/streammem
Refactors PdfDataLister buffering.
2014-10-13 14:26:50 -07:00
Yury Delendik
63444aa4b3 Refactors PdfDataLister buffering. 2014-10-13 15:27:05 -05:00
Yury Delendik
55957a7d30 Merge pull request #5395 from Snuffleupagus/getTabForBrowser
[Firefox] Use getTabForBrowser instead of _getTabForBrowser if possible
2014-10-13 09:16:36 -05:00
Yury Delendik
21f1a11aee Merge pull request #5396 from Snuffleupagus/bug-1071709
Bug 1071709 - 5-30% TART / Session Restore regressions on Inbound (v.35) september 22 from rev d3a7f765152f
2014-10-13 09:14:11 -05:00
Yury Delendik
1f3ca3df11 Merge pull request #5399 from Snuffleupagus/issue-5398
Fix "Automatic Zoom" for landscape documents with very wide pages (issue 5398)
2014-10-13 09:02:09 -05:00
Jonas Jenwald
0ffb54b95f Add a reduced test case for bug 847420 2014-10-12 22:36:50 +02:00
Jonas Jenwald
670b842e09 Fix "Automatic Zoom" for landscape documents with very wide pages (issue 5398) 2014-10-12 02:25:35 +02:00
Jim Mathies
fc3721ce2d Bug 1071709 - 5-30% TART / Session Restore regressions on Inbound (v.35) september 22 from rev d3a7f765152f 2014-10-10 23:04:49 +02:00
Jonas Jenwald
a34e7aa8fe [Firefox] Use getTabForBrowser instead of _getTabForBrowser if possible 2014-10-10 22:26:52 +02:00