mirror of https://github.com/GNOME/gimp.git
![]() Turn all ID param specs into object param specs (e.g. GimpParamImageID becomes GimpParamImage) and convert between IDs and objects in gimpgpparams.c directly above the the wire protocol, so all of app/, libgimp/ and plug-ins/ can deal directly with objects down to the lowest level and not care about IDs. Use the actual object param specs for procedure arguments and return values again instead of a plain g_param_spec_object() and bring back the none_ok parameter. This implies changing the PDB type checking functions to work on pure integers instead of IDs (one can't check whether object creation is possible if performing that check requires the object to already exist). For example gimp_foo_is_valid() becomes gimp_foo_id_is_valid() and is not involved in automatic object creation magic at the protocol level. Added wrappers which still say gimp_foo_is_valid() and take the respective objects. Adapted all code, and it all becomes nicer and less convoluted, even the generated PDB wrappers in app/ and libgimp/. |
||
---|---|---|
.. | ||
ftx | ||
scripts | ||
tinyscheme | ||
.gitignore | ||
Makefile.am | ||
scheme-wrapper.c | ||
scheme-wrapper.h | ||
script-fu-console.c | ||
script-fu-console.h | ||
script-fu-enums.h | ||
script-fu-eval.c | ||
script-fu-eval.h | ||
script-fu-interface.c | ||
script-fu-interface.h | ||
script-fu-intl.h | ||
script-fu-regex.c | ||
script-fu-regex.h | ||
script-fu-script.c | ||
script-fu-script.h | ||
script-fu-scripts.c | ||
script-fu-scripts.h | ||
script-fu-server.c | ||
script-fu-server.h | ||
script-fu-text-console.c | ||
script-fu-text-console.h | ||
script-fu-types.h | ||
script-fu-utils.c | ||
script-fu-utils.h | ||
script-fu.c | ||
servertest.py |