gimp/libgimpconfig
Jehan dc3e815ff0 app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/.
Several types functions were using the wording "float" historically to
mean double-precision, e.g. the float array type (which was in fact a
double array). Or the scanner function gimp_scanner_parse_float() was in
fact returning a double value. What if we wanted someday to actually add
float (usually this naming means in C the single-precision IEEE 754
floating point representation) support? How would we name this?

Now technically it's not entirely wrong (a double is still a floating
point). So I've been wondering if that is because maybe we never planned
to have float and double precision may be good enough for all usage in a
plug-in API (which doesn't have to be as generic so the higher precision
is enough)? But how can we be sure? Also we already had some functions
using the wording double (e.g. gimp_procedure_add_double_argument()), so
let's just go the safe route and use the accurate wording.

The additional change in PDB is internal, but there too, I was also
finding very confusing that we were naming double-precision float as
'float' type. So I took the opportunity to update this. It doesn't
change any signature.

In fact the whole commit doesn't change any type or code logic, only
naming, except for one bug fix in the middle which I encountered while
renaming: in gimp_scanner_parse_deprecated_color(), I discovered a
hidden bug in scanning (color-hsv*) values, which was mistakenly using a
double type for an array of float.
2024-11-02 15:00:03 +01:00
..
gimpcolorconfig.c libgimpconfig: GimpColorConfig is now final. 2024-10-17 22:38:25 +02:00
gimpcolorconfig.h libgimpconfig: GimpColorConfig is now final. 2024-10-17 22:38:25 +02:00
gimpconfig-deserialize.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
gimpconfig-deserialize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig-error.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpconfig-error.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig-iface.c libgimp, libgimpconfig: GimpResource can now be (de)serialized. 2023-07-27 15:34:45 +02:00
gimpconfig-iface.h libgimp, libgimpconfig: GimpResource can now be (de)serialized. 2023-07-27 15:34:45 +02:00
gimpconfig-params.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
gimpconfig-params.h app, libgimpbase, libgimpconfig: make our custom GParamFlags definitions… 2024-09-01 00:12:27 +02:00
gimpconfig-path.c libgimp: new unit testing framework for libgimp. 2024-02-28 22:55:58 +01:00
gimpconfig-path.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:18:30 +02:00
gimpconfig-register.c libgimpconfig: fix leak. 2024-09-04 14:04:47 +02:00
gimpconfig-register.h libgimpconfig: add gimp_config_type_register() 2019-09-16 10:48:32 +02:00
gimpconfig-serialize.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
gimpconfig-serialize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig-utils.c app, libgimp*, pdb: new GimpParamSpecObject abstract spec type. 2024-09-04 22:34:49 +02:00
gimpconfig-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpconfig.def app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
gimpconfig.h app, libgimpbase, libgimpconfig: make our custom GParamFlags definitions… 2024-09-01 00:12:27 +02:00
gimpconfigenums.c app, libgimp*: commit the newly generated *enums.c files. 2022-08-01 20:00:01 +02:00
gimpconfigenums.h libgimpconfig: fix small typo. 2022-03-04 16:09:09 +01:00
gimpconfigtypes.h libgimpconfig: add a GimpScanner typedef and make it a boxed type 2019-08-09 12:42:52 +02:00
gimpconfigwriter.c libgimpconfig: Fix gimpconfigwriter GIR annotation 2024-05-11 14:34:32 +02:00
gimpconfigwriter.h libgimpconfig: get rid of filenames in all config related APIs 2019-09-21 12:55:12 +02:00
gimpscanner.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
gimpscanner.h app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
meson.build libgimpconfig: gimp_config_(de)serialize_strv() should not be public. 2024-10-17 22:38:25 +02:00