1. 17 Jul, 2020 2 commits
    • Jehan's avatar
      app: show playground if any of the experimental feature is enabled. · d3ef6cfb
      Jehan authored
      Basically if you enabled OpenCL or any of the experimental tools, it
      will show the Playground in Preferences. Otherwise, say you enabled some
      experimental feature months ago (e.g. with the CLI option) and you now
      experience crashes or whatnot. And you forgot how to change it, and only
      remembered that there was something in Preferences. It would make you
      crazy to not find the tab again to disable the option.
      
      This is even more important as OpenCL is moving from a normal option to
      a playground option. So you might not even have ever seen the Playground
      tab in Preferences and would not know how to disable OpenCL after you
      enabled it originally in "System Resources" tab.
      
      So now Playground is visible with any of these 3 conditions:
      * If you use an unstable version.
      * If you run GIMP with --show-playground option.
      * If you previously enabled one of the playground options.
      d3ef6cfb
    • Jehan's avatar
      app: move OpenCL settings into the Playground. · 0f806d0e
      Jehan authored
      After discussions on IRC, it was decided that our current level of
      support of OpenCL was not good enough. As a normal settings, people just
      see it as a normal acceleration checkbox, even despite the warning text
      and emoticone saying the opposite (i.e. it may even slow things down in
      some cases).
      Basically this feature needs more love to be back into mainstream
      Preferences.
      0f806d0e
  2. 16 Jul, 2020 1 commit
    • Jehan's avatar
      app: add contents of /.flatpak-info in the verbose info. · bc5f6371
      Jehan authored
      This file is available in a flatpak sandbox and will contain various
      info such as the build commit, very useful info as we can have several
      builds for a same version. For instance if we have exactly the right
      commit, we can load exactly the same binary as a bug reporter very
      easily, hence are able to get source correspondance without necessarily
      asking reporters to install debug symbols (though it stays easier if
      they can do it).
      
      Other interesting info contained in this file are the exact runtime
      used, the installed application or runtime extensions, the permissions
      (people may override our flatpak permissions so it's useful to be able
      to check when they did) and environment variables…
      bc5f6371
  3. 14 Jul, 2020 2 commits
    • Boyuan Yang's avatar
      Update Chinese (China) translation · f2ef0ec6
      Boyuan Yang authored
      f2ef0ec6
    • Ell's avatar
      libgimpwidgets: handle Enter/Esc keys in GimpSpinButton · e5310230
      Ell authored
      In GimpSpinButton, don't propagate Enter key-press events if
      updating the spin-button's value in response changes the entered
      text.  This prevents confirming dialogs when hitting Enter after
      entering a math expression in size entries, updating their value
      instead.
      
      Likewise, don't propagate Escape key-press events if a new value
      was entered, and restore the original value instead.
      e5310230
  4. 13 Jul, 2020 2 commits
  5. 12 Jul, 2020 1 commit
  6. 06 Jul, 2020 4 commits
  7. 05 Jul, 2020 1 commit
    • Jehan's avatar
      Issue #5349: meson build with -Dpoppler=false has no effect. · fae85e70
      Jehan authored
      Poppler has not been an optional dependency for years now, because it
      was decided that PDF import was considered a granted feature by most
      people. So removing the option in the meson build. This option should
      not have existed in the first place.
      fae85e70
  8. 04 Jul, 2020 2 commits
  9. 03 Jul, 2020 1 commit
  10. 02 Jul, 2020 1 commit
  11. 01 Jul, 2020 7 commits
  12. 30 Jun, 2020 3 commits
  13. 29 Jun, 2020 3 commits
  14. 28 Jun, 2020 2 commits
  15. 27 Jun, 2020 5 commits
    • Yuri Chornoivan's avatar
      Update Ukrainian translation · d7e74573
      Yuri Chornoivan authored
      d7e74573
    • Yuri Chornoivan's avatar
      Update Ukrainian translation · 240bc3ac
      Yuri Chornoivan authored
      240bc3ac
    • Jehan's avatar
      libgimp: do not assume there are selected layers. · 3edcaa4b
      Jehan authored
      The list of selected layers may be empty, which doesn't matter much
      because we don't actually do much with this list in current export code.
      In the code modified in this commit, we were only using existing layers
      to set the type of a new layer (which seems very useless right now as
      anyway the layer type has to be the image base type with or without
      alpha, so a with_alpha boolean parameter would be just as good, unless
      we plan to support different color model layers in a same image).
      3edcaa4b
    • Jehan's avatar
      app: fix selected layers in duplicated image. · dadae644
      Jehan authored
      This seems to have been broken since much longer, but it only made a
      problem with recent changes. Since we were duplicating layer groups and
      contents layers at once, the current code could not keep layer selection
      other than at root level in a duplicated image.
      Use the layer paths to make sure we select exactly the right copied
      layers, since the path should not change in a fully duplicated image.
      dadae644
    • Jehan's avatar
      desktop: add a <developer_name> tag. · 257ada49
      Jehan authored
      It just says "The GIMP team" so it's kind of redundant/useless, but I
      noticed that Flathub would just display an empty "Developer" section
      because the tag is absent. Well at least it emphasizes the
      community-developed side of GIMP.
      257ada49
  16. 25 Jun, 2020 3 commits
    • Ell's avatar
      plug-ins: add option to crop layers to image bounds when exporting TIFF · 7f39be86
      Ell authored
      In file-tiff, add an option to crop the layers to the image bounds
      when exporting individual layers (using GIMP_EXPORT_NEEDS_CROP
      added in the previous commit), since TIFF has no concept of global
      image bounds otherwise.  Cropping is enabled by default.
      7f39be86
    • Ell's avatar
      libgimp: add GIMP_EXPORT_NEEDS_CROP export capability · 4c8ee413
      Ell authored
      Add a new GIMP_EXPORT_NEEDS_CROP export capability, which causes
      gimp_export_image() to crop the exported image content to the image
      bounds; this is useful for formats that support layers, but have no
      concept of global image bounds, hence cropping is the only way to
      enforce the image bounds.
      
      When showing the export dialog, give an option to either crop the
      layers to the image bounds, or to resize the image to fit the
      layers.
      4c8ee413
    • Ell's avatar
      Issue #5274 - Exporting as TIFF fails for layers with a negative offset · 536bf771
      Ell authored
      When exporting a TIFF file without merging the image, make sure non
      of the exported layers has a negative offset, by offsetting all the
      layers as necessary.  TIFF doesn't support negative page offsets,
      giving an error in libtiff.
      536bf771