2770 Commits (0423bb69e92173f3018adc81fb9b59bee071c987)

Author SHA1 Message Date
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
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
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
Jonas Jenwald 23c62cc321 Consume the current character when encountering illegal characters in `Lexer.getObject`, in order to prevent infinite loops during reading of streams (issue 8061) 8 years ago
pmysore1 af8292058f Font ascent descent calculation fix 8 years ago
Yury Delendik 7d9941d870 Fixes pdf.combined.js for webpack. 8 years ago
Jonas Jenwald 63f13773e7 Use `ChildNode.remove` instead of `ChildNode.ParentNode.removeChild` in a couple of places (bug 1334831, issue 8008) 8 years ago
Yury Delendik a048519fa1 Replace copyright headers; changes UMD to CommonJS. 8 years ago
Yury Delendik eb4c88cd44 Replacing custom bundling with webpack2. 8 years ago
vkuryakov 4e181e59ef Interactive forms: values for radio buttons (issue #6995) 8 years ago
Mukul Mishra 41d092d04b Fixes behaviour of DOMCanvasFactory to return {canvas, context}. 8 years ago
Jonas Jenwald 9c34d0aa8c [api-minor] Add a `getDocument` parameter that allows disabling of the `NativeImageDecoder` (e.g. for use with Node.js) 8 years ago
Mukul Mishra 32817633c9 Fix #7798: Refactor scratch canvas usage. 8 years ago
Jonas Jenwald e416032b38 Prevent browser console errors during testing 8 years ago
Jonas Jenwald bc736fdc7d Adjust the `brace-style` ESLint rule to disallow single lines (and also enable `no-iterator`) 8 years ago
Jonas Jenwald f7d99ccc26 Remove the unused `isStream` property on various `Stream`s 8 years ago
Jonas Jenwald c102232275 Append the contents of `FileAttachment` annotations to the attachments view of the sidebar, for easier access to the embedded files 8 years ago
Tim van der Meij 95732279b6 Remove usage of `mozFillRule` 8 years ago
Jonas Jenwald 52e0f51917 Enable the `no-unused-vars` ESLint rule 8 years ago
Jonas Jenwald 50c2856097 Move `EOF`/`isEOF` from core/parser.js to core/primitives.js 8 years ago
Jonas Jenwald f000417ce0 [Firefox addon] Stop bundling `src/core/network.js` into the `FIREFOX`/`MOZCENTRAL` builds (PR 7322 follow-up) 8 years ago
Jonas Jenwald f77c52291e Enable the `no-empty-pattern`/`no-floating-decimal`/`no-self-compare`/`no-delete-var`/`no-new-object` ESLint rules 8 years ago
Yury Delendik fc2d8c15e8 Adds noopener and nofollow to rel attribute of hyperlinks. 8 years ago