Yury Delendik
e5e9c6e243
Fixes PDFDocumentProxy.getDownloadInfo API name (and refactoring)
11 years ago
Tim van der Meij
5f7ded4ff6
Document properties
11 years ago
Tim van der Meij
e612da2c3d
Fixes this.reject regression
11 years ago
Yury Delendik
27573ddbad
Minor fixes for the jsdocs and removing unused members.
11 years ago
terje.kristiansen
08737375f8
Added withCredentials parameter and passing it to xhr requests
11 years ago
Yury Delendik
a8c11ad1e5
Introduces disableObjectCreateURL
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Gregory Jordan
1838ec0427
Add a singlefile target to build one concatenated file
12 years ago
Brendan Dahl
53549411b4
Add verbosity as an api setting.
12 years ago
Michał Gołębiowski
ba2bbf0677
Correct a typo in `getJavaScript` function expression name.
12 years ago
Brendan Dahl
7563a9dfa0
Update docs on the workerSrc setting.
12 years ago
Brendan Dahl
0385131a9a
Leave initial request open until the viewer is ready to switch to range requests.
12 years ago
Yury Delendik
e712c4136a
Cleaning up fonts when viewer is idle for some time
12 years ago
Yury Delendik
c8af2565f1
Uses blob URL instead of data when possible
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
Brendan Dahl
f4942b11f8
Reduce the memory usage of the operator list.
12 years ago
Tim van der Meij
4fe1e41c35
Minor nit fixes for api.js
12 years ago
Brendan Dahl
7ebec6c5a4
Add missing jsdocs for PDFJS globals.
12 years ago
Jon Ribbens
3ddb1720d9
Fix bug in api.js whereby fake workers didn't load the worker code
...
PDFJS does not work on Windows Safari, due to the lack of support for workers passing typed arrays. At some point, the code to set up the fake worker so that things work on Safari seems to have become broken and nobody noticed - it was just calling setupFakeWorker() without actually calling loadFakeWorkerFiles(). With this patch, the PDFJS works again on Windows Safari.
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
5afef1874c
Fix destroy logic for when there are multiple render requests.
12 years ago
Brendan Dahl
d85e38d629
Fix intermittent blank page on fast zoom.
12 years ago
Brendan Dahl
efa8f561a5
Move chars to glyphs conversion to the worker.
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
benbro
ce218d021f
Check that the progressCallback is defined before calling it
12 years ago
Brendan Dahl
b189749b4a
Removed unneeded timeout.
12 years ago
Brendan Dahl
ae1f973204
Use A+ spec compatible promises.
12 years ago
Yury Delendik
61a7738a5d
Fixes password for range request loading
12 years ago
Mack Duan
c5084d9e8a
Update loading bar during onprogress of range requests
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
Brendan Dahl
ec311f303b
Use white backdrop when possible.
12 years ago
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
12 years ago
j
cd42ccd439
add imageLayer
...
add optional imageLayer object to access images and there
position and size as they are rendered on the canvas.
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
c67d9d40b8
Issue #2008 - Fix lint errors for src/api.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
3346c284ab
Excluding Type3 fonts from the check; removing dead code
13 years ago
Yury Delendik
5dc87a7fca
Detecting if web fonts are disable in Firefox.
13 years ago
Brendan Dahl
babd8df176
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
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
Brendan Dahl
739ee47865
Use Blob constructor when available instead of deprecated MozBlobBuilder.
13 years ago
Yury Delendik
9fba150dd2
Move font translation to the worker
13 years ago
Brendan Dahl
76d877e48b
Strip out license for bundled version.
13 years ago