Commit Graph

  • d8da6afa4c Update the description of the test-case used in the escapeString unit-test Jonas Jenwald 2020-10-27 11:24:25 +01:00
  • 92477333f6 Load the non-test files with standard import statements when running the unit-tests Jonas Jenwald 2020-10-27 11:41:54 +01:00
  • 8eeb0bcbe4 Import the TestReporter, in the unit and font tests Jonas Jenwald 2020-10-27 11:15:06 +01:00
  • 8098102714
    Merge pull request #12532 from Snuffleupagus/refactor-font-tests Tim van der Meij 2020-10-27 00:06:47 +01:00
  • 939af08ee1 Remove SystemJS usage from the font-tests Jonas Jenwald 2020-10-26 12:26:37 +01:00
  • 15a5f66973 Enable the ESLint no-var rule in the test/font/ folder Jonas Jenwald 2020-10-26 12:20:03 +01:00
  • 6967b9dd96 Modernize the font-tests Jonas Jenwald 2020-10-26 12:12:40 +01:00
  • 71a14be8e7
    Merge pull request #12534 from Snuffleupagus/murmurhash-slice Tim van der Meij 2020-10-26 23:34:03 +01:00
  • b27e4fac9e
    Merge pull request #12527 from Snuffleupagus/worker-rm-require Tim van der Meij 2020-10-26 23:28:03 +01:00
  • f2fa053c51 Ensure that MurmurHash3_64.update handles ArrayBuffer input correctly, to avoid hash-collisions (issue 12533) Jonas Jenwald 2020-10-26 16:20:55 +01:00
  • 666535be47 Prevent use of optional chaining and nullish coalescing in the src/shared/ folder Jonas Jenwald 2020-10-26 13:16:01 +01:00
  • c293fc2b8f Add (some) optional chaining usage in src/display/api.js Jonas Jenwald 2020-10-25 14:17:28 +01:00
  • 1c4495843c Load all unit-tests with native import, rather than SystemJS Jonas Jenwald 2020-10-25 14:15:19 +01:00
  • d9084c0be2 Load the fake worker, in non-PRODUCTION mode, with native async import Jonas Jenwald 2020-10-25 14:42:46 +01:00
  • 126f42a266 Only ignore the src/core/{glyphlist, unicode}.js files, during building of pdf.worker.js, when source-maps are enabled Jonas Jenwald 2020-10-25 13:37:22 +01:00
  • 56fa6d414c Add a getArrayLookupTableFactory helper function and use it to re-format src/core/{glyphlist, unicode}.js Jonas Jenwald 2020-10-25 13:06:27 +01:00
  • 441d9c8cc0 Change src/core/{glyphlist, unicode}.js to use standard import/export statements Jonas Jenwald 2020-10-25 12:27:07 +01:00
  • b2a4dacd31
    Merge pull request #12529 from Snuffleupagus/scripting-build-tweaks Tim van der Meij 2020-10-25 18:41:20 +01:00
  • 2251677e5a
    Merge pull request #12528 from timvandermeij/test-unit-no-var Tim van der Meij 2020-10-25 18:34:13 +01:00
  • 61ffa9caa9 Tweak the pdf.scripting.js bundling, to improve overall consistency Jonas Jenwald 2020-10-25 16:28:23 +01:00
  • fe08ef4e39
    Fix var conversions that ESLint could not do automatically Tim van der Meij 2020-10-25 16:03:11 +01:00
  • 3e2bfb5819
    Convert var to const/let in the test/unit folder Tim van der Meij 2020-10-25 15:40:51 +01:00
  • 314ac21842
    Disable var usage for the test/unit folder Tim van der Meij 2020-10-25 15:38:52 +01:00
  • b4ca3d55b8
    Merge pull request #12508 from calixteman/button_fallback_font Tim van der Meij 2020-10-24 18:56:12 +02:00
  • 0d1a874358
    Merge pull request #12464 from baloone/Fix_getVisibleElements_in_rtl_direction Tim van der Meij 2020-10-24 17:03:57 +02:00
  • e8e029dfb5
    Merge pull request #12522 from Snuffleupagus/_initializeJavaScript-fixes Tim van der Meij 2020-10-24 16:11:06 +02:00
  • da73537fdb
    Merge pull request #12524 from Snuffleupagus/pr-12333-followup Tim van der Meij 2020-10-24 16:06:01 +02:00
  • 180f35ee91
    Merge pull request #12526 from Snuffleupagus/TilingPattern-args Tim van der Meij 2020-10-24 15:47:57 +02:00
  • c493dc96fa
    Merge pull request #12516 from Snuffleupagus/fieldObjects-annotation-undefined Tim van der Meij 2020-10-24 15:42:33 +02:00
  • b478d3e7b9 Improve argument/name handling when parsing TilingPatterns (PR 12458 follow-up) Jonas Jenwald 2020-10-24 13:29:48 +02:00
  • 37c86b2daa Fallback font for buttons must be ZapfDingbats. Calixte Denizet 2020-10-21 17:21:33 +02:00
  • 85e6c67cf3 Split highlight annotation div into multiple divs Calixte Denizet 2020-10-21 13:12:43 +02:00
  • 9f8d9802f9 A couple of small (viewer) tweaks of tooltip-only Annotations (PR 12333 follow-up) Jonas Jenwald 2020-10-23 14:19:39 +02:00
  • 7bf9a872ed Fix a couple of edge-cases in PDFViewerApplication._initializeJavaScript (PR 12432 follow-up) Jonas Jenwald 2020-10-23 12:17:47 +02:00
  • 1eaf9c961b
    Merge pull request #12432 from calixteman/scripting_api Brendan Dahl 2020-10-22 19:57:58 -07:00
  • 8cf27494b3
    Merge pull request #12503 from calixteman/no_quad Tim van der Meij 2020-10-23 00:25:52 +02:00
  • 4258586c38
    Merge pull request #12515 from Snuffleupagus/eslint-no-abusive-eslint-disable Tim van der Meij 2020-10-22 22:00:05 +02:00
  • b44a975d7c Prevent issues, in PDFDocument.fieldObjects, for invalid Annotations Jonas Jenwald 2020-10-22 13:24:43 +02:00
  • 60d2ff5408 Enable the unicorn/no-abusive-eslint-disable ESLint plugin rule Jonas Jenwald 2020-10-22 12:47:53 +02:00
  • e76a96892a JS - Add the basic architecture to be able to execute embedded js Calixte Denizet 2020-10-01 13:57:23 +02:00
  • d2ef878702 Invalidate an annotation with no quadPoints (when it's required) Calixte Denizet 2020-10-21 12:00:34 +02:00
  • b7b048e36c Fix getVisibleElements helper in RTL-locales Mohamed 2020-10-09 16:20:06 +02:00
  • e389ed6201
    Merge pull request #12493 from Snuffleupagus/PDFHistory.pushPage Tim van der Meij 2020-10-20 22:20:11 +02:00
  • b302fd3a6e Move updating of this._maxUid into PDFHistory._updateInternalState Jonas Jenwald 2020-10-12 12:26:19 +02:00
  • 295716f496 Support adding pages, in addition to regular destinations, to the browser history and use it with thumbnails (issue 12440) Jonas Jenwald 2020-10-03 18:08:30 +02:00
  • 8431cfe482 Re-name and re-factor the PDFLinkService.navigateTo method Jonas Jenwald 2020-10-03 17:43:33 +02:00
  • 4b4ac8a13d
    Merge pull request #12491 from Snuffleupagus/update-packages Tim van der Meij 2020-10-18 14:27:47 +02:00
  • ab31f95cb4 Update l10n files Jonas Jenwald 2020-10-18 11:01:06 +02:00
  • 641ad1c3a0 Update npm packages Jonas Jenwald 2020-10-18 10:57:52 +02:00
  • d2874d4ed4
    Merge pull request #12489 from calixteman/field_obj_test Tim van der Meij 2020-10-17 22:59:27 +02:00
  • e46e314867 Add a test for pdfDocument::fieldObjects Calixte Denizet 2020-10-17 15:15:17 +02:00
  • 3fa3cb6d8a
    Merge pull request #12485 from calixteman/calculation_order Tim van der Meij 2020-10-17 15:06:22 +02:00
  • c30a3a94f0 JS - Add a function in api to get the fields ids in AcroForm::CO Calixte Denizet 2020-10-16 17:15:58 +02:00
  • ff2631493e
    Merge pull request #12481 from calixteman/issue_12475 Tim van der Meij 2020-10-16 22:55:43 +02:00
  • 32bceae732
    Merge pull request #12483 from Snuffleupagus/formInfo-hasFields Tim van der Meij 2020-10-16 22:40:40 +02:00
  • 127bb03e03
    Merge pull request #12486 from Snuffleupagus/font-Dict-cacheKey Tim van der Meij 2020-10-16 22:30:17 +02:00
  • f956d0a96a Stop caching the *parsed* Font data on its Dict object (PR 7347 follow-up) Jonas Jenwald 2020-10-16 17:45:01 +02:00
  • 29af15f37e Add more validation in the PDFDocument._hasOnlyDocumentSignatures method Jonas Jenwald 2020-10-16 12:57:01 +02:00
  • 3351d3476d Don't store complex data in PDFDocument.formInfo, and replace the fields object with a hasFields boolean instead Jonas Jenwald 2020-10-16 12:20:44 +02:00
  • b710fbcb00
    Merge pull request #12478 from Snuffleupagus/async-translateFont Tim van der Meij 2020-10-15 22:25:34 +02:00
  • ee665fc053
    Merge pull request #12479 from Snuffleupagus/fix-formInfo-test Tim van der Meij 2020-10-15 22:19:05 +02:00
  • ce3d3a6ff8 Get urls if any in AA::D dictionary for pushbuttons Calixte Denizet 2020-10-15 19:42:36 +02:00
  • 5f8957e8df Fix the "should get form info when AcroForm is present" unit-test Jonas Jenwald 2020-10-15 13:20:27 +02:00
  • bc6b47a50e Convert PartialEvaluator.translateFont to an async method Jonas Jenwald 2020-10-15 09:30:54 +02:00
  • a373137304
    Merge pull request #12429 from calixteman/collect_js Tim van der Meij 2020-10-14 23:27:47 +02:00
  • 71ecc3129b Add the possibility to collect Javascript actions Calixte Denizet 2020-09-30 20:58:45 +02:00
  • 1034769ca1
    Merge pull request #12477 from Snuffleupagus/SaveDocument-WorkerTask Tim van der Meij 2020-10-13 21:11:54 +02:00
  • 0700a3de36
    Merge pull request #12476 from Snuffleupagus/worker-rm-handler-scope Tim van der Meij 2020-10-13 21:08:48 +02:00
  • 65132ba5d8 Handle WorkerTasks, and various PDF document properties, correctly in the "SaveDocument" handler in src/core/worker.js Jonas Jenwald 2020-10-13 19:30:43 +02:00
  • 38629c345d Remove the scope parameter from the "GetOperatorList" handler in src/core/worker.js (PR 11110 follow-up) Jonas Jenwald 2020-10-13 15:52:57 +02:00
  • 49791f55b3
    Merge pull request #12470 from Snuffleupagus/webpack-5 Tim van der Meij 2020-10-11 14:50:32 +02:00
  • e7437a0b67 Use standard import statements when loading PDFViewerApplication/AppOptions in web/viewer Jonas Jenwald 2020-10-11 13:56:27 +02:00
  • 666dd73ce8 Upgrade webpack to version 5 Jonas Jenwald 2020-10-11 10:08:22 +02:00
  • e59a90d8e9
    Merge pull request #12458 from Snuffleupagus/LocalTilingPatternCache Tim van der Meij 2020-10-08 22:47:13 +02:00
  • 30e8d5dea1 Add local caching of TilingPatterns in PartialEvaluator.getOperatorList (issue 2765 and 8473) Jonas Jenwald 2020-10-08 17:33:23 +02:00
  • 99a2302d88
    Merge pull request #12454 from Snuffleupagus/terser-5 Tim van der Meij 2020-10-07 22:04:31 +02:00
  • 3461eac7b8 Upgrade terser to version 5 Jonas Jenwald 2020-10-07 14:28:17 +02:00
  • fd1d9cc85f
    Merge pull request #12451 from Snuffleupagus/acorn-8 Tim van der Meij 2020-10-06 22:03:03 +02:00
  • bc036c05bd Upgrade acorn to version 8 Jonas Jenwald 2020-10-06 13:34:45 +02:00
  • 7ae3e13f16
    Merge pull request #12450 from janpe2/cff-xuid Tim van der Meij 2020-10-05 22:54:39 +02:00
  • 10e7623123
    Merge pull request #12448 from Snuffleupagus/eslint-no-debugger-alert Tim van der Meij 2020-10-05 22:47:31 +02:00
  • 935568c2f1 Fix invalid XUID entries in CFF fonts Jani Pehkonen 2020-10-05 17:38:01 +03:00
  • ba079453bf Enable the ESLint no-debugger and no-alert rules Jonas Jenwald 2020-10-05 13:30:20 +02:00
  • b3e32e2001
    Merge pull request #12446 from Snuffleupagus/firefox-print-RenderingCancelledException Tim van der Meij 2020-10-04 23:38:31 +02:00
  • a1028e2b9b
    Merge pull request #12445 from timvandermeij/packages Tim van der Meij 2020-10-04 23:27:22 +02:00
  • 505f14e816
    Upgrade minor/major versions of dependencies that don't require code changes Tim van der Meij 2020-10-04 18:53:43 +02:00
  • 069ddc8686 [Firefox] Stop logging RenderingCancelledExceptions as errors when printing Jonas Jenwald 2020-10-04 20:08:52 +02:00
  • e0c80a3556
    Remove the fancy-log dependency Tim van der Meij 2020-10-04 17:30:39 +02:00
  • 910772cfcf
    Merge pull request #12444 from Snuffleupagus/update-packages Tim van der Meij 2020-10-04 16:15:44 +02:00
  • c5a1a6fdd5 Remove now unnecessary no-unsanitized/method disabling in test/unit/jasmine-boot.js Jonas Jenwald 2020-10-04 14:11:28 +02:00
  • ffb0bb885c Update l10n files Jonas Jenwald 2020-10-04 13:53:39 +02:00
  • 082e7b5200 Fix (some) vulnerabilities reported by npm audit Jonas Jenwald 2020-10-04 13:50:37 +02:00
  • 522c93b916 Update npm packages Jonas Jenwald 2020-10-04 13:49:28 +02:00
  • 47131707bc
    Merge pull request #12442 from timvandermeij/upgrade-puppeteer Tim van der Meij 2020-10-04 15:01:09 +02:00
  • c10aac9a1d
    Upgrade Puppeteer to version 5.3.1 Tim van der Meij 2020-10-03 23:06:31 +02:00
  • 2823beba69
    Merge pull request #12441 from Snuffleupagus/src-eslint-config Tim van der Meij 2020-10-03 22:36:13 +02:00
  • 9416b14e8b Re-factor how the ESLint no-var rule is enabled in the src/ folder Jonas Jenwald 2020-10-03 12:26:25 +02:00
  • 48e27a1a22
    Merge pull request #12437 from Snuffleupagus/src-display-no-var Tim van der Meij 2020-10-03 19:59:56 +02:00
  • 6ff1fe4ea9
    Merge pull request #12333 from calixteman/tooltip Tim van der Meij 2020-10-03 19:50:39 +02:00
  • 76e96d4364
    Merge pull request #12436 from Snuffleupagus/src-shared-no-var Tim van der Meij 2020-10-03 18:47:13 +02:00