978 Commits (c62a19388a9e4598fb38e69b3d826a3f898e5087)

Author SHA1 Message Date
Jonas Jenwald d64ac95a91 ES6-ify the code in `web/app.js` and `web/viewer.js` 8 years ago
Jonas Jenwald 223c429357 Fix inconsistent spacing and trailing commas in objects in `web/` files, so we can enable the `comma-dangle` and `object-curly-spacing` ESLint rules later on 8 years ago
Jonas Jenwald 36c2791296 Unify handling of various cursor tools, e.g. the current Hand Tool and a possible future Zoom Tool, in a new `PDFCursorTools` module 8 years ago
Jonas Jenwald d76f299b6b [Firefox addon] Remove the `window.FirefoxCom` hack from `web/viewer.js`, since it was made redundant by the `setExternalLocalizerServices` re-factoring (PR 7202 follow-up) 8 years ago
Jonas Jenwald 594e8c05ef Refactor the `DownloadManager` initialization in `GENERIC`/`CHROME` builds again (PR 8203 follow-up) 8 years ago
Jonas Jenwald 313060aff5 Refactor the `DownloadManager` initialization in `GENERIC`/`CHROME` builds, to avoid issues when converting the code to ES6 modules 8 years ago
Yury Delendik 5b50e0d414 Replaces RequireJS to SystemJS. 8 years ago
Yury Delendik eb4c88cd44 Replacing custom bundling with webpack2. 8 years ago
Yury Delendik 930a28d879 Better DOMContentLoaded handling. 8 years ago
Jonas Jenwald c850968fa7 Remove `globals` that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) 8 years ago
Jonas Jenwald 86ba634c97 Fix errors reported by the `key-spacing` ESLint rule 8 years ago
Yury Delendik a4402c84de Refactor toolbar (and secondary toolbar). 9 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 9 years ago
Yury Delendik c09f634bb6 Removes mozPrintCallback polyfill, converts canvas to PNG. 9 years ago
Yury Delendik 24a7a58da7 Moves mozPrintCallback specific code to firefox_printservice.js 9 years ago
Jonas Jenwald 6e126b31dc Only update the `max-height` of the `SecondaryToolbar` when it's actually visible 9 years ago
Jonas Jenwald 4342993a3f Ensure that the necessary src/* dependencies are loaded before the viewer, when it's run with `gulp server` (issue 7448) 9 years ago
Rob Wu de85278537 Move Chromium URL rewrite to top of viewer.js 9 years ago
Tim van der Meij f4ae277355 Convert the secondary toolbar to a class 9 years ago
Yury Delendik a4c81c203b Enables debugger only when needed. 9 years ago
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