2669 Commits (551eb263e3e73dc56b9e8122dfac3bba455c677a)

Author SHA1 Message Date
Jonas Jenwald 551eb263e3 Fix errors reported by the `semi-spacing` ESLint rule 9 years ago
Jonas Jenwald efbb1e9b1c Fix errors reported by the `new-cap` ESLint rule 9 years ago
Jonas Jenwald c36468cbce Fix errors reported by the `keyword-spacing` ESLint rule 9 years ago
Jonas Jenwald 86ba634c97 Fix errors reported by the `key-spacing` ESLint rule 9 years ago
Jonas Jenwald ad915f8af1 Fix errors reported by the `comma-spacing` ESLint rule 9 years ago
Jonas Jenwald 66d2637b3f Fix errors reported by the `yoda` ESLint rule 9 years ago
Jonas Jenwald 3820946301 Fix (most) errors reported by the `no-multi-spaces` ESLint rule 9 years ago
Jonas Jenwald 25bf5db47e Fix errors reported by the `no-extra-boolean-cast` ESLint rule 9 years ago
Jonas Jenwald fb5e756683 Fix errors reported by the `no-cond-assign` ESLint rule 9 years ago
Tim van der Meij 3800b5e463 Document: extract `CropBox` fetching and validation into a getter 9 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) 9 years ago
Jonas Jenwald b4ac6bd2f6 Ensure that we resolve indirect objects in `Filter` and `DecodeParms` arrays in `parser.js` 9 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 9 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
Yury Delendik 1236b27993 Removes SVG this.cgrp usages. 9 years ago
Jonas Jenwald 2ce9da9b7a Fix a couple of JSDoc `@typedef`s to use `@property` (instead of `@param`) to fix some missing documentation when running `gulp jsdoc` 9 years ago
Tim van der Meij 426fc454de SVG: factor out initialization code into a private method 9 years ago
Tim van der Meij fa90573c4b SVG: optimize transform group creation 9 years ago
Jonas Jenwald c8f83d6487 Let `Parser_makeFilter` pass in the `DecodeParms` data to various image `Stream`s, instead of re-fetching it in various `[...]Stream.prototype.ensureBuffer` methods 9 years ago
Jonas Jenwald 1da59bec9b Remove a remaining old-style preprocessor from `src/core/fonts.js` (PR 7322 follow-up) 9 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 9 years ago
Chas Emerick 85c52f1fd6 Fix getTextContent evaluation to only apply TJ horizontal offsets using numeric items/args 9 years ago
Yury Delendik e336604ef1 Disables Font Loading API for Firefox. 9 years ago
Tim van der Meij d5d9f362aa Choice widget annotations: core and display layer implementation 9 years ago