Commit graph

24953 commits

Author SHA1 Message Date
Len Ovens
620f3b9358 Change actions to -A and use -b to output keybindings 2017-04-28 08:19:20 -07:00
Robin Gareus
cbe1f5d395 extend 3cda0e2a: Don't switch to range-mode if not needed for similar OPs. 2017-04-28 15:07:41 +02:00
Robin Gareus
3cda0e2a93 When in smart-mode, don't switch to range-mode after "set range selection"
closes #7332
2017-04-28 14:57:13 +02:00
Robin Gareus
a8b545661f Open session folder when selecting path 2017-04-28 14:33:06 +02:00
Robin Gareus
ecda1a8f55 Allow "remove from recent" only for top-level 2017-04-28 14:32:37 +02:00
Robin Gareus
695a74e2a8 try work-around occasionally misplaced app icons in dmg (set twice) 2017-04-27 21:19:27 +02:00
Robin Gareus
1ebf35f137 Allow to hide engine dialog w/o unloading session. 2017-04-27 21:10:37 +02:00
Robin Gareus
6ece6ed407 EngineDialog: immediadely push latency changes to running backends 2017-04-27 21:10:10 +02:00
Robin Gareus
cba2543131 NO-OP: whitespace 2017-04-27 21:09:12 +02:00
Robin Gareus
6e9c10db19 Fix flow for measuring latencies of live backends 2017-04-27 21:07:18 +02:00
Robin Gareus
0d668b9beb ALSA backend: always register ports with systemic latency
and allow re-start to un/set reporting latency.
2017-04-27 20:59:15 +02:00
Robin Gareus
2039fc6fd0 Don't directly call into engine to stop latency detection. 2017-04-27 19:45:56 +02:00
Robin Gareus
c25640f336 Fix flow for latency measurements that needs an engine stop.
Make AudioEngine::prepare_for_latency_measurement() idempotent. There are
multple calls (when switching to the measurement page and every time
a measurement is preformed).

Also the Stopped() signal is important for the Dialog state regardless
if the engine was stopped for latency or not.
2017-04-27 19:43:34 +02:00
Robin Gareus
410f94cf1b Fix Editor/Mixer visibility (OSX, NSGLCanvas)
Only unpacking a widget retains the GdkWindow and and the widget is still
mapped. The NSView is still visible. See also 235631a6.
2017-04-27 16:23:48 +02:00
Robin Gareus
4521c1d525 Annotate CC-to-Automation Lua-script and fix start/pos offset. 2017-04-27 15:36:50 +02:00
Robin Gareus
f9f9006a90 Consistent button visibility (mixer-strips + VCAs) 2017-04-27 00:25:57 +02:00
Robin Gareus
1398dd8914 Fix nested VCA assigns and mixer-layout:
Show initial VCA assign button on all mixer-strips and VCAs if
there's no assignment.
2017-04-27 00:11:18 +02:00
Robin Gareus
544031cecf fix a -Wreorder following d837914e2 2017-04-26 23:42:47 +02:00
Robin Gareus
0b5db91ee9 AutomationLine time-unit conversion and paste API update
This fixes copy/paste of MIDI automation (time-unit: beat) from/to
Parameter automation (time-unit: samples).

It also fixes repeatedly pasting with tempo-ramps: pre-multiply length
before converting to samples.
2017-04-26 23:37:27 +02:00
Robin Gareus
8bb26628e3 Skip script-setup if there are no parameters (and name is unique) 2017-04-26 19:45:22 +02:00
Tim Mayberry
4b4d64dd7f Use a const iterator for sorted RouteList in Session::state 2017-04-26 17:36:58 +10:00
Tim Mayberry
3589740d69 Sort Route xml node order by PBD::ID instead of by PresentationInfo
This prevents the node order from changing when the display order of the Routes
changes, which helps to reduce the amount of Session file change.

This is useful for testing and if keeping sessions under version control.

Resolves: #7327
2017-04-26 17:36:58 +10:00
John Emmas
21f5f434c6 Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour) 2017-04-26 08:09:35 +01:00
Robin Gareus
d8c926979e Assume VST chunks are portable (Mac, Linux, Windows VST) 2017-04-25 18:40:43 +02:00
Robin Gareus
54e374f272 Fix conversion in 41b997a90 (monitor cut, invert) 2017-04-25 17:22:54 +02:00
Robin Gareus
b8a7b444e2 Update LuaDialog scripts 2017-04-25 16:46:21 +02:00
Robin Gareus
35aa4f692a Lua Dialog refinements:
* Add Heading Widget
* Swap OK/Cancel Buttons
* Update table layout (spacing + alignment)
* Some whitespace tweaks
2017-04-25 16:45:18 +02:00
Robin Gareus
441cc5b485 Add missing Lua ClassKeys (windows build) 2017-04-25 15:48:14 +02:00
Robin Gareus
7d0193606c Fix Windows build: declare static class-keys (amend 201fd5574) 2017-04-25 14:05:34 +02:00
Robin Gareus
6efa5d4be2 Update CC-to-Automation script: use Lua-Dialog for parameters 2017-04-25 14:01:38 +02:00
Robin Gareus
72017b6117 Add a Lua script to exercise the LuaDialog 2017-04-25 14:01:34 +02:00
Robin Gareus
f5995661d0 Lua: Action Script Dialog & MessageBox 2017-04-25 14:01:22 +02:00
Robin Gareus
7652f4edf2 Some more Lua ARDOUR::Plugin bindings 2017-04-25 14:01:02 +02:00
Robin Gareus
c3390a2c4b Add an API to conveniently query plugin-parameter labels 2017-04-25 14:01:00 +02:00
Robin Gareus
a6ace9996b Expose ArdourDropdown's menu for submenu packing 2017-04-25 11:29:07 +02:00
Robin Gareus
87acc60674 Remove old special case (ArdourDialog::on_response hides the dialog) 2017-04-25 03:55:51 +02:00
Robin Gareus
7fc73ae67e de-select WASAPI by default 2017-04-24 21:08:32 +02:00
Robin Gareus
061f005ac3 Add example script to convert MIDI-CC to Plugin Automation 2017-04-24 04:21:25 +02:00
Robin Gareus
b7b1ccc8b6 Simplify example script
Now that AutomationList is-a ControlList no explicit cast is needed.
2017-04-24 04:21:25 +02:00
Robin Gareus
201fd55743 Add ControlEvent Lua bindings and related methods to access MIDI-CC 2017-04-24 04:21:25 +02:00
Robin Gareus
d837914e28 Swap inheritance, simplifies Lua Bindings 2017-04-24 04:21:25 +02:00
Tim Mayberry
1b2bc203ac Add regions at once rather than individually when restoring Selection state
This is a workaround for performance issues with the current implementation
when adding many regions to the selection one at a time.

If the Selection implementation was to change at some point and adding regions
to the selection only takes a small constant amount of time, then this
optimization may no longer be necessary.

Related to: #7274
2017-04-24 08:41:30 +10:00
Len Ovens
68883cbb56 Changed "ardour" to PROGRAM_NAME 2017-04-22 15:32:48 -07:00
Robin Gareus
c0df127dc4 Close all dialogs when closing a session (not only at exit). 2017-04-22 23:06:22 +02:00
Robin Gareus
1e8462f45e Reset process-graph semaphores on engine-restart 2017-04-22 23:06:22 +02:00
Robin Gareus
9c0ba3b3d5 Add mechanism to reset/lock semaphores 2017-04-22 23:06:22 +02:00
Robin Gareus
629e6cbefb remove unused semaphore 2017-04-22 23:06:22 +02:00
Robin Gareus
8e038da828 NO-OP: whitespace 2017-04-22 23:06:22 +02:00
Robin Gareus
8969ded7e1 Privatize non-public methods 2017-04-22 23:06:22 +02:00
Len Ovens
b81d6a6160 Set -b switch to only two columns, correct options text. 2017-04-22 08:07:35 -07:00