Tim van der Meij
a544aed2b0
Merge pull request #5673 from Snuffleupagus/thumbnail-refactor
...
Refactor the thumbnail code
2015-01-26 21:33:32 +01:00
Jonas Jenwald
777d69b52e
Remove dead code from PDFThumbnailView
2015-01-26 20:52:46 +01:00
Jonas Jenwald
b7041f81f4
Enable cancelling of thumbnail drawing
...
This is useful if thumbnails are being rendered when the document is rotated, since it let us abort the current rendering.
2015-01-26 20:52:45 +01:00
Jonas Jenwald
878aa76c15
Refactor PDFThumbnailView to look more similar to PDFPageView
...
This includes an optimization to zero the height and width of existing thumbnail canvases, when they are removed and recreated during rotation of the document. (Credit goes to nnethercote, who initially found this in PR 4920.)
2015-01-26 20:52:45 +01:00
Jonas Jenwald
7f8f404536
Rename ThumbnailView to PDFThumbnailView and refactor it to be more class-like
2015-01-26 20:52:44 +01:00
Tim van der Meij
40f9f771c0
Merge pull request #5669 from fkaelberer/avoidOutOfRangeArrayAccessInJbig2Decoder
...
Avoid out of range array access in JBIG2 decoder
2015-01-26 19:10:07 +01:00
Jonas Jenwald
4294fb18d8
Merge pull request #5675 from timvandermeij/cleanup-gitignore
...
Remove obselete file from .gitignore
2015-01-26 16:52:10 +01:00
Jonas Jenwald
9a8d1ce4fc
Merge pull request #5672 from timvandermeij/remove-b2g-header
...
Remove unused viewer-snippet-b2g-activity-header.html
2015-01-26 16:47:58 +01:00
Tim van der Meij
2524c4dee7
Remove obselete file from .gitignore
2015-01-26 16:44:45 +01:00
Tim van der Meij
5db9ebea19
Merge pull request #5674 from Snuffleupagus/avoid-double-childNodes-in-PDFPageView_reset
...
Avoid getting |childNodes| twice in PDFPageView_reset, by using the variable instead
2015-01-26 16:39:31 +01:00
Jonas Jenwald
4bf308ad54
Merge pull request #5671 from timvandermeij/remove-template
...
Remove unused index.html.template
2015-01-26 13:55:27 +01:00
Jonas Jenwald
8471bb3206
Avoid getting |childNodes| twice in PDFPageView_reset, by using the variable instead
2015-01-26 12:22:09 +01:00
Tim van der Meij
c278d65dfd
Remove unused viewer-snippet-b2g-activity-header.html
2015-01-25 20:55:20 +01:00
Tim van der Meij
f89d1ca2e7
Remove unused index.html.template
2015-01-25 20:44:21 +01:00
Jonas Jenwald
64ba38008f
Rename the thumbnail_view.js file
2015-01-25 17:21:53 +01:00
Jonas Jenwald
dfa993d13d
Fix function names in PDFThumbnailViewer
...
Also updates a couple of the JSDoc comments.
2015-01-25 17:21:29 +01:00
Jonas Jenwald
c55dcf19a0
Move PDFThumbnailViewer to its own file
2015-01-24 15:41:18 +01:00
fkaelberer
8013100ab8
avoid out of range array access in JBIG2 decoder
2015-01-23 23:50:09 +01:00
Tim van der Meij
dd7fd0b665
Merge pull request #5588 from Snuffleupagus/remove-pageView-anchor
...
Remove unused anchor links placed before every page
2015-01-23 22:38:09 +01:00
Tim van der Meij
997c2b9d94
Merge pull request #5596 from fkaelberer/fixBordersAroundThumbnails
...
Fix border sizes around thumbnails
2015-01-23 21:29:49 +01:00
Tim van der Meij
6f36df79a1
Merge pull request #5610 from fkaelberer/betterThumbnailScaling
...
Better thumbnail image scaling
2015-01-23 20:45:37 +01:00
Jonas Jenwald
801902c6cc
Fix lint error: extensions/firefox/content/PdfStreamConverter.jsm: line 384, col 63, Expected '===' and instead saw '=='.
2015-01-22 20:58:04 +01:00
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