Commit Graph

  • c2f335186a
    Merge pull request #14228 from brendandahl/consume-path Jonas Jenwald 2021-11-03 21:56:46 +01:00
  • e78e4e72bf Further modernize PDFThumbnailViewer.scrollThumbnailIntoView Jonas Jenwald 2021-11-01 13:47:38 +01:00
  • 6323f8532a Let getVisibleElements return a Set containing the visible element ids Jonas Jenwald 2021-11-01 11:52:45 +01:00
  • 5f77d3719b Tweak the Bidi-detection heuristics for very short RTL strings (issue 11656) Jonas Jenwald 2021-10-31 17:46:42 +01:00
  • 2ac6c939a5
    Merge pull request #14225 from Snuffleupagus/render-better-holes-check Tim van der Meij 2021-11-03 19:48:37 +01:00
  • 039a7a670f Reset path bounding box tracking when starting a new path. Brendan Dahl 2021-11-03 11:46:52 -07:00
  • c68dc03be6
    Merge pull request #14221 from Snuffleupagus/pr-12870-followup Tim van der Meij 2021-11-03 19:44:12 +01:00
  • ab5f4a3e5e Avoid doing unnecessary checks, when pre-rendering page layouts with "holes" (PR 14131 follow-up) Jonas Jenwald 2021-11-03 09:28:52 +01:00
  • 60ab751bb6
    Merge pull request #14217 from Snuffleupagus/bug-1732141 Brendan Dahl 2021-11-02 13:32:17 -07:00
  • 292a715c1c Use optional chaining to simplify PDFViewerApplication.store accesses in various event handlers Jonas Jenwald 2021-11-02 12:00:57 +01:00
  • d6e8b8fbc1 Use BaseViewer.previousPage more in the default viewer (PR 12870 follow-up) Jonas Jenwald 2021-11-02 11:48:18 +01:00
  • f4e88b0a57 [Firefox] Handle errors if loading failed before the "supportsRangedLoading" message was sent (bug 1732141) Jonas Jenwald 2021-11-01 17:50:49 +01:00
  • 6a15973a1b
    Merge pull request #14212 from Snuffleupagus/issue-10301-test Tim van der Meij 2021-10-31 17:57:50 +01:00
  • 8edec018fe Add a RTL-text reference test (issue 10301) Jonas Jenwald 2021-10-31 16:48:53 +01:00
  • 8c70258065
    Merge pull request #14182 from calixteman/richtext Jonas Jenwald 2021-10-31 14:41:56 +01:00
  • cf8dc750d6 Support rich content in markup annotation - use the xfa parser but in the xhtml namespace. Calixte Denizet 2021-10-24 17:29:30 +02:00
  • fe11711325
    Merge pull request #14210 from Snuffleupagus/update-packages Tim van der Meij 2021-10-31 13:13:25 +01:00
  • 822856e044 Update l10n files Jonas Jenwald 2021-10-31 09:56:41 +01:00
  • 48896adc27 Enable the ESLint no-unused-private-class-members rule Jonas Jenwald 2021-10-31 09:52:07 +01:00
  • a8abdfb3bb Update npm packages Jonas Jenwald 2021-10-31 09:38:18 +01:00
  • 2d8b6fda8f
    Merge pull request #14207 from janekotovich/forms_version_popup calixteman 2021-10-30 05:45:31 -07:00
  • ec1633c33c
    Merge pull request #14201 from Snuffleupagus/bug-1219400 Tim van der Meij 2021-10-30 12:39:46 +02:00
  • 317e4dd146
    Merge pull request #14204 from Snuffleupagus/rm-shadowViewer Tim van der Meij 2021-10-30 12:37:30 +02:00
  • 2c0bbaf208
    Merge pull request #14153 from catherinemds/xfa-link calixteman 2021-10-29 11:06:00 -07:00
  • db0b3cda8b XFA - Fix xfaLink class to make links work (bug 1735738) Catherine 2021-10-18 11:28:42 -04:00
  • 12f89d2ab1 JS - Avoid a popup to ask for specific version of Acrobat Jane-Kotovich 2021-10-29 10:40:36 +10:00
  • c18df2c61f Remove the shadowViewer used with Page scrolling Jonas Jenwald 2021-10-28 11:57:27 +02:00
  • 0e7614df7f
    Merge pull request #14180 from Snuffleupagus/bug-1627427 Tim van der Meij 2021-10-27 20:06:09 +02:00
  • 6f3700b393
    Merge pull request #14191 from Snuffleupagus/viewer-empty-pageLabels Tim van der Meij 2021-10-27 20:01:45 +02:00
  • f3a0a506c0
    Merge pull request #14192 from Snuffleupagus/pr-14158-followup Tim van der Meij 2021-10-27 19:58:25 +02:00
  • 884caf602e Use the correct border-style for Annotations, when a dash array is specified (bug 1219400) Jonas Jenwald 2021-10-27 12:55:56 +02:00
  • 74bc6d2625
    Merge pull request #14189 from janekotovich/security_handler calixteman 2021-10-27 03:40:16 -07:00
  • f40bbe838e
    Merge pull request #14199 from calixteman/it calixteman 2021-10-27 03:20:17 -07:00
  • a24322fdab Avoid to display download panel during integration tests - it could be the cause of the failures in #14189; - and the patch in firefox to enable the pref landed very recently: https://hg.mozilla.org/mozilla-central/rev/3de56e38f3c87f33a1e7849701edb3c62bc472a5 Calixte Denizet 2021-10-27 11:43:25 +02:00
  • 390ddd9241
    Merge pull request #14181 from PinRathod/simpleviewer_to_async Jonas Jenwald 2021-10-26 20:31:04 +02:00
  • 4c463c6099 Converted simpleviewer.js to await/async PinRathod 2021-10-24 19:36:25 +05:30
  • 91fc643ff9 [api-minor] Implement securityHandler in the scripting API (bug 1731578) Jane-Kotovich 2021-10-26 00:09:26 +10:00
  • 66c26d70d4 Ignore pageLabels, in the viewer, when they're all empty Jonas Jenwald 2021-10-25 13:43:19 +02:00
  • 2c779a8fbe [Regression] Prevent breaking errors when opening a new document in the GENERIC viewer (PR 14158 follow-up) Jonas Jenwald 2021-10-25 14:20:24 +02:00
  • c85cd80b1b Remove unnecessary pageLabel length-check in the viewer Jonas Jenwald 2021-10-25 13:25:34 +02:00
  • aa1b78684f Handle ranges that "overflow" the last byte in CMap.mapBfRange (bug 1627427) Jonas Jenwald 2021-10-24 11:51:57 +02:00
  • 1ab9a6e36e
    Merge pull request #14158 from Snuffleupagus/preRender-doc-limits Tim van der Meij 2021-10-24 13:43:02 +02:00
  • 3dc738c4c8 Slightly simplify the isThumbnailViewEnabled check in PDFRenderingQueue.renderHighestPriority Jonas Jenwald 2021-10-23 19:59:14 +02:00
  • 91692a20d1 Skip the first/last visible pages pre-rendering page layouts with "holes" (PR 14131 follow-up) Jonas Jenwald 2021-10-18 13:41:10 +02:00
  • 24b7fb20ef Improve pre-rendering at the start/end of the document Jonas Jenwald 2021-10-18 12:13:54 +02:00
  • 0aaa4e3dbe
    Merge pull request #14156 from Snuffleupagus/escodegen-fork Tim van der Meij 2021-10-23 19:12:44 +02:00
  • e5d35a380a
    Merge pull request #14178 from Snuffleupagus/update-browserslist Tim van der Meij 2021-10-23 19:09:52 +02:00
  • 2c27f54e4e Update the browserslist database Jonas Jenwald 2021-10-23 10:07:18 +02:00
  • 52372b9378
    Merge pull request #14175 from brendandahl/smask-v2 Jonas Jenwald 2021-10-23 09:27:18 +02:00
  • 82681ea20c Track the clipping box and bounding box of the path. Brendan Dahl 2021-10-21 15:22:11 -07:00
  • 2d1f9ff7a3 Use a new method for handling soft masks. Brendan Dahl 2021-10-19 20:14:48 -07:00
  • 7216511fbf Convert TempImageFactory to a class, using static fields/methods Jonas Jenwald 2021-10-17 13:42:21 +02:00
  • 89785a23f3 Convert Metadata to use private class fields Jonas Jenwald 2021-10-17 13:41:04 +02:00
  • 00f8fab8a5 Add support for modern ECMAScript class features Jonas Jenwald 2021-10-17 13:30:09 +02:00
  • 38e5360533
    Merge pull request #14162 from brendandahl/indent-stepper Tim van der Meij 2021-10-22 21:17:36 +02:00
  • 11f030d301
    Merge pull request #14171 from Snuffleupagus/issue-14170 Tim van der Meij 2021-10-22 21:07:19 +02:00
  • 2e56369f79 Indent the stepper on save/restore. Brendan Dahl 2021-10-18 16:37:51 -07:00
  • e788665a26
    Merge pull request #14167 from stbensonimoh/convert-pdf-viewer-to-async-await Jonas Jenwald 2021-10-22 12:58:43 +02:00
  • f263c860bd
    Convert examples/image_decoders/jpeg_viewer.js to await/async #14123 Benson Imoh,ST 2021-10-19 23:22:44 +01:00
  • e4e44121d2
    Merge pull request #14174 from Snuffleupagus/PushButton-double-border Jonas Jenwald 2021-10-21 15:29:19 +02:00
  • 044197808a Prevent double-rendering borders for PushButton-annotations (PR 14083 follow-up) Jonas Jenwald 2021-10-21 13:31:16 +02:00
  • ff9d2b2ab1 Prevent run-time errors in Node.js versions with URL.createObjectURL support (issue 14170) Jonas Jenwald 2021-10-20 15:55:14 +02:00
  • 7c9e5781fe
    Merge pull request #14159 from stbensonimoh/convert-example-to-async-await Jonas Jenwald 2021-10-21 10:30:02 +02:00
  • 0643ccb68b
    Convert examples/node/pdf2svg.js to await/async #14125 Benson Imoh,ST 2021-10-18 19:22:06 +01:00
  • 382be22c11
    Merge pull request #14160 from Snuffleupagus/pr-13770-followup Tim van der Meij 2021-10-19 19:31:18 +02:00
  • ce86f9dfdd
    Merge pull request #14155 from mozilla/revert-13314-color-theme Tim van der Meij 2021-10-19 19:29:20 +02:00
  • 0fe358f7d6
    Merge pull request #14154 from Snuffleupagus/update-packages Tim van der Meij 2021-10-19 19:26:08 +02:00
  • b66239d6dc
    Merge pull request #14114 from Snuffleupagus/issue-14110 Brendan Dahl 2021-10-19 08:08:08 -07:00
  • 81eafcbd5f
    Merge pull request #14166 from Snuffleupagus/issue-14164 Jonas Jenwald 2021-10-19 16:32:59 +02:00
  • 68e6622c57 Ignore Square/Circle-annnotations with a zero borderWidth when creating a fallback appearance stream (issue 14164) Jonas Jenwald 2021-10-19 15:13:04 +02:00
  • 8c6f1e45c7 Fix pattern handling regression in SVGGraphics (PR 13770 follow-up) Jonas Jenwald 2021-10-18 21:40:10 +02:00
  • bbb64369f1
    Merge pull request #13424 from calixteman/chunks2 calixteman 2021-10-18 06:14:15 -07:00
  • 61d1063276 Fix issues in text selection - PR #13257 fixed a lot of issues but not all and this patch aims to fix almost all remaining issues. - the idea in this new patch is to compare position of new glyph with the last position where a glyph has been drawn; - no space are "drawn": it just moves the cursor but they aren't added in the chunk; - so this way a space followed by a cursor move can be treated as only one space: it helps to merge all spaces into one. - to make difference between real spaces and tracking ones, we used a factor of the space width (from the font) - it was a pretty good idea in general but it fails with some fonts where space was too big: - in Poppler, they're using a factor of the font size: this is an excellent idea (<= 0.1 * fontSize implies tracking space). Calixte Denizet 2021-05-23 19:03:53 +02:00
  • aae8a21286 Revert "For mozcentral use Firefox color theme instead of system theme." since -moz-toolbar-prefers-color-scheme was removed Jonas Jenwald 2021-10-17 12:17:42 +02:00
  • ee800a064a Update l10n files Jonas Jenwald 2021-10-17 11:49:08 +02:00
  • b0affcd87c Fix (some) vulnerabilities reported by npm audit Jonas Jenwald 2021-10-17 11:47:09 +02:00
  • a712b601ee Update ESLint to version 8 Jonas Jenwald 2021-10-17 11:42:09 +02:00
  • 7746732934 Update the stylelint-config-prettier package to the latest version Jonas Jenwald 2021-10-17 11:37:40 +02:00
  • decd585579 Update npm packages Jonas Jenwald 2021-10-17 11:33:19 +02:00
  • 00720d059a [api-minor] Include the /Lang-property in the documentInfo, and use it in the viewer (issue 14110) Jonas Jenwald 2021-10-11 15:55:16 +02:00
  • 52fce0d17b
    Merge pull request #14152 from Snuffleupagus/xfaFactory-typo Tim van der Meij 2021-10-16 14:23:47 +02:00
  • 9890f35eec
    Merge pull request #14103 from Snuffleupagus/PDFFindController-event Tim van der Meij 2021-10-16 14:03:36 +02:00
  • 0041230072 Re-name the XFAFactory.numberPages getter to XFAFactory.numPages for consistency Jonas Jenwald 2021-10-16 12:35:12 +02:00
  • 0e5348180e Fix the inconsistent return type of the PDFDocument.isPureXfa getter Jonas Jenwald 2021-10-16 12:28:48 +02:00
  • cd94a44ca1 Remove some duplication in *simple* shadowed getters in src/core/-code Jonas Jenwald 2021-10-16 12:16:40 +02:00
  • 1450da4168 Fix a xfaFaxtory typo in the shadowing in the PDFDocument.xfaFactory getter Jonas Jenwald 2021-10-16 11:49:24 +02:00
  • fa8c0ef616 [api-minor] Change PDFFindController to use the "find"-event directly (issue 12731) Jonas Jenwald 2021-10-03 16:03:51 +02:00
  • cd22c31752 Fix the remaining Promise.resolve(undefined) cases Jonas Jenwald 2021-10-03 15:32:33 +02:00
  • a37bc609e8
    Merge pull request #14149 from mikemando/path-1 Jonas Jenwald 2021-10-15 22:35:31 +02:00
  • e504e81cda
    Merge pull request #14112 from Snuffleupagus/ScrollMode-PAGE Tim van der Meij 2021-10-15 21:40:51 +02:00
  • ed3da19869
    Merge pull request #14131 from Snuffleupagus/spreadMode-render-holes Tim van der Meij 2021-10-15 21:20:06 +02:00
  • ef0713e055
    Merge pull request #14148 from Snuffleupagus/editorconfig-json Tim van der Meij 2021-10-15 21:14:43 +02:00
  • ec5e7445f6 Convert examples/learning/helloworld64.html to await/async michael-ikwuegbu 2021-10-15 17:38:10 +01:00
  • 6863f36880
    Merge pull request #14145 from janekotovich/application/octet calixteman 2021-10-15 06:24:52 -07:00
  • 540d32c486 Ensure that the EditorConfig rules apply to *.json and *.pdf.link files as well Jonas Jenwald 2021-10-15 13:32:06 +02:00
  • c2af309917 XFA - Embedded image is missing Jane-Kotovich 2021-10-15 19:46:28 +10:00
  • fc56a781d3
    Merge pull request #14141 from adenicole/master Jonas Jenwald 2021-10-15 11:35:05 +02:00
  • fdf08ef3d2 converted examples/text-only/pdf2svg.js to await/async adenicole 2021-10-14 14:44:00 +01:00
  • c1617be2d7
    Merge pull request #14143 from raghav-wd/patch-1 Jonas Jenwald 2021-10-15 09:31:14 +02:00
  • 04aa710947
    docs: Fix grammatical error Devansh Gupta 2021-10-15 01:09:09 +05:30