Bug 795230 - Rename Blend tool and provide PDB compatibility

Desktop / GNOME / GIMP - Michael Natterer [gimp.org] - 15 April 2018 13:28 EDT

Add new PDB group "drawable_edit" which has all procedures from the "edit" group which are not cut/copy/paste.

The new group's procedures don't have opacity, paint_mode etc. arguments but take them from the context instead. Unlike the old gimp-edit-fill, gimp-drawable-edit-fill now uses the context's opacity and paint_mode.

The new gimp-drawable-edit-gradient-fill procedure uses even more context properties which are also newly added with this commit (gradient_color_space, gradient_repeat_mode, gradient_reverse).

And some cleanup in context.pdb.

This is still WIP, nothing in the edit group is depcreated yet.

50536e1c38 Bug 795230 - Rename Blend tool and provide PDB compatibility
app/pdb/Makefile.am | 1 +
app/pdb/context-cmds.c | 532 ++++++++++++++++++++++------
app/pdb/drawable-edit-cmds.c | 609 ++++++++++++++++++++++++++++++++
app/pdb/edit-cmds.c | 6 +-
app/pdb/internal-procs.c | 3 +-
app/pdb/internal-procs.h | 1 +
devel-docs/libgimp/libgimp-docs.sgml | 1 +
devel-docs/libgimp/libgimp-sections.txt | 10 +
libgimp/Makefile.am | 2 +
libgimp/gimp.def | 12 +
libgimp/gimp_pdb_headers.h | 1 +
libgimp/gimpcontext_pdb.c | 352 +++++++++++++-----
libgimp/gimpcontext_pdb.h | 226 ++++++------
libgimp/gimpdrawableedit_pdb.c | 310 ++++++++++++++++
libgimp/gimpdrawableedit_pdb.h | 60 ++++
pdb/Makefile.am | 1 +
pdb/groups.pl | 1 +
pdb/groups/context.pdb | 303 ++++++++++++----
pdb/groups/edit.pdb | 2 -
po/POTFILES.in | 1 +
20 files changed, 2077 insertions(+), 357 deletions(-)

Upstream: git.gnome.org


  • Share