ardour.git
12 years agoMCP: more button tracing, more config stuff
Paul Davis [Fri, 13 Apr 2012 19:17:28 +0000 (19:17 +0000)]
MCP: more button tracing, more config stuff

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

12 years agoMCP: more button tracing, more config stuff
Paul Davis [Fri, 13 Apr 2012 17:58:36 +0000 (17:58 +0000)]
MCP: more button tracing, more config stuff

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

12 years agoMCP: fix uninitialized variable; start work on extending MCP gui
Paul Davis [Fri, 13 Apr 2012 17:06:35 +0000 (17:06 +0000)]
MCP: fix uninitialized variable; start work on extending MCP gui

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

12 years agoFix compilation with old lilv.
David Robillard [Fri, 13 Apr 2012 16:14:39 +0000 (16:14 +0000)]
Fix compilation with old lilv.

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

12 years agoMCP: timeout display of value when altering with fader or pot; range ops on strip...
Paul Davis [Fri, 13 Apr 2012 16:11:55 +0000 (16:11 +0000)]
MCP: timeout display of value when altering with fader or pot; range ops on strip buttons should work; select logic may be broken

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

12 years agoshow gain level as its adjusted from ardour GUI (not reverted back); basic support...
Paul Davis [Fri, 13 Apr 2012 03:46:38 +0000 (03:46 +0000)]
show gain level as its adjusted from ardour GUI (not reverted back); basic support for select/solo/mute/recenabel range ops, but not functioning yet

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

12 years agoImplement proper LV2 preset support.
David Robillard [Fri, 13 Apr 2012 00:43:01 +0000 (00:43 +0000)]
Implement proper LV2 preset support.

The old code here was attempting to load several various random methods of listing LV2 presets.  IMO this situation has become untenable, the way implemented here is the way documented with examples in the extension, and if plugins don't work with it, they need to be updated.

For the record, the rationale behind this change is to make preset data separately loadable, since it tends to be far too massive to have hosts loading it for all plugins when unnecessary.

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

12 years agoconvert rec-enable control for a Track from PBD::COntrollable to ARDOUR::AutomatioNCo...
Paul Davis [Fri, 13 Apr 2012 00:35:42 +0000 (00:35 +0000)]
convert rec-enable control for a Track from PBD::COntrollable to ARDOUR::AutomatioNControl, and use in MCP

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

12 years agoMCP: make select button work again
Paul Davis [Thu, 12 Apr 2012 23:46:17 +0000 (23:46 +0000)]
MCP: make select button work again

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

12 years agoMCP: try an alternate mode for gain pot mode
Paul Davis [Thu, 12 Apr 2012 23:02:12 +0000 (23:02 +0000)]
MCP: try an alternate mode for gain pot mode

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

12 years agoMCP: button debugging, plus don't do much/aything on button release
Paul Davis [Thu, 12 Apr 2012 22:59:26 +0000 (22:59 +0000)]
MCP: button debugging, plus don't do much/aything on button release

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

12 years agoMCP: display label change
Paul Davis [Thu, 12 Apr 2012 22:17:58 +0000 (22:17 +0000)]
MCP: display label change

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

12 years agoMCP: reverse pot labelling re: flip mode
Paul Davis [Thu, 12 Apr 2012 22:16:01 +0000 (22:16 +0000)]
MCP: reverse pot labelling re: flip mode

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

12 years agoMCP: fix confusion between normal and modified AutomationControl
Paul Davis [Thu, 12 Apr 2012 22:09:30 +0000 (22:09 +0000)]
MCP: fix confusion between normal and modified AutomationControl

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

12 years agoMCP: start generalizing mapping between surface controls and ARDOUR::AutomationContro...
Paul Davis [Thu, 12 Apr 2012 21:02:43 +0000 (21:02 +0000)]
MCP: start generalizing mapping between surface controls and ARDOUR::AutomationControl; simplify flip mode; more good stuff

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

12 years agoremove old mcp config params, use new one
Paul Davis [Thu, 12 Apr 2012 18:36:14 +0000 (18:36 +0000)]
remove old mcp config params, use new one

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

12 years agoMCP: rename ports again, remove ports from MCP bundles, wakeup devices
Paul Davis [Thu, 12 Apr 2012 18:16:16 +0000 (18:16 +0000)]
MCP: rename ports again, remove ports from MCP bundles, wakeup devices

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

12 years agoMCP: new device file
Paul Davis [Thu, 12 Apr 2012 17:55:11 +0000 (17:55 +0000)]
MCP: new device file

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

12 years agoMCP: more surface properties, correctly close IOSources when switching surfaces;...
Paul Davis [Thu, 12 Apr 2012 17:52:57 +0000 (17:52 +0000)]
MCP: more surface properties, correctly close IOSources when switching surfaces; write select button msgs one by one, change port name back to generic terms

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

12 years agomissing initialization
Paul Davis [Thu, 12 Apr 2012 16:57:34 +0000 (16:57 +0000)]
missing initialization

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

12 years agoMCP: nucleus def file
Paul Davis [Thu, 12 Apr 2012 16:41:23 +0000 (16:41 +0000)]
MCP: nucleus def file

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

12 years agoMCP: switch devices on the fly; name MIDI ports appropriately; fix active state;...
Paul Davis [Thu, 12 Apr 2012 16:41:07 +0000 (16:41 +0000)]
MCP: switch devices on the fly; name MIDI ports appropriately; fix active state; move sysex parsing into Surface

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

12 years agopropagate GUI track selection to control protocols; make MCP update when GUI track...
Paul Davis [Thu, 12 Apr 2012 14:34:03 +0000 (14:34 +0000)]
propagate GUI track selection to control protocols; make MCP update when GUI track selection changes

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

12 years agoinitial MCP device info file, and fix ./ardev and friends to be able to find it
Paul Davis [Thu, 12 Apr 2012 13:12:41 +0000 (13:12 +0000)]
initial MCP device info file, and fix ./ardev and friends to be able to find it

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

12 years agoMCP: loading device info files basically operational
Paul Davis [Thu, 12 Apr 2012 12:58:42 +0000 (12:58 +0000)]
MCP: loading device info files basically operational

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

12 years agoMCP: stubbed device info file loading
Paul Davis [Thu, 12 Apr 2012 12:16:55 +0000 (12:16 +0000)]
MCP: stubbed device info file loading

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

12 years agonew files
Paul Davis [Thu, 12 Apr 2012 11:46:35 +0000 (11:46 +0000)]
new files

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

12 years agomove string_is_affirmative() into libpbd
Paul Davis [Thu, 12 Apr 2012 11:45:40 +0000 (11:45 +0000)]
move string_is_affirmative() into libpbd

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

12 years agoA bit of crash proofiness for insane plugin UIs.
David Robillard [Thu, 12 Apr 2012 04:03:14 +0000 (04:03 +0000)]
A bit of crash proofiness for insane plugin UIs.

Plugin UI touch confirmed working with suil r4173 and distrho JUCE plugin "TAL Filter II".

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

12 years agoMCP: shift-select resets gain to unity; don't jump back to last transport start unles...
Paul Davis [Thu, 12 Apr 2012 01:51:57 +0000 (01:51 +0000)]
MCP: shift-select resets gain to unity; don't jump back to last transport start unless playing normally; footswitch 1 and 2 do play/stop

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

12 years agoMCP: track control press/release events
Paul Davis [Thu, 12 Apr 2012 01:14:43 +0000 (01:14 +0000)]
MCP: track control press/release events

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

12 years agoMCP: probably fix crash from flip mode, and debug modifier state in pothandler
Paul Davis [Thu, 12 Apr 2012 01:05:18 +0000 (01:05 +0000)]
MCP: probably fix crash from flip mode, and debug modifier state in pothandler

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

12 years agoMCP: check on whether we using pan width control; flip mode may change display
Paul Davis [Thu, 12 Apr 2012 00:52:02 +0000 (00:52 +0000)]
MCP: check on whether we using pan width control; flip mode may change display

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

12 years agoMCP: check on whether we using pan width control
Paul Davis [Thu, 12 Apr 2012 00:50:18 +0000 (00:50 +0000)]
MCP: check on whether we using pan width control

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

12 years agoMCP: probably fix ardour->surface for faders
Paul Davis [Thu, 12 Apr 2012 00:45:11 +0000 (00:45 +0000)]
MCP: probably fix ardour->surface for faders

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

12 years agoMCP: debug continues
Paul Davis [Thu, 12 Apr 2012 00:28:16 +0000 (00:28 +0000)]
MCP: debug continues

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

12 years agoMCP: debug continues
Paul Davis [Thu, 12 Apr 2012 00:27:25 +0000 (00:27 +0000)]
MCP: debug continues

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

12 years agoMCP: maybe get vpot id's right; more debug tracing for gain notify
Paul Davis [Wed, 11 Apr 2012 23:52:37 +0000 (23:52 +0000)]
MCP: maybe get vpot id's right; more debug tracing for gain notify

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

12 years agoAdd thought-to-be-missing break (#4819).
Carl Hetherington [Wed, 11 Apr 2012 23:46:39 +0000 (23:46 +0000)]
Add thought-to-be-missing break (#4819).

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

12 years agoAdd sort-of missed returns to keep coverity happy (#4817).
Carl Hetherington [Wed, 11 Apr 2012 23:24:05 +0000 (23:24 +0000)]
Add sort-of missed returns to keep coverity happy (#4817).

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

12 years agoMCP: cursor left should scroll left
Paul Davis [Wed, 11 Apr 2012 22:57:01 +0000 (22:57 +0000)]
MCP: cursor left should scroll left

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

12 years agoMCP: hopefully fix ardour->controller for faders
Paul Davis [Wed, 11 Apr 2012 22:50:21 +0000 (22:50 +0000)]
MCP: hopefully fix ardour->controller for faders

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

12 years agoMCP: cursor left/right should scroll; maybe fix vpots
Paul Davis [Wed, 11 Apr 2012 22:47:02 +0000 (22:47 +0000)]
MCP: cursor left/right should scroll; maybe fix vpots

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

12 years agoMCP: reverse operation of cursor up/down in zoom mode; more tracign for vpot
Paul Davis [Wed, 11 Apr 2012 22:32:02 +0000 (22:32 +0000)]
MCP: reverse operation of cursor up/down in zoom mode; more tracign for vpot

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

12 years agoMCP: more tracing for rewind; change play LED illumination rule
Paul Davis [Wed, 11 Apr 2012 20:48:51 +0000 (20:48 +0000)]
MCP: more tracing for rewind; change play LED illumination rule

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

12 years agoMCP: repeated presses of play button will jump back to previous start (like GUI button)
Paul Davis [Wed, 11 Apr 2012 20:25:14 +0000 (20:25 +0000)]
MCP: repeated presses of play button will jump back to previous start (like GUI button)

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

12 years agoRemove some unused parameters.
Carl Hetherington [Wed, 11 Apr 2012 20:21:00 +0000 (20:21 +0000)]
Remove some unused parameters.

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

12 years agoMCP: share add-marker code with BasicUI; don't allow route locking if the strip has...
Paul Davis [Wed, 11 Apr 2012 20:18:01 +0000 (20:18 +0000)]
MCP: share add-marker code with BasicUI; don't allow route locking if the strip has no current route

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

12 years agoMCP: make BasicUI::rewind() behave symmetrically to BasicUI::ffwd(); basics of route...
Paul Davis [Wed, 11 Apr 2012 20:10:10 +0000 (20:10 +0000)]
MCP: make BasicUI::rewind() behave symmetrically to BasicUI::ffwd(); basics of route locking and an API to put the master/monitor on a strip

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

12 years agoMCP: fix missing message when setting a button(led) to its current state; more view...
Paul Davis [Wed, 11 Apr 2012 19:47:41 +0000 (19:47 +0000)]
MCP: fix missing message when setting a button(led) to its current state; more view mode stuff

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

12 years agoMCP: more view mode stuff
Paul Davis [Wed, 11 Apr 2012 19:27:13 +0000 (19:27 +0000)]
MCP: more view mode stuff

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

12 years agoMCP: more view mode support, use 6 bits for pot information, more mute debug trace
Paul Davis [Wed, 11 Apr 2012 19:16:49 +0000 (19:16 +0000)]
MCP: more view mode support, use 6 bits for pot information, more mute debug trace

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

12 years agoMCP: start adding different view modes and support for Flip
Paul Davis [Wed, 11 Apr 2012 18:51:01 +0000 (18:51 +0000)]
MCP: start adding different view modes and support for Flip

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

12 years agoMCP: more mute button debug tracing; fix action for fn keys
Paul Davis [Wed, 11 Apr 2012 17:34:04 +0000 (17:34 +0000)]
MCP: more mute button debug tracing; fix action for fn keys

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

12 years agoMCP: use goto-visual-state-N as default function key bindings
Paul Davis [Wed, 11 Apr 2012 17:18:32 +0000 (17:18 +0000)]
MCP: use goto-visual-state-N as default function key bindings

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

12 years agoMCP: provide basic mechanism for configuring function keys
Paul Davis [Wed, 11 Apr 2012 17:13:20 +0000 (17:13 +0000)]
MCP: provide basic mechanism for configuring function keys

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

12 years agoMCP: rename raw_id() to id(); add missign modifier_state() function
Paul Davis [Wed, 11 Apr 2012 16:31:23 +0000 (16:31 +0000)]
MCP: rename raw_id() to id(); add missign modifier_state() function

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

12 years agoRemove unused parameter to Port::flush_buffers().
Carl Hetherington [Wed, 11 Apr 2012 16:27:05 +0000 (16:27 +0000)]
Remove unused parameter to Port::flush_buffers().

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

12 years agoMCP: more debug traces for button press
Paul Davis [Wed, 11 Apr 2012 16:24:52 +0000 (16:24 +0000)]
MCP: more debug traces for button press

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

12 years agoMCP: make vpots control pan width + direction/position
Paul Davis [Wed, 11 Apr 2012 16:21:23 +0000 (16:21 +0000)]
MCP: make vpots control pan width + direction/position

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

12 years agoMCP: better debug traces for button press
Paul Davis [Wed, 11 Apr 2012 16:13:05 +0000 (16:13 +0000)]
MCP: better debug traces for button press

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

12 years agoMCP: more twiddling with code
Paul Davis [Wed, 11 Apr 2012 16:11:55 +0000 (16:11 +0000)]
MCP: more twiddling with code

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

12 years agoMCP: probably fix crash on solo, another debug trace
Paul Davis [Wed, 11 Apr 2012 15:50:02 +0000 (15:50 +0000)]
MCP: probably fix crash on solo, another debug trace

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

12 years agoSimplify slightly odd update_length() signature.
Carl Hetherington [Wed, 11 Apr 2012 15:47:33 +0000 (15:47 +0000)]
Simplify slightly odd update_length() signature.

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

12 years agoMCP: more clarification of control ID scheme
Paul Davis [Wed, 11 Apr 2012 15:37:06 +0000 (15:37 +0000)]
MCP: more clarification of control ID scheme

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

12 years agoMCP: handle control IDs a little better
Paul Davis [Wed, 11 Apr 2012 15:22:05 +0000 (15:22 +0000)]
MCP: handle control IDs a little better

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

12 years agoRemove unused playlist audition code.
Carl Hetherington [Wed, 11 Apr 2012 15:10:12 +0000 (15:10 +0000)]
Remove unused playlist audition code.

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

12 years agoMCP: further objectification of event handling code
Paul Davis [Wed, 11 Apr 2012 13:39:25 +0000 (13:39 +0000)]
MCP: further objectification of event handling code

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

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