Commit Graph

  • 2b5bc6bcec
    Hide the beta version button on the website if there is only a stable version Tim van der Meij 2018-10-27 20:57:01 +02:00
  • 31bff2d950
    Merge pull request #10187 from timvandermeij/bump Tim van der Meij 2018-10-27 17:02:11 +02:00
  • 7c6c56214f
    Bump versions in pdfjs.config Tim van der Meij 2018-10-27 16:55:23 +02:00
  • 5dc12f9a6d Only normalize the search query once, in `PDFFindController, for every page being searched Jonas Jenwald 2018-10-26 20:53:42 +02:00
  • 84ae4f9a5e Only normalize the text-content once, in PDFFindController, and not on every new search operation Jonas Jenwald 2018-10-26 20:23:32 +02:00
  • 12d8b52c49 Move the normalize helper function out of PDFFindController Jonas Jenwald 2018-10-26 18:22:32 +02:00
  • 64d75c32bf Ensure that matches are not scrolled into after the findbar has been closed (PR 10100 follow-up) Jonas Jenwald 2018-10-26 11:56:25 +02:00
  • 27b21f2558 Add a _updateAllPages helper method to PDFFindController in order to reduce the amount of event dispatching Jonas Jenwald 2018-10-23 15:57:10 +02:00
  • d73a71fb90 Small clean-up of the search related methods in TextLayerBuilder Jonas Jenwald 2018-10-25 16:21:55 +02:00
  • dc98bf76eb
    Merge pull request #10179 from ThomasdenH/patch-1 v2.0.943 Tim van der Meij 2018-10-24 23:45:22 +02:00
  • b157d8b478
    Change splice to pop in annotation tests Thomas den Hollander 2018-10-24 13:08:08 +02:00
  • f31f4bea4f
    Merge pull request #10176 from timvandermeij/updates Tim van der Meij 2018-10-24 00:23:45 +02:00
  • 0abddde2c7
    Update packages Tim van der Meij 2018-10-23 23:38:27 +02:00
  • c74c357157
    Update translations Tim van der Meij 2018-10-23 23:32:42 +02:00
  • 9cd5f94f03 Normalize the BBox of form XObjects on the /core side Jani Pehkonen 2018-10-16 16:23:14 +03:00
  • aa728aaf94
    Merge pull request #10168 from Snuffleupagus/PDFDataRangeTransport-class Tim van der Meij 2018-10-21 15:49:24 +02:00
  • 5bb7f4b615 Convert PDFDataRangeTransport to an ES6 class Jonas Jenwald 2018-10-20 17:15:27 +02:00
  • d21892933d
    Merge pull request #10161 from Snuffleupagus/DataLoaded-onProgress Tim van der Meij 2018-10-20 15:22:05 +02:00
  • e63e2ef85e
    Merge pull request #10167 from Snuffleupagus/pdfjsLib-more-exports Tim van der Meij 2018-10-20 15:14:56 +02:00
  • 54f9883c51 Export CMapCompressionType and PermissionFlag on the pdfjsLib object (issue 10148, PR 10033 follow-up) Jonas Jenwald 2018-10-20 11:29:00 +02:00
  • a0bc5c2df0
    Merge pull request #10166 from timvandermeij/bump Tim van der Meij 2018-10-19 23:08:23 +02:00
  • af33399ac9
    Bump version numbers for stable and beta releases Tim van der Meij 2018-10-19 23:03:19 +02:00
  • 327f2eb588 Ensure that onProgress is always called when the entire PDF file has been loaded, regardless of how it was fetched (issue 10160) Jonas Jenwald 2018-10-16 13:24:02 +02:00
  • ecbdc508f7
    Merge pull request #10155 from kevin51jiang/build-button Tim van der Meij 2018-10-14 14:51:37 +02:00
  • c4ac6ad431
    Add Build Status Button Kevin Jiang 2018-10-13 18:26:48 -04:00
  • e41c50c3c5
    Merge pull request #10152 from Snuffleupagus/classList-toggle Tim van der Meij 2018-10-12 23:28:53 +02:00
  • ea4db64f41 Convert some occurrences, in the /web folder, of classList.{add, remove} to classList.toggle with the "force" parameter Jonas Jenwald 2018-10-12 15:29:45 +02:00
  • 4cde844ffe Add a DOMTokenList.toggle polyfill for the second, optional, "force" parameter Jonas Jenwald 2018-10-12 15:25:38 +02:00
  • 06c6503ba0
    Merge pull request #10150 from Snuffleupagus/linkService-pagesCount Tim van der Meij 2018-10-11 22:37:34 +02:00
  • df8d9f45f9 Add missing pagesCount getter to IPDFLinkService and SimpleLinkService Jonas Jenwald 2018-10-11 10:23:51 +02:00
  • 9e9426c354
    Merge pull request #10143 from Snuffleupagus/getMainThreadWorkerMessageHandler-catch-errors Tim van der Meij 2018-10-11 00:05:01 +02:00
  • 6f30cbb478
    Merge pull request #10140 from Snuffleupagus/rm-pdfjsFilePath Tim van der Meij 2018-10-10 00:18:38 +02:00
  • 0e2c6047e4 Ensure that getMainThreadWorkerMessageHandler won't accidentally break getDocument (PR 10139 follow-up) Jonas Jenwald 2018-10-09 15:35:28 +02:00
  • 21c8dd4842 Combine the pdfjsFilePath and fallback workerSrc handling in src/display/api.js Jonas Jenwald 2018-10-07 14:28:16 +02:00
  • f45e46d7ad
    Merge pull request #10133 from kevinleedrum/fix-content-length Tim van der Meij 2018-10-09 00:05:57 +02:00
  • 4cf10ac79d set returnValues.suggestedLength to Content-Length if integer Kevin Lee Drum 2018-10-07 13:26:29 -04:00
  • b2e7d0c89b
    Merge pull request #10139 from Snuffleupagus/issue-10135 Tim van der Meij 2018-10-07 15:54:50 +02:00
  • 755c6edc5e Ensure that the PDFDocumentLoadingTask is rejected when "setting up fake worker" failed (issue 10135) Jonas Jenwald 2018-10-05 13:54:16 +02:00
  • d4469da22b
    Merge pull request #10138 from Snuffleupagus/toolbar-pageScaleValue Tim van der Meij 2018-10-05 22:41:59 +02:00
  • 3c6d0a8c44
    Merge pull request #10136 from Snuffleupagus/toolbar-signature Tim van der Meij 2018-10-05 22:38:38 +02:00
  • a4d4364f5d Ensure that Toolbar.setPageScale always sets the pageScaleValue property to a valid value Jonas Jenwald 2018-10-05 12:13:48 +02:00
  • 5d421964e5 Remove the unused mainContainer parameter from the Toolbar constructor Jonas Jenwald 2018-10-05 10:17:37 +02:00
  • ff2df9c5b6
    Merge pull request #10117 from leblanc-simon/ink-annotation-support Tim van der Meij 2018-10-04 23:39:41 +02:00
  • 5da53ee98f
    Merge pull request #10128 from Snuffleupagus/find-controller-enable Tim van der Meij 2018-10-04 23:12:50 +02:00
  • 2ed3591b22 Make PDFFindController less confusing to use, by allowing searching to start when setDocument is called Jonas Jenwald 2018-10-03 12:42:41 +02:00
  • 8411a7da28
    Merge pull request #10126 from Snuffleupagus/find-fixes Tim van der Meij 2018-10-04 00:09:26 +02:00
  • 6be4921eaf Make the clearing of find highlights, when closing the findbar, asynchronous Jonas Jenwald 2018-10-01 18:31:27 +02:00
  • 236871c68b [Regression] Restore the ability to start searching before a document has loaded, and ignore searches for previously opened documents (PR 10099 follow-up) Jonas Jenwald 2018-10-01 17:41:57 +02:00
  • b5806735d8 Add support of Ink annotation Simon Leblanc 2018-09-30 16:29:16 +02:00
  • 1cfb723dd4
    Merge pull request #10123 from Snuffleupagus/viewer-component-signatures Tim van der Meij 2018-10-02 23:30:26 +02:00
  • 138324502c
    Merge pull request #10119 from Snuffleupagus/rm-onFileAttachmentAnnotation Tim van der Meij 2018-10-02 23:25:22 +02:00
  • 8eda8c27f8 Attempt to simplify the signature of the PDFSidebar constructor, by moving the eventBus parameter from the options object and removing the PDFOutlineViewer dependency Jonas Jenwald 2018-10-02 13:08:24 +02:00
  • 3f3ddaf541 Attempt to simplify the signature of the PDFFindBar constructor, by moving the eventBus parameter from the options object Jonas Jenwald 2018-10-02 12:57:07 +02:00
  • 25446dbd8d
    Merge pull request #9982 from Snuffleupagus/mozcentral-FontLoadingAPI Brendan Dahl 2018-10-01 13:44:47 -07:00
  • d60ce998f1 Attempt to simplify the fileattachmentannotation event dispatching Jonas Jenwald 2018-10-01 11:55:25 +02:00
  • ec10cae5b6
    Merge pull request #10099 from timvandermeij/find-controller Tim van der Meij 2018-09-30 18:36:13 +02:00
  • 1b402996cf
    Implement a basic unit test for the find controller Tim van der Meij 2018-09-21 22:40:15 +02:00
  • f79fb88864
    Remove the find controller setter in web/base_viewer.js Tim van der Meij 2018-09-22 19:44:13 +02:00
  • 38ff79186a
    Replace callbacks for updating the UI with dispatching events on the event bus Tim van der Meij 2018-09-21 20:00:58 +02:00
  • e0c811f2ed
    Use the link service for getting and setting page information Tim van der Meij 2018-09-21 19:40:11 +02:00
  • e293c12afc
    Implement the setDocument method for the find controller Tim van der Meij 2018-09-21 17:19:33 +02:00
  • b14c1fbc28
    Use the updatetextlayermatches event for highlighting matches on a page Tim van der Meij 2018-09-21 16:53:52 +02:00
  • 7aca53b1a4
    Remove the find bar's dependency on the find controller Tim van der Meij 2018-09-21 16:11:59 +02:00
  • ba172c7d03
    Merge pull request #10116 from timvandermeij/updates Tim van der Meij 2018-09-30 15:54:50 +02:00
  • a17aa16ba0
    Update translations Tim van der Meij 2018-09-30 15:50:12 +02:00
  • b187480b3f
    Update packages Tim van der Meij 2018-09-30 15:45:10 +02:00
  • d0620ec894
    Merge pull request #10100 from Snuffleupagus/findbarclose Tim van der Meij 2018-09-30 15:35:00 +02:00
  • 8d4c79c99c
    Merge pull request #10114 from Snuffleupagus/setDocument-optional-url Tim van der Meij 2018-09-30 13:29:08 +02:00
  • 1c814e208e Prevent getPDFFileNameFromURL from breaking if the url parameter is not a string Jonas Jenwald 2018-09-30 12:22:50 +02:00
  • 6da78bcc3f Update {PDFLinkService, PDFDocumentProperties}.setDocument to make the "url" parameter optional Jonas Jenwald 2018-09-30 12:11:27 +02:00
  • d6f4d2ff33 Add a Symbol polyfill, using core-js, to allow using for...of loops Jonas Jenwald 2018-08-20 12:14:37 +02:00
  • 435ec6a0d5 Use the Font Loading API in MOZCENTRAL builds, and GENERIC builds for Firefox version 63 and above (issue 9945) Jonas Jenwald 2018-08-16 20:34:56 +02:00
  • 05b021bcce Refactor the FontLoader into proper, build-specific, ES6 classes Jonas Jenwald 2018-08-16 20:34:51 +02:00
  • 45d6651976 Refactor unused Date.now() calls in FontLoader.queueLoadingCallback Jonas Jenwald 2018-08-16 20:34:45 +02:00
  • ad3e937816 Replace the Font.loading property with, the already existing, Font.missingFile property Jonas Jenwald 2018-08-16 20:34:37 +02:00
  • caf90ff6ee Convert FontFaceObject to an ES6 class Jonas Jenwald 2018-08-16 20:34:31 +02:00
  • b40fb3814a
    Merge pull request #10111 from Snuffleupagus/rm-substr Tim van der Meij 2018-09-29 15:50:41 +02:00
  • 842e9206c0 Replace String.prototype.substr() occurrences with String.prototype.substring() Jonas Jenwald 2018-09-28 11:41:07 +02:00
  • f29b4d1116 Clear all find highlights when the findbar is closed (issue 7468) Jonas Jenwald 2018-09-22 15:31:33 +02:00
  • 1eaa3b8a08 Dispatch a 'pagecancelled' event, in PDFPageView.cancelRendering, when rendering is cancelled Jonas Jenwald 2018-09-23 13:47:33 +02:00
  • 54d6c2436c
    Merge pull request #10095 from timvandermeij/updates Tim van der Meij 2018-09-21 15:40:26 +02:00
  • 3c9e25b839
    Update translations Tim van der Meij 2018-09-21 15:26:10 +02:00
  • 2c710eda3e
    Update packages Tim van der Meij 2018-09-21 15:16:30 +02:00
  • ad6ab88fdf
    Merge pull request #10090 from Snuffleupagus/pr-10019-followup Tim van der Meij 2018-09-21 14:43:55 +02:00
  • 39776168a2 Add EventBus unit-tests to ensure that the (optional) argument handling works correctly Jonas Jenwald 2018-09-21 14:12:01 +02:00
  • f317a2cb40 Ensure that the DOM event listeners are removed at the end of the relevant EventBus unit-tests, to prevent the tests from interfering with each other Jonas Jenwald 2018-09-20 23:08:38 +02:00
  • 250e55b0d9 Ensure that all event properties are included, even if no (internal) listeners are registered, when re-dispatching events to the DOM (PR 10019 follow-up) Jonas Jenwald 2018-09-20 22:43:44 +02:00
  • 0e41eb1620
    Merge pull request #10078 from timvandermeij/l10n-fix Tim van der Meij 2018-09-16 15:25:30 +02:00
  • f711dbc011
    Improve plural support for the matches counter Tim van der Meij 2018-09-15 20:59:56 +02:00
  • a85ee3616e
    Merge pull request #10071 from Snuffleupagus/matchesCount-FirefoxCom-forward Tim van der Meij 2018-09-16 14:10:47 +02:00
  • 06b9455263 Hard-code the MOZCENTRAL build to use the [other] plural forms of the matcheCount strings, to prevent errors for PDF files embedded in iframe/object tags Jonas Jenwald 2018-09-14 03:11:40 +02:00
  • be7fdf148c Further ensure that PDFFindController._requestMatchesCount won't return broken data (PR 10052 follow-up) Jonas Jenwald 2018-09-13 11:40:12 +02:00
  • fafd8819bc Enable forwarding, in FirefoxCom, of the matchesCount to the browser findbar (bug 1062025) Jonas Jenwald 2018-09-13 11:32:12 +02:00
  • ed32f6a082
    Merge pull request #10066 from timvandermeij/find-controller Tim van der Meij 2018-09-15 20:38:08 +02:00
  • d0b5aa0869
    Merge pull request #10070 from Snuffleupagus/matchesCount-plural Tim van der Meij 2018-09-13 22:42:13 +02:00
  • ae7dcae27e Fix abbreviation. Brendan Dahl 2018-09-13 13:07:21 -07:00
  • 67e1e39f99
    Move scrolling the selected match into view from the find controller to the text layer builder Tim van der Meij 2018-09-12 15:42:29 +02:00
  • ede414554e
    Change let to const where possible in the find controller Tim van der Meij 2018-09-12 15:25:46 +02:00
  • 38c9f5fc24
    Mark all private members as such in the find controller Tim van der Meij 2018-09-12 15:10:45 +02:00
  • 6c4157acd9 Attempt to support plural forms in the matches counter of the findbar (issue 10067) Jonas Jenwald 2018-09-13 10:12:58 +02:00