75 Commits (6f0cf8c4cb15debe3616de6ddb9e642ff424ff23)

Author SHA1 Message Date
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
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