Gimp/plug-ins/script-fu
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
..
console ScriptFu: fix #10307 plugin call display not effective 2024-04-25 12:51:00 +00:00
interpreter meson: on macOS temporarily update rpath to find libraries of non-installed GIMP. 2024-04-16 17:43:15 +00:00
libscriptfu app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
scripts scripts, pdb: Consolidate gauss and pixelize compat functions 2024-10-28 04:39:39 +00:00
server plug-ins: Port argument macros to functions 2024-06-13 23:17:48 +00:00
test scripts, pdb: Consolidate gauss and pixelize compat functions 2024-10-28 04:39:39 +00:00
gimp-script-fu-interpreter.interp.in build/windows, data, extensions, plug-ins: Fix Build omissions 2024-01-02 10:49:31 +00:00
meson.build ScriptFu: build: "stable release" not install test framework or test plugins 2024-04-24 14:32:53 +00:00
script-fu-eval.c ScriptFu: fix #10307 plugin call display not effective 2024-04-25 12:51:00 +00:00
script-fu-eval.h plug-ins, libgimp: move GimpBatchProcedure's run function to use config objects. 2023-10-01 20:52:01 +02:00
script-fu-refresh.c plug-ins: Port argument macros to functions 2024-06-13 23:17:48 +00:00
script-fu-refresh.h ScriptFu: hide "Refresh Scripts" 2024-04-06 14:33:13 -04:00
script-fu-text-console.c plug-ins, libgimp: move GimpBatchProcedure's run function to use config objects. 2023-10-01 20:52:01 +02:00
script-fu-text-console.h plug-ins, libgimp: move GimpBatchProcedure's run function to use config objects. 2023-10-01 20:52:01 +02:00
script-fu.c libgimp, plug-ins: following up the renaming of GIMP_PDB_PROC_TYPE_EXTENSION… 2024-09-29 18:43:49 +02:00