Gimp/app
Jacob Boerema 5273f26ef0 app, pdb: fix #13480 inconsistent use of maximum radius...
for generated brushes.
The maximum radius we allowed for generated brushes was not used
consistently everywhere.
In the API call we clamped it to 0.0-32767.0, while the param_spec
set min and max to 0.1 and 4000.0, and the brush editor used a
maximum of 1000.0.
Using a large value (probably anything larger than 4000) would
sooner or later lead to a crash.

Instead of manual changes everywhere, let's define a maximum and
minimum in one place and use that wherever we need the min/max values.
Use the values as set in the param_spec for the defines.
The only place we can't easily do that is in brush.pdb, so we add
a comment above our defines that the values need updating there too.

Actually we should probably use more defines for other values too,
that way there is less chance of min/max values getting out of synch
throughout our code.
2025-04-11 02:02:40 +00:00
..
actions app, pdb: fix #13480 inconsistent use of maximum radius... 2025-04-11 02:02:40 +00:00
config app, app, libgimp*: hide struct for several GParamSpec based off GimpParamSpecObject. 2025-01-24 23:44:43 +01:00
core app, pdb: fix #13480 inconsistent use of maximum radius... 2025-04-11 02:02:40 +00:00
dialogs Issue #13367: show commit in about dialog in all non-release builds. 2025-04-06 20:19:31 +00:00
display app: mark rendering intent strings for translation 2025-03-19 19:06:10 +00:00
file app, libgimpbase: do not try to open a non existing file. 2025-01-23 20:04:54 +01:00
file-data app, libgimp*, plug-ins: move all GimpObjectArray procedure args to GimpCoreObjectArray. 2024-10-25 23:28:42 +02:00
gegl app: re-add "gegl:hstack" to blacklist. 2025-02-17 22:33:38 +01:00
gui macos: Open files from finder fixing #12603 #12465 #12439 2025-01-04 18:23:50 +00:00
menus app: fix #13288 crash when opening a recently closed dock 2025-04-04 19:29:04 +00:00
operations Issue #12614: Successive layer effects should use a higher bit-depth as intermediary format. 2025-01-12 22:18:28 +01:00
paint paint: Prevent crash on expanding with pattern fill 2025-04-02 13:57:24 +00:00
pdb app, pdb: fix #13480 inconsistent use of maximum radius... 2025-04-11 02:02:40 +00:00
plug-in plugin, macos: Fix #12711, #12898 2025-02-22 17:32:51 +00:00
propgui app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
tests app/tests: use gdk_display_get_monitor_at_window in window_roles ui test 2024-12-11 20:18:02 +01:00
text app: Keep the current font in use if the font searched for doesn't exist 2025-03-23 21:35:53 +00:00
tools tools: Don't crash when reading invalid Curves preset 2025-04-07 18:57:31 +00:00
vectors vectors: Remove debug printout when Snap to Active Path on 2025-03-12 20:29:54 +00:00
widgets app, pdb: fix #13480 inconsistent use of maximum radius... 2025-04-11 02:02:40 +00:00
xcf app/xcf: fix #12980 protection against invalid xcf offset 2025-02-26 20:30:05 +00:00
about.h
app.c Issue #12751: get rid of the direct exit() call in stable builds. 2025-02-21 21:15:48 +01:00
app.h
errors.c Issue #12789: make sure gimp-debug-tool is correctly found on Windows. 2025-02-24 18:37:58 +01:00
errors.h
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c
gimp-log.h
gimp-priorities.h
gimp-update.c Issue #12641: Help>About GIMP dialog does not show an update in 3.0 RC1. 2025-01-07 17:10:57 +01:00
gimp-update.h
gimp-version.c app: add gexiv2 and exiv2 versions to crash data 2024-09-23 18:24:48 +00:00
gimp-version.h
gimpconsoleapp.c
gimpconsoleapp.h
gimpcore.def Issue #434: remove broken plural support for GimpUnit. 2024-08-06 11:39:57 +02:00
gimpcoreapp.c
gimpcoreapp.h
git-version.h.in
language.c Issue #12722: force-query when system language change was not working with LANGUAGE. 2025-01-24 20:54:44 +01:00
language.h app: move "System Language" out of GIMP_L10N_LANGS_SIZE. 2024-08-15 20:57:02 +02:00
main.c meson, app, build: Fix Inno wrongly allowing to unninstall with GIMP running 2025-04-01 16:25:47 +00:00
meson.build Issue #12277: GIMP 3.0 RC1 opens Windows Console. 2024-11-21 04:23:10 +00:00
sanity.c meson, app: depend on GEGL 0.4.58 2025-03-23 15:33:25 +01:00
sanity.h
signals.c app, libgimpbase: gimp_signal_private()'s header is now made private. 2024-10-17 17:12:30 +02:00
signals.h
unique.c
unique.h