Gimp/app/base
Michael Natterer a3bb0b0dad Started to get rid of the gdisplays_foo() functions in
2002-05-08  Michael Natterer  <mitch@gimp.org>

	Started to get rid of the gdisplays_foo() functions in
	app/display/gimpdisplay-foreach.[ch]. Work in progress...

	* app/core/gimp.[ch]: added the display list to the Gimp object
	(as a GimpList of GimpObjects). This way we get more independent
	from whether there is GUI or not, as gimp->displays will simply
	be an empty list for the --no-interface case.

	* app/display/gimpdisplay.[ch]: Removed the global "display_list"
	and "display_num" variables. Use gimp->displays instead.

	* app/display/gimpdisplay-foreach.[ch]: renamed most functions
	from gdisplays_foo() to gimp_displays_foo() and pass them a Gimp
	pointer.

	* app/core/gimpimage.[ch]: added a "flush" signal.

	* app/display/gimpdisplay-handlers.c: connect to "flush" and call
	gimp_display_flush() in the callback.

	* tools/pdbgen/pdb/display.pdb: use gimp_displays_flush(gimp)
	here and only here.

	* app/pdb/display_cmds.c: regenerated.

	* app/app_procs.c
	* app/gui/gui.c
	* app/gui/preferences-dialog.c:
	s/gdislays_foo()/gimp_displays_foo(gimp)/

	* app/image_map.c
	* app/undo_history.c
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell-scale.c
	* app/gui/channels-commands.c
	* app/gui/colormap-editor-commands.c
	* app/gui/convert-dialog.c
	* app/gui/drawable-commands.c
	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/image-commands.c
	* app/gui/layers-commands.c
	* app/gui/offset-dialog.c
	* app/gui/qmask-commands.c
	* app/gui/select-commands.c
	* app/gui/vectors-commands.c
	* app/paint/gimpairbrush.c
	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimpdrawablelistview.c
	* app/widgets/gimpimageview.c
	* app/widgets/gimpitemlistitem.c
	* app/widgets/gimpitemlistview.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplayerlistview.c
	* app/widgets/gimpvectorslistview.c: replaced gdisplays_flush()
	with calls to gimp_image_flush(gimage). Removed inclusion of
	"display/gimpdisplay-foreach.h" from most files.
2002-05-08 17:48:24 +00:00
..
.cvsignore define GIMP_MKENUMS for use in Makefile.am. 2002-03-17 14:07:54 +00:00
base-config.c moved use_shm declaration here, added use_mmx. 2002-03-22 13:37:26 +00:00
base-config.h moved use_shm declaration here, added use_mmx. 2002-03-22 13:37:26 +00:00
base-enums.c app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
base-enums.h new function to set the sensitivity of an option_menu. 2002-03-17 16:35:05 +00:00
base-types.h moved use_shm declaration here, added use_mmx. 2002-03-22 13:37:26 +00:00
base.c moved use_shm declaration here, added use_mmx. 2002-03-22 13:37:26 +00:00
base.h app/base/Makefile.am new files for base_init() and base_exit() which 2001-05-20 18:37:07 +00:00
boundary.c some more g_malloc -> g_new and g_realloc -> g_renew changes, for better 2001-12-18 18:52:53 +00:00
boundary.h Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
brush-scale.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
brush-scale.h new directory app/base/ 2001-05-15 11:25:25 +00:00
color-balance.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
color-balance.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
cpercep.c add a -DGIMP_COMPILATION so cpercep can optionally include glib.h. This 2002-02-17 18:28:47 +00:00
cpercep.h minor function renaming. 2002-02-10 19:01:44 +00:00
curves.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
curves.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
detect-mmx.h app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
detect-mmx.S app/Makefile.am removed. 2001-07-11 23:47:26 +00:00
gimphistogram.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
gimphistogram.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
gimplut.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
gimplut.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
hue-saturation.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
hue-saturation.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
lut-funcs.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
lut-funcs.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
Makefile.am app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +00:00
makefile.msc #define GETTEXT_PACKAGE 2002-03-28 00:10:56 +00:00
pixel-processor.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
pixel-processor.h new directory app/base/ 2001-05-15 11:25:25 +00:00
pixel-region.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
pixel-region.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
pixel-surround.c some more g_malloc -> g_new and g_realloc -> g_renew changes, for better 2001-12-18 18:52:53 +00:00
pixel-surround.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
temp-buf.c fixed temp_buf_copy() and temp_buf_to_[color|gray]() to (1) not crash and 2002-04-16 20:25:27 +00:00
temp-buf.h pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
threshold.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
threshold.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
tile-cache.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile-cache.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
tile-manager-crop.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile-manager-crop.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
tile-manager-private.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
tile-manager.c pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
tile-manager.h pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
tile-private.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
tile-swap.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile-swap.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00