940 Commits (f340dd5cd5bbbe78b71862a0c561d02dd25e0f14)

Author SHA1 Message Date
Yury Delendik f340dd5cd5 Adds pdfjs/main_loader module to better mirror pdfjs-dist/build/pdf. 9 years ago
Yury Delendik 85e95d34ed Use RequireJS in the viewer, examples and tests. 9 years ago
Tim van der Meij df81b832bb Remove unused variables 9 years ago
Yury Delendik c9cb6a3025 Replaces UnsupportedManager with callback. 10 years ago
Sebastian Hengst 27577a714f Issue #6569 - document_colors_disabled shouldn't escape quotes (compare-locales warning) 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Tim van der Meij 7681def0de Move VIEW_HISTORY_MEMORY constant to `view_history.js` 10 years ago
Andy Parisi 17fe0b1470 Added find match counter 10 years ago
Yury Delendik 62afa9f695 Fixes PDFViewerApplication.open/close methods signature. 10 years ago
Yury Delendik 5135aa9bec Adds deprecation warning for the API calls. 10 years ago
Yury Delendik 59c13b32aa Adds destroy method to the document loading task. 10 years ago
Jonas Jenwald 610df45bad Prevent external links from "replacing" the viewer when it's embedded (bug 976541) 10 years ago
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