162 Commits (b629be05bd1fa725a4b0388f85e6d524ef45e8f8)

Author SHA1 Message Date
Jonas Jenwald 3820946301 Fix (most) errors reported by the `no-multi-spaces` ESLint rule 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
Jonas Jenwald 2ce9da9b7a Fix a couple of JSDoc `@typedef`s to use `@property` (instead of `@param`) to fix some missing documentation when running `gulp jsdoc` 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
Yury Delendik 160b176109 Adding "proper" message port for fake worker. 9 years ago
Jonas Jenwald 37998076c9 In `display/api.js` ensure that we always reject with an `Error` in `JpegDecode`, and adjust a couple of other rejection sites 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
Jonas Jenwald 01ab15a6f1 [api-minor] Let `Catalog_getPageIndex` check that the `Ref` actually points to a /Page dictionary 9 years ago
Yury Delendik 32ce369d88 Fixes some static analysis warnings and recommendations 9 years ago
Jonas Jenwald 9ceeb21741 Prevent accidentally overriding the `error` function in the `commonobj` messageHandler in api.js (issue 7232) 9 years ago
Prakash Palanisamy a25c29d98d Remove `combineUrl` and replace it with `new URL`. 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 9 years ago
Yury Delendik 1e4886a15a Remove global window and navigator usages from the core code. 9 years ago
Yury Delendik 1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 9 years ago
Yury Delendik 1d12aed5ca Move all PDFJS.xxx settings into display/global. 9 years ago
Rob Wu c8996f654f Detect and handle premature worker load error 9 years ago
Yury Delendik 2fa4dd6f40 Proxy global PDFJS.verbosity to properly configure shared/util. 9 years ago
Yury Delendik a8e5912cb1 Moves shared/global to display/global 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 8ba413e761 Better errors capturing at the core and stop rendering on error. 9 years ago
Jonas Jenwald 7cf9de2c17 [api-minor] Change `getOutline` to actually return the RGB color of outline items 9 years ago
Prayag Verma 049beac346 Fix a typo in api.js 9 years ago
Rob Wu 097e273ca4 Improve work-around for importScripts bug. 9 years ago
Yury Delendik e36b04e1ff Fix 'Ready' message sequence for Firefox ext disabled worker. 9 years ago
Jonas Jenwald e401804f13 Remove the 'oplist' rendering intent when `getOperatorList` has returned the complete `OperatorList`, and prevent errors in `PDFPageProxy_destroy` for the 'oplist' rendering intent 9 years ago
Yury Delendik 2edf2792dc Replaces literal {} created lookup tables with Object.create 9 years ago
Jonas Jenwald 1140a34f5c [api-minor] Change `getPageLabels` to always return the pageLabels, even if they are identical to standard page numbering 9 years ago
Jonas Jenwald 85cf90643f [api-minor] Add support for PageLabels in the API 9 years ago
Jonas Jenwald 0030a82dc3 [api-minor] Add support for URLs in the document outline 9 years ago
Yury Delendik 1e45f2d4e1 Wraps worker script if its cross-origin location is detected. 9 years ago
Yury Delendik f340dd5cd5 Adds pdfjs/main_loader module to better mirror pdfjs-dist/build/pdf. 9 years ago
Yury Delendik cbbb9bb82d Adds UMD header to pdf.js and pdf.worker.js files. 9 years ago
Yury Delendik 2b2c521213 Hack to avoid intermidiate Chrome failures during tests. 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
Tony Jin 11f3deac56 Allow link rel to be customized. Defaults to 'noreferrer' 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 27c8e1e22f Improve the comment and deprecation warning for `PDFJS.openExternalLinksInNewWindow` 10 years ago
Jonas Jenwald b05652ca97 [api-minor] Let `getAnnotations` fetch all annotations by default, unless an intent is specified 10 years ago