Peter Hutterer
1132b37f0b
modules: fix g_file_test for regular files
...
From the g_file_test documentation:
"For example, (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR) will return TRUE if
the file exists; the check whether it's a directory doesn't matter since the
existence test is TRUE. With the current set of available tests, there's no
point passing in more than one test at a time."
2021-07-15 15:17:01 +00:00
George Kiagiadakis
c2834ea344
lua: remove the ability to specify spa_libs in the lua config
...
This is not useful, we can do this on the pipewire-style config files
2021-04-22 17:44:17 +03:00
George Kiagiadakis
dacf19d9c7
wplua: improve gvariant <-> lua conversion functions
...
* Add more generic lua -> gvariant conversion
* Cleanup the gvariant -> lua function and rename it
2021-02-15 14:43:18 +02:00
George Kiagiadakis
41a4c89a41
lua/config: load split config files in alphanumeric order
2021-02-13 11:55:00 +02:00
George Kiagiadakis
460ff6591d
wplua: allow exchanging arguments and results with scripts
2021-02-03 17:16:51 +02:00
George Kiagiadakis
ef9b6ef982
m-lua-scripting: use wplua_table_to_asv() instead of custom function
2021-02-03 17:16:51 +02:00
George Kiagiadakis
ddf7eb1ecb
m-lua-scripting: fixes
2021-02-03 17:16:51 +02:00
George Kiagiadakis
2d2668100c
m-lua-scripting: refactor as a WpComponentLoader
...
also, add support for loading lua config files, denoted by the
"config/lua" component type
2021-02-03 17:16:51 +02:00