Nils Maier
16a1c38c1f
Download: Use the typed array view instead of the buffer
...
The ArrayBuffer holding the data might be over-sized in case the
data length was not known during the transfer, e.g. when using a
Content-Encoding other than `identity` or when using a
Transfer-Encoding.
Only the view into the buffer has the correct length then, hence
always use the view directly when creating the blob URI for the
download, instead of the over-sized underlying buffer.
Closes GH-3627
Closes GH-3634
2013-09-01 16:45:26 +02:00
Yury Delendik
8a4a6f498f
Merge pull request #3553 from yurydelendik/reduce-scratch-canvases
...
Reduce max size for pattern and limit group canvases
2013-08-30 18:02:15 -07:00
Jonas
f61d272754
Disable range requests in old Android versions
2013-08-29 01:53:57 +02:00
Yury Delendik
0fc8bac7c0
Merge pull request #3570 from brendandahl/encoding-wip
...
Fix handling of multiply-encoded glyphs.
2013-08-28 13:51:39 -07:00
Vivin Paliath
f3d1f20652
issue #3346
...
squashing commits.
2013-08-27 10:05:38 -07:00
Yury Delendik
f1a9bc93f7
Merge pull request #3621 from biggert/master
...
Added support for JBIG2 extension segment
2013-08-26 15:21:42 -07:00
biggert
88f1506ef8
Added support for JBIG2 extension segment
2013-08-26 15:39:30 -05:00
Brendan Dahl
d00157d3ab
Merge pull request #3587 from debloper/master
...
Stripping down some CSS prefixes [#868160 ]
2013-08-26 12:59:32 -07:00
Jonas
8630e29054
Avoid triggering rendering multiple times when zooming using the mouse wheel
2013-08-26 21:00:35 +02:00
Brendan Dahl
427dd3948b
Merge pull request #3569 from yurydelendik/bug900193
...
Fixes canvas alignment for small scale...
2013-08-26 10:52:47 -07:00
Brendan Dahl
e2ca1d0e5e
Merge pull request #3613 from Snuffleupagus/remove-dead-find-code
...
Remove old dead find related code from viewer.js
2013-08-26 10:46:58 -07:00
Brendan Dahl
e9a3ac175c
Merge pull request #3612 from Snuffleupagus/fix-find-when-loading-new-file
...
Prevent searching from breaking when opening a new file in the web viewer
2013-08-26 10:44:54 -07:00
Brendan Dahl
547a7aa862
Merge pull request #3615 from yurydelendik/stopindexing
...
Stops objects indexing at the end
2013-08-26 10:33:54 -07:00
Brendan Dahl
c17a7c9d04
Merge pull request #3505 from Snuffleupagus/move-ThumbnailView
...
Move ThumbnailView from viewer.js to its own file
2013-08-26 10:30:24 -07:00
Yury Delendik
1de48f1805
Merge pull request #3595 from brendandahl/fix-clip
...
Move the creation of canvas path fonts to the worker.
2013-08-26 06:48:05 -07:00
Jonas
e69fc0072a
Prevent named actions from displaying a 'resource://' URL in Firefox
2013-08-24 20:27:58 +02:00
Yury Delendik
1f232ded90
Stops objects indexing at the end
2013-08-23 13:03:30 -05:00
Yury Delendik
8fc1e669f0
Merge pull request #3610 from brendandahl/annot-appearance
...
Use text widget annotation appearance stream if it is available.
2013-08-23 08:20:18 -07:00
Jonas
8892beeb08
Remove old dead find related code from viewer.js
2013-08-23 13:08:51 +02:00
Jonas
baba41f702
Prevent searching from breaking when opening a new file in the web viewer
2013-08-23 11:08:03 +02:00
Brendan Dahl
60586e3101
Ensure there's data to build path.
2013-08-22 12:55:43 -07:00
Brendan Dahl
feafb394d6
Use text widget annotation appearance stream if it is available.
2013-08-22 12:29:06 -07:00
Brendan Dahl
db591769a4
Fix handling of multiply-encoded glyphs.
2013-08-22 10:12:16 -07:00
Yury Delendik
79c57dc04e
Fixes 'make web' after chromium directory remaning
2013-08-21 15:27:13 -05:00
Yury Delendik
711cb21f2b
Merge pull request #3602 from operasoftware/master
...
Make Chrome extension vendor-neutral
2013-08-21 13:10:29 -07:00
Andreas Bovens
8dc41e7483
adjusted some more chrome references in make.js and README.js as per @yurydelendik's suggestion
2013-08-21 19:22:43 +02:00
Andreas Bovens
4a4f570aed
adjusted paths in make.js to reflect chromium instead of chrome
2013-08-21 18:54:59 +02:00
Andreas Bovens
f2ad0f73d7
Renaming of extensions/chrome folder to extensions/chromium, and small tweak to manifest.json description as per #3600
2013-08-21 18:11:35 +02:00
Yury Delendik
0d1c5ece40
Merge pull request #3601 from jmozmoz/unregister
...
Really call unregister for _pdfRedirectorFactory (fixing issue #3598 )
2013-08-21 08:57:49 -07:00
jmozmoz
4cd33bf460
Really call unregister for _pdfRedirectorFactory (fixing issue #3598 )
2013-08-21 17:35:50 +02:00
Yury Delendik
32c212f0c5
Adds reference for the Opera extension
...
Addresses https://github.com/mozilla/pdf.js/issues/3600#issuecomment-23018555
2013-08-21 09:50:17 -05:00
Yury Delendik
bde863a8ac
Merge pull request #3573 from Rob--W/crx-view-local-files
...
[CRX] Fixes to view local files again
2013-08-21 07:37:32 -07:00
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
2013-08-19 16:33:20 -07:00
Brendan Dahl
695e92cc00
Merge pull request #3532 from yurydelendik/telem-1
...
Adds initial telemetry probes
2013-08-19 12:34:27 -07:00
Yury Delendik
81c9eeef4b
Merge pull request #3592 from yurydelendik/jpgjs-2comp
...
Fixes typo in 2-component image decoding
2013-08-19 07:17:50 -07:00
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