gimp/app
Michael Natterer 884b3aa7a3 Made drawable/layer properties (visibility, opacity etc.) undoable (fixes
2003-03-17  Michael Natterer  <mitch@gimp.org>

	Made drawable/layer properties (visibility, opacity etc.)
	undoable (fixes bug #73893).

	* app/core/core-enums.[ch]: added undo types/groups for
	visibility, mode, opacity, linked and preserve_trans.

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
	ref'ed GimpItem pointer so (1) this doesn't need to be done by all
	undo steps related to an item and (2) the item the undo step is
	for can be determined from outside the undo system.

	* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
	which returns a new GimpItemUndo.

	* app/core/gimpimage-undo-push.[ch]: use it for all item related
	undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
	and GimpVectors pointers from the private undo structs. Added
	undo push functions for the new undo types added above.

	* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
	"gboolean push_undo" parameter.

	* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
	_preserve_trans, _linked): added "gboolean push_undo" parameters.

	* app/core/gimpimage-mask.c
	* app/core/gimpimage-merge.c
	* app/core/gimplayer-floating-sel.c
	* app/tools/gimpmovetool.c
	* app/xcf/xcf-load.c
	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplayerlistview.c: changed accordingly.

	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
	the foo_accessors() functions. Removed $func from foo_accesors()
	because we don't manipulate items without using getters/setters
	any longer.

	* app/pdb/channel_cmds.c
	* app/pdb/layer_cmds.c: regenerated.

	* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
	which carries an additional "GdkModifierType state" parameter as
	in GimpCellRendererViewable .

	* app/widgets/gimpcontainertreeview.c: emit "clicked" from
	the toggle renderer, not "toggled" so the callbacks get the
	modifier state.

	* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
	visible by <shift>+click" feature as in 1.2.

	* app/widgets/gimplayertreeview.c: compress layer opacity undos by
	looking at the top of the undo stack and not pushing an undo if
	there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
	layer.
2003-03-17 18:02:41 +00:00
..
actions added GIMP_UNDO_CHANNEL_COLOR. 2003-03-17 02:25:39 +00:00
arch/i386/mmx Fixed .type directives (would not compile on certain systems). 2002-05-07 07:59:21 +00:00
base check for gdk-pixbuf-csource and allow to override it by setting the 2003-03-16 17:00:40 +00:00
config added the new function gimp_config_string_append_escaped(), see inline 2003-03-17 14:23:42 +00:00
core Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
dialogs set the dialog transient to the file selection dialog (see bug #61092). 2003-03-16 17:51:52 +00:00
display reordered the View menu, moved all Zoom-related entries into a submenu. 2003-03-12 17:18:25 +00:00
file app/core/gimpimagefile.c (gimp_imagefile_create_thumbnail), 2003-03-11 21:04:09 +00:00
gui added GIMP_UNDO_CHANNEL_COLOR. 2003-03-17 02:25:39 +00:00
menus simplified. 2003-03-15 12:41:33 +00:00
paint removed a leftover warning (bug #97214). 2003-03-11 20:04:33 +00:00
paint-funcs added gimp_channel_new_from_component() which creates a new GimpChannel 2003-03-11 23:54:49 +00:00
pdb Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
plug-in fixed creation of config file, added new function 2003-03-10 15:48:16 +00:00
text app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00
tools Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
vectors added virtual function rename() which pushes an item rename undo. Added 2003-03-17 00:14:59 +00:00
widgets Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
xcf Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
.cvsignore
airbrush.c
app_procs.c added GError reporting, removed g_message() stuff. 2003-03-05 11:25:59 +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
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 Reimplemented the undo history: 2003-02-20 12:47:42 +00:00
makefile.mingw.in Mark as out-of-date. 2002-12-26 01:19:09 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +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
paint_core.h
paint_options.h
path.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
path.h
path_transform.h
pathP.h
plug_in_cmds.c
transform_core.c
wilber.ico