Commit Graph

  • 892af51269
    Merge pull request #13859 from Snuffleupagus/refactor-EOF Tim van der Meij 2021-08-03 23:11:10 +02:00
  • ad702d7088
    Merge pull request #13860 from mozilla/dependabot/npm_and_yarn/tar-4.4.15 Jonas Jenwald 2021-08-03 22:20:32 +02:00
  • 81a6ade590
    Bump tar from 4.4.8 to 4.4.15 dependabot[bot] 2021-08-03 19:41:11 +00:00
  • 766299016f Remove the isEOF helper function and slightly re-factor EOF Jonas Jenwald 2021-08-03 12:41:58 +02:00
  • be1ee155d1 XFA - Avoid to put something in very small areas - it aims to fix #13855. Calixte Denizet 2021-08-03 16:22:52 +02:00
  • 0b95d698d8
    Merge pull request #13852 from calixteman/xfa_print_1 calixteman 2021-08-03 16:28:26 +02:00
  • d5e14d3dc3 Prevent breaking errors when an optional content group is undefined (issue 13851) Jonas Jenwald 2021-08-03 15:50:25 +02:00
  • 19309c1f28 XFA - Page can be too small when printing (bug 1723705) Calixte Denizet 2021-08-03 15:07:33 +02:00
  • d5302315ce
    Merge pull request #13847 from Snuffleupagus/issue-13835 Jonas Jenwald 2021-08-03 11:49:01 +02:00
  • 8fef8630fe Remove the LGTM configuration and inline disable comments (issue 13829) Jonas Jenwald 2021-08-03 11:14:49 +02:00
  • 705d1cfad3 Remove useless assignment of availableSpace in the src/core/xfa/template.js file (issue 13829, 13835) Jonas Jenwald 2021-08-03 10:58:57 +02:00
  • 01fd0f59b7
    Merge pull request #13842 from Rob--W/text-selection-br Jonas Jenwald 2021-08-01 21:30:53 +02:00
  • bcdf006a71
    Merge pull request #13841 from Rob--W/crx-viewerCssTheme Jonas Jenwald 2021-08-01 20:32:56 +02:00
  • 1eeb153688 Visually hide br in text selections Rob Wu 2021-08-01 19:42:05 +02:00
  • a51b4a9cb0 [CRX] Use dark theme by default in Chrome extension Rob Wu 2021-08-01 18:55:17 +02:00
  • 867150e4f0 [CRX] Add option to customize Theme in options UI Rob Wu 2021-08-01 18:51:02 +02:00
  • 4cdac66663
    Merge pull request #13839 from Snuffleupagus/issue-13838 Tim van der Meij 2021-08-01 18:40:32 +02:00
  • 16a09eaed8 Fix a broken regular expression in the docId unit-test (issue 13838, PR 13813 follow-up) Jonas Jenwald 2021-08-01 15:18:25 +02:00
  • 273cea8675
    Merge pull request #13837 from timvandermeij/unit-test-query-string Tim van der Meij 2021-08-01 14:26:33 +02:00
  • d1c0f8f91c
    Implement unit tests for the parseQueryString utility function Tim van der Meij 2021-08-01 13:54:16 +02:00
  • 449f941b7b
    Merge pull request #13831 from Snuffleupagus/parseQueryString-Map Tim van der Meij 2021-08-01 12:21:43 +02:00
  • 1ea8cfa2f2
    Merge pull request #13836 from timvandermeij/cmaps Jonas Jenwald 2021-08-01 12:20:51 +02:00
  • 0d84f57cfa
    Fix inefficient regular expressions in external/cmapscompress/parse.js Tim van der Meij 2021-08-01 12:11:10 +02:00
  • 4483cba724
    Merge pull request #13833 from tamuratak/add_peer_dep_meta_for_worker_loader Jonas Jenwald 2021-08-01 11:28:59 +02:00
  • 9eca5e5c86 Make worker-loader optional as peerDependencies. Close #13825. Takashi Tamura 2021-08-01 12:59:17 +09:00
  • 4ab4efd42f Change the parseQueryString function to return a Map rather than an Object (issue 13829) Jonas Jenwald 2021-07-31 22:15:30 +02:00
  • 222c9e7e84
    Merge pull request #13830 from timvandermeij/codeql Jonas Jenwald 2021-07-31 16:25:24 +02:00
  • 574fed2bdf
    Improve the code analysis workflow with quality checks Tim van der Meij 2021-07-31 15:33:07 +02:00
  • 3ec1bac901
    Merge pull request #13828 from timvandermeij/github-advanced-security Tim van der Meij 2021-07-31 13:44:24 +02:00
  • 5a08d62e76
    Improve the CI workflow YAML file Tim van der Meij 2021-07-31 13:29:31 +02:00
  • 4774858d3c
    Introduce the GitHub Advanced Security workflow Mathew Payne 2021-07-31 13:29:00 +02:00
  • 10a1db6980
    Merge pull request #13824 from Snuffleupagus/issue-13823 Tim van der Meij 2021-07-30 22:48:38 +02:00
  • 67f4c34f63
    Merge pull request #13822 from Snuffleupagus/ReadableStreams-cancel-no-Uncaught_promise Tim van der Meij 2021-07-30 22:09:29 +02:00
  • 99b14a9da0
    Merge pull request #13813 from Snuffleupagus/rm-closure-API Tim van der Meij 2021-07-30 21:55:45 +02:00
  • 314a1365bc
    Merge pull request #13816 from Snuffleupagus/rm-BaseViewer-enableScripting-option Tim van der Meij 2021-07-30 21:49:14 +02:00
  • ff71be793d When no "V" entry exists, let the fieldValue fallback to the "DV" entry (issue 13823) Jonas Jenwald 2021-07-30 16:15:41 +02:00
  • 649d091167
    Merge pull request #13819 from calixteman/xfa_exdata calixteman 2021-07-30 16:12:32 +02:00
  • 7bb5331087 XFA - Avoid an error when an exdata is a string (bug 1723114) Calixte Denizet 2021-07-29 14:27:17 +02:00
  • 1df9da949e Prevent "Uncaught promise" messages in the console when cancelling (some) ReadableStreams Jonas Jenwald 2021-07-30 14:13:02 +02:00
  • 5fac0a4350 Simplify some code related to fallbackWorkerSrc and getMainThreadWorkerMessageHandler Jonas Jenwald 2021-07-28 12:14:07 +02:00
  • 4c679d80ac Remove the closure used with the InternalRenderTask class Jonas Jenwald 2021-07-28 11:58:08 +02:00
  • b18620ac0f Remove the closure used with the PDFDocumentLoadingTask class Jonas Jenwald 2021-07-28 11:50:44 +02:00
  • 76c805f83b [api-minor] Remove the separate enableScripting option in BaseViewer Jonas Jenwald 2021-07-29 09:53:24 +02:00
  • 4ad5c5d52a
    Merge pull request #13808 from brendandahl/pattern-cache-v2 Brendan Dahl 2021-07-28 11:17:16 -07:00
  • edbe9692b4
    Merge pull request #13815 from calixteman/xfa_fonts2 calixteman 2021-07-28 19:45:45 +02:00
  • c836e1f0fb Improve caching of shading patterns. (bug 1721949) Brendan Dahl 2021-07-27 19:58:06 -07:00
  • 4a4591bd2c XFA - Fix font scale factors (bug 1720888) - All the scale factors in for the substitution font were wrong because of different glyph positions between Liberation and the other ones: - regenerate all the factors - Text may have polish chars for example and in this case the glyph widths were wrong: - treat substitution font as a composite one - add a map glyphIndex to unicode for Liberation in order to generate width array for cid font Calixte Denizet 2021-07-28 18:30:22 +02:00
  • ac5c4b7fd0
    Merge pull request #13806 from calixteman/xfa_fields calixteman 2021-07-28 17:01:15 +02:00
  • 92f4cc52a6 XFA - Add a transparent blue background on all text fields for consistency Calixte Denizet 2021-07-28 11:34:48 +02:00
  • 76d882b560 XFA - Fix auto-sized fields (bug 1722030) - In order to better compute text fields size, use line height with no gaps (and consequently guessed height for text are slightly better in general). - Fix default background color in fields. Calixte Denizet 2021-07-27 18:43:05 +02:00
  • 336a74a0e5
    Merge pull request #13796 from Snuffleupagus/issue-13794 Tim van der Meij 2021-07-27 22:25:58 +02:00
  • 45f3804737
    Merge pull request #13807 from calixteman/fulltext calixteman 2021-07-27 22:22:37 +02:00
  • d3dffa7fa3
    Merge pull request #13804 from Snuffleupagus/move-viewer-compatibilityParams Tim van der Meij 2021-07-27 22:13:40 +02:00
  • e51cbe63bf
    Merge pull request #13801 from Snuffleupagus/AnnotationLayer-check-navigator Tim van der Meij 2021-07-27 22:10:27 +02:00
  • bd6f55186d XFA - Get the full value when binding and not only the 1st line (bug 1718725) Calixte Denizet 2021-07-27 20:12:25 +02:00
  • 6c95d0cb2c Move the compatibilityParams into the web/app_options.js file Jonas Jenwald 2021-07-27 12:23:33 +02:00
  • 4b3ab1472c Access navigator safely in the src/display/annotation_layer.js file Jonas Jenwald 2021-07-27 09:25:36 +02:00
  • 7305b7464f
    Merge pull request #13795 from calixteman/image_gd calixteman 2021-07-27 09:36:55 +02:00
  • 959120e6c9 XFA - Elements created outside of XML must have all their properties (bug 1722029) - an Image element was created, attached to its parent but the $globalData property was not set and that led to an error. - the pdf in bug 1722029 has 27 rendered rows (checked in Acrobat) when only one was displayed: this patch some binding issues around the occur element. Calixte Denizet 2021-07-26 16:14:46 +02:00
  • 885e7a8aa4 Allow StreamsSequenceStream.readBlock to skip sub-streams with errors (issue 13794) Jonas Jenwald 2021-07-26 15:34:14 +02:00
  • 777d890268
    Merge pull request #13792 from Snuffleupagus/rm-canvas-closure Tim van der Meij 2021-07-25 14:42:44 +02:00
  • c2e0a36c51
    Merge pull request #13793 from timvandermeij/bump Tim van der Meij 2021-07-25 13:44:02 +02:00
  • 08f25c05f5
    Bump versions in pdfjs.config Tim van der Meij 2021-07-25 13:39:57 +02:00
  • e1fa845293 Only define *existing* methods, when converting the OPS format to method-names on the CanvasGraphics.prototype Jonas Jenwald 2021-07-25 13:18:24 +02:00
  • fbaafdc4e8 Remove the remaining closure in the src/display/canvas.js file Jonas Jenwald 2021-07-25 12:55:51 +02:00
  • 156762c482
    Merge pull request #13790 from Snuffleupagus/update-packages v2.10.377 Tim van der Meij 2021-07-25 12:21:23 +02:00
  • 833f27c677 Disable a LGTM warning, again (PR 13787 follow-up) Jonas Jenwald 2021-07-25 10:32:40 +02:00
  • aad0316137 Update l10n files Jonas Jenwald 2021-07-25 10:31:40 +02:00
  • 2a667b92d8 Update npm packages Jonas Jenwald 2021-07-25 10:24:10 +02:00
  • bcd6dc416a
    Merge pull request #13788 from timvandermeij/eslint-rules Jonas Jenwald 2021-07-24 15:51:54 +02:00
  • 41a2b5c809
    Merge pull request #13787 from Snuffleupagus/lgtm-fix-warnings Tim van der Meij 2021-07-24 15:20:07 +02:00
  • fb99b0df0e
    Enable the no-empty-character-class and no-template-curly-in-string linting rules Tim van der Meij 2021-07-24 15:09:23 +02:00
  • 7b6767d415
    Merge pull request #13784 from Snuffleupagus/issue-13783 Tim van der Meij 2021-07-24 14:37:39 +02:00
  • 687cfcecd4
    Merge pull request #13786 from Snuffleupagus/rm-more-src-core-closures Tim van der Meij 2021-07-24 14:26:57 +02:00
  • 70bac87fed Fix (most) LGTM warnings Jonas Jenwald 2021-07-24 13:54:52 +02:00
  • 9854b85dc1
    Merge pull request #13775 from Snuffleupagus/Dict-merge-refactor Tim van der Meij 2021-07-24 14:21:41 +02:00
  • ebbbc973a5 Remove the closure used with the PostScriptToken class Jonas Jenwald 2021-07-24 13:05:46 +02:00
  • 81009d42cf Remove the closure used with the PostScriptStack class Jonas Jenwald 2021-07-24 12:59:53 +02:00
  • 834a638aad
    Merge pull request #13782 from Snuffleupagus/viewer-reset-xfaLayer Jonas Jenwald 2021-07-24 10:39:30 +02:00
  • b82c802dff When parsing corrupt documents, avoid inserting obviously broken data in the XRef-table (issue 13783) Jonas Jenwald 2021-07-23 17:37:55 +02:00
  • f85f579971 Reduce unnecessary duplication when cancelling annotationLayer/xfaLayer rendering Jonas Jenwald 2021-07-23 14:14:42 +02:00
  • d22ffbbc0a [api-minor] XFA - Remove the xfaLayer from the DOM when resetting pages (bug 1721977, PR 13427 follow-up) Jonas Jenwald 2021-07-23 11:37:38 +02:00
  • 51f0a81085
    Merge pull request #13770 from brendandahl/cache-pattern Jonas Jenwald 2021-07-23 10:43:23 +02:00
  • da1af02ac8 Improve performance of reused patterns. Brendan Dahl 2021-07-21 12:27:39 -07:00
  • ead394debd
    Merge pull request #13778 from calixteman/default_ui calixteman 2021-07-22 21:14:01 +02:00
  • a51c4a3a0f XFA - A field without an ui must provide a default one (bug 1718245) Calixte Denizet 2021-07-22 19:34:19 +02:00
  • 4860ea4711
    Merge pull request #13777 from calixteman/xfa_rect calixteman 2021-07-22 19:45:29 +02:00
  • b68d2100b4 XFA - SVG elements mustn't get any pointer events (bug 1721589) - a rectangle can be defined after a field and so from a z-index pov, it's on top of the field, which means that the rectangle avoid to have some mouse events in the fields; - so this patch just disable pointer events for all elements under svg (included). Calixte Denizet 2021-07-22 18:47:23 +02:00
  • 181580062c
    Merge pull request #13776 from Snuffleupagus/lgtm-more-test Jonas Jenwald 2021-07-22 15:16:07 +02:00
  • 10c29ed473 Include most of the test-folder in the LGTM report (PR 13772 follow-up) Jonas Jenwald 2021-07-22 14:22:30 +02:00
  • e1ee3835cd Remove some duplication in the Dict.merge method Jonas Jenwald 2021-07-22 13:20:28 +02:00
  • ab7b577d85
    Merge pull request #13772 from Snuffleupagus/lgtm-exclude-tests Jonas Jenwald 2021-07-22 09:35:00 +02:00
  • bdde1336f1 Include the font/integration/unit-test folders in the LGTM report Jonas Jenwald 2021-07-22 00:26:21 +02:00
  • 2cf90cd9ad
    Merge pull request #13766 from Snuffleupagus/issue-13751 Jonas Jenwald 2021-07-21 18:58:29 +02:00
  • 3fa319ab0e
    Merge pull request #13768 from calixteman/ns_agnostic calixteman 2021-07-21 18:25:30 +02:00
  • 5555114bb3 XFA - Remove namespace from nodes under xfa:data node - in real life some xfa contains xml like <xfa:data><xfa:Foo><xfa:Bar>...</xfa:data> since there are no Foo or Bar in the xfa namespace the JS representation are empty and that leads to errors. - so the idea is to make all nodes under xfa:data namespace agnostic which means that ns are removed from nodes in the parser but only xfa:data descendants. Calixte Denizet 2021-07-21 16:24:53 +02:00
  • 7d1c19f8bd XFA - Handle startIndex correctly in the Template.$toHTML method (issue 13751) Jonas Jenwald 2021-07-21 09:06:25 +02:00
  • 6c9b6bc599
    Merge pull request #13764 from Snuffleupagus/issue-13748 Jonas Jenwald 2021-07-20 18:55:23 +02:00
  • bdeb41a294
    Merge pull request #13763 from calixteman/bug_1720907 calixteman 2021-07-20 18:19:56 +02:00
  • c2fe493abe XFA - Add a missing method to XFAAttribute, to prevent breaking errors (issue 13748) Jonas Jenwald 2021-07-20 17:14:20 +02:00