ardour.git
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

12 years agoRemove ControlList::_max_xval which is set up and stored in
Carl Hetherington [Wed, 4 Apr 2012 00:15:41 +0000 (00:15 +0000)]
Remove ControlList::_max_xval which is set up and stored in
state but never actually read.

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

12 years agofix missing quote in disk space check failure message
Todd Naugle [Tue, 3 Apr 2012 20:22:12 +0000 (20:22 +0000)]
fix missing quote in disk space check failure message

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

12 years agoRemove some unused stuff.
Carl Hetherington [Mon, 2 Apr 2012 23:31:17 +0000 (23:31 +0000)]
Remove some unused stuff.

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

12 years agoMissing file.
Carl Hetherington [Mon, 2 Apr 2012 13:52:36 +0000 (13:52 +0000)]
Missing file.

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

12 years agoAdd comment.
Carl Hetherington [Sun, 1 Apr 2012 23:47:37 +0000 (23:47 +0000)]
Add comment.

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

12 years agoAdd comment and fix type.
Carl Hetherington [Sun, 1 Apr 2012 23:47:31 +0000 (23:47 +0000)]
Add comment and fix type.

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

12 years agoRemove unused declaration.
Carl Hetherington [Sun, 1 Apr 2012 23:47:23 +0000 (23:47 +0000)]
Remove unused declaration.

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

12 years agoFix memory leak on error condition (#4798).
Carl Hetherington [Sun, 1 Apr 2012 15:06:24 +0000 (15:06 +0000)]
Fix memory leak on error condition (#4798).

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

12 years agoFix possible out-of-bounds array access (#4796).
Carl Hetherington [Sun, 1 Apr 2012 15:06:15 +0000 (15:06 +0000)]
Fix possible out-of-bounds array access (#4796).

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

12 years agoFix reference of track after free() (#4795).
Carl Hetherington [Sun, 1 Apr 2012 14:58:09 +0000 (14:58 +0000)]
Fix reference of track after free() (#4795).

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

12 years agoTidy up slightly; fix reads off the end of the data
Carl Hetherington [Sun, 1 Apr 2012 14:57:57 +0000 (14:57 +0000)]
Tidy up slightly; fix reads off the end of the data
array (#4797).

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

12 years agoRemove unused ustring version of url_decode(). Rework
Carl Hetherington [Sun, 1 Apr 2012 14:30:06 +0000 (14:30 +0000)]
Remove unused ustring version of url_decode().  Rework
the other version to be a bit simpler, avoiding #4800.

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

12 years agoFix libpbd tests and add test for url_decode().
Carl Hetherington [Sun, 1 Apr 2012 14:29:26 +0000 (14:29 +0000)]
Fix libpbd tests and add test for url_decode().

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

12 years agoUpdate to latest LV2 state extension.
David Robillard [Fri, 30 Mar 2012 23:32:48 +0000 (23:32 +0000)]
Update to latest LV2 state extension.

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

12 years agoFurther GCC 4.7.0 fixes.
Carl Hetherington [Fri, 30 Mar 2012 01:21:08 +0000 (01:21 +0000)]
Further GCC 4.7.0 fixes.

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

12 years agoSome fixes for GCC 4.7.0
Carl Hetherington [Fri, 30 Mar 2012 00:03:53 +0000 (00:03 +0000)]
Some fixes for GCC 4.7.0

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

12 years agofix bizarre typo in OS X build (bizarre because its not clear how it could have worke...
Paul Davis [Thu, 29 Mar 2012 16:25:12 +0000 (16:25 +0000)]
fix bizarre typo in OS X build (bizarre because its not clear how it could have worked on Tiger or Lion, but it did)

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

12 years agoPatch from Nick to fix crash on closing a LV2 plugin
Carl Hetherington [Tue, 27 Mar 2012 21:08:11 +0000 (21:08 +0000)]
Patch from Nick to fix crash on closing a LV2 plugin
(#4794).

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

12 years agoPut copy-constructed crossfades at the position of their
Carl Hetherington [Tue, 27 Mar 2012 21:04:47 +0000 (21:04 +0000)]
Put copy-constructed crossfades at the position of their
source crossfade; fixes #4793.

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

12 years agoGive the _sends member of InternalReturn its own mutex,
Carl Hetherington [Sun, 25 Mar 2012 20:30:26 +0000 (20:30 +0000)]
Give the _sends member of InternalReturn its own mutex,
rather than using the process lock to protect it.  Prevents
a deadlock when removing an aux send causes it to remove
itself from its return (#4712).

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

12 years agoFix warning.
Carl Hetherington [Sun, 25 Mar 2012 19:45:39 +0000 (19:45 +0000)]
Fix warning.

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

12 years agoTypo in comment.
Carl Hetherington [Sun, 25 Mar 2012 19:38:17 +0000 (19:38 +0000)]
Typo in comment.

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

12 years agoUpdate to latest LV2 atom extension.
David Robillard [Sun, 25 Mar 2012 17:17:40 +0000 (17:17 +0000)]
Update to latest LV2 atom extension.
Implement proper support for fixed size LV2 plugin UIs.

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

12 years agoReshow time selection when zooming in object-range mode
Carl Hetherington [Sun, 25 Mar 2012 12:12:08 +0000 (12:12 +0000)]
Reshow time selection when zooming in object-range mode
(#4678).

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

12 years agoPatch from colinf to make stereo panners move right with the mouse (#4702).
Carl Hetherington [Fri, 23 Mar 2012 22:56:00 +0000 (22:56 +0000)]
Patch from colinf to make stereo panners move right with the mouse (#4702).

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

12 years agoFix double separator on session range context menu.
Carl Hetherington [Thu, 22 Mar 2012 16:42:21 +0000 (16:42 +0000)]
Fix double separator on session range context menu.

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

12 years agoRemove unused op parameter to temporal_zoom_by_frame. Add Zoom to Range option to...
Carl Hetherington [Thu, 22 Mar 2012 16:41:44 +0000 (16:41 +0000)]
Remove unused op parameter to temporal_zoom_by_frame.  Add Zoom to Range option to range marker context menu (#4778).

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

12 years agoDon't leave internal edit mode when clicking on an automation region view (#4747).
Carl Hetherington [Thu, 22 Mar 2012 16:41:23 +0000 (16:41 +0000)]
Don't leave internal edit mode when clicking on an automation region view (#4747).

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

12 years agoclarify what the "precise" button does in the timefx dialog
Paul Davis [Thu, 22 Mar 2012 15:48:49 +0000 (15:48 +0000)]
clarify what the "precise" button does in the timefx dialog

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

12 years agoUse combo box for plugin controls for ports marked as
Carl Hetherington [Wed, 21 Mar 2012 16:43:01 +0000 (16:43 +0000)]
Use combo box for plugin controls for ports marked as
lv2:enumeration.

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

12 years agoUse a AutoSpin rather than a combo box for input
Carl Hetherington [Wed, 21 Mar 2012 16:39:04 +0000 (16:39 +0000)]
Use a AutoSpin rather than a combo box for input
parameters marked up as scalePoint with fewer labels
than there are possible values for the parameter
(should fix #2612).

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

12 years agoUse sigc::slot for ClickBox printing function rather
Carl Hetherington [Wed, 21 Mar 2012 16:38:59 +0000 (16:38 +0000)]
Use sigc::slot for ClickBox printing function rather
than a function pointer.

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

12 years agoRename combo_map variable to scale_points.
Carl Hetherington [Wed, 21 Mar 2012 16:38:53 +0000 (16:38 +0000)]
Rename combo_map variable to scale_points.

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

12 years agoAdd tooltips to plugin controls in the processor box
Carl Hetherington [Wed, 21 Mar 2012 14:13:48 +0000 (14:13 +0000)]
Add tooltips to plugin controls in the processor box
(#4697).

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

12 years agoUpdate motorised button when a motorised surface's bindings are loaded.
Carl Hetherington [Wed, 21 Mar 2012 02:19:59 +0000 (02:19 +0000)]
Update motorised button when a motorised surface's bindings are loaded.

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

12 years agoMake toggle MIDIControllables with program changes only respond to the appropriate...
Carl Hetherington [Wed, 21 Mar 2012 02:15:55 +0000 (02:15 +0000)]
Make toggle MIDIControllables with program changes only respond to the appropriate program change (part of #4780).

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

12 years agoFix test build.
Carl Hetherington [Wed, 21 Mar 2012 01:07:05 +0000 (01:07 +0000)]
Fix test build.

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

12 years agouse the right include name
Paul Davis [Tue, 20 Mar 2012 19:38:49 +0000 (19:38 +0000)]
use the right include name

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

12 years agomake MIDI Patch Manager search in $user_config_dir/patchfiles for midnam files as...
Paul Davis [Tue, 20 Mar 2012 18:03:46 +0000 (18:03 +0000)]
make MIDI Patch Manager search in $user_config_dir/patchfiles for midnam files as well as the per-session equivalent. need to stop it from doing at session shutdown time too.

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