Commit Graph

  • 7f1e8d1920 [GeckoView] Add some telemetry for the toolbar buttons (bug 1829216) Calixte Denizet 2023-05-22 16:43:09 +02:00
  • 1c4e4b4092
    Merge pull request #16450 from calixteman/issue16300 calixteman 2023-05-21 17:40:36 +02:00
  • ca12bca276 Sanitize the glyph bounding box Calixte Denizet 2023-05-21 13:42:11 +02:00
  • d09c27d231
    Merge pull request #16449 from Snuffleupagus/attachments-viewer-rm-sort Tim van der Meij 2023-05-21 12:25:28 +02:00
  • 14fd59c4d0 Stop trying to sort the attachments in the sidebar Jonas Jenwald 2023-05-21 09:54:24 +02:00
  • 65e23432cd
    Merge pull request #16448 from calixteman/improve_rescaleandstroke calixteman 2023-05-20 21:06:40 +02:00
  • e5454be0f2 Improve performance of canvas::rescaleAndStroke by around 30% Calixte Denizet 2023-05-20 18:21:06 +02:00
  • 1d74936ea9
    Merge pull request #16446 from Snuffleupagus/bug-1365930 Tim van der Meij 2023-05-20 12:20:52 +02:00
  • f657de7de2 Extend getNonStdFontMap for non-embedded Impact fonts (bug 1365930) Jonas Jenwald 2023-05-19 18:34:21 +02:00
  • 38287d9435
    Merge pull request #16443 from Snuffleupagus/idFactory-shorter Tim van der Meij 2023-05-19 11:36:06 +02:00
  • 8c4821ceda [api-minor] Slightly shorten the marked-content ids used in the textLayer Jonas Jenwald 2023-05-18 22:23:42 +02:00
  • 04de155aaa Slightly shorten the loadedName-ids used with font-substitutions Jonas Jenwald 2023-05-18 22:13:15 +02:00
  • 3be66f59d6
    Merge pull request #16440 from Snuffleupagus/more-modern-JS Jonas Jenwald 2023-05-18 20:56:00 +02:00
  • e8537e4d30
    Merge pull request #16439 from calixteman/issue14755 calixteman 2023-05-18 20:10:31 +02:00
  • 3091e70aad Flush the current chunk when the font changed because of a restore op (issue #14755) Calixte Denizet 2023-05-18 17:22:42 +02:00
  • e8030752f3 Introduce even more modern JavaScript features in the code-base Jonas Jenwald 2023-05-18 18:52:54 +02:00
  • a24d5b629e
    Merge pull request #16438 from mozilla/loc_note_openinapp calixteman 2023-05-18 17:27:39 +02:00
  • 77f8fd91ec Add a localization note to explain that 'Open in app' strings are for mobile (bug 1833858) Marco Castelluccio 2023-05-18 15:01:23 +02:00
  • 356f3cf285
    Merge pull request #16437 from Snuffleupagus/loadFont-simpler-fontID Jonas Jenwald 2023-05-18 13:36:00 +02:00
  • 4355e76c60 Simplify the fontID handling in PartialEvaluator.loadFont Jonas Jenwald 2023-05-17 23:51:24 +02:00
  • ac8032628b
    Merge pull request #16424 from Snuffleupagus/core-optional-chaining Tim van der Meij 2023-05-18 12:40:08 +02:00
  • 839be801a0
    Merge pull request #16433 from calixteman/bug1825002 calixteman 2023-05-17 16:48:59 +02:00
  • 177036e6ae For text widgets, get the text from the AP stream instead of from the format callback (bug 1825002) Calixte Denizet 2023-05-16 23:03:01 +02:00
  • 46bbabbd5d
    Merge pull request #16434 from Snuffleupagus/issue-16432 Jonas Jenwald 2023-05-17 12:30:08 +02:00
  • bfb374dbf6 Attempt to fallback to a default font, for non-available ones, in more cases (issue 16432) Jonas Jenwald 2023-05-17 10:19:14 +02:00
  • 5ae353cf4d
    Merge pull request #16431 from calixteman/warn_missing_os_font calixteman 2023-05-16 15:25:16 +02:00
  • 385f275ad9 Warn when pdf.js can't load an OS font Calixte Denizet 2023-05-16 14:58:38 +02:00
  • 95ab2b8b17
    Merge pull request #16430 from Snuffleupagus/npm-lockfile-version-3 Jonas Jenwald 2023-05-16 10:14:00 +02:00
  • cc46d303e9 Update package-lock.json to lockfileVersion=3 Jonas Jenwald 2023-05-16 09:50:57 +02:00
  • 2c0478ecb2
    Merge pull request #16426 from calixteman/generate_fallback_one_time calixteman 2023-05-15 21:25:29 +02:00
  • 4e8dd54e8e For non-embedded fonts, don't generate the fallback several times Calixte Denizet 2023-05-15 20:02:45 +02:00
  • 107874fcd4
    Merge pull request #16420 from calixteman/simplify_subst calixteman 2023-05-15 19:58:53 +02:00
  • b264e0301a Simplify the code to generate font substitution information Calixte Denizet 2023-05-14 16:16:50 +02:00
  • 5f91d39f13
    Merge pull request #16425 from calixteman/gv_nimbus calixteman 2023-05-15 18:26:28 +02:00
  • 4ed512ab2c [GeckoView] Add a Nimbus experiment for the toolbar (bug 1833093) Calixte Denizet 2023-05-15 16:13:41 +02:00
  • 1b4a7c5965 Introduce more optional chaining in the src/core/ folder Jonas Jenwald 2023-05-15 12:38:28 +02:00
  • c20c1b3362
    Merge pull request #16422 from Snuffleupagus/getFontSubstitution-css-tests Jonas Jenwald 2023-05-15 10:09:17 +02:00
  • cb1a10e358 Check the css property in the getFontSubstitution unit-tests Jonas Jenwald 2023-05-14 19:11:35 +02:00
  • 4101128c09
    Merge pull request #16421 from calixteman/font_subst_test calixteman 2023-05-14 18:23:12 +02:00
  • 89140fcd98 Add tests for the font substitution Calixte Denizet 2023-05-14 17:40:39 +02:00
  • 9cbc2c389f
    Merge pull request #16418 from Snuffleupagus/jasmine-5 Jonas Jenwald 2023-05-14 14:03:46 +02:00
  • 95ac708fbd Update jasmine to version 5 Jonas Jenwald 2023-05-14 12:57:31 +02:00
  • 693092c980
    Merge pull request #16415 from Snuffleupagus/no-useless-promise-resolve-reject Tim van der Meij 2023-05-14 12:41:11 +02:00
  • 521bea4f8f
    Merge pull request #16417 from Snuffleupagus/update-packages Tim van der Meij 2023-05-14 12:40:22 +02:00
  • 202496a7ca
    Merge pull request #16416 from calixteman/use_local_font_2 calixteman 2023-05-14 12:27:55 +02:00
  • 62f47588b4 Update l10n files Jonas Jenwald 2023-05-14 10:15:01 +02:00
  • d25994e85d Update npm packages Jonas Jenwald 2023-05-14 10:12:06 +02:00
  • d4b70ec306 For missing font, use a local font if it exists even if there's no standard substitution Calixte Denizet 2023-05-13 16:15:15 +02:00
  • 8fbd6755eb Enable the unicorn/no-useless-promise-resolve-reject ESLint plugin rule Jonas Jenwald 2023-05-13 11:30:25 +02:00
  • e738e15aa3
    Merge pull request #16413 from Snuffleupagus/PDFSidebar-inline-resizing Tim van der Meij 2023-05-12 10:15:35 +02:00
  • a5336d9d79
    Merge pull request #16401 from Snuffleupagus/Safari-15.4 Tim van der Meij 2023-05-12 10:11:53 +02:00
  • 8f3940fbf3 Move the sidebar-resizing handling into the PDFSidebar class Jonas Jenwald 2023-05-11 15:45:01 +02:00
  • 9417a37c71
    Merge pull request #16410 from Snuffleupagus/toggleExpandedBtn Jonas Jenwald 2023-05-11 13:10:39 +02:00
  • 0305b04e26 Add the "aria-controls" attribute to the editor-toolbar buttons Jonas Jenwald 2023-05-11 11:55:18 +02:00
  • 362be760e3 Reduce some duplication when toggling "expanded" buttons in the viewer toolbars Jonas Jenwald 2023-05-11 11:48:51 +02:00
  • d520754bcf
    Merge pull request #16408 from calixteman/local_font_cache calixteman 2023-05-10 20:41:51 +02:00
  • cfb908c999 Add a cache to avoid to load several times a local font Calixte Denizet 2023-05-10 15:31:07 +02:00
  • 2d2f7b315e
    Merge pull request #16363 from calixteman/use_local_font calixteman 2023-05-10 14:19:05 +02:00
  • 53134c0c0b [api-minor] Use a local font or fallback on an embedded one (if it exists) for non-embedded fonts (bug 1766039) Calixte Denizet 2023-04-27 18:01:07 +02:00
  • 1a2e787e47
    Merge pull request #16392 from calixteman/compress calixteman 2023-05-09 17:26:46 +02:00
  • 2486536843 Compress the data when saving annotions Calixte Denizet 2023-04-27 21:50:27 +02:00
  • 8f2d8f62f3
    Merge pull request #16397 from calixteman/issue14565 calixteman 2023-05-08 21:16:49 +02:00
  • d1adab8c7b [api-minor] Update the minimum supported Safari version to 15.4 Jonas Jenwald 2023-04-29 08:58:44 +02:00
  • 2c2acdfd1c Revert "Add a <dialog> polyfill for the generic-legacy build" Jonas Jenwald 2023-04-29 08:55:08 +02:00
  • c5eb79577a Revert "Bundle the <dialog> polyfill-CSS in the GENERIC legacy/-viewer (PR 14710 follow-up)" Jonas Jenwald 2023-04-29 08:51:39 +02:00
  • cfa15bbf59 Revert "Compatible with ResizeObserver borderBoxSize in legacy safari" Jonas Jenwald 2023-04-29 08:48:06 +02:00
  • bfb664b9a1
    Merge pull request #16398 from Snuffleupagus/xfa-optional-chaining Tim van der Meij 2023-05-07 14:54:05 +02:00
  • 7ecb3236f0
    Merge pull request #16293 from Snuffleupagus/Node-18 Tim van der Meij 2023-05-07 14:48:26 +02:00
  • dcd55a7164 Enable unicorn/prefer-at unconditionally (PR 15014 follow-up) Jonas Jenwald 2023-04-25 17:19:59 +02:00
  • f79f48c2b4 Remove the IMAGE_DECODERS special-case when polyfilling structuredClone Jonas Jenwald 2023-04-15 17:01:03 +02:00
  • 1753e321cd Remove the compatibility checks in WorkerMessageHandler.createDocumentHandler Jonas Jenwald 2023-04-14 21:32:09 +02:00
  • ed8be6f882 [api-minor] Update the minimum supported Node.js version to 18 Jonas Jenwald 2023-04-05 10:40:19 +02:00
  • eca40773b8
    Merge pull request #16399 from timvandermeij/bump Tim van der Meij 2023-05-07 13:33:09 +02:00
  • 594ce65a47
    Bump versions in pdfjs.config Tim van der Meij 2023-05-07 13:22:16 +02:00
  • 89f768322d Introduce some optional chaining in the src/core/xfa/ folder Jonas Jenwald 2023-05-07 12:49:07 +02:00
  • 6c0fdc6ec2 Make something similar to Acrobat when Underline annotation has no appearance Calixte Denizet 2023-05-06 20:25:01 +02:00
  • 4d3dfe254f
    Merge pull request #16396 from Snuffleupagus/issue-16395 v3.6.172 Jonas Jenwald 2023-05-06 16:59:05 +02:00
  • 722e5910e1 Improve handling of JPEG images with non-standard /Decode-entries (issue 16395) Jonas Jenwald 2023-05-06 13:29:42 +02:00
  • 3aa96e071b
    Merge pull request #16394 from Snuffleupagus/no-invalid-remove-event-listener Tim van der Meij 2023-05-06 12:59:52 +02:00
  • b4aa10bb86 Enable the unicorn/no-invalid-remove-event-listener ESLint plugin rule Jonas Jenwald 2023-05-06 09:05:35 +02:00
  • da03d322ed
    Merge pull request #16391 from calixteman/gv_open_in_app calixteman 2023-05-05 16:38:46 +02:00
  • a652dc85e4 [GeckoView] Add a button to download and open the file in an external app (bug 1829367) Calixte Denizet 2023-05-05 15:18:01 +02:00
  • f151a39d14
    Merge pull request #16387 from calixteman/issue16384 calixteman 2023-05-04 21:49:08 +02:00
  • 72da14f005 [Annotations] Draw readonly annotations on their own canvas and show the HTML elements when there is a JS interaction (issue #16384) Calixte Denizet 2023-05-04 20:08:32 +02:00
  • a24e11a91c
    Merge pull request #16106 from bungeman/improve_color_stop_detection calixteman 2023-05-04 19:48:57 +02:00
  • 2fab583fb4
    Merge pull request #16379 from Snuffleupagus/sidebar-forceRendering Jonas Jenwald 2023-05-04 13:12:16 +02:00
  • 9dcc50402e Simplify the PDFSidebar.#forceRendering method Jonas Jenwald 2023-05-02 14:16:18 +02:00
  • 4931f293eb
    Merge pull request #16374 from Snuffleupagus/thumbnail-styles Jonas Jenwald 2023-05-04 12:24:58 +02:00
  • 74c615b5b0 Remove unused canvas clean-up code in PDFThumbnailView.reset (PR 13357 follow-up) Jonas Jenwald 2023-04-30 16:26:44 +02:00
  • 1b6a83da4a Simplify the thumbnail styling in the viewer Jonas Jenwald 2023-04-30 11:01:42 +02:00
  • e89da6d940
    Merge pull request #16375 from Snuffleupagus/pageViewsReady-tweak Jonas Jenwald 2023-05-04 12:13:21 +02:00
  • 667085ee33
    Merge pull request #16368 from Snuffleupagus/rm-GlobalImageCache-addPageIndex Jonas Jenwald 2023-05-04 12:09:04 +02:00
  • 001acfb5ac
    Merge pull request #16381 from Snuffleupagus/rm-isStandardFont-prop Jonas Jenwald 2023-05-04 00:30:05 +02:00
  • f31b320113
    Merge pull request #12563 from Snuffleupagus/rm-SystemJS-worker Jonas Jenwald 2023-05-03 23:57:17 +02:00
  • ade1e52227
    Merge pull request #16380 from calixteman/hcm_annotation_canvas calixteman 2023-05-03 22:30:21 +02:00
  • 24a75bda5d Remove the unused isStandardFont font-property (PR 15880 follow-up) Jonas Jenwald 2023-05-03 11:49:37 +02:00
  • c07149a44f Apply HCM filters on annotations which have their own canvas (bug 1830850) Calixte Denizet 2023-05-02 16:37:49 +02:00
  • c8246b0720 Re-factor the PDFViewer.pageViewsReady getter slightly Jonas Jenwald 2023-04-30 22:32:13 +02:00
  • 88616f77ae Remove the closure from BitModel in the src/core/jpx.js file Jonas Jenwald 2023-04-21 21:16:57 +02:00
  • b0a1af306d Simplify initialization of static class properties in the worker-thread Jonas Jenwald 2023-03-15 12:20:41 +01:00