wireplumber/modules/module-lua-scripting
George Kiagiadakis 38f7483793 state: remove support for groups and propagate save errors
There is no real use for groups in our API. Just use the name of
the file as the default group and be done with it...
Storing multiple groups with this API is problematic because it
forces flushing the file to disk multiple times, one for each group,
and it's just more performant if we use a prefix in the keys
to implement some form of logical separation.

This commit also makes the GKeyFile a temporary object. As we
always load the file from the file system in _load()
and we always replace its contents with a new dictionary in _save(),
there is no point in keeping the keyfile's internal data structures
stored in memory.

Save errors are now also propagated to adhere to the programming
practices of GObject
2021-06-04 18:36:19 +03:00
..
api.c state: remove support for groups and propagate save errors 2021-06-04 18:36:19 +03:00
api.lua lua: add WpState bindings 2021-06-02 19:38:51 +03:00
config.c lua: remove the ability to specify spa_libs in the lua config 2021-04-22 17:44:17 +03:00
gresource.xml modules: implement module-lua-scripting 2020-12-20 18:10:22 +02:00
pod.c spa-pod: respect the SPA size for long and int APIs 2021-05-12 11:53:31 -04:00
require.c lua: add a Core.require_api() utility function 2021-04-09 15:52:17 +03:00