13
0
Commit Graph

25360 Commits

Author SHA1 Message Date
e59b28de09 Templates: Dim the border around template description text. 2017-08-17 13:28:41 -05:00
5f0279ab06 Catch some exceptions during session loading. 2017-08-17 19:28:14 +02:00
8ecbf0486f Update GUI, session-format notifications, skip unusable in recent list 2017-08-17 18:52:07 +02:00
22055a07c0 Check major session file format version.
Don't allow to load sessions created with a newer version of Ardour
with an old one (no forward compatibility).
2017-08-17 18:32:49 +02:00
e62e040502 SessionDialog: hide created-with column in Ardour, use a tooltip. 2017-08-17 16:47:27 +02:00
a4ee2d3c17 Expose enums used in RCConfig and other missing classes to Lua. 2017-08-17 01:13:39 +02:00
76036ae0f3 Fix unit-test data (XML attributes changed) 2017-08-17 01:13:36 +02:00
431702ecbc Complete Lua-binding dump (after 8eb3b9d34b) 2017-08-16 21:00:23 +02:00
24cb141aa6 Revert "Revert ongoing SessionDialog changes for 5.11 release."
This reverts commit bd40b9132c.
2017-08-16 05:23:13 +02:00
bd40b9132c Revert ongoing SessionDialog changes for 5.11 release.
To be reverted again after the release. This temporarily reverts

26c88b2, c67d1d4, 5e41293, 8b7df13, ff61435, 1039894, 8717c0d
and GUI parts of 47d86cf
2017-08-16 01:17:35 +02:00
26c88b2a3e Replace advanced session-setup options with script 2017-08-16 00:51:20 +02:00
11aa1d60ae Add RCConfiguration Lua Bindings 2017-08-16 00:51:20 +02:00
9f87805d95 The Auditioner is not in the Session's RouteList
Remove various checks, add assert() for now (perhaps some old sessions?)
This fixes an off-by one issue when adding tracks (presentation
info order in add_routes_inner)
2017-08-16 00:51:20 +02:00
6ec133ebde Separate "add master bus" (and add Lua bindings)
This is in preparation for "advanced session setup" allow a SessionSetup
Lua script to create the master-bus.
2017-08-16 00:51:20 +02:00
1d8c7ef37a Clean up BusProfile:
* requested_physical_in/out was unused
 * input/output Autoconnect just overrides Preference/Config
   (can be done by a template script)
 * master_out_channels is kept for compatibility (allow to create
   new empty session)
2017-08-16 00:51:20 +02:00
b3dc75fed3 Prepare for removal of Advanced Session Options (BusProfile) 2017-08-16 00:51:20 +02:00
36c708c465 only button 1 click in mouse draw mode on MIDI automation regions should add events 2017-08-15 17:36:50 -04:00
Johannes Mueller
0c06860ed7 Simplify code of PluginDisplay::update_height_alloc()
Partly irrelevant code. A more elaborated resize height allocation behavior
won't be needed before the widget layout in the generic GUI is improved.
2017-08-15 19:13:05 +02:00
Johannes Mueller
c0326ec47e Make PluginDisplay::update_height_alloc() virtual
... so that it no longer hides
ProcessorBox::PluginInlineDisplay::update_height_alloc()
2017-08-15 18:23:34 +02:00
c2afd958ba Re-add template script debugging (after 7d48e80e) 2017-08-15 17:46:04 +02:00
87a1a6b7ae clean up 7aaaae8 2017-08-15 17:46:04 +02:00
c67d1d477e tone down frame color and use a better widget name 2017-08-15 10:48:29 -04:00
5e41293f9e NO-OP: indent and remove whitespace 2017-08-15 10:46:31 -04:00
8b7df135b1 put a frame around template description, change background color 2017-08-15 10:45:47 -04:00
7aaaae8bfe Initial checkin of a Full Band template script. 2017-08-14 22:03:57 -05:00
ff61435a88 Further tweaking of layout and packing. 2017-08-14 18:01:17 -05:00
1039894f34 Rationalize gtk box packing. 2017-08-14 17:37:29 -05:00
8717c0d3b0 Auto-select an Empty template. 2017-08-14 17:20:34 -05:00
47d86cf54d Change the template pulldown menu into a tree list. Populate the Description view when a template is selected. 2017-08-14 16:14:42 -05:00
0a0eec2adc Session Metadata: add a Description field.
* This is a multi-line text field.
* If the session is a template, we might show this in the New Session dialog.
2017-08-14 14:08:17 -05:00
a1143a0ed6 expose automation state controls in AutomationTimeAxisView when used for MIDI CC 2017-08-12 14:40:21 -04:00
b98969be94 do not set automation to off/manual for MIDI CC data when clearing such data 2017-08-12 14:40:21 -04:00
8402537493 use a lock to set/get AutomationList automation state
It isn't 100% clear that we should use the list's data lock, but it seems quite likely
that this is the correct design, because of the interlock between data being present
and automation state
2017-08-12 14:40:21 -04:00
3ff352be79 Maybe fix crash on Close Session -> Quit (windows threading) 2017-08-11 19:45:49 +02:00
7d48e80e5f Fix MSVC builds (binding external static members)
This Revert "Lua GUI Instance update: prepare for template scripts"
commit c37cdf548d.
2017-08-11 18:01:28 +02:00
acd73a9bf8 yet another Windows build fix (LV2 preset 89475b2c9) 2017-08-11 17:33:44 +02:00
ee839bda3d Fix Windows builds (amend 89475b2c) 2017-08-11 17:19:45 +02:00
89475b2c95 Fix LV2 Preset path for window 2017-08-11 16:54:39 +02:00
f27e53f485 Add support for scripted meta-templates. 2017-08-11 15:24:05 +02:00
62ce5465ca Prepare for templates w/description 2017-08-11 15:24:05 +02:00
e3edbcb806 Add a new script type for meta-templates: SessionSetup 2017-08-11 15:24:05 +02:00
a38cdb0ae3 Add template dropdown sensitivity
...for those who select a template but forget activate the checkbox and
wonder why it doesn't work :)
2017-08-11 15:24:05 +02:00
6ad4379b4d OSC: fix issue #7444 send fader position/gain even when 0. 2017-08-10 08:50:46 -07:00
d4a089937b Populate the buffer size combo when connecting to jack that is already running.
This would crash (throw) if ardour was started with an invalid backend
(alsa with no devices avaliable) and then changec to an alredy running
jack. The invalid backend at the start would leave the buffer
size combo empty and switching to the running jack backend did not populate
buffer size list.
2017-08-10 09:49:22 -05:00
d2d660521e Save sample-rate for sessions created from templates 2017-08-10 02:26:19 +02:00
8fbc2c6484 Add some more Lua script examples 2017-08-10 02:26:16 +02:00
e983e08f1d remove old PBD::SystemExec bindings (Windows classkeys) 2017-08-10 02:26:14 +02:00
418570b041 Update Lua os.exec, SystemExec API
We can't use Lua to construct a PBD::SystemExec Obejct. Lifetime of the
object is bound to the Lua interpreter or local function scope.
Destroying the C++ object terminates the process.

Additionally to adding a dedicated method, we also override the existing
os.execute Lua libary method with a rt-save (vfork, close filedescriptors)
wrapper.
2017-08-10 02:26:11 +02:00
80e0094ef4 Add support for templates to invoke one-time scripts 2017-08-10 02:26:08 +02:00
c37cdf548d Lua GUI Instance update: prepare for template scripts 2017-08-10 02:26:05 +02:00