450 Commits (d842c9c6b040e726e74a25e9dae28eefa340efd8)

Author SHA1 Message Date
Mukul Mishra 32817633c9 Fix #7798: Refactor scratch canvas usage. 8 years ago
Jonas Jenwald bc736fdc7d Adjust the `brace-style` ESLint rule to disallow single lines (and also enable `no-iterator`) 8 years ago
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
Yury Delendik fc2d8c15e8 Adds noopener and nofollow to rel attribute of hyperlinks. 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
Yury Delendik 77b7b84d1e Removes rest of 'no-else-return' comments. 8 years ago
Jonas Jenwald 4046d67fde Enable the `no-else-return` ESLint rule 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
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 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
Jonas Jenwald c36468cbce Fix errors reported by the `keyword-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 77bcc9232e Remove a misplaced `false` from a condition in `fixMetadata`, in `metadata.js`, since it currently short circuits the entire condition 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
Tim van der Meij 5194e68134 Lint: correct code style violations 9 years ago
Jonas Jenwald d5e3b2fbf0 Update `PDFOutlineViewer_bindLink` to look more like `LinkAnnotationElement_bindLink` 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
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
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 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
Jonas Jenwald 5f16cbd2c0 When rendering forms, don't use `element.value` since it prevents the AnnotationLayer rasterizer (in `test/driver.js`) from parsing the elements correctly 9 years ago
Tim van der Meij 6100ab4b18 Text widget annotations: implement comb support 9 years ago
Tim van der Meij 2da2c45889 Interactive forms: remove global PDFJS usage 9 years ago
Jonas Jenwald 170871ab3d Prevent rendering `TextWidgetAnnotation`s in both the `core`/`display` layer (issue 7643) 9 years ago
Tim van der Meij dbea302a6e Text widget annotations: do not render on canvas as well 9 years ago
Tim van der Meij f6965fadc0 Text widget annotations: support multiline and read-only fields 9 years ago
Jonas Jenwald 8eaa2cbce3 Remove the deprecated `mozDash`/`mozDashOffset` canvas 2D context methods 9 years ago
Jonas Jenwald cb5f9df0c8 [EnhanceTextSelection] Make `expandTextDivs` more efficient by updating all styles at once instead of piecewise 9 years ago
Tim van der Meij 323e86c442 Text widget annotations: implement unit testing and sanitize data values 9 years ago
Yury Delendik 160b176109 Adding "proper" message port for fake worker. 9 years ago
Tim van der Meij be485f59ab Text widget annotations: implement maximum length and text alignment 9 years ago
Tim van der Meij e686db250c Render interactive form (AcroForm) text widget annotations 9 years ago
Tim van der Meij 576f742047 Improve the structure for widget annotations 9 years ago
Jonas Jenwald 37998076c9 In `display/api.js` ensure that we always reject with an `Error` in `JpegDecode`, and adjust a couple of other rejection sites as well 9 years ago
Tim van der Meij 96593571eb Optimize scale calculation in `text_layer.js` 9 years ago