Commit Graph

7525 Commits

Author SHA1 Message Date
Jonas Jenwald
8389f1d792 Merge pull request #5511 from gijsk/patch-1
Bug 639134 - update check for document colors
2015-01-22 20:43:50 +01:00
Jonas Jenwald
385b07c2ab Merge pull request #5660 from timvandermeij/thumbnails-setimage
Fill temporary canvases with a white background too
2015-01-22 20:20:27 +01:00
Tim van der Meij
a5135db238 Merge pull request #5659 from Snuffleupagus/issue-5637-2
Fix thumbnail rendering regression, when using |draw|, for PDF files with blend modes (issue 5637)
2015-01-22 20:15:36 +01:00
Tim van der Meij
879f3d2c5a Fill temporary canvases with a white background too 2015-01-19 22:01:55 +01:00
Jonas Jenwald
c149d4d75e Fix thumbnail rendering regression, when using |draw|, for PDF files with blend modes (issue 5637) 2015-01-19 21:55:59 +01:00
Tim van der Meij
465f52e7ce Merge pull request #5567 from CodingFabian/fixup-5439
Add marker segment (PLT, PLM) and refactor TLM
2015-01-15 00:37:23 +01:00
Tim van der Meij
c7af070ad9 Merge pull request #5619 from Rob--W/crx-options-page
Chrome extension: Add options page
2015-01-14 22:42:39 +01:00
Tim van der Meij
5251db93eb Merge pull request #5646 from Snuffleupagus/disableAutoFetch-streaming-docs
Amend the docs for |disableAutoFetch| to mention that streaming must also be disabled
2015-01-14 21:56:09 +01:00
Jonas Jenwald
daba13aebb Amend the docs for |disableAutoFetch| to mention that streaming must also be disabled 2015-01-14 18:33:12 +01:00
Rob Wu
1b043bfd5a Chrome extension: Add options page 2015-01-14 00:01:29 +01:00
Tim van der Meij
f6ad15d084 Merge pull request #5639 from Snuffleupagus/DocumentProperties-faster-fileSize-2
Attempt to display the File size quicker in the Document Properties dialog (PR 5554 followup)
2015-01-13 22:19:59 +01:00
Yury Delendik
f9757afdc8 Merge pull request #5641 from Snuffleupagus/non-embedded-font-isStandardFont
Prevent setting |isStandardFont| to |undefined| for non-embedded fonts
2015-01-13 10:57:51 -06:00
Jonas Jenwald
c2c54257f2 Prevent setting |isStandardFont| to |undefined| for non-embedded fonts
This is a very small follow-up to PR 5536, which sets `isStandardFont` to `false` instead of `undefined` (as currently happens for some font names).

Since the patch is so small, I hope it's OK to also fix an unrelated copy-and-paste error in a comment that was added in PR 5260.
2015-01-13 15:44:34 +01:00
Jonas Jenwald
af6170ffd0 Attempt to display the File size quicker in the Document Properties dialog (PR 5554 followup) 2015-01-13 09:38:34 +01:00
Tim van der Meij
5bf87c66ff Merge pull request #5638 from Snuffleupagus/issue-5637-1
Fix thumbnail scaling regression for files with different page sizes (issue 5637)
2015-01-13 01:14:05 +01:00
Jonas Jenwald
c466a9e034 Fix thumbnail scaling regression for files with different page sizes (issue 5637) 2015-01-13 01:03:54 +01:00
Tim van der Meij
95fcbc2325 Merge pull request #5624 from yurydelendik/base64
Base64 example and be more flexible what type of data is passed
2015-01-12 23:06:06 +01:00
Yury Delendik
81649b00a9 Base64 example and be more flexible what type of data is passed. 2015-01-12 14:52:52 -06:00
Yury Delendik
36dd6c1b1b Merge pull request #5631 from Snuffleupagus/inline-jpeg-image-find-eoi-marker
Refactor searching for end of inline (EI) JPEG image streams
2015-01-12 11:30:14 -06:00
Emanuel Arguinarena
3d01c345a1 Add marker segment (PLT, PLM) and refactor TLM 2015-01-11 22:54:50 +01:00
Jonas Jenwald
eac168f3cc Refactor searching for end of inline (EI) JPEG image streams
This patch changes searching for EI image streams to rely on the EOI (end-of-image) marker for DCTDecode filters (i.e. JPEG images).
2015-01-10 23:55:55 +01:00
Jonas Jenwald
6dfc73a5da Modify |getUint16| to correctly handle missing data in Stream, DecodeStream and ChunkedStream 2015-01-10 23:55:54 +01:00
Jonas Jenwald
35e668079d Merge pull request #5627 from yurydelendik/tel
Whitelists 'tel' schema.
2015-01-10 18:21:36 +01:00
Jonas Jenwald
8d0c442004 Merge pull request #5632 from yurydelendik/b2g-start
Fixes B2G file open sequence.
2015-01-09 18:00:39 +01:00
Yury Delendik
d52289d8fd Fixes B2G file open sequence. 2015-01-09 07:46:34 -06:00
Brendan Dahl
6ceb652abb Merge pull request #5554 from yurydelendik/apiref
Refactors getDocument and adds PDFDataRangeTransport.
2015-01-08 14:24:38 -08:00
Yury Delendik
982accf1d7 Whitelists 'tel' schema. 2015-01-08 09:10:42 -06:00
Jonas Jenwald
5332c02a02 Fix lint error: "test/webserver.js: line 177, col 106, Line is too long." 2015-01-08 12:22:34 +01:00
Yury Delendik
4ec132a2ba Adds encoding for test server index page. 2015-01-07 21:35:48 -06:00
Yury Delendik
3a540ca120 Merge pull request #5622 from Snuffleupagus/move-pagerendered-event
Move the |pagerendered| event to pdf_page_view.js
2015-01-07 14:16:51 -06:00
Yury Delendik
34bed638bb Merge pull request #5600 from timvandermeij/str-undefined
Implement guards for stringToBytes and bytesToString
2015-01-06 16:27:17 -06:00
Jonas Jenwald
95dd9ee185 Move the |pagerendered| event to pdf_page_view.js
Also deprecates the |pagerender| event, except for GENERIC builds.
2015-01-06 21:44:22 +01:00
Yury Delendik
039c7b4085 Merge pull request #5606 from Snuffleupagus/textlayerrendered
Add a |textlayerrendered| event
2015-01-06 14:42:06 -06:00
Jonas Jenwald
3f061cef86 Add a |textlayerrendered| event 2015-01-06 17:57:32 +01:00
Yury Delendik
34203e5367 Merge pull request #5618 from yurydelendik/v1.0.1040
Version 1.0.1040
2015-01-06 08:23:07 -06:00
Yury Delendik
e7e41b7719 Version 1.0.1040 2015-01-06 08:21:39 -06:00
Yury Delendik
e0f6071178 Merge pull request #5603 from Rob--W/xhr-range-206-bugfix
Use Content-Range instead of Content-Length #5512
2015-01-06 07:40:38 -06:00
Rob Wu
c02b2cb37c Use Content-Range instead of Content-Length #5512
Use Content-Range header instead of Content-Length when the
response has status code 206, to work around issue #5512,
which is caused by a bug in Chrome (since version 39):
https://code.google.com/p/chromium/issues/detail?id=442318
2015-01-06 14:26:41 +01:00
Yury Delendik
3a61edfcae Refactors getDocument and adds PDFDataRangeTransport. 2015-01-05 21:45:01 -06:00
Brendan Dahl
e93cf5ca97 Merge pull request #5552 from yurydelendik/pdfpageview
Creates/refactors PDFPageView class
2015-01-05 11:26:36 -08:00
Tim van der Meij
997096f40d Merge pull request #5612 from Archaeopteryx/master
Add missing comma to German add-on description
2015-01-03 20:39:24 +01:00
Archaeopteryx
deeca31f82 Add missing comma to German add-on description 2015-01-03 20:22:16 +01:00
Tim van der Meij
6e99c29cf8 Implement guards for stringToBytes and bytesToString 2015-01-02 23:35:51 +01:00
Yury Delendik
4c57ef68c3 Imports l10n 2015-01-02 09:10:11 -06:00
Yury Delendik
e36cdcf3d2 Merge pull request #5382 from Snuffleupagus/zoom-arrow-nightly
Fix the placement of arrows in the zoom box
2015-01-02 08:23:01 -06:00
Yury Delendik
55098bcdf6 Merge pull request #5602 from Snuffleupagus/issue-5599
Ensure that |get fingerprint| doesn't fail if the ID is not an array (issue 5599)
2014-12-30 10:05:42 -06:00
Jonas Jenwald
1fea44ce14 Ensure that |get fingerprint| doesn't fail if the ID is not an array (issue 5599)
According to the [PDF specification](http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#page=51) the `ID` should be an array. To prevent errors if the PDF file violates that part of the spec, check that the `ID` is actually an array.

Fixes 5599.
2014-12-30 16:16:43 +01:00
Jonas Jenwald
6e66e30d92 Merge pull request #5597 from timvandermeij/ccitt-regression
CCITTFaxStream: fix regression when EncodedByteAlign is true and EndOfLine is false
2014-12-30 11:48:47 +01:00
Jonas Jenwald
86edb8687d Fix the placement of arrows in the zoom box
Now that [bug 649849](https://bugzilla.mozilla.org/show_bug.cgi?id=649849) has been fixed, adding support for `-moz-appearance: none`, the arrow is now too close to the text in the zoom box. This is currently only an issue in Nightly, but assuming the patch doesn't get backed out, this will soon affect all versions of Firefox.

The only simple solution I could find seems to be removing `*-appearance: none` rules from the CSS. I haven't been able to find any easier solutions that still looks the same with/without bug 649849.
2014-12-30 11:37:21 +01:00
Tim van der Meij
b835ef425e CCITTFaxStream: fix regression when EncodedByteAlign is true and EndOfLine is false 2014-12-30 00:07:35 +01:00