Commit Graph

5693 Commits

Author SHA1 Message Date
Yury Delendik
56ea1e08e6 Fixes typo in 2-component image decoding 2013-08-19 08:43:17 -05:00
Brendan Dahl
88557041e0 Merge pull request #3583 from yurydelendik/workerSrc
Specifies default workerSrc
2013-08-16 13:27:58 -07:00
Yury Delendik
b1c2c6b8c1 Merge pull request #3576 from Snuffleupagus/undefined-stream-length
Enable loading of PDFs with undefined or missing stream lengths
2013-08-16 11:14:35 -07:00
Yury Delendik
6a0ca99da4 Merge pull request #3519 from Snuffleupagus/move-errorWrapper-during-load
Prevent the loadingBar from overlaying the errorWrapper
2013-08-16 10:53:56 -07:00
Yury Delendik
ab2cfaf128 Merge pull request #3575 from brendandahl/text-debugger
Show sensible output for showText commands in the stepper.
2013-08-16 10:42:39 -07:00
Yury Delendik
3f530c43a9 Specifies default workerSrc (if possible) 2013-08-16 11:33:54 -05:00
Rob Wu
c653bf3aff Set URL in history.replaceState/pushState
When <base href> is present, history.replaceState and
history.pushState behave inconsistent with relative URLs.
http://code.google.com/p/chromium/issues/detail?id=274024

Contrary to what one expect, passing '' as the URL parameter to
replaceState/pushState does not associate the currently active
URL with the history entry, but a path relative to <base href>.

To fix the issue, explicitly associate the current active URL
with the history's state.
2013-08-16 17:30:07 +02:00
Yury Delendik
ba23a9e8f9 Adds initial telemetry probes 2013-08-16 09:53:05 -05:00
Yury Delendik
b8143b394c Reduce max size for pattern and limit group canvases 2013-08-16 09:50:48 -05:00
Yury Delendik
5ca1c84564 Merge pull request #3581 from yurydelendik/pushState
Misc IE fixes
2013-08-16 07:44:33 -07:00
Jonas
628f4aaf81 Enable loading of PDFs with undefined or missing stream lengths 2013-08-16 16:32:40 +02:00
Yury Delendik
cb59b31927 IE9 does not need onreadystatechange 2013-08-16 09:19:42 -05:00
Yury Delendik
7e145c1228 Merge remote-tracking branch 'mozilla/master' into pushState 2013-08-16 09:18:00 -05:00
Yury Delendik
abe00cbc76 Merge pull request #3530 from brendandahl/worker-split
Split files into worker and main thread pieces.
2013-08-16 07:15:47 -07:00
Yury Delendik
fa885678df Don't provide optional pushState parameter 2013-08-16 09:09:32 -05:00
Soumya Deb
de52e711f8 Unprefixing CSS as current browsers support 2013-08-16 14:18:37 +05:30
Brendan Dahl
2bd9901d62 Show sensible output for showText commands in the stepper. 2013-08-14 15:34:55 -07:00
Rob Wu
a4dd4b1789 [CRX] Fixes to view local files again
pdfHandler-local.js references the isPdfDownloadable function from
pdfHandler.js, but the function didn't expect that the responseHeaders
property was absent. Added a check to prevent a runtime error when a
local file is displayed in a frame, and show local PDF files again.

Local files are rendered on the chrome-extension:-protocol. The previous
method of getting the PDF URL was incorrect, this has been fixed as well.
2013-08-14 23:50:51 +02:00
Yury Delendik
86077810b0 Fixes canvas alignment for small scale and scale adjustment after Cmd+0 2013-08-13 18:45:06 -05:00
Brendan Dahl
5ecce4996b Split files into worker and main thread pieces. 2013-08-12 10:48:06 -07:00
Yury Delendik
e5cd027dce Merge pull request #3557 from timvandermeij/named-actions
Named actions implementation
2013-08-11 19:06:31 -07:00
Yury Delendik
863d81aaf4 Merge pull request #3525 from timvandermeij/fix-gbkp-cmap
Support for CMap GBKp-EUC-H
2013-08-11 06:37:20 -07:00
Tim van der Meij
b2b922b866 Support for CMap GBKp-EUC-H 2013-08-11 10:35:56 +02:00
Tim van der Meij
75035a2970 Named actions implementation 2013-08-08 21:59:59 +02:00
Yury Delendik
e2993a7251 Merge pull request #3556 from Snuffleupagus/issue-2853
Enable loading of PDFs with invalid document information dictionaries
2013-08-08 12:05:52 -07:00
Jonas
d90ad429f6 Enable loading of PDFs with invalid document information dictionaries 2013-08-08 19:40:54 +02:00
Yury Delendik
99db7a8dbc Merge pull request #3520 from brendandahl/single-cs
Create only one instance of each device colorspace.
2013-08-07 11:37:49 -07:00
Yury Delendik
44184a1d5b Merge pull request #3549 from brendandahl/uhandled-stack
Dump the stack with unhandled rejections.
2013-08-07 07:05:39 -07:00
Yury Delendik
2c552e9608 Merge pull request #3551 from brendandahl/destroy-logic
Fix destroy logic for when there are multiple render requests.
2013-08-07 06:46:36 -07:00
Brendan Dahl
5afef1874c Fix destroy logic for when there are multiple render requests. 2013-08-06 17:35:54 -07:00
Jonas
d99879bfbf Move ThumbnailView from viewer.js to its own file 2013-08-06 22:19:03 +02:00
Brendan Dahl
820145da05 Merge pull request #3523 from yurydelendik/csp
Bug 889320 - [CSP] removes inlined styles and scripts, also HTTP headers
2013-08-06 13:10:33 -07:00
Yury Delendik
6736cca8c4 Merge pull request #3542 from fkaelberer/FasterJBIG2decode
Faster JBIG2 decoding for Firefox
2013-08-06 13:08:19 -07:00
Brendan Dahl
97a40252dc Dump the stack with unhandled rejections. 2013-08-06 11:40:35 -07:00
Yury Delendik
b946762e6f Merge pull request #3539 from Snuffleupagus/issue-3538
Prevent link borders from being drawn if their width is undefined
2013-08-06 11:27:42 -07:00
Yury Delendik
74a4bc5561 Merge pull request #3548 from brendandahl/render-task-fix
Fix intermittent blank page on fast zoom.
2013-08-06 11:27:04 -07:00
Brendan Dahl
d85e38d629 Fix intermittent blank page on fast zoom. 2013-08-05 16:34:57 -07:00
Yury Delendik
029b970871 Merge pull request #3529 from brendandahl/refactor-font2
Move chars to glyphs conversion to the worker.
2013-08-05 07:10:01 -07:00
Yury Delendik
2e1713e72e Merge pull request #3546 from yurydelendik/backout-3513
Backout of #3513 (except formatting)
2013-08-05 06:19:42 -07:00
Yury Delendik
ea184776ff Merge pull request #3544 from ReuDa/localizationGerman
Fixed german translation for sidebar
2013-08-05 06:18:39 -07:00
Yury Delendik
bea2e41e45 Backout of #3513 (except formatting) 2013-08-05 07:52:24 -05:00
ReuDa
27cb7a54e3 Fixed german translation for sidebar 2013-08-05 14:27:21 +02:00
Yury Delendik
387132c842 Merge pull request #3540 from alivedise/byebyemoztt
Remove MozTT reference
2013-08-04 21:00:07 -07:00
Alive Kuo
334c7d4d8f Remove MozTT reference 2013-08-05 10:55:37 +08:00
Yury Delendik
7435b267f9 Merge pull request #3535 from Snuffleupagus/issue-3534
Fix issue with initial scale when opening a new file and another one is already loaded
2013-08-04 17:29:36 -07:00
Jonas
688cea0758 Prevent link borders from being drawn if their width is undefined 2013-08-04 23:41:52 +02:00
fkaelberer
0c10b76aa3 Faster JBIG2 decoding for Firefox 2013-08-04 00:42:37 +02:00
Brendan Dahl
65fd2c77d0 Merge pull request #3513 from Snuffleupagus/keep-scroll-position-on-zoom-v2
Keep current scroll position when zooming the document
2013-08-02 15:22:52 -07:00
Jonas
8170d67a6b Fix issue with initial scale when opening a new file and another one is already loaded 2013-08-02 16:09:33 +02:00
Brendan Dahl
efa8f561a5 Move chars to glyphs conversion to the worker. 2013-07-31 14:01:55 -07:00