gimp/app/gui
Michael Natterer 2db2ef6185 removed gimp_main_loop() and gimp_main_loop_quit() because they were a
2003-02-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.[ch]: removed gimp_main_loop() and
	gimp_main_loop_quit() because they were a temp_hack until plug-ins
	have their own main loops. Added gimp_threads_enter() and
	gimp_threads_leave() instead.

	* app/gui/gui.c: ditto: removed the main loop stuff and added
	functions which call GDK_THREADS_ENTER() and GDK_THREADS_LEAVE()
	instead.

	* app/app_procs.c: create the main GMainLoop here and use
	gimp_threads_enter,leave().

	* app/plug-in/plug-in.[ch]: added a ref_count per plug-in so the
	plug-in is not destroyed under our feet while running a recursive
	main loop. Added plug_in_ref(). Changed plug_in_destroy() to
	plug_in_unref(). Don't destroy the plug-in if plug_in_open()
	fails. Call gimp_threads_enter,leave() around g_main_loop_run().
	Changed the way plug_in_push,pop() are used: "current_plug_in" is
	no longer the plug-in which currently uses the wire, but the
	plug-in which currently preforms a PDB call (the former meaning
	was needed when wire callbacks had no plug-in context but needed
	to get the plug-in from the global "current_plug_in" variable).
	Removed all calls to plug_in_push,pop() from this file.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): added
	plug_in_push,pop() around procedural_db_execute(). No need
	to construct an error return value if the procedure was not found
	because procedural_db_execute() already does this.

	Removed all other plug_in_push,pop(). Added more checks to plug-in
	message handlers and kill the plug-in if it misbehaves. Cleanup.

	* app/plug-in/plug-in-progress.c (plug_in_progress_cancel): if the
	plug-in runs synchronously, provide a GIMP_PDB_CANCEL return value
	so we don't see error messages about the "failed" procedure.

	* app/plug-in/plug-in-run.c: removed plug_in_push,pop() stuff.
	Set the new plug_in->starting_ext boolean while starting an
	extension so the extension_ack handler knows that it wasn't called
	from a buggy plug-in. Cleanup.

	* app/plug-in/plug-ins.c: Cleanup.
2003-02-03 13:21:31 +00:00
..
.cvsignore
Makefile.am app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
about-dialog.c app/core/gimpbrushpipe.c plugged some obvious memleaks related to the use 2003-01-26 14:27:53 +00:00
about-dialog.h
authors.h fixed stupid bug that caused this plug-in to map to undefined values. 2002-11-05 23:01:04 +00:00
brush-select.c renamed plug_in_progress_init() to plug_in_progress_start() so it matches 2003-01-20 12:17:32 +00:00
brush-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
brushes-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
brushes-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
buffers-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
buffers-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
buffers-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
buffers-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
channels-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
channels-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
channels-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
channels-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
color-history.c app/gui/Makefile.am new files implementing the color history which used to 2002-10-24 23:10:50 +00:00
color-history.h app/gui/Makefile.am new files implementing the color history which used to 2002-10-24 23:10:50 +00:00
color-notebook.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
color-notebook.h the color scales from the main color selection as GimpColorSelector 2002-10-28 20:13:17 +00:00
colormap-editor-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
colormap-editor-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
colormap-editor-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
colormap-editor-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
convert-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
convert-dialog.h
data-commands.c app/widgets/gimpcolormapeditor.c app/widgets/gimpcontainereditor.[ch] pass 2003-01-10 19:30:32 +00:00
data-commands.h
debug-commands.c Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
debug-commands.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
device-status-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
device-status-dialog.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
dialogs-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
dialogs-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
dialogs-constructors.c added gimp_item_configure() and gimp_item_copy(). 2003-01-31 18:08:32 +00:00
dialogs-constructors.h added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +00:00
dialogs-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
dialogs-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
dialogs.c Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
dialogs.h g_strdup() the stock_id passed to gimp_tool_info_new() because the 2002-03-14 17:07:02 +00:00
documents-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
documents-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
documents-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
documents-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
drawable-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
drawable-commands.h make absolute paths out of relative ones passed on the commandline so the 2002-02-26 16:30:14 +00:00
edit-commands.c Replaced Garry's fix for bug #98843 by a more general solution which stops 2003-01-02 13:38:09 +00:00
edit-commands.h
error-console-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
error-console-dialog.h app/main.c moved "message_handler" from here... 2001-12-01 21:02:34 +00:00
file-commands.c Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
file-commands.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
file-dialog-utils.c removed. 2003-01-31 11:54:16 +00:00
file-dialog-utils.h removed. 2003-01-31 11:54:16 +00:00
file-new-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
file-new-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
file-open-dialog.c app/core/gimpdocumentlist.[ch] added "Gimp" pointers so we don't need to 2003-01-24 17:38:24 +00:00
file-open-dialog.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
file-open-menu.c One more Plug-In cleanup, it's still a mess... 2003-01-17 18:07:37 +00:00
file-open-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
file-save-dialog.c removed. 2003-01-31 11:54:16 +00:00
file-save-dialog.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
file-save-menu.c removed. 2003-01-31 11:54:16 +00:00
file-save-menu.h removed. 2003-01-31 11:54:16 +00:00
gradient-editor-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradient-editor-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradient-editor-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradient-editor-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradient-select.c renamed plug_in_progress_init() to plug_in_progress_start() so it matches 2003-01-20 12:17:32 +00:00
gradient-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
gradients-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradients-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradients-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradients-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gui-types.h app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
gui.c removed gimp_main_loop() and gimp_main_loop_quit() because they were a 2003-02-03 13:21:31 +00:00
gui.h make gui_libs_init() use gtk_init_check() and return a gboolean on success 2003-01-08 23:43:31 +00:00
help-commands.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
help-commands.h app/gui/Makefile.am removed... 2002-03-20 20:08:19 +00:00
image-commands.c Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
image-commands.h renamed shell->cd_list to shell->filters and shell->cd_ui to 2002-03-15 15:09:58 +00:00
image-menu.c One more Plug-In cleanup, it's still a mess... 2003-01-17 18:07:37 +00:00
image-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
images-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
images-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
images-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
images-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
info-dialog.c made labels in the info dialog selectable as suggested in #103991. 2003-01-20 20:07:19 +00:00
info-dialog.h app/gui/file-new-dialog.c app/gui/offset-dialog.c 2002-09-07 16:47:39 +00:00
info-window.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
info-window.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
layers-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
layers-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
layers-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
layers-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
makefile.msc when checking for 'excecutable' make sure it is a regular file too (on 2003-01-01 13:33:27 +00:00
menus.c removed. 2003-01-31 11:54:16 +00:00
menus.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
module-browser.c pack the button box non-expanding, removed cruft from the ModuleBrowser 2003-01-29 11:08:51 +00:00
module-browser.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
offset-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
offset-dialog.h use the passed Gimp pointer instead of using "the_gimp". 2001-12-03 17:59:48 +00:00
palette-editor-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palette-editor-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palette-editor-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palette-editor-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palette-import-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
palette-import-dialog.h added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. 2001-12-17 23:41:01 +00:00
palette-select.c renamed plug_in_progress_init() to plug_in_progress_start() so it matches 2003-01-20 12:17:32 +00:00
palette-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
palettes-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palettes-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palettes-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palettes-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
paths-dialog.c renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of 2003-01-30 11:20:12 +00:00
paths-dialog.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
pattern-select.c renamed plug_in_progress_init() to plug_in_progress_start() so it matches 2003-01-20 12:17:32 +00:00
pattern-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
patterns-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
patterns-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
plug-in-commands.c renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of 2003-01-30 11:20:12 +00:00
plug-in-commands.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
plug-in-menus.c renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of 2003-01-30 11:20:12 +00:00
plug-in-menus.h One more Plug-In cleanup, it's still a mess... 2003-01-17 18:07:37 +00:00
preferences-dialog.c removed unused function gimp_prop_enum_option_menu_new_with_values() which 2003-01-29 15:55:13 +00:00
preferences-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
qmask-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
qmask-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
qmask-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
qmask-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
resize-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
resize-dialog.h app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
resolution-calibrate-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
resolution-calibrate-dialog.h take an optional pixbuf as eye-candy. 2002-02-28 15:11:56 +00:00
select-commands.c The unbelievable happened: a menu bar per display (optionally) 2002-12-10 16:38:16 +00:00
select-commands.h app/gui/menus.c added a menu entry that toggles the QuickMask state and 2002-08-27 13:29:47 +00:00
session.c Finally landed the new GimpConfig based gimprc parser. It's not finished 2002-11-18 20:50:31 +00:00
session.h
splash.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
splash.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
test-commands.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
test-commands.h override GObjectClass->constructor() and do the setup stuff there, not in 2002-05-28 16:41:56 +00:00
tips-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
tips-dialog.h Finally landed the new GimpConfig based gimprc parser. It's not finished 2002-11-18 20:50:31 +00:00
tips-parser.c app/gui/tips-dialog.c added support for simple text markup. 2002-02-26 16:55:09 +00:00
tips-parser.h updated 2002-02-25 18:36:03 +00:00
tool-options-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
tool-options-dialog.h app/gui/dialogs-constructors.[ch] app/gui/dialogs.c made the tool options 2002-03-10 15:05:58 +00:00
toolbox-menu.c One more Plug-In cleanup, it's still a mess... 2003-01-17 18:07:37 +00:00
toolbox-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
tools-commands.c The unbelievable happened: a menu bar per display (optionally) 2002-12-10 16:38:16 +00:00
tools-commands.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
user-install-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
user-install-dialog.h added "gboolean verbose" to GimpRc and its constructor. Print messages 2002-11-26 14:54:28 +00:00
vectors-commands.c added gimp_item_configure() and gimp_item_copy(). 2003-01-31 18:08:32 +00:00
vectors-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
vectors-menu.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
vectors-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
view-commands.c Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
view-commands.h Changed menubar showing/hiding to work like rulers and statusbar: 2002-12-14 14:13:54 +00:00