gimp/app/paint
Michael Natterer 6711646648 Don't store human readable and translatable enum/flag strings in
2004-10-25  Michael Natterer  <mitch@gimp.org>

	Don't store human readable and translatable enum/flag strings in
	GEnumValue's and GTypeValue's fields but attach them to their
	GType using separate structs and utility functions:

	* tools/gimp-mkenums: added params and perl voodoo to support
	generating a second array of values, which is used by the
	Makefiles below to create and register arrays of value
	descriptions.

	* libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive
	arrays of translatable strings to/from enum and flags types. Added
	structs GimpEnumDesc and GimpFlagsDesc for that purpose.

	* libgimpbase/gimputils.[ch]: changed existing enum utility
	functions, added new ones and added a symmetric API for flags.

	* app/base/Makefile.am
	* app/core/Makefile.am
	* app/display/Makefile.am
	* app/paint/Makefile.am
	* app/text/Makefile.am
	* app/tools/Makefile.am
	* app/widgets/Makefile.am
	* libgimp/Makefile.am
	* libgimpbase/Makefile.am: changed *-enums.c generation rules
	accordingly.

	* app/base/base-enums.c
	* app/core/core-enums.c
	* app/display/display-enums.c
	* app/paint/paint-enums.c
	* app/text/text-enums.c
	* app/tools/tools-enums.c
	* app/widgets/widgets-enums.c
	* libgimpbase/gimpbaseenums.c: regenerated.

	* app/widgets/gimpenumstore.c
	* app/widgets/gimpenumwidgets.c
	* app/widgets/gimptemplateeditor.c
	* libgimpwidgets/gimppreviewarea.c: follow the enum utility
	function API changes.
2004-10-25 17:55:25 +00:00
..
.cvsignore Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
Makefile.am Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
gimp-paint.c register ink between airbrush and clone so the stroke dialog's menu of 2004-05-27 21:19:26 +00:00
gimp-paint.h app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimpairbrush.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpairbrush.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpairbrushoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpairbrushoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpbrushcore-kernels.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpbrushcore.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpbrushcore.h added signal "set-brush" which is G_SIGNAL_RUN_LAST so we can connect 2004-06-23 12:19:28 +00:00
gimpclone.c converted tabs to spaces. 2004-07-28 11:17:49 +00:00
gimpclone.h removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimpcloneoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpcloneoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpconvolve.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpconvolve.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpconvolveoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpconvolveoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpdodgeburn.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpdodgeburn.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpdodgeburnoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpdodgeburnoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimperaser.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimperaser.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimperaseroptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimperaseroptions.h removed "gboolean hard" member/property... 2003-07-14 14:50:41 +00:00
gimpink-blob.c Check if the array index is legal before using it, not the other way 2004-07-18 09:10:17 +00:00
gimpink-blob.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpink.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpink.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpinkoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpinkoptions.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimppaintbrush.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimppaintbrush.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimppaintcore-stroke.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimppaintcore-stroke.h Fixed & cleaned up paint function registration to work without GUI. 2003-08-30 13:22:20 +00:00
gimppaintcore-undo.c app/core/gimpundo.[ch] app/core/gimpitemundo.[ch] removed all _new() 2004-07-12 16:59:36 +00:00
gimppaintcore-undo.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimppaintcore.c app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimppaintcore.h app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimppaintoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimppaintoptions.h added "GimpPaintInfo *paint_info" member and construct property. Changed 2004-08-31 13:20:57 +00:00
gimppencil.c app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimppencil.h Argh... 2003-07-14 17:10:09 +00:00
gimppenciloptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimppenciloptions.h app/paint/Makefile.am removed. 2003-07-14 15:43:21 +00:00
gimpsmudge.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpsmudge.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00
gimpsmudgeoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpsmudgeoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpsourcecore.c converted tabs to spaces. 2004-07-28 11:17:49 +00:00
gimpsourcecore.h removed PRETRACE_PAINT and POSTTRACE_PAINT from the GimpPaintCoreState 2004-06-14 15:26:29 +00:00
gimpsourceoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpsourceoptions.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
makefile.msc updated app/actions/makefile.msc app/menus/makefile.msc : (new files) 2004-07-11 21:53:17 +00:00
paint-enums.c Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
paint-enums.h removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
paint-types.h app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore 2004-05-25 20:41:09 +00:00