2091 Commits (ed8c0ebfa75bf39d9e8b350b7c0168c9e84d19f9)

Author SHA1 Message Date
Tim van der Meij 8ccad276b2
Implement support for polygon annotations 8 years ago
Tim van der Meij 99b17a494d
Implement support for polyline annotations 8 years ago
Jonas Jenwald 6c3856c841 Ignore 'change' events that didn't originate in the viewer (issue 8915) 8 years ago
Tim van der Meij 400e4aae0e
Implement support for stamp annotations 8 years ago
Jonas Jenwald 1ebbdc253a Use the `SimpleLinkService` when running "annotations" reference tests 8 years ago
Tim van der Meij 23cbe294d5
Combine the common styles and overrides for the annotation layer 8 years ago
Jonas Jenwald 1d78935f3e Replace `var` with `let` in `web/genericcom` and `web/genericl10n` 8 years ago
Jonas Jenwald aaff3385ee ES6-ify the code in `web/firefoxcom.js` 8 years ago
Tim van der Meij 44c116ac49
Implement support for circle annotations 8 years ago
Tim van der Meij cace2e9047
Implement support for square annotations 8 years ago
Jonas Jenwald 30b7a0f093 Replace `value === (value | 0)` checks with `Number.isInteger(value)` in the `web/` folder 8 years ago
Jonas Jenwald e135c03123 Store the rotation in the `PDFHistory` 8 years ago
Jonas Jenwald 44d5138d0f Store the rotation in the `ViewHistory` (issue 5927) 8 years ago
Jonas Jenwald 5565a6f8bf Slightly refactor the pages rotation handling code in the viewer 8 years ago
Jonas Jenwald 938dffb06b Reduce the value of `UPDATE_VIEWAREA_TIMEOUT` and simplify the 'popstate' event handler to avoid subtle bugs 8 years ago
Jonas Jenwald b7c4d788ed Prevent a temporary position from being added to the history while a destination is scrolled into view 8 years ago
Jonas Jenwald 077195d8ce Ensure that the `PDFHistory._updateViewareaTimeout` is always reset when the history is updated 8 years ago
Tim van der Meij 2a77f8b041
Provide `checked` styles for button widget annotations 8 years ago
Jonas Jenwald 39a77c76ad Assign a dummy value to the `docBaseUrl` API parameter in non-`PRODUCTION` mode 8 years ago
Yury Delendik 47c28643d6 Revert PDFPageView.pdfPage reset. 8 years ago
Jonas Jenwald 0ac1fba2f9 Prevent `PDFHistory._tryPushCurrentPosition()` from effectively becoming a no-op if the document hash contains an invalid/non-existent destination 8 years ago
Jonas Jenwald 0d58bb5512 Temporarily add the current position to the browser history when the viewer is idle 8 years ago
Jonas Jenwald 133d06e9a4 Re-write `PDFHistory` from scratch 8 years ago
Jonas Jenwald 388851e37b Add a `isDestsEqual` helper function, to allow comparing explicit destinations, in `pdf_history.js` 8 years ago
Jonas Jenwald 0c4985546a Add a `waitOnEventOrTimeout` helper function that allows waiting for an event or a timeout, whichever occurs first 8 years ago
Jonas Jenwald 28ce3b6185 Rip out the current implementation of `PDFHistory` 8 years ago
Jonas Jenwald 028d7c0950 Ensure that `PDFViewerApplication.error` outputs proper messages in FIREFOX/MOZCENTRAL builds 8 years ago
Jonas Jenwald 870a8f6c35 Remove the ability to pass a `scale` parameter in the (optional) `args` object parameter of `PDFViewerApplication.open(file, args)` 8 years ago
Jonas Jenwald c523948cc7 Remove handling of fallback arguments from `PDFViewer.scrollPageIntoView` 8 years ago
Jonas Jenwald 81b4761e6e Remove the migration code for old localStorage data in `ViewHistory` 8 years ago
Jonas Jenwald 9273350c6b Attempt to delay disabling of the attachment view until FileAttachment annotations of the *initial* page has been parsed 8 years ago
Jonas Jenwald 96fb0c0370 Call the `reset()` methods in the `PDFAttachmentViewer` and `PDFOutlineViewer` constructors 8 years ago
Jonas Jenwald e49dfe4ed7 Don't load `compatibility.js` in the viewer while in non-`PRODUCTION` mode 8 years ago
Jonas Jenwald cbc411a2c7 Convert `DownloadManager` to an ES6 class 8 years ago
Yury Delendik d0e93721ae More robust getPage() error handling. 8 years ago
Jonas Jenwald b2b1752005 ES6-ify the code in `web/dom_events.js` 8 years ago
Jonas Jenwald fce31c3f83 Ensure that the loadingBar isn't displayed again when the entire file has already been fetched 8 years ago
Jonas Jenwald 20d6286cce Add support for, the API property, PageMode in the viewer (issue 8657) 8 years ago
Jonas Jenwald f7c4ed4bc3 Refactor reading from the `ViewHistory` in `PDFViewerApplication.load` 8 years ago
Jonas Jenwald e1536251d5 Convert `PDFViewer` to an ES6 class 8 years ago
Jonas Jenwald 49333ddd44 Move the `hasEqualPageSizes` getter from `PDFViewerApplication` and into `PDFViewer` instead 8 years ago
Rob Wu 19549bb7d6 [CRX] Integrate cursorToolOnLoad pref + migration logic 8 years ago
Jonas Jenwald 8ba8072937 Convert `PDFLinkService` to an ES6 class 8 years ago
Christian Myksvoll 95093a5276 Check for undefined url (#8640) 8 years ago
Yury Delendik 52460687ca Fixes pdf.js library source detection. 8 years ago
Nimesh Solanki e004b3cfab update inconsistent names 8 years ago
Rob Wu 742ed3d1c9 Remove __pdfjsdev_webpack__, use webpack options 8 years ago
Jonas Jenwald c253ee9ab8 Ensure that the document is rendered on load, no matter what happens, by always calling `PDFViewer.update` *after* the initial position has been set 8 years ago
Jonas Jenwald 8391aacb89 Remove the scale-not-initialized hack from `webViewerResize` (in app.js) 8 years ago
Jonas Jenwald 9c95614bb6 Ensure that `PDFFindBar._adjustWidth` is called in all situations where the width of the findbar might have changed 8 years ago