terje.kristiansen
08737375f8
Added withCredentials parameter and passing it to xhr requests
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Brendan Dahl
2228343f77
Only trigger warning bar on certain unsupported features.
11 years ago
Brendan Dahl
53549411b4
Add verbosity as an api setting.
12 years ago
Yury Delendik
e712c4136a
Cleaning up fonts when viewer is idle for some time
12 years ago
Yury Delendik
4ce6cb8b0f
Uses postMessage transfers
12 years ago
Brendan Dahl
c2d65fc4ab
Don't traverse all pages to get a single page.
12 years ago
biggert
fb957f5c6e
Prevent undefined error on null object when calling .destroy on a
...
document initialized with LocalPdfManager.
Per @brendandahl's recommendation, moved the terminate function out of worker
and into the PdfManager
12 years ago
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Brendan Dahl
bcc085ec52
Limit image size to 1024*1024 for b2g.
12 years ago
Yury Delendik
702da7f3ea
Skips failed-to-download tests
12 years ago
Yury Delendik
61a7738a5d
Fixes password for range request loading
12 years ago
Yury Delendik
09a4352e8c
Rejects loading when data is not available for checkHeader
12 years ago
Brendan Dahl
3dadde52dc
Propagate promise rejections so we show the fallback.
...
-Adds rejection support to Promise.All.
-Makes promise.then() callback optional.
12 years ago
Mack Duan
f8f4b3f45d
Refactor code for annotations
12 years ago
Mack Duan
e0d4b322cf
Only perform range requests for identity Content-Encoding
12 years ago
Mack Duan
2ce00279be
Address more of brendan's comments
12 years ago
Mack Duan
27fe18e8c6
Address brendan's comments
12 years ago
Mack Duan
dbccbaaa27
Make getOperatorList() calls independent and merge queues at end
12 years ago
Mack Duan
6b2c6fc223
Changes to regression tests for progressive loading
12 years ago
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
12 years ago
Mack Duan
96167d2ce6
Remove code that is not being used
12 years ago
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
12 years ago
vyv03354
b591d39130
Remove the test of experimental properties in workers
12 years ago
Yury Delendik
d5f65f5431
Fixes text search for "secured" documents
12 years ago
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
12 years ago
vyv03354
724add2ffd
Make an effort to adhere the spec 7.6.3.2
12 years ago
Jon Buckley
b3634a3826
Issue #2008 - Fix lint errors for src/worker.js
12 years ago
Bill Walker
12af2f9431
fix for #2219 , "provide a better error message when file= not found/accessible"
...
summary: create a new Exception class for missing PDF's, use it in place of generic
add new MissingPDFException to util.js
handle MissingPDF in api.js
handle MissingPDF in viewer.js, using new missing_file_error message
add new missing_file_error to l10n/en-US/viewer.properties
send MissingPDF from WorkerMessageHandler's loadDocument
send MissingPDF from GetDocRequest handler
12 years ago
Yury Delendik
0e70aacc51
Tests presence of the xhr-response in the worker
13 years ago
Yury Delendik
69b72078c0
Separate page objects/images from the fonts; does not store large images
13 years ago
Piotr Zalewa
812bc6795d
* InvalidPDFException added
...
* Act on throwing an Exception and InvalidPDFException by rejecting the worker
instead of throwing
* changed message for all builds
* alerting and closing window only for B2G builds
* invalid_file_error added to l10n (en and pl)
* UnknownErrorException added and used for every error()
13 years ago
Yury Delendik
bc19b5581e
Removes usage of print as log
13 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
Pimm Hogeling
080ab94a0d
Lint syntax fixes.
13 years ago
Pimm Hogeling
0fbbc5a840
Syntax changed that will help minifiers/compilers (such as the Closure Compiler) in their processing. In particular, preventing said minifiers/compilers from making dangerous renames.
13 years ago
Pimm Hogeling
438e3c8f6d
Fixes for subtile bugs that were introduced in 59283bdf6d
and 99440ab691
, among others.
13 years ago
Yury Delendik
cd1a645881
Adds support of the indeterminate loading progress
13 years ago
Tim de Koning
17c1018eef
lint compliance
13 years ago
Tim de Koning
c131715a2f
Make web workers debuggable! This way an error can be caught in the browser when the web worker throws an error.
...
See http://www.nczonline.net/blog/2009/08/25/web-workers-errors-and-debugging/
13 years ago
Yury Delendik
0b1111f368
Cleanup: removing main thread loading fallback code
13 years ago
Yury Delendik
00f1d6dbf1
Fetches pdf data in the worker
13 years ago
Brendan Dahl
6175e4b526
Use already downloaded data for the open with/save as dialog.
13 years ago
Brendan Dahl
034583e1a1
Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension.
13 years ago
Jakob Miland
0a30d3961b
Support password and add the relevant l10n strings
13 years ago
Yury Delendik
42911f1fc9
Async getAnnotations(); hide map and xref for Dict
13 years ago
Yury Delendik
dee158d80c
Fix title info for PDF document
13 years ago
Yury Delendik
eba8f5a22c
Fix finger print, remove unused code
13 years ago