15 Commits (42f2d36d1f0b6c7c3be921bfde900f1748183643)

Author SHA1 Message Date
Jonas Jenwald 42f2d36d1f Account for broken outlines/annotations, where the destination dictionary contains an invalid `/Dest` entry 8 years ago
Tim van der Meij ab820438ae
Move the `XRefMock` in the unit tests to a central location 8 years ago
Jonas Jenwald efbd68efef Fix inconsistent spacing and trailing commas in objects in `test/` files, so we can enable the `comma-dangle` and `object-curly-spacing` ESLint rules later on 8 years ago
Jonas Jenwald 0ddf52aca5 Remove the special handling for `nameddest`s that look like standard pageNumbers 8 years ago
Jonas Jenwald 7560f12a17 Enable the `object-shorthand` ESLint rule 8 years ago
Tim van der Meij 35730148a7
Convert the files in the `/test/unit` folder to ES6 modules 8 years ago
Tim van der Meij e15a2ec523
Annotations: implement support for line annotations 8 years ago
Tim van der Meij 936d3c0698
Widget annotations: do not crash if `Parent` is not a dictionary 8 years ago
Jonas Jenwald 2a7e5b8a54 Support the `newWindow` flag in white-listed `app.launchURL` JavaScript actions (PR 7794 follow-up) 8 years ago
Tim van der Meij 8990de8614
Interactive forms: make choice widget options inheritable (issue 8094) 8 years ago
Tim van der Meij 9f05a5a211 Interactive forms: unit test for radio buttons without a field value 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
Jonas Jenwald 642d8621ef Replace direct lookup of `uniquePrefix`/`idCounters`, in `Page` instances, with an `idFactory` containing an `createObjId` method instead 8 years ago
porlan1 d9e1cb7955 unit test files as UMD modules 8 years ago
Tim van der Meij a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels 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 6d8a404a9c [api-minor] Add support for a couple of white-listed `JavaScript` actions that contains valid URLs (issue 3897, bug 843699) 9 years ago
Tim van der Meij 1d96854019 Widget annotation: implement field name according to the specification 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
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
Tim van der Meij 375229d6b9 Widget annotations: simplify field flag handling 9 years ago
Tim van der Meij 6100ab4b18 Text widget annotations: implement comb support 9 years ago
Tim van der Meij adf0972ca5 Text widget annotations: improve unit and reference tests 9 years ago
Tim van der Meij 323e86c442 Text widget annotations: implement unit testing and sanitize data values 9 years ago
Jonas Jenwald 78889646c8 Create a fallback annotation `id` for entries in `Annots` dictionaries that are not indirect objects (issue 7569) 9 years ago
Jonas Jenwald 558a22cd02 Prevent errors when parsing Annotations with missing (or invalid) /Subtype entries (issue 7446) 9 years ago
Jonas Jenwald 98fe094d18 Let non-viewable Popup Annotations inherit the parent's Annotation Flags if the parent is viewable 9 years ago
Jonas Jenwald b354682dd6 [api-minor] Let `LinkAnnotation`/`PDFLinkService_getDestinationHash` return a stringified version of the destination array for explicit destinations 9 years ago
Jonas Jenwald 171f908b89 Add a couple of `LinkAnnotation` unit-tests 9 years ago
Prakash Palanisamy a25c29d98d Remove `combineUrl` and replace it with `new URL`. 9 years ago
Yury Delendik 0a700fa29d Updates Jasmine version. 9 years ago
Tim van der Meij 10902fd882 Implement unit and reference testing for FileAttachment annotations 9 years ago
Tim van der Meij 0991c06395 Refactor annotation flags code 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Tim van der Meij 980aa10e04 Refactor annotation rectangle code and add unit tests 10 years ago
Tim van der Meij 465611a2ff More cleanup regarding annotation border styles 10 years ago
Tim van der Meij a2e9845093 Refactor annotation color handling and add unit tests 10 years ago
Tim van der Meij 6007a57291 Add tests and documentation for the annotation border style class 10 years ago