Gimp/app/pdb
Jehan 9849f2eff7 app, pdb: factorize code for allowed filters.
The code to ban some filters for non-destructive usage was duplicated in
a PDB file and in the XCF load code. Additionally to combining these 2
codes into a single gimp_gegl_op_nde_allowed(), this commit also moves
part of the logic into gimp_gegl_op_blacklisted() which improves the
following:

* It used to be possible to create filters for hidden operations which
  were not returned by gimp_drawable_filter_operation_get_available(),
  such as "gegl:color" or "gimp:equalize", which would create all sorts
  of problems. Now trying to create these filters through the API will
  not work and will properly warn with an explicit error message.
  I do not consider this an API break since the filters were not
  returned in the available lists and therefore were not considered
  usable. Anyone who would have used any of these hidden filters was
  just going around a weakness in our implementation.
* We make sure that our lists of allowed/forbidden filters are
  consistent across usages.
* When getting the list of filters with gimp_gegl_get_op_classes(), we
  don't need to do an additional validation step (as we were doing until
  now in the PDB call). This is meant to imply that all returned
  operations were already validated.
2026-02-21 14:50:19 +01:00
..
brush-cmds.c libgimp, plug-ins: Prevent GFig crash with NULL brush 2025-05-05 09:36:04 +00:00
brush-select-cmds.c app, pdb: rename gimp_container_get_children_type() to get_child_type() 2025-07-18 08:19:13 +02:00
brushes-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
buffer-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
channel-cmds.c app, libgimp, pdb: further improve function documentation. 2025-10-11 22:10:30 +02:00
context-cmds.c pdb, libgimp: Add PDB get/set for fade-length and fade-repeat 2025-08-22 17:43:40 +00:00
debug-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
display-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
drawable-cmds.c app, libgimp, pdb: clean up some algorithm URLs. 2025-11-24 21:45:03 +01:00
drawable-color-cmds.c app, libgimp, pdb: deprecate various procedures in favor of filters. 2026-02-01 22:31:02 +01:00
drawable-edit-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
drawable-filter-cmds.c app, pdb: factorize code for allowed filters. 2026-02-21 14:50:19 +01:00
drawable-select-cmds.c app, libgimp, pdb: use deprecated and deprecated_since rather than… 2026-02-01 22:40:27 +01:00
dynamics-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
edit-cmds.c app, pdb: get rid of const object pointer in generated PDB code, and 2025-07-12 18:54:20 +02:00
file-cmds.c app, libgimp, pdb: fix docs of gimp_file_load() and gimp_image_is_dirty(). 2025-10-24 03:00:16 +02:00
floating-sel-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
font-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
font-select-cmds.c app, pdb: rename gimp_container_get_children_type() to get_child_type() 2025-07-18 08:19:13 +02:00
fonts-cmds.c GimpFontFactory: Move font loading to another thread 2025-05-14 22:42:22 +00:00
gimp-cmds.c app, libgimp, pdb: make an early check on parasite name. 2025-10-28 16:17:16 +01:00
gimp-pdb-compat.c PDB: obsolete aliased deprecated PDB procedures 2024-10-22 15:18:50 -04:00
gimp-pdb-compat.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimppdb-query.c app: gimp_pdb_query() in libgimp doesn't return private procedures anymore. 2025-01-20 00:01:23 +01:00
gimppdb-query.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimppdb-utils.c app: move functions to look up GimpData into core. 2025-08-17 02:20:19 +00:00
gimppdb-utils.h app: move functions to look up GimpData into core. 2025-08-17 02:20:19 +00:00
gimppdb.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
gimppdb.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimppdbcontext.c app: do not sync the PDB context "name" property. 2022-04-16 01:40:17 +02:00
gimppdbcontext.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimppdberror.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimppdberror.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimpprocedure.c app: rename app/vectors/ to app/path/ 2025-07-07 15:44:15 +02:00
gimpprocedure.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimprc-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
gradient-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
gradient-select-cmds.c app, pdb: rename gimp_container_get_children_type() to get_child_type() 2025-07-18 08:19:13 +02:00
gradients-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
group-layer-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
help-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
image-autocrop-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
image-cmds.c app, pdb: fix gimp_image_get_thumbnail() on high-bit depth image. 2026-02-15 06:19:37 +00:00
image-color-profile-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
image-convert-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
image-grid-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
image-guides-cmds.c Revert "PDB: fix #14205 image-find-next-sample-point error" 2025-06-12 12:59:10 +02:00
image-sample-points-cmds.c Issue #14205: gimp-image-find-next-sample-point returns error when… 2025-06-12 12:59:10 +02:00
image-select-cmds.c widgets, pdb, libgimp: GimpProcedureDialog Image Widget 2025-11-12 03:12:24 +00:00
image-transform-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
image-undo-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
internal-procs.c widgets, pdb, libgimp: GimpProcedureDialog Item Widget 2025-11-16 16:42:24 +00:00
internal-procs.h app, libgimp, pdb: port GimpRasterizable interface to libgimp too. 2025-10-13 16:37:25 +02:00
item-cmds.c widgets, pdb, libgimp: GimpProcedureDialog Item Widget 2025-11-16 16:42:24 +00:00
item-transform-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
layer-cmds.c app, libgimp, pdb: fix markdown-like syntax. 2025-10-12 17:22:18 +02:00
link-layer-cmds.c app, libgimp, pdb: remove specific functions now in shared GimpRasterizable API. 2025-10-13 18:00:10 +02:00
meson.build app, libgimp, pdb: port GimpRasterizable interface to libgimp too. 2025-10-13 16:37:25 +02:00
message-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
paint-tools-cmds.c app, pdb: Fix arguments for Gimp.clone ()... 2026-01-27 03:27:20 +00:00
palette-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
palette-select-cmds.c app, pdb: rename gimp_container_get_children_type() to get_child_type() 2025-07-18 08:19:13 +02:00
palettes-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
path-cmds.c app, libgimp, pdb: further improve function documentation. 2025-10-11 22:10:30 +02:00
pattern-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
pattern-select-cmds.c app, pdb: rename gimp_container_get_children_type() to get_child_type() 2025-07-18 08:19:13 +02:00
patterns-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
pdb-cmds.c Issue #15152: Export to bzip2, gzip, xz gives warnings. 2025-10-28 12:34:58 +01:00
pdb-types.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
plug-in-cmds.c pdb: Make gimp-plug-ins-query public 2025-04-23 14:05:16 +00:00
progress-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
rasterizable-cmds.c app, pdb: do not push undos on rasterizables when loading a XCF. 2025-10-23 01:16:58 +02:00
README pdb: (try 3) move PDB generation and sources to toplevel/pdb 2017-12-17 14:16:08 -05:00
resource-cmds.c app: move functions to look up GimpData into core. 2025-08-17 02:20:19 +00:00
selection-cmds.c app, pdb: get rid of const object pointer in generated PDB code, and 2025-07-12 18:54:20 +02:00
text-layer-cmds.c text, pdb: Connect text outline unit to PDB 2025-10-25 12:00:52 -04:00
text-tool-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
unit-cmds.c app, pdb: internal procedures are simply ones with type GIMP_PDB_PROC_TYPE_INTERNAL. 2025-02-25 20:01:29 +01:00
vector-layer-cmds.c app, libgimp, pdb: new procedures gimp_vector_layer_get_(fill|stroke)_pattern(). 2025-10-15 00:12:42 +02:00

This directory contains the PDB-wrappers for various internal
Gimp functions.

THESE FILES ARE AUTOGENERATED AND CHANGES HERE ARE USELESS!

If you need to change the code please have a look in ../../pdb/groups.