93 Commits (d7198d3e178214e91e9c19ab8f8f095d1d4ffcbc)

Author SHA1 Message Date
Yury Delendik 47c28643d6 Revert PDFPageView.pdfPage reset. 8 years ago
Yury Delendik d0e93721ae More robust getPage() error handling. 8 years ago
Jonas Jenwald 426e26c63b Don't use a hidden canvas when constructing the `zoomLayer` in `PDFPageView.update` 8 years ago
Mukul Mishra 0c13d0ff46 Adds Streams API in getTextContent to stream data. 8 years ago
Jonas Jenwald 70d6550002 Remove `PDFPageView.updatePosition` since it's not actually necessary 8 years ago
Yury Delendik 5438ce9b98 Wraps mozL10n to async calls; splits firefox and generic l10n libs. 8 years ago
Yury Delendik 66c8893815 Removes last UMDs from the modules. 8 years ago
Tim van der Meij 6dfdff2f03
Convert the page view to ES6 syntax 8 years ago
Jonas Jenwald a9e5bc91fb Replace unnecessary `var self = this` statements with arrow functions in `web/pdf_page_view.js` and `web/pdf_thumbnail_view.js` 8 years ago
Jonas Jenwald 2a0207ccaf Enable the `object-shorthand` ESLint rule in `web` 8 years ago
Jonas Jenwald 79e0745a12 Import `getGlobalEventBus` correctly from `web/dom_events.js` in various `/web` files, to un-break e.g. the viewer components (PR 8203 follow-up) 8 years ago
Jonas Jenwald b0a4f6de8f Use `createPromiseCapability` in `/web` files 8 years ago
Yury Delendik 8e681ce3e2 Change amd to cjs path in ES6 modules 8 years ago
Jonas Jenwald b2c3f8f081 Convert a number of `import * as pdfjsLib from 'pdfjs-web/pdfjs';` cases to only specify the necessary imports 8 years ago
Jonas Jenwald 3b35c15d42 Convert the files in the `/web` folder to ES6 modules 8 years ago
Jonas Jenwald d98a6319ec Refactor removing of the `zoomLayer` into a helper method, and use that in `PDFPageView.reset` to ensure that the entire `zoomLayer` is actually removed (issue 8209) 8 years ago
Jonas Jenwald d37d271afa [api-minor] Reject the `RenderTask` with an actual `Error`, instead of just a `string`, when rendering is cancelled 8 years ago
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