50 Commits (15e45d772f181e735713dcf077d03e2fc87e3a45)

Author SHA1 Message Date
Jonas Jenwald 15e45d772f Add a `enhanceTextSelection` preference to the viewer 9 years ago
Jonas Jenwald ffb876fdf4 Move the `Preferences` initialization/fetching code to the top of `PDFViewerApplication.initialize`, to enable using them when initializing the viewer components 9 years ago
Jonas Jenwald 0db76dc58c Change the `GoToPage` Named Action to select the contents of the `pageNumber` input, rather than just focusing the element 9 years ago
Jeremy Press 6faa84abdb Continuing fairexpand #6663 9 years ago
Jonas Jenwald f3b7fa091d Ensure that the zoom buttons are disabled correctly if the `scale` is smaller/larger than `MIN_SCALE/MAX_SCALE` in `PDFViewerApplication._updateUIToolbar` 9 years ago
Jonas Jenwald 076e25f1ca Prevent destinations with bad left/top values from scrolling the wrong page into view (bug 874482) 9 years ago
Jonas Jenwald 7706cfa9fe Log an error when the value passed to `set currentPageNumber` is out of bounds (PR 7502 followup) 9 years ago
Jonas Jenwald b7cb44af88 Remove the `previousPageNumber` parameter from the `pagechanging`/pagechange` events, and stop dispatching the events if the input is out of bounds 9 years ago
Jonas Jenwald cb6a7e5503 Remove handling of fallback arguments from `PDFViewerApplication.open` 9 years ago
Jonas Jenwald 2f127df97b Add back moz-specific fullscreen support code for ´MOZCENTRAL` builds (bug 1268749, PR 7273 follow-up) 9 years ago
Jonas Jenwald dd0fe10a52 Consolidate updating of various Toolbar state (e.g. page and scale) in one method in `PDFViewerApplication` 9 years ago
jazzy-em 0a347ec04d Added multiple term search functionality (with default phrase search) 9 years ago
Jonas Jenwald b354682dd6 [api-minor] Let `LinkAnnotation`/`PDFLinkService_getDestinationHash` return a stringified version of the destination array for explicit destinations 9 years ago
Tim van der Meij f4ae277355 Convert the secondary toolbar to a class 9 years ago
Tim van der Meij 6a7012aaca Remove unused variables 9 years ago
Yury Delendik a4c81c203b Enables debugger only when needed. 9 years ago
Jonas Jenwald 9dd6017901 Prevent "Prefixed Fullscreen API is deprecated." warnings in the MOZCENTRAL version (issue 7270) 9 years ago
Yury Delendik 4a2c76a34f Adds pre and post UI control change events. 9 years ago
Yury Delendik eb3d1ca003 Removes circular dependency of secondary toolbar on app.js. 9 years ago
Yury Delendik 3e6e294fd4 Refactors PDFFindBar and FirefoxCom find events. 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Yury Delendik 5568a19ee3 Moves bundle target/task to gulpfile.js 9 years ago
Yury Delendik 3132941948 Removes app.js dependency on mozPrintCallback_polyfill.js. 9 years ago
Yury Delendik 3b21b51716 Refactors preferences and PDF opening related chromecom code. 9 years ago
Yury Delendik 148102b626 Refactors firefoxcom dependency on app and l10n. 9 years ago
Yury Delendik 81fc46e666 Refactors FindController dependencies. 9 years ago
Yury Delendik b6c74f2056 Moves all document.getElementById lookups into viewer.js 9 years ago
Tim van der Meij 2b7137ba0a Convert the password prompt to a class 9 years ago
Tim van der Meij b0aca31de8 Convert the hand tool to a class 9 years ago
Jonas Jenwald 9dfda2b908 Expose a few non-classes on `PDFViewerApplication` 9 years ago
Ankit Aggarwal 6ceda3f290 web/viewer.js: Persist the state of sidebar 9 years ago
Jonas Jenwald 5657d082c7 Dispatch a `sidebarviewchanged` event in `PDFSidebar` when the view changes 9 years ago
Yury Delendik 50fe8e7c75 Removes PDFView global and pagerender event support. 9 years ago
Yury Delendik 4165cedc9f Replace pdfjsLib with module that represents pdf.js. 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 9 years ago
Jonas Jenwald 514210814d Prevent the *entire* viewer from zooming, when quickly switching from scrolling to zooming using the mousewheel (PR 7097 followup) 9 years ago
Yury Delendik 1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 9 years ago
Manas 6878d7c6d3 Disables zooming when the stream of events that don't have meta/ctrl 9 years ago
Yury Delendik 313b418a20 Prepare viewer.js for async loading and module separation. 9 years ago
Yury Delendik b371785fbb Rename web/viewer.js -> web/app.js 9 years ago
Tobias Schneider aeabd0db20 Fix insertion of blank pages during printing due to non-matching page sizes 9 years ago
Jonas Jenwald 39cba5d25d Remove `PDFThumbnailViewer_ensureThumbnailVisible` 9 years ago
Jonas Jenwald 67a1dfcfb5 Move the sidebar related code from viewer.js into `PDFSidebar` 9 years ago
Jonas Jenwald 21f048234d Refactor how `PDFOutlineView`/`PDFAttachmentView` is initialized in viewer.js, rename the classes, and refactor their `render` methods 9 years ago
Jonas Jenwald c7a44391cf Add a `reset` method to `PDFFindbar`, and use it to clear parts of the find UI when the document is closed 9 years ago
Jonas Jenwald e7d039dbce Ensure that `PDFFindController_reset` actually resets *all* state (issue 7034) 9 years ago
Tim van der Meij 0351c7eff4 Move the `getFileName` helper function to the core 9 years ago
Tim van der Meij 6a33dfd13a Implement support for FileAttachment annotations 9 years ago
Yury Delendik 7c89bdc8d6 Allow foriegn origin URLs only for hosted viewers. 9 years ago
Yury Delendik f340dd5cd5 Adds pdfjs/main_loader module to better mirror pdfjs-dist/build/pdf. 9 years ago