13
0
Commit Graph

24621 Commits

Author SHA1 Message Date
7652f4edf2 Some more Lua ARDOUR::Plugin bindings 2017-04-25 14:01:02 +02:00
c3390a2c4b Add an API to conveniently query plugin-parameter labels 2017-04-25 14:01:00 +02:00
a6ace9996b Expose ArdourDropdown's menu for submenu packing 2017-04-25 11:29:07 +02:00
87acc60674 Remove old special case (ArdourDialog::on_response hides the dialog) 2017-04-25 03:55:51 +02:00
7fc73ae67e de-select WASAPI by default 2017-04-24 21:08:32 +02:00
061f005ac3 Add example script to convert MIDI-CC to Plugin Automation 2017-04-24 04:21:25 +02:00
b7b1ccc8b6 Simplify example script
Now that AutomationList is-a ControlList no explicit cast is needed.
2017-04-24 04:21:25 +02:00
201fd55743 Add ControlEvent Lua bindings and related methods to access MIDI-CC 2017-04-24 04:21:25 +02:00
d837914e28 Swap inheritance, simplifies Lua Bindings 2017-04-24 04:21:25 +02:00
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
68883cbb56 Changed "ardour" to PROGRAM_NAME 2017-04-22 15:32:48 -07:00
c0df127dc4 Close all dialogs when closing a session (not only at exit). 2017-04-22 23:06:22 +02:00
1e8462f45e Reset process-graph semaphores on engine-restart 2017-04-22 23:06:22 +02:00
9c0ba3b3d5 Add mechanism to reset/lock semaphores 2017-04-22 23:06:22 +02:00
629e6cbefb remove unused semaphore 2017-04-22 23:06:22 +02:00
8e038da828 NO-OP: whitespace 2017-04-22 23:06:22 +02:00
8969ded7e1 Privatize non-public methods 2017-04-22 23:06:22 +02:00
b81d6a6160 Set -b switch to only two columns, correct options text. 2017-04-22 08:07:35 -07:00
dd1bf47394 NO-OP: whitespace 2017-04-22 16:09:10 +02:00
51f184e1a2 Add a Readme pertaining to GH release tarballs 2017-04-22 16:04:35 +02:00
0cb95a869b Remove stub file which was used for pre-commit hook testing 2017-04-22 15:19:34 +02:00
e54413ee46 amend be62d335ee 2017-04-22 01:06:54 +02:00
be62d335ee fix endless loop when clicking on the canvas w/o backend 2017-04-21 23:54:33 +02:00
5d5642d6ec Add HTML output for -b so that output can replace actions page in manual. 2017-04-21 12:58:59 -07:00
2012dc2553 OSC: correct spelling 2017-04-21 07:29:13 -07:00
ea1769d711 Resolve potential variable name ambiguity for older compilers 2017-04-21 16:05:24 +02:00
d7d86a99d2 Re-nice ALSA MIDI port names 2017-04-21 10:43:22 +02:00
23efc699c3 Do not clear pretty-names set by the backend
Since 7dde6c3b8f pretty-names are no longer saved and hence initially
empty. The port-manager cleared existing pretty-port-names.
2017-04-21 10:26:59 +02:00
10c4891532 Fix thinko in 6ae047cdd and 8f488515 (prefer LV2 symbol over ID) 2017-04-21 05:36:52 +02:00
048af97b54 Use correct property names in PBD::Undo class
These have been "normalized" in XMLProperty ctor for many years, so this does
not change the Session format.
2017-04-21 12:46:04 +10:00
384478a745 Use XMLNode::get_property in Session::restore_history
Avoid using std::stringstream due to potential future issues with C++ locale.

Also avoids potential NULL pointer dereferences.
2017-04-21 12:46:04 +10:00
d19ec8ba46 Use hyphen for XML property names
These have been normalized/modified by the XMLProperty ctor for many years (~9)
so special treatment when reading properties should not be needed.
2017-04-21 12:46:04 +10:00
b7a9f3c6b5 Use XMLNode::get_property in Session::memento_command_factory
Avoids potential issues with dereferencing a NULL XMLProperty pointer and
improves readability by using better locally scoped variable names.
2017-04-21 12:46:04 +10:00
6ae047cdd2 Fix restoration of Plugin Controllable state ID's
Caused by thinko when merging/replacing two conditional clauses in the
string-convert changes which resulted in bindings not being restored and
regeneration of id's in XML.
2017-04-21 12:46:04 +10:00
44cec18516 Retain state of disabled ctrl-surfaces 2017-04-21 04:08:08 +02:00
661d258687 Fix adeadlock (or rather NDEADLCK)
ControlProtocolManager::set_state() already takes the protocols_lock.
However effectively this is a NO-OP. During ::set_state no CPI should
be instantiated and  ControlProtocolManager::teardown() returns early.
2017-04-21 04:08:05 +02:00
bdd960cd99 Update preferences when Ctrl-surfaces change with session. 2017-04-21 04:08:00 +02:00
7d5b7d538e Notify GUI when tearing down ctrl-surfaces 2017-04-21 02:53:51 +02:00
4cda36f63f squelch "curl failed: No Error" 2017-04-21 00:12:20 +02:00
f913d5b9f6 NO-OP: whitespace 2017-04-20 23:47:39 +02:00
e1c4fe8edc Show the splash-screen if the engine dialog's run() hid it. 2017-04-20 23:16:09 +02:00
057bb167ca Run gtk-main iteration after hiding dialogs 2017-04-20 23:15:13 +02:00
8a92be1757 Fix operator precedence (amend e7e9e025) 2017-04-20 22:47:45 +02:00
8f8e32881c Remove unused enum 2017-04-20 22:20:20 +02:00
ffff31b832 Relax LocaleGuards
Arodur itself on longer depends on C/C++ locale for saving/loading sessions.
However, the Localeguard is kept for 3rd party plugins: Reset the C locale
to "C" to enforce consisten numerics and portable sessions as well
as verify that no plugin changes the C++ locale.
2017-04-20 22:12:33 +02:00
d4f91010c3 Do not set C++ locale.
Ardour translations and GUI string formatting only depends on the C locale.
Modifying the C++ locale may produce erratic results on various systems
(in particular OSX and macOS) and cause incompatibilies with plugins.
2017-04-20 22:12:18 +02:00
9218ccb3b2 Fix crash when clicking on the canvas while un/loading a session.
GTK events are still handled while un/loading a session (e.g display
"Loading" message or showing the splash triggers an event-loop run).
Global canvas elements (e.g. Rulers) may respond to session-specific
actions.
2017-04-20 19:41:06 +02:00
39c2b544f0 Keep Dialogs which report process around.
Since 5.8-245-g3e43585fa, a response hides the dialog Window
in ArdourDialog::on_response (to prevent dialogs windows staying
around unresponsively while Ardour does background work).
This logic does not apply to Dialog Windows which implement
ProgressReporter or support dialog responses other than OK, Close.
2017-04-20 19:03:52 +02:00
b6c222555f NO-OP: re-order code, add comments 2017-04-20 17:19:03 +02:00
8add4eefad FP8: some code comments and cleanup 2017-04-20 16:06:47 +02:00