gimp/app
Michael Natterer a3f44d8b0f Separated tool_options creation from tool registration so we don't
2002-06-17  Michael Natterer  <mitch@gimp.org>

	Separated tool_options creation from tool registration so we
	don't implicitly create widgets before gui_init():

	* libgimptool/gimptooltypes.h: removed GimpToolOptionsNewFunc
	typedef here...

	* app/core/core-types.h: ...and added it here.

	* libgimpproxy/gimpproxytypes.h: regenerated.

	* app/core/gimptoolinfo.[ch]: added a GimpToolOptionsNewFunc
	pointer to remember the constructor. Fixed the finalize() method
	(bug was never noticed because we leaked all tool infos)

	* app/tools/tool_manager.[ch]: moved tool_options creation to the
	new function tool_manager_restore(). Unref the tool infos after
	adding them to their container. Added "brush" and "gradient" to
	the context properties which are defined for tool contexts.

	* app/app_procs.c: call tool_manager_restore() after gui_init().

	* app/gui/gui.c: removed the hack introduced recently and call
	render_setup() in gui_init() again, not in gui_themes_init().

	Use the correct contexts now that they are properly initialized
	at the time of tool_options creation:

	* app/tools/gimpblendtool.c: use tool_info->context, not
	gimp_get_user_context() to get/set the tool's gradient.

	* app/paint/gimppaintcore.[ch] (gimp_paint_core_start): added a
	GimpPaintOptions paramater and get the brush to use from
	paint_options->context (instead of gimp_get_current_context()).

	* app/paint/gimppaintcore-stroke.c
	* app/tools/gimppainttool.c: changed accordingly.

	* app/tools/paint_options.c: added a brush preview to the paint
	options.
2002-06-17 10:34:28 +00:00
..
actions added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
arch/i386/mmx Fixed .type directives (would not compile on certain systems). 2002-05-07 07:59:21 +00:00
base Fix for #85201: 2002-06-16 17:13:39 +00:00
config app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c 2002-06-09 12:53:42 +00:00
core Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
dialogs renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for 2002-05-29 09:20:56 +00:00
display app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +00:00
file app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +00:00
gui Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
menus register the new "invert" and "layer to imagesize" PNGs as stock icons. 2002-06-16 15:22:21 +00:00
paint Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
paint-funcs app/base/Makefile.am fixed my fix for automake-1.6 (#84514). 2002-06-11 06:47:38 +00:00
pdb app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +00:00
plug-in configure.in allocate shared memory segments with permissions 0600 instead 2002-06-13 12:02:06 +00:00
tools Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
vectors app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +00:00
widgets center the preview's allocation. 2002-06-12 15:39:03 +00:00
xcf app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +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 app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +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 Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
app_procs.h generate app/file/Makefile 2001-10-25 13:30:01 +00:00
appenv.h moved use_shm declaration here, added use_mmx. 2002-03-22 13:37:26 +00:00
batch.c app/batch.c app/general.c app/core/gimpbrushgenerated.c 2002-02-10 19:51:20 +00:00
batch.h app/Makefile.am removed... 2001-12-01 00:14:14 +00:00
errors.c forgot a "return". 2001-12-01 22:59:48 +00:00
errors.h app_procs.c errors.c errors.h file-save.c gdisplay.c module_db.c use 2001-07-25 01:03:43 +00:00
general.c app/batch.c app/general.c app/core/gimpbrushgenerated.c 2002-02-10 19:51:20 +00:00
general.h removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimp.rc Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00
gimp.sym Update to match Unix version. 2000-05-28 23:46:16 +00:00
gimprc.c parse sessionrc using GScanner. 2002-06-02 19:48:01 +00:00
gimprc.h app/Makefile.am removed. 2002-05-07 16:23:14 +00:00
image_map.c renamed gimp_drawable_apply_image() to gimp_drawable_push_undo() because 2002-06-06 19:44:05 +00:00
image_map.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
libgimp_glue.c app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
libgimp_glue.h removed usage of "the_gimp" by passing around more "Gimp" pointers. 2002-04-12 18:14:13 +00:00
main.c restructured, added lots of comments. Reenabled build of gimp-remote. 2002-05-27 13:59:27 +00:00
makefile.mingw.in disabled display filters code, since it is unfinished 2000-12-24 20:27:04 +00:00
makefile.msc add appconfig.lib. Statically link libgimptool/gimptool.lib. 2002-05-10 23:30:09 +00:00
ops_buttons.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
ops_buttons.h app/docindex.c more GObject porting. 2001-07-29 08:37:43 +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
path.c include the new "paint-funcs/paint-funcs-types.h". 2001-11-28 17:51:06 +00:00
path.h added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
pathP.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
path_bezier.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
path_bezier.h app/Makefile.am app/apptypes.h app/path_bezier.[ch] app/path_curves.[ch] 2001-04-07 14:55:39 +00:00
path_curves.c changed gimp_image_mask_select_channel() to not take "drawable" and 2002-03-03 10:38:37 +00:00
path_curves.h app/path_curves.[ch] app/tools/gimpdrawtool.c app/tools/gimppathtool.[ch] 2001-04-11 13:28:53 +00:00
path_transform.h General undo cleanup: 2002-02-23 17:29:19 +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
undo.c app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c 2002-06-09 12:53:42 +00:00
undo.h renamed undo_push_layer_rename() to undo_push_item_rename(), so 2002-02-26 00:04:55 +00:00
undo_history.c create the "Undo" and "Redo" buttons from stock items. 2002-05-10 12:53:38 +00:00
undo_history.h app/Makefile.am new file. 2001-01-29 02:45:02 +00:00
undo_types.h renamed undo_push_layer_rename() to undo_push_item_rename(), so 2002-02-26 00:04:55 +00:00
wilber.ico Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00