Jonas Jenwald
86d7453c93
Remove the link to the AMO extension from the README
2014-12-17 21:49:49 +01:00
Tim van der Meij
01cf21955e
Merge pull request #5406 from Snuffleupagus/lint-firefox-jsm
...
[Firefox] Enable linting of *.jsm files and update the code style in extensions/firefox/content
2014-12-15 20:54:22 +01:00
Yury Delendik
ee1b1252ff
Merge pull request #5124 from jordan-thoms/improve-fingerprinting
...
Improve fingerprinting of documents
2014-12-15 13:30:14 -06:00
Yury Delendik
f5df30f967
Merge pull request #5445 from CodingFabian/fixImageCachingInParser
...
Fixes caching of inline images during parsing.
2014-12-15 10:51:23 -06:00
Yury Delendik
bc27774cfd
Merge pull request #5508 from Snuffleupagus/jpeg-stream-find-soi
...
Refactor searching for the SOI marker of inline JPEG image streams
2014-12-15 09:36:24 -06:00
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
Jonas Jenwald
3e1b5216ac
Refactor searching for the SOI marker of inline JPEG image streams
2014-12-05 17:24:27 +01: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
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