80 Commits (8d684b5b3fa5a738f463bf94de36e4cbee5666b0)

Author SHA1 Message Date
Jonas Jenwald 27513cd23b [api-minor] Ensure that the `getDocument` Promise is rejected if the `loadingTask` is destroyed, or an `Error` is thrown, inside of the `onPassword` callback (issue 7806) 8 years ago
Jonas Jenwald c850968fa7 Remove `globals` that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) 8 years ago
Jonas Jenwald 2f3805efbc Switch to using ESLint, instead of JSHint, for linting 8 years ago
Sean Burke f76cd2ce43 Expose the optional UserUnit entry as a page property 9 years ago
Jonas Jenwald d284cfd5eb [api-minor] Add support for relative URLs, in both annotations and the outline, by adding a `docBaseUrl` parameter to `PDFJS.getDocument` (bug 766086) 9 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 9 years ago
Tim van der Meij dbea302a6e Text widget annotations: do not render on canvas as well 9 years ago
Jonas Jenwald f297e4d17c [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that controls whether `PartialEvaluator_getTextContent` will attempt to combine same line text items 9 years ago
Yury Delendik 2fa4dd6f40 Proxy global PDFJS.verbosity to properly configure shared/util. 9 years ago
Yury Delendik e372f3608b Makes WorkerMessageHandler non-global. 9 years ago
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 9 years ago
Jonas Jenwald 91756f6e86 Pass the `PDFJS.postMessageTransfer` parameter to the worker, so that the `MessageHandler` can be setup correctly in `createDocumentHandler` (issue 6957) 9 years ago
Yury Delendik a022f6f069 Reverts back un-need change made at #6879. 9 years ago
Yury Delendik 0d591719d9 Makes PDF data reading Streams API friendly. 9 years ago
Jonas Jenwald 85cf90643f [api-minor] Add support for PageLabels in the API 9 years ago
Yury Delendik fc3282db56 Adds RequireJS to worker. 9 years ago
Yury Delendik 79c2f69c32 Adds/modifies examples for node.js and webpack. 9 years ago
Yury Delendik b084dc09ee Allows requirejs and node load fake worker files. 9 years ago
Yury Delendik 6b60c8f4db Adds UMD headers to core, display and shared files. 9 years ago
Yury Delendik c9cb6a3025 Replaces UnsupportedManager with callback. 10 years ago
Yury Delendik 8dff301ce1 Worker shall wait for MessageHandler to be created at api side. 10 years ago
Jonas Jenwald 6dfe53b976 [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that enables replacing of all whitespace with standard spaces in the textLayer (issue 6612) 10 years ago
Yury Delendik 06c1904675 Refactors FontLoader to group fonts per document. 10 years ago
Yury Delendik 09772e1e15 Creates PDFWorker, separates fetchDocument from transport. 10 years ago
Yury Delendik acdd49f480 Adds peer communication between MessageHandlers. 10 years ago
Jonas Jenwald b05652ca97 [api-minor] Let `getAnnotations` fetch all annotations by default, unless an intent is specified 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Rob Wu c604cc22d1 Improve error message for non-existent local files 10 years ago
Tony Jin ef667823dd [api-minor] Add an optional param to DocumentInitParameters for specifying the range request chunk size to use. Defaults to 2^16 = 65536. 10 years ago
Jonas Jenwald 1c66d4a106 Add a `totalLength` getter to `OperatorList`, since the `length` is zero after flushing 10 years ago
Yury Delendik 58c3ea0820 Adds thread abort capabilities. 10 years ago
Yury Delendik 59c13b32aa Adds destroy method to the document loading task. 10 years ago
Tim van der Meij 0c84899c0a Revert #5603 regarding Chrome range request bug 10 years ago
Rob Wu c02b2cb37c Use Content-Range instead of Content-Length #5512 10 years ago
Tim van der Meij b215af30d3 Require destinations when they are needed and do not fetch all of them in advance 11 years ago
Jonas Jenwald cb3e5903cb Fix disableAutoFetch regression in the generic viewer 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 11 years ago
Jonas Jenwald fb9fea2f36 Add strict equalities in src/core/worker.js 11 years ago
Yury Delendik 0cd28ebfa3 Telemetry for used stream and font types 11 years ago
Yury Delendik d8eb8b1de1 Adds Promise to the getOperatorList 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 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
Jonas Jenwald 87d38b0692 Remove LegacyPromise in src/core/worker.js 11 years ago
Samuel Chantaraud 25ee0e8572 Preliminary attachments support 11 years ago
Jonas Jenwald 67b5c8868c Fix coding style in src/core/worker.js 11 years ago