Commit graph

56341 commits

Author SHA1 Message Date
Alx Sa
84ff512cfa path: Use generic ID for path export
Resolves #13570
The SVG specification prohibits certain characters
from being used as part of a path id attribute, such as
whitespace and hyphens. Rather than try to filter the
path name selected by the user, this patch switches to
an auto-incrementing "path%d" format to ensure any
exported path can be read by strict parsers. This also
matches how we implemented ids in the SVG export
plug-in.
2025-11-22 17:49:33 +00:00
Jehan
90d0f459c3 app: barrel_rotation arguments corresponds to the wheel value.
This last argument in libmypaint's mypaint_brush_stroke_to_2() is called
barrel_rotation. If you look at MyPaint's code (in particular file
gui/freehand.py), you see it is taken from GDK_AXIS_WHEEL of the input
event, which corresponds to our coords->wheel (there is this
long-standing question about the difference with GDK_AXIS_ROTATION
because as far as we know, this is probably the same value anyway; as
was explained to us by a Wacom developer long ago).

Unfortunately I can't test as we don't have any stylus with such barrel
rotation feature (and unfortunately this hardware feature is
discontinued and getting a stylus with this is extra-hard now), but that
should work. And at the very least, it does match with MyPaint's
implementation.
2025-11-22 17:05:14 +01:00
Jehan
1ce91e9508 INSTALL: tweak a bit the instructions. 2025-11-22 17:05:14 +01:00
Bruno Lopes
f3296de941
build/windows: Check for msstore-cli failures on MSIX submission 2025-11-22 10:36:33 -03:00
Bruno Lopes
143e4cb784
build/windows: Fix clash of GIMP Preview MSIX with GIMP MSIX on Start Menu
Let's not mention the major version nor minor version anymore on
the Start Menu version. This creates confusion, specially on RCs.
2025-11-22 09:33:08 -03:00
Bruno Lopes
39c80252e5
build/windows: Simplify VCPKG deps listing 2025-11-22 09:28:17 -03:00
Alx Sa
ed7f53b7a6 tools: Don't update position if no prior moves
Resolves #12755
gimp_edit_selection_tool_active_modifier_key () assumed
that if you press a modifier key while a selection/move tool
is active, we should move the selected item to the last place
recorded. However, it's possible to run this function before
we've moved anything, thus defaulting the "original position"
to 0, 0.
This is most noticeable in the Move Tool, where pressing Ctrl
or Shift after clicking a layer but before moving it will cause
the layer to "jump" based on where the cursor is placed on the
item.
This patch adds an additional condition to the motion function
in gimp_edit_selection_tool_active_modifier_key (), so that
we only do it if we've already moved the cursor at least once.
2025-11-22 05:17:00 +00:00
Bruno Lopes
334f7d3a1b
build: Package maintainership instructions were moved to gimp-web-devel
See: Infrastructure/gimp-web-devel@7be7fbe0

In short, such information is not needed to making/building the
packages, just to submitt/release them, which is maintainer-thing.

But let's keep at least a reference so making them easier to find.
2025-11-21 16:21:02 -03:00
Jehan
8bc88115ca libgimpcolor: add some note to gimp_color_is_perceptually_identical() docs. 2025-11-21 19:33:09 +01:00
Jehan
c558e41517 libgimpwidgets: update color area correctly when updating color.
Since we don't necessarily re-render the color area when the color
change, let's store the actually rendered color, additionally to the
supposedly rendered color. Otherwise when changing the color by very
small increments, small enough that the color is always perceptually
identical to the previous color, we never re-render the widget, even
when the rendered color is now quite different. Indeed the "identical
color" algorithm, based on CIE2000 distance, is not transitive.

Additionally I do not check for perceptual identity in
GimpColorSelection anymore, because we also check for this in the
GimpColorArea. Better always having the right color set in the area.

This was raised in #11339 (even though the initial issue was about the
hexadecimal field).
2025-11-21 19:33:09 +01:00
Bruno Lopes
b5a3529d49
Revert "build/linux: Use gamepads and pen-drive permissions on Flatpak"
This reverts commit 96a65045e9.

GNOME uses ancient flatpak version on the OCI image which
makes impossible to test the feature.
2025-11-20 20:45:48 -03:00
Bruno Lopes
a47f43ad7d
build/linux: Update openexr module to 3.4.4 2025-11-20 18:54:01 -03:00
Bruno Lopes
96a65045e9
build/linux: Use gamepads and pen-drive permissions on Flatpak
Closes: GNOME/gimp#14060
2025-11-20 18:52:31 -03:00
Jehan
1e800f51a7 app: fix broken #if test.
Argh! Fixed too quick and completely missed to transform the `ifdef` in
`if defined()` to add a second test.
2025-11-20 22:14:28 +01:00
Jehan
229c835d59 Issue #15239: link Layers not monitored on Windows.
MR glib!4901, backported as glib!4912, will be available in version
2.86.3. Let's keep the workaround so that link layers work without
having to bump the minimum requirement, but add a GLIB_CHECK_VERSION
test. This way, it will be clear that we have to get rid of this part of
the code even if we bump the GLib requirements years ago, when we'll
have completely forgotten about this issue.
2025-11-20 22:12:20 +01:00
Alx Sa
84fb38ab72 actions: Fix deleting single items in Doc. History
Resolves #15349
4812fddc adds the ability to delete multiple items
at once. However, the limit to delete was accidentally
set to greater than 1, rather than 0. This patch fixes
this mistake.
2025-11-20 14:53:31 +00:00
Sabri Ünal
c8d7aa0814 widgets: Provide context for "New Layer" string
The "New Layer" string used without plural and with plural which
causes a warning in xgettext.

This patch partly fixes: #15264
2025-11-20 08:15:28 -03:00
Alx Sa
6a37900610 actions, file: Don't require selected layers for export
As of 443947c6, we no longer require passing
the selected drawables to the export plug-ins
(as each plug-in now grabs those from the
image itself).
Therefore, we can remove the restriction that
there must be a selected layer before you
can export or save an image.
2025-11-19 22:18:29 +00:00
Bruno Lopes
3162dd6428
build/windows: Fix .NET runtime installation when msstore-cli and pwsh diverge 2025-11-19 15:25:34 -03:00
Jehan
4a648b6639 meson, INSTALL: add some note about max version for GEXiv2 in INSTALL. 2025-11-19 16:02:39 +01:00
Jehan
5a17cafa07 Issue #15340: forbid newer GExiv2 version, which broke API.
This should be unnecessary since GExiv2 did the break properly by
renaming files (making it possible to install side-by-side an older
version of GExiv2 and a newer version). But some packagers are wrongly
renaming the .pc file, tricking our build system into accepting the
newer incompatible libgexiv2.

So let's add an additional test, explicitly forbidding newer GExiv2.
We'll move on to the new version when we'll be ready. For the time
being, there is a reason why files were renamed and packagers should not
force incompatible versions to fit.
2025-11-19 15:23:01 +01:00
Bruno Lopes
525242c53f
build/linux: Update openjph module to 0.25.3 2025-11-19 05:47:38 -03:00
Bruno Lopes
2f29593164
build/windows: Update summary and description on MS Store too
Following baa68ac2
2025-11-18 21:02:49 -03:00
Bruno Lopes
b0844c0404
build/windows: Fix PowerShell 6+ script block on MSIX script 2025-11-18 18:59:05 -03:00
Yuri Chornoivan
1dfdee9783 Update Ukrainian translation 2025-11-18 20:48:49 +00:00
Yuri Chornoivan
bbc95f7d44 Update Ukrainian translation 2025-11-18 20:40:16 +00:00
Yuri Chornoivan
c33908a8a9 Update Ukrainian translation 2025-11-18 20:35:06 +00:00
Kolbjørn Stuestøl
f90719b10f Update Norwegian Nynorsk translation 2025-11-18 19:51:14 +00:00
Kolbjørn Stuestøl
fd7de3fa1b Update Norwegian Nynorsk translation 2025-11-18 19:51:01 +00:00
Bruno Lopes
36a79504e8
gitlab-ci: Build GIMP (AppImage) with ALSA for full MIDI support
See: #13602
2025-11-18 16:09:42 -03:00
Sabri Ünal
3a44b25cdf Update Turkish translation 2025-11-18 14:50:08 +00:00
Sabri Ünal
e490c07e8e Update Turkish translation 2025-11-18 13:45:14 +00:00
Martin
12dd1201fb Update Slovenian translation 2025-11-18 10:54:35 +00:00
Martin
5c6a62ccae Update Slovenian translation 2025-11-18 09:43:12 +00:00
Martin
08cce66857 Update Slovenian translation 2025-11-18 09:42:56 +00:00
Jehan
9808b0f3a3 gimp-data: bump. 2025-11-17 23:28:38 +01:00
Jehan
c5af7265d8 build: set back snap to experimental/nightly. 2025-11-17 23:28:38 +01:00
Jehan
79d636ede0 Post-release version bump to 3.2.0-RC1+git. 2025-11-17 23:28:38 +01:00
Jehan
1ad2627eca tools: correctly parse RC versions. 2025-11-17 23:28:38 +01:00
Jernej Simončič
a6293c3f98 Installer: fix for white bitmap backgrounds in high contrast mode 2025-11-17 22:54:03 +01:00
Bruno Lopes
e04c24b594
build/linux: Fix generic message on Snap submission 2025-11-17 18:44:25 -03:00
Jehan
4fed5c263b Release GIMP 3.2.0 RC1. 2025-11-17 20:15:25 +01:00
Jehan
368a811d0c build: update the snapcraft file for release. 2025-11-17 20:10:35 +01:00
Jehan
a380729858 desktop: update the summary.
As per current state of the discussion in Teams/GIMP/CoreTeam/Discussions#9.
This reuses nicely the current version of the project vision wording.
2025-11-17 17:47:27 +01:00
Bruno Lopes
863d601a6b
Revert "build: Make CI_COMMIT_TAG check more robust"
This reverts commit 4d7135f6f2.

This also reverts 3d72f1c08b.

The main reason is that it does not work on PowerShell due
to the tricky way it handles error.
2025-11-17 12:22:06 -03:00
Bruno Lopes
466e5ad8a8
build/linux: Add comment to avoid confusion about grade: purpose 2025-11-17 10:34:20 -03:00
Bruno Lopes
950d6d1077
build/linux: Clarify that RCs are on devel series on Flatpak and Snap 2025-11-17 10:29:48 -03:00
Bruno Lopes
9bef5ec997
build/linux: Bump snap grade to stable preparting to 3.2-RC1 release 2025-11-17 10:05:48 -03:00
Jehan
0129126fb8 app: remove GimpPickableSelect.
It has now been fully replaced by GimpItemSelect.
2025-11-17 13:47:07 +01:00
Jehan
12d7f31e6c NEWS: update. 2025-11-17 12:49:48 +01:00