gimp/app
Michael Natterer c42641fe89 Fixed & cleaned up paint function registration to work without GUI.
2003-08-30  Michael Natterer  <mitch@gimp.org>

	Fixed & cleaned up paint function registration to work without
	GUI. Finishes core/GUI separation for the paint tools:

	* app/core/gimppaintinfo.[ch]: removed "gchar *pdb_string" all over
	the place since we don't stroke using the PDB any more.
	(gimp_paint_info_new): create paint_info->paint_options here so
	the paint system is fully initialized when there is no GUI.

	* app/paint/paint.c: removed pdb_string stuff here, too.

	* app/core/gimptoolinfo.[ch]: create tool_info->tool_options
	only if tool_info->tool_options_type is not the same type
	as paint_info->paint_options_type (if we are no paint tool).

	* app/core/gimptooloptions.c: removed G_PARAM_CONSTRUCT_ONLY from
	the "tool-info" property. Instead, changed
	gimp_tool_options_set_property to ensure that it is only set once.

	* app/core/gimp.c (gimp_initialize): moved paint_init() after
	data_factory creation (was in gimp_init()), since GimpPaintInfo
	now creates the GimpPaintOptions, which are GimpContexts, which
	need gimp->*_factory to be constructed.

	* app/tools/tool_manager.c: don't create tool_info->tool_options
	here (it's not the job of the tool_manager to set up the core
	paint system correctly, it must be already initialized before any
	tool_manager function is called).

	Made "Stroke Selection" and "Stroke Path" work the same way:

	* app/paint/gimppaintcore-stroke.[ch]: added new function
	gimp_paint_core_stroke_boundary() which strokes without using
	the PDB.

	* app/core/gimpimage-mask.c (gimp_image_mask_stroke): use it
	instead of using the PDB. Enables all available paint options for
	stroke operations. Fixes bug #119411.

	* app/gui/vectors-commands.c (vectors_stroke_vectors)
	* app/core/gimpimage-mask.c (gimp_image_mask_stroke): removed all
	code which tries to figure how to stroke and simply look at the
	active tool's tool_info->paint_info, since it is always set up
	correctly now.
2003-08-30 13:22:20 +00:00
..
actions Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
base Fixed some issues with the PDB thumbnail functions spotted by Wolfgang 2003-08-25 11:35:16 +00:00
composite added missing g_rand_free(). 2003-08-27 00:02:04 +00:00
config app/config/gimpdisplayconfig.[ch] added "gboolean show_brush_outline". 2003-08-19 17:20:05 +00:00
core Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
dialogs app/core/gimpbrush.c app/core/gimpbrushgenerated.c 2003-08-28 23:33:15 +00:00
display app/core/gimpbrush.c app/core/gimpbrushgenerated.c 2003-08-28 23:33:15 +00:00
file renamed GimpOrientationType with Compat postfix to avoid name clashing 2003-07-26 17:37:32 +00:00
gui Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
menus Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
paint Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
paint-funcs removed some debugging output that I accidentally committed a while ago. 2003-08-24 10:57:44 +00:00
pdb rewrote a large part of the screenshot plug-in. The plug-in now no longer 2003-08-28 20:23:09 +00:00
plug-in Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
text interpolate the position of the cubic control points correctly and set the 2003-08-29 00:48:44 +00:00
tools Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
vectors Do not modify the selection state of the anchors. When extending 2003-08-29 15:17:06 +00:00
widgets Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
xcf don't ignore the delete event on the splash screen, but quit gimp 2003-07-08 10:38:13 +00:00
.cvsignore Makefile.am configure.in gimp-1.3.pc.in added pkg-config files for 2001-11-25 00:19:38 +00:00
Makefile.am check for freetype-config and set FREETYPE_LIBS. 2003-07-22 13:44:07 +00:00
airbrush.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
app_procs.c app/app_procs.c app/batch.c moved global variables out of main.c. 2003-08-09 11:51:42 +00:00
app_procs.h removed the calls to g_log_set_handler(). 2003-05-29 11:34:30 +00:00
appenv.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
batch.c app/app_procs.c app/batch.c moved global variables out of main.c. 2003-08-09 11:51:42 +00:00
batch.h added G_SPAWN_CHILD_INHERITS_STDIN to the flags passed to g_spawn_async(). 2003-03-21 16:50:55 +00:00
errors.c Cleaned up and improved the message system: 2003-06-13 14:37:00 +00:00
errors.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
gimp-intl.h Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp.rc Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00
libgimp_glue.c changed again to take no paramaters and use _gimp_standard_help_func from 2003-05-25 14:23:43 +00:00
libgimp_glue.h changed again to take no paramaters and use _gimp_standard_help_func from 2003-05-25 14:23:43 +00:00
main.c app/app_procs.c app/batch.c moved global variables out of main.c. 2003-08-09 11:51:42 +00:00
makefile.mingw.in Mark as out-of-date. 2002-12-26 01:19:09 +00:00
makefile.msc renamed GimpOrientationType with Compat postfix to avoid name clashing 2003-07-26 17:37:32 +00:00
paint_core.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
paint_options.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
plug_in_cmds.c Garry R. Osgood <grosgood@rcn.com> 2001-03-11 13:15:41 +00:00
transform_core.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
wilber.ico Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00