Gimp/libgimpcolor
Jehan 62ab8e2604 libgimp, libgimpcolor: make real unit test of old (compiled but unused) …
… test-color-parser.c file.

The file libgimpcolor/test-color-parser.c was compiled but never actually called
by the build. Now that we have a nice infrastructure to test libgimp API, I am
moving it there with the new format. Doing this also allowed me to discover some
bugs in CSS parsing, as well as discover Python binding was failing here (cf.
the few previous commits).

Only one test is disabled so far, the one where 4 digits are used per channel in
hexadecimal notation: "#64649595eded". This format simply doesn't appear
anywhere in the spec, and also the result values in the samples listing don't
even fit. So far, I'm just unsure what to do with it, if we want to keep this
support (of some kind of higher precision hex notation, but not specified, so is
it even used by anyone?) or not.

All the other tests just work in both C and Python!
2024-04-20 12:39:52 +02:00
..
gimpadaptivesupersample.c
gimpadaptivesupersample.h libgimpcolor: Fix annotation in GimpRenderFunc 2021-12-28 21:23:42 +01:00
gimpbilinear.c
gimpbilinear.h
gimpcairo.c Issue #11021: cairo-ARGB32 uses "associated alpha", so changed the new formats accordingly. 2024-04-03 03:12:12 +05:30
gimpcairo.h libgimpcolor: Port gimp_cairo_checkerboard_create ()... 2024-03-31 01:09:45 +00:00
gimpcmyk.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimpcmyk.h
gimpcolor-parse.c libgimpcolor, app: gimp_color_parse_(css|hex|name)() renamed with _substring() suffix. 2024-04-20 12:37:20 +02:00
gimpcolor.c app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
gimpcolor.def libgimpcolor, app: gimp_color_parse_(css|hex|name)() renamed with _substring() suffix. 2024-04-20 12:37:20 +02:00
gimpcolor.h libgimpcolor, app: gimp_color_parse_(css|hex|name)() renamed with _substring() suffix. 2024-04-20 12:37:20 +02:00
gimpcolormanaged.c core: Add simulation intent and BPC to GimpImage 2022-08-13 19:39:47 +00:00
gimpcolormanaged.h core: Add simulation intent and BPC to GimpImage 2022-08-13 19:39:47 +00:00
gimpcolorprofile.c Issue #9994: do not call g_file_info_get_is_hidden() (and others) directly. 2023-09-19 15:34:48 +02:00
gimpcolorprofile.h
gimpcolorspace.c
gimpcolorspace.h
gimpcolortransform.c libgimpcolor: fix call to cmsCreateProofingTransform(). 2022-04-20 20:54:20 +02:00
gimpcolortransform.h
gimpcolortypes.h app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
gimphsl.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimphsl.h
gimphsv.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimphsv.h
gimppixbuf.c
gimppixbuf.h
gimprgb-parse.c libgimpcolor: gimp_rgb_parse_hex() is also unused. 2024-04-20 03:41:27 +02:00
gimprgb.c libgimpcolor: remove all gimp_rgb_*() utilities not in use anymore. 2024-04-19 23:58:18 +02:00
gimprgb.h libgimpcolor: gimp_rgb_parse_hex() is also unused. 2024-04-20 03:41:27 +02:00
meson.build libgimp, libgimpcolor: make real unit test of old (compiled but unused) … 2024-04-20 12:39:52 +02:00