Commit graph

54985 commits

Author SHA1 Message Date
Marco Ciampa
ca38e4f7f8 Update Italian translation 2025-06-25 08:30:26 +00:00
Marco Ciampa
54811fea34 Update Italian translation 2025-06-25 08:27:02 +00:00
Marco Ciampa
6e262db1c4 Update Italian translation 2025-06-25 08:26:51 +00:00
Marco Ciampa
e8e845e6fa Update Italian translation 2025-06-25 08:26:37 +00:00
Yuri Chornoivan
1746f4e352 Update Ukrainian translation 2025-06-25 07:46:55 +00:00
Martin
b4020be31c Update Slovenian translation 2025-06-24 18:52:00 +00:00
Ondřej Míchal
47f2a591f8 plug-ins/sphere-designer: Port GimpSpinEntry to GimpSpinScale
GimpSpinEntry is problematic to use when there's little horizontal space
because the slider becomes too small. GimpSpinScale does not suffer from
this because it uses the available space more efficiently. These days it
is also used more over GimpSpinEntry.

Related: https://gitlab.gnome.org/Teams/GIMP/Design/gimp-ux/-/issues/503
2025-06-24 17:37:48 +00:00
Jacob Boerema
a8339021f8 app: fix #14311 Incorrect loading of Photoshop pattern with alpha channel
We did not load the alpha channel when loading Photoshop patterns.
The Photoshop pattern format doesn't tell you whether a pattern has
an alpha channel. You can only find out by reading the color channels
first and then checking if there is enough room for another channel.
In addition to that there is also an 88-byte empty space before the
alpha channel.

To fix this, we now always add an alpha channel to the pattern and
then check if there is enough room. We separated the code inside the
channel reading loop into a separate function, which is now also
called if an alpha channel is detected. If none is detected, we
initialize that channel to 255 (fully opaque).

Besides this a few minor error checking improvements were made:
- Only show the unsupported color mode text once per pattern file.
- Only accept 8-bit color channels, other values will print a console
warning.
2025-06-24 13:12:38 -04:00
Alx Sa
1c71e30cd0 widgets: Confirm image is indexed before setting entry
It is possible to have an indexed image open
in one tab, and RGB/grayscale images open
in others. If you have the color editor open
and swap between them, you'll receive a
CRITICAL because the ColorMapEditor will
always try to update a color entry even if
the active image is not indexed.

This patch adds checks to ensure you have
the indexed image open before trying to update
its color entry.
2025-06-24 14:38:20 +00:00
Anders Jonsson
5baabdb4b2 plug-ins: Mark TIM name as per-process translatable 2025-06-23 23:45:48 +00:00
Bruno Lopes
b2ae719c41
build/windows: Update gimp-data commit 2025-06-23 11:51:03 -03:00
Jehan
f1c781936c app: allow GIMP_DEV_VERSIONS_JSON to be empty for disabling it.
It makes it easier to have it set all the time and when I want to
disable it, I just prepend my command with GIMP_DEV_VERSIONS_JSON=.
2025-06-23 14:25:26 +02:00
Jehan
e38ea2d866 desktop: fix last release date.
I forgot to update the date after the last small delay.
2025-06-23 14:25:26 +02:00
Bruno Lopes
fc06a435fa
build/linux: Fix OpenBLAS comment position 2025-06-23 07:06:06 -03:00
Alx Sa
f3b676f9cf core: Free drawables after use
In gimp_edit_copy (), there is a code path where
we iterate through drawables *after* we had freed it.
This patch moves the code that frees "drawables" until
after its final usage.
2025-06-23 02:21:49 +00:00
Jehan
d5e07db771 meson: post-release version bump to 3.1.3. 2025-06-23 00:57:10 +02:00
Kolbjørn Stuestøl
14e44cf961 Update Norwegian Nynorsk translation 2025-06-22 21:38:21 +00:00
Jehan
b4e2570461 Release GIMP 3.1.2. 2025-06-22 16:20:52 +02:00
Kolbjørn Stuestøl
88aba102a7 Update Norwegian Nynorsk translation 2025-06-22 12:39:42 +00:00
Jehan
9666d28ed5 build, gimp-data: compute splash ratio for Windows installer. 2025-06-22 12:00:29 +00:00
Ekaterine Papava
dc26f99521 Update Georgian translation 2025-06-22 02:49:42 +00:00
Luming Zh
1656fdeaf6 Update Chinese (China) translation 2025-06-22 02:27:49 +00:00
Luming Zh
ecfceffe6c Update Chinese (China) translation 2025-06-22 02:24:32 +00:00
Jehan
2a05ee6a44 gimp-data: bump the submodule again.
Make sure the splash file is not oversized when the original XCF is
high-bit depth.
2025-06-22 00:16:49 +02:00
Bruno Lopes
464b1fb32f
build: Only bundle the strictly needed .typelib files
Otherwise plug-in developers would rely on .typelib available only on
Linux OR macOS OR Windows so create unportable/broken .py plug-ins.
2025-06-21 18:40:22 -03:00
Jehan
1632e24dbd gimp-data: bump to fix Windows installer's images. 2025-06-21 23:12:22 +02:00
Jehan
2f5b2b5bca NEWS: update. 2025-06-21 22:37:11 +02:00
Jehan
7b14c5b9fa desktop: update AppStream and add demo scripts. 2025-06-21 22:36:44 +02:00
Jehan
c5b52a5ad3 app, modules: add some identifiers for demo scripts. 2025-06-21 22:36:44 +02:00
Jehan
48934e4eb4 app: make color selector modules' names their identifier for demo scripts. 2025-06-21 22:36:44 +02:00
Jehan
1b012548c9 app: add ability to click any button in our Release Notes demo scripts. 2025-06-21 22:36:44 +02:00
Yuri Chornoivan
9c49e276e0 Update Ukrainian translation 2025-06-21 17:49:53 +00:00
Yuri Chornoivan
afc904c5cc Update Ukrainian translation 2025-06-21 17:14:39 +00:00
Jehan
b35b0cad0a gimp-data: bump to latest.
- Some Legacy icons copied from Default icon theme.
- New splash screen for GIMP 3.1.2.
2025-06-21 16:40:29 +02:00
Martin
0b47045bb1 Update Slovenian translation 2025-06-21 13:46:31 +00:00
Martin
365c4d4c6a Update Slovenian translation 2025-06-21 13:46:13 +00:00
Jehan
97b8ddbdff NEWS: update per Bruno's comment. 2025-06-21 15:26:00 +02:00
Bruno Lopes
c1422a9008
build/linux: Update graphviz module 2025-06-21 08:59:25 -03:00
Jehan
fc5c59a643 NEWS: update. 2025-06-21 13:03:35 +02:00
Jehan
23f9d8748c desktop: going for release today. 2025-06-21 12:30:22 +02:00
Bruno Lopes
ccf592d28b plug-ins: Mark LNK and ICNS descriptions as per-process translatable 2025-06-21 10:05:17 +00:00
Bruno Lopes
d495994082 plug-ins: Mark FF, AVIF, LNK, QOI and ICNS names as per-process translatable 2025-06-21 10:05:17 +00:00
Ekaterine Papava
b462371b2e Update Georgian translation 2025-06-21 04:42:25 +00:00
Ekaterine Papava
0e35ebf282 Update Georgian translation 2025-06-21 04:39:11 +00:00
cheesequake
afecf9f6c6 Issue #14074: Resize image to layers irrespective to selections
By moving the block of code to resize the image to layer size outside
the has_selection condition, we ensure that a smaller layer without
selection also gets resized properly.
2025-06-21 00:08:11 +00:00
Jehan
fbf58140eb app: include mask_value as part of the target alpha value.
The existing usage of the mask value was as interpolation variable,
which is a different usage. If we werent doing this, trying to paint
with tool opacity to 100 and a paint dynamics changing opacity, we'd
still have 100% opaque pixels instead of lowered opacity.
2025-06-20 23:24:10 +00:00
Jehan
8dbedcf723 app: review and improve over MR !151 for an "Overwrite" paint mode.
I get why Woynert wanted to still interpolate both alpha and RGB
channels here, avoiding some too harsh transition when using the brush
tool. But the algorithm felt overly complicated (unless I misunderstood
the reason). I think what we want is simply to use the mask value to
interpolate, which allows the alpha and color to smoothly transition in
parts where the brush designer was expecting transitionning, when used
in a paintbrush-type tool.
In particular the proposed algorithm was never using the layer[ALPHA]
value which felt quite weird.

Additionally to the algorithm update, this commit:

* Makes the composite mode/space and blend space explicitly immutable.
* Removes code from other composite modes, which was anyway just
  copy-paste remnants from gimp:normal operation and add some
  g_return_val_if_reached() call to protect these code paths.
* Fix a code path where the out array was never filled (i.e. it was
  filled with random data).
* Fix another code path where we could make a division by zero (in my
  case, it didn't crash, but I got nan values).
2025-06-20 23:24:10 +00:00
woynert
a188a8db93 app,libgimp: paint blend mode 'overwrite' 2025-06-20 23:24:10 +00:00
Luming Zh
63e3a2436d Update Chinese (China) translation 2025-06-20 23:12:23 +00:00
Bruno Lopes
35b3cdf31c
gitlab: Update coding style URL pointing to gimp-web-devel 2025-06-20 18:50:16 -03:00