1985 Commits (c9f44f30e55a44bd286ab3fbba7eadd0f240e695)

Author SHA1 Message Date
Jonas Jenwald a9e5bc91fb Replace unnecessary `var self = this` statements with arrow functions in `web/pdf_page_view.js` and `web/pdf_thumbnail_view.js` 8 years ago
Jonas Jenwald 9efd11c5c9 Replace unnecessary `var self = this` statements with arrow functions in `web/pdf_find_controller.js` 8 years ago
Jonas Jenwald c750514903 Simplify `extractText` in `web/pdf_find_controller.js` 8 years ago
Jonas Jenwald 240a3926f4 Replace unnecessary `var self = this` statements with arrow functions in `web/app.js` 8 years ago
Tim van der Meij 8d9596480c
Convert the interfaces to ES6 syntax 8 years ago
Tim van der Meij 67049602c5
Convert the secondary toolbar to ES6 syntax 8 years ago
Tim van der Meij bc49524ac7
Convert the hand tool to ES6 syntax 8 years ago
Jonas Jenwald 7780fd5b98 Re-factor `PDFDocumentProperties` such that it's properly reset when a new PDF file is opened (issue 8371) 8 years ago
Jonas Jenwald f27b5013e2 Replace unnecessary `bind(this)` statements with arrow functions in `web/` files 8 years ago
Jonas Jenwald 2a0207ccaf Enable the `object-shorthand` ESLint rule in `web` 8 years ago
Tim van der Meij 24d44b2a34
Convert the rendering queue to ES6 syntax 8 years ago
Tim van der Meij ccdc7ba3c8
Convert presentation mode to ES6 syntax 8 years ago
Tim van der Meij 3554a93c2b
Convert the annotation layer builder to ES6 syntax 8 years ago
Jonas Jenwald 09edfb3dc0 Re-factor `ViewHistory` to make it properly asynchronous 8 years ago
Jonas Jenwald 16b4132ebf Convert the `ViewHistory` to an ES6 class 8 years ago
Jonas Jenwald ae04cf1c37 Enable running the `ui_utils` unit-tests on Travis 8 years ago
Jonas Jenwald c5f9193777 Convert the `Preferences` to an ES6 class 8 years ago
Tim van der Meij 26ad82f5c2
Convert the sidebar to ES6 syntax 8 years ago
Tim van der Meij 93520172f6
Convert the attachments/outline view to ES6 syntax 8 years ago
Jonas Jenwald 7bd8b97dba Change `PDFAttachmentViewer` to only open PDF attachments in the viewer, instead of downloading them, when `PDFJS.disableCreateObjectURL = false` 8 years ago
Jonas Jenwald 84472b30ee Change `getPDFFileNameFromURL` to ignore `data:` URLs for performance reasons (issue 8263) 8 years ago
Jonas Jenwald d76f299b6b [Firefox addon] Remove the `window.FirefoxCom` hack from `web/viewer.js`, since it was made redundant by the `setExternalLocalizerServices` re-factoring (PR 7202 follow-up) 8 years ago
Jonas Jenwald 594e8c05ef Refactor the `DownloadManager` initialization in `GENERIC`/`CHROME` builds again (PR 8203 follow-up) 8 years ago
Jonas Jenwald 79e0745a12 Import `getGlobalEventBus` correctly from `web/dom_events.js` in various `/web` files, to un-break e.g. the viewer components (PR 8203 follow-up) 8 years ago
Tim van der Meij 6f6fb4dfd0
Convert the find bar to ES6 syntax 8 years ago
Tim van der Meij 6d7a0ff8f2
Convert the document properties to ES6 syntax 8 years ago
Tim van der Meij dfd338a399
Remove the password prompt input type hack 8 years ago
Tim van der Meij e3796f6f41
Convert the password prompt to ES6 syntax 8 years ago
Jonas Jenwald fce2cfddcf Check if `pageView.pdfPage` exists in `PDFViewer._ensurePdfPageLoaded`, to avoid potentially calling `PDFPageView.setPdfPage` multiple times for the same page 8 years ago
Jonas Jenwald b0a4f6de8f Use `createPromiseCapability` in `/web` files 8 years ago
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