CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     mitch   05/08/02 18:52:23

Modified files:
        .              : ChangeLog 
        app/pdb        : brush_cmds.c brush_select_cmds.c brushes_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 gimprc_cmds.c 
                         gradient_cmds.c gradient_select_cmds.c 
                         gradients_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.h 
                         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 plug-in-proc-def.c 
                         plug-in-rc.c plug-in-run.c plug-ins.c 
        app/xcf        : xcf.c 
        tools/pdbgen   : app.pl lib.pl 
        tools/pdbgen/pdb: brushes.pdb fileops.pdb gradients.pdb 
                          image.pdb palettes.pdb patterns.pdb 
                          plug_in.pdb procedural_db.pdb text_tool.pdb 
                          transform_tools.pdb 
        libgimp        : gimpbrush_pdb.c gimpbrushes_pdb.c 
                         gimpbrushselect_pdb.c gimpchannel_pdb.c 
                         gimpcolor_pdb.c gimpcontext_pdb.c 
                         gimpconvert_pdb.c gimpdisplay_pdb.c 
                         gimpdrawable_pdb.c gimpdrawabletransform_pdb.c 
                         gimpedit_pdb.c gimpfileops_pdb.c 
                         gimpfloatingsel_pdb.c gimpfonts_pdb.c 
                         gimpfontselect_pdb.c gimpgimprc_pdb.c 
                         gimpgradient_pdb.c gimpgradients_pdb.c 
                         gimpgradientselect_pdb.c gimpguides_pdb.c 
                         gimphelp_pdb.c gimpimage_pdb.c gimplayer_pdb.c 
                         gimpmessage_pdb.c gimpmisc_pdb.c 
                         gimppainttools_pdb.c gimppalette_pdb.c 
                         gimppalettes_pdb.c gimppaletteselect_pdb.c 
                         gimpparasite_pdb.c gimppaths_pdb.c 
                         gimppattern_pdb.c gimppatterns_pdb.c 
                         gimppatternselect_pdb.c gimpplugin_pdb.c 
                         gimpproceduraldb_pdb.c gimpprogress_pdb.c 
                         gimpselection_pdb.c gimpselectiontools_pdb.c 
                         gimptexttool_pdb.c gimptransformtools_pdb.c 
                         gimpundo_pdb.c gimpunit_pdb.c gimpvectors_pdb.c 
        libgimpbase    : gimpbase.def gimputils.c gimputils.h 

Log message:
2005-08-03  Michael Natterer  <[EMAIL PROTECTED]>

Changed naming scheme for PDB procedure names from
random_crap_that_traditionally_has_underscores to
enforced-canonical-identifiers. I'm pretty sure some things are
broken after this commit. More changes to come...

* libgimpbase/gimpbase.def
* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().

* app/pdb/procedural_db.[ch] (struct ProcRecord): added
"gchar *original_name" to keep a procedure's original name as
reigstered by plug-ins (compat cruft).

(procedural_db_init_procs): canonicalized list of deprecated
procedures.

* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
original_name.

* app/plug-in/plug-in-message.c: canonicalize procedure names
which are received over the wire.

* app/plug-in/plug-in-rc.c: serialize the original_name and create
the canonicalized name on-the-fly when deserializing.

* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
when running them because they strcmp() the passed procedure name.

* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
canonical procedure names to procedural_db_execute().

(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".

* app/xcf/xcf.c: changed static XCF procedures accordingly.

* tools/pdbgen/app.pl
* tools/pdbgen/lib.pl: do some trivial substitutions to generate
canonicalized names in app/, and C identifiers with underscores in
libgimp/.

* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/fileops.pdb
* tools/pdbgen/pdb/gradients.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/palettes.pdb
* tools/pdbgen/pdb/patterns.pdb
* tools/pdbgen/pdb/plug_in.pdb
* tools/pdbgen/pdb/procedural_db.pdb
* tools/pdbgen/pdb/text_tool.pdb
* tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure
names in calls to std_pdb_deprecated() and in procedure names in
generated C code.

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

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2005-08-02%2018:51&maxdate=2005-08-02%2018:53

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

Reply via email to