958 Commits (d20002b6b1ff98ee4024f386551eb3a3f3fe56c4)

Author SHA1 Message Date
Yury Delendik eb3d1ca003 Removes circular dependency of secondary toolbar on app.js. 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Yury Delendik 3132941948 Removes app.js dependency on mozPrintCallback_polyfill.js. 9 years ago
Yury Delendik b6c74f2056 Moves all document.getElementById lookups into viewer.js 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
Yury Delendik 1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 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
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