1945 Commits (c6e8ca863e95e409d2d58037467981fe63ba9555)

Author SHA1 Message Date
Jonas Jenwald db6f2f3718 Ensure that `PDFThumbnailView.draw` is able to handle `RenderingCancelledException` correctly (PR 8157 follow-up) 8 years ago
Yury Delendik 8e681ce3e2 Change amd to cjs path in ES6 modules 8 years ago
Tim van der Meij e15a2ec523
Annotations: implement support for line annotations 8 years ago
Jonas Jenwald b2c3f8f081 Convert a number of `import * as pdfjsLib from 'pdfjs-web/pdfjs';` cases to only specify the necessary imports 8 years ago
Jonas Jenwald 3b35c15d42 Convert the files in the `/web` folder to ES6 modules 8 years ago
Jonas Jenwald 313060aff5 Refactor the `DownloadManager` initialization in `GENERIC`/`CHROME` builds, to avoid issues when converting the code to ES6 modules 8 years ago
Jonas Jenwald d98a6319ec Refactor removing of the `zoomLayer` into a helper method, and use that in `PDFPageView.reset` to ensure that the entire `zoomLayer` is actually removed (issue 8209) 8 years ago
Yury Delendik 25873e92f0 Enable babel translation to enable ES module support. 8 years ago
Jonas Jenwald d37d271afa [api-minor] Reject the `RenderTask` with an actual `Error`, instead of just a `string`, when rendering is cancelled 8 years ago
Jonas Jenwald 6d672c4ba6 [api-minor] Add a `pdfjsNext` parameter, and `PDFJS_NEXT` build flag, to allow backwards incompatible API changes 8 years ago
Jonas Jenwald fa341169a2 Add (and adjust) a couple of findbar `title` attributes, in `viewer.html`, that doesn't agree with the `l10n/en-US/viewer.properties` file 8 years ago
River Lune 3aeef8402b Changing the order of logical conditions to prefer 'window' in the case where webpack is not used. 8 years ago
Jonas Jenwald 8f96909e97 Remove unnecessary `.toolbarButton.group` CSS class 8 years ago
Jonas Jenwald b151666c53
Viewer: consistently wrap find bar elements for small screen sizes 8 years ago
Tim van der Meij 87a30a7ee1
Viewer: enable find functionality for small devices 8 years ago
Jonas Jenwald c79e5b3f17
Viewer: replace find label with placeholder/tooltip 8 years ago
Jonas Jenwald 468ed1b9a1 Ensure that the `outlineWithDeepNesting` CSS class is removed when resetting `PDFOutlineViewer`, to prevent incorrect alignment if a new document is opened 8 years ago
Jonas Jenwald e07cb8638e Get rid of `element.removeChild(element.firstChild)` usage (bug 1345253) 8 years ago
Tim van der Meij 5eb090f288
ES6 modules: remove UMD header validation 8 years ago
Jonas Jenwald 37d596e00d Get rid of a couple `eslint-disable` statements in `web/download_manager.js` by instead relying on the preprocessor dead-code removal added in PR 7942 8 years ago
Yury Delendik 5b50e0d414 Replaces RequireJS to SystemJS. 8 years ago
Yury Delendik facefb0c79 Move compatibility code to the shared/compatibility.js. 8 years ago
Daniel Johnson 4fc64ceb76 iOS Chrome: Fix broken download button 8 years ago
Yury Delendik bc288141be Allows to pull pdf.js from pdf_viewer using require(). 8 years ago
Jonas Jenwald 63f13773e7 Use `ChildNode.remove` instead of `ChildNode.ParentNode.removeChild` in a couple of places (bug 1334831, issue 8008) 8 years ago
Jonas Jenwald 190c8398ba [Chromium addon] Prevent errors that break the addon, caused by the `DEFAULT_URL` constant being replaced by a `defaultUrl` viewer configuration parameter (PR 8046 follow-up) 8 years ago
Yury Delendik eb4c88cd44 Replacing custom bundling with webpack2. 8 years ago
Rob Wu ece44d36e8 Allow automatic print rotation via enablePrintAutoRotate 8 years ago
Rob Wu f6548e463f Open PDF attachments in the viewer instead of download 8 years ago
Rob Wu 775441b7c6 Refactor: configurable page rotation in print job 8 years ago
Rob Wu c67edabcb3 Set title using logic similar as download name 8 years ago
Rob Wu 228d253f30 Detect download filename based on full URL 8 years ago
Jonas Jenwald bc736fdc7d Adjust the `brace-style` ESLint rule to disallow single lines (and also enable `no-iterator`) 8 years ago
Rob Wu 5fdc908f02 Recognize file name in reference fragment in getPDFFileNameFromURL 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
Jonas Jenwald 616e5fadff Display a notification on the `sidebarToggle` button for PDF documents with outline/attachments 8 years ago
Jonas Jenwald 52e0f51917 Enable the `no-unused-vars` ESLint rule 8 years ago
Yury Delendik a9cf281723 Fixes IE9 document.readyState and input.type=number issues. 8 years ago
Dave House 52360694b0
Remove ids from viewer page and thumbnail divs 8 years ago
Jonas Jenwald 9eb9065c79 Ensure that we use the *correct* `paintedViewport` in `PDFPageView.cssTransform`, to avoid visual glitches on quick rotations (PR 7738 follow-up) 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
Jonas Jenwald 70c1a6b120 [Bug 1331081] omit addEventListener/removeEventListener's third parameter when it's false 8 years ago
Yury Delendik 930a28d879 Better DOMContentLoaded handling. 8 years ago
Yury Delendik ac2d4abf39 Removes web/default_preferences.js file. 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 73e0daed6c Let `finishPaintTask` in pdf_page_view.js return a promise instead, to avoid having to throw in the `paintTask.promise` rejection handler, and don't reject the `PDFPageView_draw` promise when rendering is `cancelled` 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