1. 12 Apr, 2006 1 commit
    • Sven Neumann's avatar
      removed profiling code. · 654392e7
      Sven Neumann authored
      2006-04-12  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimp-pdb.c (gimp_pdb_init_procs): removed profiling code.
      654392e7
  2. 11 Apr, 2006 4 commits
  3. 10 Apr, 2006 4 commits
    • Michael Natterer's avatar
      don't iterate the list of plug-in procedures here, take a · 1dd6a8f0
      Michael Natterer authored
      2006-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.c (plug_ins_add_to_db): don't iterate the
      	list of plug-in procedures here, take a GimpPlugInProcedure
      	argument instead.
      
      	(plug_ins_init): iterate the list here, just as all other lists
      	too. Renamed local "filename" variable to "pluginrc". Moved
      	"basename" to local scopes.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: minor cleanup.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      1dd6a8f0
    • Michael Natterer's avatar
      added file_utils_load_thumbnail() and file_utils_save_thumbnail(). · f0f8f045
      Michael Natterer authored
      2006-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-utils.[ch]: added file_utils_load_thumbnail() and
      	file_utils_save_thumbnail().
      
      	* tools/pdbgen/pdb/fileops.pdb: remove lots of code and includes
      	and use the new functions.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      f0f8f045
    • Michael Natterer's avatar
      some cleanup. · 755ac43a
      Michael Natterer authored
      2006-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-file.c: some cleanup.
      
      	(plug_in_file_register_load_handler)
      	(plug_in_file_register_save_handler): first check if we have the
      	procedure, then check its arguments, not the other way around
      	(using an additional lookup). Old weird code was needed because
      	these functions were split between app/plug-in and app/pdb.
      
      	* app/plug-in/plug-in-file.h: whitespace.
      755ac43a
    • Sven Neumann's avatar
      take const arrays of action entries. · 12920b5a
      Sven Neumann authored
      2006-04-10  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: take const arrays of action
      	entries.
      
      	* app/actions/*-actions.c: declare action arrays as const.
      12920b5a
  4. 09 Apr, 2006 9 commits
    • Michael Natterer's avatar
      removed the plug_ins_file_foo() functions. · 03eebd53
      Michael Natterer authored
      2006-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.[ch]: removed the plug_ins_file_foo()
      	functions.
      
      	* tools/pdbgen/pdb/fileops.pdb: removed lots of load and save
      	handler register code.
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-file.[ch]: added everything in these new
      	files. Load and save handlers are installed with
      	plug_in_file_register_load_handler() and _save_handler() which
      	also check the passed file procedure's parameters.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      03eebd53
    • Michael Natterer's avatar
      app/plug-in/Makefile.am app/plug-in/plug-ins-help.[ch] remove these files · 1f8c1ae3
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-ins-help.[ch]
      	* app/plug-in/plug-ins-locale.[ch]: remove these files again...
      
      	* app/plug-in/plug-in-help-domain.[ch]
      	* app/plug-in/plug-in-locale-domain.[ch]: ... and add them here
      	with changed namespace.
      
      	* app/plug-in/plug-in-menu-branch.[ch]: new files keeping menu
      	branches registered by plug-ins.
      
      	* app/plug-in/plug-ins.[ch]: removed the menu branch stuff here.
      
      	* app/actions/plug-in-actions.c
      	* app/menus/plug-in-menus.c
      	* app/plug-in/plug-in.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimphelp.c
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly.
      
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      1f8c1ae3
    • Michael Natterer's avatar
      remove plug_ins_add_internal() and made plug_ins_procedure_insert() public · 47d60f48
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.[ch]: remove plug_ins_add_internal() and
      	made plug_ins_procedure_insert() public as plug_ins_procedure_add().
      	There's no reason internal plug-ins should be treated differently.
      
      	* app/xcf/xcf.c: use plug_ins_procedure_add().
      
      	* app/plug-in/plug-ins-help.c: fix comment.
      47d60f48
    • Michael Natterer's avatar
      removed this function. We only have shallow GPParam arrays in the core · d411d1c0
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-params.[ch] (plug_in_params_destroy):
      	removed this function. We only have shallow GPParam arrays in the
      	core that can be freed with g_free(), and gp_params_destroy()
      	could always be used for freeing deep copies.
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-run.c: simply g_free() the GPParam arrays.
      d411d1c0
    • Michael Natterer's avatar
      removed function plug_in_proc_args_check(). · 73a9abd3
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-params.[ch]: removed function
      	plug_in_proc_args_check().
      
      	* app/pdb/gimppluginprocedure.[ch]: added new function
      	gimp_plug_in_procedure_add_menu_path() which performs all menu
      	path checks that were in the function above and adds the new
      	menu_path to the procedure's list of menu_paths.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install)
      	* app/plug-in/plug-in.c (plug_in_menu_register): use the new
      	function and removed manual adding of the menu path to
      	proc->menu_paths.
      73a9abd3
    • Michael Natterer's avatar
      app/plug-in/Makefile.am app/plug-in/plug-ins-help.[ch] new files managing · 5cf5b8ca
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-ins-help.[ch]
      	* app/plug-in/plug-ins-locale.[ch]: new files managing plug-in
      	help domains and locale domains.
      
      	* app/plug-in/plug-ins.[ch]: removed the functions here. Minor
      	unrelated cleanups.
      
      	* app/plug-in/plug-in.c
      	* app/actions/plug-in-actions.c
      	* app/menus/plug-in-menus.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimphelp.c
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed includes accordingly.
      
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      5cf5b8ca
    • Michael Natterer's avatar
      app/plug-in/Makefile.am app/plug-in/plug-ins-help.[ch] new files managing · 618202c3
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-ins-help.[ch]
      	* app/plug-in/plug-ins-locale.[ch]: new files managing plug-in
      	help domains and locale domains.
      
      	* app/plug-in/plug-ins.[ch]: removed the functions here. Minor
      	unrelated cleanups.
      
      	* app/plug-in/plug-in.c
      	* app/actions/plug-in-actions.c
      	* app/menus/plug-in-menus.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimphelp.c
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed includes accordingly.
      
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      618202c3
    • Michael Natterer's avatar
      return a GSList* of PlugInDefs instead of a boolean. Don't return anything · 84a9e5ec
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-rc.[ch] (plug_in_rc_parse): return a GSList*
      	of PlugInDefs instead of a boolean. Don't return anything if any
      	parse error occurs (before, we trusted PlugInDefs from partially
      	broken files). Don't call plug_ins_def_add_from_rc() and don't
      	#include "plug-ins.h".
      
      	* app/plug-in/plug-ins.[ch]: made plug_ins_def_add_from_rc()
      	private and call it on all PlugInDefs returned by plug_in_rc_parse().
      	Renamed plug_ins_init_file() to plug_ins_add_from_file()
      
      	(plug_ins_init): remove code that checks for duplicate plug-in
      	procedures...
      
      	(plug_ins_procedure_insert): ... and add it where it belongs.
      84a9e5ec
    • Michael Natterer's avatar
      don't register the XCF procedures with the PDB here... · 6a63d898
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/xcf/xcf.c (xcf_init): don't register the XCF procedures
      	with the PDB here...
      
      	* app/plug-in/plug-ins.c (plug_ins_add_to_db): ... instead, don't
      	special case internal procedures here so they get registered along
      	with all other plug-in procedures.
      6a63d898
  5. 08 Apr, 2006 2 commits
    • Michael Natterer's avatar
      set the mtime of all the plug_in_def's procedures too. · 56ef76c4
      Michael Natterer authored
      2006-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-def.c (plug_in_def_set_mtime): set the mtime
      	of all the plug_in_def's procedures too.
      
      	* app/plug-in/plug-in-params.c: don't include "plug-in.h"
      
      	* app/plug-in/plug-in-rc.c: minor cleanup. Fixed one error
      	return value.
      
      	* app/plug-in/plug-in.c (plug_in_push): simply use g_slist_rmove(),
      	fiddling with list nodes manually is a questionable "optimization"
      	for removing the first list element.
      
      	* app/plug-in/plug-ins.c (plug_ins_init): some cleanup.
      56ef76c4
    • Karine Delvare's avatar
      center constraint with control key. · 440ee941
      Karine Delvare authored
      2006-04-08  Karine Delvare  <edhel@gimp.org>
      
      	* app/tools/gimprectangletool.c: center constraint with control
      	key.
      440ee941
  6. 07 Apr, 2006 11 commits
    • Michael Natterer's avatar
      removed PlugInBlocked cruft, it was probably unused since ages. · 55fbabc1
      Michael Natterer authored
      2006-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run)
      	(plug_in_handle_proc_return_priv): removed PlugInBlocked cruft,
      	it was probably unused since ages.
      
      	(plug_in_handle_proc_return_priv): removed...
      
      	(plug_in_handle_proc_return)
      	(plug_in_handle_temp_proc_return): ...and added its only remaining
      	function call here.
      
      	(plug_in_handle_tile_req): check if the requested drawable ID
      	is really a drawable (not a vectors or...)
      
      	(plug_in_handle_proc_install): cleanup.
      55fbabc1
    • Michael Natterer's avatar
      made plug_in_run_temp() public and changed its parameters to match the · b2f2b714
      Michael Natterer authored
      2006-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-run.[ch]: made plug_in_run_temp() public and
      	changed its parameters to match the ones of plug_in_run().
      
      	* app/pdb/gimpprocedure.[ch]: added GimpProcedure::execute_async()
      	which takes an additional display_ID parameter and returns nothing.
      
      	* app/pdb/gimppluginprocedure.c
      	* app/pdb/gimptemporaryprocedure.c: implement it, using
      	plug_in_run() and plug_in_run_temp().
      
      	* app/core/gimp-utils.[ch]: added gimp_value_array_truncate()
      	which takes a GValueArray and the number of values to truncate the
      	array to.
      
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/pdb/gimp-pdb.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimphelp.c: use gimp_procedure_execute_async()
      	instead of plug_in_run() and don't #include "plug-in-run.h".
      	Truncate GValueArray passed to plug-ins again, and don't just pass
      	some default values to the noninteractive args.
      
      	Unrelated:
      
      	* tools/pdbgen/pdb/plug_in.pdb: don't call
      	gimp_menus_create_branch() here.
      
      	* app/plug-in/plug-ins.c (plug_ins_menu_branch_add): call it here
      	instead.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      b2f2b714
    • Michael Natterer's avatar
      added "guint disconnected : 1", we have enough space for flags now. · a5bc7b08
      Michael Natterer authored
      2006-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.h: added "guint disconnected : 1", we
      	have enough space for flags now.
      
      	* app/core/gimpobject.c (gimp_object_dispose): use the new
      	object->disconnected flag instead of attaching that boolean to the
      	object.
      a5bc7b08
    • Sven Neumann's avatar
      declared the array as const. · d9a7a2c0
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/xcf/xcf.c (xcf_loaders): declared the array as const.
      d9a7a2c0
    • Sven Neumann's avatar
      app/actions/tool-options-commands.c app/core/gimp.c · 5fc9bd40
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/tool-options-commands.c
      	* app/core/gimp.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimplist.c
      	* app/core/gimppalette.c
      	* app/dialogs/template-options-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/paint/gimp-paint.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolbox-dnd.c: use gimp_object_set_static_name()
      	and gimp_object_take_name() where appropriate.
      5fc9bd40
    • Michael Natterer's avatar
      added flag "guint static_name : 1" and new APIs · c03c336c
      Michael Natterer authored
      2006-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.[ch]: added flag "guint static_name : 1" and
      	new APIs gimp_object_set_static_name() and _take_name().
      
      	* app/pdb/gimpprocedure.[ch]: removed member "name". Use
      	GimpObject's name instead.
      
      	* app/actions/plug-in-actions.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/menus/plug-in-menus.c
      	* app/pdb/gimp-pdb-query.c
      	* app/pdb/gimp-pdb.c
      	* app/pdb/gimppluginprocedure.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins-query.c
      	* app/plug-in/plug-ins.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/fileops.pdb: use GimpObject API to set/get
      	a procedure's name.
      
      	* app/pdb/*_cmds.c: regenerated.
      c03c336c
    • Sven Neumann's avatar
      renamed gimp_drawable_shadow() to gimp_drawable_get_shadow_tiles(). · cfd7233b
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: renamed gimp_drawable_shadow() to
      	gimp_drawable_get_shadow_tiles().
      
      	* app/core/gimpimage.[ch]: renamed gimp_image_shadow() to
      	gimp_image_get_shadow_tiles() and gimp_image_free_shadow() to
      	gimp_image_free_shadow_tiles().
      
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpimagemap.c
      	* app/plug-in/plug-in-message.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      cfd7233b
    • Sven Neumann's avatar
      renamed gimp_drawable_cmap() to gimp_drawable_get_colormap() and let it · eababf48
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: renamed gimp_drawable_cmap() to
      	gimp_drawable_get_colormap() and let it return a const array.
      
      	* app/core/gimpdrawable-convert.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-preview.c: changed accordingly.
      eababf48
    • Sven Neumann's avatar
      renamed gimp_drawable_data() to gimp_drawable_get_tiles(). · cef9db57
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: renamed gimp_drawable_data() to
      	gimp_drawable_get_tiles().
      
      	[lots of files]: changed accordingly.
      cef9db57
    • Michael Natterer's avatar
      ref all registered procedures. · 5f211479
      Michael Natterer authored
      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.
      5f211479
    • Sven Neumann's avatar
      allow to discard invisible layers as suggested in bug #337557. · e43b8ea0
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-merge.[ch] (gimp_image_merge_visible_layers):
      	allow to discard invisible layers as suggested in bug #337557.
      
      	* app/actions/image-commands.c
      	* app/dialogs/image-merge-layers-dialog.[ch]: added a check button
      	to the Merge Visible Layers dialog to control the new feature.
      
      	* app/file/file-open.c
      	* tools/pdbgen/pdb/image.pdb: pass FALSE for the new parameter.
      
      	* app/pdb/image_cmds.c: regenerated.
      e43b8ea0
  7. 06 Apr, 2006 7 commits
    • Sven Neumann's avatar
      removed unused global arrays. · 9b33aa2a
      Sven Neumann authored
      2006-04-06  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite.c: removed unused global arrays.
      9b33aa2a
    • Sven Neumann's avatar
      generate const arrays of const strings. · ffa79833
      Sven Neumann authored
      2006-04-06  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/authors.xsl: generate const arrays of const strings.
      
      	* app/dialogs/authors.h: regenerated.
      ffa79833
    • Sven Neumann's avatar
      app/core/gimpcontext.c app/core/gimpimage.c app/paint-funcs/paint-funcs.c · 37da5669
      Sven Neumann authored
      2006-04-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontext.c
      	* app/core/gimpimage.c
      	* app/paint-funcs/paint-funcs.c
      	* app/widgets/gimpcontrollerkeyboard.c
      	* app/widgets/gimpcontrollerwheel.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdockseparator.c
      	* libgimp/gimpbrushselect.c
      	* libgimp/gimpfontselect.c
      	* libgimp/gimpgradientselect.c
      	* libgimp/gimppaletteselect.c
      	* libgimp/gimppatternselect.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimppickbutton.c
      	* libgimpwidgets/gimpstock.c: sprinkled some const qualifiers.
      37da5669
    • Sven Neumann's avatar
      app/core/gimpdata.c (gimp_data_error_quark) · 6f8f925c
      Sven Neumann authored
      2006-04-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.c (gimp_data_error_quark)
      	* libgimpconfig/gimpconfig-error.c (gimp_config_error_quark)
      	* libgimpthumb/gimpthumb-error.c (gimp_thumb_error_quark):
      	g_quark_from_static_string() is already reasonably fast, not much
      	point in caching the result.
      6f8f925c
    • Sven Neumann's avatar
      app/plug-in/plug-in-enums.h moved GimpRunMode enum to libgimpbase. · 95f9330d
      Sven Neumann authored
      2006-04-06  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-in-enums.h
      	* libgimpbase/gimpbaseenums.h: moved GimpRunMode enum to libgimpbase.
      
      	* app/plug-in/plug-in-enums.c
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpbase/gimpbase.def: updated.
      95f9330d
    • Michael Natterer's avatar
      app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed... · 7e258dfa
      Michael Natterer authored
      2006-04-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/plug-in-proc-def.[ch]: removed...
      
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h
      	* app/pdb/gimppluginprocedure.[ch]: ...and added here. Virtualized
      	get_progname().
      
      	* app/pdb/gimptemporaryprocedure.[ch]: new class derived from
      	GimpPlugInProcedure.
      
      	* app/pdb/gimpprocedure.[ch] (struct GimpProcedure): remove union
      	exec_method and all the structs it needed. Procedure execution is
      	properly virtualized now. Removed gimp_procedure_initialize() and
      	grow the args and values arrays dynamically in
      	gimp_procedure_add_argument()/return_value(). Added marshal_func
      	parameter to gimp_procedure_new().
      
      	* app/actions/plug-in-actions.c
      	* app/actions/plug-in-commands.c
      	* app/core/gimp-gui.c
      	* app/dialogs/file-save-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gui/gui-vtable.c
      	* app/menus/plug-in-menus.c
      	* app/plug-in/plug-in-def.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in-run.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins-query.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimppluginaction.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/app.pl: changed accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      
      	* app/pdb/gimp-pdb.c: added uglyness to make the app link again.
      7e258dfa
    • Michael Natterer's avatar
      removed plug_in_repeat()... · b78b596d
      Michael Natterer authored
      2006-04-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-run.[ch]: removed plug_in_repeat()...
      
      	* app/actions/plug-in-commands.c: ...and merged it into
      	plug_in_repeat_cmd_callback(). It's essentially the same code as
      	plug_in_run_cmd_callback() and there's no reason (except
      	historical ones) to keep its implementation separate.
      b78b596d
  8. 05 Apr, 2006 2 commits