1435 Commits (c67edabcb3a566a97c9610a93aa04284b10aadc7)

Author SHA1 Message Date
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 e88c9c75db Simplify the `FileAttachmentAnnotation` unit-test to avoid having to use the entire API in the test 8 years ago
Jonas Jenwald 7c3a63bae0 Rename `annotation_layer_spec.js` to `annotation_spec.js` since the unit-tests only cover `src/core/annotation.js` functionality 8 years ago
Syed Abdullah 857a5da8f1 Fix inverted calculation of RTL text percentage in bidi. 8 years ago
jazzchipc 493853031b Fixes issue #6071. 8 years ago
Jonas Jenwald 642d8621ef Replace direct lookup of `uniquePrefix`/`idCounters`, in `Page` instances, with an `idFactory` containing an `createObjId` method instead 8 years ago
Yury Delendik c45300e06c Enables some unit tests on travis. 8 years ago
porlan1 d9e1cb7955 unit test files as UMD modules 8 years ago
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 e963971244 Further adjust the heuristics used to detect OpenType font files with CFF data, to ensure that all Type0 fonts are handled the same way regardless of font Subtype (issue 7901) 8 years ago
Tim van der Meij a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels 8 years ago
Tim van der Meij 0c9a06c020 Button widget annotations: implement reference testing 8 years ago
benweet ba012c7a68 Button widget annotations: implement checkboxes and radio buttons 8 years ago
Jonas Jenwald bd91f34513 Ensure that we handle indirect objects in all types of `Opt` entries in `ChoiceWidget` annotation dictionaries 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
Ross Johnson 4537590033 Consitently apply textAdvanceScale during building of textContentItems for improved highlighting. Fixes #7878. 8 years ago
Jonas Jenwald 28e50cfa21 Fix errors reported by the `space-infix-ops` ESLint rule 8 years ago
Jonas Jenwald aae27e76bb Fix errors reported by the `no-multiple-empty-lines` ESLint rule 8 years ago
Jonas Jenwald efbb1e9b1c Fix errors reported by the `new-cap` ESLint rule 8 years ago
Jonas Jenwald c36468cbce Fix errors reported by the `keyword-spacing` ESLint rule 8 years ago
Jonas Jenwald 6606540fe4 Fix errors reported by the `func-call-spacing` ESLint rule 8 years ago
Jonas Jenwald ad915f8af1 Fix errors reported by the `comma-spacing` ESLint rule 8 years ago
Jonas Jenwald e53ab844cc Fix errors reported by the `no-useless-concat` ESLint rule 8 years ago
Jonas Jenwald 3820946301 Fix (most) errors reported by the `no-multi-spaces` ESLint rule 8 years ago
Jonas Jenwald 9be3aee9c9 Add a parameter to `Page_getInheritedPageProp` to make it possible to fetch (and dereference) Arrays, and use that for the `MediaBox`/`CropBox` getters (issue 7872) 8 years ago
Jonas Jenwald e386af7b22 Adjust one of the Page Label unit-tests to use a PDF file where the "St" entry is both present and non-default (i.e. greater than one) 9 years ago
Javier Infante 54fab606ee add basic unit-tests for murmurhash3.js 9 years ago
Jonas Jenwald c5b06cb40d Ensure that `PartialEvaluator_extractWidths` is able to handle indirect objects in all kinds of "width" data (issue 7855) 9 years ago
Jonas Jenwald 3170a4c40a Improve rendering of non-embedded NuptialScript font 9 years ago
Sean Burke f76cd2ce43 Expose the optional UserUnit entry as a page property 9 years ago
Jonas Jenwald d3043167de Correctly detect more cases of non-embedded Arial Black fonts (issue 7835) 9 years ago
Jonas Jenwald 6d8a404a9c [api-minor] Add support for a couple of white-listed `JavaScript` actions that contains valid URLs (issue 3897, bug 843699) 9 years ago
Jonas Jenwald 2d8d8b5e53 Use `stringToPDFString` to sanitizing bad "Prefix" entries in Page Label dictionaries 9 years ago
Jonas Jenwald 9dc6463933 Ignore reserved commands when parsing operands in `CFFParser_parseDict`, instead of just rejecting the entire font (bug 1308536) 9 years ago
Tim van der Meij 1d96854019 Widget annotation: implement field name according to the specification 9 years ago
Tim van der Meij 5194e68134 Lint: correct code style violations 9 years ago
Jonas Jenwald 2b79782377 [api-minor] Add basic support for `Launch` actions (issue 1778, issue 3897, issue 6616) 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 42f07c6262 [api-minor] Use the `new URL` constructor when validating URLs in annotations and the outline, as a complement to only checking the protocol, and add a bit more validation to `Catalog_parseDestDictionary` 9 years ago
Jonas Jenwald e64bc1fd13 Move parsing of destination dictionaries to a helper function 9 years ago
Chas Emerick 85c52f1fd6 Fix getTextContent evaluation to only apply TJ horizontal offsets using numeric items/args 9 years ago
Tim van der Meij f85f3243b1 Choice widget annotations: unit and reference testing 9 years ago
Jonas Jenwald 93830032ac Add a unit-test for annotations where the `URI` action has an incorrect encoding (bug 1122280, PR 5999) 9 years ago
Jonas Jenwald 54ee83eb12 Attempt to skip zero bytes at the end of Scan blocks when decoding JPEG images (issue 4090) 9 years ago
Jonas Jenwald 116ba19dd9 Respect the 'ColorTransform' entry in the image dictionary when decoding JPEG images (bug 956965, issue 6574) 9 years ago
Jonas Jenwald a22f0ae820 Only skip parsing a stream in `Parser_makeFilter` when we know for sure that it is empty (PR 6372 follow-up) 9 years ago
Jonas Jenwald 4d2de9b47e Add a reduced `load` test for issue 7665 9 years ago