1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00
Commit Graph

55469 Commits

Author SHA1 Message Date
Bruno Lopes
634dd304d7 meson: Do not check for DirectX SDK in hardcoded MSVC dirs
MSYS2 provides the same needed library so let's just find it properly.

Note: even when we do have MSVC support we should never hardcode .build
files. Setting paths to be searched on MSVC is the job of LIB env var.
2025-08-16 09:56:16 -03:00
lillolollo
d0af548894 plug-ins: Fix memory leaks in file-gif-load.c 2025-08-16 12:38:05 +00:00
Jordi Mas
a8934067a9 Update Catalan translation 2025-08-16 11:51:38 +02:00
Bruno Lopes
3b11006eed build/windows: Replace f333aa35 text regarding MSIX <> EXE parity 2025-08-15 21:51:07 -03:00
Bruno Lopes
f333aa354b build/windows: Make clearer that the MSIX should be identical to the Installer 2025-08-15 21:32:52 -03:00
Bruno Lopes
9a118dd887 build/windows: Remove some empty lines on Windows build scripts 2025-08-15 21:20:41 -03:00
Marco Ciampa
f5518cd69a Updated Italian translation 2025-08-15 23:52:49 +02:00
Bruno Lopes
0570ea2b0b gitlab-ci: More ccache remnants cleanup on Windows builds 2025-08-15 18:41:21 -03:00
Bruno Lopes
891e55829c gitlab-ci: Remove $UMFPACK var from crossbuilds era 2025-08-15 18:38:05 -03:00
Kolbjørn Stuestøl
b43e4df63f Update Norwegian Nynorsk translation 2025-08-15 20:06:28 +00:00
Bruno Lopes
a6545f3511 meson: Add option to generate DWARF symbols on Windows
By default, it is evaluated to CodeView since this is the format we
use on .exe installer and .msix for many reasons (see git log).

However, some people may not use standard debugging tools for
Windows but, for example, GDB, so they need DWARF symbols since
GDB debugger (and the GCC toolchain) have limited Windows support.
2025-08-15 14:56:16 -03:00
Yuri Chornoivan
b4eda82a93 Update Ukrainian translation 2025-08-15 17:52:26 +00:00
Anders Jonsson
3f13511015 plug-ins: make JPEG 2000 codestream title translatable 2025-08-15 18:31:32 +02:00
lillolollo
d261d466e9 app/core prevent memory leak 2025-08-15 12:08:30 -04:00
Yuri Chornoivan
162725bd8c Update Ukrainian translation 2025-08-15 16:08:27 +00:00
Jacob Boerema
3d91452507 plug-ins: fix issues in wbmp discovered in coverity 2025-08-15 11:59:10 -04:00
Bruno Lopes
d8a264283b build/linux: Take AppStream metadata for Snap package
Like the Flatpak and, at a lesser extent, AppImage.
2025-08-15 10:34:31 -03:00
Bruno Lopes
bb1d96528d build/linux: Update Snap README regarding babl and GEGL tagging 2025-08-15 10:34:11 -03:00
Alx Sa
ede124ff85 tools: Fix crash in passthrough composited preview
Resolves #13087
We use gimp_layer_get_effective_mode () to retrieve
a simplified layer mode for optimization purposes
(e.g. if it's effectively NORMAL, we can do less processing).
GimpTransformGridTool used this function when the user
requests Composited Preview to only apply transforms to
individual layers in a group if absolutely necessary.
This means that sometimes, it returns NORMAL instead of
PASS_THROUGH depending on the number and types of
layers in the group.

Since 71aff497, when we remove a filter we also update the
effective mode of the group layer. However, this leads to an
infinite loop scenario where the effective mode change causes
the TransformGridTool to repeatedly remove and add a filter
until GIMP crashes.

This patch changes the gimp_transform_grid_tool_add_filter ()
check to always get the actual mode rather than the effective mode.
This prevents the effective mode change from causing an infinite loop,
but does mean that we now always apply transforms to all layers of the
group even if the composite preview would work fine.
2025-08-15 06:03:13 +00:00
Alx Sa
aa9aa9e489 core, plug-ins: Fix bugs noted by Coverity scan
Fixes the following warnings from Coverity:
* file-paa.c: Casts "width" to guint32 to prevent overflow.
  Also, fix checks so that RGBA_8888 textures will be read.
* file-png.c: Free variables if APNG is not fully loaded
* file-seattle-filmworks.c: Verify fseek () doesn't exceed
  length of file
* file-tim.c: Casts "width" to guint32 to prevent overflow
* guillotine.c: Free "file" if image creation fails
* gimpitem.c: Initialize offset_x/y to 0 to remove warning
2025-08-15 03:38:27 +00:00
Bruno Lopes
f890c5ab68 build/windows: Rely on output (not on error code) on 'msix_trust' check 2025-08-14 22:46:34 -03:00
Bruno Lopes
9eee96328b build/linux: appimagetool now supports specifying .appimage path on .zsync
See: https://github.com/AppImage/appimagetool/pull/111
2025-08-14 21:44:15 -03:00
Jacob Boerema
634ebf97e7 plug-ins: fix overwriting sketchbook tiff group layer mode
in the tiff loader
Found with the coverity scan.
2025-08-14 18:58:03 -04:00
Bruno Lopes
79a92ce439 build/linux: Use $CRAFT_PART_INSTALL for libheif plugins detection on Snap
$CRAFT_STAGE was being used but that is wrong since nothing is staged yet.
$CRAFT_PART_INSTALL is the right place where the packages are available.
2025-08-14 19:32:22 -03:00
Bruno Lopes
eefc2bea1a build/linux: Drop org.gimp.*.HEIC in favor of org.freedesktop.*.codecs-extra
See: https://github.com/flathub/org.gimp.GIMP/issues/414
2025-08-14 19:32:19 -03:00
Bruno Lopes
f7cfd4ef39 gitlab-ci: Catch gimp-flatpak-builder.log artifact
Otherwise we don't know what happened in GIMP build. It
is too verbose to output on GitLab runner console due to
flatpak-builder awful messages about .debug stripping.
2025-08-14 19:25:02 -03:00
Bruno Lopes
0c1963ca7c build/linux: Only submit snaps to Snap Store on releases 2025-08-14 19:21:30 -03:00
Bruno Lopes
0868cf3cd3 build/linux: More fixes to the README 2025-08-14 16:21:24 -03:00
Bruno Lopes
bb26b9f81d build/linux: Fix some typos on Snap README 2025-08-14 16:19:15 -03:00
Bruno Lopes
052eb474cc build/linux: Add Snap maintenance README like Flatpak and MSIX
But, right now, the "## Stable and Development releases"
section is not applicable due to the pass over being WIP:
https://github.com/snapcrafters/gimp/issues/447
2025-08-14 16:16:17 -03:00
Jehan
abf026fc54 plug-ins: add a pygimp.interp on macOS too. 2025-08-14 17:28:34 +00:00
Bruno Lopes
9bf03bc8f6 build/windows: Bump MaxVersionTested on AppxManifest to 10.0.26100.0 (24H2)
I have been using the MSIX on that version since some time without problems.
2025-08-14 13:23:42 -03:00
Bruno Lopes
202ae26c80 build/windows: WinSDK package name on winget don't have the revision digit 2025-08-14 13:21:50 -03:00
Bruno Lopes
973ae3eef2 build/windows: On WinSDK not found message, recommend to install MaxVersionTested 2025-08-14 13:12:32 -03:00
Bruno Lopes
b04841d993 build/windows: Print error message when WinSDK is not found by MSIX script 2025-08-14 12:53:36 -03:00
Bruno Lopes
437ba0aa46 gitlab-ci: Remove redundancy on dist-flatpak-weekly rules 2025-08-14 11:58:19 -03:00
Michael Natterer
caa0df8e22 app: use GipmRow for the recent files on the welcome dialog. Enables
correct aspect ratios and popup previews, and removes lots of code.
2025-08-14 16:53:02 +02:00
Michael Natterer
5b765fc665 app: enable popup previews on GimpImagefile 2025-08-14 16:53:02 +02:00
Bruno Lopes
f5fa753dc2 gitlab-ci: Remove crossbuilds remnants on cppcheck 2025-08-14 11:30:57 -03:00
Bruno Lopes
d59c230560 gitlab-ci: Remove bogus cache: comment on deps-flatpak
For the same reason of 3e958583 this will not work.
And even if we manage to have it configured for
containers in the future, it would be slow like b51f2b52.
2025-08-14 11:02:26 -03:00
Bruno Lopes
3e9585839e gitlab-ci: Remove bogus cache: key on file-plug-in-tests
GNOME Infra does not enable local caching and
we don't have distributed/remote caching either.
2025-08-14 10:57:39 -03:00
Bruno Lopes
a6b09d8029 gitlab-ci: Do not pull whole repo on Snap job (since we don't use Launchpad)
Following: 5da4b890
2025-08-14 10:47:19 -03:00
Bruno Lopes
56a5dea720 gitlab-ci: Test reducing Snap builds timeout to 20min
Seems we not need more than that even in the deps stage.
2025-08-14 10:42:49 -03:00
Anders Jonsson
c3079a7ad4 Update Swedish translation 2025-08-14 12:48:46 +00:00
Aleksandr Prokudin
50e96b181f Update Russian translation 2025-08-14 14:09:55 +02:00
Alx Sa
c35abbe090 plug-ins: Fix signed JPEG 2000 import
Our JPEG 2000 plug-in assumed all imported images
are unsigned - however, it's possible to store signed data
as well.
This patch adds a check to see if the image has the `sgnd`
flag set to TRUE. If so, we offset the signed data to get it
into the unsigned range before converting to an image.
2025-08-14 05:27:26 +00:00
Alx Sa
6211ec8d2c plug-ins: Revert b98fe0c3
Resolves #14412
While b98fe0c3 resolved issue 10133,
it broke exporting text layers as text on
single layers, since they would be merged
beforehand. This patch reverts the change
until we find a solution that resolves both
problems.
2025-08-14 05:00:09 +00:00
Bruno Lopes
1730c62187 build/windows: Add comment inside *_sym.py script explaning its situation
While it is already explained on meson.build, it is desirable to
explain inside the script too in the case someone browse the files.
2025-08-13 22:16:03 -03:00
Bruno Lopes
ff157df094 build/windows: Reorder Win bundling script to be consistent with AppImage
The AppImage script organization is way more clear to understand what is
needed to make a GIMP bundle so let's reproduce here with adaptations.
2025-08-13 22:13:42 -03:00
Bruno Lopes
03172b7196 build/windows: Put (not used) Lua below Python on bundling script 2025-08-13 22:13:38 -03:00