gimp/app/plug-in
Michael Natterer e8b27df097 changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in.[ch]: changed member
	"ProcRec *current_temp_proc" to "GList *temp_proc_recs", a stack
	of temporary procedures, just as the "temp_main_loops" member is
	supposed to be the stack of main loops for waiting for the
	temp_procs' return values.

	* app/plug-in/plug-in-run.c (plug_in_temp_run): changed accordingly.

	* app/plug-in/plug-in-message.c
	* app/plug-in/plug-in-run.c
	* libgimp/gimp.c: added #define ENABLE_TEMP_RETURN 1.

	Enables return values for temporary procedures. On the libgimp
	side, this just enables the code which returns the values, on the
	app side it enables per-plug-in stacks of proc_recs and main_loops
	and a message handler for the GP_TEMP_PROC_RETURN message.
	A temp_proc's caller now blocks until the proc is finished.
	Fixes bug #50649.

	Left the #ifdefs there so it can be easily disabled if things
	break. Please play with Script-Fu and test this.
2004-01-20 00:54:43 +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 [ I've postponed my reservations against pangoft2/fontconfig/freetype2 2003-12-13 01:35:19 +00:00
gimpenvirontable.c include "libgimpbase/gimpbase.h" where needed; removed now unnecessary 2004-01-19 01:54:11 +00:00
gimpenvirontable.h added some rudimentary support to prepend values to existing environment 2002-12-18 02:47:39 +00:00
gimpplugin-message.c changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
gimpplugin-message.h renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of 2003-01-30 11:20:12 +00:00
gimpplugin-progress.c added lots more "GimpFooFunc gui_foo_func" vtable entries to the Gimp 2003-09-10 22:06:45 +00:00
gimpplugin-progress.h renamed plug_in_progress_init() to plug_in_progress_start() so it matches 2003-01-20 12:17:32 +00:00
gimpplugin.c changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
gimpplugin.h changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
gimpplugindebug.c added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
gimpplugindebug.h added hooks for running plug-ins under a memory debugger. Also, removed 2003-02-11 01:21:21 +00:00
gimppluginmanager-call.c changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
gimppluginmanager-call.h added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
gimppluginmanager-run.c changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
gimppluginmanager-run.h added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
gimppluginmanager.c include "libgimpbase/gimpbase.h" where needed; removed now unnecessary 2004-01-19 01:54:11 +00:00
gimppluginmanager.h Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
gimppluginprocedure.c Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
gimppluginprocedure.h Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
gimppluginshm.c app/main.c app/plug-in/plug-in-shm.c POSIX shared memory tile transport 2003-12-27 08:07:15 +00:00
gimppluginshm.h renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of 2003-01-30 11:20:12 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00
plug-in-debug.c added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
plug-in-debug.h added hooks for running plug-ins under a memory debugger. Also, removed 2003-02-11 01:21:21 +00:00
plug-in-def.c added lots more "GimpFooFunc gui_foo_func" vtable entries to the Gimp 2003-09-10 22:06:45 +00:00
plug-in-def.h Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
plug-in-message.c changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
plug-in-message.h renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of 2003-01-30 11:20:12 +00:00
plug-in-params.c Changed the semantics of GIMP_EXTENSION and (to some extent) of 2003-06-19 17:12:00 +00:00
plug-in-params.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
plug-in-proc-def.c Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
plug-in-proc-def.h Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
plug-in-proc.c Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
plug-in-proc.h Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00
plug-in-progress.c added lots more "GimpFooFunc gui_foo_func" vtable entries to the Gimp 2003-09-10 22:06:45 +00:00
plug-in-progress.h renamed plug_in_progress_init() to plug_in_progress_start() so it matches 2003-01-20 12:17:32 +00:00
plug-in-rc.c include "libgimpbase/gimpbase.h" where needed; removed now unnecessary 2004-01-19 01:54:11 +00:00
plug-in-rc.h added GIMP_CONFIG_ERROR_VERSION to GimpConfigError enum. 2003-11-07 23:47:35 +00:00
plug-in-run.c changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
plug-in-run.h added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
plug-in-shm.c app/main.c app/plug-in/plug-in-shm.c POSIX shared memory tile transport 2003-12-27 08:07:15 +00:00
plug-in-shm.h renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of 2003-01-30 11:20:12 +00:00
plug-in-types.h added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +00:00
plug-in.c changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
plug-in.h changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a 2004-01-20 00:54:43 +00:00
plug-ins.c include "libgimpbase/gimpbase.h" where needed; removed now unnecessary 2004-01-19 01:54:11 +00:00
plug-ins.h Completed the new help infrastructure. Needs some polishing but basically 2003-08-28 18:49:11 +00:00