Jehan
106d18605a
libgimpcolor, app: gimp_color_parse_(css|hex|name)() renamed with _substring() suffix.
...
New functions with the same name as these functions are created, except without
the length argument (i.e. it's equivalent to calling these with -1).
The reason for this is that using strings with a length variant which may be
negative to switch to NUL-terminated strings are not bindable. At least in our
case, when testing in Python, the input string ended up as corrupted garbage and
GObject Introspection docs warns about such interfaces:
> In particular, avoid functions taking a const char * with a signed length that
> can be set to a negative value to let the function compute the string length
> in bytes. These functions are hard to bind, and require manual overrides.
(see: https://gi.readthedocs.io/en/latest/writingbindableapis.html#strings )
So instead, I create a simple version which runs on NUL-terminated strings only
and which is bound, whereas unbinding the generic length-version (making it
C-only, or maybe usable in some other bindings which ignore the (skip)
annotation; apparently some do this).
2024-04-20 12:37:20 +02:00
..
2020-12-25 15:05:16 +01:00
2020-04-01 21:20:01 +00:00
2019-08-07 22:05:12 +02:00
2024-02-11 23:28:03 +01:00
2024-02-11 23:28:02 +01:00
2024-04-19 23:25:13 +02:00
2022-02-16 04:07:50 +00:00
2021-01-27 22:47:00 -05:00
2024-04-19 23:25:13 +02:00
2024-02-11 23:28:03 +01:00
2024-04-19 23:25:13 +02:00
2024-02-11 23:28:03 +01:00
2020-04-01 21:20:01 +00:00
2021-08-13 18:01:13 +00:00
2024-04-20 12:37:20 +02:00
2024-02-11 23:28:03 +01:00
2024-02-11 23:28:03 +01:00
2024-02-11 23:28:03 +01:00
2022-08-17 11:37:10 -04:00
2022-08-17 11:37:10 -04:00
2022-08-17 11:37:10 -04:00
2022-08-17 11:37:10 -04:00
2019-09-21 12:55:12 +02:00
2024-02-16 22:05:23 +01:00
2024-02-11 23:28:03 +01:00
2020-11-01 02:23:03 +01:00
2020-11-01 02:23:03 +01:00
2024-02-11 23:28:03 +01:00
2024-03-19 04:40:14 +00:00
2024-04-09 00:48:35 +00:00
2024-02-17 11:24:00 +01:00
2024-02-11 23:28:03 +01:00
2024-02-11 23:28:03 +01:00
2024-01-18 13:20:21 +00:00
2024-04-11 14:59:15 +00:00
2023-10-01 21:02:33 +02:00
2021-08-22 12:22:50 +02:00
2020-01-06 21:35:52 +02:00
2019-08-03 07:53:47 +00:00
2019-08-03 07:53:47 +00:00
2020-05-21 13:49:38 +02:00
2020-05-18 13:00:58 +02:00
2019-08-08 00:01:10 +02:00
2020-10-30 11:02:20 +01:00
2020-10-30 11:02:20 +01:00
2023-04-22 03:01:16 +00:00
2023-05-24 17:18:38 +02:00
2019-08-09 13:11:30 +02:00
2023-08-13 12:05:58 +00:00
2024-02-06 15:10:32 +01:00
2024-04-16 19:54:06 +02:00
2020-12-25 15:04:21 +01:00
2020-05-04 21:31:30 +02:00
2022-06-17 17:50:18 +02:00
2022-06-15 21:18:37 +02:00
2023-01-10 17:48:05 +01:00
2023-01-10 17:48:05 +01:00
2024-04-19 23:25:13 +02:00
2024-02-11 23:28:02 +01:00
2022-02-17 23:24:05 +01:00
2022-02-17 23:24:05 +01:00
2022-02-17 23:13:42 +01:00
2022-02-17 23:13:42 +01:00
2020-11-20 11:36:11 +01:00
2020-11-20 01:47:18 +01:00
2024-04-16 21:44:22 -04:00
2020-11-25 02:32:22 +01:00
2023-10-01 20:52:02 +02:00
2023-10-01 20:52:02 +02:00
2020-12-25 15:05:16 +01:00
2021-11-14 11:22:24 +00:00
2019-08-03 07:53:47 +00:00
2023-08-25 19:41:42 +00:00
2020-12-25 15:02:09 +01:00
2024-04-09 00:48:35 +00:00
2024-04-09 00:48:35 +00:00
2024-04-12 12:24:53 +02:00
2024-04-09 00:48:35 +00:00
2022-10-11 00:29:57 +02:00
2024-04-09 00:48:35 +00:00
2021-12-14 23:15:49 +01:00
2024-04-09 00:48:35 +00:00
2024-04-09 00:48:35 +00:00
2023-07-21 15:35:23 -04:00
2024-04-19 23:25:13 +02:00
2023-10-01 21:02:33 +02:00
2024-04-19 23:25:13 +02:00
2023-10-01 21:02:33 +02:00
2019-08-07 22:48:06 +02:00
2020-05-08 15:26:42 +02:00
2023-10-25 16:15:04 +00:00
2023-07-21 15:35:23 -04:00
2020-11-05 18:06:52 +01:00
2024-03-19 04:40:14 +00:00
2021-12-12 22:27:48 +01:00
2021-08-22 12:22:50 +02:00
2020-07-14 13:00:55 +03:00
2024-04-15 22:31:35 +00:00
2023-01-23 23:28:15 +01:00
2023-10-01 20:52:02 +02:00
2023-10-01 20:52:02 +02:00
2023-06-23 00:46:20 +02:00
2020-05-10 12:06:33 +00:00
2020-05-10 12:06:33 +00:00
2019-08-03 07:53:47 +00:00
2019-08-13 11:50:51 -04:00
2024-02-11 23:28:02 +01:00
2024-02-11 23:28:04 +01:00
2020-05-21 13:49:38 +02:00
2024-02-17 11:24:00 +01:00
2023-10-01 20:52:02 +02:00
2022-08-01 20:00:01 +02:00
2021-04-22 17:45:32 +00:00
2021-08-13 18:01:13 +00:00
2022-06-15 21:18:37 +02:00
2024-04-16 09:26:00 +00:00
2024-02-11 23:28:03 +01:00
2021-04-22 17:45:32 +00:00
2024-02-28 05:53:54 +00:00
2020-01-06 21:35:52 +02:00