gimp/libgimpbase
Michael Natterer 853f04d5a6 Changed naming scheme for PDB procedure names from
2005-08-03  Michael Natterer  <mitch@gimp.org>

	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.
2005-08-02 22:52:23 +00:00
..
.cvsignore Additions for Win32: Use -no-undefined. Use the gimpbase.def file. Produce 2002-03-29 23:10:18 +00:00
gimpbase-private.c libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
gimpbase-private.h libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
gimpbase.def Changed naming scheme for PDB procedure names from 2005-08-02 22:52:23 +00:00
gimpbase.h libgimpbase/Makefile.am removed these two files again. 2005-01-25 23:44:05 +00:00
gimpbaseenums.c added GimpForegroundExtractMode in preparation for other implementations 2005-07-29 02:35:12 +00:00
gimpbaseenums.h added GimpForegroundExtractMode in preparation for other implementations 2005-07-29 02:35:12 +00:00
gimpbasetypes.c libgimpbase/Makefile.am removed these two files again. 2005-01-25 23:44:05 +00:00
gimpbasetypes.h libgimpbase/Makefile.am removed these two files again. 2005-01-25 23:44:05 +00:00
gimpchecks.c libgimpbase/gimpchecks.h moved check size and check color defines. It 2004-09-03 11:18:56 +00:00
gimpchecks.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpcpuaccel.c detect SSE3. 2005-06-07 07:10:22 +00:00
gimpcpuaccel.h detect SSE3. 2005-06-07 07:10:22 +00:00
gimpdatafiles.c libgimpbase/gimpdatafiles.c libgimpbase/gimpenv.c 2005-02-07 01:10:50 +00:00
gimpdatafiles.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpenv.c use g_ascii_isalnum() instead of isalnum(). Rephrased some comments. 2005-04-04 19:23:46 +00:00
gimpenv.h libgimpbase/gimpdatafiles.[ch] libgimpbase/gimpenv.[ch] 2003-11-23 15:35:27 +00:00
gimplimits.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpmemsize.c libgimpbase/Makefile.am removed this file again. 2005-01-23 02:09:41 +00:00
gimpmemsize.h libgimpbase/Makefile.am removed this file again. 2005-01-23 02:09:41 +00:00
gimpparasite.c removed enums GimpImageType and GimpImageBaseType ... 2004-07-29 12:33:15 +00:00
gimpparasite.h libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] 2003-12-05 15:55:15 +00:00
gimpparasiteio.c cosmetics, untabified. 2004-11-23 14:28:43 +00:00
gimpparasiteio.h cosmetics, untabified. 2004-11-23 14:28:43 +00:00
gimpprotocol.c formatting. 2005-01-15 11:55:34 +00:00
gimpprotocol.h app/config/gimpguiconfig.[ch] added gimprc option "show-help-button". 2004-10-04 16:21:52 +00:00
gimpsignal.c libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] 2003-12-05 15:55:15 +00:00
gimpsignal.h bumped version number to 2.0pre3 (1.3.26), binary age 2, interface age 0. 2004-01-19 17:35:20 +00:00
gimpunit.c libgimpbase/Makefile.am removed this file again. 2005-01-23 02:09:41 +00:00
gimpunit.h libgimpbase/Makefile.am removed this file again. 2005-01-23 02:09:41 +00:00
gimputils.c Changed naming scheme for PDB procedure names from 2005-08-02 22:52:23 +00:00
gimputils.h Changed naming scheme for PDB procedure names from 2005-08-02 22:52:23 +00:00
gimpwin32-io.h TILE_WIDTH is used unconditionally so always include "tile.h" WIN32 needs 2005-02-19 00:50:36 +00:00
gimpwire.c added assertions to make sure "count" is always >= 0. Turns the crash 2004-10-04 13:25:33 +00:00
gimpwire.h libgimpbase/gimpprotocol.[ch] pass "gpointer user_data" to all functions, 2002-05-16 17:41:38 +00:00
Makefile.am renamed localedir to gimplocaledir. 2005-04-04 23:06:32 +00:00
makefile.msc [new file] app/dialogs/Makefile.am : added to EXTRA_DIST 2004-11-21 14:22:45 +00:00