2755 Commits (c79e5b3f173f001a85b95edae96e0fb3d34cafd3)

Author SHA1 Message Date
Tim van der Meij a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels 8 years ago
Tim van der Meij 77148c7880 Button widget annotations: implement radio button value fetching according to the specification 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 68bf47d55d Fix errors reported by the `space-before-function-paren` ESLint rule 8 years ago
Jonas Jenwald 551eb263e3 Fix errors reported by the `semi-spacing` 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 86ba634c97 Fix errors reported by the `key-spacing` ESLint rule 8 years ago
Jonas Jenwald ad915f8af1 Fix errors reported by the `comma-spacing` ESLint rule 8 years ago
Jonas Jenwald 66d2637b3f Fix errors reported by the `yoda` ESLint rule 8 years ago
Jonas Jenwald 3820946301 Fix (most) errors reported by the `no-multi-spaces` ESLint rule 8 years ago
Jonas Jenwald 25bf5db47e Fix errors reported by the `no-extra-boolean-cast` ESLint rule 8 years ago
Jonas Jenwald fb5e756683 Fix errors reported by the `no-cond-assign` ESLint rule 8 years ago
Tim van der Meij 3800b5e463 Document: extract `CropBox` fetching and validation into a getter 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 b4ac6bd2f6 Ensure that we resolve indirect objects in `Filter` and `DecodeParms` arrays in `parser.js` 8 years ago
Jonas Jenwald 77bcc9232e Remove a misplaced `false` from a condition in `fixMetadata`, in `metadata.js`, since it currently short circuits the entire condition 8 years ago
Tim van der Meij 90d94815ad Colorspace: miscellaneous improvements 9 years ago
Tim van der Meij c5c0a00dca Colorspace: reduce duplication in `AlternateCS.getRgbBuffer` 9 years ago
Tim van der Meij ef653d952b Colorspace: optimize default color initialization 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 c6008b4d7c Fix the JSDoc comment for `Catalog.parseDestDictionary` 9 years ago
Tim van der Meij 995be19378 Bidi: skip invalid Unicode character to make indexing work 9 years ago
Tim van der Meij 11839f018f Bidi: import Unicode types from the specification 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
Yury Delendik f7d6f3a739 Adds SVG rendering capabilities to the PDFViewer. 9 years ago
Jonas Jenwald a930f9af15 For commands with with too few arguments, clear out `args` if it's an Array instead of replacing it with `null` in `EvaluatorPreprocessor_read` (issue 7804) 9 years ago
Mukul Mishra 6ce2be98b7 Fix #7701: additional check for http/https protocols to fix unsafe header request. 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 0844a72b4d Add a bit more validation to `Catalog_readPageLabels`, to ensure that the Page Labels are well formed 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 81b9d553cf Add TeX-specific glyph names to `glyphlist.js` to improve both glyph mapping and text selection for mathematic fonts (issue 2594) 9 years ago
Brendan Dahl 8d036faf40 Move symbolic font glyphs to private use area if they don't have unicode mappings. 9 years ago
Jonas Jenwald d5e3b2fbf0 Update `PDFOutlineViewer_bindLink` to look more like `LinkAnnotationElement_bindLink` 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 71a781ee5c Deprecate the `isValidUrl` utility function and replace it with `createValidAbsoluteUrl`/`isValidProtocal` functions instead, since the main URL validation is now done using the `new URL` constructor 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