73 Commits (cfaa621a05cb5360f6834cf96a16c44c1a9aed5b)

Author SHA1 Message Date
Jonas Jenwald 52e0f51917 Enable the `no-unused-vars` ESLint rule 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
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
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
Jonas Jenwald efb9619e53 Add PageLabels to `PDFPageView` and `PDFThumbnailView` 9 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 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 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 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
Tim van der Meij 7c961b6b7a Minor code style improvements after #7539 9 years ago
Jeremy Press 6faa84abdb Continuing fairexpand #6663 9 years ago
Jonas Jenwald f297e4d17c [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that controls whether `PartialEvaluator_getTextContent` will attempt to combine same line text items 9 years ago
klemens 6f03f62327 trivial spelling fixes 9 years ago
Tim van der Meij 6a7012aaca Remove unused variables 9 years ago
Jonas Jenwald b13b78388b Prevent intermittent "Node was not found" errors when removing the `zoomLayer` in `PDFPageView_draw` 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Yury Delendik b6c74f2056 Moves all document.getElementById lookups into viewer.js 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
Yury Delendik 1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 9 years ago
Tobias Schneider 708895ffba Let print canvas height scale proportionally 9 years ago
Tobias Schneider aeabd0db20 Fix insertion of blank pages during printing due to non-matching page sizes 9 years ago
Tim van der Meij 6a33dfd13a Implement support for FileAttachment annotations 9 years ago
Yury Delendik 85e95d34ed Use RequireJS in the viewer, examples and tests. 9 years ago
Jonas Jenwald 3079dd937f Remove a superfluous "s" in `AnnotationsLayerBuilder` from files in web/ 9 years ago
Tim van der Meij bce3214105 Move link creation logic to src/display/annotation_layer.js 10 years ago
Jonas Jenwald 6dfe53b976 [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that enables replacing of all whitespace with standard spaces in the textLayer (issue 6612) 10 years ago
Jonas Jenwald b05652ca97 [api-minor] Let `getAnnotations` fetch all annotations by default, unless an intent is specified 10 years ago
Jonas Jenwald 93f4f7a649 Use `DEFAULT_SCALE` instead of `1.0` as the default value if the `scale` option isn't specified when initializing `PDFPageView` 10 years ago
Yury Delendik 2f34fd46cb Move CustomStyle. 10 years ago
Jonas Jenwald f341d81ae8 Ensure that the `hidden` attribute is always removed from the canvas when rendering is complete (issue 6661) 10 years ago
Yury Delendik 1d8800370a Allow subpixel anti-aliasing for most of the content. 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Jonas Jenwald 2646f27434 Dispatch the `pagerendered` event when zooming is only done with CSS (issue 6463) 10 years ago
Jonas Jenwald dbc611ac9d Ensure that the `textLayer` has the same dimensions as the `canvasWrapper` (issue 6596) 10 years ago
Yury Delendik 7cb32759ed Better CSS scaling for deviceRixelRatio != 1. 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 5e7ce9d62d Fix incorrect indentation, and remove `else` after `return`, in `PDFPageView_update` 10 years ago
Jonas Jenwald 1ae9ba1d64 Don't clear the `canvas` until re-rendering is finished when the `scale` or `rotation` is changed (issue 6467) 10 years ago