Gimp/app
Michael Natterer be70105d3b Moved the undo system to the core: Keep GimpUndoStack objects as undo and
2003-02-12  Michael Natterer  <mitch@gimp.org>

	Moved the undo system to the core: Keep GimpUndoStack objects as
	undo and redo stack. Use GimpUndo objects as members of the
	stacks. GimpUndoStack is derived from GimpUndo and keeps undo
	groups, so undo group handling is much simpler than before
	(the whole group is just a single GimpUndo object on the
	stack and not everything between group boundary markers).

	* app/Makefile.am
	* app/undo_types.h: removed.

	* app/config/gimpcoreconfig.[ch]: added "gulong undo_size".
	* app/config/gimprc-blurbs.h: and its blurb.

	* app/core/core-enums.[ch]: added GimpUndoMode and GimpUndoType.

	* app/core/core-types.h: removed UndoType, added GimpUndoAccumulator,
	GimpUndoPopFunc and GimpUndoFreeFunc.

	* app/core/gimpundo.[ch]: do everything the old "Undo" struct did.
	Removed the virtual push() function and added free().

	* app/core/gimpundostack.[ch]: keeps the new undo/redo stacks
	and also acts as undo group.

	* app/core/gimpimage-undo.[ch]: moved the undo apparatus here.

	* app/core/gimpimage.[ch]: removed the old stuff.

	* app/core/gimpmarshal.list: added marshaller needed for GimpUndo.

	* app/undo.[ch]: removed the whole undo mechanism. Only the
	actual undo pushing functions are left.

	* app/undo_history.c
	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/image-menu.c
	* app/gui/preferences-dialog.c
	* app/tools/gimpeditselectiontool.c: changed accordingly.
2003-02-12 17:11:34 +00:00
..
actions Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
arch/i386/mmx Fixed .type directives (would not compile on certain systems). 2002-05-07 07:59:21 +00:00
base removed the "truly ugly hack"... 2003-02-03 13:39:55 +00:00
config Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
core Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
dialogs Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
display Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
file cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gui Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
menus Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
paint take the drawable offset into account when painting (spotted by tigert). 2003-02-10 11:38:03 +00:00
paint-funcs app/paint-funcs/paint-funcs.c plug-ins/common/psd_save.c 64-bit cleaniless 2003-02-08 00:37:27 +00:00
pdb added new virtual function duplicate() as replacement for all 2003-02-11 13:52:47 +00:00
plug-in added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
text added new virtual function duplicate() as replacement for all 2003-02-11 13:52:47 +00:00
tools Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
vectors added new virtual function duplicate() as replacement for all 2003-02-11 13:52:47 +00:00
widgets added new virtual function duplicate() as replacement for all 2003-02-11 13:52:47 +00:00
xcf added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
.cvsignore Makefile.am configure.in gimp-1.3.pc.in added pkg-config files for 2001-11-25 00:19:38 +00:00
airbrush.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
app_procs.c added a "const gchar *extension" parameter to 2003-02-10 11:46:10 +00:00
app_procs.h when checking for 'excecutable' make sure it is a regular file too (on 2003-01-01 13:33:27 +00:00
appenv.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
batch.c Cleaned up the exit process: 2002-12-05 15:49:59 +00:00
batch.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
errors.c forgot a "return". 2001-12-01 22:59:48 +00:00
errors.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
gimp.rc
gimp.sym Add the symbols used by libgimpwidgets. 2002-12-26 02:25:55 +00:00
libgimp_glue.c app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
libgimp_glue.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
main.c just a minor string change. 2003-01-19 12:44:31 +00:00
Makefile.am Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
makefile.mingw.in Mark as out-of-date. 2002-12-26 01:19:09 +00:00
makefile.msc when checking for 'excecutable' make sure it is a regular file too (on 2003-01-01 13:33:27 +00:00
ops_buttons.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
ops_buttons.h app/docindex.c more GObject porting. 2001-07-29 08:37:43 +00:00
paint_core.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
paint_options.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
path.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
path.h added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
path_transform.h General undo cleanup: 2002-02-23 17:29:19 +00:00
pathP.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
plug_in_cmds.c Garry R. Osgood <grosgood@rcn.com> 2001-03-11 13:15:41 +00:00
transform_core.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
undo.c Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
undo.h Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
undo_history.c Moved the undo system to the core: Keep GimpUndoStack objects as undo and 2003-02-12 17:11:34 +00:00
undo_history.h app/Makefile.am new file. 2001-01-29 02:45:02 +00:00
wilber.ico