Commit graph

57247 commits

Author SHA1 Message Date
Anders Jonsson
76eaccc7b6 Update Swedish translation 2026-03-24 20:21:18 +00:00
Jehan
112276d8c8 desktop: adding AppStream metadata for GIMP 3.2.2. 2026-03-24 21:09:57 +01:00
Jehan
7f67536f1a Issue #16010: do not mind buffers with non-0 offsets in the case of group layers.
In fact, the previous commit was unneeded and we could have done without
reverting the old commit. On the other hand, a buffer using another
buffer as "source" may be nicer in memory.

But the previous commit alone was not right as group boundaries were
wrong. In fact, right now, we can see that group boundaries are computed
using only the children layers (except for pass-through of course), not
including any effects they might have. And the buffer passed to
gimp_drawable_set_buffer_full() was the projection's buffer itself — it
was shared, which was also why copying at setting time was wrong —, in
the case of a group layer. That means that when we translated to (0, 0)
offset, either we would have moved the render to the wrong place, or
moved the boundaries to the wrong place.
The offset needs to stay what it is, even when it's not (0, 0), for
group layers.

Another alternative fix would be instead to fix layer groups' boundaries
to encompass the full projection's render. But I just went with this
special-casing of group layers instead.
2026-03-24 20:41:53 +01:00
Jehan
af44043108 Issue #16010: adding a layer with filter to a group makes it invisible.
Part of it reverts commit 3a53e4743e.
Another part is a fix to the CRITICAL mentioned in this commit.

This being said, it's clearly not entirely right yet. The boundaries of
the layer when the filter is merged are not correct, which is especially
visible when trying to draw on this layer afterwards.
Also the layer group boundaries (when reproducing the steps in #16010)
are clearly wrong too.
2026-03-24 20:37:00 +01:00
Jehan
78de1080ce libgimpbase: fix leak from commit 2f76be13cb. 2026-03-24 20:20:34 +01:00
Jehan
63a57d68cb NEWS: update. 2026-03-24 20:20:34 +01:00
Bruno Lopes
3a90c48d6e build/macos: Try to fix MacPorts packages not being upgraded 2026-03-24 15:12:08 -03:00
Bruno Lopes
54e3a9777d build/linux: Update v0.3.31.tar.gz to 0.3.32
Synced from 1fc57c7b1e
2026-03-24 13:59:43 -03:00
Ondřej Míchal
2f76be13cb libgimpbase: Correctly free duplicate nicks in GimpChoice
A crash could happen when a duplicate nick was found due to incorrectly
freeing the content of 'choice->keys' which holds the nicks and not
GimpChoiceDesc. Instead, the nick needs to be simply freed.
2026-03-24 18:14:14 +02:00
Bruno Lopes
06d8bd6c54 build/windows: Do not allow cancelling itReinstall nor itUpdate
As said on cbe2f6be, Inno does not support modifying installations at
all, not even canceling/undoing modifications like reinstall and update.

This limitation become more apparent after the fix 24e42dd1 so
let's prevent the users being damaged by such major Inno pitfall.
2026-03-24 10:00:23 -03:00
Bruno Lopes
cbc8150749 build/windows: Wipe obsolete /32 dir from previous installs
Following 3d026f3d
2026-03-24 08:25:51 -03:00
Bruno Lopes
24e42dd1fc build/windows: Wipe versioned dep files on upgrades from Installer
Closes #16087
2026-03-24 07:14:00 -03:00
Bruno Lopes
aba2a9b852 meson, tools: Add check for GDB when debug-self-in-build option is set 2026-03-24 06:58:30 -03:00
luming zh
21721eafa3 Update Chinese (China) translation 2026-03-24 03:33:43 +00:00
Марко Костић
1b9a3fcfb1 Update Serbian translation 2026-03-23 23:36:43 +00:00
Martin
ef0a9822be Update Slovenian translation 2026-03-23 23:30:11 +00:00
Bruno Lopes
ab0b041321 gitlab-ci: Fix typo on Homebrew rule 2026-03-23 18:05:25 -03:00
Bruno Lopes
e75d758712 build/windows: Ops, forgot about -ErrorAction SilentlyContinue 2026-03-23 16:14:29 -03:00
Bruno Lopes
a791238394 build/windows: Evaluate inno_version to the highest versioned Inno
Following 37dd5755
2026-03-23 16:02:26 -03:00
Yuri Chornoivan
f96b5f18d7 Update Ukrainian translation 2026-03-23 16:41:18 +00:00
Alx Sa
680ebede22 plug-ins: Read full channel data for PSP selection
968cf06a only loaded the rectangle area that the
selection was contained in, rather than the actual
channel data. This patch extended the code to
also read in the PSP_CHANNEL_BLOCK data, add
it to the selection GeglBuffer, and then shift it over
into the correct location.
2026-03-23 15:07:33 +00:00
Yuri Chornoivan
fdeb87946f Update Ukrainian translation 2026-03-23 12:55:20 +00:00
Bruno Lopes
1d4b1e098b app: Add support to installing gimp-help on GIMP*_DIRECTORY
See: https://gitlab.gnome.org/GNOME/gimp-help/-/issues/553

This is needed for some read-only packages.
2026-03-22 22:20:18 -03:00
Bruno Lopes
0c6711a646 build/windows: Avoid bundling build-time libLLVM*.dll
That shared library is giant and not needed at runtime.
2026-03-22 21:30:21 -03:00
luming zh
a2e19a8411 Update Chinese (China) translation 2026-03-23 00:28:15 +00:00
Anders Jonsson
a62aeb3012 Update Swedish translation 2026-03-22 21:18:25 +00:00
Bruno Lopes
89be7ef6c7 build/windows: Fix deleted line by accident 2026-03-22 16:59:43 -03:00
Bruno Lopes
4f76429885 tools: Fix GIMP_PYTHON_WITH_GI breaking cross-building
Closes: https://gitlab.gnome.org/GNOME/gimp/-/issues/16085
2026-03-22 16:32:38 -03:00
Bruno Lopes
3b5056e392 build/windows: Cosmetic changes for some arch lines on .iss
This also fixes a warning from Inno.
2026-03-22 16:30:45 -03:00
Bruno Lopes
077be60a6a build/windows: FileCopy is now CopyFile on Inno 2026-03-22 16:24:38 -03:00
Bruno Lopes
a506b72186 build/windows: IsComponentSelected is now WizardIsComponentSelected on Inno 2026-03-22 16:21:03 -03:00
Bruno Lopes
9a95de2cce build/windows: Remove some unused variables as per Inno warnings 2026-03-22 16:19:05 -03:00
Bruno Lopes
59b6e92878 build/windows: Evaluate INNO_PATH to the highest versioned Inno
This way, the script will not break when Inno Setup 7.0.0 is released.

Commited again due to 44b52efb3e
2026-03-22 15:51:59 -03:00
Bruno Lopes
44b52efb3e Revert "build/windows: Evaluate INNO_PATH to the highest versioned Inno"
This reverts commit 37dd5755aa.

I think the line breaking or other thing changed. This is wrong.
2026-03-22 15:50:14 -03:00
Bruno Lopes
37dd5755aa build/windows: Evaluate INNO_PATH to the highest versioned Inno
This way, the script will not break when Inno Setup 7.0.0 is released.
2026-03-22 15:35:33 -03:00
Jiri Grönroos
2c632ce957 Update Finnish translation 2026-03-22 15:30:55 +00:00
Jiri Grönroos
279bf03839 Update Finnish translation 2026-03-22 15:06:14 +00:00
Bruno Lopes
b697dc8a48 app: Fix critical at user_install_detect_old on distro and Flatpak packages
Closes: #16067

This fixes a regression introduced by 62467359
2026-03-22 08:17:15 -03:00
Alx Sa
7f39ea1fa9 path: Conditionally scale imported paths
The Path Import dialog has an option to choose whether
the imported paths scale to match the dimensions of the
image or not. While this variable guards scaling the paths
themselves, it did not prevent the viewbox from being scaled
Thus, the paths always appeared to be scaled.

This patch adds a check for the scale parameter in parse_svg_viewbox ()
and conditionally scales the viewbox based on user input.
2026-03-22 01:51:21 +00:00
Bruno Lopes
a4fd6a6298 build/macos: Remove didatic README
Now the in-house macOS builds are so pristine that
does not make sense to link to the legacy CircleCI.
2026-03-21 21:48:24 -03:00
Bruno Lopes
8c3a9dd4a8 gitlab-ci, build: Add x64 macOS builds with Rosetta emulation
See: https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/2166
2026-03-21 21:46:35 -03:00
Bruno Lopes
cb9e1c9ac1 devel-docs: List build/macos/Info.plist on os-support 2026-03-21 21:44:36 -03:00
Bruno Lopes
6a35db6ec2 build/macos, libgimpbase: Support both in-house and CircleCI relocatable bundles
This was the last patch. Now, GIMP can finally be built without patches on Mac.
2026-03-21 21:39:42 -03:00
Bruno Lopes
16fc8d6306 gitlab-ci, build: Add comments about Meson weak .pc relocatability support
This limitation was already documented on Windows but
not on other platforms affected yet. Let's just paste it.
2026-03-21 20:50:29 -03:00
Bruno Lopes
f677365c72 build/windows: Conform installer .iss to Coding Style by removing tabs
It have been so annoying to check the commit diff on GitLab and
noticing that it is widely different from the one on the IDE.

After all, there is a reason for the Coding Style prohibiting tabs...
2026-03-21 20:44:58 -03:00
Martin
e1e7df2951 Update Slovenian translation 2026-03-21 21:32:02 +00:00
Bruno Lopes
85044d78d1 app, build/macos: Move PYTHONHOME logic from .patch to core code
This was tested with both in-house MacPorts, in-house HomeBrew and
legacy CircleCI builds and I confirmed it works (it is needed only
by the in-house MacPorts builds).
2026-03-21 17:34:30 -03:00
Bruno Lopes
9231db6473 build/windows: Update MSVC patch after new python detection 2026-03-21 15:03:15 -03:00
Alx Sa
51f1de8844 plug-ins: Add bounds checks to JIF loading
Resolves #16076
As reported by chamal, it is possible to craft a
Jeff's Image Format image with header values that
are larger than the file size. This can lead to buffer
overflows when loading the data. This patch adds
bounding checks based on the size of the stream.
2026-03-21 17:33:39 +00:00
Bruno Lopes
9db6c35ac5 build/windows: Fix installer one-arch support (for forks) after .iss unification
This fixes a regression introduced by a19ef562
2026-03-21 13:11:37 -03:00