gimp/libgimpwidgets
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
..
.cvsignore ported to the new treeviewized file selection widget. Unfortunately, 2002-01-30 08:31:00 +00:00
Makefile.am add gimpmemsizeentry.h to HEADERS (Fixes #102789) 2003-01-07 22:50:37 +00:00
gimpbutton.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpbutton.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpcellrenderertoggle.c Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
gimpcellrenderertoggle.h Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
gimpchainbutton.c libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c 2003-02-06 21:17:12 +00:00
gimpchainbutton.h libgimpwidgets/gimpchainbutton.[ch] libgimpwidgets/gimpcolorarea.[ch] 2003-01-05 15:41:23 +00:00
gimpcolorarea.c let GimpColorArea optionally draw a thin border around itself. 2003-03-14 15:08:10 +00:00
gimpcolorarea.h let GimpColorArea optionally draw a thin border around itself. 2003-03-14 15:08:10 +00:00
gimpcolorbutton.c fixed usage of gtk_color_selection_set_has_opacity_control(). 2003-02-02 01:22:01 +00:00
gimpcolorbutton.h libgimpwidgets/gimpchainbutton.[ch] libgimpwidgets/gimpcolorarea.[ch] 2003-01-05 15:41:23 +00:00
gimpcolordisplay.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpcolordisplay.h Moved generic datafile loading to LibGimpBase: 2002-10-23 14:55:07 +00:00
gimpcolornotebook.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpcolornotebook.h added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +00:00
gimpcolorscale.c moved the call to libtoolize before automake. 2003-02-26 12:48:48 +00:00
gimpcolorscale.h improved preformance by rendering the buffer only when needed for an 2002-11-01 13:03:09 +00:00
gimpcolorscales.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpcolorscales.h added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +00:00
gimpcolorselect.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpcolorselect.h the color scales from the main color selection as GimpColorSelector 2002-10-28 20:13:17 +00:00
gimpcolorselector.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpcolorselector.h added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +00:00
gimpdialog.c libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c 2003-02-06 21:17:12 +00:00
gimpdialog.h themes/Default/images/Makefile.am 2001-11-28 01:14:06 +00:00
gimpfileentry.c libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c 2003-02-06 21:17:12 +00:00
gimpfileentry.h libgimpwidgets/gimpchainbutton.[ch] libgimpwidgets/gimpcolorarea.[ch] 2003-01-05 15:41:23 +00:00
gimpfileselection.c libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c 2003-02-06 21:17:12 +00:00
gimpfileselection.h libgimpwidgets/gimpchainbutton.[ch] libgimpwidgets/gimpcolorarea.[ch] 2003-01-05 15:41:23 +00:00
gimphelpui.c libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c 2003-02-06 21:17:12 +00:00
gimphelpui.h removed gimp_help_init() and gimp_help_free(). Added _gimp_help_init() 2003-01-07 17:00:49 +00:00
gimpmemsizeentry.c add a tooltip if a param_spec has a non-NULL blurb. Addresses bug #68485. 2003-01-25 20:29:42 +00:00
gimpmemsizeentry.h add a tooltip if a param_spec has a non-NULL blurb. Addresses bug #68485. 2003-01-25 20:29:42 +00:00
gimpoffsetarea.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpoffsetarea.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimppatheditor.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimppatheditor.h added new function gimp_path_editor_set_path(). 2002-11-19 18:41:59 +00:00
gimppickbutton.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimppickbutton.h new GtkButton subclass implementing the pick-from-everywhere eyedropper 2002-11-04 22:56:41 +00:00
gimppixmap.c made a warning more verbose. 2002-01-02 15:09:14 +00:00
gimppixmap.h made a warning more verbose. 2002-01-02 15:09:14 +00:00
gimppropwidgets.c removed the constructors with a GimpViewable parameter and always create 2003-03-03 12:59:03 +00:00
gimppropwidgets.h added a new widget constructor gimp_prop_opacity_entry_new() which is a 2003-02-19 20:06:38 +00:00
gimpquerybox.c libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c 2003-02-06 21:17:12 +00:00
gimpquerybox.h removed stock items which are already defined in Gtk+ (GTK_STOCK_NEW 2002-01-13 20:59:56 +00:00
gimpsizeentry.c libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c 2003-02-06 21:17:12 +00:00
gimpsizeentry.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpstock.c themes/Default/images/Makefile.am 2003-03-14 23:24:37 +00:00
gimpstock.h themes/Default/images/Makefile.am 2003-03-14 23:24:37 +00:00
gimpunitmenu.c allow to query for gimp paths (like "gimp_dir") as it used to work in 1.2. 2003-02-10 13:16:35 +00:00
gimpunitmenu.h allow to query for gimp paths (like "gimp_dir") as it used to work in 1.2. 2003-02-10 13:16:35 +00:00
gimpwidgets.c app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
gimpwidgets.def libgimptool/gimptool.def Add some missing entry points. 2003-01-26 17:10:47 +00:00
gimpwidgets.h moved the call to libtoolize before automake. 2003-02-26 12:48:48 +00:00
gimpwidgetsmarshal.list documented. 2003-02-20 13:10:54 +00:00
gimpwidgetstypes.h libgimpwidgets/Makefile.am made GimpMemsizeEntry a widget which doesn't 2003-01-05 13:52:14 +00:00
libgimp-glue.c app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00
makefile.mingw.in Similar additions for Win32 as in the other libgimp*/Makefile.am files: 2002-12-23 01:51:58 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00