Commit graph

19 commits

Author SHA1 Message Date
Robin Gareus
3208535c20
Add method to look up Lua script by name 2019-12-12 20:53:17 +01:00
Robin Gareus
a22f918d9d
Update libardour GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
Robin Gareus
9748656a90
Sort Lua scripts case-insensitive and expose sort-struct 2019-07-18 15:52:29 +02:00
Robin Gareus
7c3fd2fe79 Glib throws a const FileError exception 2018-10-26 13:40:03 +02:00
Robin Gareus
bb5345614d Allow to pre-seed Lua action script params 2017-12-05 01:55:38 +01:00
Robin Gareus
d5e1f536a7 Allow to pass interpreter to evaluate action-script parameters
This allows to add bindings, in particular GUI dialog, to be registered
before evaluating the parameters.
2017-12-05 01:55:38 +01:00
Robin Gareus
5a8bdf40f2 Catch Lua exception when scanning scripts 2017-08-21 17:07:54 +02:00
Robin Gareus
fb745cc5a8 Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
Robin Gareus
e0a83a758e Redesign Session+Route Template Meta Script API
Remove special-cased script types. Allow Action-Scripts to be re-used
for session-setup or route-templates.
2017-08-18 20:42:55 +02:00
Ben Loftis
6c49d9555a Track Templates: initial lua backend support. 2017-08-17 13:31:45 -05:00
Robin Gareus
e3edbcb806 Add a new script type for meta-templates: SessionSetup 2017-08-11 15:24:05 +02:00
Robin Gareus
0191a9c4c2 Centralize Lua sandboxing 2017-08-10 02:25:49 +02:00
Robin Gareus
149634c2cf Allow to use any Lua function factory, produce bytecode 2017-02-17 18:58:11 +01:00
Robin Gareus
2eb58913e8 add const'ness (allowing LuaScriptList::const_iterator) 2016-10-10 23:49:19 +02:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Robin Gareus
e56c8f0309 don't special case lua processors, use plugin-manager 2016-04-29 02:57:42 +02:00
Robin Gareus
b7754af246 update lua script file management:
* clean up Script discovery API
* add "Snippet" script type
* expose user-script dir
* add temporary error-debug information
2016-03-23 23:42:38 +01:00
Robin Gareus
829da7eb33 refactor lua header includes 2016-03-23 17:00:10 +01:00
Robin Gareus
d8008b2db1 libardour lua-script-manager 2016-02-23 15:41:06 +01:00