Commit graph

57022 commits

Author SHA1 Message Date
Jordi Mas
3a16f12080 Fixes to Catalan translation 2026-03-07 20:15:18 +01:00
Jehan
8e71b62f78 app: blurb cleanup.
Found all now unused blurbs with:

for macro in `grep -rI '^#define \([A-Z0-9_]*\)' app/config/gimprc-blurbs.h | sed 's/#define \([A-Z0-9_]*\).*$/\1/'`; do
  grep -rIq "$macro" * --exclude=gimprc-blurbs.h;
  if [ $? -ne 0 ]; then
    echo $macro;
  fi;
done

Only exception was LAST_REVISION_BLURB, which was not used, but should
have been.
2026-03-07 14:45:50 +01:00
Bruno Lopes
ba227a6cec gitlab-ci: Fix MacPorts cache never being pulled on non-master branches
This is the same logic of our Flatpak deps script. But,
for now, it will only work on gimp project, not on forks.
2026-03-07 08:52:29 -03:00
Asier Saratsua Garmendia
ed108d9941 Update Basque translation 2026-03-07 08:41:30 +00:00
Anders Jonsson
e0910337d0 docs, etc: gimprc memsize without suffix is just bytes 2026-03-06 23:29:14 +01:00
Jehan
635da347cd plug-ins: improve describing enum and choice arguments.
* Also print the default value for both types of args.
* Display choice values with quotes since they are technically strings.
2026-03-06 22:49:14 +01:00
Jehan
7b4f0993e8 Issue #15962: "gimp:curves" set to Perceptual by default.
Per discussions with Pippin, Linear as default may not be the most
expected, though it has scenarios where it is still better.

Curves is easier because it was not possible to call it through the API
at all in the 3.0 series. I'll verify a bit for Levels, but I may just
do a GUI-only change for this one.
2026-03-06 21:39:17 +01:00
Jehan
0074bef0ea Revert "Issue #15824: better detect the first filter."
This reverts commit 75e665f0ed.

In fact, this commit was wrong too and was creating new issues with
pass-through group layers. See #15956.
2026-03-06 21:13:52 +01:00
Bruno Lopes
755642e76a meson, app, tools: Organize ISO_CODES* macros after build failure report
I don't get how this could be failing because config.h is included on main.c,
but it it: https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2664#note_2699194
So, I noticed that that the macro prefix ISOCODES_ is "new", being introduced
with aba7316e. The pre-existing is ISOE_CODES. Let's unify trying to fix build.
2026-03-06 14:09:35 -03:00
Jehan
9d7266c4ed Issue #15242: on a flush, only update actions for the active image.
Though my previous commit is not absolutely wrong (so I'll leave it in;
it does make sense that we don't set any lock actions as ACTIVE when
there are no items), this new commit is actually the real issue. The
previous commit was getting rid of the extra lock actions, but I
realized that the "edit-undo" action was made insensitive too.

This is because in multi-window mode, a flush was updating all action
groups for the visible image of all opened windows (in single window
mode too, but there is only 1 window, hence only 1 visible image, so no
bug happening). Depending on order of these updates, we could end up
updating actions based on items or undo stack of a non-active image. And
worse, this could even affect the active image itself (which was what
was happening with the locks).
2026-03-06 16:45:04 +01:00
Jehan
56b859546c Issue #15242: Multi Window mode creates extra 'lock' actions. 2026-03-06 16:27:14 +01:00
Jacob Boerema
7e1241f751 plug-ins: fix #15967 integer overflow in psd-load
Reported as ZDI-CAN-28807
With large row and column sizes 32-bit int values are not large
enough to hold the product and thus can cause overflow.

While we are at it, we not only fix the location from the report, but
also other occurrences that could overflow.
- We change certain variables to gsize to make sure they can hold a
64-bit value.
- Other intermediate results are promoted to (gsize) to make sure that
the product is computed as gsize.
- Move some i,j variables to the loops where they are used.
2026-03-06 10:01:09 -05:00
Alx Sa
2e7ed91793 plug-in: Resolve ZDI-CAN-28901 for file-xpm
Resolves #15971
It was possible to set a XPM image to have a width and/or height
that is larger than what GIMP can create an image for. In addition to
causing gimp_image_new () to fail, it can also lead to buffer overflow
when allocating space to read in the image.

This patch adds a GError parameter to parse_image (), then uses it to
pass up an error for either oversized images or buffer overflows.
2026-03-06 13:54:44 +00:00
Alx Sa
09e5459de9 plug-ins: Resolve ZDI-CAN-28813 in ANI loading
Resolves #15968
It is possible to cause a buffer overflow in our ANI
loading code by setting the Name or Artist metadata
files to 0xFFFFFFFF. This patch changes our allocation
code to use g_try_new0 () instead of g_new0 (), and
verifies if it is NULL before trying to read data into it.
2026-03-05 23:58:45 +00:00
Jehan
0587cbbc9b Issue #15713: Text tool "Language" names not localized on relocatable builds. 2026-03-05 16:29:14 -03:00
Bruno Lopes
08e531b4c0 build/windows: Set built-in Inno translation files for 'kk' language 2026-03-05 16:27:59 -03:00
Bruno Lopes
24eb770f68 build/linux: Update poppler-26.02.0.tar.xz to 26.03.0 2026-03-05 15:26:58 -03:00
Bruno Lopes
a69aa99db9 build/windows: Fix faultingmsg_list check to fail on empty inno_code 2026-03-05 14:29:51 -03:00
Alx Sa
7e63e661f0 plug-ins: Show correct cursor in Windows Screenshot
Resolves #14966
When "Include mouse pointer" is checked in the Windows
version of the Create Screenshot plug-in, we used the
GetCursor () Win32 API to get the cursor icon. However,
this just returns a generic cursor rather than the current one
used.
This patch changes the code to use the hCursor property of
the CursorInfo struct that was already retrieved, which contains
the current cursor's icon instead of the generic one.
2026-03-05 15:54:34 +00:00
Bruno Lopes
d598a9147b build/windows: Generate custom Inno translation files for 'kk' language
Following fdfc6b9a2c
2026-03-05 07:58:44 -03:00
小山田 純 - Oyamada Jun
5171d4a0c0 Update Japanese translation 2026-03-04 13:15:16 +00:00
小山田 純 - Oyamada Jun
c6b8d6821f Update Japanese translation 2026-03-04 12:53:47 +00:00
YOSHIDA Shigeto
4bc39448a4 Update Japanese translation 2026-03-04 12:48:50 +00:00
Baurzhan Muftakhidinov
bce9ae5ac3 Add Kazakh translation 2026-03-04 01:46:11 +00:00
Baurzhan Muftakhidinov
8a600491df Add Kazakh translation 2026-03-04 01:43:31 +00:00
Bruno Lopes
6246735966 app: migrate also from ~/snap/ if the 3.0 folder is not found in XDG config home. 2026-03-03 21:33:38 -03:00
Yuri Chornoivan
820c5fbd10 Update Ukrainian translation 2026-03-03 20:01:41 +00:00
Baurzhan Muftakhidinov
4ed6fe35e2 Add Kazakh translation 2026-03-03 18:00:44 +00:00
Jehan
35dbcacee4 INSTALL: minor fixes. 2026-03-03 18:27:32 +01:00
Jehan
b1582f1598 AUTHORS: regenerated. 2026-03-03 18:27:32 +01:00
Baurzhan Muftakhidinov
5ea1d8c45f Add Kazakh translation 2026-03-03 17:17:51 +00:00
Baurzhan Muftakhidinov
fb710e3a13 Update Kazakh translation 2026-03-03 16:10:15 +00:00
Jehan
ad54fd8d66 desktop: merging 2 release items.
Alx confirms that "Drop shadows, Inner Shadows, and Outer Glow are all
layer styles in Photoshop", which I wasn't certain about (this software
has different concepts for what is basically just effects). So let's
combine in a single item.
2026-03-03 16:57:22 +01:00
Jehan
6c0f4e617a README: update, preparing for the 3.2 release. 2026-03-03 16:56:49 +01:00
Jehan
8407793320 plug-ins: fix newline format with dos2unix. 2026-03-03 10:57:05 +01:00
Jehan
9ae9976732 plug-ins: let's have the same label for import and export.
While listing the file formats, I could not find the format, because it
was labelled differently.
This doesn't break the strings since the longer string already existed.
2026-03-03 10:51:20 +01:00
Jehan
6bd949b0d5 gimp-data: bump to stay at HEAD. 2026-03-03 10:51:20 +01:00
Jehan
c0da31dbf0 desktop: add GIMP 3.2.0 metadata.
It's mostly copy-pasting of dev versions' metadata, with reordering per
category.
I didn't copy features which were backported in the 3.0 series since, or
still in playground, some of the less visible features, what looks a bit
more like fixes than features, regrouped some points when relevant, etc.
2026-03-03 10:51:20 +01:00
Sveinn í Felli
283ac213ea Update Icelandic translation 2026-03-03 08:58:43 +00:00
Sveinn í Felli
ffb56a1e24 Update Icelandic translation 2026-03-03 08:49:19 +00:00
Marco Ciampa
aadaa88039 Small fix in Italian translation 2026-03-03 09:48:55 +01:00
Sveinn í Felli
2d04d5b20c Update Icelandic translation 2026-03-03 08:43:55 +00:00
Sveinn í Felli
7364935289 Update Icelandic translation 2026-03-03 08:38:32 +00:00
Marco Ciampa
d05a1972d9 Updated Italian translation 2026-03-03 09:06:42 +01:00
Bruno Lopes
605470cc05 tools: Add dumpbin support to defcheck.py
This is needed for MSVC environment.
2026-03-02 22:21:29 -03:00
Bruno Lopes
a5ec792c6a Partially revert "build/windows: Update MSVC patches for gegl"
See GNOME/gegl@7c5a1e27

This partially reverts 5a4ed76c
2026-03-02 22:16:23 -03:00
Bruno Lopes
481643d3f6 Revert "build: update Use vs_module_defs for MSVC patch..."
See: GNOME/gegl@1aaeb4c7 and GNOME/gegl@54f519e7

This reverts commit b282074da8
and 44ee4ecdbf.
2026-03-02 20:57:19 -03:00
Jehan
6283ec669d app: verify all playground features to forcibly show the playground tab.
Maybe I should find a more "automatic" logic…
2026-03-02 22:25:07 +01:00
Jehan
1efdc2c0d6 build: make a nightly Snap again. 2026-03-02 21:33:33 +01:00
Jehan
366f55a42e Post-release version bump to 3.2.0-RC3+git. 2026-03-02 21:29:55 +01:00