2799 Commits (96cb599e938df3e7e27e45afb1241a3b67b80dac)

Author SHA1 Message Date
Jonas Jenwald 3888a993b1 Remove the `URL` checks in the `createObjectURL` utility function, since the `URL` polyfill have made them redundant 8 years ago
Jonas Jenwald 52e3de3c0a Convert the files in the `/src/display` folder to ES6 modules 8 years ago
Yury Delendik 5855c0a8be Allow to convert (some of) ES6 code to ES5. 8 years ago
Yury Delendik 30bee9fe0c Moves Uint32ArrayView and hasCanvasTypedArrays into compatibility.js. 8 years ago
Tim van der Meij e15a2ec523
Annotations: implement support for line annotations 8 years ago
Jonas Jenwald 3a302fdb53 Correctly detect if `requestAnimationFrame` is supported in `compatibility.js` (issue 8272) 8 years ago
Jonas Jenwald fbe7b2eee7 Always ignore Type3 glyphs if their `OperatorList`s contain errors, regardless of the value of the `stopAtErrors` option 8 years ago
Jonas Jenwald a39d636eb8 [api-minor] Always allow e.g. rendering to continue even if there are errors, and add a `stopAtErrors` parameter to `getDocument` to opt-out of this behaviour (issue 6342, issue 3795, bug 1130815) 8 years ago
Brendan Dahl 4969b2ad97 Normalize blend mode names. 8 years ago
TCASAS 010d38a8c0 Fix worker resolution on using minified version 8 years ago
Tim van der Meij 30d63b0c50
Annotations: move container border removal to the display layer 8 years ago
Jonas Jenwald f41d80bdd3 Enable the `prefer-promise-reject-errors` ESLint rule 8 years ago
Brendan Dahl cdc79a4721 Don’t skip glyph 0 in cmap. 8 years ago
Travis Grathwell bd70a73d43 ios: Patch cancelAnimationFrame whenever fakeRequestAnimationFrame is used 8 years ago
Jonas Jenwald 437104969d Improve the error handling when loading of built-in CMap files fail (PR 8064 follow-up) 8 years ago
Jonas Jenwald 61ee0de29f Use a simple `RefSetCache` to significantly improve the performance of `Catalog.getPageDict` for certain long documents (PR 8105 follow-up) 8 years ago
Jonas Jenwald 62eee8c782 Try harder to find the next valid JPEG marker when decoding Scan data (issue 8182, issue 8189) 8 years ago
Jonas Jenwald e229c21ce1 Remove unnecessary `xref` parameters from various method signatures in `PartialEvaluator`, since `this.xref` is already available in the relevant scope 8 years ago
Jonas Jenwald e40fd63bd3 In `src/core/evaluator.js`, convert a couple of `if (!someVariable) { error(...); }` instances to `assert(someVariable);` instead 8 years ago
Jonas Jenwald 5c0c122a7d Ensure that the `XMLHttpRequest` is `open`ed before attempting to set the `responseType` in the `DOMCMapReaderFactory`, since IE fails otherwise (issue 8193) 8 years ago
Jonas Jenwald 3705e5e459 Use a proper `MessageHandler` for `PartialEvaluator.getTextContent` to avoid errors for fonts relying on built-in CMap files (PR 8064 follow-up) 8 years ago
Rob Wu 49af56f730 Rethrow MissingDataException when needed 8 years ago
Jonas Jenwald 8527d27eae Ensure that `PDFDocument.documentInfo` doesn't fail during document load, when the entire XRef table hasn't been fetched yet (issue 8180) 8 years ago
Jonas Jenwald d6d0f778aa Don't read past the EOI marker for JPEG images with non-default restart interval (issue 7828) 8 years ago
Jonas Jenwald be1a6f294f Try to recover when encountering JPEG markers with too short marker lengths (issue 8169) 8 years ago
Jonas Jenwald a7c19d9cbb Adjust the `yoda` ESLint rule to apply to inequalities as well 8 years ago
Jonas Jenwald 098a56270d Normalize the `BBox` entry in Tiling Pattern dictionaries (issue 8117) 8 years ago
Jonas Jenwald d37d271afa [api-minor] Reject the `RenderTask` with an actual `Error`, instead of just a `string`, when rendering is cancelled 8 years ago
Jonas Jenwald 6d672c4ba6 [api-minor] Add a `pdfjsNext` parameter, and `PDFJS_NEXT` build flag, to allow backwards incompatible API changes 8 years ago
Tim van der Meij 936d3c0698
Widget annotations: do not crash if `Parent` is not a dictionary 8 years ago
Jason O. Jensen d230784ac3 Handle cff fonts with erroneous stackSize 8 years ago
Tim van der Meij 5eb090f288
ES6 modules: remove UMD header validation 8 years ago
Jonas Jenwald 9bed87f5dc Return `undefined` instead of `Dict.empty` from `Page.getInheritedPageProp` for non-existent properties to prevent possible future bugs 8 years ago
Yury Delendik e7cc07cc11 Moves checkProblematicCharRanges to font_spec.js 8 years ago
Job van der Weiden a05115d2ec
Network: use the current location to prevent errors when using CSP headers 8 years ago
Jonas Jenwald 4a0ff5dbf7 Ensure that we don't ignore `0` values in `Page.getInheritedPageProp` (issue 8125) 8 years ago
Tim van der Meij 0739f90707
Annotations: move operator list addition logic to `src/core/document.js` 8 years ago
Jonas Jenwald 2a7e5b8a54 Support the `newWindow` flag in white-listed `app.launchURL` JavaScript actions (PR 7794 follow-up) 8 years ago
Yury Delendik 5b50e0d414 Replaces RequireJS to SystemJS. 8 years ago
Tim van der Meij 8990de8614
Interactive forms: make choice widget options inheritable (issue 8094) 8 years ago
Jonas Jenwald 14cc6acb90 Ensure that `Dict`s found in Object Streams are assigned an `objId` in `XRef.fetch` 8 years ago
Yury Delendik 51767d63fe Init PDFWorker via MesssagePort. 8 years ago
Jonas Jenwald 1ce295541c Always check all Kids nodes, in `Catalog.getPageDict`, to avoid getting stuck in an empty node further down in the Pages tree (issue 8088) 8 years ago
Yury Delendik facefb0c79 Move compatibility code to the shared/compatibility.js. 8 years ago
Jonas Jenwald 9082f08e37 Enable running the `cmap` unit-tests on Travis by utilizing a `NodeCMapReaderFactory` 8 years ago
Jonas Jenwald 111419a64a Cache built-in binary CMap files in the worker (issue 4794) 8 years ago
Jonas Jenwald 769c1450b7 [api-minor] Refactor fetching of built-in CMaps to utilize a factory on the `display` side instead, to allow users of the API to provide a custom CMap loading factory (e.g. for use with Node.js) 8 years ago
Tim van der Meij 26fc79d51d
Annotations: refactor setting the normal appearance stream 8 years ago
Jonas Jenwald ce072022c1 Always choose a (3, 1) cmap table for TrueType fonts that have an encoding specified, regardless of the Symbolic font flag (bug 1337429) 8 years ago
Yury Delendik fa0e559fe2 New node.js check to protect from webpack. 8 years ago