Commit graph

56501 commits

Author SHA1 Message Date
Jehan
25e9643755 Release GIMP 3.2.0 RC2. 2025-12-14 21:44:54 +01:00
Jehan
7050215484 build: update snapcraft for release. 2025-12-14 21:44:54 +01:00
Jehan
57316a9729 Issue #15494: loading transformed + rasterized linked layer was failing.
There was an inconsistency in xcf_load_buffer() with the size of the
buffer because the transform property has to be processed at the end.
2025-12-14 21:44:54 +01:00
Jehan
b80b1ae0d7 NEWS: update. 2025-12-14 19:17:18 +01:00
Jehan
fbc563eb8b Issue #15491: "layers-mask-apply" insensitive on rasterizable items. 2025-12-14 17:54:03 +01:00
Jehan
1fcdb7243e build: upload xz-compressed artifacts.
tar doesn't compress on its own, it's just a container format. It
doesn't look like these 2 files are actually used otherwise, apart from
being log artifacts (at least I couldn't find any script decompressing
these).

This is an attempt to reduce size of artifacts on deps-flatpak because
CI complains with a "Request Entity Too Large" error.
2025-12-14 15:05:04 +01:00
Bruno Lopes
3b4bc8d1d9
build/linux: Do not add snapshot entry on appdata if it have the same date
This completes 6f632974
2025-12-14 10:56:16 -03:00
Bruno Lopes
8be52efecd
build/linux: Update graphviz-14.1.0.tar.gz to 14.1.1 2025-12-14 08:33:55 -03:00
Bruno Lopes
c30c8af64e
Revert "build/windows: Temporarely show flatpak deps building to see if ORAS caching is working"
This reverts commit fdb4111e3f.

I did not reverted before because seemed that GNOME guys bumped the
GitLab log limit but we just confirmed that it is still there.
2025-12-14 08:14:14 -03:00
Jehan
34897d7d36 desktop: we'll release on Sunday. 2025-12-14 02:33:27 +01:00
Jehan
9e5fbe13c5 app: factorize detection of XCF load proc into a single function. 2025-12-14 02:28:35 +01:00
Jehan
a34907987f app: minor spacing cleanup. 2025-12-14 02:17:04 +01:00
Jehan
462d926ade Issue #14985: prevent loading recursive linked layers.
This is a complementary commit to my previous one. Now let's try to
detect cycling links when importing images as link layers. It's much
friendlier this way, with early errors (rather than let people load
links with cycles, then save a XCF, and finally get an error message at
next XCF load).
2025-12-14 01:46:32 +01:00
Bruno Lopes
9b91d4d309
build/linux: Complete cfitsio update
The previous commit (7ed0c02c) was incomplete.
2025-12-13 20:59:34 -03:00
Jehan
c1d2ee744e Issue #14985: prevent loading recursive linked layers.
This is part of the fix for #14985, only relative to loading. It assumes
that we already have a XCF with cycling in it and will cleanly load it
(instead of forever cycling). For this to happen, I split a bit some of
the header loading code in separate functions to quickly load the header
of every link recursively until we either reach a parent file (i.e. a
cycle was discovered) or we read them all. It means we don't discover
any level of cycling (however many successive links end up to a previous
file!)

File identity will follow symbolic links as well as verify hard links.

When a cycling link is discovered, the link is downgraded to a raster
layer (showing the last render of this layer).
2025-12-14 00:31:13 +01:00
Bruno Lopes
c8cce02504
build: Always bundle "Debug" menu binaries after 083360fa
This ends dev comments we get on every release like:
"Wow, the tagged binaries are suddenly smaller!"
2025-12-13 08:42:33 -03:00
Jehan
c62cbbf1d3 NEWS: update. 2025-12-13 00:29:47 +01:00
Jehan
0157a9581e Issue #14442: undo crops layer rendering out of its off-border effects.
This was happening in multiple cases, such as undoing a "Rasterize
filters" action, but also with a "Layer to Image Size" being undone, and
probably any other undo cases.

In particular here the culprit was that upon undoing, we were setting
the GimpApplicator's "gimp:compose-crop" node, while it was a "gegl:nop"
before. We must be careful not to set a crop unexpectedly when the node
was not set already, explicitly.
2025-12-13 00:11:08 +01:00
Jehan
083360fac1 app, etc: do not hide --show-debug-menu.
This is a useful debugging function for developers. It is enough to hide
the menu by default on stable releases, I don't think we also need to
hide the CLI option. Developers don't know all these options by heart,
so we need to make them reasonably discoverable!
2025-12-13 00:10:57 +01:00
dimspingos
37cbe1dc45 Updated Greek translation 2025-12-12 14:48:59 +02:00
Bruno Lopes
9edbb71aaa
gitlab-ci: Go back to upstream vcpkg repo
https://github.com/microsoft/vcpkg/pull/48711 was merged
2025-12-12 07:26:04 -03:00
Bruno Lopes
efdb3ea269 build/linux: Make AppImage with relocatable babl and GEGL
Closes: GNOME/gegl#385 GNOME/gegl#420

This changes build options etc to take advantage of Jehan's work.
2025-12-11 18:51:56 -03:00
Øyvind Kolås
7679e7bb01 meson,app: depend on GEGL 0.4.66 2025-12-11 22:21:59 +01:00
Øyvind Kolås
44ba2219fb meson,app: depend on babl-0.1.118 2025-12-11 22:21:59 +01:00
Bruno Lopes
6e80f5a2f9
build/linux: Fix AppImage not being able to open relative paths
Closes: #13636

Patch adapted from @kruthers
2025-12-11 14:22:29 -03:00
Bruno Lopes
f14a795211
build/linux: Quick fix for wrong type2-runtime being fetched
This fixes:

(ERROR): Downloaded runtime version differs from the one released online. Please, run again this script.
2025-12-11 10:27:24 -03:00
dimspingos
b3c88eb266 Updated Greek translation 2025-12-11 14:53:52 +02:00
Bruno Lopes
7ed0c02c51
build/linux: Update cfitsio-4.6.2.tar.gz to 4.6.3
Synced from: a62f465d55
2025-12-11 09:17:26 -03:00
Bruno Lopes
ae5b46ecb0
gitlab-ci: We now need to disable ccache explicitly on Creiter runners
Otherwise, Meson will use it automatically.
2025-12-10 18:53:52 -03:00
Bruno Lopes
1b57c6445f
Issue #13991: Show real GIMP3_DIRECTORY on MSIX
Closes: #13991
2025-12-10 17:29:53 -03:00
Bruno Lopes
322167f235
gitlab-ci: Fix MSVC-specific env vars interfering on MSYS2 environment 2025-12-10 13:03:21 -03:00
Jehan
2aa4883493 NEWS: update. 2025-12-10 12:48:56 +01:00
Jehan
528cd1905a app, pdb: initialize the "config" object for custom GIMP operations.
If the config object is NULL, we later face crashes! My guess is that we
had only been testing editing custom ops, but not creating them from
public API!
2025-12-10 01:05:16 +01:00
Jehan
38c33eb6a0 app: remove unused variable and fix spaces. 2025-12-08 21:35:19 +01:00
Jehan
c9e27ee670 gimp-data: new splash image. 2025-12-08 20:41:33 +01:00
Gabriele Barbero
43f0ab8ba4 dialogs: make the keyboard shortcuts dialog hint more informative
This commit updates the hint in the keyboard shortcuts dialog to provide
more detailed instructions on how to edit shortcut keys. The hint now
explains that users need to click on the "Shortcut" column of the corresponding
row to type a new accelerator or press backspace to clear it.
See: https://gitlab.gnome.org/Teams/GIMP/Design/gimp-ux/-/issues/594
2025-12-08 13:48:15 +01:00
Bruno Lopes
352b0ec434
build/linux: Update graphviz-14.0.5.tar.gz to 14.1.0
Synced from 0d3181356e
2025-12-08 07:37:05 -03:00
Bruno Lopes
7e25ebb1d5
build/windows: Build (almost complete) GIMP on scheduled MSVC builds
There still some fixes to do but this is a needed and good start.
We need GIMP building with MSVC on CI to avoid regressions on
this already hard work.
2025-12-07 20:35:02 -03:00
Bruno Lopes
5a4ed76c37
build/windows: Update MSVC patches for gegl 2025-12-07 20:33:56 -03:00
Idriss Fekir
c0e5107eee gimpfontfactory.c:Check for font type directy not through FT
Checking for valid font files thourgh harfbuzz or freetype (as it's done currently)
is slow, to speed up font loading a but, a less robust but faster check is done, which
is just reading and checking the first 4 bytes of every font file.
2025-12-07 22:23:31 +00:00
Bruno Lopes
1d3fb73ff3
libgimpbase: Fix broken Win32 check due to absense of glib header 2025-12-07 17:55:39 -03:00
Alx Sa
403c94213b operations: Add more translated titles to operations
Continuation of cf3820be to add titles to
the remaining operations that can become
NDE filters.
2025-12-07 20:37:14 +00:00
Gabriele Barbero
08abaa721a libgimpwidgets: make GimpBrowser emit "stop-search" signal
This commit enables GimpBrowser to emit the "stop-search" signal,
originally emitted only by the internal GtkSearchEntry.
It also connects this signal to all widgets embedding a GimpBrowser,
so they can intercept it and close themselves.
This restores the behaviour that existed before the GtkSearchEntry update
2025-12-07 19:46:03 +01:00
Jehan
24a69df9ab etc: make the new bash-completion file work for all variants of our executables.
In particular make it also work with the `gimp-console` and with all
symlink names.

Also rename the bash completion file using the full application version
so that it will be possible to install several such completion files
side by side.
2025-12-07 15:40:13 -03:00
Jehan
c55cfc9fa1 etc: fix unknown meson option.
This fixes:

> […]/gimp/etc/meson.build:31:39: ERROR: dependency.get_variable got unknown keyword arguments "define_variable"

This MR was years-old. Maybe this option got renamed since that time.
2025-12-07 15:40:13 -03:00
Niels De Graef
b15538d2e6 Add a Bash completion file 2025-12-07 15:40:13 -03:00
Alx Sa
540fe925f1 tools: Crop Tool is conditionally destructive
Resolves #15418
Destructive tools can not be used on non-raster layers
(vector, text, link). However, the Crop Tool is only destructive
when "Delete Pixels" option is enabled - otherwise it just crops
the canvas size. This patch toggles the GimpTool classes'
"is_destructive" setting based on the value of "Delete Pixels".
2025-12-07 17:38:08 +00:00
Jehan
d46d90283f NEWS: update. 2025-12-07 18:16:24 +01:00
Bruno Lopes
7a108ef016
build/linux: Bundle GExiv2 .typelib on Snap package
This is required since dcec82a6
2025-12-07 14:09:28 -03:00
Jehan
4c82ea1413 meson: remove check for old babl pkg-config name.
Our minimum requirement is now over the name change.
2025-12-07 17:30:25 +01:00