2047 Commits (0c95bc7d839f778528e4b5c9480ba1a642f74313)

Author SHA1 Message Date
Jonas Jenwald fce31c3f83 Ensure that the loadingBar isn't displayed again when the entire file has already been fetched 8 years ago
Jonas Jenwald 20d6286cce Add support for, the API property, PageMode in the viewer (issue 8657) 8 years ago
Jonas Jenwald f7c4ed4bc3 Refactor reading from the `ViewHistory` in `PDFViewerApplication.load` 8 years ago
Jonas Jenwald e1536251d5 Convert `PDFViewer` to an ES6 class 8 years ago
Jonas Jenwald 49333ddd44 Move the `hasEqualPageSizes` getter from `PDFViewerApplication` and into `PDFViewer` instead 8 years ago
Rob Wu 19549bb7d6 [CRX] Integrate cursorToolOnLoad pref + migration logic 8 years ago
Jonas Jenwald 8ba8072937 Convert `PDFLinkService` to an ES6 class 8 years ago
Christian Myksvoll 95093a5276 Check for undefined url (#8640) 8 years ago
Yury Delendik 52460687ca Fixes pdf.js library source detection. 8 years ago
Nimesh Solanki e004b3cfab update inconsistent names 8 years ago
Rob Wu 742ed3d1c9 Remove __pdfjsdev_webpack__, use webpack options 8 years ago
Jonas Jenwald c253ee9ab8 Ensure that the document is rendered on load, no matter what happens, by always calling `PDFViewer.update` *after* the initial position has been set 8 years ago
Jonas Jenwald 8391aacb89 Remove the scale-not-initialized hack from `webViewerResize` (in app.js) 8 years ago
Jonas Jenwald 9c95614bb6 Ensure that `PDFFindBar._adjustWidth` is called in all situations where the width of the findbar might have changed 8 years ago
Jonas Jenwald cb0009dab4 Actually reset the `findResultsCount` label, in addition to hiding it, when no matches are found 8 years ago
Jonas Jenwald 614e8cf295 Change `var` to `let`, and use object destructuring, in a couple of previously class converted `web/*.js` files 8 years ago
Jonas Jenwald d64ac95a91 ES6-ify the code in `web/app.js` and `web/viewer.js` 8 years ago
Tim van der Meij 19f56ec5c1
Convert the text layer builder to ES6 syntax 8 years ago
Jonas Jenwald f6369fc87c ES6-ify the code in `web/ui_utils.js` 8 years ago
Jonas Jenwald d4b93bec96 Remove the `selectScaleOption` helper function, in `Toolbar._updateUIState`, and simply inline its code instead 8 years ago
Jonas Jenwald 426e26c63b Don't use a hidden canvas when constructing the `zoomLayer` in `PDFPageView.update` 8 years ago
Jonas Jenwald 83673a12d7 Stop tracking the rotation in `PDFViewerApplication` and directly use `PDFViewer.pagesRotation` instead 8 years ago
Jonas Jenwald 735b58c3d5 Don't allow setting various properties, such as `currentPageNumber`/`currentScale`/`currentScaleValue`/`pagesRotation`, before `{PDFViewer, PDFThumbnailViewer}.setDocument` has been called 8 years ago
Yury Delendik 18e1f3d29b Ensure canvas is really hidden when used with pdfjs-dist. 8 years ago
Tim van der Meij d4e0aa4031
Convert the toolbar to ES6 syntax 8 years ago
Jonas Jenwald 4aab3cef4a Remove a redundant `PDFViewer.currentScale` call from `PDFViewerApplication.load` 8 years ago
Mukul Mishra 0c13d0ff46 Adds Streams API in getTextContent to stream data. 8 years ago
Jonas Jenwald e4d032c5c7 Reset `pageRotation` and `downloadComplete` in `PDFViewerApplication.close` 8 years ago
curiosity26 8326304271 Allow for unbinding of events in web application 8 years ago
Jonas Jenwald 70d6550002 Remove `PDFPageView.updatePosition` since it's not actually necessary 8 years ago
Jonas Jenwald 75edb859ce Refactor the `selectScaleOption` function, in `Toolbar._updateUIState`, to prevent any possible future display glitches 8 years ago
Jonas Jenwald 2971f522d4 Prevent the Zoom dropdown from intermittently displaying an incorrect custom scale in Firefox (PR 8394 follow-up) 8 years ago
Jonas Jenwald 3f2d5cfcc3 Prevent console errors when clicking to change page while in Presentation Mode (issue 8498) 8 years ago
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