13
0
Commit Graph

27109 Commits

Author SHA1 Message Date
efc858dc81 Drop the "Lua" in Lua Action Buttons:
Removed the term "Lua", because users were turned off by something they didn't understand.
A special-case Lua script ("Shortcut") allows the user to select an arbitrary Action.
The "Shortcut" script is selected by default, and in this case there is no "Type" or "Author" displayed.
Action-Buttons may still trigger Lua scripts, as a secondary function.
2017-12-07 11:08:26 -06:00
561c8eea0c Prototype to allow embedding sysex in midi-map 2017-12-06 16:33:58 +01:00
ab5be61f51 Accommodate newly added/removed source(s) in our MSVC project (libardour) 2017-12-06 10:51:53 +00:00
c0f3465304 Add example Lua script to send raw MIDI (sysex) from file 2017-12-05 16:09:52 +01:00
4a66edd480 Add Lua bindings for MIDI-parser and Async ports 2017-12-05 16:09:49 +01:00
332a7e56ca Increase ALSA max MIDI msg size to 128 bytes (same as OSX) for long sysex 2017-12-05 16:09:46 +01:00
4cab03887c Add a Raw MIDI parser (based on ALSA raw MIDI) 2017-12-05 16:09:42 +01:00
a499c7139f Add an action script to call access actions.. 2017-12-05 01:55:38 +01:00
b6124f0189 Sort LuaDialog dropdown entries by key-name 2017-12-05 01:55:38 +01:00
d96c516ae9 Add Lua binding to query action-list 2017-12-05 01:55:38 +01:00
f3be5bb421 Lua Script-Selector update
* register bindings for action_param
 * honor pre-seeded value (don't ask)
 * allow to pre-seed a script-name
 * allow to cancel interactive script load at parameter-stage
2017-12-05 01:55:38 +01:00
bb5345614d Allow to pre-seed Lua action script params 2017-12-05 01:55:38 +01:00
d5e1f536a7 Allow to pass interpreter to evaluate action-script parameters
This allows to add bindings, in particular GUI dialog, to be registered
before evaluating the parameters.
2017-12-05 01:55:38 +01:00
2c4a8d2d25 OSC: Add custom bank creation and use 2017-12-02 08:18:53 -08:00
9aab9bc229 A couple of minor changes when #including <utime.h> 2017-12-02 11:46:20 +00:00
1dd52464aa Add some devices to the reserved list of midi controllers. 2017-11-30 09:13:06 -06:00
Markus Seeber
5d17c6aac3 Fix error when $PATH contains whitespaces
Previously, if $PATH contains whitespaces the startup script would split
the new exported $PATH on the first whitespace. This was observed on an
Ubuntu system where $PATH contained a directory with whitespaces.

The change adds weak quotation around the new path to prevent expansion
of whitespaces. $PATH though, is still expanded.
2017-11-30 13:43:56 +01:00
c91a7c4263 Fix Windows builds (amend a3ec16)
Since scanner.cc defines NO_OLDNAMES, utime.h needs to be included
first.
2017-11-29 18:53:06 +01:00
a3ec164450 Set VST cache file mtime to be at least as new as the plugin
Fixes issues with timezones when installing pluins from a .zip
2017-11-29 15:08:25 +01:00
7b8646f340 OSX packaging: don't create empty Plugins dir 2017-11-29 12:06:42 +01:00
d1183770de ArdourButton: ignore double+tripple clicks 2017-11-29 12:06:42 +01:00
5fd723b1f0 Update LuaProc GC stat calc 2017-11-29 12:06:42 +01:00
77d16999b5 Tweak Lua GC 2017-11-29 12:06:42 +01:00
44cf448839 update to lua-5.3.4 2017-11-29 12:06:42 +01:00
06ea56a2ce OSC: add /select/plugin/activate cause some add deactivated
And clean up plugin code as well
2017-11-28 12:33:20 -08:00
3856d525fb Fix "open folder" for non-ASCII paths on Windows 2017-11-27 00:42:55 +01:00
7a7fc60a8d Remove unused API 2017-11-26 09:51:00 +01:00
e02952a26c Sidechain latency compensation - part one
This properly sets the port-latencies of PluginInsert owned ports as well
as handles external sends (send-target playback latency).

NB. This needs more work to ensure that Sidechain input port playback
latency is set before the feeding send queries it the connected latency.
Re-ordering process may change sidechain or external-send latencies,
but since re-ordering does not change the route's latency,
engine.update_latency() may not be called.
2017-11-26 09:51:00 +01:00
f149fd2653 Add convenience methods to set port latencies 2017-11-26 09:51:00 +01:00
da467cf39b OSC: Only send new select send values
no clear first, no double send
2017-11-23 12:04:54 -08:00
155156cfb2 OSC personal monitor fix off by one bug. 2017-11-23 12:04:54 -08:00
a2fa81cf82 Remove duplicate assignment (amend 867460cd3) 2017-11-23 15:34:21 +01:00
406f9fa1ef Example Lua script to move regions (insert gaps) 2017-11-23 15:27:29 +01:00
a07bd2d585 Make static analysis happy..
If the copy c'tor of ProcessorSelection was actually used,
assigning the XMLProcessorSelection
    processors = other.processors;
would lead to duplicate free() of the XMLNode*
XMLProcessorSelection would need a dedicated copy c'tor that
duplicates allocates a new XMLNode.
see also #10 at https://www.viva64.com/en/b/0540/

Anyway, the copy c'tor and assignment is never used. This commit makes
this explicit.
2017-11-23 11:29:07 +01:00
c591368133 Remove unreachable code.
if (working_on_selection) {
  ...
} else {
  if (working_on_selection) { .. never reached .. }
}

Found by PVS: https://www.viva64.com/en/b/0540/
2017-11-23 10:51:20 +01:00
5e04e288a0 NO-OP: cleaner syntax 2017-11-23 10:46:44 +01:00
43f329256e Consistent default argument for virtual fn. 2017-11-23 10:45:04 +01:00
12a5102713 Catch exceptions by const reference 2017-11-23 10:38:52 +01:00
3009fd7574 Fix a potential(?) nullptr dereference 2017-11-23 10:38:05 +01:00
07f940016c fix call to std::unique; to actually erase dups. 2017-11-23 10:23:54 +01:00
3ac66ce022 Fix potentially ambiguous printf()
Not a real issue, since it's just supposed to be some unique number.
but still.

Reported by PVS-Studio - https://www.viva64.com/en/b/0540/
2017-11-23 10:12:34 +01:00
4f82d1ba99 No need for memset to clear a byte. 2017-11-23 10:10:32 +01:00
1a46ee716d remove useless test, fgets() already ensures MAX_STRING_LEN
Found by PVS-Studio - https://www.viva64.com/en/b/0540/
2017-11-23 09:56:57 +01:00
2fec64f0bd Fix another duplicate if from session/system config consolidation
Found by PVS-Studio - https://www.viva64.com/en/b/0540/
2017-11-23 09:53:50 +01:00
a593a81db3 Fix size-request call
use  Requisition Gtk::Widget::size_request () 	const;
and not deprecated
void Gtk::Widget::size_request 	(const Requisition&);

Found by PVS-Studio - https://www.viva64.com/en/b/0540/
2017-11-23 09:53:09 +01:00
55ee5d2e50 Fix duplicate if(A) else if (A) condition
Issue came to be from consolidating Session and UI configuration.
Found by PVS-Studio - https://www.viva64.com/en/b/0540/
2017-11-23 09:50:50 +01:00
7d4353dddc Fix typo in 318e7efb 2017-11-23 00:13:46 +01:00
98439cf88c GUI to set clock-origin marker 2017-11-23 00:13:44 +01:00
15150c57c1 Implement clock delta modes
* use new config variable
* update GUI to select delta-modes
* delegate delta-calculation to MainClock
* save offset to calculate absolute-time
2017-11-23 00:13:32 +01:00
1be2790cac Add clock-delta mode enum 2017-11-23 00:12:00 +01:00