Jonas Jenwald
cb3e5903cb
Fix disableAutoFetch regression in the generic viewer
...
After PR 5263, setting `disableAutoFetch = true` in the generic viewer no longer works correctly, since the entire file loads even with `disableStream = true`.
11 years ago
Rob Wu
6a230af332
Rename FontFace to FontFaceObject
...
This name clashes with the FontFace constructor from the Font Loading CSS module:
http://dev.w3.org/csswg/css-font-loading/#font-face-constructor
11 years ago
Yury Delendik
c3f191a27c
Implement streaming using moz-chunk-arraybuffer
11 years ago
Jonas Jenwald
ed5fc43510
Add |UnexpectedResponseException| to fix the exception handling when file loading fails because the server responds with a non 404 status message
11 years ago
Jonas Jenwald
ca027ebfdb
Fix the exception propagation when rejecting workerReadyCapability
...
Currently when an exception is thrown, we try to reject `workerReadyCapability` with multiple arguments in src/core/api.js. This obviously doesn't work, hence this patch changes that to instead reject with the exception object as is.
In src/core/worker.js the exception is currently (unncessarily) wrapped in an object, so this patch also simplifies that to directly send the exception object instead.
11 years ago
Jonas Jenwald
64d95bedaa
In src/display/api.js, add documentation for the |progressCallback| parameter in |PDFJS.getDocument|
11 years ago
pramodhkp
6d53fc4db7
Minor changes for api.js, font_loader.js and svg.js
11 years ago
Jonas Jenwald
a4b06d7a02
Add strict equalities in src/display/api.js
11 years ago
pramodhkp
1d00e9d13c
Added getOperatorList to api.js
11 years ago
Yury Delendik
0cd28ebfa3
Telemetry for used stream and font types
11 years ago
Jonas Jenwald
3c78c7b8bc
Refactor fake worker loading (issue 3862)
11 years ago
Samuel Chantaraud
952545e20f
Limit the size of canvases to 5MP (iOS restriction)
11 years ago
Mohammed Abu-alsaad
e6546642db
Added more preference variables from the available hash parameters
11 years ago
Jonas Jenwald
c4d4682924
Fix regression that prevents downloading the PDF file (PR 4752)
11 years ago
Yury Delendik
c5eb058b09
Uses rAF to interrupt the operator list execution
11 years ago
Yury Delendik
cc9643cf32
Refactors GetAnnotationsRequest and GetPageRequest
11 years ago
Yury Delendik
2008f74185
Refactors MessageHandler.send to remove callbacks
11 years ago
Jonas Jenwald
652dde48da
Fix typo when rejecting Promise in getPage
11 years ago
Jonas Jenwald
f3f3db0d15
Remove 'info' and 'metadata' from GetDoc
11 years ago
Jonas Jenwald
069f0cc8c0
Remove 'javaScript' from GetDoc
11 years ago
Jonas Jenwald
4bfcb27d0b
Remove 'outline' from GetDoc
11 years ago
Yury Delendik
95e61ad0e3
Adds pageviewport documentation
11 years ago
Yury Delendik
2b82eb0161
Fixes cancel rendering regression
11 years ago
Pramodh KP
0d5b41633f
Remove legacy promises from api.js
11 years ago
Samuel Chantaraud
25ee0e8572
Preliminary attachments support
...
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander )
11 years ago
Yury Delendik
a00f854848
Refactors buildImage to use Promise; don't draw bad images
11 years ago
Yury Delendik
8c0762a32a
Adds then method to the RenderTask
11 years ago
Yury Delendik
175fbce0df
Fixes documentation for PDFPage.render
11 years ago
Tim van der Meij
4e055169ed
Fixes lint warning W004 in src/display/{api, canvas, pattern_helper}.js
11 years ago
p01
b10aa18b3e
Use Opaque Canvas where possible
11 years ago
Yury Delendik
9c84bfa416
Fixes text-selection example
11 years ago
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
11 years ago
Yury Delendik
f57c6935d7
Implements WebGL support
11 years ago
Yury Delendik
69efd9cb96
CMaps binary packing
11 years ago
Jonas Jenwald
a1ee567d60
Fix coding style in src/display/api.js
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
Yury Delendik
10af056f8f
Reset annotation stream; reset page annotation promise
11 years ago
Brendan Dahl
ce9e9e6ff7
Remove embeddedFontsUsed from API.
11 years ago
Manas (prometheansacrifice)
5a038b17a2
Trying to fix #4166
11 years ago
Brendan Dahl
b5b94a4af3
Use built in CMaps and unify the glyph mapping.
11 years ago
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