2770 Commits (0423bb69e92173f3018adc81fb9b59bee071c987)

Author SHA1 Message Date
Mukul Mishra 4e38200030 Fix #7978: Fixes ESLint yoda rule for the URL polyfill. 8 years ago
Jonas Jenwald 82ea7e6e6e Enable the `no-unsafe-finally`/`no-octal`/`no-useless-call` ESLint rules 8 years ago
Jonas Jenwald 4626fc8342 Enable the `spaced-comment` ESLint rule 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
Yury Delendik 77b7b84d1e Removes rest of 'no-else-return' comments. 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
Jonas Jenwald 4046d67fde Enable the `no-else-return` ESLint rule 8 years ago
Jonas Jenwald 14b8523314 Refactor the `password` handling so that it's stored in the `PdfManager`s, instead of in the `XRef` 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 ddea9a6b04 Improve the handling of `Encoding` dictionary, with `Differences` array, in `PartialEvaluator_preEvaluateFont` 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) 9 years ago
Tim van der Meij a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels 9 years ago
Tim van der Meij 77148c7880 Button widget annotations: implement radio button value fetching according to the specification 9 years ago
Tim van der Meij 0c9a06c020 Button widget annotations: implement reference testing 9 years ago
benweet ba012c7a68 Button widget annotations: implement checkboxes and radio buttons 9 years ago
Jonas Jenwald bd91f34513 Ensure that we handle indirect objects in all types of `Opt` entries in `ChoiceWidget` annotation dictionaries 9 years ago
Jonas Jenwald c850968fa7 Remove `globals` that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) 9 years ago
Jonas Jenwald 2f3805efbc Switch to using ESLint, instead of JSHint, for linting 9 years ago
Ross Johnson 4537590033 Consitently apply textAdvanceScale during building of textContentItems for improved highlighting. Fixes #7878. 9 years ago
Jonas Jenwald 28e50cfa21 Fix errors reported by the `space-infix-ops` ESLint rule 9 years ago
Jonas Jenwald 68bf47d55d Fix errors reported by the `space-before-function-paren` ESLint rule 9 years ago
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