978 Commits (d7198d3e178214e91e9c19ab8f8f095d1d4ffcbc)

Author SHA1 Message Date
Jonas Jenwald 59548921d1 For documents with different page sizes, ensure that the correct page becomes visible on load when e.g. the 'page' hash parameter was provided (bug 1191279, issue 6393) 10 years ago
Rob Wu 7c992243fd Allow outline to be collapsed / shown via icon. 10 years ago
Jonas Jenwald a6d10af3b4 Add `disableStream` to the list of preferences read by `PDFViewerApplication.initialize` (issue 6361) 10 years ago
Jonas Jenwald f063c78cbf Prevent switching to disabled views (i.e. outline or attachments) in the sidebar 10 years ago
Jonas Jenwald 76cfd106d5 Fix 'namedaction' regression that breaks the 'Find' action 10 years ago
Jonas Jenwald 5c26e5e2cd Move handling of the 'pagemode' hash parameter into `viewer.js` to restore the functionality 10 years ago
Tim van der Meij 9c510bd6e6 Remove unused globals and updateViewarea function from viewer.js 10 years ago
Jonas Jenwald 8275dff1b1 Reduce code duplication in the 'keydown' event handler in `viewer.js`, by re-factoring the code which ensures that the `viewerContainer` is focused 10 years ago
Jonas Jenwald d5232f5b5a Ensure that the viewer always receives focus when the HOME/END keys are pressed (bug 1186842) 10 years ago
Jonas Jenwald fa53cd6ca3 Use `DEFAULT_SCALE_VALUE` as default when fetching the `zoom` parameter from `PDFViewerApplication.store` (i.e. `ViewHistory`) 10 years ago
Jonas Jenwald 299d05eaa5 Prevent documents from intermittently opening with the zoom level set to 1% (issue 6253) 10 years ago
Rob Wu c676ecb5a0 Detect scripted auto-print requests 10 years ago
Jonas Jenwald 93d82e21d5 Move handling of the 'custom' scale value from pdf_viewer.js to viewer.js 10 years ago
Jonas Jenwald 0c08113e39 Remove `PDFViewerApplication.setScale` and further simplify the `scalechange` event handler (issue 6158) 10 years ago
Jonas Jenwald 2608757620 Simplify the code that resets the value of the `pageNumber` element in `PDFViewerApplication.setInitialView` 10 years ago
Jonas Jenwald 5cb15874fa Remove `PDFViewerApplication.updateScaleControls` (issue 6158) 10 years ago
Jonas Jenwald 35ee1e1b0a Refactor the 'resize' event handler in viewer.js (issue 6158) 10 years ago
Jonas Jenwald 1c0115a7e4 Remove the `currentScaleValue` getter from `PDFViewerApplication` (issue 6158) 10 years ago
Jonas Jenwald 6b2810f1f0 Pass in a `PDFViewer` instance to `PDFPresentationMode` and use it to eliminate all references to `PDFViewerApplication` 10 years ago
Rob Wu 2932f7c676 Zoom relative to cursor position via mouse wheel 10 years ago
Yury Delendik f3c3b1fc2d Removes B2G preprocessing directives. 10 years ago
Yury Delendik 1b847df2f3 Using pdfjs-dist as a library for b2g viewer. 10 years ago
Jonas Jenwald ffeba9c630 Move the page switching code into `set currentPageNumber` in `PDFViewer` instead of placing it in the `pagechange` event handler 10 years ago
Jonas Jenwald 633d51fc22 [Firefox] Handle the user modifying the "mousewheel.with_meta.action" and "mousewheel.with_control.action" prefs (bug 1170063) 10 years ago
Jonas Jenwald 7cb62089ad Fix a typo causing a TypeError when attempting to call pdfHistory_clearHistoryState (issue 6121) 10 years ago
Rob Wu f4ba0e342e Check availability of canvas & PDF before printing 10 years ago
Rob Wu adb2f8ae21 [CRX] Add Referer request header if needed 10 years ago
Jonas Jenwald 27713f9454 Ensure that PDFHistory does not incorrectly replace the initial document hash (issue 6079) 10 years ago
Yury Delendik 5cff06e52a Refactors PDFHistory. 10 years ago
Yury Delendik 0ef6212b64 Refactors PDFLinkService. 10 years ago
Xiliang Chen ed540a8d00 Fix scroll to zoom jump between 25% and 1000% 10 years ago
Jonas Jenwald ba0eb7fdc6 Add the |location| to the |updateviewarea| UI event 10 years ago
David Flanagan ae740768b0 Bug 1152841 - make pdf.js viewer app handle open requests from file viewers 10 years ago
Jonas Jenwald 66b12974c9 Prevent Firefox from warning about |unreachable code after return statement| 10 years ago
Tim van der Meij 6abf3d6ba3 Simplify document properties field logic 10 years ago
Jonas Jenwald 91ce16bc1d Enable linting of Firefox specific code in viewer.js 10 years ago
Tim van der Meij 1a5de56675 Group public/private methods and add comments 10 years ago
Tim van der Meij 7cf440c560 Refactor PDFDocumentProperties to be more class-like 10 years ago
Tim van der Meij ca8f842d87 Rename DocumentProperties to PDFDocumentProperties 10 years ago
Jonas Jenwald 10f134bcc2 Remove no longer needed hacks that enable spacebar scrolling in Firefox (issue 3498) 10 years ago
Jonas Jenwald 4211df63eb Refactor PDFPresentationMode to be more class-like 10 years ago
Jonas Jenwald d5089f42fa Initial refactoring of the PDFPresentationMode code 10 years ago
Jonas Jenwald f15d5c8cfe Rename the presentation_mode.js file and adjust the function names 10 years ago
Jonas Jenwald e7fd5b4d4d Refactor the options passed to |PresentationMode.initialize| and clean-up some code in viewer.js and presentation_mode.js 10 years ago
Jonas Jenwald 95b2ec124b Move the PresentationMode-specific scrollWheel code from PDFViewerApplication 10 years ago
Jonas Jenwald 2dc1af8028 Break dependencies between PresentationMode and other code, and add PresentationMode related utility methods to PDFViewer 10 years ago
arai 5c4e3c31b8 Bug 1156287 - Do not extract unreachable code after return 10 years ago
Taylor Brown 34d3b96b52 prevent viewer from zooming on cmd+mousewheel 10 years ago
Jonas Jenwald 48242abe72 [B2G] Stub the |DownloadManager| to avoid error 10 years ago
Jonas Jenwald e5c4819601 Small refactoring of the code that calls |PDFViewerApplication.setInitialView| 10 years ago