gimp/libgimp
Michael Natterer 99e78c7074 General cleanup of the selection tools and their PDB wrappers:
2001-10-22  Michael Natterer  <mitch@gimp.org>

	General cleanup of the selection tools and their PDB wrappers:

	* app/core/Makefile.am
	* app/core/gimpimage-contiguous-region.[ch]
	* app/core/gimpimage-mask-select.[ch]: new files providing a clean,
	uniform API for the selection functionalities. Changed order of
	parameters to be consistent, removed code duplication.

	The region returned by the "by_color" function is not really
	contiguous but the API is so similar to "by_seed" and it's used
	in the same context so it's fair enough to put them together.

	Also, I'm not sure if the two is_pixel_sufficiently_different()
	I've optimized away were meant to do *exactly* the same. Added
	a comment there to remember the former difference.

	* app/core/gimpchannel.[ch] (gimp_channel_feather): removed the
	"output" channel parameter and made it optionally push an undo
	(like the other channel operations do).

	* app/core/gimpimage-mask.c: call gimp_channel_feather() with
	"push_undo == TRUE", removed some useless comments.

	* app/tools/gimpbycolorselecttool.[ch]
	* app/tools/gimpellipseselecttool.[ch]
	* app/tools/gimpfreeselecttool.[ch]
	* app/tools/gimpfuzzyselecttool.[ch]
	* app/tools/gimprectselecttool.[ch]: removed all the actual
	selection functionality and call the new gimp_image_mask_select_*()
	and gimp_image_contiguous_region_*() functions instead.

	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpiscissorstool.c: use new function
	gimp_image_mask_select_channel() instead of doing the same manually.

	* app/tools/gimpbucketfilltool.c: find_contiguous_region() ->
	gimp_image_contiguous_region_by_seed().

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/selection_tools.pdb: added new group "Selection
	Tools" which depends only on "core/" stuff (not on "tools/" any
	more, brrrr).

	* tools/pdbgen/pdb/text_tool.pdb: don't include "appenv.h"

	* tools/pdbgen/pdb/tools.pdb: removed the selection tools.

	* app/pdb/Makefile.am
	* app/pdb/selection_tools_cmds.c: new file.

	* app/pdb/internal_procs.c
	* app/pdb/text_tool_cmds.c
	* app/pdb/tools_cmds.c: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimp_pdb.h
	* libgimp/gimpselectiontools_pdb.[ch]: new files.

	* libgimp/gimptools_pdb.[ch]: regenerated

	Misc cleanups:

	* app/app_procs.c: call splash_create() with "no_splash_image"
	as parameter.

	* app/display/gimpdisplay-render.c
	* app/display/gximage.c: don't include "appenv.h".

	* app/gui/gui.c: call session_restore() only if "restore_session"
	is TRUE.

	* app/gui/session.c: don't "if(restore_session)" here and don't
	include "appenv.h"

	* app/gui/splash.[ch]: added "gboolean show_image" parameter to
	splash_create(), don't include "appenv.h"

	* app/tools/gimppainttool.[ch]: added a "GimpGradient" parameter
	to gimp_paint_tool_get_color_from_gradient().

	* app/tools/gimppaintbrushtool.c: pass the gradient.

	* app/tools/gimpselectiontool.c
	* app/tools/gimptransformtool.c
	* app/tools/tool_manager.c: s/GDisplay/GimpDisplay/.

	* app/widgets/gimpcontainergridview.[ch]: removed the "white_style"
	class variable and don't fiddle around with colors and styles...

	* themes/Default/gtkrc: ...do the same here with a simple rc style.
2001-10-22 12:13:44 +00:00
..
.cvsignore libgimp/.cvsignore libgimp/Makefile.am libgimp/gimp.h removed 2001-05-22 00:36:38 +00:00
COPYING Hmm... this actually wasn't the file as advertised by the ChangeLog.... 2000-01-02 23:11:47 +00:00
Makefile.am General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimp.c require GTK+-1.3.8 and PangoFT2-0.19. 2001-09-19 14:42:35 +00:00
gimp.def need to link with pangof2 2001-09-22 19:47:27 +00:00
gimp.h require GTK+-1.3.8 and PangoFT2-0.19. 2001-09-19 14:42:35 +00:00
gimp_pdb.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimpbrushes_pdb.c guard inclusion of <process.h> by G_OS_WIN32 add include <string.h> if the 2001-03-18 12:51:37 +00:00
gimpbrushes_pdb.h tools/pdbgen/lib.pl libgimp pdbgen munging 2000-08-21 18:59:12 +00:00
gimpbrushmenu.c libgimp/gimpbrushmenu.c libgimp/gimpexport.c libgimp/gimpgradientmenu.c 2001-07-31 12:10:14 +00:00
gimpbrushselect_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpbrushselect_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpchannel.c tools/pdbgen/lib.pl tools/pdbgen/pdb.pl tools/pdbgen/pdb/channel.pdb 2001-01-25 01:20:05 +00:00
gimpchannel.h tools/pdbgen/lib.pl tools/pdbgen/pdb.pl tools/pdbgen/pdb/channel.pdb 2001-01-25 01:20:05 +00:00
gimpchannel_pdb.c AUTHORS app/authors.h app/pdb/channel_cmds.c app/pdb/internal_procs.c 2001-01-29 00:02:33 +00:00
gimpchannel_pdb.h AUTHORS app/authors.h app/pdb/channel_cmds.c app/pdb/internal_procs.c 2001-01-29 00:02:33 +00:00
gimpcolor_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpcolor_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpcolordisplay.h app/app_procs.c app/datafiles.c app/devices.c app/docindex.c 2001-05-21 20:30:16 +00:00
gimpcolorselector.h fixed a FIXME: set the sensitivity of the color tools' menu entries again. 2001-06-14 20:07:38 +00:00
gimpconvert_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpconvert_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpdisplay_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpdisplay_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpdrawable.c fixed a FIXME: set the sensitivity of the color tools' menu entries again. 2001-06-14 20:07:38 +00:00
gimpdrawable.h fixed a FIXME: set the sensitivity of the color tools' menu entries again. 2001-06-14 20:07:38 +00:00
gimpdrawable_pdb.c renamed ChannelOffsetType to GimpOffsetType. 2001-04-18 20:41:15 +00:00
gimpdrawable_pdb.h renamed ChannelOffsetType to GimpOffsetType. 2001-04-18 20:41:15 +00:00
gimpedit_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpedit_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpenums.h defined GimpTransferMode enum. 2001-08-01 02:01:49 +00:00
gimpexport.c EEK, broken pipe on last try. 2001-08-03 19:52:08 +00:00
gimpexport.h app/fileops.c Make sure that we don't try to destroy query_boxes twice or 2000-11-18 00:25:42 +00:00
gimpfileops_pdb.c tools/pdbgen/pdb/fileops.pdb added a few more PDB wrappers 2000-08-25 15:38:38 +00:00
gimpfileops_pdb.h tools/pdbgen/pdb/fileops.pdb added a few more PDB wrappers 2000-08-25 15:38:38 +00:00
gimpfloatingsel_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpfloatingsel_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpgimprc_pdb.c fixed a typo spotted by Ed Halley <ed@halley.cc>. 2001-09-17 18:11:15 +00:00
gimpgimprc_pdb.h fixed a typo spotted by Ed Halley <ed@halley.cc>. 2001-09-17 18:11:15 +00:00
gimpgradientmenu.c libgimp/gimpbrushmenu.c libgimp/gimpexport.c libgimp/gimpgradientmenu.c 2001-07-31 12:10:14 +00:00
gimpgradients_pdb.c guard inclusion of <process.h> by G_OS_WIN32 add include <string.h> if the 2001-03-18 12:51:37 +00:00
gimpgradients_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpgradientselect.c Sven Neumann <sven@gimp.org> 2000-06-01 12:20:13 +00:00
gimpgradientselect.h Sven Neumann <sven@gimp.org> 2000-06-01 12:20:13 +00:00
gimpgradientselect_pdb.c guard inclusion of <process.h> by G_OS_WIN32 add include <string.h> if the 2001-03-18 12:51:37 +00:00
gimpgradientselect_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpguides_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpguides_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimphelp.c Sven Neumann <sven@gimp.org> 2000-05-31 06:15:06 +00:00
gimphelp_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimphelp_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpimage.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpimage.h Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpimage_pdb.c app/core/Makefile.am new files for gimp_image_crop() and 2001-07-07 14:53:42 +00:00
gimpimage_pdb.h app/core/Makefile.am new files for gimp_image_crop() and 2001-07-07 14:53:42 +00:00
gimpintl.h check for bind_textdomain_codeset, use standard HAVE_FOO semantic for 2001-08-30 00:21:38 +00:00
gimplayer.c libgimp/gimpchannel.c libgimp/gimpimage.c libgimp/gimplayer.c 2000-08-25 00:37:35 +00:00
gimplayer.h gimp.h gimpchannel.h gimpcompat.h gimpdrawable.h gimpimage.h moved 2000-06-09 01:56:34 +00:00
gimplayer_pdb.c app/Makefile.am put the regex and MMX sources to EXTRA_DIST so they get 2001-05-20 14:15:09 +00:00
gimplayer_pdb.h app/Makefile.am put the regex and MMX sources to EXTRA_DIST so they get 2001-05-20 14:15:09 +00:00
gimpmenu.c added -DG_DISABLE_DEPRECATED and -DGDK_DISABLE_COMPAT_H. 2001-08-29 17:48:28 +00:00
gimpmenu.h fixed a FIXME: set the sensitivity of the color tools' menu entries again. 2001-06-14 20:07:38 +00:00
gimpmessage_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpmessage_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpmisc_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpmisc_pdb.h libgimp/gimp_pdb.h libgimp/gimpmisc_pdb.[ch] added missing autogenerated 2000-06-08 18:10:03 +00:00
gimpmodule.h app/gimpunit.c all libgimp headers are included via gimp.h or gimpui.h, so 2000-05-30 23:38:46 +00:00
gimppalette_pdb.c tools/pdbgen/lib.pl tools/pdbgen/pdb.pl tools/pdbgen/pdb/channel.pdb 2001-01-25 01:20:05 +00:00
gimppalette_pdb.h tools/pdbgen/lib.pl tools/pdbgen/pdb.pl tools/pdbgen/pdb/channel.pdb 2001-01-25 01:20:05 +00:00
gimpparasite_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpparasite_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimppaths_pdb.c guard inclusion of <process.h> by G_OS_WIN32 add include <string.h> if the 2001-03-18 12:51:37 +00:00
gimppaths_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimppatternmenu.c libgimp/gimpbrushmenu.c libgimp/gimpexport.c libgimp/gimpgradientmenu.c 2001-07-31 12:10:14 +00:00
gimppatterns_pdb.c guard inclusion of <process.h> by G_OS_WIN32 add include <string.h> if the 2001-03-18 12:51:37 +00:00
gimppatterns_pdb.h tools/pdbgen/lib.pl libgimp pdbgen munging 2000-08-21 18:59:12 +00:00
gimppatternselect_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimppatternselect_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimppixelrgn.c Sven Neumann <sven@gimp.org> 2000-05-31 06:15:06 +00:00
gimppixelrgn.h Sven Neumann <sven@gimp.org> 2000-05-31 06:15:06 +00:00
gimpplugin_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpplugin_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpprocbrowserdialog.c EEK, broken pipe on last try. 2001-08-03 19:52:08 +00:00
gimpproceduraldb.c almost completely autogenerated all new makefiles (it simply was too much 2001-05-25 22:04:21 +00:00
gimpproceduraldb.h gtkdoc is even more picky than an IRIX compiler... 2000-08-25 00:47:03 +00:00
gimpproceduraldb_pdb.c guard inclusion of <process.h> by G_OS_WIN32 add include <string.h> if the 2001-03-18 12:51:37 +00:00
gimpproceduraldb_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpprocview.c EEK, broken pipe on last try. 2001-08-03 19:52:08 +00:00
gimpselection.c libgimp/gimpchannel.c libgimp/gimpimage.c libgimp/gimplayer.c 2000-08-25 00:37:35 +00:00
gimpselection.h Sven Neumann <sven@gimp.org> 2000-06-01 12:20:13 +00:00
gimpselection_pdb.c AUTHORS app/authors.h app/pdb/channel_cmds.c app/pdb/internal_procs.c 2001-01-29 00:02:33 +00:00
gimpselection_pdb.h AUTHORS app/authors.h app/pdb/channel_cmds.c app/pdb/internal_procs.c 2001-01-29 00:02:33 +00:00
gimpselectiontools_pdb.c General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimpselectiontools_pdb.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimptexttool_pdb.c return the created layer. 2001-08-11 21:35:23 +00:00
gimptexttool_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimptile.c fixed a FIXME: set the sensitivity of the color tools' menu entries again. 2001-06-14 20:07:38 +00:00
gimptile.h Sven Neumann <sven@gimp.org> 2000-05-31 06:15:06 +00:00
gimptools_pdb.c General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimptools_pdb.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimptypes.h Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpui.c require GTK+-1.3.8 and PangoFT2-0.19. 2001-09-19 14:42:35 +00:00
gimpui.def changes to allow to build on win32 with msvc again 2001-02-07 01:16:18 +00:00
gimpui.h Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
gimpuitypes.h Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
gimpundo_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpundo_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpunit.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpunit_pdb.c libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers. 2000-08-24 23:06:53 +00:00
gimpunit_pdb.h $srcdir != $builddir fix for GIMP_CONTRIBUTORS 2000-08-23 01:44:59 +00:00
gimpunitcache.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gserialize.c *** empty log message *** 1999-11-17 21:13:50 +00:00
gserialize.h added spec file to EXTRA_DIST 1999-12-26 07:54:39 +00:00
libgimp-intl.h check for bind_textdomain_codeset, use standard HAVE_FOO semantic for 2001-08-30 00:21:38 +00:00
makefile.mingw.in Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
makefile.msc updated for GTK2 build 2001-07-28 19:40:07 +00:00
stdplugins-intl.h HACKING Makefile.am acconfig.h autogen.sh use AM_GLIB_GNU_GETTEXT. Since 2001-09-27 15:33:53 +00:00