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
Brendan Dahl
2c49cab3a1
Fixing names.
13 years ago
Yury Delendik
f0687c4d50
Refactor pageNumber/pageIndex concept
13 years ago
Yury Delendik
3b83a42a91
Outline fix, destroy, and linting
13 years ago
Brendan Dahl
fd58f04117
Refactor API to be async.
13 years ago
Yury Delendik
73cab9c302
Initial API refectoring
13 years ago
Julian Viereck
c9fb5637c3
Extract one page after the other and not all pages at once
13 years ago
Julian Viereck
fd2ab059d3
Rename IRQueue and codeIR -> operatorList
13 years ago
Julian Viereck
c57349a927
Remove TODO on PDFDocModel and rename pdf to pdfModel
13 years ago
Julian Viereck
889d6d100a
Cleanup font loading.
13 years ago
Kalervo Kujala
e3a3ec6f2e
Use JPX and JPEG in error messages.
...
Also throw in workerConsole.
13 years ago
Kalervo Kujala
66e3441e0e
Change throws to errors.
13 years ago
Artur Adib
bbdec90c0d
Lint
13 years ago
Artur Adib
7f3d5ae6d3
Fix worker message, better error handling
13 years ago
Artur Adib
b2791c60a6
Fixed worker_loader for examples/; simplified
14 years ago
notmasteryet
3bde084ffd
add "find" images; function name fix
14 years ago
Brendan Dahl
d1f4e7c7d5
Change to passing promises.
14 years ago
Brendan Dahl
2f10d24502
Fix for chrome.
14 years ago
Brendan Dahl
fcd612e486
Add comments to some of the code I touched/created.
14 years ago
Brendan Dahl
176452c988
Style nits.
14 years ago
notmasteryet
4d44eb6184
fix stream reset, interrupting thread when pages are indexed
14 years ago