Commit Graph

5041 Commits

Author SHA1 Message Date
Mack Duan
ef423ef30c Implement progressive loading of PDFs 2013-04-12 16:13:22 -07:00
Brendan Dahl
added3da8f Merge pull request #3055 from saebekassebil/da-l10n
Update danish locale
2013-04-11 11:42:49 -07:00
Brendan Dahl
985307907b Merge pull request #3054 from saebekassebil/disabled
Disable outline button when unavailable
2013-04-11 09:29:52 -07:00
Jakob Miland
6b4f72a2c3 Disable outline button when unavailable 2013-04-11 18:27:35 +02:00
Brendan Dahl
3e52bcab8c Merge pull request #3059 from saebekassebil/patch-1
Github pages are now located at github.io
2013-04-11 09:07:49 -07:00
Jakob Miland
1c8967769e Github pages are now located at github.io
This saves the network communication a HTTP 301 Moved Permanently
2013-04-11 10:32:02 +02:00
Brendan Dahl
a726c856b7 Merge pull request #2967 from vyv03354/cmap
Refactor 'cmap' generation
2013-04-10 09:55:25 -07:00
vyv03354
e39c34584a Refactor 'cmap' generation 2013-04-10 01:39:13 +09:00
Brendan Dahl
b898935eb0 Merge pull request #3047 from mduan/remove-display-promise
Remove initialization code that's no longer used
2013-04-09 09:35:12 -07:00
Jakob Miland
2fbd40545c Update danish locale 2013-04-07 12:56:33 +02:00
Yury Delendik
a017e105cc Merge pull request #3045 from mduan/remove-gfx
Remove code that is not being used
2013-04-06 09:42:06 -07:00
Yury Delendik
e646543474 Merge pull request #3051 from piotrex/patch-1
Localized "web_colors_disabled" to Polish
2013-04-06 09:39:59 -07:00
Brendan Dahl
5ceac52a6b Merge pull request #3052 from Haebaru/master
Updated Japanese locale
2013-04-05 14:58:04 -07:00
Brendan Dahl
22852d6001 Merge pull request #3049 from xavier114fch/zh-TW
Update zh-TW translation
2013-04-05 14:57:18 -07:00
haebaru
8509ee740a Updated Japanese locale 2013-04-06 06:08:11 +09:00
piotrex
9af3a624dd Localized "web_colors_disabled" to Polish 2013-04-05 23:26:04 +03:00
Xavier fung
3933d50dda Update zh-TW translation 2013-04-05 09:47:10 +08:00
Mack Duan
6beb33c25b Remove initialization code that's no longer used 2013-04-04 16:37:27 -07: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
Mack Duan
96167d2ce6 Remove code that is not being used 2013-04-04 12:24:06 -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