gimp/app/paint
Jehan 48cb7e76d3 app, libgimp, pdb: add g_return*_if_fail() test for array size args.
Generated libgimp functions' arguments are normally tested through the
PDB, so that you get proper error messages when trying to call a
function with invalid arguments.
This is not true anymore for array arguments since the size argument is
not a PDB arg, only in the C function. Therefore I'm adding an
infrastructure asserting on invalid size, using the same PDB type
annotations as other args. It is important to assert valid input on
plug-in side (i.e. libgimp) so that the core doesn't make any assumption
on having received valid input when it has not.

Also changing size argument of gimppainttools PDB-generated functions to
proper gsize.
2024-10-25 23:31:06 +02:00
..
gimp-paint.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-paint.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpairbrush.c app: Fix extra drawing with airbrush tool on layers with offset 2023-07-24 15:55:30 +00:00
gimpairbrush.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpairbrushoptions.c app: increase the maximal airbrush stamp FPS 2020-02-13 18:47:03 +02:00
gimpairbrushoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpbrushcore-kernels.h app: small fix in gimpbrushcore-kernels.h 2019-02-06 16:51:01 -05:00
gimpbrushcore-loops.cc app, meson.build: fix a bunch of warnings in C++ files 2019-09-12 20:04:50 +03:00
gimpbrushcore-loops.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpbrushcore.c app: Fix layer expansion while painting with symmetry enabled 2023-11-25 16:19:43 +00:00
gimpbrushcore.h app: make painting possibly multi-drawable aware. 2021-09-14 17:59:47 +02:00
gimpclone.c app: make painting possibly multi-drawable aware. 2021-09-14 17:59:47 +02:00
gimpclone.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcloneoptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpcloneoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconvolve.c app: fix broken symmetry on offset layers 2023-07-24 15:55:30 +00:00
gimpconvolve.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconvolveoptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpconvolveoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpdodgeburn.c app: fix broken symmetry on offset layers 2023-07-24 15:55:30 +00:00
gimpdodgeburn.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpdodgeburnoptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpdodgeburnoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimperaser.c app: get_paint_params() now uses GeglColor. 2024-02-11 23:28:03 +01:00
gimperaser.h app: derive GimpEraser from GimpPaintbrush 2019-05-26 14:47:44 -04:00
gimperaseroptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimperaseroptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpheal.c app: make painting possibly multi-drawable aware. 2021-09-14 17:59:47 +02:00
gimpheal.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpink-blob.c app: Layer expansion while using ink tool 2023-11-25 16:19:43 +00:00
gimpink-blob.h app: Layer expansion while using ink tool 2023-11-25 16:19:43 +00:00
gimpink.c app, libgimpconfig: color history is now space-invaded. 2024-02-11 23:28:03 +01:00
gimpink.h app: Layer expansion while using ink tool 2023-11-25 16:19:43 +00:00
gimpinkoptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpinkoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpinkundo.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpinkundo.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpmybrushcore.c app: no more GimpRGB/GimpHSL/GimpHSV usage in paint code at all anymore. 2024-02-11 23:28:03 +01:00
gimpmybrushcore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpmybrushoptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpmybrushoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpmybrushsurface.c app: no more GimpRGB/GimpHSL/GimpHSV usage in paint code at all anymore. 2024-02-11 23:28:03 +01:00
gimpmybrushsurface.h app: Layer expansion with MyPaintBrush now works. 2023-11-25 16:19:43 +00:00
gimppaintbrush.c app: get_paint_params() now uses GeglColor. 2024-02-11 23:28:03 +01:00
gimppaintbrush.h app: get_paint_params() now uses GeglColor. 2024-02-11 23:28:03 +01:00
gimppaintcore-loops.cc app: fix "Luma Lighten/Darken only" layer modes. 2020-11-10 17:25:34 +01:00
gimppaintcore-loops.h app: use MASK_COMPONENTS algorithm in gimp_paint_core_{paste,replace}() 2019-02-16 09:56:30 -05:00
gimppaintcore-stroke.c app, libgimp, pdb: add g_return*_if_fail() test for array size args. 2024-10-25 23:31:06 +02:00
gimppaintcore-stroke.h app, libgimp, pdb: add g_return*_if_fail() test for array size args. 2024-10-25 23:31:06 +02:00
gimppaintcore.c app: port some of the paint and fill code to GeglColor. 2024-02-11 23:28:03 +01:00
gimppaintcore.h app: Blink lock when layer expansion is prevented by lock 2023-11-25 16:19:43 +00:00
gimppaintcoreundo.c app: big porting of weak pointers to g_set,clear_weak_pointer() 2023-05-22 18:16:09 +02:00
gimppaintcoreundo.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppaintoptions.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimppaintoptions.h Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimppencil.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppencil.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppenciloptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimppenciloptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpperspectiveclone.c app: rework and fix the logic for copy-pasting multiple drawables. 2022-11-12 18:28:58 +01:00
gimpperspectiveclone.h app: make Perspective Clone tool also work with multiple drawables. 2021-09-14 17:59:47 +02:00
gimpperspectivecloneoptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpperspectivecloneoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpsmudge.c app: no more GimpRGB/GimpHSL/GimpHSV usage in paint code at all anymore. 2024-02-11 23:28:03 +01:00
gimpsmudge.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpsmudgeoptions.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpsmudgeoptions.h Issue #1942 - Smudge Tool with Sample Merged Option 2019-01-20 17:48:04 +01:00
gimpsourcecore.c app: Fix layer expansion while painting with symmetry enabled 2023-11-25 16:19:43 +00:00
gimpsourcecore.h Issue #287: Impossible to stroke a path with the clone tool. 2022-02-04 23:25:38 +01:00
gimpsourceoptions.c app: rework and fix the logic for copy-pasting multiple drawables. 2022-11-12 18:28:58 +01:00
gimpsourceoptions.h Issue #287: Impossible to stroke a path with the clone tool. 2022-02-04 23:25:38 +01:00
meson.build meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
paint-enums.c app, libgimp*: commit the newly generated *enums.c files. 2022-08-01 20:00:01 +02:00
paint-enums.h app: Blink lock when layer expansion is prevented by lock 2023-11-25 16:19:43 +00:00
paint-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00