Joshua T Kalis
5828b2c687
Refactor - remove redundant function and all references
...
The function `assertWllFormed` was doing nothing different than `assert` which is
available in the same namespace. Removing it will lighten the filesize - albeit
very slightly - and reduce complexity.
11 years ago
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
11 years ago
Yury Delendik
31f081ae17
Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage
11 years ago
Jonas Jenwald
131a16b65e
Fix coding style in src/core/core.js
11 years ago
Thorben Bochenek
8edebc797b
Refactor and fix style of core.js
11 years ago
Thorben Bochenek
1ddb019449
Fix Issue #4461 : Pages without \Resources in their dictionary fail to load
...
When no "\Resource" entry could be found return an empty dictionary
11 years ago
Samuel Chantaraud
076b3433b4
Improved annotations' display/behavior.
...
Added an "InteractiveAnnotation" class to homogenize the annotations' structure (highlighting) and user interactions (for now, used for text and link annotations).
Text annotations:
The appearance (AP) has priority over the icon (Name).
The popup extends horizontally (up to a limit) as well as vertically.
Reduced the title's font size.
The annotation's color (C) is used to color the popup's background.
On top of the mouseover show/hide behavior, a click on the icon will lock the annotation open (for mobile purposes). It can be closed with another click on either the icon or the popup.
An annotation printing is conditioned by its "print" bit
Unsupported annotations are not displayed at all.
11 years ago
Nicholas Nethercote
ab7568c0ff
Use Array.join() to build up strings in more places.
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Yury Delendik
e712c4136a
Cleaning up fonts when viewer is idle for some time
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
Jakob Miland
c341dd57e5
Simplify get fingerprint() method
12 years ago
Yury Delendik
ba23a9e8f9
Adds initial telemetry probes
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Jonas
d90ad429f6
Enable loading of PDFs with invalid document information dictionaries
12 years ago
Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Yury Delendik
19e8f2f059
lookChar refactoring
12 years ago
Brendan Dahl
a8ad07ccbf
Cache fonts by reference.
12 years ago
Brendan Dahl
01ce3d056c
Load all resources before getOperatorList/getTextContent.
12 years ago
Yury Delendik
336aa38f4a
Reset canvas state before drawing annotations
...
Conflicts:
src/core.js
12 years ago
Tim van der Meij
d22ea7edc4
Lowering warning to info
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
d69f14328c
Use same obj/font id counter for all partial evaluators on page
12 years ago
Mack Duan
30e127d848
Do not cache content stream
12 years ago
Mack Duan
2ce00279be
Address more of brendan's comments
12 years ago
Mack Duan
dbccbaaa27
Make getOperatorList() calls independent and merge queues at end
12 years ago
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
12 years ago
Mack Duan
6beb33c25b
Remove initialization code that's no longer used
12 years ago
Mack Duan
79831d7ec5
Support rendering appearance streams for annotations
12 years ago
Simon Tatham
ff4f7f1028
Use fetchIfRef to get annotation dictionaries.
...
Fixes failure to display annotations in PDFs where the annotation
dicts are inlined in the page objects rather than in subobjects.
12 years ago
Yury Delendik
6ce1cfe734
Reverts 729b82, d5f65f and 724add
12 years ago
vyv03354
729b82359a
Implements the print permission
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
Jon Buckley
d59e2105b1
Issue #2008 - Fix lint errors for src/core.js
12 years ago
Yury Delendik
9c044e2c31
Fallback when AcroForm is present
12 years ago
Jakob Miland
4efab13c58
Support Filespec dictionary in annotations
13 years ago
Yury Delendik
cae62341ac
Split large image groups into smaller chunks
13 years ago
Yury Delendik
500421ddd2
Fixes "TypeError: info is undefined"
13 years ago
Yury Delendik
1f56d242ff
Adds basic PDF info
13 years ago
Yury Delendik
69b72078c0
Separate page objects/images from the fonts; does not store large images
13 years ago
Jean-Sebastien Legare
0cdecf007f
try/catch bug. var not unset when getter length() throws error
13 years ago
waddlesplash
c111154979
Support 'GoToR' links.
...
Fix tabs.
Make changes as per @yurydelendik's request.
Forgot to remove 'TODO' comment.
Support 'GoToR'-type links.
13 years ago
waddlesplash
1ed1de10a5
More descriptive link types warning.
13 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
Pimm Hogeling
438e3c8f6d
Fixes for subtile bugs that were introduced in 59283bdf6d
and 99440ab691
, among others.
13 years ago
Brendan Dahl
70e415900c
Address review comments.
13 years ago
Brendan Dahl
29263836c2
Sanitize the document info.
13 years ago