ardour.git
12 years agomove all code to construct MIDI messages into relevant Control/Strip/Surface object...
Paul Davis [Wed, 11 Apr 2012 13:03:41 +0000 (13:03 +0000)]
move all code to construct MIDI messages into relevant Control/Strip/Surface object; remove MackieMidiBuilder

git-svn-id: svn://localhost/ardour2/branches/3.0@11895 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix a few unchecked XML child / property lookups
Carl Hetherington [Wed, 11 Apr 2012 10:51:21 +0000 (10:51 +0000)]
Fix a few unchecked XML child / property lookups
(#4814).

git-svn-id: svn://localhost/ardour2/branches/3.0@11894 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix use of invalidated iterator (#4822).
Carl Hetherington [Wed, 11 Apr 2012 10:43:27 +0000 (10:43 +0000)]
Fix use of invalidated iterator (#4822).

git-svn-id: svn://localhost/ardour2/branches/3.0@11893 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix use of invalidated iterator (#4821).
Carl Hetherington [Wed, 11 Apr 2012 10:31:29 +0000 (10:31 +0000)]
Fix use of invalidated iterator (#4821).

git-svn-id: svn://localhost/ardour2/branches/3.0@11892 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoPatch from colinf to restore recent session path tooltip
Carl Hetherington [Wed, 11 Apr 2012 10:11:43 +0000 (10:11 +0000)]
Patch from colinf to restore recent session path tooltip
(#4832).

git-svn-id: svn://localhost/ardour2/branches/3.0@11891 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoPatch from epitech_user to fix statement with no effect
Carl Hetherington [Wed, 11 Apr 2012 10:08:17 +0000 (10:08 +0000)]
Patch from epitech_user to fix statement with no effect
(#4816).

git-svn-id: svn://localhost/ardour2/branches/3.0@11890 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSlightly expanded version of patch from epitech_user to
Carl Hetherington [Wed, 11 Apr 2012 10:08:03 +0000 (10:08 +0000)]
Slightly expanded version of patch from epitech_user to
fix use of invalidated iterator (#4823).

git-svn-id: svn://localhost/ardour2/branches/3.0@11889 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoImplement ui:portIndex and ui:touch features.
David Robillard [Wed, 11 Apr 2012 04:53:47 +0000 (04:53 +0000)]
Implement ui:portIndex and ui:touch features.

Touch should allow custom plugin UIs to work properly with automation as the
generic UI does.  IIRC this was requested for mixbus, however, no current
plugin UI I am aware of implements it, so it is completely untested.

git-svn-id: svn://localhost/ardour2/branches/3.0@11888 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoUpdate LV2 UI header.
David Robillard [Wed, 11 Apr 2012 04:47:44 +0000 (04:47 +0000)]
Update LV2 UI header.

git-svn-id: svn://localhost/ardour2/branches/3.0@11887 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: breakout Led class code; remove builder code for Led changes and put it into...
Paul Davis [Wed, 11 Apr 2012 04:02:46 +0000 (04:02 +0000)]
MCP: breakout Led class code; remove builder code for Led changes and put it into Led::set_state() which returns the (possibly empty) MIDI data needed to go back to the MCP device to change the LED visible state

git-svn-id: svn://localhost/ardour2/branches/3.0@11886 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix crash introduced in r11877 (oops). Add LV2Plugin::port_index().
David Robillard [Wed, 11 Apr 2012 04:00:27 +0000 (04:00 +0000)]
Fix crash introduced in r11877 (oops).  Add LV2Plugin::port_index().

git-svn-id: svn://localhost/ardour2/branches/3.0@11885 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: send nothing if LedState is none in build_led(); return none from all transport...
Paul Davis [Wed, 11 Apr 2012 03:24:20 +0000 (03:24 +0000)]
MCP: send nothing if LedState is none in build_led(); return none from all transport button presses

git-svn-id: svn://localhost/ardour2/branches/3.0@11884 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: slightly cleaner code for button map definition
Paul Davis [Wed, 11 Apr 2012 03:18:35 +0000 (03:18 +0000)]
MCP: slightly cleaner code for button map definition

git-svn-id: svn://localhost/ardour2/branches/3.0@11883 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: actually build button map
Paul Davis [Wed, 11 Apr 2012 03:13:19 +0000 (03:13 +0000)]
MCP: actually build button map

git-svn-id: svn://localhost/ardour2/branches/3.0@11882 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix n_strips() count; new button dispatch scheme
Paul Davis [Wed, 11 Apr 2012 03:11:56 +0000 (03:11 +0000)]
MCP: fix n_strips() count; new button dispatch scheme

git-svn-id: svn://localhost/ardour2/branches/3.0@11881 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug tracing, plus start of a new cleaner handling system for button handling
Paul Davis [Wed, 11 Apr 2012 02:54:25 +0000 (02:54 +0000)]
MCP: debug tracing, plus start of a new cleaner handling system for button handling

git-svn-id: svn://localhost/ardour2/branches/3.0@11880 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: tweak operation of most transport buttons, make save button work, start using...
Paul Davis [Wed, 11 Apr 2012 02:30:35 +0000 (02:30 +0000)]
MCP: tweak operation of most transport buttons, make save button work, start using button enums more widely

git-svn-id: svn://localhost/ardour2/branches/3.0@11879 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoremove debugging output, and fix MCP to use MISSING_INVALIDATOR to stop crash on...
Paul Davis [Wed, 11 Apr 2012 00:10:31 +0000 (00:10 +0000)]
remove debugging output, and fix MCP to use MISSING_INVALIDATOR to stop crash on close

git-svn-id: svn://localhost/ardour2/branches/3.0@11878 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoForward port LV2 BPM and freewheeling port stuff from 2.0-ongoing.
David Robillard [Tue, 10 Apr 2012 20:46:32 +0000 (20:46 +0000)]
Forward port LV2 BPM and freewheeling port stuff from 2.0-ongoing.
Fix worker implementation to preserve error codes.

git-svn-id: svn://localhost/ardour2/branches/3.0@11877 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix failed assertion with plugins with only an audio output are inserted on a MIDI...
David Robillard [Tue, 10 Apr 2012 20:45:39 +0000 (20:45 +0000)]
Fix failed assertion with plugins with only an audio output are inserted on a MIDI track.  This logic is probably completely wrong (i.e. it shouldn't be Split in the first place), but it fixes the crash, anyway.

git-svn-id: svn://localhost/ardour2/branches/3.0@11876 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix fader touch button IDs; remove last traces of MidiControlUI
Paul Davis [Tue, 10 Apr 2012 17:26:31 +0000 (17:26 +0000)]
MCP: fix fader touch button IDs; remove last traces of MidiControlUI

git-svn-id: svn://localhost/ardour2/branches/3.0@11873 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agogive MackieControlProtocol its own thread and make it parse incoming MIDI in that...
Paul Davis [Tue, 10 Apr 2012 17:13:55 +0000 (17:13 +0000)]
give MackieControlProtocol its own thread and make it parse incoming MIDI in that thread, as well as doing timeouts there too

git-svn-id: svn://localhost/ardour2/branches/3.0@11872 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoadd "centrally-parsed" property to MIDI::Port so that we can avoid the MidiUI loop...
Paul Davis [Tue, 10 Apr 2012 16:27:01 +0000 (16:27 +0000)]
add "centrally-parsed" property to MIDI::Port so that we can avoid the MidiUI loop from handling input for *all* MIDI ports created

git-svn-id: svn://localhost/ardour2/branches/3.0@11871 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug tracing
Paul Davis [Tue, 10 Apr 2012 16:02:34 +0000 (16:02 +0000)]
MCP: debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11870 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: debug tracing
Paul Davis [Tue, 10 Apr 2012 15:59:43 +0000 (15:59 +0000)]
MCP: debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11869 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agorevert previous redundant commit
Paul Davis [Tue, 10 Apr 2012 15:27:24 +0000 (15:27 +0000)]
revert previous redundant commit

git-svn-id: svn://localhost/ardour2/branches/3.0@11868 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agocall ProcessThread::init() to correctly setup per-thread process buffers for use...
Paul Davis [Tue, 10 Apr 2012 15:25:27 +0000 (15:25 +0000)]
call ProcessThread::init() to correctly setup per-thread process buffers for use during freeze() operations

git-svn-id: svn://localhost/ardour2/branches/3.0@11867 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix 2-char display message to avoid running status issues with JACK MIDI
Paul Davis [Tue, 10 Apr 2012 15:21:56 +0000 (15:21 +0000)]
MCP: fix 2-char display message to avoid running status issues with JACK MIDI

git-svn-id: svn://localhost/ardour2/branches/3.0@11866 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: actually map routes to strips, more debug tracing
Paul Davis [Tue, 10 Apr 2012 15:13:37 +0000 (15:13 +0000)]
MCP: actually map routes to strips, more debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11865 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: actually connect surfaces to incoming MIDI events
Paul Davis [Tue, 10 Apr 2012 14:46:51 +0000 (14:46 +0000)]
MCP: actually connect surfaces to incoming MIDI events

git-svn-id: svn://localhost/ardour2/branches/3.0@11864 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more debug tracing
Paul Davis [Tue, 10 Apr 2012 14:45:21 +0000 (14:45 +0000)]
MCP: more debug tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@11863 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix build
Paul Davis [Tue, 10 Apr 2012 14:32:30 +0000 (14:32 +0000)]
MCP: fix build

git-svn-id: svn://localhost/ardour2/branches/3.0@11862 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agodrastic, fundamental redesign of MCP code
Paul Davis [Tue, 10 Apr 2012 14:27:44 +0000 (14:27 +0000)]
drastic, fundamental redesign of MCP code

git-svn-id: svn://localhost/ardour2/branches/3.0@11861 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: make rightward bank shift work, and add a flag for scrub mode; more code rearran...
Paul Davis [Mon, 9 Apr 2012 19:47:06 +0000 (19:47 +0000)]
MCP: make rightward bank shift work, and add a flag for scrub mode; more code rearrangement

git-svn-id: svn://localhost/ardour2/branches/3.0@11860 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agouse correct per-MCU index when building fader, pot, ledring messages
Paul Davis [Mon, 9 Apr 2012 19:10:24 +0000 (19:10 +0000)]
use correct per-MCU index when building fader, pot, ledring messages

git-svn-id: svn://localhost/ardour2/branches/3.0@11859 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: F1-7 jump to a given view; F8 closes any currently open dialog; in zoom mode...
Paul Davis [Mon, 9 Apr 2012 18:53:51 +0000 (18:53 +0000)]
MCP: F1-7 jump to a given view; F8 closes any currently open dialog; in zoom mode, up/down alter vertical track height of all tracks; option-up/down alters selected track heights

git-svn-id: svn://localhost/ardour2/branches/3.0@11858 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: shift-select resets gain to unity
Paul Davis [Mon, 9 Apr 2012 17:56:20 +0000 (17:56 +0000)]
MCP: shift-select resets gain to unity

git-svn-id: svn://localhost/ardour2/branches/3.0@11856 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: maybe handle multiple MCUs better; add support for modifier keys; rearrange...
Paul Davis [Mon, 9 Apr 2012 17:48:16 +0000 (17:48 +0000)]
MCP: maybe handle multiple MCUs better; add support for modifier keys; rearrange source so that all button handlesr are in mcp_buttons.cc

git-svn-id: svn://localhost/ardour2/branches/3.0@11855 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: avoid debug flood from meters
Paul Davis [Mon, 9 Apr 2012 16:55:24 +0000 (16:55 +0000)]
MCP: avoid debug flood from meters

git-svn-id: svn://localhost/ardour2/branches/3.0@11854 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: register thread with GUI and create session event pool
Paul Davis [Mon, 9 Apr 2012 16:26:44 +0000 (16:26 +0000)]
MCP: register thread with GUI and create session event pool

git-svn-id: svn://localhost/ardour2/branches/3.0@11853 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: different meter debug trace; initial support for track selection
Paul Davis [Mon, 9 Apr 2012 16:15:55 +0000 (16:15 +0000)]
MCP: different meter debug trace; initial support for track selection

git-svn-id: svn://localhost/ardour2/branches/3.0@11852 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoallow ControlProtocols to call for undo/redo in GUI; make MCP use this
Paul Davis [Mon, 9 Apr 2012 15:50:38 +0000 (15:50 +0000)]
allow ControlProtocols to call for undo/redo in GUI; make MCP use this

git-svn-id: svn://localhost/ardour2/branches/3.0@11851 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: zoom button toggles led
Paul Davis [Mon, 9 Apr 2012 15:41:37 +0000 (15:41 +0000)]
MCP: zoom button toggles led

git-svn-id: svn://localhost/ardour2/branches/3.0@11850 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: zoom in on cursor right press
Paul Davis [Mon, 9 Apr 2012 15:40:21 +0000 (15:40 +0000)]
MCP: zoom in on cursor right press

git-svn-id: svn://localhost/ardour2/branches/3.0@11849 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: some debug tracing for meters
Paul Davis [Mon, 9 Apr 2012 15:35:20 +0000 (15:35 +0000)]
MCP: some debug tracing for meters

git-svn-id: svn://localhost/ardour2/branches/3.0@11848 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoremove redundant MackieButtonHandler class, implement initial zoom support for cursor...
Paul Davis [Mon, 9 Apr 2012 15:32:25 +0000 (15:32 +0000)]
remove redundant MackieButtonHandler class, implement initial zoom support for cursor left + right buttons

git-svn-id: svn://localhost/ardour2/branches/3.0@11847 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agostart breaking apart the various controls into their own headers and source code...
Paul Davis [Mon, 9 Apr 2012 13:59:35 +0000 (13:59 +0000)]
start breaking apart the various controls into their own headers and source code, and making each control know how to generate MIDI; throttle delivery of meter data and get meter ID right

git-svn-id: svn://localhost/ardour2/branches/3.0@11846 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: change refresh interval for meters + automation + timecode to 100msec
Paul Davis [Mon, 9 Apr 2012 00:45:22 +0000 (00:45 +0000)]
MCP: change refresh interval for meters + automation + timecode to 100msec

git-svn-id: svn://localhost/ardour2/branches/3.0@11845 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: add some locking to the RouteSignals object
Paul Davis [Mon, 9 Apr 2012 00:32:13 +0000 (00:32 +0000)]
MCP: add some locking to the RouteSignals object

git-svn-id: svn://localhost/ardour2/branches/3.0@11844 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: possible support for metering (really)
Paul Davis [Mon, 9 Apr 2012 00:03:58 +0000 (00:03 +0000)]
MCP: possible support for metering (really)

git-svn-id: svn://localhost/ardour2/branches/3.0@11843 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: possible support for metering
Paul Davis [Mon, 9 Apr 2012 00:03:35 +0000 (00:03 +0000)]
MCP: possible support for metering

git-svn-id: svn://localhost/ardour2/branches/3.0@11842 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: make Strip aware of Meter
Paul Davis [Sun, 8 Apr 2012 23:20:14 +0000 (23:20 +0000)]
MCP: make Strip aware of Meter

git-svn-id: svn://localhost/ardour2/branches/3.0@11841 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: start up event loop (thread) so that we can do timeouts and metering; start...
Paul Davis [Sun, 8 Apr 2012 23:14:36 +0000 (23:14 +0000)]
MCP: start up event loop (thread) so that we can do timeouts and metering; start of Meter control support

git-svn-id: svn://localhost/ardour2/branches/3.0@11840 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: look for jog wheel as a special case
Paul Davis [Sun, 8 Apr 2012 21:22:21 +0000 (21:22 +0000)]
MCP: look for jog wheel as a special case

git-svn-id: svn://localhost/ardour2/branches/3.0@11839 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: move init functions back into Surface since there is no difference between the...
Paul Davis [Sun, 8 Apr 2012 21:17:11 +0000 (21:17 +0000)]
MCP: move init functions back into Surface since there is no difference between the BCF and MCU versions of the code at this point

git-svn-id: svn://localhost/ardour2/branches/3.0@11838 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: remove no-longer-used files
Paul Davis [Sun, 8 Apr 2012 21:16:16 +0000 (21:16 +0000)]
MCP: remove no-longer-used files

git-svn-id: svn://localhost/ardour2/branches/3.0@11837 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: connect to correct signal for buttons; more code tidy; extra debugging if we...
Paul Davis [Sun, 8 Apr 2012 20:52:45 +0000 (20:52 +0000)]
MCP: connect to correct signal for buttons; more code tidy; extra debugging if we can't find a control

git-svn-id: svn://localhost/ardour2/branches/3.0@11836 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: remove files no longer used (copies are always available in 2.0-ongoing for...
Paul Davis [Sun, 8 Apr 2012 20:44:36 +0000 (20:44 +0000)]
MCP: remove files no longer used (copies are always available in 2.0-ongoing for historical purposes)

git-svn-id: svn://localhost/ardour2/branches/3.0@11835 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: add handler for forgotten noteOn (button) messages, and more code tidying
Paul Davis [Sun, 8 Apr 2012 20:34:21 +0000 (20:34 +0000)]
MCP: add handler for forgotten noteOn (button) messages, and more code tidying

git-svn-id: svn://localhost/ardour2/branches/3.0@11834 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: more debugging for fader messages
Paul Davis [Sun, 8 Apr 2012 17:39:45 +0000 (17:39 +0000)]
MCP: more debugging for fader messages

git-svn-id: svn://localhost/ardour2/branches/3.0@11833 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix fader mapping from extenders
Paul Davis [Sun, 8 Apr 2012 16:05:26 +0000 (16:05 +0000)]
MCP: fix fader mapping from extenders

git-svn-id: svn://localhost/ardour2/branches/3.0@11832 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agodebug ardour->MCP fader mapping
Paul Davis [Sun, 8 Apr 2012 15:51:30 +0000 (15:51 +0000)]
debug ardour->MCP fader mapping

git-svn-id: svn://localhost/ardour2/branches/3.0@11831 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix (?) interpretation of fader/pitchbend messages
Paul Davis [Sun, 8 Apr 2012 15:45:52 +0000 (15:45 +0000)]
MCP: fix (?) interpretation of fader/pitchbend messages

git-svn-id: svn://localhost/ardour2/branches/3.0@11830 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: add debug tracing for fader (pitchbend) messages
Paul Davis [Sun, 8 Apr 2012 15:16:34 +0000 (15:16 +0000)]
MCP: add debug tracing for fader (pitchbend) messages

git-svn-id: svn://localhost/ardour2/branches/3.0@11829 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: add debug tracing for timeouts
Paul Davis [Sun, 8 Apr 2012 15:13:12 +0000 (15:13 +0000)]
MCP: add debug tracing for timeouts

git-svn-id: svn://localhost/ardour2/branches/3.0@11828 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: correctly link routes and strips; correctly set up timeouts using event loop...
Paul Davis [Sun, 8 Apr 2012 15:10:46 +0000 (15:10 +0000)]
MCP: correctly link routes and strips; correctly set up timeouts using event loop of MCP, not GUI

git-svn-id: svn://localhost/ardour2/branches/3.0@11827 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: stop using signals to handle parsed control events; add debugging
Paul Davis [Sun, 8 Apr 2012 14:51:14 +0000 (14:51 +0000)]
MCP: stop using signals to handle parsed control events; add debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@11826 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: drop need for ScopedConnectionList::empty()
Paul Davis [Sun, 8 Apr 2012 14:22:34 +0000 (14:22 +0000)]
MCP: drop need for ScopedConnectionList::empty()

git-svn-id: svn://localhost/ardour2/branches/3.0@11825 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: major redesign of control instantiation; continuing code reformatting
Paul Davis [Sun, 8 Apr 2012 14:11:00 +0000 (14:11 +0000)]
MCP: major redesign of control instantiation; continuing code reformatting

git-svn-id: svn://localhost/ardour2/branches/3.0@11824 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: fix bad use of strips container
Paul Davis [Sat, 7 Apr 2012 19:30:00 +0000 (19:30 +0000)]
MCP: fix bad use of strips container

git-svn-id: svn://localhost/ardour2/branches/3.0@11823 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: alternative method for clearing route table when switching banks
Paul Davis [Sat, 7 Apr 2012 19:08:57 +0000 (19:08 +0000)]
MCP: alternative method for clearing route table when switching banks

git-svn-id: svn://localhost/ardour2/branches/3.0@11822 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: build fix
Paul Davis [Sat, 7 Apr 2012 18:54:31 +0000 (18:54 +0000)]
MCP: build fix

git-svn-id: svn://localhost/ardour2/branches/3.0@11821 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: drastically alter setup of Mackie surface to not use the CSV files in anyway...
Paul Davis [Sat, 7 Apr 2012 18:43:06 +0000 (18:43 +0000)]
MCP: drastically alter setup of Mackie surface to not use the CSV files in anyway, reformat chunks to match coding style standards, don't throw() if part of a sysex message is message

git-svn-id: svn://localhost/ardour2/branches/3.0@11820 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: try to fix madness with extender strip indices
Paul Davis [Sat, 7 Apr 2012 16:04:13 +0000 (16:04 +0000)]
MCP: try to fix madness with extender strip indices

git-svn-id: svn://localhost/ardour2/branches/3.0@11819 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMCP: try to actually use extenders
Paul Davis [Sat, 7 Apr 2012 15:22:22 +0000 (15:22 +0000)]
MCP: try to actually use extenders

git-svn-id: svn://localhost/ardour2/branches/3.0@11818 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agodebugging mcu via ssl nucleus 2
Paul Davis [Sat, 7 Apr 2012 14:48:44 +0000 (14:48 +0000)]
debugging mcu via ssl nucleus 2

git-svn-id: svn://localhost/ardour2/branches/3.0@11817 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agodebugging mcu via ssl nucleus
Paul Davis [Sat, 7 Apr 2012 14:16:08 +0000 (14:16 +0000)]
debugging mcu via ssl nucleus

git-svn-id: svn://localhost/ardour2/branches/3.0@11816 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agotweak drawing of button joiner
Paul Davis [Sat, 7 Apr 2012 12:48:09 +0000 (12:48 +0000)]
tweak drawing of button joiner

git-svn-id: svn://localhost/ardour2/branches/3.0@11815 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix possible null pointer dereference (#4813).
Carl Hetherington [Sat, 7 Apr 2012 10:05:17 +0000 (10:05 +0000)]
Fix possible null pointer dereference (#4813).

git-svn-id: svn://localhost/ardour2/branches/3.0@11814 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoClean up possibly-null pointer dereference (#4812).
Carl Hetherington [Sat, 7 Apr 2012 02:08:18 +0000 (02:08 +0000)]
Clean up possibly-null pointer dereference (#4812).

git-svn-id: svn://localhost/ardour2/branches/3.0@11813 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix operator typo (#4824).
Carl Hetherington [Sat, 7 Apr 2012 02:03:17 +0000 (02:03 +0000)]
Fix operator typo (#4824).

git-svn-id: svn://localhost/ardour2/branches/3.0@11812 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd missing break and remove duplicate (maybe mismerge)
Carl Hetherington [Sat, 7 Apr 2012 01:59:34 +0000 (01:59 +0000)]
Add missing break and remove duplicate (maybe mismerge)
(#4818).

git-svn-id: svn://localhost/ardour2/branches/3.0@11811 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd missing break; (#4820).
Carl Hetherington [Sat, 7 Apr 2012 01:57:11 +0000 (01:57 +0000)]
Add missing break; (#4820).

git-svn-id: svn://localhost/ardour2/branches/3.0@11810 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix another out-of-scope variable access (#4811).
Carl Hetherington [Sat, 7 Apr 2012 01:54:06 +0000 (01:54 +0000)]
Fix another out-of-scope variable access (#4811).

git-svn-id: svn://localhost/ardour2/branches/3.0@11809 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix out-of-scope access to variable (#4810).
Carl Hetherington [Sat, 7 Apr 2012 01:53:56 +0000 (01:53 +0000)]
Fix out-of-scope access to variable (#4810).

git-svn-id: svn://localhost/ardour2/branches/3.0@11808 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove use of invalidated iterator (#4826).
Carl Hetherington [Sat, 7 Apr 2012 01:37:27 +0000 (01:37 +0000)]
Remove use of invalidated iterator (#4826).

git-svn-id: svn://localhost/ardour2/branches/3.0@11807 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix comment.
Carl Hetherington [Sat, 7 Apr 2012 01:37:21 +0000 (01:37 +0000)]
Fix comment.

git-svn-id: svn://localhost/ardour2/branches/3.0@11806 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix some packing issues in the monitor section when using high-channel-count master...
Paul Davis [Fri, 6 Apr 2012 11:18:22 +0000 (11:18 +0000)]
fix some packing issues in the monitor section when using high-channel-count master/monitor busses (eg. ambi)

git-svn-id: svn://localhost/ardour2/branches/3.0@11805 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agorevert all recent changes to startup dialog, except for colin f's patches to make...
Paul Davis [Fri, 6 Apr 2012 10:36:33 +0000 (10:36 +0000)]
revert all recent changes to startup dialog, except for colin f's patches to make a few details work better

git-svn-id: svn://localhost/ardour2/branches/3.0@11804 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoExecute plugin worker tasks immediately in the audio thread if freewheeling.
David Robillard [Fri, 6 Apr 2012 02:42:19 +0000 (02:42 +0000)]
Execute plugin worker tasks immediately in the audio thread if freewheeling.

git-svn-id: svn://localhost/ardour2/branches/3.0@11803 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agovarious tweaks to Freesound UI and code. keep a single mootcher to speed up operatio...
Ben Loftis [Thu, 5 Apr 2012 21:31:55 +0000 (21:31 +0000)]
various tweaks to Freesound UI and code.  keep a single mootcher to speed up operations; add text to progress bar, stop storing xml files, auto-increment pages until user clicks stop.

git-svn-id: svn://localhost/ardour2/branches/3.0@11801 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoDraw all automation points, rather than trying to use a heuristic to show some
Paul Davis [Thu, 5 Apr 2012 16:53:55 +0000 (16:53 +0000)]
Draw all automation points, rather than trying to use a heuristic to show some
at any given zoom level.

This works because (1) automation data is obtained by sampling, and we control
the sampling interval (2) automation data is filtered to remove co-linear
points before becoming part of a ControlList.

This commit removes some of the hairiest code in Ardour's GUI, which was
responsible for figuring out which invisible control points were affected by an
edit. The change is based on an experiment in mixbus done by Ben Loftis.

git-svn-id: svn://localhost/ardour2/branches/3.0@11798 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoprovide control over automation thinning in preferences
Paul Davis [Thu, 5 Apr 2012 12:09:23 +0000 (12:09 +0000)]
provide control over automation thinning in preferences

git-svn-id: svn://localhost/ardour2/branches/3.0@11797 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoprovide an RC configuration variable to "shadow" Evoral::ControlList::thinning_factor
Paul Davis [Thu, 5 Apr 2012 12:08:59 +0000 (12:08 +0000)]
provide an RC configuration variable to "shadow" Evoral::ControlList::thinning_factor

git-svn-id: svn://localhost/ardour2/branches/3.0@11796 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomake automation thinning factor controllable at run time
Paul Davis [Thu, 5 Apr 2012 11:16:04 +0000 (11:16 +0000)]
make automation thinning factor controllable at run time

git-svn-id: svn://localhost/ardour2/branches/3.0@11795 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoassert() on id property not being present (#4814).
Carl Hetherington [Thu, 5 Apr 2012 01:23:07 +0000 (01:23 +0000)]
assert() on id property not being present (#4814).

git-svn-id: svn://localhost/ardour2/branches/3.0@11794 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix possible deref of 0 pointer (#4815).
Carl Hetherington [Thu, 5 Apr 2012 01:22:51 +0000 (01:22 +0000)]
Fix possible deref of 0 pointer (#4815).

git-svn-id: svn://localhost/ardour2/branches/3.0@11793 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix double-delete (#4809).
Carl Hetherington [Thu, 5 Apr 2012 01:22:19 +0000 (01:22 +0000)]
Fix double-delete (#4809).

git-svn-id: svn://localhost/ardour2/branches/3.0@11792 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix operator precedance inaccuracy (#4825).
Carl Hetherington [Thu, 5 Apr 2012 01:21:44 +0000 (01:21 +0000)]
Fix operator precedance inaccuracy (#4825).

git-svn-id: svn://localhost/ardour2/branches/3.0@11791 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoImplement LV2 worker extension.
David Robillard [Thu, 5 Apr 2012 00:15:54 +0000 (00:15 +0000)]
Implement LV2 worker extension.

This is done by way of a generic Worker object/thread, which currently just
applies to one LV2 plugin, but the idea is to share one thread and set of
buffers among many plugins.  The same pattern may also be useful elsewhere in
Ardour.  The responding part gets a bit tricker when sharing a worker between
plugins, it's not a blocker, and I'm lazy, sooo here's this.

This commit also adds a new portable in-process semaphore to PBD.  The existing
one is pretty weird and uses a named semaphore on OSX for reasons unknown to
me.  Perhaps as a quick fix to avoid POSIX semaphores being utterly broken on
OSX?  It would probably be a good idea to replace that with this new one, which
uses Mach kernel semaphores on OSX which work well, though I am not sure how
pedantically real-time safe they are to signal.

git-svn-id: svn://localhost/ardour2/branches/3.0@11790 d708f5d6-7413-0410-9779-e7cbd77b26cf