gimp/app/plug-in
Michael Natterer 5f211479ac ref all registered procedures.
2006-04-07  Michael Natterer  <mitch@gimp.org>

	* app/pdb/gimp-pdb.c (gimp_pdb_register)
	(gimp_pdb_unregister): ref all registered procedures.

	* app/xcf/xcf.c
	* tools/pdbgen/app.pl: unref newly created procedures after
	registering them.

	* app/core/gimp.[ch]: renamed member "plug_in_proc_defs" to
	"plug_in_procedures". Renamed "proc_def" variables to "procedure".

	* app/actions/plug-in-actions.c
	* app/menus/plug-in-menus.c: changed accordingly.

	* app/plug-in/plug-ins.[ch]: keep a reference to all procs which
	are in gimp->plug_in_procedures.

	(plug_ins_exit): unref them all and free the list. Apparently we
	were leaking them before on exit.

	* app/plug-in/plug-in-def.[ch]: s/proc_defs/procedures/. Ref
	procedures added with plug_in_def_add_procedure(). Added
	plug_in_def_remove_procedure() which unrefs them again. Removed
	"free_proc_defs" parameter from plug_in_def_free() and always
	unref the procedures.

	* app/plug-in/plug-in.[ch]: added plug_in_add_temp_proc() and
	plug_in_remove_temp() proc. Ref the added procedures.

	* app/plug-in/plug-in-message.c: use the new APIs instead of
	adding/removing procs and temp procs from their lists manually.
	Unref the newly created procedure after adding then to the
	plug_in_def or plug_in.

	* app/plug-in/plug-in-rc.[ch]
	* app/plug-in/plug-ins-query.c
	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly.

	* app/pdb/*_cmds.c: regenerated.
2006-04-07 08:16:26 +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
gimpenvirontable.c app/config/*.c app/core/*.c app/display/*.c app/text/*.c port to 2005-12-10 19:24:36 +00:00
gimpenvirontable.h automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
gimpinterpreterdb.c automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
gimpinterpreterdb.h automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
gimpplugin-context.c removed assertion about proc_rec != NULL because that happens when 2004-09-22 16:22:43 +00:00
gimpplugin-context.h tools/pdbgen/Makefile.am new files that will hold context related PDB 2004-09-22 15:26:58 +00:00
gimpplugin-message.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
gimpplugin-message.h let the private wire methods live in the GIMP namespace. Declare internal 2005-12-13 14:11:56 +00:00
gimpplugin-progress.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
gimpplugin-progress.h app/core/gimp-gui.[ch] app/gui/gui-vtable.c pass displays around as 2006-03-23 21:56:13 +00:00
gimpplugin.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
gimpplugin.h ref all registered procedures. 2006-04-07 08:16:26 +00:00
gimpplugindebug.c automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
gimpplugindebug.h automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
gimppluginmanager-call.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
gimppluginmanager-call.h removed plug_in_repeat()... 2006-04-06 08:19:01 +00:00
gimppluginmanager-data.c app/plug-in/Makefile.am new files which keep the plug-in data list. 2006-02-21 11:05:43 +00:00
gimppluginmanager-data.h app/plug-in/Makefile.am new files which keep the plug-in data list. 2006-02-21 11:05:43 +00:00
gimppluginmanager-query.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
gimppluginmanager-query.h app/plug-in/Makefile.am new files containing plug_ins_query(). 2005-04-05 21:10:55 +00:00
gimppluginmanager-run.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
gimppluginmanager-run.h removed plug_in_repeat()... 2006-04-06 08:19:01 +00:00
gimppluginmanager.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
gimppluginmanager.h ref all registered procedures. 2006-04-07 08:16:26 +00:00
gimppluginprocedure.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
gimppluginprocedure.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
gimppluginprocframe.c added plug_in_proc_frame_get_return_vals(). 2006-04-05 13:23:21 +00:00
gimppluginprocframe.h added plug_in_proc_frame_get_return_vals(). 2006-04-05 13:23:21 +00:00
gimppluginshm.c libgimp/gimp.c close the shm_open fd in the POSIX shm case. We were 2004-03-25 09:02:28 +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
gimptemporaryprocedure.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
gimptemporaryprocedure.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
Makefile.am app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
makefile.msc updated 2006-02-26 19:00:33 +00:00
plug-in-context.c removed assertion about proc_rec != NULL because that happens when 2004-09-22 16:22:43 +00:00
plug-in-context.h tools/pdbgen/Makefile.am new files that will hold context related PDB 2004-09-22 15:26:58 +00:00
plug-in-data.c app/plug-in/Makefile.am new files which keep the plug-in data list. 2006-02-21 11:05:43 +00:00
plug-in-data.h app/plug-in/Makefile.am new files which keep the plug-in data list. 2006-02-21 11:05:43 +00:00
plug-in-debug.c automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
plug-in-debug.h automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
plug-in-def.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in-def.h ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in-enums.c app/plug-in/plug-in-enums.h moved GimpRunMode enum to libgimpbase. 2006-04-06 10:16:39 +00:00
plug-in-enums.h app/plug-in/plug-in-enums.h moved GimpRunMode enum to libgimpbase. 2006-04-06 10:16:39 +00:00
plug-in-message.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in-message.h let the private wire methods live in the GIMP namespace. Declare internal 2005-12-13 14:11:56 +00:00
plug-in-params.c app/pdb/Makefile.am app/pdb/procedural_db.[ch] removed... 2006-04-04 17:47:22 +00:00
plug-in-params.h app/pdb/pdb-types.h removed struct GimpArgument, struct GimpArgumentSpec, 2006-04-04 10:30:58 +00:00
plug-in-proc-frame.c added plug_in_proc_frame_get_return_vals(). 2006-04-05 13:23:21 +00:00
plug-in-proc-frame.h added plug_in_proc_frame_get_return_vals(). 2006-04-05 13:23:21 +00:00
plug-in-progress.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
plug-in-progress.h app/core/gimp-gui.[ch] app/gui/gui-vtable.c pass displays around as 2006-03-23 21:56:13 +00:00
plug-in-rc.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in-rc.h ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in-run.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
plug-in-run.h removed plug_in_repeat()... 2006-04-06 08:19:01 +00:00
plug-in-shm.c libgimp/gimp.c close the shm_open fd in the POSIX shm case. We were 2004-03-25 09:02:28 +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 app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... 2006-04-06 10:01:30 +00:00
plug-in.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in.h ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-ins-query.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-ins-query.h app/plug-in/Makefile.am new files containing plug_ins_query(). 2005-04-05 21:10:55 +00:00
plug-ins.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-ins.h ref all registered procedures. 2006-04-07 08:16:26 +00:00