1904 Commits (c67edabcb3a566a97c9610a93aa04284b10aadc7)

Author SHA1 Message Date
Rob Wu c67edabcb3 Set title using logic similar as download name 8 years ago
Rob Wu 228d253f30 Detect download filename based on full URL 8 years ago
Rob Wu 5fdc908f02 Recognize file name in reference fragment in getPDFFileNameFromURL 8 years ago
Jonas Jenwald c102232275 Append the contents of `FileAttachment` annotations to the attachments view of the sidebar, for easier access to the embedded files 8 years ago
Jonas Jenwald 616e5fadff Display a notification on the `sidebarToggle` button for PDF documents with outline/attachments 8 years ago
Jonas Jenwald 52e0f51917 Enable the `no-unused-vars` ESLint rule 8 years ago
Yury Delendik a9cf281723 Fixes IE9 document.readyState and input.type=number issues. 8 years ago
Dave House 52360694b0
Remove ids from viewer page and thumbnail divs 8 years ago
Jonas Jenwald 9eb9065c79 Ensure that we use the *correct* `paintedViewport` in `PDFPageView.cssTransform`, to avoid visual glitches on quick rotations (PR 7738 follow-up) 8 years ago
Jonas Jenwald 82ea7e6e6e Enable the `no-unsafe-finally`/`no-octal`/`no-useless-call` ESLint rules 8 years ago
Jonas Jenwald 4626fc8342 Enable the `spaced-comment` ESLint rule 8 years ago
Jonas Jenwald 70c1a6b120 [Bug 1331081] omit addEventListener/removeEventListener's third parameter when it's false 8 years ago
Yury Delendik 930a28d879 Better DOMContentLoaded handling. 8 years ago
Yury Delendik ac2d4abf39 Removes web/default_preferences.js file. 8 years ago
Yury Delendik 77b7b84d1e Removes rest of 'no-else-return' comments. 8 years ago
Jonas Jenwald 4046d67fde Enable the `no-else-return` ESLint rule 8 years ago
Jonas Jenwald 73e0daed6c Let `finishPaintTask` in pdf_page_view.js return a promise instead, to avoid having to throw in the `paintTask.promise` rejection handler, and don't reject the `PDFPageView_draw` promise when rendering is `cancelled` 8 years ago
Tim van der Meij a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels 8 years ago
Tim van der Meij 0c9a06c020 Button widget annotations: implement reference testing 8 years ago
benweet ba012c7a68 Button widget annotations: implement checkboxes and radio buttons 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 2f3805efbc Switch to using ESLint, instead of JSHint, for linting 8 years ago
Jonas Jenwald a96b0f80dd Convert the only remaining consumer (in `hand_tool.js`) of the 'localized' event to use the `localized` Promise instead, and only re-dispatch the 'localized' event on the `eventBus` for `GENERIC` builds 8 years ago
Jonas Jenwald 648024f5d0 Don't call `bindEvents()` until `PDFViewerApplication` has been initialized, and move binding of `window` event listeners to a helper method, to prevent errors if an event manages to arrive too soon 8 years ago
Jonas Jenwald 849f5dde9d Move the `Preferences` initialization/fetching code to the top of `PDFViewerApplication.initialize`, to enable using them when initializing e.g. the viewer components 8 years ago
Jonas Jenwald 2c1436f6cb Refactor `PDFViewerApplication.initialize` into two methods, one that reads the Preferences and one that initializes the various viewer components 8 years ago
Jonas Jenwald c36468cbce Fix errors reported by the `keyword-spacing` ESLint rule 8 years ago
Jonas Jenwald 86ba634c97 Fix errors reported by the `key-spacing` ESLint rule 8 years ago
Jonas Jenwald ad915f8af1 Fix errors reported by the `comma-spacing` ESLint rule 8 years ago
Jonas Jenwald 3820946301 Fix (most) errors reported by the `no-multi-spaces` ESLint rule 8 years ago
Jonas Jenwald 328e7397ea Fix errors reported by the `no-extra-bind` ESLint rule 8 years ago
Jonas Jenwald fb5e756683 Fix errors reported by the `no-cond-assign` ESLint rule 8 years ago
Yury Delendik 7b6ba5e9fd Don't fail if mozL10n is not present. 9 years ago
Jonas Jenwald 48696a8d06 Make the keyboard shortcuts `Ctrl + Up/Down` behave as `Home/End` (issue 7852) 9 years ago
Tim van der Meij 14d7e2f29c Viewer: remove unused CSS rule 9 years ago
Tim van der Meij cf3a7425b6 Compatibility: refactor user agent detection 9 years ago
Tim van der Meij 0b0e18f05c Compatibility: disable range request for iOS 9 years ago
Jonas Jenwald 0af42f1ca7 Rename the `ViewHistory` localStorage (and sessionStorage) key from `database` to `pdfjs.history`, and migrate existing data on read (issue 7760) 9 years ago
Jonas Jenwald 9872660a95 Return a mock object in `paintOnSvg` when SVG rendering is not supported, to prevent `TypeError`s in the addons 9 years ago
Jonas Jenwald 7272bb4894 Prevent "unreachable code after return statement" warnings from `PDFPageView_paintOnSvg` in the addons 9 years ago
Yury Delendik f7d6f3a739 Adds SVG rendering capabilities to the PDFViewer. 9 years ago
Yury Delendik c9a0955c9c Refactors PDFPageView_draw. 9 years ago
Yury Delendik a4402c84de Refactor toolbar (and secondary toolbar). 9 years ago
Jonas Jenwald db2ce3ff64 Replace the Safari detection in `checkRangeRequests` in compatibility.js with a regular expression 9 years ago
Jonas Jenwald a97bc16fbc Make the `customScaleOption` disabled to prevent it being keyboard accessible (bug 1315608) 9 years ago
Tim van der Meij f95915fc73 Viewer: amend `.sidebarOpen` responsiveness rules with rules for 9 years ago
Tim van der Meij 28ef012727 Viewer: improve responsiveness and clean up CSS 9 years ago
Shain Lafazan 7fec8de502 Additional check to ensure pdfViewer object is defined before handleMouseWheel event accesses its property isInPresentationMode 9 years ago
Rob Wu 594592216c Refactor printing: startPrint -> performPrint 9 years ago
Rob Wu d3b13e36d3 Refactor page printing logic on the web 9 years ago