Commit Graph

  • ddad2fe28a
    Merge pull request #12844 from Snuffleupagus/update-packages Tim van der Meij 2021-01-10 13:38:16 +01:00
  • 3210b91cf8 Update l10n files Jonas Jenwald 2021-01-10 11:38:54 +01:00
  • 0e23b8b6ce Update the eslint-plugin-unicorn package to the latest version Jonas Jenwald 2021-01-10 11:29:27 +01:00
  • e14db97740 Update npm packages Jonas Jenwald 2021-01-10 11:25:47 +01:00
  • ccbee6d2be Remove unnecessary dir-dependent CSS rules, and simplify som findbar-button rules (PR 11077 follow-up) Jonas Jenwald 2021-01-10 13:23:59 +01:00
  • f85b8721d1
    Merge pull request #12842 from Snuffleupagus/issue-12841 Tim van der Meij 2021-01-10 13:21:28 +01:00
  • 699d65eb1c
    Merge pull request #12840 from Snuffleupagus/sort-exports Tim van der Meij 2021-01-10 13:17:28 +01:00
  • 7ce969e8ca
    Merge pull request #12843 from Snuffleupagus/issue-12394-test calixteman 2021-01-09 14:12:38 -08:00
  • 66b2c19368 Fix broken "issue12394" test-case Jonas Jenwald 2021-01-09 21:42:56 +01:00
  • 81525fd446 Use ESLint to ensure that exports are sorted alphabetically Jonas Jenwald 2021-01-09 15:37:44 +01:00
  • cd9422a075 Improve handling of JPEG images without an EOI marker (issue 12841) Jonas Jenwald 2021-01-09 20:07:08 +01:00
  • 7f199e7017
    Merge pull request #12777 from Snuffleupagus/currentOutlineItem Tim van der Meij 2021-01-09 20:10:29 +01:00
  • 492a8171b3 Add an icon for the "find/highlight the current outlineItem" functionality Jani Pehkonen 2021-01-04 16:05:16 +01:00
  • 5729c0b32f Add support for finding/highlighting the outlineItem, corresponding to the currently visible page, in the sidebar (issue 7557, bug 1253820, bug 1499050) Jonas Jenwald 2020-12-25 12:57:43 +01:00
  • c0a6d6cd21
    Merge pull request #12394 from calixteman/appearance Tim van der Meij 2021-01-08 21:03:41 +01:00
  • 5fed65203e
    Merge pull request #12837 from Snuffleupagus/unit-test-factories Tim van der Meij 2021-01-08 20:56:17 +01:00
  • 6089b8f408
    Merge pull request #12834 from Snuffleupagus/es5-types Tim van der Meij 2021-01-08 20:50:40 +01:00
  • 941b65f683 Remove unncessary CanvasFactory/CMapReaderFactory/FileReaderFactory duplication in unit-tests Jonas Jenwald 2021-01-08 17:12:58 +01:00
  • 7172f0a928 JS -- update radio/checkbox values even if there are no actions Calixte Denizet 2021-01-08 16:43:16 +01:00
  • 83119b9000 In a text widget, Font resources can be in the appearance Calixte Denizet 2020-09-19 17:11:04 +02:00
  • aabf768e53 Try to fix TypeScript definitions for the es5-build in pdfjs-dist (issue 12872) Jonas Jenwald 2021-01-08 09:15:34 +01:00
  • 35845d1bbb
    Merge pull request #12820 from Snuffleupagus/pageclose-skip Tim van der Meij 2021-01-07 23:58:23 +01:00
  • 048081fb69
    Merge pull request #12824 from Snuffleupagus/preEvaluateFont-errors Tim van der Meij 2021-01-07 23:15:41 +01:00
  • 373230185a Unconditionally initialize the this._pageOpenPendingSet in BaseViewer._initializeScriptingEvents (PR 12747 follow-up) Jonas Jenwald 2021-01-06 16:09:34 +01:00
  • 32b0e00ba7 Don't dispatch "pageclose" events if a "pageopen" wasn't dispatched for the page (PR 12747 follow-up) Jonas Jenwald 2021-01-06 14:43:05 +01:00
  • ac5168a23f
    Merge pull request #12822 from Snuffleupagus/scripting-contentLength Tim van der Meij 2021-01-07 23:02:53 +01:00
  • 5bde4b71f8
    Merge pull request #12292 from calixteman/encoding Tim van der Meij 2021-01-07 22:56:42 +01:00
  • 4be76c89d1
    Merge pull request #12816 from calixteman/page_actions Brendan Dahl 2021-01-07 13:43:35 -08:00
  • 95e094c0bd
    Merge pull request #12815 from Snuffleupagus/update-webpack-example Tim van der Meij 2021-01-07 22:24:24 +01:00
  • d8e42f7b08
    Merge pull request #12825 from fdaveine/worker-loader-missing-option-for-webpack-usage Tim van der Meij 2021-01-07 22:22:16 +01:00
  • 35b15cc0b5 1. Add filename option in worker-loader package require. Without this option, since version 3.0.0, it tell webpack to generate a worker file named pdf.worker.worker.js instead of the expected pdf.worker.js. 2. Update README of webpack example to mention that a version 3.0.0 or higher of the worker-loader package is now required. fabien 2021-01-07 14:15:47 +01:00
  • 78c32c2697 Improve the handling of errors, in PartialEvaluator.loadFont, occuring in PartialEvaluator.preEvaluateFont (issue 12823) Jonas Jenwald 2021-01-07 11:25:09 +01:00
  • 7d3632d5d5 Improve the PDFViewerApplication._contentLength handling in the viewer, related mostly to scripting Jonas Jenwald 2021-01-07 10:22:02 +01:00
  • 6523f8880b JS -- Plug PageOpen and PageClose actions Calixte Denizet 2021-01-05 15:53:30 +01:00
  • 95f0f3b621 Try to re-add the worker-loader package, in pdfjs-dist, using peerDependencies (PR 11474 follow-up) Jonas Jenwald 2021-01-05 13:06:57 +01:00
  • 56424967f2 Fix encoding issues when printing/saving a form with non-ascii characters Calixte Denizet 2020-08-27 16:04:17 +02:00
  • 67746ac1c0 Update the webpack-versions used in examples/webpack Jonas Jenwald 2021-01-05 12:42:11 +01:00
  • ed3758f84d
    Merge pull request #12808 from calixteman/pending Tim van der Meij 2021-01-03 19:10:19 +01:00
  • a3c2d651ef Disable a test using "pending" function Calixte Denizet 2021-01-03 18:59:19 +01:00
  • ca18af6af3
    Merge pull request #12774 from calixteman/doc_action_test Tim van der Meij 2021-01-03 18:46:37 +01:00
  • 187542da8d
    Merge pull request #12807 from Snuffleupagus/rm-CSS-dir-duplication Tim van der Meij 2021-01-03 15:27:55 +01:00
  • 94f1020769 Remove unnecessary dir-dependent CSS rules, and add a missing CSS variable (PR 11077 follow-up) Jonas Jenwald 2021-01-03 14:42:40 +01:00
  • 1810e65d96
    Merge pull request #12804 from Snuffleupagus/DownloadManager-rm-onerror Tim van der Meij 2021-01-03 12:42:42 +01:00
  • 4d643b853a
    Merge pull request #12805 from Snuffleupagus/rm-CSS-button-image-transform Tim van der Meij 2021-01-03 12:39:49 +01:00
  • 5cb31a7ab6 Remove unnecessary toolbarButton icon-flipping in RTL mode (PR 11077 follow-up) Jonas Jenwald 2021-01-02 13:54:04 +01:00
  • 775d45b36a Remove the DownloadManager.onerror functionality, since its only usage is unlikely to be helpful Jonas Jenwald 2021-01-02 12:02:58 +01:00
  • c4b95d925f Add a new helper method, on PDFViewerApplication, to determine the document filename Jonas Jenwald 2021-01-01 23:03:18 +01:00
  • c3e02b3471
    Merge pull request #12802 from Snuffleupagus/FirefoxCom-requestAsync Tim van der Meij 2021-01-02 12:35:09 +01:00
  • a49b3e04d5 Add a new FirefoxCom.requestAsync method, to simplify the code in web/firefoxcom.js Jonas Jenwald 2021-01-01 14:40:46 +01:00
  • 0caf72d5bd Convert FirefoxCom to a class, with static methods Jonas Jenwald 2021-01-01 14:21:47 +01:00
  • 04321546ce
    Merge pull request #12801 from Snuffleupagus/FirefoxCom-document-listener Tim van der Meij 2021-01-01 14:03:56 +01:00
  • 8b3b542447 Ensure that the "pdf.js.response" event listener, in FirefoxCom.request, actually applies to the current Text node Jonas Jenwald 2020-12-31 14:34:16 +01:00
  • 99b1a62c97 Use remove, rather than removeChild, when removing the temporary Text nodes used in FirefoxCom Jonas Jenwald 2020-12-31 13:40:03 +01:00
  • cc49b65a11 Use the once: true option, rather than manually removing the "pdf.js.response" event listener in FirefoxCom.request Jonas Jenwald 2020-12-31 13:31:28 +01:00
  • f305e042ee
    Merge pull request #12800 from Snuffleupagus/DefaultExternalServices-async-fallback Tim van der Meij 2020-12-31 13:10:44 +01:00
  • 11ec2b7530 Convert DefaultExternalServices.fallback to an asynchronous method Jonas Jenwald 2020-12-30 20:48:40 +01:00
  • 6e55326343
    Merge pull request #12796 from Snuffleupagus/BaseTreeViewer._finishRendering Tim van der Meij 2020-12-30 14:05:21 +01:00
  • 03f10739d8 Extract common functionality into a new BaseTreeViewer._finishRendering method Jonas Jenwald 2020-12-28 14:42:47 +01:00
  • 57bec090ae
    Merge pull request #12793 from Snuffleupagus/Eventbus-once Tim van der Meij 2020-12-30 13:32:31 +01:00
  • 739d7c6d77 Support the once option, when registering EventBus listeners Jonas Jenwald 2020-12-29 16:36:58 +01:00
  • 9a779c2e90
    Merge pull request #12792 from timvandermeij/readme-ci Tim van der Meij 2020-12-29 16:37:11 +01:00
  • 0ae10bbacd
    Switch the badge in the README from Travis CI to GitHub Actions Tim van der Meij 2020-12-29 16:28:32 +01:00
  • 3e34281e3b
    Merge pull request #12788 from Snuffleupagus/presentationmodechanged-state Tim van der Meij 2020-12-28 20:36:29 +01:00
  • c185061757 Include the state in the "presentationmodechanged" event, and remove the separate active/switchInProgress properties Jonas Jenwald 2020-12-28 17:03:27 +01:00
  • 50303fc8f4
    Merge pull request #12766 from Snuffleupagus/issue-11004 Tim van der Meij 2020-12-28 20:26:10 +01:00
  • 2ad948ac11
    Merge pull request #12781 from Snuffleupagus/update-packages Tim van der Meij 2020-12-28 19:58:47 +01:00
  • 776d6f0539
    Merge pull request #12780 from Snuffleupagus/rm-CSS-noResults Tim van der Meij 2020-12-28 19:57:18 +01:00
  • 689e3e9732 Update l10n files Jonas Jenwald 2020-12-27 11:13:54 +01:00
  • 94dfb46091 Update npm packages Jonas Jenwald 2020-12-27 11:11:18 +01:00
  • e8b8020667 Remove unused .noResults CSS-rule Jonas Jenwald 2020-12-26 12:57:35 +01:00
  • ffd4bc790c JS -- Add tests for print/save actions * change PDFDocument::hasJSActions to return true when there are JS actions in catalog. Calixte Denizet 2020-12-23 18:57:44 +01:00
  • df53e7811c
    Merge pull request #12773 from Snuffleupagus/move-sandboxBundleSrc calixteman 2020-12-24 02:50:04 -08:00
  • 0a7d5940d3
    Merge pull request #12771 from Snuffleupagus/viewer-dispatchEventInSandbox-fixes calixteman 2020-12-24 02:47:18 -08:00
  • 47ff3195e4 Pass in the "sandboxBundleSrc" option when calling DefaultExternalServices.createScripting Jonas Jenwald 2020-12-20 12:24:26 +01:00
  • a4786c9689 [Scripting] Await manually triggered dispatchEventInSandbox calls in the viewer Jonas Jenwald 2020-12-23 11:39:54 +01:00
  • 0daf51c340 [Scripting] Try to ensure that the WillPrint/DidPrint respectively DidSave events are always dispatched Jonas Jenwald 2020-12-23 11:13:43 +01:00
  • d060cd2a61
    Merge pull request #12637 from calixteman/buttons Brendan Dahl 2020-12-22 22:18:37 -08:00
  • 6516ff20b5
    Merge pull request #12770 from calixteman/rm_timeout Brendan Dahl 2020-12-22 08:40:23 -08:00
  • 9dc331ec62 Remove timeout in annotation integration test Calixte Denizet 2020-12-22 16:50:28 +01:00
  • 7c3facb174 JS -- Add support for buttons * radio buttons * checkboxes Calixte Denizet 2020-11-18 18:54:26 +01:00
  • 9c99df7cac
    Merge pull request #12765 from Snuffleupagus/_initializeAutoPrint-scripting-tweaks Brendan Dahl 2020-12-21 13:56:56 -08:00
  • cffb7af3b0 Ignore, rather than throwing on, unsupported Coding style default (COD) options in JPEG 2000 images (issue 11004) Jonas Jenwald 2020-12-21 20:24:13 +01:00
  • 3ea1c43b15
    Merge pull request #12751 from calixteman/da_not_a_string Brendan Dahl 2020-12-21 09:44:08 -08:00
  • 7bab8350c0 Avoid the getJavaScript API-call in PDFViewerApplication._initializeAutoPrint when "enableScripting" is set Jonas Jenwald 2020-12-21 11:43:54 +01:00
  • a7c682c600 Add a default DA for textfield to avoid issues when printing or saving * it aims to fix issue #12750 Calixte Denizet 2020-12-18 13:17:23 +01:00
  • c3730c177a
    Merge pull request #12761 from Snuffleupagus/unittest-no-components Tim van der Meij 2020-12-19 22:33:46 +01:00
  • 175793b1cd Stop running gulp components as part of the unit-tests Jonas Jenwald 2020-12-19 22:19:07 +01:00
  • 1104089b67
    Merge pull request #12760 from timvandermeij/github-actions Tim van der Meij 2020-12-19 22:12:08 +01:00
  • dd190a59b9
    Switch from Travis CI to GitHub Actions Tim van der Meij 2020-12-19 22:01:10 +01:00
  • 1c8ead133a
    Merge pull request #12758 from Snuffleupagus/AnnotationStorage-rm-event Tim van der Meij 2020-12-19 21:13:28 +01:00
  • af52c5fd17
    Merge pull request #12748 from Snuffleupagus/scripting-misc-fixes Tim van der Meij 2020-12-19 20:58:53 +01:00
  • f9530e56da Run AnnotationStorage.resetModified when destroying the PDFDocumentLoadingTask/PDFDocumentProxy Jonas Jenwald 2020-12-19 13:21:40 +01:00
  • 517af6b6ab Delay initialization of the AnnotationStorage callbacks slightly in the default viewer Jonas Jenwald 2020-12-19 12:49:12 +01:00
  • 958ea2be8b Move the functionality of the webViewerDownloadOrSave function into a new PDFViewerApplication method instead Jonas Jenwald 2020-12-19 12:38:10 +01:00
  • 6f40f4e7c2 Remove the arbitrary timeout in the "must check that first text field has focus" integration-test (PR 12702 follow-up) Jonas Jenwald 2020-12-18 23:12:52 +01:00
  • 54f45dc935 Don't dispatch a "doc/Open" event in the sandbox when creating it failed Jonas Jenwald 2020-12-18 22:16:24 +01:00
  • c78f153bda Remove the ENABLE_SCRIPTING build-target, since it's not necessary Jonas Jenwald 2020-12-17 14:32:05 +01:00
  • eff4d8182d Update the events, used with scripting, to use lower-case names and avoid using DOM events internally in the viewer Jonas Jenwald 2020-12-17 14:10:56 +01:00
  • e2b6d79dee Tweak the LinkAnnotationElement._bindJSAction and WidgetAnnotationElement.{_setEventListener, _setEventListeners} methods Jonas Jenwald 2020-12-17 13:08:13 +01:00
  • 6dc39cb873 Tweak the new mouseState parameter, and its usage, in the viewer components and the AnnotationLayer Jonas Jenwald 2020-12-17 12:55:58 +01:00