gimp/app/pdb
Michael Natterer b6f9bf5d57 Added mechanism that should prevent undo corruption by broken plug-ins and
2006-10-25  Michael Natterer  <mitch@gimp.org>

	Added mechanism that should prevent undo corruption by
	broken plug-ins and scripts. Work in progress.

	* app/plug-in/Makefile.am
	* app/plug-in/gimpplugin-cleanup.[ch]: new files that (for now)
	keep track of the undo groups plug-in procedures open and close,
	and can fix an image's undo group state after a plug-in messed.

	* app/plug-in/gimppluginprocframe.h (struct GimpPlugInProcFrame):
	keep a list of plug-in cleanup structs.

	* app/plug-in/gimppluginprocframe.c
	(gimp_plug_in_proc_frame_dispose): call gimp_plug_in_cleanup() if
	the list is not empty.

	* tools/pdbgen/pdb/undo.pdb: keep track of undo groups using
	the new gimp_plug_in_cleanup_undo_group_start() and _end()
	functions. Fail if any of the functions returns FALSE.

	* app/pdb/undo_cmds.c: regenerated.
2006-10-25 09:41:05 +00:00
..
.cvsignore changed destdir for app-side PDB wrappers to app/pdb 2001-01-21 21:58:16 +00:00
Makefile.am app/pdb/Makefile.am app/pdb/gimppluginprocedure.[ch] removed these 2006-08-05 21:21:01 +00:00
README Added another warning about autogenerated files 2001-01-21 22:28:16 +00:00
brush_cmds.c app/actions/data-commands.c app/actions/documents-commands.c 2006-10-09 18:49:15 +00:00
brush_select_cmds.c app/gui/gui-message.c moved utility function to gimpwidgets-utils. 2006-09-22 09:24:41 +00:00
brushes_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
buffer_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
channel_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
color_cmds.c tools/pdbgen/pdb/color.pdb tools/pdbgen/pdb/drawable.pdb 2006-09-13 17:56:40 +00:00
context_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
convert_cmds.c tools/pdbgen/stddefs.pdb Attributed custom dither code to David Gowers and 2006-08-04 19:59:39 +00:00
display_cmds.c added "gboolean none_ok" members to GimpParamSpecImageID, 2006-05-06 18:57:51 +00:00
drawable_cmds.c removed the "floating" flag and the floating/sink API. 2006-10-16 17:09:17 +00:00
drawable_transform_cmds.c tools/pdbgen/pdb/drawable_transform.pdb add the drawable's offset to the x 2006-05-23 11:11:06 +00:00
edit_cmds.c app/core/core-enums.h tools/pdbgen/pdb/edit.pdb applied patch from David 2006-08-15 16:20:46 +00:00
fileops_cmds.c added a GError parameter to file_utils_find_proc(). 2006-08-10 21:22:05 +00:00
floating_sel_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
font_select_cmds.c app/gui/gui-message.c moved utility function to gimpwidgets-utils. 2006-09-22 09:24:41 +00:00
fonts_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
gimp-pdb-compat.c it's gimp-layer-set,get-lock-alpha, not gimp-drawable. 2006-10-23 16:33:39 +00:00
gimp-pdb-compat.h added gimp_pdb_compat_procs_register(). 2006-08-05 18:27:56 +00:00
gimppdb-query.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
gimppdb-query.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
gimppdb.c added missing casts. 2006-10-11 08:13:35 +00:00
gimppdb.h Added some signals inspired by Rockwalrus' libpdb: 2006-04-27 19:36:13 +00:00
gimpprocedure.c app/actions/data-commands.c app/actions/documents-commands.c 2006-10-09 18:49:15 +00:00
gimpprocedure.h changed parameter "gint display_ID" to "GimpObject *display". 2006-05-05 08:29:33 +00:00
gimprc_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
gradient_cmds.c app/actions/data-commands.c app/actions/documents-commands.c 2006-10-09 18:49:15 +00:00
gradient_select_cmds.c app/gui/gui-message.c moved utility function to gimpwidgets-utils. 2006-09-22 09:24:41 +00:00
gradients_cmds.c Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
grid_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
guides_cmds.c added gimp_guide_get_ID(). 2006-06-07 15:49:59 +00:00
help_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
image_cmds.c removed the "floating" flag and the floating/sink API. 2006-10-16 17:09:17 +00:00
internal_procs.c app/vectors/Makefile.am app/vectors/vectors-enums.h added new file for the 2006-10-24 14:23:29 +00:00
internal_procs.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
layer_cmds.c tools/pdbgen/pdb/color.pdb tools/pdbgen/pdb/drawable.pdb 2006-09-13 17:56:40 +00:00
makefile.msc updated 2006-08-15 15:13:08 +00:00
message_cmds.c Added message severities and make sure all messages are routed through a 2006-10-09 08:17:22 +00:00
misc_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
paint_tools_cmds.c tools/pdbgen/pdb/color.pdb tools/pdbgen/pdb/drawable.pdb 2006-09-13 17:56:40 +00:00
palette_cmds.c app/actions/data-commands.c app/actions/documents-commands.c 2006-10-09 18:49:15 +00:00
palette_select_cmds.c app/gui/gui-message.c moved utility function to gimpwidgets-utils. 2006-09-22 09:24:41 +00:00
palettes_cmds.c added "has_alpha" to GimpParamSpecRGB. Made the GimpParamSpecRGB struct 2006-04-27 15:19:59 +00:00
parasite_cmds.c added "gboolean none_ok" members to GimpParamSpecImageID, 2006-05-06 18:57:51 +00:00
paths_cmds.c app/vectors/Makefile.am app/vectors/vectors-enums.h added new file for the 2006-10-24 14:23:29 +00:00
pattern_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
pattern_select_cmds.c app/gui/gui-message.c moved utility function to gimpwidgets-utils. 2006-09-22 09:24:41 +00:00
patterns_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
pdb-types.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
plug_in_cmds.c app/pdb/Makefile.am app/pdb/gimppluginprocedure.[ch] removed these 2006-08-05 21:21:01 +00:00
procedural_db_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
progress_cmds.c turn c_style_procedure_names() in $proc->{help} into 2006-05-19 12:58:27 +00:00
selection_cmds.c fixed documentation of gimp-selection-sharpen (bug #343911). 2006-06-05 20:36:21 +00:00
selection_tools_cmds.c tools/pdbgen/stddefs.pdb added wrapper for gimp-round-rect-select. Added 2006-10-20 21:20:29 +00:00
text_tool_cmds.c applied a (slightly modified) patch from Joao that improves PDB 2006-06-28 06:35:21 +00:00
transform_tools_cmds.c tools/pdbgen/pdb/drawable_transform.pdb add the drawable's offset to the x 2006-05-23 11:11:06 +00:00
undo_cmds.c Added mechanism that should prevent undo corruption by broken plug-ins and 2006-10-25 09:41:05 +00:00
unit_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
vectors_cmds.c app/vectors/Makefile.am app/vectors/vectors-enums.h added new file for the 2006-10-24 14:23:29 +00:00

README

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 ../../tools/pdbgen/pdb.