gimp/app/xcf
Michael Natterer 549df3a0df added "gboolean none_ok" members to GimpParamSpecImageID,
2006-05-06  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparamspecs.[ch]: added "gboolean none_ok" members
	to GimpParamSpecImageID, GimpParamSpecItemID and
	GimpParamSpecDisplayID.  If none_ok is set, allow '0' and '-1' as
	valid IDs. Added "none_ok" parameter to all ID param spec
	constructors.

	* app/xcf/xcf.c: require real image IDs, but allow images without
	active drawable.

	* app/pdb/gimp-pdb-compat.c: set none_ok to TRUE in all compat
	param specs, so only IDs that are really random garbage don't pass
	validation. Fixes validation errors with 0 and -1 IDs.

	* tools/pdbgen/app.pl: set none_ok to FALSE by default. Added
	support for $arg->{none_ok} to control it.

	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/progress.pdb
	* tools/pdbgen/pdb/text_tool.pdb: use none_ok instead of
	no_success (which disables validation entirely).

	* app/pdb/[many]_cmds.c: regenerated.
2006-05-06 19:03:03 +00:00
..
.cvsignore new directory app/xcf/ 2001-07-03 18:38:56 +00:00
Makefile.am app/base/Makefile.am app/composite/*akefile.am app/config/*akefile.am 2005-02-27 13:22:01 +00:00
makefile.msc new file to keep common definitions for the msc build use common 2004-02-07 23:01:33 +00:00
xcf-load.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-load.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-private.h app/actions/layers-actions.c app/actions/layers-commands.[ch] 2005-07-10 21:17:22 +00:00
xcf-read.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-read.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-save.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-save.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-seek.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-seek.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-write.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf-write.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
xcf.c added "gboolean none_ok" members to GimpParamSpecImageID, 2006-05-06 19:03:03 +00:00
xcf.h app/Makefile.am removed. 2001-10-18 17:27:36 +00:00