Commit Graph

49262 Commits

Author SHA1 Message Date
Jehan 036510d191 app: when arranging an item and an ancestor item, drop the descendant.
Trying to arranging both doesn't make sense and only end up in weird result. If
both the parent (layer group) and one or several child items are selected, just
arrange the parent.
2023-01-09 18:22:08 +01:00
Alx Sa 74b32f7c86 build: Add support for OpenMP dependency
Enables general support for OpenMP.
Currently, only the DDS plug-in utilizes it.
2023-01-09 16:41:06 +00:00
Alx Sa 11495ea4fd tools: Don't auto-activate when image changes
This changes the auto-activate behavior for transform and
GEGL tools so it does not apply when the image is changed.
2023-01-09 15:28:37 +00:00
Alx Sa a41ba956e6 tools: Auto-activate GEGL operation tool on click
This extends the work done in !778 to open the GEGL operation dialogue
automatically when selected from the menu, rather than requiring the
user to click on the canvas first.
2023-01-09 15:28:37 +00:00
Stanislav Grinkov fa9f4e6825 app, build: depend on GLib 2.70
Commit 52d17439 introduced use of g_thread_pool_new_full which is
available only since GLib 2.70
2023-01-09 14:20:21 +00:00
Lukas Oberhuber 15c34716cf gimphelplocale: MacOS can get http and https
(cherry picked from commit cad9feed71)
2023-01-08 23:55:22 +00:00
Rodrigo Lledó b54ca06579 Update Spanish translation 2023-01-08 23:36:57 +00:00
Rodrigo Lledó 09aa6e1440 Update Spanish translation 2023-01-08 23:00:49 +00:00
Rodrigo Lledó d1d2506d3f Update Spanish translation 2023-01-07 23:44:12 +00:00
Hugo Carvalho 48ee6db7bd Update Portuguese translation 2023-01-06 21:42:36 +00:00
Hugo Carvalho a5f2987e78 Update Portuguese translation 2023-01-06 21:37:16 +00:00
Jehan 6378f3af8d gitlab-ci: using the 'posix_local' installation scheme for Python.
Python 3.10 introduced sysconfig.get_default_scheme() and somehow Debian decided
it was a good idea to move from the 'posix_prefix' to the 'posix_local' scheme.
See: https://lists.debian.org/debian-python/2022/03/msg00039.html

The main issue with this scheme is that it adds a local/ subdirectory to the set
--prefix. As a consequence, with --prefix=~/.local/, scripts are installed in
~/.local/local/bin/ (instead of proper ~/.local/bin/), data are now in
~/.local/local/share/ and so on.
As expected, this broke a lot of CIs for a lot of projects, as well as a lot of
custom scripts, usage of Python in virtualenv (this later case seems like it is
fixed by special-casing it in Python 3.11), flatpak, etc.

Setting DEB_PYTHON_INSTALL_LAYOUT environment variable to "deb" solves this by
changing the default scheme.

This URL is also useful to understand the issue:
https://askubuntu.com/questions/1406304/virtualenv-installs-envs-into-local-bin-instead-of-bin

As a side note, Debian is not the only one which made the mistake. Fedora also
did the same thing (and they have also their own different environment variable
to handle this): https://bugzilla.redhat.com/show_bug.cgi?id=2026979
2023-01-06 18:47:52 +01:00
Martin 106ef0affd Update Slovenian translation 2023-01-06 07:46:02 +00:00
Alexander Shopov fe8fe422c5 Update Bulgarian translation 2023-01-04 21:18:43 +00:00
Martin f4778804ac Update Slovenian translation 2023-01-04 16:44:29 +00:00
Martin 52d85621bb Update Slovenian translation 2023-01-04 16:38:45 +00:00
Alan Mortensen 0549185c10 Update Danish translation 2023-01-03 15:13:40 +00:00
Alan Mortensen f75592140e Update Danish translation 2023-01-03 15:12:48 +00:00
Alan Mortensen db8416398a Update Danish translation 2023-01-03 15:11:40 +00:00
Alan Mortensen 874d239bc1 Update Danish translation 2023-01-03 15:11:05 +00:00
Alan Mortensen 52ffdf4e4d Update Danish translation 2023-01-03 15:10:39 +00:00
valadaptive ea28ac0bbd app: Fix "Handle Transform" handle snap location
(cherry picked from commit d6d2e56c00)
2023-01-03 15:59:55 +01:00
Zurab Kargareteli 7f46c04e66 Update Georgian translation 2023-01-03 00:47:46 +00:00
Yuri Chornoivan 307afe349d Update Ukrainian translation 2023-01-02 18:56:23 +00:00
Yuri Chornoivan 7ad5635946 Update Ukrainian translation 2023-01-02 18:50:52 +00:00
Luming Zh 99f6566534 Update Chinese (China) translation 2023-01-01 20:39:00 +00:00
Chao-Hsiung Liao dc20b1d123 Update Chinese (Taiwan) translation
(cherry picked from commit ec5c48005e)
2022-12-31 00:01:10 +00:00
Chao-Hsiung Liao 16275b5a36 Update Chinese (Taiwan) translation
(cherry picked from commit a1f24a414a)
2022-12-30 23:59:35 +00:00
Chao-Hsiung Liao a4cbb0f407 Update Chinese (Taiwan) translation 2022-12-30 23:57:47 +00:00
Chao-Hsiung Liao 602e6110b9 Update Chinese (Taiwan) translation 2022-12-30 23:51:57 +00:00
Alx Sa fc202818dd plug-ins: Add support for PSD clipping paths
Adds import and export support for clipping paths in PSD files.
On import, path name and flatness value are saved in parasites.
Prior settings are loaded in the GUI on export.
2022-12-30 16:33:37 +00:00
Alx Sa ec60d376a5 plug-ins: Create struct for PSD save options
Allows more save options to be added without changing
the method signatures.
2022-12-30 16:33:37 +00:00
Sabri Ünal 5d9f214cb8 app: Make a comment reachable
gettext cannot reach otherwise.
2022-12-30 12:43:41 +00:00
Richard Szibele f470691e06 ScriptFu: Add byte support.
Add a new type 'byte' to be able to handle binary data while still
retaining the utf8 char and string behavior.

Internally the file and string port and character handling have
been reworked to use the new byte-centric functions.

Also adds a new test script (test9) that tests byte, char and
utf8 string handling.
2022-12-27 16:48:13 +00:00
Jehan b62ae798d1 libgimp: libgimp does not depend on GTK+.
Only libgimpui depends on GTK+, display servers and other GUI-related
dependencies. There was a problematic include added in commit 0b56aa0d13 for
macOS, but the needed code (testing the macro GDK_WINDOWING_QUARTZ to use some
[NSApp activateIgnoringOtherApps:YES] API) doesn't seem to be present anymore in
there, so I think that removing this include (replace by including GLib for
other calls) should work fine. Of course, we'll know it when the separate CI
will test a macOS build as we still don't have in-Gitlab macOS jobs. :-/
2022-12-26 22:29:52 +01:00
Jehan c6bc4fbe38 tools: add a --runtime option to flatpak-releases script.
This will allow to also check the list of runtime builds. We could see an
example in a report (#8993) where someone had the latest flatpak build of GIMP
but an older build of the runtime flatpak. So they had a bug because of a
dependency which got updated since then.
2022-12-26 18:53:51 +01:00
Jehan 9347c9d5fd tools: add the flatpak commit info to flatpak-releases script output.
This is useful when wanting to check someone is using the last flatpak build in
a bug report.
2022-12-26 18:18:54 +01:00
Ekaterine Papava 26ff19a89d Update Georgian translation 2022-12-23 22:59:05 +00:00
Jacob Boerema 8372220345 app: use pre-defined help id GIMP_HELP_COLORSELECTOR_PALETTE
Instead of using the string directly. This ensures that possible updates
in the string don't go unnoticed in gimp-help.
2022-12-23 13:01:11 -05:00
Jacob Boerema 469dfdcf11 app: update available help ids for gimp-help
Add several missing help ids, remove those that are not used anymore,
and update "gimp-colorselector-water" to "gimp-colorselector-watercolor".

Also add a comment why some help ids are not used directly.
2022-12-23 12:56:47 -05:00
Jehan 5d30089d71 gitlab-ci: fix the CI build.
In the last few days, our deps-win64 job started to fail with:
> $ update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
> update-alternatives: error: no alternatives for x86_64-w64-mingw32-g++

The reason lies in this change in Debian testing 10 days ago:

----
gcc-mingw-w64 (25) unstable; urgency=medium

  * Upgrade to GCC 12. Closes: #1023679. It is no longer possible to tweak
    the installation directory for different thread models, so the -posix
    and -win32 packages are no longer co-installable.
  * Drop “Built-Using” from “Architecture: all” packages.
  * Since the POSIX and Win32 packages are no longer co-installable,
    drop support for alternatives and use symlinks to provide the full
    set of command names.
  * Standards-Version 4.6.1, no change required.

 -- Stephen Kitt <skitt@debian.org>  Mon, 12 Dec 2022 09:00:34 +0100
----

So from now on, we'll only install the posix variant of the cross-compiler.
Hopefully it will work for all packages we build.
2022-12-23 18:28:36 +01:00
Jordi Mas d08a63d610 Update Catalan translation 2022-12-21 17:28:33 +01:00
Jordi Mas cea954b42c Update Catalan translation 2022-12-18 20:31:41 +01:00
Kristjan SCHMIDT 798ef480de Update Esperanto translation 2022-12-18 11:14:07 +00:00
Kristjan SCHMIDT 641379886a Update Esperanto translation
(cherry picked from commit 8ef0a8701d)
2022-12-18 11:05:23 +00:00
Jordi Mas fb98b3198c Update Catalan translation 2022-12-17 14:28:42 +01:00
Alx Sa d1746e464c plug-in: Initial support for CMYK/A JPEGXL export
Adds option to export JPEG XL images in CMYK/A format.
Key and Alpha data is saved in extra channels, and the
simulation profile is saved as well.
Per the specification developers, the format does not
support 'naive' CMYK conversion, so a profile is required
for export. The option will be disabled if not set.
2022-12-14 21:43:38 +00:00
Alx Sa b04f45f354 plug-in: Initial support for CMYK/A JPEGXL import
Checks if file has an extra key channel for CMYK. If so, it is combined
with the image's CMY image to create a CMYK buffer for import.
Color profile is stored as image simulation profile.
If alpha channel is present, it is now loaded as well for CMKYA images.
2022-12-14 21:43:38 +00:00
Jehan 5c4dac0d67 devel-docs: release-howto was now moved into the developer website.
The URI will be: https://developer.gimp.org/core/maintainer/release/ (once we
merge the testing website to the main)

The new procedure also contains a wrapper step where we paste the checklist,
markdown-formatted, into a Gitlab report for better progress follow-up and also
onboarding testers into the release procedure.
2022-12-13 23:53:08 +01:00
Emin Tufan Çetin 1d9d3b8f11 Update Turkish translation 2022-12-13 01:00:58 +00:00