Gimp/libgimpbase
Niels De Graef 89c359ce47 Remove GimpUint8Array in favor of GBytes
GLib has a specific type for byte arrays: `GBytes` (and it's underlying
GType `G_TYPE_BYTES`).

By using this type, we can avoid having a `GimpUint8Array` which is a
bit cumbersome to use for both the C API, as well as bindings. By using
`GBytes`, we allow other languages to pass on byte arrays as they are
used to, while the bindings will make sure to do the right thing.

In the end, it makes the API a little bit simpler for everyone, and
reduces confusion for people who are used to working with byte arrays
in other C/GLib based code (and not having 2 different types to denote
the same thing).

Related: https://gitlab.gnome.org/GNOME/gimp/-/issues/5919
2023-05-23 23:37:50 +02:00
..
.gitignore libgimp*: add GI's .dirstamp to .gitigore 2019-08-03 19:50:17 +02:00
gimpbase-private.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpbase-private.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpbase.def Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimpbase.h app, libgimpbase: move lots of GValue and GParamSpec types to libgimpbase 2019-07-26 15:54:33 +02:00
gimpbaseenums.c libgimpbase: Add Middle Gray fill option 2023-04-24 10:25:58 +00:00
gimpbaseenums.h libgimpbase: Add Middle Gray fill option 2023-04-24 10:25:58 +00:00
gimpbasetypes.c Fix various typos 2019-09-21 17:10:46 +00:00
gimpbasetypes.h Revert "Don't forget to include <glib-object.h>" 2020-05-21 22:39:10 +02:00
gimpchecks.c devel-docs, libgimpbase: getting rid of gimp_checks_get_shades(). 2022-05-14 17:43:39 +02:00
gimpchecks.h devel-docs, libgimpbase: getting rid of gimp_checks_get_shades(). 2022-05-14 17:43:39 +02:00
gimpcompatenums.c app, libgimp*: commit the newly generated *enums.c files. 2022-08-01 20:00:01 +02:00
gimpcompatenums.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcpuaccel.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcpuaccel.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpenv.c libgimpbase: fix annotations. 2023-01-24 19:59:40 +01:00
gimpenv.h libgimpbase: avoid double definition of exported variables on Windows 2020-06-10 18:29:23 +03:00
gimplimits.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpmemsize.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpmemsize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpmetadata.c plug-ins: issue #7658 add support for unregistered xmp namespaces 2023-05-22 11:57:08 -04:00
gimpmetadata.h libgimp: manage boolean "save-comment" properties automatically 2019-10-10 01:30:29 +02:00
gimpparamspecs.c Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimpparamspecs.h Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimpparasite.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimpparasite.h Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimpparasiteio.c libgimpbase: always allocate GimpPixPipeParams.placement, add docs 2019-07-24 02:09:49 +02:00
gimpparasiteio.h libgimpbase: remove obsolete members from struct GimpPixPipeParams 2019-07-24 02:22:47 +02:00
gimpprotocol.c Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimpprotocol.h Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
gimprectangle.c gir: Add more (out) tags when appropriate 2020-05-03 17:35:01 +02:00
gimprectangle.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpreloc.c Remove another error message 2021-10-20 00:29:37 +01:00
gimpreloc.h libgimpbase: clean up the linux relocation code 2013-01-27 22:26:29 +01:00
gimpsignal.c libgimpbase: some annotation and doc fixes 2019-08-07 23:32:15 +02:00
gimpsignal.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpunit.c libgimpbase: return 0 for GIMP_UNIT_PIXEL in gimp_unit_get_factor(). 2019-08-17 12:12:40 +02:00
gimpunit.h libgimpbase: make the GimpParamSpecUnit struct public 2019-07-30 15:03:03 +02:00
gimputils.c Add gimp_bind_text_domain () utility function 2023-01-24 14:48:44 +00:00
gimputils.h Add gimp_bind_text_domain () utility function 2023-01-24 14:48:44 +00:00
gimpvaluearray.c libgimbase: add gimp_value_array_copy() 2023-05-21 18:56:32 +02:00
gimpvaluearray.h libgimbase: add gimp_value_array_copy() 2023-05-21 18:56:32 +02:00
gimpversion.h.in Meson port. 2019-09-11 16:42:04 +02:00
gimpwin32-io.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpwire.c libgimpbase: add _gimp_wire_{read,write}_int64() 2018-11-19 16:51:23 -05:00
gimpwire.h libgimpbase: add _gimp_wire_{read,write}_int64() 2018-11-19 16:51:23 -05:00
Makefile.am app, libgimp*: add various stamp files to CLEANFILES. 2022-08-01 23:34:50 +02:00
Makefile.gi libgimp*: move GObject Introspection into libgimp/. 2019-08-08 15:59:44 +02:00
meson.build meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
test-cpu-accel.c