Gimp/libgimpbase
Ell 7df427583f libgimpbase: add gimp_{enum,flags}_value_get_abbrev()
Add support for specifying an abbreviated description for enum/
flags values, which can be used in contexts where the full
description is too long.

Since the exact layout and size of Gimp{Enum,Flags}Desc is part of
the ABI, we can't simply add a field to these structs to hold the
abbreviated description.  Instead, we use the fact that entries
with a repeated value in the value descriptions array are ignored,
and that the array is NULL terminated (in particular, that all non-
NULL entries are followed by at least one additional entry), and
specify the abbreviation in the "value_desc" field of the entry
that immediately follows the initial entry for a given value,
setting the "value" field of both entries to the same value.

Right now this behavior is undocumented, so there is no proper way
to specify abbreviated descriptions in the API, and is only meant
to be used in generated enum files.
2017-11-30 03:10:13 -05:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimpbase-private.c libgimp, libgimpbase: rename gimp_base_compat_enum_init() 2017-10-29 18:37:18 +01:00
gimpbase-private.h libgimp, libgimpbase: rename gimp_base_compat_enum_init() 2017-10-29 18:37:18 +01:00
gimpbase.def libgimp, libgimpbase: rename gimp_base_compat_enum_init() 2017-10-29 18:37:18 +01:00
gimpbase.h Revert "New GimpMetadata as subclass of GExiv2Metadata" 2017-01-03 19:36:22 +01:00
gimpbaseenums.c app, libgimpbase: implement blend tool gui for gradient midpoints 2017-10-09 12:48:55 -04:00
gimpbaseenums.h app, libgimpbase: implement blend tool gui for gradient midpoints 2017-10-09 12:48:55 -04:00
gimpbasetypes.c Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments 2015-05-31 21:18:09 +02:00
gimpbasetypes.h libgimpbase: make GimpMetadata its own type derived from GExiv2Metadata 2017-01-30 16:43:59 +01:00
gimpchecks.c Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments 2015-05-31 21:18:09 +02:00
gimpchecks.h
gimpcompatenums.c enums: generate enum files in source dir 2017-05-06 17:26:16 -04:00
gimpcompatenums.h app, pdb, libgimp: rename values of enum GimpConvertPaletteType 2017-02-26 20:55:00 +01:00
gimpcpuaccel.c Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments 2015-05-31 21:18:09 +02:00
gimpcpuaccel.h
gimpdatafiles.c libgimpbase: use GIO to figure if a file is hidden 2015-12-07 01:07:30 +01:00
gimpdatafiles.h libgimpbase: deprecate the gimp_datafiles functions 2014-08-04 03:41:45 +02:00
gimpenv.c Bug 784502 - Multiple identical path entries for resources cause... 2017-07-08 12:50:37 +02:00
gimpenv.h libgimpbase, app: add variants of gimp_$foo_directory() which return GFiles 2014-07-28 02:04:01 +02:00
gimplimits.h Bug 768044 - Fix many typos 2016-06-26 00:35:24 +02:00
gimpmemsize.c Bug 768044 - Fix many typos 2016-06-26 00:35:24 +02:00
gimpmemsize.h
gimpmetadata.c libgimpbase: add #define GIMP_METADATA_ERROR gimp_metadata_error_quark () 2017-09-03 15:46:17 +02:00
gimpmetadata.h libgimpbase: remove gimp_metadata_register_xmp_namespace[s]() 2017-07-07 19:11:12 +02:00
gimpparam.h Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments 2015-05-31 21:18:09 +02:00
gimpparasite.c
gimpparasite.h
gimpparasiteio.c Bug 768044 - Fix many typos 2016-06-26 00:35:24 +02:00
gimpparasiteio.h
gimpprotocol.c libgimp, libgimpbase: allow multi-threaded plugins by locking... 2017-08-16 12:09:56 +02:00
gimpprotocol.h libgimp, libgimpbase: allow multi-threaded plugins by locking... 2017-08-16 12:09:56 +02:00
gimprectangle.c Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments 2015-05-31 21:18:09 +02:00
gimprectangle.h
gimpreloc.c Bug 729326 - Errors found using a static code analysis program cppcheck 2014-05-05 10:34:08 +02:00
gimpreloc.h
gimpsignal.c
gimpsignal.h
gimpunit.c libgimpbase: update gimp_unit_get_digits() description... 2017-05-06 22:36:23 +02:00
gimpunit.h libgimpbase: new gimp_unit_get_accurate_digits() API function. 2017-01-23 20:20:25 +01:00
gimputils.c libgimpbase: add gimp_{enum,flags}_value_get_abbrev() 2017-11-30 03:10:13 -05:00
gimputils.h libgimpbase: add gimp_{enum,flags}_value_get_abbrev() 2017-11-30 03:10:13 -05:00
gimpvaluearray.c libgimp*: tab cleaning. 2017-06-17 11:38:18 +02:00
gimpvaluearray.h Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments 2015-05-31 21:18:09 +02:00
gimpwin32-io.h
gimpwire.c fix bogus checks against unsigned variables. 2014-08-16 00:37:13 +02:00
gimpwire.h libgimpbase: indentation in gimpwire.h 2015-06-10 18:58:32 +02:00
Makefile.am Bug 787019 - Gimp 2.9.6 misses -lm in libgimpbase/Makefile.am 2017-08-31 21:36:06 +02:00
test-cpu-accel.c