gimp/pdb/groups
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
..
brush.pdb API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
brush_select.pdb app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
brushes.pdb Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
buffer.pdb pdb, libgimp: Fix return type of gimp-buffer-get-image-type 2024-08-17 23:23:51 -04:00
channel.pdb Issue #10814: [Color Space Invasion] crash in channel_get_color_invoker. 2024-02-13 23:25:41 +01:00
context.pdb app, libgimp*, pdb, plug-ins: GimpContext is now using only GeglColor. 2024-02-11 23:28:02 +01:00
debug.pdb Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
display.pdb Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
drawable.pdb pdb: Remove item_is_attached restriction from NDE filters 2024-07-15 21:12:17 +00:00
drawable_color.pdb app, libgimp, pdb: minor fixes. 2023-02-14 17:18:38 +01:00
drawable_edit.pdb app, pdb: fix pdb and generated code. 2020-08-01 16:36:27 +02:00
drawable_select.pdb app, libgimp, pdb: generate widgets for GIMP_PROC_ARG_LAYER|CHANNEL arguments. 2023-10-01 21:02:34 +02:00
dynamics.pdb Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
edit.pdb app, pdb: improve cut error message and fix return value. 2024-08-09 20:39:26 +02:00
file.pdb app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
floating_sel.pdb Initial space invasion commit in GIMP 2018-07-21 16:42:57 +02:00
font.pdb API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
font_select.pdb app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
fonts.pdb Fix fonts when exporting to pdf 2023-12-08 11:09:22 +00:00
gimp.pdb Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
gimprc.pdb Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gradient.pdb API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
gradient_select.pdb app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
gradients.pdb Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
group_layer.pdb app, libgimp, pdb, plug-ins: new GimpGroupLayer class in libgimp. 2024-07-07 10:27:04 +02:00
help.pdb Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image.pdb Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
image_color_profile.pdb Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
image_convert.pdb app, libgimp, pdb: factorize a bunch of similar code into gimp_pdb_get_resource(). 2023-07-27 15:25:32 +02:00
image_grid.pdb app, libgimp, pdb, plug-ins: canvas grid now using GeglColor. 2024-02-11 23:28:03 +01:00
image_guides.pdb pdb: Allow off-canvas guides with Script-fu 2024-05-27 15:42:10 +00:00
image_sample_points.pdb pdb, libgimp: improve function documentation for sample points 2023-04-09 21:32:00 -04:00
image_select.pdb app, libgimp, pdb, plug-ins: getting rid of some GimpRGB usage. 2024-02-11 23:28:02 +01:00
image_transform.pdb Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image_undo.pdb pdb: forgot one case of behavior in previous commit 2023-07-21 17:03:32 -04:00
item.pdb libgimp, app, pdb: Rename GimpVectors to GimpPath 2024-07-12 06:16:25 +00:00
item_transform.pdb app, devel-docs, libgimp, pdb: delete gimpitem-linked.[ch]. 2021-12-23 13:45:20 +01:00
layer.pdb app, libgimp, pdb, plug-ins: new GimpGroupLayer class in libgimp. 2024-07-07 10:27:04 +02:00
message.pdb Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
paint_tools.pdb app, pdb: move "src-drawables" from core to option object for… 2021-09-14 17:59:47 +02:00
palette.pdb API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
palette_select.pdb app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
palettes.pdb Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
path.pdb pdb, libgimpbase: Rename GIMP_VECTORS_STROKE_TYPE... 2024-07-19 15:07:43 +00:00
pattern.pdb API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
pattern_select.pdb app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
patterns.pdb Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
pdb.pdb app, libgimp, pdb: new GimpVectorLoadProcedure class. 2024-04-24 01:16:46 +02:00
plug_in.pdb Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
plug_in_compat.pdb PDB: fix #11815 CRITCALS from defaulted args for gegl wrapper procs 2024-07-16 10:25:41 +00:00
progress.pdb app, libgimp, pdb, plug-ins: fix failure to set plug-in as transient. 2024-06-08 21:54:21 +02:00
resource.pdb API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
selection.pdb app, pdb: fix #8363 gimp_selection_float() crash 2024-04-15 18:13:32 -04:00
text_layer.pdb app, pdb: gimp_text_layer_new() allows pixel unit. 2024-08-18 17:44:06 +02:00
text_tool.pdb app, libgimp, pdb: further fix gimp_text_get_extents_font() and improve… 2023-10-02 21:30:20 +02:00
unit.pdb Issue #434: remove broken plural support for GimpUnit. 2024-08-06 11:39:57 +02:00