Christian Krebs
fc9edfcf76
Introduce paintSolidColorImageMask command to handle 1x1 solid image masks
...
See https://github.com/mozilla/pdf.js/issues/4436 for details
11 years ago
Yury Delendik
257898b359
Caching inlined mask images
11 years ago
Yury Delendik
f48f57e30a
Caches last parsed resource image, recornizes image repeats
11 years ago
Jonas Jenwald
635466fcd2
Add braces to single line statements in src/shared/util.js
11 years ago
Nicholas Nethercote
ab7568c0ff
Use Array.join() to build up strings in more places.
11 years ago
Luís Nabais
220a8e4f0e
Fix the combineUrl function
...
* Allow a url to omit the protocol and use the same protocol as the
* current page
11 years ago
Nicholas Nethercote
42cbb5b440
Introduce ImageKind constants.
11 years ago
Rob Wu
b35ced8c9e
RFC 3986-compliant isValidUrl (protocol parsing)
...
To avoid misinterpreting URLs like "/File:wikipedia.png" as a
non-relative URLs.
11 years ago
Yury Delendik
754e000907
Fixes and refactors log functionality
11 years ago
Yury Delendik
a8c11ad1e5
Introduces disableObjectCreateURL
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
Hengjie
b96811df25
Fix Blob creation in Safari 7.0.
...
It should be !== ‘undefined’ to avoid matching everything that Blob can be a type of
12 years ago
Benjamin Flesch
d0ae79c994
Fixed Typo
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
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago
Yury Delendik
cb59b31927
IE9 does not need onreadystatechange
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Brendan Dahl
97a40252dc
Dump the stack with unhandled rejections.
12 years ago
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