gimp/app/display
Michael Natterer 05e15eb1cc Cleanup weekend...
2001-10-29  Michael Natterer  <mitch@gimp.org>

	Cleanup weekend...

	* app/app_procs.c: pass "no_interface" to gimp_new().

	* app/core/gimp.[ch]: added "gboolean no_interface" and the
	load_procs and save_procs GSLists.

	* app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
	GimpToolInfo object so more functions find their context without
	accessing the global "the_gimp" variable.

	* app/display/display-types.h: removed the GDisplay -> GimpDisplay
	typedef.

	* app/display/gimpdisplay.c: look at gimp->no_interface, don't
	include "appenv.h".

	* app/file/file-open.[ch]
	* app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
	pass around lots of "Gimp" pointers. Removed the global load_procs
	and save_procs variables here. Use access() to find out whether a
	file is readable/writable, removed the manual voodoo and it's
	Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
	parameter to file_save(), removed file_save_with_proc().

	* app/gui/menus.c: Use the unused "gpointer data" parameter of the
	GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
	This reduces the usage of the global "the_gimp" hack to zero
	in app/gui/... yeah.

	* app/gui/channels-commands.c
	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/image-commands.c
	* app/gui/layers-commands.c
	* app/gui/palettes-commands.c
	* app/gui/select-commands.c
	* app/gui/test-commands.c
	* app/gui/tools-commands.c
	* app/gui/view-commands.c: use the passed "Gimp" pointer.

	* app/gui/color-area.[ch]
	* app/gui/convert-dialog.c
	* app/gui/dialogs-constructors.c
	* app/gui/file-new-dialog.[ch]
	* app/gui/file-open-dialog.[ch]
	* app/gui/file-save-dialog.[ch]
	* app/gui/gui.c
	* app/gui/info-window.[ch]
	* app/gui/module-browser.[ch]
	* app/gui/palette-editor.c
	* app/gui/palette-import-dialog.[ch]
	* app/gui/paths-dialog.c
	* app/gui/preferences-dialog.[ch]
	* app/gui/resize-dialog.[ch]
	* app/gui/tool-options-dialog.[ch]
	* app/gui/toolbox.c: pass around lots more "Gimp" and
	"GimpContext" pointers and don't use "the_gimp" any more.

	* app/tools/gimptool.h: added a pointer to the corresponding
	GimpToolInfo object (which in turn has a pointer to a Gimp).

	* app/tools/tool_manager.[ch]: set the pointer after creating the
	tool object. Removed tool_manager_get_info_by_tool() as there is a
	tool->tool_info pointer now.

	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimpdrawtool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpinktool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimppathtool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/path_tool.c
	* app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
	Use tool->tool_info and tool_info->gimp in some places to get
	rid of using "the_gimp".

	Removing the remaining ones involves changing the tool options
	system and is scheduled next...

	* app/widgets/gimpdnd.c
	* app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
	file_open_*() functions.

	* app/gdisplay_color.[ch]
	* app/gdisplay_color_ui.[ch]
	* app/image_map.[ch]
	* app/nav_window.[ch]
	* app/path.c
	* app/path_bezier.c
	* app/path_transform.h
	* app/qmask.[ch]: s/GDisplay/GimpDisplay/g

	* tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
	members of the "Gimp" object now.

	* tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
	include "appenv.h".

	* app/pdb/fileops_cmds.c
	* app/pdb/plug_in_cmds.c: regenerated.
2001-10-29 11:47:11 +00:00
..
.cvsignore added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
Makefile.am gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
display-types.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplay-callbacks.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplay-callbacks.h renamed it to GimpDisplay and made it a GimpObject subclass. 2001-09-25 17:44:03 +00:00
gimpdisplay-foreach.c generate app/file/Makefile 2001-10-25 13:30:01 +00:00
gimpdisplay-foreach.h generate app/file/Makefile 2001-10-25 13:30:01 +00:00
gimpdisplay-marching-ants.h Initial revision 1997-11-24 22:05:25 +00:00
gimpdisplay-ops.c app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] 2001-09-25 23:23:09 +00:00
gimpdisplay-ops.h app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] 2001-09-25 23:23:09 +00:00
gimpdisplay-render.c General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimpdisplay-render.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplay-scale.c gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpdisplay-scale.h gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpdisplay-scroll.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplay-scroll.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplay-selection.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplay-selection.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplay.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplay.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell-callbacks.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell-callbacks.h renamed it to GimpDisplay and made it a GimpObject subclass. 2001-09-25 17:44:03 +00:00
gimpdisplayshell-draw.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell-draw.h gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpdisplayshell-filter-dialog.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-filter-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-filter.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-filter.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-layer-select.c gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpdisplayshell-layer-select.h app/apptypes.h app/channel_ops.c app/commands.c app/convert.[ch] 2001-03-08 02:01:52 +00:00
gimpdisplayshell-marching-ants.h Initial revision 1997-11-24 22:05:25 +00:00
gimpdisplayshell-qmask.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-qmask.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-render.c General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimpdisplayshell-render.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell-scale.c gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpdisplayshell-scale.h gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpdisplayshell-scroll.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell-scroll.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell-selection.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell-selection.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdisplayshell.h gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpnavigationeditor.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpnavigationview.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpprogress.c app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpprogress.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gximage.c General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gximage.h Fixed up loose ends with the GdkRgb integration. Color selection areas are 1998-08-31 22:22:23 +00:00
makefile.msc define HAVE_DIRENT_H, it's from build/win32/dirent 2001-10-28 18:45:45 +00:00