1930 Commits (ebae24cacc63ab5720c6eba9118dc2792d0764b3)

Author SHA1 Message Date
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
Rob Wu 0c21ebf9f3 Close overlay if print service was not initialized 9 years ago
Rob Wu 1c869906c8 Strictly manage lifetime of PDFPrintService 9 years ago
Jonas Jenwald 87c2ff5483 Remove/deprecate specifying a pageNumber directly after the hash symbol (#), to improve compatibility since other PDF viewers don't support this form (issue 7746) 9 years ago
Jonas Jenwald efb9619e53 Add PageLabels to `PDFPageView` and `PDFThumbnailView` 9 years ago
Jonas Jenwald f461fd64aa Add support for PageLabels in the viewer 9 years ago
Jonas Jenwald 23ec02bb93 Remove the "Page: " label and replace it with a tooltip 9 years ago
Jonas Jenwald e1412de320 Add more validation to `PDFLinkService_navigateTo` 9 years ago
Jonas Jenwald d5e3b2fbf0 Update `PDFOutlineViewer_bindLink` to look more like `LinkAnnotationElement_bindLink` 9 years ago
Jonas Jenwald 901a2d41be Avoid accidentally rejecting a named destination that looks like a decimal number or a boolean (PR 7341 follow-up) 9 years ago
Jonas Jenwald d284cfd5eb [api-minor] Add support for relative URLs, in both annotations and the outline, by adding a `docBaseUrl` parameter to `PDFJS.getDocument` (bug 766086) 9 years ago
Jonas Jenwald 71a781ee5c Deprecate the `isValidUrl` utility function and replace it with `createValidAbsoluteUrl`/`isValidProtocal` functions instead, since the main URL validation is now done using the `new URL` constructor 9 years ago
Jonas Jenwald e64bc1fd13 Move parsing of destination dictionaries to a helper function 9 years ago
Jonas Jenwald 2ce9da9b7a Fix a couple of JSDoc `@typedef`s to use `@property` (instead of `@param`) to fix some missing documentation when running `gulp jsdoc` 9 years ago
Jeenu Viswambharan f2dcacd164 Explain double-click behaviour on tool tip 9 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 9 years ago
Rob Wu c7c6bf1ae8 Update to latest grab-to-pan version 9 years ago
Jonas Jenwald 885ba83624 Add the number of `textDivs` to the `textlayerrendered` event, to avoid having to manually get that information in the event handler 9 years ago
Jonas Jenwald 3904be8889 Ensure that we cancel any pending `textLayer` rendering operations when the viewer is closed (issue 7274) 9 years ago
Jonas Jenwald a824c6c4f6 Ensure that any pending rendering operations in `PDFViewer`/`PDFThumbnailViewer` are cancelled when the viewer is closed 9 years ago
Yury Delendik 1a056caf88 Localization of the print dialog. 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
Yury Delendik 29947b5a57 Printing canvases at PDF document size. 9 years ago
Tim van der Meij d5d9f362aa Choice widget annotations: core and display layer implementation 9 years ago
Kartikaya Gupta ba9e8cb184 Add support for touch-swiping between pages in presentation mode (bug 1300878). 9 years ago
Yury Delendik 223a18ccc8 Simplified wheel processing. 9 years ago
Jonas Jenwald 1a2f142a14 Prevent errors if the 'resize' event is fired before the `eventBus` has been initialized 9 years ago
Tim van der Meij 6100ab4b18 Text widget annotations: implement comb support 9 years ago
Tim van der Meij 2da2c45889 Interactive forms: remove global PDFJS usage 9 years ago
Tim van der Meij dbea302a6e Text widget annotations: do not render on canvas as well 9 years ago