Commit Graph

  • 9ac4536693 Enable the unicorn/prefer-at ESLint plugin rule (PR 15008 follow-up) Jonas Jenwald 2022-06-09 12:53:39 +02:00
  • 5d88233fbb
    Merge pull request #15006 from calixteman/ink2 calixteman 2022-06-09 21:13:53 +02:00
  • 61a65344a3
    Merge pull request #14989 from calixteman/ink1 calixteman 2022-06-09 21:13:06 +02:00
  • c161a86ba1 [editor] Add an Ink editor Calixte Denizet 2022-06-04 23:28:19 +02:00
  • 1eaef6645d
    Merge pull request #15013 from Snuffleupagus/issue-15012 Jonas Jenwald 2022-06-09 16:51:31 +02:00
  • 6371a7605d Force-install npm packages to try and fix the repeated GitHub Action failures Jonas Jenwald 2022-06-09 14:46:47 +02:00
  • 3d244cb6a8 Render PopupAnnotations even if they have missing or empty /Rect-entries (issue 15012, PR 14439 follow-up) Jonas Jenwald 2022-06-09 14:06:51 +02:00
  • a1bc5a8fe2
    Merge pull request #15011 from Snuffleupagus/misc-review-comments calixteman 2022-06-09 13:52:51 +02:00
  • 66bbc0e7ee Call WidgetAnnotation._getTextWidth correctly from the ChoiceWidgetAnnotation-class (PR 14720 follow-up) Jonas Jenwald 2022-06-09 10:11:01 +02:00
  • b5cad9be03 Fix a bug in the ColorConverters.CMYK_HTML method (PR 12631 follow-up) Jonas Jenwald 2022-06-09 10:03:36 +02:00
  • 7a89f4a789 Set the MIME type correctly when downloading fonts in debugger.js (PR 5366 follow-up) Jonas Jenwald 2022-06-09 09:52:28 +02:00
  • 14e6d8a802
    Merge pull request #15008 from Snuffleupagus/Array-at Jonas Jenwald 2022-06-08 22:26:08 +02:00
  • 36aae436bf [editor] Add support for saving newly added Ink Calixte Denizet 2022-06-08 20:05:25 +02:00
  • 9e24a1660e Polyfill Array.prototype.at with core-js (PR 14976 follow-up) Jonas Jenwald 2022-06-08 22:10:59 +02:00
  • 2fbf14ace8
    Merge pull request #14978 from calixteman/editor2 calixteman 2022-06-08 15:51:03 +02:00
  • 7773b3f5be [edition] Add support for saving a newly added FreeText Calixte Denizet 2022-06-01 15:42:46 +02:00
  • c8b8db6a17
    Merge pull request #15003 from calixteman/mc Jonas Jenwald 2022-06-08 10:44:10 +02:00
  • 7b37af7eb4 Change the name of the generated pdf.sandbox.external for mozilla-central Calixte Denizet 2022-06-08 09:26:17 +02:00
  • 7761d2bf95
    Merge pull request #15001 from marco-c/canvas_presentational Jonas Jenwald 2022-06-07 20:03:38 +02:00
  • ae9ad1d858
    Merge pull request #15000 from calixteman/1724918 Jonas Jenwald 2022-06-07 19:35:13 +02:00
  • 8c9678158e Set "presentation" role for page canvases (issue 14437) Marco Castelluccio 2022-06-07 18:56:30 +02:00
  • 2dd0c861bf Outline fields which are required (bug 1724918) Calixte Denizet 2022-06-07 14:44:17 +02:00
  • c25429be44
    Merge pull request #14998 from calixteman/14105 Jonas Jenwald 2022-06-07 16:07:45 +02:00
  • 96d0d22d66 Reset all the canvas states after rendering each annotations (#14105) Calixte Denizet 2022-06-06 17:24:38 +02:00
  • 135b9fbcfb
    Merge pull request #14994 from Snuffleupagus/parseJbig2-conditional Tim van der Meij 2022-06-06 12:28:53 +02:00
  • 1816b5e926
    Merge pull request #14993 from Snuffleupagus/editor-AnnotationStorage-hash calixteman 2022-06-05 18:48:29 +02:00
  • e82ad79eb9 Conditionally bundle gulp image_decoders-specific code in src/core/jbig2.js (PR 9729 follow-up) Jonas Jenwald 2022-06-05 15:35:04 +02:00
  • 51c47acb41 [editor] Update the AnnotationStorage.hash-getter to support editing Jonas Jenwald 2022-06-05 14:02:16 +02:00
  • 87fdb0eb42
    Merge pull request #14992 from Snuffleupagus/issue-14990 Jonas Jenwald 2022-06-05 13:29:56 +02:00
  • 59dd4ea2b0 Lookup image-data correctly in paintImageMaskXObjectGroup (issue 14990) Jonas Jenwald 2022-06-05 12:12:05 +02:00
  • 193a28431c
    Merge pull request #14991 from Snuffleupagus/editor-XFA-disable calixteman 2022-06-05 12:03:05 +02:00
  • 37f7995dde
    Merge pull request #14984 from Snuffleupagus/dialog-polyfill-CSS Tim van der Meij 2022-06-05 11:18:18 +02:00
  • d34e7fff01 [editor] Disable the editor-buttons in XFA documents Jonas Jenwald 2022-06-05 10:00:08 +02:00
  • 9b22483e00
    Merge pull request #14985 from Snuffleupagus/editor-FreeText-followup Jonas Jenwald 2022-06-04 23:23:52 +02:00
  • a25d92fb17
    Merge pull request #14988 from Snuffleupagus/rm-singlefile-comment Jonas Jenwald 2022-06-04 23:20:29 +02:00
  • dd58671589 Remove mention of gulp singlefile-command from examples/node/getinfo.js Jonas Jenwald 2022-06-04 23:10:58 +02:00
  • 51bf928061 [editor] A couple of small FreeText-related fixes (PR 14976 follow-up) Jonas Jenwald 2022-06-04 21:32:27 +02:00
  • c8ef87197c
    Merge pull request #14976 from calixteman/editor1 calixteman 2022-06-04 19:02:20 +02:00
  • be1aa11986 [edition] Add a FreeText editor (#14970) - add a basic UI to edit some text in a pdf; - an editor can be moved, suppressed, cut, copied, pasted, selected; - add an undo/redo manager. Calixte Denizet 2022-06-01 10:38:08 +02:00
  • bb8f5ec20b Bundle the <dialog> polyfill-CSS in the GENERIC legacy/-viewer (PR 14710 follow-up) Jonas Jenwald 2022-06-04 17:43:22 +02:00
  • 1953967681
    Merge pull request #14980 from Snuffleupagus/preprocessCSS-comments-2 Jonas Jenwald 2022-06-02 16:52:48 +02:00
  • 397f2e63d0 Handle CSS-comments better in the preprocess-function (PR 14963 follow-up) Jonas Jenwald 2022-06-02 15:41:22 +02:00
  • 1ac33c960d
    Merge pull request #14968 from Snuffleupagus/api-release-data Jonas Jenwald 2022-05-29 18:35:12 +02:00
  • 7e852851fd A small memory-usage improvement for PDF documents opened from TypedArray-data Jonas Jenwald 2022-05-29 16:37:18 +02:00
  • 3fdf2ba4e3
    Merge pull request #14583 from calixteman/buttons Tim van der Meij 2022-05-29 14:13:11 +02:00
  • 839fb002eb
    Merge pull request #14967 from Snuffleupagus/update-packages Tim van der Meij 2022-05-29 14:03:37 +02:00
  • a0eca3e34f
    Merge pull request #14962 from Snuffleupagus/sidebar-more-visibleView Tim van der Meij 2022-05-29 13:43:54 +02:00
  • a43a30bb7b
    Merge pull request #14964 from Snuffleupagus/onOpenWithData-contentDispositionFilename Tim van der Meij 2022-05-29 13:26:23 +02:00
  • 3e67d97f81
    Merge pull request #14963 from Snuffleupagus/preprocessCSS-comments Tim van der Meij 2022-05-29 13:22:22 +02:00
  • 0d3a5d7a9e
    Merge pull request #14966 from tamuratak/use_globalthis Jonas Jenwald 2022-05-29 11:31:15 +02:00
  • db029e17b3 Update l10n files Jonas Jenwald 2022-05-29 09:48:14 +02:00
  • a7d2d8d929 Update npm packages Jonas Jenwald 2022-05-29 09:28:39 +02:00
  • 10932e3f9d Use globalThis for webpack's output.globalObject instead of this. Close #14915. That allows us to import pdfjs-dist/build/pdf.js dynamically from modules. Takashi Tamura 2022-05-14 17:02:06 +09:00
  • 66b513fc00 [Annotations] Show buttons even if they've no actions - it's a regression from PR #14247: - before the PR, the button was rendered on the canvas whatever its status was; - after the PR, the button image has been moved in an other canvas so when the button is not renderable (because it has no actions) then the image is not added the HTML element. - the buttons in the pdf in bug 1737260 or in the pdf in #14308 were not visible - make the button always renderable but don't add the link element if it's useless. Calixte Denizet 2022-02-19 16:47:49 +01:00
  • 9bdf27e8e0
    Merge pull request #14936 from calixteman/input_font_size calixteman 2022-05-28 18:32:45 +02:00
  • 9d82106d20 Set the text fields font size based on their height - right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in #14928); - use a sans-serif font for the fields containing text (fix issue #14736); - remove useless padding in text-based fields (fix issue #14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer. Calixte Denizet 2022-05-19 15:12:28 +02:00
  • 5b3fdee5f5
    Merge pull request #14965 from calixteman/1771477 calixteman 2022-05-28 17:52:27 +02:00
  • c7afce4210 Support Hangul syllables when searching some text (bug 1771477) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1771477; - hangul contains some syllables which are decomposed when using NFD, hence the text must be correctly shifted in case it contains some of them. Calixte Denizet 2022-05-28 14:08:43 +02:00
  • d80035b716
    Merge pull request #14959 from Snuffleupagus/pageColors-thumbnails Jonas Jenwald 2022-05-28 15:46:06 +02:00
  • 0599ce77ff Ensure that the contentDispositionFilename is always respected, when setting the document title (PR 13014 follow-up) Jonas Jenwald 2022-05-28 11:05:40 +02:00
  • 65fe0130f4 Handle CSS-comments correctly in the preprocess-function (PR 14886 follow-up) Jonas Jenwald 2022-05-28 08:41:25 +02:00
  • c0e7a454a1 Convert the PDFSidebar class to use private methods Jonas Jenwald 2022-05-26 12:30:36 +02:00
  • d289da76a7 Re-factor the PDFSidebar.{setInitialView, switchView} methods (PR 10502 follow-up) Jonas Jenwald 2022-05-26 12:16:56 +02:00
  • 13fda7caeb Remove the view-specific getters in the PDFSidebar class Jonas Jenwald 2022-05-26 11:58:36 +02:00
  • e6a0a953e8
    Merge pull request #14957 from Snuffleupagus/docStyle Tim van der Meij 2022-05-26 13:04:05 +02:00
  • 9871761949 Support custom pageColors in the thumbnails (PR 14874) Jonas Jenwald 2022-05-26 09:45:05 +02:00
  • ca244d9bca Introduce a viewer constant for document.documentElement.style Jonas Jenwald 2022-05-22 18:00:57 +02:00
  • 5b02c685d6
    Merge pull request #14955 from Snuffleupagus/issue-14953 Jonas Jenwald 2022-05-24 13:45:34 +02:00
  • 5a2899c57e Skip bogus d1 operators in Type3-glyphs (issue 14953) Jonas Jenwald 2022-05-24 12:12:53 +02:00
  • 61012b931c
    Merge pull request #14950 from calixteman/1766987 calixteman 2022-05-22 16:56:53 +02:00
  • 9407adc416 [JS] Format all the fields if any when the document is open (bug 1766987) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1766987. Calixte Denizet 2022-05-22 14:37:17 +02:00
  • 8fcdad022b
    Merge pull request #14948 from Pldi23/drag&drop_not_work_from_mail Jonas Jenwald 2022-05-22 15:34:15 +02:00
  • 55da67e9aa Set 'dropEffect' based on 'effectAllowed' for drag-and-drop in the viewer (issue 14942). See https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/effectAllowed Dmitry_Platonov 2022-05-21 07:48:44 +02:00
  • 42a6217427
    Merge pull request #14926 from Snuffleupagus/rm-sourceEventType Tim van der Meij 2022-05-21 12:34:54 +02:00
  • 5b67202851
    Merge pull request #14929 from calixteman/14928 Jonas Jenwald 2022-05-20 18:11:10 +02:00
  • bf211eeef5
    Merge pull request #14947 from IsaacLK/master Jonas Jenwald 2022-05-20 18:03:37 +02:00
  • e003e82c98
    Twitter should be capitalized. IsaacLK 2022-05-20 09:36:10 -04:00
  • 3c877f9520
    Merge pull request #14945 from calixteman/devicepixels calixteman 2022-05-20 13:55:23 +02:00
  • 0a66e1f5ea Allow to have float numbers when getting image information in reftest-analyzer - outputScale can be e.g. 1.5 in real life. Calixte Denizet 2022-05-20 12:57:22 +02:00
  • 60498c67e4 Display background when printing or saving a text widget (issue #14928) Calixte Denizet 2022-05-17 23:10:02 +02:00
  • 8a349801dc [Firefox viewer] Stop using FirefoxCom.requestAsync in the DownloadManager Jonas Jenwald 2022-05-10 14:15:57 +02:00
  • 4f1cd6a9c2 Remove the sourceEventType from the viewer (bug 1757771 follow-up) Jonas Jenwald 2022-02-19 11:47:24 +01:00
  • 60e9065bf6
    Merge pull request #14898 from calixteman/progress Jonas Jenwald 2022-05-15 18:18:08 +02:00
  • e94b9d1d7f Use a CSS transform to update the progress bar instead of changing the width (bug 1768481) - it isn't a fix for bug 1768481 but just a tiny improvement to refresh the progress bar on the compositor thread. Calixte Denizet 2022-05-10 17:51:07 +02:00
  • 63441e8f1e
    Merge pull request #14921 from Snuffleupagus/issue-14917 Jonas Jenwald 2022-05-15 15:02:52 +02:00
  • c06384054d
    Merge pull request #14920 from Snuffleupagus/update-packages Tim van der Meij 2022-05-15 11:37:56 +02:00
  • 5a774b7ed3 Adjust the heuristics for handling of incomplete path operators (issue 14917) Jonas Jenwald 2022-05-15 11:12:00 +02:00
  • 54080b6884 Update l10n files Jonas Jenwald 2022-05-15 09:12:37 +02:00
  • 5320316f73 Update npm packages Jonas Jenwald 2022-05-15 09:02:57 +02:00
  • 46e4a305eb
    Merge pull request #14919 from timvandermeij/bump Tim van der Meij 2022-05-14 14:47:27 +02:00
  • bfb0880523
    Bump versions in pdfjs.config Tim van der Meij 2022-05-14 14:45:59 +02:00
  • eaaa8b4ade
    Merge pull request #14918 from Snuffleupagus/ProgressBar-modernize v2.14.305 Tim van der Meij 2022-05-14 14:15:13 +02:00
  • 1f3da032b4 [api-minor] Modernize and simplify the ProgressBar class Jonas Jenwald 2022-05-14 13:10:13 +02:00
  • b5f2bd8bfd
    Merge pull request #14910 from Snuffleupagus/adjustScaleWidth-animationStarted Tim van der Meij 2022-05-14 13:29:15 +02:00
  • efe3cb2982 Remove unnecessary clean-up in Toolbar.#adjustScaleWidth Jonas Jenwald 2022-05-13 17:12:03 +02:00
  • 3dd8b9cccf Ensure that setting the width of the zoom dropdown works correctly (PR 14028 follow-up) Jonas Jenwald 2022-05-13 12:07:05 +02:00
  • 96b125fb72
    Merge pull request #14911 from Snuffleupagus/more-TypedArray-fill Jonas Jenwald 2022-05-13 13:47:17 +02:00
  • d540df0582 Use TypedArray.prototype.fill() a bit more in the code-base Jonas Jenwald 2022-05-13 12:42:51 +02:00
  • fbc7981c98
    Merge pull request #14894 from Snuffleupagus/rm-mozOpaque Tim van der Meij 2022-05-12 22:03:05 +02:00
  • ed70ec8726
    Merge pull request #14899 from Snuffleupagus/issue-14896 Jonas Jenwald 2022-05-12 11:29:17 +02:00