2004 Commits (edd7d89fe5738f10b6673e616bf3de7a8629bdcb)

Author SHA1 Message Date
Tim van der Meij 9a95d91b92
Convert the find controller to ES6 syntax 8 years ago
Tim van der Meij 733a58a315
Convert the thumbnail view to ES6 syntax 8 years ago
Tim van der Meij a682d77e71
Convert the thumbnail viewer to ES6 syntax 8 years ago
Jonas Jenwald 223c429357 Fix inconsistent spacing and trailing commas in objects in `web/` files, so we can enable the `comma-dangle` and `object-curly-spacing` ESLint rules later on 8 years ago
Jonas Jenwald 1d4e96b0b5 Add a stub `createL10n` to `DefaultExternalServices` in app.js 8 years ago
Yury Delendik 5438ce9b98 Wraps mozL10n to async calls; splits firefox and generic l10n libs. 8 years ago
Yury Delendik 66c8893815 Removes last UMDs from the modules. 8 years ago
Tim van der Meij 6dfdff2f03
Convert the page view to ES6 syntax 8 years ago
Jonas Jenwald 92529e2b11 Refactor the `getTempCanvas` function in `pdf_thumbnail_view.js` to a factory, in preparation for ES6 conversion of the thumbnail related code 8 years ago
Tim van der Meij e7a04fc82d
Convert the overlay manager to ES6 syntax 8 years ago
Tim van der Meij 836695986c Add icons for the new "Select tool" button 8 years ago
Jonas Jenwald 36c2791296 Unify handling of various cursor tools, e.g. the current Hand Tool and a possible future Zoom Tool, in a new `PDFCursorTools` module 8 years ago
Jonas Jenwald 0ddf52aca5 Remove the special handling for `nameddest`s that look like standard pageNumbers 8 years ago
Jonas Jenwald 972eca56a1 Refactor and ES6-ify `PDFLinkService.navigateTo` 8 years ago
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