gimp/libgimpbase
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
..
gimpbase-private.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimpbase-private.h Issue #434: remove broken plural support for GimpUnit. 2024-08-06 11:39:57 +02:00
gimpbase.def app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
gimpbase.h core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
gimpbaseenums.c pdb, libgimpbase: Rename GIMP_VECTORS_STROKE_TYPE... 2024-07-19 15:07:43 +00:00
gimpbaseenums.h Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimpbasetypes.c Fix various typos 2019-09-21 17:10:46 +00:00
gimpbasetypes.h core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
gimpchecks.c plug-ins, libgimpbase, text: Port border-average... 2024-03-25 02:21:54 +00:00
gimpchecks.h libgimpbase: Replace GimpRGB in gimpchecks 2024-03-17 16:19:25 +00:00
gimpchoice.c libgimpbase: remove Returns annotation on function without return value! 2024-08-02 14:23:18 +02:00
gimpchoice.h libgimpbase, libgimpwidgets: add a concept of insensitive choices in GimpChoice. 2023-10-01 20:52:02 +02:00
gimpcompatenums.c app, libgimp*: commit the newly generated *enums.c files. 2022-08-01 20:00:01 +02:00
gimpcompatenums.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcpuaccel.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcpuaccel.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpenv.c libgimpbase: do not "fix" paths in build environment. 2024-03-28 00:19:10 +01:00
gimpenv.h libgimpbase: avoid double definition of exported variables on Windows 2020-06-10 18:29:23 +03:00
gimpexportoptions.c app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
gimpexportoptions.h app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
gimplimits.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpmemsize.c libgimpbase: Add GIR annotation for memsize deserialize 2024-05-11 14:40:38 +02:00
gimpmemsize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpmetadata.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimpmetadata.h Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimpparamspecs.c core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
gimpparamspecs.h core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
gimpparasite.c app, libgimp, libgimpbase: fix gi-docgen rendering 2023-08-12 14:52:52 +00:00
gimpparasite.h Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimpparasiteio.c libgimpbase: always allocate GimpPixPipeParams.placement, add docs 2019-07-24 02:09:49 +02:00
gimpparasiteio.h libgimpbase: remove obsolete members from struct GimpPixPipeParams 2019-07-24 02:22:47 +02:00
gimpprotocol.c core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
gimpprotocol.h core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
gimprectangle.c gir: Add more (out) tags when appropriate 2020-05-03 17:35:01 +02:00
gimprectangle.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpreloc.c libgimpbase: support multiarch folders for binary relocability on Linux. 2024-04-04 22:10:58 +02:00
gimpreloc.h libgimpbase: clean up the linux relocation code 2013-01-27 22:26:29 +01:00
gimpsignal.c libgimpbase: some annotation and doc fixes 2019-08-07 23:32:15 +02:00
gimpsignal.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpunit.c Issue #434: remove broken plural support for GimpUnit. 2024-08-06 11:39:57 +02:00
gimpunit.h Issue #434: remove broken plural support for GimpUnit. 2024-08-06 11:39:57 +02:00
gimputils.c debug: print stack trace without crashing 2023-07-18 10:24:17 +00:00
gimputils.h Add gimp_bind_text_domain () utility function 2023-01-24 14:48:44 +00:00
gimpvaluearray.c Issue #10885: gimp-palette-get-colors warning and critical when… 2024-02-28 22:55:58 +01:00
gimpvaluearray.h Issue #10885: gimp-palette-get-colors warning and critical when… 2024-02-28 22:55:58 +01:00
gimpversion.h.in Meson port. 2019-09-11 16:42:04 +02:00
gimpwin32-io.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpwire.c app, libgimp*, pdb, plug-ins: remove GimpRGB support in GIMP protocol. 2024-04-19 14:34:22 +02:00
gimpwire.h app, libgimp*, pdb, plug-ins: remove GimpRGB support in GIMP protocol. 2024-04-19 14:34:22 +02:00
meson.build core, pdb, plug-ins: Create GimpExportOptions class 2024-08-18 22:03:14 +02:00
test-cpu-accel.c Moved the CPU detection code to libgimpbase (see bug #342860): 2006-06-02 09:58:03 +00:00