gimp/app/gui
Michael Natterer a3c3e7d3a6 General undo cleanup:
2002-02-23  Michael Natterer  <mitch@gimp.org>

	General undo cleanup:

	* app/undo.[ch]: made all undo structs private. Changed all
	undo_push_foo() functions to take useful parameters instead of
	"gpointer foo_ptr" and create the undo structs internally.
	Renamed lots of functions so they are more self-explanatory
	(like undo_push_gimage_mod -> undo_push_image_size). Added some
	undo functions (channel reordering is undoable now).  Never pass
	in a UndoType, as they are reseved for groups now (see below).
	Lots of cleanup and stuff...

	* app/undo_types.h: is a private header now which defines "enum
	UndoImplType" which is reserved for actual undo operations.
	All enum values are named "FOO_UNDO".

	* app/core/core-types.h: added the "UndoType" enum here and don't
	include "undo_types.h" any more. The UndoType values are all
	named "FOO_UNDO_GROUP" and are reserved for undo groups.

	The ID space of actual undo operations and undo groups
	is now strictly disjunct.

	* app/core/gimpchannel.h
	* app/core/gimpimage.h
	* app/core/gimplayer.h
	* app/core/gimplayermask.h
	* app/paint/gimppaintcore.h
	* app/tools/gimptransformtool.h: removed undo stuct definitions.

	* app/undo_history.c
	* app/path_transform.h
	* app/core/gimpchannel.c
	* app/core/gimpdrawable-transform.c
	* app/core/gimpedit.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-crop.c
	* app/core/gimpimage-mask.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-qmask.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.c
	* app/display/gimpdisplayshell-dnd.c
	* app/gui/channels-commands.c
	* app/gui/image-commands.c
	* app/gui/layers-commands.c
	* app/gui/paths-dialog.c
	* app/paint/gimppaintcore.c
	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimptexttool.c
	* app/tools/gimptransformtool.c
	* tools/pdbgen/pdb/guides.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/undo.pdb: changed accordingly.

	* app/pdb/guides_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/undo_cmds.c: regenerated.

	* app/core/gimpimage.[ch]: added infrastructure for holding a
	GimpList of GimpVectors objects. The API is the same as for layers
	and channels. Not used yet.
2002-02-23 17:29:19 +00:00
..
.cvsignore configure.in app/Makefile.am new directory which will contain all gui code 2001-04-14 15:21:45 +00:00
Makefile.am Add a few [] to nested AC_CHECK_* invocations. Needed for autoconf 2.52, 2002-01-18 19:07:39 +00:00
about-dialog.c GDK_RGB_DITHER_NORMAL should be good enough. 2002-01-30 20:19:10 +00:00
about-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
authors.h added Rebecca Walter (bex). 2001-11-26 13:17:18 +00:00
brush-editor.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
brush-editor.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
brush-select.c app/core/Makefile.am new file that holds enums that are registered with 2001-12-08 23:12:59 +00:00
brush-select.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
brushes-commands.c app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
brushes-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
buffers-commands.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
buffers-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
channels-commands.c General undo cleanup: 2002-02-23 17:29:19 +00:00
channels-commands.h changed the GimpNewDrawableFunc typedef to take an additional 2001-12-17 13:41:23 +00:00
color-area.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
color-area.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
color-notebook.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
color-notebook.h Made a GimpContainer out of the palette list: 2001-02-11 16:14:25 +00:00
color-select.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
color-select.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
colormap-dialog.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
colormap-dialog.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
commands.c made the gimp_object_get_memsize() debugging output configurable by a 2002-02-07 11:33:01 +00:00
commands.h app/core/gimp.c app/core/gimpdocuments.c app/core/gimpmodules.c fixed some 2002-01-31 20:08:08 +00:00
convert-dialog.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
convert-dialog.h app/Makefile.am removed. new files: the convert functionality without GUI 2001-04-18 17:57:10 +00:00
data-commands.c the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
data-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
device-status-dialog.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
device-status-dialog.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
dialogs-commands.c app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
dialogs-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
dialogs-constructors.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
dialogs-constructors.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
dialogs.c CPPFLAGS: added -DGTK_DISABLE_DEPRECATED 2002-01-25 18:34:33 +00:00
dialogs.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00
documents-commands.c app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
documents-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
edit-commands.c merged partial fix for #62592 from stable branch. 2002-02-12 17:03:41 +00:00
edit-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
error-console-dialog.c forgot a "return". 2001-12-01 22:59:48 +00:00
error-console-dialog.h app/main.c moved "message_handler" from here... 2001-12-01 21:02:34 +00:00
file-commands.c themes/Default/images/Makefile.am 2002-01-09 20:39:49 +00:00
file-commands.h added a (commented out) function to open files (to get rid of including 2001-07-09 17:58:56 +00:00
file-dialog-utils.c added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and 2001-12-14 15:30:31 +00:00
file-dialog-utils.h added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and 2001-12-14 15:30:31 +00:00
file-new-dialog.c renamed the image size utility functions from foo_size_bar() to 2002-02-07 17:37:34 +00:00
file-new-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
file-open-dialog.c use new GtkFileSelection multiselect API. 2002-02-17 00:46:56 +00:00
file-open-dialog.h Makefile.am removed... 2001-11-10 19:35:21 +00:00
file-save-dialog.c CPPFLAGS: added -DGTK_DISABLE_DEPRECATED 2002-01-25 18:34:33 +00:00
file-save-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
gradient-editor-commands.c app/core/core-enums.h moved gradient enums to core-enums.h and 2001-12-11 18:53:03 +00:00
gradient-editor-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gradient-editor.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
gradient-editor.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gradient-select.c app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
gradient-select.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gradients-commands.c app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gradients-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gui-types.h include the new "paint-funcs/paint-funcs-types.h". 2001-11-28 17:51:06 +00:00
gui.c changed the message dialog icon to WARNING since we mostly use this for 2002-02-07 14:21:23 +00:00
gui.h Made --no-interface not calling gtk_init() (and thus not contacting the X 2001-11-17 16:32:34 +00:00
help-commands.c made the gimp_object_get_memsize() debugging output configurable by a 2002-02-07 11:33:01 +00:00
help-commands.h app/core/gimp.c app/core/gimpdocuments.c app/core/gimpmodules.c fixed some 2002-01-31 20:08:08 +00:00
image-commands.c General undo cleanup: 2002-02-23 17:29:19 +00:00
image-commands.h moved "Merge Layers" and "Flatten Image" from "Layer/" to "Image/", 2002-02-13 14:41:35 +00:00
indicator-area.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
indicator-area.h added cmd_callbacks for the toolbox and the preferences dialog. 2001-02-24 02:42:09 +00:00
info-dialog.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
info-dialog.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
info-window.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
info-window.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
input-dialog.c app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
input-dialog.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
layers-commands.c General undo cleanup: 2002-02-23 17:29:19 +00:00
layers-commands.h moved "Merge Layers" and "Flatten Image" from "Layer/" to "Image/", 2002-02-13 14:41:35 +00:00
makefile.msc from now on use make.msc from $(TOP)/glib/build/win32; all occurences of 2002-02-17 15:55:54 +00:00
menus.c moved "Merge Layers" and "Flatten Image" from "Layer/" to "Image/", 2002-02-13 14:41:35 +00:00
menus.h app/widgets/Makefile.am put the whole generic stuff from gui/menus.[ch] 2001-11-27 19:27:55 +00:00
module-browser.c add a shadow to the scrolled window, so it looks nicer 2001-12-31 01:59:46 +00:00
module-browser.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
offset-dialog.c CPPFLAGS: added -DGTK_DISABLE_DEPRECATED 2002-01-25 18:34:33 +00:00
offset-dialog.h use the passed Gimp pointer instead of using "the_gimp". 2001-12-03 17:59:48 +00:00
palette-editor.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
palette-editor.h app/core/Makefile.am new files. 2001-12-12 01:16:39 +00:00
palette-import-dialog.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
palette-import-dialog.h added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. 2001-12-17 23:41:01 +00:00
palette-select.c app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
palette-select.h generate app/file/Makefile 2001-10-25 13:30:01 +00:00
palettes-commands.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
palettes-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
paths-dialog.c General undo cleanup: 2002-02-23 17:29:19 +00:00
paths-dialog.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
pattern-select.c app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
pattern-select.h generate app/file/Makefile 2001-10-25 13:30:01 +00:00
patterns-commands.c app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
patterns-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
plug-in-commands.c app/Makefile.am removed... 2002-02-22 15:08:47 +00:00
plug-in-menus.c app/Makefile.am removed... 2002-02-22 15:08:47 +00:00
preferences-dialog.c app/gui/preferences-dialog.c changed "Nearest Neighbor" interpolation to 2002-02-12 16:01:57 +00:00
preferences-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
qmask-commands.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
qmask-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
resize-dialog.c merged fix for #63741 from stable branch, minor cleanup. 2002-02-12 16:27:33 +00:00
resize-dialog.h Made the interpolation type configurable in the scale and transform 2002-02-12 02:31:45 +00:00
resolution-calibrate-dialog.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
resolution-calibrate-dialog.h app/docindex.c app/gdisplay_color_ui.c app/gimpprogress.c app/nav_window.c 2001-08-01 09:33:12 +00:00
select-commands.c removed stock items which are already defined in Gtk+ (GTK_STOCK_NEW 2002-01-13 20:59:56 +00:00
select-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
session.c app/config/Makefile.am new files with utility functions. 2001-12-18 12:39:45 +00:00
session.h pass a "Gimp" to gui_libs_init(), initialize the GUI before initializing 2001-10-23 16:23:32 +00:00
splash.c CPPFLAGS: added -DGTK_DISABLE_DEPRECATED 2002-01-25 18:34:33 +00:00
splash.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
test-commands.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
test-commands.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
tips-dialog.c app/gui/tips-dialog.c app/gui/user-install-dialog.c 2002-02-08 17:59:40 +00:00
tips-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
tool-options-dialog.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
tool-options-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
toolbox.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
toolbox.h generate app/file/Makefile 2001-10-25 13:30:01 +00:00
tools-commands.c app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
tools-commands.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
user-install-dialog.c app/gui/tips-dialog.c app/gui/user-install-dialog.c 2002-02-08 17:59:40 +00:00
user-install-dialog.h removed the gimp_busy boolean, check whether user_installation is needed 2001-07-10 19:16:16 +00:00
view-commands.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
view-commands.h Wishlist item #57669: 2001-11-16 15:08:59 +00:00