• Michael Natterer's avatar
    Added mechanism that should prevent undo corruption by broken plug-ins and · b6f9bf5d
    Michael Natterer authored
    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.
    b6f9bf5d
Name
Last commit
Last update
app Loading commit data...
cursors Loading commit data...
data Loading commit data...
desktop Loading commit data...
devel-docs Loading commit data...
docs Loading commit data...
etc Loading commit data...
libgimp Loading commit data...
libgimpbase Loading commit data...
libgimpcolor Loading commit data...
libgimpconfig Loading commit data...
libgimpmath Loading commit data...
libgimpmodule Loading commit data...
libgimpthumb Loading commit data...
libgimpwidgets Loading commit data...
m4macros Loading commit data...
menus Loading commit data...
modules Loading commit data...
plug-ins Loading commit data...
po Loading commit data...
po-libgimp Loading commit data...
po-plug-ins Loading commit data...
po-python Loading commit data...
po-script-fu Loading commit data...
po-tips Loading commit data...
regexrepl Loading commit data...
themes Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-2-0 Loading commit data...
NEWS.pre-2-2 Loading commit data...
README Loading commit data...
README.i18n Loading commit data...
README.win32 Loading commit data...
acinclude.m4 Loading commit data...
authors.dtd Loading commit data...
authors.xml Loading commit data...
authors.xsl Loading commit data...
autogen.sh Loading commit data...
config.h.in Loading commit data...
config.h.win32 Loading commit data...
configure.in Loading commit data...
gimp-zip.in Loading commit data...
gimp.pc.in Loading commit data...
gimpdefs.msc Loading commit data...
gimpthumb.pc.in Loading commit data...
gimptool-2.0.in Loading commit data...
gimptool-win32.c.in Loading commit data...
gimpui.pc.in Loading commit data...
makefile.msc Loading commit data...