Commit Graph

5718 Commits

Author SHA1 Message Date
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
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