gimp/app/plug-in
Jehan ddcaa99264 app, libgimp*, pdb, plug-ins: review and enhance MR !1549.
- Fix annotations for gimp_export_options_get_image() to make it
  actually introspectable with the GimpImage being both input and
  output. Even though the logic doesn't change much (the input image may
  be overriden or not), it doesn't matter for introspection because
  images are handled centrally by libgimp and therefore must not be
  freed. Actually deleting the image from the central list of images
  though remains a manual action depending on code logic, not some
  automatic action to be handled by binding engines.
- Add G_GNUC_WARN_UNUSED_RESULT to gimp_export_options_get_image()
  because ignoring the returned value is rarely a good idea (as you
  usually want to delete the image).
- Remove gimp_export_options_new(): we don't need this constructor
  because at this point, the best is to tell plug-in developers to just
  pass NULL everywhere. This leaves us free to create a more useful
  default constructor if needed, in the future. Main description for
  GimpExportOptions has also been updated to say this.
- Add a data_destroy callback for the user data passed in
  gimp_export_procedure_set_capabilities().
- Fixing annotations of 'export_options' object from pdb/pdb.pl: input
  args would actually be (nullable) and would not transfer ownership
  (calling code must still free the object). Return value's ownership on
  the other hand is fully transfered.
- Add C and Python unit testing for GimpExportOptions and
  gimp_export_options_get_image() in particular.
- Fix or improve various details.

Note that I have also considered for a long time changing the signature
of gimp_export_options_get_image() to return a boolean indicating
whether `image` had been replaced (hence needed deletion) or not. This
also meant getting rid of the GimpExportReturn enum. Right now it would
work because there are no third case, but I was considering the future
possibility that for instance we got some impossible conversion for some
future capability. I'm not sure it would ever happen; and for sure, this
is not desirable because it implies an export failure a bit late in the
workflow. But just in case, let's keep the enum return value. It does
not even make the using code that much more complicated (well just a
value comparison instead of a simple boolean test).
2024-08-18 22:46:47 +02:00
..
gimpenvirontable.c app: swap ':' path separator to ';' on Windows. 2024-03-28 00:19:10 +01:00
gimpenvirontable.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpgpparams.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimpinterpreterdb.c Issue #9994: do not call g_file_info_get_is_hidden() (and others) directly. 2023-09-19 15:34:48 +02:00
gimpinterpreterdb.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-cleanup.c app: Rename app/core GimpImage vectors API... 2024-07-11 01:17:49 +00:00
gimpplugin-cleanup.h pdb, libgimp: Rename libgimp GimpImage vectors API... 2024-07-08 02:09:42 +00:00
gimpplugin-context.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-context.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-message.c Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimpplugin-message.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-proc.c app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
gimpplugin-proc.h app, libgimp, pdb: new GimpVectorLoadProcedure class. 2024-04-24 01:16:46 +02:00
gimpplugin-progress.c app, libgimp, pdb, plug-ins: fix failure to set plug-in as transient. 2024-06-08 21:54:21 +02:00
gimpplugin-progress.h app, libgimp*, pdb, plug-ins: reimplement generic inter-process transient window. 2023-10-01 21:02:33 +02:00
gimpplugin.c app, libgimp, pdb, plug-ins: fix failure to set plug-in as transient. 2024-06-08 21:54:21 +02:00
gimpplugin.h app, libgimp, pdb, plug-ins: fix failure to set plug-in as transient. 2024-06-08 21:54:21 +02:00
gimpplugindebug.c app/plugin fix #11407 PLUGIN_DEBUG_WRAP=all 2024-07-11 13:29:57 +00:00
gimpplugindebug.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugindef.c Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
gimpplugindef.h Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
gimppluginerror.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimppluginerror.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-call.c app, libgimp, pdb, plug-ins: fix failure to set plug-in as transient. 2024-06-08 21:54:21 +02:00
gimppluginmanager-call.h app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl 2019-09-04 14:30:43 +02:00
gimppluginmanager-data.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimppluginmanager-data.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-file.c plug-ins: Convert file_*_save to file_*_export 2024-04-16 16:07:10 +00:00
gimppluginmanager-file.h app: fix adding file procedures from pluginrc 2019-09-10 21:19:00 +02:00
gimppluginmanager-help-domain.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-help-domain.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-menu-branch.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-menu-branch.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-query.c Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
gimppluginmanager-query.h Simplify the plug-in query API and fix plugin-browser 2019-09-08 14:59:09 +02:00
gimppluginmanager-restore.c app, devel-socs, icons, plug-ins, tools: remove various autotools artifacts. 2023-09-27 15:39:39 +02:00
gimppluginmanager-restore.h Revert "app: force re-querying all plug-ins after a language change." 2022-07-06 19:41:00 +02:00
gimppluginmanager.c app: fix running `gimp` or `gimp-console` as tool during build time on Windows. 2024-03-28 00:19:10 +01:00
gimppluginmanager.h Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
gimppluginprocedure.c app: also rename <Vectors> to <Paths> menu. 2024-08-07 19:33:48 +02:00
gimppluginprocedure.h app, libgimp, pdb: new GimpVectorLoadProcedure class. 2024-04-24 01:16:46 +02:00
gimppluginprocframe.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginprocframe.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginshm.c Use CreateFileMappingW () 2023-01-24 14:48:44 +00:00
gimppluginshm.h Get rid of capitalized "ID" in function and variable names 2019-08-23 22:23:23 +02:00
gimptemporaryprocedure.c app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl 2019-09-04 14:30:43 +02:00
gimptemporaryprocedure.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
plug-in-enums.c app, libgimp*: commit the newly generated *enums.c files. 2022-08-01 20:00:01 +02:00
plug-in-enums.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-menu-path.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-menu-path.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-rc.c core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
plug-in-rc.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00