Commit Graph

  • baed09f1ff
    print: Ensure print containers have the right size and don't create overflow. Emilio Cobos Álvarez 2021-03-14 13:12:50 +01:00
  • 7fef896a9f
    Merge pull request #13094 from timvandermeij/no-var-src Tim van der Meij 2021-03-14 11:59:09 +01:00
  • 6df8f301cd
    Merge pull request #13098 from Snuffleupagus/eslint-no-var-external Tim van der Meij 2021-03-14 11:53:52 +01:00
  • a2f0573a64
    Enable the no-var linting rule for src/core/operator_list.js Tim van der Meij 2021-03-13 18:04:49 +01:00
  • 96d2a2f795 Enable the ESLint no-var rule in the external/ folder Jonas Jenwald 2021-03-14 11:06:48 +01:00
  • 24ff738e7b
    Enable the no-var linting rule for src/core/pattern.js Tim van der Meij 2021-03-13 17:54:52 +01:00
  • 67b866b9ed
    Merge pull request #13095 from Snuffleupagus/eslint-cmapscompress Tim van der Meij 2021-03-14 11:40:50 +01:00
  • cc59c81fe6
    Merge pull request #13096 from Snuffleupagus/eslint-no-var-stats Tim van der Meij 2021-03-14 11:34:06 +01:00
  • 0ad9265555
    Merge pull request #13097 from Snuffleupagus/eslint-no-var-add_test Tim van der Meij 2021-03-14 11:31:55 +01:00
  • 7ec2bd0f01 Enable the ESLint no-var rule in test/add_test.js Jonas Jenwald 2021-03-14 10:25:51 +01:00
  • 473f0aeeb2 Enable the ESLint no-var rule in the test/stats/ folder Jonas Jenwald 2021-03-14 10:03:09 +01:00
  • 98e658ddf0 Enable linting of the external/cmapscompress/ folder Jonas Jenwald 2021-03-13 18:30:24 +01:00
  • b9f4d89254 Fix *most* linting/formatting issues in the external/cmapscompress/ folder Jonas Jenwald 2021-03-13 18:29:00 +01:00
  • c86f44f423
    Merge pull request #13093 from Snuffleupagus/eslint-no-var-builder Tim van der Meij 2021-03-13 18:52:18 +01:00
  • f0f307a4b5 Enable the ESLint no-var rule in the external/builder/ folder Jonas Jenwald 2021-03-13 17:40:44 +01:00
  • 06494ccdac Replace *most* cases of var with let/const in the external/builder/ folder Jonas Jenwald 2021-03-13 17:37:27 +01:00
  • fb78604383
    Merge pull request #13091 from Snuffleupagus/eslint-no-var Tim van der Meij 2021-03-13 17:39:53 +01:00
  • 6b97958511
    Merge pull request #13092 from Snuffleupagus/eslint-no-var-importL10n Tim van der Meij 2021-03-13 17:34:05 +01:00
  • 2ffa428d78 Enable the ESLint no-var rule in the importL10n/ folder Jonas Jenwald 2021-03-13 17:23:41 +01:00
  • 5b5061afa8 Enable the ESLint no-var rule globally Jonas Jenwald 2021-03-13 15:51:44 +01:00
  • 412f01aeaf Dispatch a "Doc/WillClose" event, when scripting is enabled, when closing the document Jonas Jenwald 2021-03-06 18:21:34 +01:00
  • 17c0bf0473
    Merge pull request #13084 from Snuffleupagus/type1-class Tim van der Meij 2021-03-13 13:15:53 +01:00
  • 1abdcbaab5
    Merge pull request #13087 from Snuffleupagus/eslint-examples-no-var Tim van der Meij 2021-03-13 13:04:00 +01:00
  • ba567321da
    Merge pull request #13079 from Snuffleupagus/issue-13075 Tim van der Meij 2021-03-13 12:58:29 +01:00
  • 6ae81255bc
    Merge pull request #13090 from Snuffleupagus/eslint-no-var-gulpfile Tim van der Meij 2021-03-13 12:55:34 +01:00
  • 22e0ed51c6 Remove unnecessary /* eslint no-var: error */ lines in the test/unit/ folder (PR 12528 follow-up) Jonas Jenwald 2021-03-13 11:50:11 +01:00
  • f58fee0956 Enable the ESLint no-var rule in gulpfile.js Jonas Jenwald 2021-03-13 11:42:40 +01:00
  • 50681d71c8 Ensure that getDocument handles Node.js Buffers more gracefully (issue 13075) Jonas Jenwald 2021-03-10 23:13:55 +01:00
  • 61318c42aa
    Merge pull request #13085 from Snuffleupagus/driver-rasterize-errors Tim van der Meij 2021-03-12 21:16:16 +01:00
  • be4a41960a
    Merge pull request #13081 from Snuffleupagus/objectFromMap Tim van der Meij 2021-03-12 21:12:03 +01:00
  • 6af9b6449e
    Merge pull request #13074 from Snuffleupagus/scripting-refactor-destroy Tim van der Meij 2021-03-12 21:08:05 +01:00
  • d144d01afe Simplify the animationStarted handling in the mobile-viewer/ example Jonas Jenwald 2021-03-12 17:19:58 +01:00
  • 5c712f2131 Enable the ESLint no-var rule in the examples/ folder Jonas Jenwald 2021-03-12 17:12:41 +01:00
  • 276fa4ad8f Replace *most* cases of var with let/const in the examples/ folder Jonas Jenwald 2021-03-12 17:08:17 +01:00
  • 39cd844243 Ensure that *all* errors are handled in rasterizeTextLayer/rasterizeAnnotationLayer Jonas Jenwald 2021-03-12 14:00:12 +01:00
  • ab91f42a5e Convert code in src/core/type1_parser.js to use "standard" classes Jonas Jenwald 2021-03-12 12:08:26 +01:00
  • 8fc8dc020e Enable the ESLint no-var rule in the src/core/type1_parser.js file Jonas Jenwald 2021-03-12 12:02:01 +01:00
  • 82062f7e0d Enable the ESLint no-var rule in the src/core/cff_parser.js file Jonas Jenwald 2021-03-12 11:55:44 +01:00
  • f3948aeb90 Enable the ESLint no-var rule in the src/core/font_renderer.js file Jonas Jenwald 2021-03-12 11:49:06 +01:00
  • 56fd01bf8d
    Merge pull request #13078 from brendandahl/disable-missing Brendan Dahl 2021-03-11 21:17:54 -08:00
  • 47a5550f10 Disable intermittent unit test "creates pdf doc from non-existent URL" Brendan Dahl 2021-03-10 10:38:09 -08:00
  • 1b42fe2917
    Merge pull request #13015 from calixteman/avoid_dl Brendan Dahl 2021-03-11 08:43:49 -08:00
  • b326432895 Simplify the data lookup in the AnnotationStorage.getValue method Jonas Jenwald 2021-03-11 16:25:53 +01:00
  • a0e584eeb2 Replace the objectFromEntries helper function with an objectFromMap one instead Jonas Jenwald 2021-03-11 16:20:53 +01:00
  • 3d4bb5e5c5
    Merge pull request #13018 from calixteman/xfa_bind Brendan Dahl 2021-03-10 10:27:06 -08:00
  • 52a598915f Re-factor the PDFScriptingManager._destroyScripting method (PR 13042 follow-up) Jonas Jenwald 2021-03-10 12:31:45 +01:00
  • 3243672727 XFA - Create Form DOM in merging template and data trees - Spec: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=171; - support for the 2 ways of merging: consumeData and matchTemplate; - create additional nodes in template DOM when occur node allows it; - support for global values in data DOM. Calixte Denizet 2021-02-24 19:05:04 +01:00
  • 5e3af62d58
    Merge pull request #13063 from Snuffleupagus/more-web-optional-chaining Tim van der Meij 2021-03-07 19:00:57 +01:00
  • bc13932ac1 Use more optional chaining in the web/-folder (PR 12961 follow-up) Jonas Jenwald 2021-03-07 16:12:29 +01:00
  • bdde621366 Avoid unnecessary size_kb calculation, for large files, in PDFDocumentProperties._parseFileSize (PR 13050 follow-up) Jonas Jenwald 2021-03-05 16:45:13 +01:00
  • 34c9e889ac
    Merge pull request #13062 from Snuffleupagus/rm-features Tim van der Meij 2021-03-07 13:51:49 +01:00
  • 36bb4fa823 Remove the test/features folder, since it's very out of date (issue 11954) Jonas Jenwald 2021-03-07 13:30:56 +01:00
  • ba1b4097dc
    Merge pull request #13055 from calixteman/reset_radio Tim van der Meij 2021-03-07 13:23:18 +01:00
  • 11d86df4a7
    Merge pull request #13060 from Snuffleupagus/update-packages Tim van der Meij 2021-03-07 12:54:13 +01:00
  • d4cf751f91 Update l10n files Jonas Jenwald 2021-03-07 12:02:48 +01:00
  • 75eb2aedaa Update npm packages Jonas Jenwald 2021-03-07 12:00:57 +01:00
  • c01ef24541 JS - reset correctly radio buttons Calixte Denizet 2021-03-06 17:19:57 +01:00
  • 709c57a66b
    Merge pull request #13054 from Snuffleupagus/scripting-pageOpenClose Tim van der Meij 2021-03-06 20:33:07 +01:00
  • 87dd93b7fc Move handling of the PageOpen/PageClose events into the PDFScriptingManager (PR 13042 follow-up) Jonas Jenwald 2021-03-04 14:49:02 +01:00
  • fb87704b38
    Merge pull request #13042 from Snuffleupagus/PDFScriptingManager Tim van der Meij 2021-03-05 21:43:42 +01:00
  • a6d1cba38c [api-minor] Move the viewer scripting initialization/handling into a new PDFScriptingManager class Jonas Jenwald 2021-03-05 00:15:18 +01:00
  • 5b9638329c Move apiPageLayoutToSpreadMode and apiPageModeToSidebarView from web/app.js and into web/ui_utils.js Jonas Jenwald 2021-03-05 00:15:03 +01:00
  • 583d77a53f
    Merge pull request #13053 from Snuffleupagus/dev-enableScripting Tim van der Meij 2021-03-05 20:27:25 +01:00
  • bd7868f54c Remove the standalone acroforms example Jonas Jenwald 2021-03-01 16:25:18 +01:00
  • 7dc1bbf05e Enable scripting by default in the development viewer Jonas Jenwald 2021-03-01 16:25:12 +01:00
  • 4b49db7c95
    Merge pull request #13050 from Snuffleupagus/l10n-fallback Tim van der Meij 2021-03-04 23:46:48 +01:00
  • 038668bf8c Collect all l10n fallback strings, used in the viewer, in one helper function (PR 12981 follow-up) Jonas Jenwald 2021-02-22 12:43:16 +01:00
  • 8d203b3039
    Merge pull request #13045 from mozilla/dependabot/npm_and_yarn/pug-code-gen-2.0.3 Tim van der Meij 2021-03-03 19:51:22 +01:00
  • 6312a321df
    Bump pug-code-gen from 2.0.1 to 2.0.3 dependabot[bot] 2021-03-03 02:28:49 +00:00
  • 9d91237d14
    Merge pull request #13039 from Snuffleupagus/issue-13036 Tim van der Meij 2021-03-01 23:25:44 +01:00
  • 7c52c01267 Change the background to ensure that the sidebar is visible/readable when the viewer is narrow (issue 13036) Jonas Jenwald 2021-03-01 18:27:27 +01:00
  • 63c5d449f2
    Merge pull request #13033 from timvandermeij/annotation-line-without-appearance Tim van der Meij 2021-02-28 20:02:01 +01:00
  • 5828ff6cb0
    Implement rendering line annotations without appearance stream Tim van der Meij 2021-02-28 18:51:37 +01:00
  • d6e0b2d92e
    Merge pull request #13032 from Snuffleupagus/parseDestDictionary-actionName-warn Tim van der Meij 2021-02-28 14:52:06 +01:00
  • 5f37d4e2b4
    Merge pull request #13031 from timvandermeij/annotation-square-circle-no-appearance-stream Tim van der Meij 2021-02-28 14:47:13 +01:00
  • 39cf4a0008 Don't warn about actions that require scripting support in Catalog.parseDestDictionary Jonas Jenwald 2021-02-28 13:11:22 +01:00
  • fa6cebf045
    Implement rendering square/circle annotations without appearance stream Tim van der Meij 2021-02-21 17:10:35 +01:00
  • 8e74278b65
    Merge pull request #13030 from Snuffleupagus/cmap-class-async Tim van der Meij 2021-02-27 16:11:37 +01:00
  • 05de20071a Modernize some of the code in src/core/cmap.js by using classes and async/await Jonas Jenwald 2021-02-27 14:20:43 +01:00
  • 5a8b849944
    Merge pull request #13029 from timvandermeij/no-var Tim van der Meij 2021-02-27 13:35:49 +01:00
  • 4e96d59fca
    Use a buffer instead of string concatenation in reverseIfRtl in src/core/unicode.js Tim van der Meij 2021-02-27 13:18:43 +01:00
  • 24f80f1e38
    Enable the no-var linting rule in src/core/primitives.js Tim van der Meij 2021-02-27 12:51:01 +01:00
  • ed33727419
    Enable the no-var linting rule in src/core/glyphlist.js Tim van der Meij 2021-02-27 12:46:57 +01:00
  • e051d4d029
    Enable the no-var linting rule in src/core/ccitt_stream.js Tim van der Meij 2021-02-27 12:44:20 +01:00
  • 0897dddbbe
    Enable the no-var linting rule in src/core/unicode.js Tim van der Meij 2021-02-27 12:42:55 +01:00
  • cb82dda755
    Enable the no-var linting rule in src/core/metrics.js Tim van der Meij 2021-02-27 12:37:34 +01:00
  • 052db45e7a
    Merge pull request #13023 from calixteman/fix_color_test Tim van der Meij 2021-02-26 23:22:23 +01:00
  • 2da850d8c9
    Merge pull request #13024 from Snuffleupagus/Puppeteer-8 Tim van der Meij 2021-02-26 22:42:11 +01:00
  • 55786a4880
    Merge pull request #13026 from Snuffleupagus/crypto-classes Tim van der Meij 2021-02-26 22:39:30 +01:00
  • 848753671f
    Merge pull request #13025 from Snuffleupagus/function-classes Tim van der Meij 2021-02-26 22:22:38 +01:00
  • 5dd749cd60
    Merge pull request #13014 from Snuffleupagus/Firefox-contentDispositionFilename Brendan Dahl 2021-02-26 07:50:00 -08:00
  • 6b4c4f80e4 Convert code in src/core/crypto.js to use "normal" classes Jonas Jenwald 2021-02-26 15:51:45 +01:00
  • b884757873 Inline the concatArrays function in calculatePDF20Hash Jonas Jenwald 2021-02-26 15:51:39 +01:00
  • 9a9a5b2365 Replace the compareByteArrays functions, in src/core/crypto.js, with the isArrayEqual helper function Jonas Jenwald 2021-02-26 15:51:32 +01:00
  • e69e8622a9 Convert code in src/core/function.js to use "normal" classes Jonas Jenwald 2021-02-26 13:15:07 +01:00
  • bb155cea5d Update Puppeteer to version 8 Jonas Jenwald 2021-02-26 12:08:02 +01:00
  • 17363bbc6f Fix integration test with js-colors - need to wait for color change to check its value. Calixte Denizet 2021-02-26 00:16:19 +01:00
  • 6fd899dc44 [api-minor] Support the Content-Disposition filename in the Firefox PDF Viewer (bug 1694556, PR 9379 follow-up) Jonas Jenwald 2021-02-24 13:02:58 +01:00
  • 061637d3f4
    Merge pull request #13021 from Snuffleupagus/createObjectURL-rm-shadow Tim van der Meij 2021-02-25 23:35:17 +01:00
  • 163a840a1e
    Merge pull request #13020 from Snuffleupagus/rm-some-NullL10n-use Tim van der Meij 2021-02-25 23:27:49 +01:00