gimp/app
Jehan 70438028aa libgimp: PDB procedure arguments are not order-based anymore (API-wise).
As far as plug-in API is concerned, at least the calling API, order of arguments
when calling PDB procedures doesn't matter anymore.

Order still matters for creating procedures with standard arguments (for
instance, "run-mode" is first, then image, or file, drawables or whatnot,
depending on the subtype of procedure), but not for calling with libgimp.

Concretely in this commit:

- gimp_pdb_run_procedure_argv() was removed as it's intrinsically order-based.
- gimp_pdb_run_procedure() and gimp_pdb_run_procedure_valist() stay but their
  semantic changes. Instead of an ordered list of (type, value) couple, it's now
  an unordered list of (name, type, value) triplets. This way, you can also
  ignore as many args as you want if you intend to keep them default. For
  instance, say you have a procedure with 20 args and you only want to change
  the last one and keep the 19 first with default values: while you used to have
  to write down all 20 args annoyingly, now you can just list the only arg you
  care about.

There are 2 important consequences here:

1. Calling PDB procedures becomes much more semantic, which means scripts with
   PDB calls are simpler (smaller list of arguments) and easier to read (when
   you had 5 int arguments in a row, you couldn't know what they refer to,
   except by always checking the PDB source; now you'll have associated names,
   such as "width", "height" and so on) hence maintain.
2. We will have the ability to add arguments and even order the new arguments in
   middle of existing arguments without breaking compatibility. The only thing
   which will matter will be that default values of new arguments will have to
   behave like when the arg didn't exist. This way, existing scripts will not be
   broken. This will avoid us having to always create variants of PDB procedure
   (like original "file-bla-save", then variant "file-bla-save-2" and so on)
   each time we add arguments.

Note: gimp_pdb_run_procedure_array() was not removed yet because it's currently
used by the PDB. To be followed.
2023-10-16 21:56:37 +02:00
..
actions app: use "num-drawables" consistently for the array size argument of "drawables". 2023-10-16 14:45:04 +02:00
config config: Clarify color profile policy (@ellestone) 2023-10-06 19:08:40 +00:00
core app: fix gimp-gegl-loops algorithm from commit dbaa8b6a1c. 2023-10-09 15:44:31 +02:00
dialogs Issue #2902: Preference option to set "Interface/Theme" font size. 2023-09-25 23:05:38 +02:00
display gui: Use "minimize" window hint on Windows 2023-10-15 14:14:06 +00:00
file app: fix handling of GimpThumbnailProcedure return values. 2023-10-01 21:02:33 +02:00
file-data libgimp: PDB procedure arguments are not order-based anymore (API-wise). 2023-10-16 21:56:37 +02:00
gegl app: fix gimp-gegl-loops algorithm from commit dbaa8b6a1c. 2023-10-09 15:44:31 +02:00
gui gui: Use "minimize" window hint on Windows 2023-10-15 14:14:06 +00:00
menus app: be more forgiving in reading shortcutsrc. 2023-10-02 01:30:02 +02:00
operations app,pdb,plug-ins: %s/gegl_node_connect_to/gegl_node_connect/ 2023-06-13 19:58:42 +02:00
paint app: Fix extra drawing with airbrush tool on layers with offset 2023-07-24 15:55:30 +00:00
pdb app, pdb: make it possible to delete a color from a colormap if unused. 2023-10-09 15:28:20 +02:00
plug-in app, libgimp*, pdb, plug-ins: reimplement generic inter-process transient window. 2023-10-01 21:02:33 +02:00
propgui Remove autotools 2023-05-27 00:03:52 +02:00
tests app, devel-socs, icons, plug-ins, tools: remove various autotools artifacts. 2023-09-27 15:39:39 +02:00
text Issue #9979:bold and italic broken 2023-10-04 12:01:06 +00:00
tools app: fix a quite-random crash on exit with a race condition. 2023-10-15 11:45:16 +02:00
vectors Remove autotools 2023-05-27 00:03:52 +02:00
widgets Fix clang build error void function should not return value 2023-10-11 08:09:54 -04:00
xcf app: rename "dummy-param" to "run-mode". 2023-10-16 14:49:17 +02:00
about.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
app.c Revert "app: quick/dirty-exit on all releases (not just stable ones) while…" 2023-05-22 03:39:52 +02:00
app.h app: when called with --quit, GIMP exit code will report batch failure. 2022-04-16 02:30:46 +02:00
errors.c Use MessageBoxW () 2023-01-24 14:48:44 +00:00
errors.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-debug.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-debug.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-intl.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-log.c app: add gimp_log_{set,remove}_handler() 2020-08-02 11:01:59 +03:00
gimp-log.h app: add gimp_log_{set,remove}_handler() 2020-08-02 11:01:59 +03:00
gimp-priorities.h app: fix image-window UI-manager update while a projection is being rendered 2019-03-30 19:31:23 -04:00
gimp-update.c gimp-updates: fix update checks on macOS 2022-09-06 21:29:18 +01:00
gimp-update.h app: now store the last run version in the core config. 2022-02-22 12:23:46 +01:00
gimp-version.c app: only check gimp-release once. 2022-06-08 20:59:09 +02:00
gimp-version.h app: allow to disable the new version check altogether through a key… 2022-06-06 01:09:08 +02:00
gimpconsoleapp.c app: fix some glib related deprecations 2023-06-16 00:13:02 -04:00
gimpconsoleapp.h app: cleanup MR !734. 2022-10-09 16:12:07 +02:00
gimpcore.def app: get rid of return_if_no_drawable() macro and… 2022-11-09 01:24:34 +01:00
gimpcoreapp.c app: remove useless gimp_core_app_finalize(). 2023-04-12 22:07:08 +02:00
gimpcoreapp.h app: remove useless gimp_core_app_finalize(). 2023-04-12 22:07:08 +02:00
git-version.h.in app: revert `#pragma once` to macro guards in meson build. 2019-09-19 13:31:22 +02:00
language.c app: allows for empty string as language. 2022-07-07 22:13:28 +02:00
language.h app: reload plug-ins when language changes between runs. 2022-07-06 19:33:00 +02:00
main.c Improve text quality of UI on Windows 2023-09-02 21:09:06 +00:00
meson.build Issue #8204: link gimp-2.99 executable with the static libapp library. 2023-06-11 17:52:40 +02:00
sanity.c meson,app: depend on GEGL-0.4.46 2023-06-26 00:56:58 +02:00
sanity.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
signals.c Use ExcHndlSetLogFileNameW () 2023-01-24 14:48:44 +00:00
signals.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
unique.c Eliminate warning: ‘gimp_unique_dbus_open’ defined but not used [-Wunused-function] 2023-06-25 18:01:45 +00:00
unique.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00