Gimp/app/xcf
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
..
meson.build Declare gexiv2 dependency on many targets (due to gimpmetadata.h) 2025-10-03 18:31:53 -03:00
xcf-load.c app, pdb: factorize code for allowed filters. 2026-02-21 14:50:19 +01:00
xcf-load.h Issue #14985: prevent loading recursive linked layers. 2025-12-14 01:46:32 +01:00
xcf-private.h app: rework load/save of link layers. 2025-08-27 11:34:04 +02:00
xcf-read.c app/xcf: fix #12980 protection against invalid xcf offset 2025-02-26 20:30:05 +00:00
xcf-read.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
xcf-save.c libgimpconfig: Save legacy XCF grid colors... 2026-01-09 16:53:33 +00:00
xcf-save.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
xcf-seek.c
xcf-seek.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
xcf-utils.c
xcf-utils.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
xcf-write.c
xcf-write.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
xcf.c Issue #14985: prevent loading recursive linked layers. 2025-12-14 00:31:13 +01:00
xcf.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00