1930 Commits (e229c21ce194b05ec12b2bbb51c3a88c90bad632)

Author SHA1 Message Date
Jonas Jenwald fa341169a2 Add (and adjust) a couple of findbar `title` attributes, in `viewer.html`, that doesn't agree with the `l10n/en-US/viewer.properties` file 8 years ago
River Lune 3aeef8402b Changing the order of logical conditions to prefer 'window' in the case where webpack is not used. 8 years ago
Jonas Jenwald 8f96909e97 Remove unnecessary `.toolbarButton.group` CSS class 8 years ago
Jonas Jenwald b151666c53
Viewer: consistently wrap find bar elements for small screen sizes 8 years ago
Tim van der Meij 87a30a7ee1
Viewer: enable find functionality for small devices 8 years ago
Jonas Jenwald c79e5b3f17
Viewer: replace find label with placeholder/tooltip 8 years ago
Jonas Jenwald 468ed1b9a1 Ensure that the `outlineWithDeepNesting` CSS class is removed when resetting `PDFOutlineViewer`, to prevent incorrect alignment if a new document is opened 8 years ago
Jonas Jenwald e07cb8638e Get rid of `element.removeChild(element.firstChild)` usage (bug 1345253) 8 years ago
Jonas Jenwald 37d596e00d Get rid of a couple `eslint-disable` statements in `web/download_manager.js` by instead relying on the preprocessor dead-code removal added in PR 7942 8 years ago
Yury Delendik 5b50e0d414 Replaces RequireJS to SystemJS. 8 years ago
Yury Delendik facefb0c79 Move compatibility code to the shared/compatibility.js. 8 years ago
Daniel Johnson 4fc64ceb76 iOS Chrome: Fix broken download button 8 years ago
Yury Delendik bc288141be Allows to pull pdf.js from pdf_viewer using require(). 8 years ago
Jonas Jenwald 63f13773e7 Use `ChildNode.remove` instead of `ChildNode.ParentNode.removeChild` in a couple of places (bug 1334831, issue 8008) 8 years ago
Jonas Jenwald 190c8398ba [Chromium addon] Prevent errors that break the addon, caused by the `DEFAULT_URL` constant being replaced by a `defaultUrl` viewer configuration parameter (PR 8046 follow-up) 8 years ago
Yury Delendik eb4c88cd44 Replacing custom bundling with webpack2. 8 years ago
Rob Wu ece44d36e8 Allow automatic print rotation via enablePrintAutoRotate 8 years ago
Rob Wu f6548e463f Open PDF attachments in the viewer instead of download 8 years ago
Rob Wu 775441b7c6 Refactor: configurable page rotation in print job 8 years ago
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
Jonas Jenwald bc736fdc7d Adjust the `brace-style` ESLint rule to disallow single lines (and also enable `no-iterator`) 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