Commit graph

57490 commits

Author SHA1 Message Date
Bruno Lopes
f14f9516e2 plug-ins: Fix some problematic Windows functions
The macro should be enough but
on these source files it does not work.
2026-03-31 21:44:51 -03:00
Bruno Lopes
dae02feed3 plug-ins: Use Glib date-time functions 2026-03-31 21:44:51 -03:00
Bruno Lopes
4643f7898f plug-ins: More casting fixes 2026-03-31 21:44:51 -03:00
Bruno Lopes
3807b2f311 app, plug-ins: More sscanf_s on Windows 2026-03-31 21:44:51 -03:00
Bruno Lopes
8aeb5d6f53 app, libgimpwidgets: More strcpy_s on Windows 2026-03-31 21:44:51 -03:00
Alx Sa
a749329ab6 tools: Turn off floating selection outline when moving
When moving a floating layer or selection, we draw a solid
border around the object. However, we also let the "marching
ants" selection continue (if the user has it enabled). This slows
down performance when moving, especially on large selections.

This patch incorporates logic from the Selection tools into the
Edit Selection tool (which the Move Tool uses for translation).
It stores the user's "Show Selection" setting, sets it to FALSE
while moving the layer or selection, then restores it to its
prior value when the cursor is released.

This logic also extends to using Ctrl + Alt to drag a floating
selection out of a layer that already has a selection.
2026-03-31 23:46:05 +00:00
Bruno Lopes
e97e3d0e35 plug-ins: Forgot a macro 2026-03-31 18:58:47 -03:00
Bruno Lopes
55cf88f2c8 build/macos: Fail on warnings on Apple Clang builds for gimp sake 2026-03-31 18:58:47 -03:00
Bruno Lopes
6f655967dc meson: Set -Wno-vla-cxx-extension
As briefly discussed with @ok and @cmyk.student on IRC,
it seems reasonable, specially considering it is C++.
2026-03-31 18:58:42 -03:00
Bruno Lopes
d5d0527955 gitlab-ci: Make branches-check interruptible 2026-03-31 16:30:56 -03:00
Alx Sa
127510cd81 core: Use MAX_CHANNELS for Histogram limit
gimphistogram.c used its own custom MAX_N_COMPONENTS
define for the max value of its "n-components" property.
Since this value is the same as MAX_CHANNELS, it would be
good to use the global constant so the histogram limit automatically
updates when we added a new format with a larger number of components
such as CMYKA.
2026-03-31 19:28:05 +00:00
Bruno Lopes
657dceb3ed app: Use g_strerror 2026-03-31 16:27:25 -03:00
Bruno Lopes
d254c5684c app, libgimp*, plug-ins: Use strtok_s on Windows to fix CRT_INSECURE_DEPRECATE 2026-03-31 16:27:25 -03:00
Bruno Lopes
b5ca37f192 app: Properly fix unused eek_handled
Proper fix after 189598c3
2026-03-31 16:27:25 -03:00
Bruno Lopes
7ce3ed457e app, libgimp*, modules: More type <> casting fixes 2026-03-31 16:27:25 -03:00
Jehan
3668ee5562 NEWS: update. 2026-03-31 19:16:35 +02:00
Bruno Lopes
ed3611efa6 app, libgimp*, plug-ins: Use strncpy_s on Windows to fix CRT_INSECURE_DEPRECATE 2026-03-31 13:31:33 -03:00
Bruno Lopes
fe185577e2 libgimp: Use new datetime functions to fix CRT_INSECURE_DEPRECATE warnings 2026-03-31 13:31:33 -03:00
Bruno Lopes
3c71c42c31 app, app-tools, libgimp: Use freopen_s on Windows to fix CRT_INSECURE_DEPRECATE 2026-03-31 13:31:33 -03:00
Bruno Lopes
b9ec00c334 libgimpbase, libgimpconfig: Fix some castings 2026-03-31 13:31:33 -03:00
Bruno Lopes
84c7274c70 plug-ins: Use fscanf_s on Windows to fix CRT_INSECURE_DEPRECATE warnings 2026-03-31 13:31:33 -03:00
Ondřej Míchal
6aaefa73c2 libgimp: Sanitize path separators in menu paths
Technically not problematic but when inspecting using Plugin Browser,
the resulting hierarchy is confusing because it sometimes shows actions
to be inside "empty" directories if there are doubled path separators or
trailing ones. Let's not depend on the user to do this correctly when we
can do it for them.
2026-03-31 18:02:44 +03:00
Gabriele Barbero
2d83568bb9 tools: prioritize proxy bindings over IM context in text tool
Try proxy bindings before the IM context. On macOS and Windows,
the IM context consumes Alt+key events (Option produces special
characters on macOS; Alt triggers alt-codes on Windows), so
bindings such as Alt+Plus/Minus (size) and Alt+arrows
(baseline/kerning) would never be reached otherwise.
2026-03-31 15:31:25 +02:00
Bruno Lopes
189598c330 Revert "app: Add macro to fix unused eek_handled variable"
This reverts commit 499e18f84e.
2026-03-31 07:34:49 -03:00
Bruno Lopes
499e18f84e app: Add macro to fix unused eek_handled variable 2026-03-30 22:52:45 -03:00
Bruno Lopes
1c59ad3f17 libgimpwidgets: Comment unused remove_input_window_class function 2026-03-30 22:48:35 -03:00
Bruno Lopes
a146c4ae56 plug-ins: Do not redefine math macros on MSVC 2026-03-30 22:32:01 -03:00
Bruno Lopes
77682518b9 app, plug-ins: Use strcpy_s on Windows to fix CRT_INSECURE_DEPRECATE warnings 2026-03-30 22:32:01 -03:00
Bruno Lopes
2066844166 app, lib*, plug-ins: Use sscanf_s on Windows to fix CRT_INSECURE_DEPRECATE warns 2026-03-30 22:31:57 -03:00
Bruno Lopes
6f33a6a896 modules: Comment unused gimp_input_device_store_remove 2026-03-30 21:37:04 -03:00
Bruno Lopes
8b9ee6d2a8 app, tools: Use cross-platform g_getenv, not getenv
It uses the safe URCT function under the hood.
2026-03-30 21:36:54 -03:00
Bruno Lopes
854caadbc3 build/windows: Update MSVC patch after md generation commit 2026-03-30 17:50:52 -03:00
Bruno Lopes
2a341b815c app: Change some booleans on propgui-types to unsigned integers
This fixes an Apple Clang warning about implicit truncation
from 'int' to a one-bit wide bit-field
2026-03-30 16:09:13 -03:00
Bruno Lopes
c19ed5ca98 plug-ins: Cast g_string_append_c argument to gchar on file-tiff
Silences an Apple Clang warning
2026-03-30 16:09:13 -03:00
Bruno Lopes
811c0c8546 app: Use posix_spawn on macOS
Fixes a Apple Clang warning.
vfork is considered deprecated and unsafe on such platform
2026-03-30 16:09:13 -03:00
Bruno Lopes
ae0a6b028e libgimpwidgets: Remove apparently bogus variable 2026-03-30 16:09:13 -03:00
Kolbjørn Stuestøl
82f4ffefa9 Update Norwegian Nynorsk translation 2026-03-30 18:54:10 +00:00
Yuri Chornoivan
3b7a92fc5d Update Ukrainian translation 2026-03-30 18:51:39 +00:00
Kolbjørn Stuestøl
e9a608a0f5 Update Norwegian Nynorsk translation 2026-03-30 18:51:16 +00:00
Kolbjørn Stuestøl
774c3988bb Update Norwegian Nynorsk translation 2026-03-30 18:46:04 +00:00
Kolbjørn Stuestøl
d6fa046f4f Update Norwegian Nynorsk translation 2026-03-30 18:38:51 +00:00
Kolbjørn Stuestøl
1116615856 Update Norwegian Nynorsk translation 2026-03-30 18:37:36 +00:00
Bruno Lopes
ae339e180e libgimp: Support GLib 2.87.3 platform-specific introspection 2026-03-30 12:31:37 -03:00
Jehan
0148fcbac1 docs, tools: generate Mardown versions of the man pages directly…
… from the main repository.

The new script is basically a copy of tools/man_to_md.py from the
gimp-web repository, with a few improvements.

This is meant to improve our release procedure, with much more
automatization and less manual steps.
2026-03-30 11:34:25 +02:00
Марко Костић
79d37e234b Update Serbian translation 2026-03-30 07:08:01 +00:00
Bruno Lopes
74efec2b76 app: Fix mixed declaration and code of infoCount 2026-03-29 21:07:00 -03:00
Bruno Lopes
e6eeaba58e app: Explicity cast third argument of gimp_enum_radio_box_add to gint
To fix a Apple Clang warning.

gint is what the function on app/widgets/gimpwidgets-utils.h expects.
2026-03-29 21:07:00 -03:00
Bruno Lopes
6300b7377f app: Fix mix of declaration and code on *request and *session 2026-03-29 21:07:00 -03:00
Bruno Lopes
9b533c5099 libgimpwidgets: Use NSWindowStyleMaskBorderless and NSEventTypeMouseEntered 2026-03-29 21:07:00 -03:00
Bruno Lopes
9e664f140d app: Do not set max_n_props array length with const as per Apple Clang warning 2026-03-29 21:07:00 -03:00