Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Brendan Dahl
55d6ede1da
Create only one instance of each device colorspace.
12 years ago
Yury Delendik
28778e6c1b
Rejects incorrect url in download manager
12 years ago
Yury Delendik
19e8f2f059
lookChar refactoring
12 years ago
Yury Delendik
23ea9d879d
Show fallback bar on unhandled rejections
12 years ago
Brendan Dahl
7764dd95c0
Remove progress events.
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
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
dbccbaaa27
Make getOperatorList() calls independent and merge queues at end
12 years ago
Brendan Dahl
3cba5a0c8a
Normalize CFF CID sub matrices to work on windows.
12 years ago
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
12 years ago
terrafrost
78dde0efab
fix grammar in comment
...
migth -> might
want -> wants
12 years ago
Mack Duan
4782a3acb9
Changes to viewer to support progressive loading
12 years ago
Mack Duan
79831d7ec5
Support rendering appearance streams for annotations
12 years ago
Brendan Dahl
725cd5407f
Add basic support for transparency groups.
12 years ago
Kalervo Kujala
6f65fef64b
Sharpen the patterns.
...
Draw the patterns with the intended resolution instead of scaling
afterwards. Scaling leads to unclear patterns.
Also:
Make TilingPattern function for paintType switch case.
Make TilingPattern function for bbox clipping.
Make TilingPattern functions for scaling code.
Increase MAX_PATTERN_SIZE to 4096.
Add Singular Value Decomposition function.
12 years ago
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
12 years ago
Jon Buckley
3b3922764e
Issue #2008 - Fix lint errors for src/util.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
mduan
4f1e94c9f7
Fix bug w/ exception not being passed to error callbacks of a Promise
12 years ago
Brendan Dahl
a79f005527
Fix isDict when type is missing in dictionary.
12 years ago
Yury Delendik
0029b34d45
Refactors getRgb and makeCssRgb calls; reduces amount of created objects
13 years ago
khodzha
18da086b96
fix of combineUrl(baseUrl, url) in case of url - null, empty, undefined + unittests
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
Clement Skau
5edd6d253f
Fixes Viewport rotation above 360
13 years ago
Yury Delendik
bc19b5581e
Removes usage of print as log
13 years ago
Brendan Dahl
739ee47865
Use Blob constructor when available instead of deprecated MozBlobBuilder.
13 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
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
Yury Delendik
af4bd10c70
Allow relative URLs in getDocument
13 years ago
Yury Delendik
0dd445bf18
Fixes unit tests and adds few for util.js
13 years ago
Yury Delendik
00f1d6dbf1
Fetches pdf data in the worker
13 years ago
Nils Maier
40b9be137f
Decode XML metadata as UTF-8
...
XML uses UTF-8 by default, which needs to be decoded to a Javascript
String prior to feeding it to the DOMParser.
In an ideal world, the XML would actually be analyzed and the specified
charset would be used, however that does not seem feasible unless JS
engines get iconv bindings.
Fixes GH-1692
13 years ago
Jakob Miland
b655b414d8
PasswordException in closure
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
Kalervo Kujala
889b3d3168
Correct class method names.
13 years ago
Brendan Dahl
04c8d1454d
Add Util functions to PDFJS.
13 years ago
Yury Delendik
b312719d7e
Fixes test driver and examples
13 years ago
Yury Delendik
d61c4f07f8
Initial view bug and rename viewport function
13 years ago
Yury Delendik
47c43b5779
Removing the rotatePoint, width, height from the API
13 years ago
Yury Delendik
737ed84174
Initial API implementation
13 years ago
Kalervo Kujala
99440ab691
Refactor class method names.
...
Also move functionality to more logical place in canvas.js and jpx.js.
13 years ago
theredspatula
6f61b52943
Line 405 : 'errorback' should have been 'errback'
13 years ago
notmasteryet
b870cbad0f
Move custom style
13 years ago
Brendan Dahl
e07505ff8d
Update stats to use the new pdfBug panel.
13 years ago
Artur Adib
048e40b869
Fixes #1155
13 years ago
Adil Allawi
6902ba51fa
Properly support custom CSS properties
...
Fix comment in bidi
13 years ago