Commit Graph

  • cfa42cb0f2 Fix (some) vulnerabilities reported by npm audit Jonas Jenwald 2021-04-18 11:05:52 +02:00
  • fc007028a2 Update npm packages Jonas Jenwald 2021-04-18 11:02:42 +02:00
  • f4237d3a09
    Convert done callbacks to async/await in test/unit/annotation_spec.js Tim van der Meij 2021-04-17 18:23:40 +02:00
  • c86e70ba08
    Merge pull request #13253 from timvandermeij/unit-test-async-await-pt3 Tim van der Meij 2021-04-17 18:11:08 +02:00
  • c2f3a71eca
    Convert done callbacks to async/await in test/unit/api_spec.js Tim van der Meij 2021-04-16 21:48:42 +02:00
  • dd7f04ea2e
    Merge pull request #13254 from Snuffleupagus/scripting-misc-fixes Tim van der Meij 2021-04-17 12:32:32 +02:00
  • f560fe6875 A couple of small scripting/XFA-related tweaks in the worker-code Jonas Jenwald 2021-04-17 10:13:42 +02:00
  • ac3fa1e3d7
    Merge pull request #13146 from calixteman/xfa_fonts Brendan Dahl 2021-04-16 12:55:12 -07:00
  • 6db10d159a
    Merge pull request #13250 from Snuffleupagus/rm-_delayedFallback Tim van der Meij 2021-04-16 20:38:22 +02:00
  • ad2afab585
    Merge pull request #13249 from Snuffleupagus/rm-generic-signature-warn Tim van der Meij 2021-04-16 20:36:52 +02:00
  • 6e8ff2fed9
    Merge pull request #13247 from Snuffleupagus/update-yargs Tim van der Meij 2021-04-16 20:33:45 +02:00
  • cba6a3f375
    Merge pull request #13246 from timvandermeij/unit-test-async-await-pt2 Tim van der Meij 2021-04-16 20:24:53 +02:00
  • c988712bc5 Update the yargs package to the latest version Jonas Jenwald 2021-04-15 15:18:57 +02:00
  • 4ef187e903 Remove the PDFViewerApplication._delayedFallback functionality Jonas Jenwald 2021-04-16 10:08:13 +02:00
  • a6e29ab43c Remove the special handling of "errorFontLoadNative" and "errorFontMissing" in PDFViewerApplication.fallback (PR 12931 follow-up, PR 12995 follow-up) Jonas Jenwald 2021-04-16 09:49:11 +02:00
  • 7d7a8a1a3c [GENERIC viewer] Don't display the errorWrapper, for documents with signatures (PR 13217 follow-up) Jonas Jenwald 2021-04-16 09:40:26 +02:00
  • 7e9579045f XFA -- Load fonts permanently from the pdf - Different fonts can be used in xfa and some of them are embedded in the pdf. - Load all the fonts in window.document. Calixte Denizet 2021-03-26 09:28:18 +01:00
  • 38ed655562
    Convert done callbacks to async/await in test/unit/cmap_spec.js Tim van der Meij 2021-04-14 22:24:28 +02:00
  • 046467ff47
    Drop obsolete done callbacks in test/unit/annotation_storage_spec.js Tim van der Meij 2021-04-14 22:11:45 +02:00
  • 82bdba78fb
    Drop obsolete done callbacks in test/unit/crypto_spec.js Tim van der Meij 2021-04-14 22:09:17 +02:00
  • 43eb4302ff
    Convert done callbacks to async/await in test/unit/message_handler_spec.js Tim van der Meij 2021-04-14 21:52:23 +02:00
  • bc8c0bbbfd
    Convert done callbacks to async/await in test/unit/display_svg_spec.js Tim van der Meij 2021-04-14 21:57:07 +02:00
  • ae48d07582
    Merge pull request #13243 from janpe2/ocg-ve Tim van der Meij 2021-04-14 20:42:49 +02:00
  • cd2c4e277c
    Merge pull request #13222 from timvandermeij/unit-test-async Tim van der Meij 2021-04-14 20:37:17 +02:00
  • eddb9087a1
    Merge pull request #13240 from Snuffleupagus/update-eslint-helpers Tim van der Meij 2021-04-14 20:36:45 +02:00
  • b9d87b8c0d
    Merge pull request #13244 from Snuffleupagus/update-postcss-calc Tim van der Meij 2021-04-14 20:35:51 +02:00
  • 6bb0ffd374
    Merge pull request #13238 from Snuffleupagus/update-es-module-shims Tim van der Meij 2021-04-14 20:34:57 +02:00
  • 3a96977ea8 Implement visibility expressions for optional content Jani Pehkonen 2021-04-14 14:58:43 +03:00
  • 3e113cd38f Update the es-module-shims package to the latest version Jonas Jenwald 2021-04-14 12:27:27 +02:00
  • da93bd18cc Update the postcss-calc package to the latest version Jonas Jenwald 2021-04-14 15:31:58 +02:00
  • f2156fc0cf Update eslint-config-prettier/eslint-plugin-unicorn packages to their latest versions Jonas Jenwald 2021-04-14 12:39:19 +02:00
  • 3ff7627120
    Merge pull request #13235 from Snuffleupagus/split-core-obj Tim van der Meij 2021-04-13 22:13:46 +02:00
  • c1e9f6025f
    Convert done callbacks to async/await in test/unit/custom_spec.js Tim van der Meij 2021-04-11 20:11:42 +02:00
  • a1c1e1b9f8
    Convert done callbacks to async/await in test/unit/fetch_stream_spec.js Tim van der Meij 2021-04-11 20:07:27 +02:00
  • 5607484402
    Convert done callbacks to async/await in test/unit/network_spec.js Tim van der Meij 2021-04-11 20:03:41 +02:00
  • fcf4d02fca
    Convert done callbacks to async/await in test/unit/node_stream_spec.js Tim van der Meij 2021-04-11 20:01:52 +02:00
  • 99dc0d6b65
    Convert done callbacks to async/await in test/unit/primitives_spec.js Tim van der Meij 2021-04-11 19:56:58 +02:00
  • a56ffb92be
    Convert done callbacks to async/await in test/unit/ui_utils_spec.js Tim van der Meij 2021-04-11 19:51:21 +02:00
  • a2811e925d
    Convert done callbacks to async/await in test/unit/util_spec.js Tim van der Meij 2021-04-11 19:26:38 +02:00
  • 1d6d476cab Rename the src/core/obj.js file to src/core/catalog.js Jonas Jenwald 2021-04-13 18:26:23 +02:00
  • 088a55f80d Enable the no-var rule in the src/core/xref.js file Jonas Jenwald 2021-04-13 18:26:18 +02:00
  • bc828cd41f Convert the XRef to a "normal" class Jonas Jenwald 2021-04-13 18:26:12 +02:00
  • e8750cfe95 Move the XRef from src/core/obj.js and into its own file Jonas Jenwald 2021-04-13 18:26:07 +02:00
  • 24e5ecdf76 Move NameTree/NumberTree from src/core/obj.js and into its own file Jonas Jenwald 2021-04-13 18:26:02 +02:00
  • 92141e0468 Enable the no-var rule in the src/core/file_spec.js file Jonas Jenwald 2021-04-13 18:25:57 +02:00
  • 22a066e657 Convert the FileSpec to a "normal" class Jonas Jenwald 2021-04-13 18:25:52 +02:00
  • e02d17da93 Move the FileSpec from src/core/obj.js and into its own file Jonas Jenwald 2021-04-13 18:25:48 +02:00
  • 6a935682fd Covert the ObjectLoader to a "normal" class Jonas Jenwald 2021-04-13 18:25:42 +02:00
  • 604cd6d600 Move the ObjectLoader from src/core/obj.js and into its own file Jonas Jenwald 2021-04-13 18:25:34 +02:00
  • ebeb3f7999
    Merge pull request #13234 from Snuffleupagus/hasJSActions-MissingDataException Tim van der Meij 2021-04-13 20:44:58 +02:00
  • d498897ab5
    Fix annotation input focus trap regression in Safari (#13232) Cetin Sert 2021-04-14 03:40:52 +09:00
  • 3d2d8002b0
    Merge pull request #13223 from Snuffleupagus/worker-xfa-structTree-tweaks Tim van der Meij 2021-04-13 20:39:52 +02:00
  • 2b2234fd5a [api-minor] Ensure that PDFDocumentProxy.hasJSActions won't fail if MissingDataExceptions are thrown during the associated worker-thread parsing Jonas Jenwald 2021-04-13 12:30:20 +02:00
  • 4aa27cc645 Re-factor Catalog._collectJavaScript to use a Map rather than an Object Jonas Jenwald 2021-04-13 12:02:16 +02:00
  • 6cf3070008
    Merge pull request #13203 from utopianknight/high_contrast Brendan Dahl 2021-04-12 16:24:03 -07:00
  • a53cd1cc1e
    Merge pull request #13141 from calixteman/xfa_text Brendan Dahl 2021-04-12 14:34:38 -07:00
  • a4c986515f XFA -- Display text content - display xhtml; - allow spaces in xhtml (xfa-spacerun:yes); - support column layout; - fix some border issues. Calixte Denizet 2021-03-25 16:54:36 +01:00
  • 54ef4370a2 Ensure that the data is loaded, in the "GetPageJSActions" message handler Jonas Jenwald 2021-04-12 13:48:34 +02:00
  • 9360c7cbdc Avoid unnecessary parsing, in Page.GetStructTree, when no structTree is available (PR 13221 follow-up) Jonas Jenwald 2021-04-12 08:52:35 +02:00
  • 0d2dd6c2fe Remove the unused "GetIsPureXfa" message handler in the worker (PR 13069 follow-up) Jonas Jenwald 2021-04-12 08:52:27 +02:00
  • a3669a4f0d
    Merge pull request #13217 from Snuffleupagus/generic-signature-warn Tim van der Meij 2021-04-11 18:41:41 +02:00
  • 646bb07884
    Merge pull request #13221 from Snuffleupagus/structTree-fixes Tim van der Meij 2021-04-11 18:32:50 +02:00
  • daf4cd0f78
    Merge pull request #13220 from Snuffleupagus/currentOutlineItemPromise-isPagesLoaded Tim van der Meij 2021-04-11 18:30:17 +02:00
  • be3debeeb8 Implement high contrast mode utopianknight 2021-04-10 16:02:24 +04:00
  • 52494be545 [GENERIC viewer] Display a warning message, using the errorWrapper, for documents with signatures (PR 13214 follow-up, issue 13215) Jonas Jenwald 2021-04-10 19:50:28 +02:00
  • 5adee0cdd1 [api-minor] Let PDFPageProxy.getStructTree return null, rather than an empty structTree, for documents without any accessibility data (PR 13171 follow-up) Jonas Jenwald 2021-04-11 12:04:29 +02:00
  • ff4dae05b0 Ensure that getStructTree won't break with disableAutoFetch = true set (PR 13171 follow-up) Jonas Jenwald 2021-04-11 12:00:14 +02:00
  • f285e41f02 Ensure that currentOutlineButton enabling/disabling won't depend on the exact timing of the "pagesloaded" event (PR 13212 follow-up) Jonas Jenwald 2021-04-11 10:36:46 +02:00
  • 4ac1082838
    Merge pull request #13216 from timvandermeij/unit-test-done Tim van der Meij 2021-04-10 21:13:42 +02:00
  • 10574a0f8a
    Remove obsolete done callbacks from the unit tests Tim van der Meij 2021-04-10 20:21:31 +02:00
  • d9d626a5e1
    Merge pull request #13214 from calixteman/signatures Tim van der Meij 2021-04-10 19:35:16 +02:00
  • 5875ebb1ca Display widget signature - but don't validate them for now; - Firefox will display a bar to warn that the signature validation is not supported (see https://bugzilla.mozilla.org/show_bug.cgi?id=854315) - almost all (all ?) pdf readers display signatures; - validation is done in edge but for now it's behind a pref. Calixte Denizet 2021-04-10 16:53:17 +02:00
  • 86374d4f75
    Merge pull request #13212 from Snuffleupagus/BaseTreeViewer-init-checks Tim van der Meij 2021-04-10 14:32:41 +02:00
  • 27062f72c2 Improve the handling of the currentOutlineButton enabling/disabling (PR 12777 follow-up) Jonas Jenwald 2021-04-10 12:52:53 +02:00
  • 05b0798824 Check that the correct pdfDocument is still active, before rendering the outline/attachments/layers Jonas Jenwald 2021-04-10 12:46:45 +02:00
  • f5e973d555
    Merge pull request #13197 from Snuffleupagus/issue-8233 Tim van der Meij 2021-04-09 21:51:42 +02:00
  • 03c8c89002
    Merge pull request #13171 from brendandahl/struct-tree Tim van der Meij 2021-04-09 21:32:44 +02:00
  • b0473eb353
    Merge pull request #13207 from Snuffleupagus/api-AnnotationStorage-params Tim van der Meij 2021-04-09 21:09:16 +02:00
  • 0ae5a6ef05
    Merge pull request #13209 from Snuffleupagus/rm-PDFPageView-enableScripting Tim van der Meij 2021-04-09 20:59:29 +02:00
  • acb5c5093b
    Merge pull request #13210 from brendandahl/cache-source-map Tim van der Meij 2021-04-09 20:56:07 +02:00
  • bf7ae6f82a
    Merge pull request #13204 from eltociear/patch-2 Tim van der Meij 2021-04-09 20:54:54 +02:00
  • a31d142253 Cache babel source map. Brendan Dahl 2021-04-09 10:34:15 -07:00
  • fc9501a637 Add support for basic structure tree for accessibility. Brendan Dahl 2021-03-31 15:07:02 -07:00
  • ec9e29807a Remove the enableScripting option from the PDFPageView constructor Jonas Jenwald 2021-04-09 14:20:47 +02:00
  • 737a8e846d Add deprecated handling of the now removed AnnotationStorage API-parameters Jonas Jenwald 2021-04-06 13:40:15 +02:00
  • 72ef183085 [api-minor] Remove the manual passing of an AnnotationStorage-instance when calling various API-method Jonas Jenwald 2021-04-04 16:49:06 +02:00
  • c4c4333d54
    Fix typo in canvas.js Ikko Ashimine 2021-04-08 23:45:24 +09:00
  • d8e0794650 Improve the image quality of thumbnails rendered by PDFThumbnailView.draw (issue 8233) Jonas Jenwald 2021-04-08 12:22:19 +02:00
  • 32a00b9b2b Stop looping over childNodes, in PDFThumbnailView.reset, when removing the thumbnail Jonas Jenwald 2021-04-08 12:22:07 +02:00
  • 8ea83f7030 Convert some properties, on PDFThumbnailView-instances, to local variables Jonas Jenwald 2021-04-08 12:21:52 +02:00
  • 6429ccc002
    Merge pull request #13194 from Snuffleupagus/ttcf-fuzzy-match Tim van der Meij 2021-04-07 20:50:19 +02:00
  • 5945f7c4a1
    Merge pull request #13186 from Snuffleupagus/rm-deprecated-code Tim van der Meij 2021-04-07 20:38:59 +02:00
  • 336ebd6fa1
    Merge pull request #13184 from timvandermeij/sets Tim van der Meij 2021-04-07 20:34:49 +02:00
  • f986ccdf0e Fuzzy-match the fontName, for TrueType Collection fonts, where the "name"-table is wrong (issue 13193) Jonas Jenwald 2021-04-07 14:06:22 +02:00
  • 4e81e0e14f Remove the deprecated AnnotationStorage.getOrCreateValue-method (PR 12759 follow-up) Jonas Jenwald 2021-04-06 13:09:55 +02:00
  • 92ec10bfca Remove the deprecated PDFLinkService.navigateTo-method (PR 12440 follow-up) Jonas Jenwald 2021-04-06 13:07:38 +02:00
  • b2758c3023 Remove the deprecated properties from the "presentationmodechanged" event (PR 12788 follow-up) Jonas Jenwald 2021-04-06 13:04:23 +02:00
  • ff393d6e96
    Convert the pendingFindMatches member, in web/pdf_find_controller.js, from an object to a set Tim van der Meij 2021-04-05 19:30:25 +02:00
  • fc0cd4a443
    Convert the startXRefParsedCache variable, in src/core/obj.js, from an object to a set Tim van der Meij 2021-04-05 19:20:10 +02:00
  • 6ddc297170
    Merge pull request #13183 from timvandermeij/bump Tim van der Meij 2021-04-05 16:01:29 +02:00