Commit Graph

  • 6bcc5b615d [api-minor] Include line endings in Line/Polyline Annotation-data (issue 14896) Jonas Jenwald 2022-05-10 17:36:29 +02:00
  • 8dc836d105
    Merge pull request #14904 from Snuffleupagus/preprocess-blank-lines Jonas Jenwald 2022-05-12 10:07:52 +02:00
  • ec6575db00 Avoid the preprocess-function adding consecutive blank lines Jonas Jenwald 2022-05-11 14:21:16 +02:00
  • 9ceceaeeb5
    Merge pull request #14903 from Snuffleupagus/issue-14902 Jonas Jenwald 2022-05-11 12:52:07 +02:00
  • 527251d62b Update the preprocess-function to avoid adding trailing new-lines (issue 14902) Jonas Jenwald 2022-05-11 12:32:41 +02:00
  • af5789125f Try to remove the mozOpaque canvas-property (PR 6551 follow-up) Jonas Jenwald 2022-05-09 12:25:51 +02:00
  • 38c82357b2
    Merge pull request #14890 from calixteman/14889 Jonas Jenwald 2022-05-08 17:25:29 +02:00
  • ab3958d6e8 [JS] Formatted value has to be a string when neither null nor undefined Calixte Denizet 2022-05-08 15:43:02 +02:00
  • 72943ae630
    Merge pull request #14886 from Snuffleupagus/preprocessCSS-refactor Tim van der Meij 2022-05-08 13:53:14 +02:00
  • 753abc383e
    Merge pull request #14888 from Snuffleupagus/attachmentsCount-zero Tim van der Meij 2022-05-08 13:44:14 +02:00
  • 7111a172df
    Merge pull request #14885 from Snuffleupagus/mozcentral-rm-unbindEvents Tim van der Meij 2022-05-08 13:35:22 +02:00
  • 3d9b2c9cd5
    Merge pull request #14887 from Snuffleupagus/pageColors-followup Jonas Jenwald 2022-05-08 12:58:55 +02:00
  • dacea52966 Try to fix dispatching of "attachmentsloaded"-events, when the document contains no "regular" attachments (PR 8788, 12163 follow-up) Jonas Jenwald 2022-05-07 11:37:46 +02:00
  • 472a1f9c91 Ignore pageColors when the background/foreground is identical (PR 14874 follow-up) Jonas Jenwald 2022-05-08 11:06:18 +02:00
  • 39251c5789 Re-order the names of the new pageColors options/preferences (PR 14874 follow-up) Jonas Jenwald 2022-05-08 10:51:59 +02:00
  • 80910f44e5 Stop bundling the openFile-buttons in the CHROME build Jonas Jenwald 2022-05-07 22:05:39 +02:00
  • d1f13a6af3 Use the regular preprocess-function for the CSS files as well Jonas Jenwald 2022-05-07 22:00:54 +02:00
  • ed8b172d12 Stop bundling PDFViewerApplication.{unbindEvents, unbindWindowEvents} in MOZCENTRAL builds Jonas Jenwald 2022-05-07 15:48:54 +02:00
  • f8838eb794
    Merge pull request #14882 from Snuffleupagus/issue-14881 Tim van der Meij 2022-05-07 11:45:54 +02:00
  • 0a34b3bb81
    Merge pull request #14884 from Snuffleupagus/fileattachmentannotation-event Tim van der Meij 2022-05-07 11:35:40 +02:00
  • 82353cf728
    Merge pull request #14880 from Snuffleupagus/CSS--viewer-container-height Tim van der Meij 2022-05-07 11:25:32 +02:00
  • be67ec4a10
    Merge pull request #14877 from Snuffleupagus/PresentationMode-spreadMode Tim van der Meij 2022-05-07 11:19:20 +02:00
  • 7f40ef41a5 Simplify the "fileattachmentannotation"-event handling a little bit Jonas Jenwald 2022-05-06 20:45:53 +02:00
  • 9817230ef8 Introduce a --viewer-container-height CSS variable to simplify the code Jonas Jenwald 2022-05-05 17:37:33 +02:00
  • 6e7e9d83d8 Add support for TrueType format 12 cmaps (issue 14881) Jonas Jenwald 2022-05-06 11:11:38 +02:00
  • cfac6fa511
    Merge pull request #14874 from calixteman/colors calixteman 2022-05-05 21:48:19 +02:00
  • c8afd6ce8c [api-minor] Improve pdf reading in high contrast mode - Use Canvas & CanvasText color when they don't have their default value as background and foreground colors. - The colors used to draw (stroke/fill) in a pdf are replaced by the bg/fg ones according to their luminance. Calixte Denizet 2022-05-04 15:37:13 +02:00
  • 4fffab4ad3 Add (basic) support for Spread modes in PresentationMode (issue 14749) Jonas Jenwald 2022-05-05 11:15:45 +02:00
  • 54410d5e41 Simplify the signature of BaseViewer._scrollIntoView and make the method private Jonas Jenwald 2022-05-04 11:35:04 +02:00
  • 7d6d6f9151
    Merge pull request #14871 from Snuffleupagus/ensurePageViewVisible-PresentationMode-refactor Tim van der Meij 2022-05-04 22:41:29 +02:00
  • 899e4d58d6
    Merge pull request #14870 from Snuffleupagus/isNodeJS-cleanup Tim van der Meij 2022-05-04 22:38:21 +02:00
  • 8b8a09e52f
    Merge pull request #14873 from Snuffleupagus/AnnotationStorage-hash Tim van der Meij 2022-05-04 22:33:49 +02:00
  • 8267fd8a52 Replace the AnnotationStorage.lastModified-getter with a proper hash-method Jonas Jenwald 2022-05-04 15:03:46 +02:00
  • 8135d7ccf6
    Merge pull request #14869 from calixteman/14862 Jonas Jenwald 2022-05-03 18:31:31 +02:00
  • 6b866a5efa Add a small delay when typing in some integration tests to avoid intermittent failures Calixte Denizet 2022-05-03 16:25:29 +02:00
  • 094ff38da0 [JS] Fix few bugs present in the pdf for issue #14862 - since resetForm function reset a field value a calculateNow is consequently triggered. But the calculate callback can itself call resetForm, hence an infinite recursive loop. So basically, prevent calculeNow to be triggered by itself. - in Firefox, the letters entered in some fields were duplicated: "AaBb" instead of "AB". It was mainly because beforeInput was triggering a Keystroke which was itself triggering an input value update and then the input event was triggered. So in order to avoid that, beforeInput calls preventDefault and then it's up to the JS to handle the event. - fields have a property valueAsString which returns the value as a string. In the implementation it was wrongly used to store the formatted value of a field (2€ when the user entered 2). So this patch implements correctly valueAsString. - non-rendered fields can be updated in using JS but when they're, they must take some properties in the annotationStorage. It was implemented for field values, but it wasn't for display, colors, ... - it fixes #14862 and #14705. Calixte Denizet 2022-05-02 19:28:00 +02:00
  • aad4c6538f Re-factor the PresentationMode handling in BaseViewer.#ensurePageViewVisible Jonas Jenwald 2022-05-03 13:14:17 +02:00
  • d4fe4fd97b Simplify a couple of isNodeJS-dependent getDocument default values Jonas Jenwald 2022-05-03 11:21:33 +02:00
  • 7df47c289f Only bundle the src/display/node_utils.js file in GENERIC-builds Jonas Jenwald 2022-05-03 11:13:34 +02:00
  • da4f7dfcd0
    Merge pull request #14866 from Snuffleupagus/Type3-release-Uint8Arrays Jonas Jenwald 2022-05-02 15:09:59 +02:00
  • 67719af9df Immediately release the temporary Uint8Arrays used during Type3-compilation Jonas Jenwald 2022-05-02 13:15:03 +02:00
  • db12492584
    Merge pull request #14865 from Snuffleupagus/issue-14864 Jonas Jenwald 2022-05-02 13:00:11 +02:00
  • 85b7e60425
    Merge pull request #14863 from calixteman/update-quickjs Jonas Jenwald 2022-05-02 11:46:07 +02:00
  • df5a4fd0a7 Support encoded dest-strings in /GoTo destination dictionaries (issue 14864) Jonas Jenwald 2022-05-02 09:46:44 +02:00
  • 2dba91e0ed Update quickjs to revision 2788d71e823b522b178db3b3660ce93689534e6d - The date parser in quickjs is not optimal so use the navigator one. Calixte Denizet 2022-05-01 15:53:46 +02:00
  • 397f71424c
    Merge pull request #14861 from timvandermeij/es-module-shims Tim van der Meij 2022-05-01 14:32:18 +02:00
  • 5ec8c3c191
    Merge pull request #14858 from Snuffleupagus/Type3-Path2D Tim van der Meij 2022-05-01 14:29:56 +02:00
  • 3af52dacb5
    Pin the es-module-shims dependency to version 1.4.7 Tim van der Meij 2022-05-01 14:02:43 +02:00
  • e658acffbc Slightly re-factor the compileType3Glyph function Jonas Jenwald 2022-05-01 09:56:27 +02:00
  • c2488c7864 Use Path2D, if available, when rendering Type3-fonts (bug 810214) Jonas Jenwald 2022-04-30 12:29:12 +02:00
  • 4bd5d98d59
    Merge pull request #14860 from timvandermeij/updates Jonas Jenwald 2022-05-01 13:44:23 +02:00
  • 58fed00bc3
    Update translations to the most recent versions Tim van der Meij 2022-04-30 20:06:20 +02:00
  • dacd61fede
    Update dependencies to the most recent versions Tim van der Meij 2022-04-30 19:56:10 +02:00
  • 75ac897284
    Merge pull request #14857 from Snuffleupagus/rm-webViewerOpenFileViaURL Tim van der Meij 2022-04-30 12:21:25 +02:00
  • e5e2941d53
    Merge pull request #14854 from Snuffleupagus/viewer-rm-button-classes Tim van der Meij 2022-04-30 12:18:16 +02:00
  • b10b8dad7d
    Merge pull request #14853 from calixteman/white_lines calixteman 2022-04-29 18:15:03 +02:00
  • 9268924a15 Only define the webViewerFileInputChange/webViewerOpenFile variables in GENERIC builds Jonas Jenwald 2022-04-29 17:36:52 +02:00
  • 7cce41c26d Inline the webViewerOpenFileViaURL function in webViewerInitialized Jonas Jenwald 2022-04-29 17:04:56 +02:00
  • 624d8a8e3e Use integer coordinates when drawing images (bug 1264608, issue #3351) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1264608; - it's only a partial fix for #3351; - some tiled images have some spurious white lines between the tiles. When the current transform is applyed the corners of an image can have some non-integer coordinates leading to some extra transparency added to handle that. So with this patch the current transform is applied on the point and on the dimensions in order to have at the end only integer values. Calixte Denizet 2022-04-28 16:25:47 +02:00
  • 24d5d5d761
    Merge pull request #14856 from Snuffleupagus/rm-forceClamped Jonas Jenwald 2022-04-29 15:19:17 +02:00
  • fbf6dee8ee [api-minor] Remove the forceClamped-functionality in the Streams (issue 14849) Jonas Jenwald 2022-04-28 14:04:20 +02:00
  • 1e24fe97f2 Remove unnecessary CSS classes when specifying button icons Jonas Jenwald 2022-04-27 16:13:26 +02:00
  • 4f69d66ab2 Remove redundant class names from the button DOM-elements Jonas Jenwald 2022-04-27 16:04:00 +02:00
  • b72a448327
    Merge pull request #14835 from Snuffleupagus/CSS-cleanup-separators Tim van der Meij 2022-04-27 14:32:23 +02:00
  • 5ca9f9bf86
    Merge pull request #14833 from Snuffleupagus/mozcentral-rm-openFile-buttons Tim van der Meij 2022-04-27 14:27:46 +02:00
  • 694cb311c0
    Merge pull request #14848 from Snuffleupagus/issue-14847 Jonas Jenwald 2022-04-27 12:15:48 +02:00
  • 71370d012b Support destinations in NameTrees with encoded keys (issue 14847) Jonas Jenwald 2022-04-27 10:34:31 +02:00
  • 981cd5bbfc
    Merge pull request #14836 from calixteman/fix_integration Jonas Jenwald 2022-04-25 15:23:44 +02:00
  • 314fd83bba Don't use pref 'browser.download.improvements_to_download_panel' in Firefox (#14822) Calixte Denizet 2022-04-25 15:05:38 +02:00
  • 3c10c66cd3 Remove unused CSS rules for toolbar buttons with textButton-classes Jonas Jenwald 2022-04-25 14:46:10 +02:00
  • f9262d29fc Clean-up some CSS rules for the various toolbar separators Jonas Jenwald 2022-04-25 14:15:59 +02:00
  • b04c373362 Stop bundling the openFile-buttons in the MOZCENTRAL build Jonas Jenwald 2022-04-25 10:06:47 +02:00
  • 2be19e828f
    Merge pull request #14831 from Snuffleupagus/incrementCachedImageMaskCount Tim van der Meij 2022-04-24 11:47:07 +02:00
  • 41065d7825
    Merge pull request #14829 from Snuffleupagus/rm-print-CSS Tim van der Meij 2022-04-24 11:21:34 +02:00
  • e18edf38db Add a helper function for incrementing the count of cached ImageMasks Jonas Jenwald 2022-04-24 11:10:02 +02:00
  • 925a7bc58a Remove unnecessary print CSS rules Jonas Jenwald 2022-04-23 14:09:27 +02:00
  • 752dee5caa
    Merge pull request #14825 from Snuffleupagus/issue-14824 Tim van der Meij 2022-04-23 13:19:56 +02:00
  • f9e54d9226
    Merge pull request #14823 from Snuffleupagus/issue-14821 Tim van der Meij 2022-04-23 13:19:26 +02:00
  • 18dd2866f7
    Merge pull request #14827 from Snuffleupagus/toolbar-margin Tim van der Meij 2022-04-23 13:11:16 +02:00
  • 1921c4612d
    Merge pull request #14828 from Snuffleupagus/viewer-more-for-of Tim van der Meij 2022-04-23 13:09:32 +02:00
  • 7e57469683 Use more for...of loops in the viewer Jonas Jenwald 2022-04-23 12:46:38 +02:00
  • 33ed743c48 Simplify setting of spacing at the left/right edges of the toolbar(s) Jonas Jenwald 2022-04-22 13:04:12 +02:00
  • 6c229dffb1 Ensure that worker-thread image caching doesn't break optional content (issue 14824) Jonas Jenwald 2022-04-22 14:30:25 +02:00
  • e723da7261 Ignore invalid /Encoding-entries when parsing fonts (issue 14821) Jonas Jenwald 2022-04-22 11:40:13 +02:00
  • f39219cd45
    Merge pull request #14815 from Snuffleupagus/issue-14814 Tim van der Meij 2022-04-22 11:39:13 +02:00
  • 7ba71f56b4
    Merge pull request #14818 from Sea-n/master Tim van der Meij 2022-04-22 11:31:55 +02:00
  • ec28f0aa47
    Merge pull request #14817 from Snuffleupagus/more-CSS-cleanup Tim van der Meij 2022-04-22 11:30:32 +02:00
  • 6bf978404e Use correct case for JavaScript Sean Wei 2022-04-21 23:56:28 +08:00
  • 0f7e3213a1 Some more, small, CSS clean-up Jonas Jenwald 2022-04-21 15:40:38 +02:00
  • 39d1bdde09 Ignore non-Stream /SMask-entries when parsing images (issue 14814) Jonas Jenwald 2022-04-21 11:57:12 +02:00
  • 452a98b0e0
    Merge pull request #14810 from Snuffleupagus/mozcentral-rm-errorWrapper-CSS Tim van der Meij 2022-04-20 19:50:57 +02:00
  • 5e8b2e5d25
    Merge pull request #14794 from Snuffleupagus/BaseViewer-update-isInPresentationMode Tim van der Meij 2022-04-20 19:46:53 +02:00
  • 1d803451c3 Stop bundling errorWrapper CSS rules in the MOZCENTRAL build Jonas Jenwald 2022-04-20 14:21:51 +02:00
  • c91d2ac15a Remove the PresentationMode special-case from BaseViewer.update Jonas Jenwald 2022-04-17 12:37:10 +02:00
  • 9a8fa3201f
    Merge pull request #14803 from Snuffleupagus/issue-14802 Tim van der Meij 2022-04-19 21:41:24 +02:00
  • c58ff7c301
    Merge pull request #14801 from Snuffleupagus/findbar-simplify-button-styling Tim van der Meij 2022-04-19 21:29:41 +02:00
  • 5032e357d4
    Merge pull request #14793 from Snuffleupagus/ensurePageViewVisible-spreads Tim van der Meij 2022-04-19 21:25:59 +02:00
  • a115d17b43
    Merge pull request #14795 from Snuffleupagus/CSS-reduce-duplication Tim van der Meij 2022-04-19 21:19:05 +02:00
  • b34fb94c68
    Merge pull request #14792 from Snuffleupagus/update-packages Tim van der Meij 2022-04-19 21:17:28 +02:00
  • 5f6ca2224e
    Merge pull request #14790 from Snuffleupagus/rm-print-CSS Tim van der Meij 2022-04-19 21:14:42 +02:00