Commit Graph

5023 Commits

Author SHA1 Message Date
Xavier fung
3933d50dda Update zh-TW translation 2013-04-05 09:47:10 +08:00
Brendan Dahl
6051b824bb Merge pull request #3046 from mduan/remove-get-oplist
Remove redundant getOperatorList()
2013-04-04 15:39:30 -07:00
Mack Duan
db4b199efd Remove redundant getOperatorList() 2013-04-04 13:41:52 -07:00
Yury Delendik
f3c1013f54 Merge pull request #3043 from yurydelendik/cleanup-textlayer
Adds check for textDivs presence; removes textLayerQueue
2013-04-04 07:06:22 -07:00
Yury Delendik
238b94aff1 Adds check for textDivs presence; removes textLayerQueue 2013-04-04 09:01:27 -05:00
Yury Delendik
fe4c190e36 Merge pull request #3017 from Rob--W/chrome-extension
Chrome extension - Highly improved
2013-04-04 05:51:27 -07:00
Rob Wu
0099ea7039 Added Chrome extension's author 2013-04-04 13:40:42 +02:00
Rob Wu
57e6238a6e Enable Web Worker again in Chrome extension
Previously, Web Workers were not created because of a security
policy which does not respect relaxed privileges.
2013-04-04 13:40:35 +02:00
Rob Wu
88767e1861 Improve download button and behaviour
Fix download button for top frames and sub frames

When PDF.js is the top frame, and the PDF URL is identical to
the top URL, download would fail. Fixed by adding a ? or & in these
cases.

When PDF.js is embedded in a frame from a different origin, download
would fail because window.open(url, '_parent') is ignored.
Fixed by using a.click() when available.
a.click() works in Chrome 25, Firefox 19, Opera 12.00 and IE 8.
Safari 5.1 does not support a.click()

Use a.download if available + documentation
2013-04-04 13:40:28 +02:00
Rob Wu
b46c375126 Compatibility with XHTML documents
Previously, when the XHTML doctype + header is active, checks
would fail because a <div>'s tag name is "div" instead of "DIV".

document.activeElement does not exist in Chrome for XHTML documents

== -> ===
2013-04-04 12:35:50 +02:00
Rob Wu
e181a3c902 Highly improved Chrome extension
Full list feature changes in this commit:
- Support for iframes
- Switched to content-type (MIME) detection instead of hard-coding a
  case-sensitive check for the .PDF extension
- The PDF's original URL is visible in the omnibox
- Support for incognito mode

Note: PDF viewer is disabled for the file:// + incognito
combination, because it's currently impossible to get the combination
to work.

See https://github.com/mozilla/pdf.js/pull/3017#issuecomment-15693432
2013-04-04 10:04:13 +02:00
Yury Delendik
9c76ed0a35 Fixes Dict_assignXref type 2013-04-03 16:42:23 -05:00
Yury Delendik
ab2cf877e8 Merge pull request #3038 from brendandahl/lab-cs
Fix lab colorspace decoding and rgb conversion.
2013-04-03 13:55:13 -07:00
Brendan Dahl
98d5703565 Merge pull request #3036 from yurydelendik/appswitch
Fixes pdf application switching in FF22/23 (redo)
2013-04-03 13:12:53 -07:00
Brendan Dahl
18d2bb1b5e Merge pull request #1545 from yurydelendik/revert-Dict-xref-hide
Revert Dict xref hiding
2013-04-03 13:11:28 -07:00
Yury Delendik
884b2dc9e4 Merge pull request #3022 from Rob--W/css-button-fix
Explicitly define layout of toolbar buttons
2013-04-03 11:19:35 -07:00
Yury Delendik
9699dd16bf Disables cloning of the Dict 2013-04-03 13:01:45 -05:00
Brendan Dahl
b84cbfe451 Merge pull request #3019 from yurydelendik/cmyk-3
Speeds up the CMYK color conversion
2013-04-03 10:39:46 -07:00
Brendan Dahl
09b52d7663 Fix lab colorspace decoding and rgb conversion. 2013-04-03 10:36:09 -07:00
Rob Wu
5328b461ee Explicitly define layout of toolbar buttons
Before:

- Firefox's buttons looks OK
- Chrome (quirks mode): Buttons were aligned to the bottom (too much)
- Chrome (standards mode): Buttons were aligned to the top (too much)
- Opera/IE/Safari: Like Chrome (standards): Buttons too high

(Too high = Compare the other buttons to the rightmost button)

After:

- Firefox's button positions didn't change at all
- All buttons are aligned at the same level, across all browsers
2013-04-03 19:17:08 +02:00
Yury Delendik
55d850eb42 Merge pull request #3018 from Snuffleupagus/detect-colors-disabled
Detect and add fallback if document colors are disabled in Firefox
2013-04-03 10:03:18 -07:00
Jonas
ee83df1338 Detect and add fallback if document colors are disabled in Firefox - address comment 2013-04-03 18:49:03 +02:00
Yury Delendik
6ad7bd6be8 Merge pull request #3035 from Inkbug/issue2998
Fix for Issue 2998 – "Consider using `window.parent !== window` instead of `!!window.frameElement`"
2013-04-03 07:35:33 -07:00
Yury Delendik
853e4625bf Fixes pdf application switching in FF22/23 (redo) 2013-04-03 09:23:00 -05:00
Inkbug
b0376a1aa6 Fixing Issue 2998 - Replacing !!window.frameElement with window.parent !== window 2013-04-02 21:30:03 +03:00
Yury Delendik
71a31b01f2 Merge pull request #2919 from Snuffleupagus/external-links
Tweak external links in fullscreen mode - follow up on #2712
2013-04-02 09:59:02 -07:00
Brendan Dahl
5aa1d53b02 Merge pull request #3029 from brendandahl/v0.8
Bump version number to 0.8.
2013-04-02 09:31:50 -07:00
Brendan Dahl
76ff549899 Bump version number to 0.8. 2013-04-02 09:25:41 -07:00
Brendan Dahl
0ac55ac879 Merge pull request #3027 from yurydelendik/download-ff17
Workaround for FF17 to be able to download the pdf file
2013-04-02 09:19:05 -07:00
Yury Delendik
bb36833b4e Merge pull request #2947 from brendandahl/decoding
Fix where image component decoding takes place.
2013-04-02 08:54:03 -07:00
Yury Delendik
edff12fcd7 Update MD5 for blendmode.pdf 2013-04-02 10:23:25 -05:00
Yury Delendik
7e8c45bd83 Merge pull request #2854 from allstarschh/hmm_pdf_not_found
Remove hmm.pdf in test
2013-04-02 08:04:21 -07:00
Yury Delendik
51d6d2e3a6 Updates MD5 for german-umlat.pdf 2013-04-02 08:33:46 -05:00
Yury Delendik
0a167652ca Merge pull request #3026 from TheoChevalier/master
Updating fr locale
2013-04-02 06:24:59 -07:00
Yury Delendik
c0bb71d2d2 Workaround for FF17 to be able to download the pdf file 2013-04-02 08:07:01 -05:00
TheoChevalier
d4a2685c01 Merging fr l10n from mozilla-central 2013-04-02 13:37:56 +02:00
Yury Delendik
5839fef84c Merge pull request #2945 from mduan/annotation
Add support for appearance streams in annotations
2013-04-01 19:42:17 -07:00
Yury Delendik
bb7ff61964 Merge pull request #3003 from brendandahl/type1-parser
Restructure/rewrite of the Type1 font parser.
2013-04-01 19:06:11 -07:00
Yury Delendik
77997f61d5 Merge pull request #3021 from brendandahl/key-ref
Add keyboard shortcuts for retest analyzer.
2013-04-01 15:56:51 -07:00
Brendan Dahl
1c2cfaf1d6 Add keyboard shortcuts for retest analyzer. 2013-04-01 11:59:57 -07:00
Yury Delendik
c48a689352 Speeds up the CMYK color conversion 2013-04-01 12:21:20 -05:00
Yury Delendik
aa22befb59 Merge pull request #3015 from Haebaru/master
Updated Japanese locale
2013-04-01 08:17:11 -07:00
Yury Delendik
74b0a51cee Merge pull request #3009 from brendandahl/backdrop
Use white backdrop when possible.
2013-04-01 08:15:30 -07:00
Haebaru
a8a58ea5f8 Update viewer.properties 2013-04-01 20:39:56 +09:00
Brendan Dahl
79c3546c92 Merge pull request #3012 from yurydelendik/pdfjs-switch
Fixes PDF application switch in Firefox.
2013-03-31 12:10:16 -07:00
haebaru
5ca8f1d0da Updated Japanese locale 2013-03-31 17:56:31 +09:00
Yury Delendik
57631bcd1c Merge pull request #3014 from timvandermeij/print-warning-dutch
Updating Dutch translation with print warning
2013-03-30 19:24:52 -07:00
Yury Delendik
d087474e78 Merge pull request #3013 from xavier114fch/zh-TW
Update zh-TW locale for printing not ready message
2013-03-30 19:23:40 -07:00
Yury Delendik
7a8c2055ec Merge pull request #3011 from Snuffleupagus/printing-not-ready
Update Swedish locale with 'printing_not_ready' string
2013-03-30 19:23:08 -07:00
Yury Delendik
a2c9590132 Merge pull request #3010 from piotrex/patch-2
Update Polish viewer.properties (translated "printing_not_ready")
2013-03-30 19:22:15 -07:00