13
0
Commit Graph

25621 Commits

Author SHA1 Message Date
Johannes Mueller
ea3f58a27f Clear and deactivate description editor widget when nothing is selected 2017-08-20 21:09:30 +02:00
Johannes Mueller
43b69e1fa3 TemplateDialog: keep private things private and header files simple 2017-08-20 21:09:30 +02:00
Johannes Mueller
d2c163e788 Make literals in libs/ardour/template_utils.cc translatable 2017-08-20 21:09:30 +02:00
Johannes Mueller
c834e88e9e Ask user whether to save or discard unsaved template descriptions 2017-08-20 21:09:30 +02:00
Johannes Mueller
bd4db1e151 Remove the template description XMLNode before saving the template
... to avoid that the new template description is concatenated to the old one.
2017-08-20 21:09:30 +02:00
Johannes Mueller
419b1c1cfd Extract the route template descriptions
... and put them into the template info list.
2017-08-20 21:09:30 +02:00
Johannes Mueller
bb20327959 Pass session description or route comment as default description
... to SaveTemplateDialog
2017-08-20 21:09:30 +02:00
Johannes Mueller
c5c3498e98 Use const wherever you can 2017-08-20 21:09:30 +02:00
Johannes Mueller
e5a41084f3 Name tweak (more consistent with other code) 2017-08-20 21:09:30 +02:00
Johannes Mueller
245154d06a Let user add a route template description on saving route templates 2017-08-20 21:09:30 +02:00
Johannes Mueller
ae51d5fd4e Let the user add a template description on saving session templates 2017-08-20 21:09:30 +02:00
Johannes Mueller
908369ab3e Save template description at toplevel rather than in <Metadata/> 2017-08-20 21:09:30 +02:00
Johannes Mueller
e933db1a12 Make template descriptions editable in template manager 2017-08-20 21:09:30 +02:00
7a05ccb484 Tweak generic audio-track template
* Demo Factory method producing different functions
* Allow to run interactively as Action script
2017-08-20 19:15:37 +02:00
c399954148 Don't use references for constant c-types
This fixes various Lua-scripts: There are no explicit bindings to
turn int64_t, uint64_t into a const reference.

Besides it doesn't make sense to use a reference for constant _t that can
be directly loaded in CPU register or on the stack.
2017-08-20 19:02:17 +02:00
7bd4a41cdb Tweak route-dialog layout & sensitivity 2017-08-20 03:46:36 +02:00
1a70a2f977 Cont'd work on route-templates 2017-08-20 00:18:58 +02:00
9f1350a833 Fix "Track Wizard" script
* do check if plugins are available
* only instantiate plugins if they're used (no dangling references)
* check if plugin instantiation worked, before adding them
* fix typos for stereo setup of drum-room & overhead
* add channel-count warning
2017-08-19 23:32:09 +02:00
f62629f30f More template re-naming
Unify "track-band" & "session-band" setup scripts
2017-08-19 22:52:45 +02:00
c44979566d remove unused header (fixes OSX builds)
cocoacarbon.mm -> ardour_ui.h -> LuaBridge.h
Apple's  "Nil" vs Lua "Nil"
2017-08-19 22:30:00 +02:00
92521b7d74 unify session-template names 2017-08-19 22:28:25 +02:00
91a2cf7901 Backwards compatible LuaDialog layout (+new colspan option) 2017-08-19 03:12:28 +02:00
d3b341d5c2 Fix copy/paste typo in e0a83a7 2017-08-19 02:36:36 +02:00
e3475f8ae8 NO-OP: whitespace & style 2017-08-19 01:39:43 +02:00
722ac7575a Revert non "aesthetic tweaks" from f614d10994 2017-08-19 01:34:27 +02:00
a07465ceaa NO-OP: whitespace 2017-08-19 01:29:27 +02:00
2cc32456ab Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
fb745cc5a8 Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
2a9bf034bb Templates: Mostly working tabular script. 2017-08-18 16:40:14 -05:00
d7cd457bdf Templates: basic support for columns in the script dialog. 2017-08-18 16:40:14 -05:00
ba5c19be4c Templates: first stab at a dialog with tabular layout. 2017-08-18 16:40:14 -05:00
f614d10994 Templates: aesthetic tweaks. 2017-08-18 16:40:14 -05:00
Paul Hedderly
0f00b1a28e prh: Added version 1b of my Mixbus Mix controller.
- Much of it is directly applicable to Ardour obviously, but some parts
  wont do anything
2017-08-18 23:03:58 +02:00
6edb3f8f9e Update Route-template example script & documentation 2017-08-18 22:45:47 +02:00
be6abce398 Add Lua binding to un/assign VCAs 2017-08-18 22:00:24 +02:00
08c1300718 Remove old destructive API (non layered is a dynamic mode) 2/2 2017-08-18 21:12:45 +02:00
af103cf3c2 Remove old destructive API (non layered is a dynamic mode) 1/2 2017-08-18 20:59:52 +02:00
b98712ff5b amend e0a83a75 RouteDialog + script details 2017-08-18 20:56:30 +02:00
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
e951e68780 Add luaRef is Boolean 2017-08-18 20:42:55 +02:00
3421c6e814 NO-OP: whitespace 2017-08-18 09:42:04 -04:00
f84bebbb30 strip <Actions>/ from displayed path when printing bindings to HTML 2017-08-18 09:42:04 -04:00
91dcccb12b Fix quantization end-grid size. 2017-08-18 12:49:34 +02:00
013e3e84be Fix MIDI Quantization for internationalized Ardour.
Grid-settings are translatable, parsing a number from a translated string
e.g. "Quart de temps" for "Beats/4" failed.
2017-08-18 12:49:06 +02:00
f85c320759 Push user track-templates to the template list 2017-08-18 02:38:25 +02:00
bfee5a65d2 Fix typo in 952b8e1d74 2017-08-18 01:12:05 +02:00
952b8e1d74 Initialize an uninitialized variable 2017-08-18 00:18:59 +02:00
44657d8fc6 NO-OP: whitespace & scope 2017-08-18 00:18:18 +02:00
5ed68fd2f8 NO-OP: whitespace 2017-08-18 00:11:55 +02:00
38a029c069 Expose Lua bindings to create/delete VCAs 2017-08-18 00:11:55 +02:00