Commit Graph

133 Commits

Author SHA1 Message Date
Robin Gareus 7837122e45 add a static function to access processor selection from a Lua script
local ps = ArdourUI.processor_selection()
  for p in ps:iter() do print (p:name ()) end
2016-08-26 03:24:06 +02:00
Robin Gareus 822810b88f the endless quest to plug memory leaks -- episode 379 2016-07-25 17:38:59 +02:00
Robin Gareus bcee4e1518 add a lua timer callback signal 2016-07-24 13:00:15 +02:00
Robin Gareus a450024c56 add some strategic lua gc steps. 2016-07-18 23:52:40 +02:00
Robin Gareus e9a2eea867 remove old a3_curl API and switch some curl calls
Keep freesound-moocher as is until freesound-apiv2 branch is merged
or rebased.
2016-07-18 16:46:59 +02:00
Robin Gareus 9c2682d6f1 quick hack to test SSL in bundles
this needs to be reverted, and we need a proper curl wrapper,
shared by video-timeline AND freesound moocher
2016-07-17 17:03:48 +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 97ef89357a remove useless binding (fixes broken windows build) 2016-07-05 02:38:02 +02:00
Robin Gareus d6338e6dfe unbind pangomm 1.30 API for compat. 2016-07-04 10:36:11 +02:00
Robin Gareus f49d0a1b1d add PangoCairo lua bindings 2016-07-04 00:20:11 +02:00
Robin Gareus d027ce8006 add Lua bindings for reference counted Cairo::ImageSurface 2016-07-02 23:36:34 +02:00
Robin Gareus 6d343ba3c6 fix LocaleGuard contstructor (3dc77280) 2016-05-07 12:19:41 +02:00
Robin Gareus 3dc7728038 we always only use the "C" locale when saving. 2016-05-05 21:49:56 +02:00
Robin Gareus d21f202905 add some more Editor Selection lua bindings 2016-04-11 14:06:26 +02:00
Robin Gareus 96d0e099bd add Lua bindings for Range Time Selection
```lua
print (Editor:get_selection ().time:start ())

for ar in Editor:get_selection ().time:iter () do
  print (ar.id, ar.start, ar._end)
end
```
2016-04-11 00:31:35 +02:00
Robin Gareus 2b943ea36c convenient API to access track and region selection 2016-04-10 20:56:53 +02:00
Robin Gareus e25dce8849 and a few more Editor lua bindings 2016-04-09 15:45:30 +02:00
Robin Gareus 7026d88a46 re-add std::vector<std::string> just for cairo's set_dash()
This fixes crash with the window version.
2016-04-05 00:00:06 +02:00
Robin Gareus 8acf782bd2 reduce header dependencies (part 2/2) 2016-03-28 19:14:56 +02:00
Robin Gareus 7bb1933734 fix out-of-order d'tor which garbles the lua stack. 2016-03-24 22:54:20 +01:00
Robin Gareus a8943538ea Hide lua script selector before showing lua parameter dialog. 2016-03-23 17:00:10 +01:00
Robin Gareus 627f2aae48 UI part of lua code/header consolidation. 2016-03-23 17:00:10 +01:00
Robin Gareus d062e1a84e further lua binding refactoring, match C++ namespaces 2016-03-22 00:30:27 +01:00
Robin Gareus 7083d711ac return values of reference params as Lua table 2016-03-21 18:58:09 +01:00
Robin Gareus 7079865bfc add missing GUI lua binding classe 2016-03-21 04:06:32 +01:00
Robin Gareus 93449d3431 expose Lua OSC transmitter 2016-03-19 13:15:37 +01:00
Robin Gareus ee2d88a5cc add basic set of Cairo Lua bindings 2016-03-17 15:54:54 +01:00
Robin Gareus 56c32a1e77 Expose PublicEditor Bindings to Lua 2016-02-29 12:01:37 +01:00
Robin Gareus 8032208656 resolve ambiguous ‘operator==’ (‘int’ vs ‘const luabridge::LuaRef’) 2016-02-27 13:48:01 +01:00
Robin Gareus 65bedf75f1 proper "false" check for MSVC compat
Lua "function call" returns false on error.
2016-02-27 13:14:00 +01:00
Robin Gareus a4cde4230c C++98 compat 2016-02-23 19:24:27 +01:00
Robin Gareus ac95f82529 fix optimized builds 2016-02-23 18:50:56 +01:00
Robin Gareus e54c77e642 Add Editor/UI Lua Scripting and Action/Callback Script 2016-02-23 15:41:35 +01:00