CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     mitch   06/04/03 16:54:56

Modified files:
        app/widgets    : gimpbrushselect.c gimpfontselect.c 
                         gimpgradientselect.c gimphelp.c 
                         gimppaletteselect.c gimppatternselect.c 
        tools/pdbgen   : app.pl pdb.pl 
        tools/pdbgen/pdb: fileops.pdb image.pdb procedural_db.pdb 

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

* app/core/gimpparamspecs.[ch]: added a shitload of new GTypes and
corresponding GParamSpecs to use them as PDB arguments.
Each GimpPDBArgType has one or more corresponding GTypes in the
core now.

* app/pdb/gimpargument.[ch] (struct GimpArgument)
(struct GimpArgumentSpec): removed "value" member because the
GValue's/GParamSpec's GType carries just as much information now.

(gimp_argument_type_to_pdb_arg_type): new function which maps
GTypes to GimpPDBArgType.

(gimp_pdb_arg_type_to_string): formerly known as
procedural_db_type_name().

* app/pdb/gimpprocedure.[ch]
* app/pdb/procedural_db.[ch]: completely switch to GValue. Use the
new GParamSpecs for procedure arguments. GimpPDBArgType is only
used for adding compat args/values of plug-in procedures.

(procedural_db_run_proc): the va_list expects a sequence of
(GType, value, GType, value, ..., G_TYPE_NONE) now.

* app/plug-in/plug-in-params.[ch]: changed accordingly.

(plug_in_param_defs_check): removed this function.

* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): use
plug_in_proc_args_check() instead and initialize the GimpProcedure
before doing so.

* tools/pdbgen/app.pl
* tools/pdbgen/pdb.pl: use the new param spec types and their
utility functions. Changed argument/value registration
accordingly.

* app/pdb/procedural-db-query.c
* app/actions/plug-in-commands.c
* app/actions/vectors-commands.c
* app/core/gimppdbprogress.c
* app/dialogs/about-dialog.c
* app/file/file-open.c
* app/file/file-save.c
* app/plug-in/plug-in-progress.c
* app/plug-in/plug-in-rc.c
* app/plug-in/plug-ins.c
* app/widgets/gimpbrushselect.c
* app/widgets/gimpfontselect.c
* app/widgets/gimpgradientselect.c
* app/widgets/gimphelp.c
* app/widgets/gimppaletteselect.c
* app/widgets/gimppatternselect.c
* tools/pdbgen/pdb/fileops.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.

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

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-04-03%2016:53&maxdate=2006-04-03%2016:55

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

Reply via email to