CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     mitch   06/03/31 11:17:07

Modified files:
        .              : ChangeLog 
        app/pdb        : brush_cmds.c brush_select_cmds.c brushes_cmds.c 
                         buffer_cmds.c channel_cmds.c color_cmds.c 
                         context_cmds.c convert_cmds.c display_cmds.c 
                         drawable_cmds.c drawable_transform_cmds.c 
                         edit_cmds.c fileops_cmds.c floating_sel_cmds.c 
                         font_select_cmds.c fonts_cmds.c gimpprocedure.c 
                         gimpprocedure.h gimprc_cmds.c gradient_cmds.c 
                         gradient_select_cmds.c gradients_cmds.c 
                         grid_cmds.c guides_cmds.c help_cmds.c 
                         image_cmds.c layer_cmds.c message_cmds.c 
                         misc_cmds.c paint_tools_cmds.c palette_cmds.c 
                         palette_select_cmds.c palettes_cmds.c 
                         parasite_cmds.c paths_cmds.c pattern_cmds.c 
                         pattern_select_cmds.c patterns_cmds.c 
                         plug_in_cmds.c procedural_db.c 
                         procedural_db_cmds.c progress_cmds.c 
                         selection_cmds.c selection_tools_cmds.c 
                         text_tool_cmds.c transform_tools_cmds.c 
                         undo_cmds.c unit_cmds.c vectors_cmds.c 
        app/plug-in    : plug-in-message.c 
        app/xcf        : xcf.c 
        tools/pdbgen   : app.pl 

Log message:
2006-03-31  Michael Natterer  <[EMAIL PROTECTED]>

* app/pdb/gimpprocedure.h (struct ProcRecord): added new member
"gboolean static_strings", so the ProcRecord struct and its
strings can be marked as static separately.

* app/pdb/gimpprocedure.[ch] (gimp_procedure_dispose): removed.

(gimp_procedure_free): don't free the struct if it's static.

(gimp_procedure_set_strings)
(gimp_procedure_set_static_strings)
(gimp_procedure_take_strings): new functions to set a procedure's
strings.

* app/pdb/procedural_db.c (procedural_db_free_entry): simply call
gimp_procedure_free() on all procedures, the memory-manage
themselves now.

* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): use
gimp_procedure_set_strings() instead of setting them manually.

* app/xcf/xcf.c: register gimp-xcf-load and gimp-xcf-save
dynamically so further ProcRecord struct changes don't affect this
file.

* tools/pdbgen/app.pl: set "static_proc" to TRUE for static procs.

* app/pdb/*_cmds.c: regenerated.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-03-31%2011:16&maxdate=2006-03-31%2011:18

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to