gimp/tools
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
..
pdbgen Added mechanism that should prevent undo corruption by broken plug-ins and 2006-10-25 09:41:05 +00:00
.cvsignore tools/Makefile.am new file, a test hack for clipboard debugging. 2005-05-17 22:42:50 +00:00
Makefile.am tools/Makefile.am new file, a test hack for clipboard debugging. 2005-05-17 22:42:50 +00:00
gimp-mkenums quote "true" to fix warning about reserved word. 2006-10-24 13:26:35 +00:00
gimp-remote.c tools/gimp-remote.c applied patch from Michael Klein that adds an option 2006-08-14 19:11:15 +00:00
gimppath2svg.py New file: Script to convert an exported gimp-path to a simple SVG-File. 2000-10-03 21:50:09 +00:00
kernelgen.c tools/gimp-remote.c converted tabs to spaces. 2006-04-12 09:45:20 +00:00
rmshm Initial revision 1997-11-24 22:05:25 +00:00
test-clipboard.c tools/gimp-remote.c use G_OPTION_FLAG_NO_ARG where needed. 2005-09-26 10:01:22 +00:00