George Kiagiadakis
7c617742a9
lua: add g_get_real/monotonic_time() bindings
...
Useful to tag objects with their creation time
2021-04-13 19:33:06 +03:00
George Kiagiadakis
21dccd5edb
lua: add a Debug.dump_table() utility function
...
Prints a table recursively with print()
2021-04-09 15:52:17 +03:00
George Kiagiadakis
0ecefcb55d
policy-node: use default-nodes-api plugin
2021-03-31 13:10:13 +03:00
George Kiagiadakis
fd2ddffdd7
lua: s/Feature.Object.ALL/Features.ALL/
...
It looks nicer to have groups of features in 'Features.'
instead of 'Feature.'
2021-03-29 18:35:35 +03:00
Julian Bouzas
120aab04ae
session-item: refactor and inherit from WpObject
...
This adds WP_SESSION_ITEM_FEATURE_ACTIVE and WP_SESSION_ITEM_FEATURE_EXPORTED
features, so _activate and _export APIs have been removed. Modules and unit
tests have also been updated.
2021-03-18 14:30:05 -04:00
Julian Bouzas
003afc3e7b
m-lua-script: add closure for object_activate API
2021-03-15 07:52:55 -04:00
George Kiagiadakis
15a74052a1
lua/api: add Link() constructor
2021-03-03 13:15:13 +02:00
George Kiagiadakis
d0113e54cb
m-lua-scripting/pod: push pod constructors using luaL_newlib instead of manually
2021-02-05 12:11:15 +02:00
Julian Bouzas
81163a52c0
m-lua-scripting: add WpSpaPod api
2021-02-05 08:47:27 +00:00
George Kiagiadakis
02142b899b
m-lua-scripting/api: add WpCore bindings
2021-02-04 13:52:24 +02:00
George Kiagiadakis
03b17bcb5f
m-lua-scripting/api: add WpImplSession bindings
2021-02-03 17:16:51 +02:00
George Kiagiadakis
13a56a7472
lua: add wp_plugin_find binding
2021-01-26 16:36:47 +02:00
Julian Bouzas
62f819013d
m-lua-scripting: add session item lua API
2021-01-22 10:04:37 -05:00
George Kiagiadakis
b88ff15725
m-lua-scripting: add bindings required for device monitors
...
WpDevice, WpSpaDevice, WpNode, WpImplNode, WpObject and object features
2021-01-21 09:42:07 +02:00
George Kiagiadakis
879f771d7f
modules: implement module-lua-scripting
...
a module that allows loading and executing Lua
scripts from a configured directory
2020-12-20 18:10:22 +02:00