Jordan Thoms
aa53319c87
Improve fingerprinting of documents
...
Fixes two issues:
- #4456 : The first 100 bytes are often not unique as they can be
filled with standard PDF headers - so we use the first 200 KB instead.
(This may be overkill)
- Some documents we encountered have invalid xref ids, which were
always coming out as ‘0000000000000000’ - so we detect that and use the
MD5 instead.
2014-12-11 12:55:05 +13:00
Yury Delendik
20bf84ac54
Merge pull request #5532 from Snuffleupagus/test-pr-5276
...
Add a (linked) test case for bug 1108753 (PR 5276)
2014-12-08 23:32:56 -06:00
Jonas Jenwald
3ea81019fe
Add a (linked) test case for bug 1108753 (PR 5276)
...
When submitting PR 5276 there wasn't a good PDF file to include in the test suite. However, with https://bugzilla.mozilla.org/show_bug.cgi?id=1108753 , we now have a better source for a test file, hence this patch.
2014-12-09 01:07:38 +01:00
Yury Delendik
35474628e3
Merge pull request #5449 from CodingFabian/preferParamsOverArguments
...
Use 3 param method for converting r,g,b into css string.
2014-12-08 15:23:12 -06:00
Yury Delendik
7f24b1d602
Merge pull request #5448 from thejdeep/androidfix
...
Added try/catch #5427
2014-12-08 14:56:27 -06:00
Tim van der Meij
c28f7d2535
Merge pull request #5528 from Snuffleupagus/test-bug-1064894
...
Add a (linked) test case for bug 1064894
2014-12-08 21:32:55 +01:00
Jonas Jenwald
df1364a993
Add a (linked) test case for bug 1064894
...
This should have been part of PR 5284.
2014-12-06 14:15:08 +01:00
Fabian Lange
ceffeab1de
Use 3 param method for converting r,g,b into css string.
...
This avoids creation of temporary arrays to pass them into the util
method. Also using "arguments" is more expensive then passing in 3
parameters.
2014-12-05 19:25:02 +01:00
Yury Delendik
a3df129e32
Merge pull request #5524 from fkaelberer/increaseSMaskChunkSizeTo1M
...
Increases chunk size in SMask composition to 1M pixels
2014-12-05 08:42:06 -08:00
Yury Delendik
cddb870856
Merge pull request #5523 from CodingFabian/remove-canvas-rounding-luminosity
...
removed rounding of values in composeSMaskLuminosity
2014-12-05 08:40:38 -08:00
Yury Delendik
8a6cc44144
Merge pull request #5507 from palkan/fix-promise-null
...
Fix passing null as onFullfilled (which is broken in Chrome(-ium) 32)
2014-12-05 08:36:46 -08:00
Yury Delendik
37fe1d14e4
Merge pull request #5516 from Snuffleupagus/issue-5509
...
Fallback to the |Dummy| Pattern when we fail to parse a Shading Pattern (issue 5509)
2014-12-05 08:21:01 -08:00
fkaelberer
7d698a46a9
increase chunk size in SMask composition to 1M pixels
2014-12-03 10:25:53 +01:00
Fabian Lange
b049119d14
removed rounding of values in composeSMaskLuminosity
...
maskData comes out of maskCtx.getImageData, so is 0..255 clamped, and
the used multiplications will not create fractions needing rounding,
neither would addition.
2014-12-02 22:25:54 +01:00
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
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
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
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