13
0
Commit Graph

25396 Commits

Author SHA1 Message Date
c0e513de76 Track templates: clean-up widget sensitivity based on selection. 2017-08-22 14:35:50 -05:00
62fc4621e5 RouteDialog: implicit "Add (+close)" on <enter> or double-click 2017-08-22 17:28:08 +02:00
201d536ee9 Reset RouteDialog: name edited by-user
* after each "Add" operation
* when cleaning the name field
2017-08-22 17:07:42 +02:00
28a7e4a3e0 Tweak RouteDialog bottom area 2017-08-22 16:45:14 +02:00
052ca8e0de Track Templates: yet another layout tweak. 2017-08-22 09:19:11 -05:00
180cbb0af9 Remove cruft 2017-08-22 15:06:43 +02:00
ca2d254fdb OSC cue button up events should not be errors, fixed 2017-08-21 20:08:19 -07:00
9d1a793fec Mark session dirty after applying MIDI transform 2017-08-22 04:12:18 +02:00
d2371a6a90 MIDI Transform channel-count 1..16 (not 0..15) 2017-08-22 04:09:19 +02:00
05247255fe Add Lua bindings for ArdourUI's translate_order()
e.g. calculate the route insert position:
print (ArdourUI.translate_order (ArdourUI.InsertAt.BeforeSelection))
2017-08-22 03:12:07 +02:00
39a3705d3a RouteDialog: retain prior type selection 2017-08-22 02:17:22 +02:00
3164f4ac30 remove debug output 2017-08-22 02:11:56 +02:00
735d791e42 RouteDialog: Move built-in types into template list experiment 2017-08-22 02:03:47 +02:00
ab621b550d OSC: /cue/enable feedback not changing fixed 2017-08-21 12:10:27 -07:00
efd7293847 Fix spacing in french usage strings 2017-08-21 19:46:04 +02:00
6b810b67d9 OSC: aux bus detection fixed for mixbus 2017-08-21 08:40:22 -07:00
5a8bdf40f2 Catch Lua exception when scanning scripts 2017-08-21 17:07:54 +02:00
Paul Hedderly
18060e597e prh: Small fix to /cue/send/enable feedback string 2017-08-21 16:23:23 +02:00
f0387f07bd AddRouteDialog: Indicate Type: template 2017-08-21 16:10:48 +02:00
1c4eb82365 Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour) 2017-08-21 09:22:44 +01:00
0034f246cb Fix some GUI side XML node mem-leaks 2017-08-20 22:26:54 +02:00
f15fc38bd8 Fix a tiny memory leak 2017-08-20 22:23:10 +02:00
Johannes Mueller
258fa81d90 Strip trailing whitespace in template descriptions 2017-08-20 21:09:30 +02:00
Johannes Mueller
70addf1ed0 TemplateDialog: Lable the RESPONSE_OK button "Done" rather than "Ok"
Labeling it "Ok" would imply that by clicking it, descriptions would be saved
without further interaction. If we did so, we would also need to add a
cancel-button or handle simple closing of the dialog window appropriately.
2017-08-20 21:09:30 +02:00
Johannes Mueller
c6ecd2a6e1 TemplateDialog tweaks
* don't ask whether to save the description when renaming the template

* sane behavior when a template is deleted
2017-08-20 21:09:30 +02:00
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