ardour.git
12 years agoslighty brighten bar lines and slighty dim beat lines for easier visual distinction...
Paul Davis [Tue, 19 Jun 2012 02:02:54 +0000 (02:02 +0000)]
slighty brighten bar lines and slighty dim beat lines for easier visual distinction (#4930)

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

12 years agoAdd load_session to profiling.
Carl Hetherington [Tue, 19 Jun 2012 00:25:26 +0000 (00:25 +0000)]
Add load_session to profiling.

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

12 years agoDisallow import-without-copy for MIDI files (#4148).
Carl Hetherington [Mon, 18 Jun 2012 23:42:54 +0000 (23:42 +0000)]
Disallow import-without-copy for MIDI files (#4148).

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

12 years agofix compilation on OS X
Paul Davis [Mon, 18 Jun 2012 22:57:16 +0000 (22:57 +0000)]
fix compilation on OS X

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

12 years agodefine CHARSETALIASDIR (again) to stop various bits of the GNU stack from loading...
Paul Davis [Mon, 18 Jun 2012 21:33:55 +0000 (21:33 +0000)]
define CHARSETALIASDIR (again) to stop various bits of the GNU stack from loading a charset.alias file that we did not provide; slightly rearrange logic of fixup_bundle() so that we can do more stuff even if we can't write to the user ardour conf dir (as in 2.X)

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

12 years agomake switching between input+disk monitoring work "right" for MIDI tracks; also fix...
Paul Davis [Mon, 18 Jun 2012 19:20:59 +0000 (19:20 +0000)]
make switching between input+disk monitoring work "right" for MIDI tracks; also fix a bug that led to messages about notes already being on at program start because of a double seek with no read in between

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

12 years agofix comment indentation
Paul Davis [Mon, 18 Jun 2012 19:19:44 +0000 (19:19 +0000)]
fix comment indentation

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

12 years agoSimple arrangement to run basic load tests on a corpus
Carl Hetherington [Mon, 18 Jun 2012 18:28:40 +0000 (18:28 +0000)]
Simple arrangement to run basic load tests on a corpus
of sessions.

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

12 years agoFix comment.
Carl Hetherington [Mon, 18 Jun 2012 18:28:26 +0000 (18:28 +0000)]
Fix comment.

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

12 years agoMake EnumWriter exceptions a bit more informative.
Carl Hetherington [Mon, 18 Jun 2012 18:28:19 +0000 (18:28 +0000)]
Make EnumWriter exceptions a bit more informative.

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

12 years agoFix (?) failure to load A2 sessions with a ControlOut.
Carl Hetherington [Mon, 18 Jun 2012 18:28:06 +0000 (18:28 +0000)]
Fix (?) failure to load A2 sessions with a ControlOut.

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

12 years agoFix up profiling.
Carl Hetherington [Mon, 18 Jun 2012 16:58:10 +0000 (16:58 +0000)]
Fix up profiling.

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

12 years agoUse a map of region names to speed up
Carl Hetherington [Mon, 18 Jun 2012 16:57:03 +0000 (16:57 +0000)]
Use a map of region names to speed up
RegionFactory::new_region_name; should help with #2982.

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

12 years agoDo XML comparisons better in tests.
Carl Hetherington [Mon, 18 Jun 2012 15:19:12 +0000 (15:19 +0000)]
Do XML comparisons better in tests.

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

12 years agoBasic region naming test.
Carl Hetherington [Mon, 18 Jun 2012 15:19:05 +0000 (15:19 +0000)]
Basic region naming test.

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

12 years agoProfile of duplicating lots of regions.
Carl Hetherington [Sun, 17 Jun 2012 21:20:51 +0000 (21:20 +0000)]
Profile of duplicating lots of regions.

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

12 years agoResurrect profiling code.
Carl Hetherington [Sun, 17 Jun 2012 21:20:11 +0000 (21:20 +0000)]
Resurrect profiling code.

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

12 years agoUse hardware optimization when running tests.
Carl Hetherington [Sun, 17 Jun 2012 21:19:53 +0000 (21:19 +0000)]
Use hardware optimization when running tests.

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

12 years agoHacky fix for track height step losing 'grip' on the
Carl Hetherington [Sun, 17 Jun 2012 16:57:21 +0000 (16:57 +0000)]
Hacky fix for track height step losing 'grip' on the
track being resized (#4503).

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

12 years agoRemove believed-unnecessary and broken MIDI thru option;
Carl Hetherington [Sun, 17 Jun 2012 14:28:10 +0000 (14:28 +0000)]
Remove believed-unnecessary and broken MIDI thru option;
should fix #4749.

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

12 years agomake it possible for canvas patch changes to receive kbd events, and along the way...
Paul Davis [Sun, 17 Jun 2012 13:37:52 +0000 (13:37 +0000)]
make it possible for canvas patch changes to receive kbd events, and along the way clean up a couple of related issues, providing noevent-pixbuf (which we should probably use for regionview names too)

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

12 years agoAdd option to disable autoscroll of editor (#4721).
Carl Hetherington [Sun, 17 Jun 2012 12:38:59 +0000 (12:38 +0000)]
Add option to disable autoscroll of editor (#4721).

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

12 years agoSimplify management of waveform visibility / shape / scale;
Carl Hetherington [Sun, 17 Jun 2012 11:48:51 +0000 (11:48 +0000)]
Simplify management of waveform visibility / shape / scale;
fixes #4727, I think.

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

12 years agoAdd missing set_state of _mute_control; fixes #3959.
Carl Hetherington [Sat, 16 Jun 2012 19:00:38 +0000 (19:00 +0000)]
Add missing set_state of _mute_control; fixes #3959.

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

12 years agoReturn silence from read_from_sources() if we try to read a channel that our source...
Carl Hetherington [Sat, 16 Jun 2012 18:18:30 +0000 (18:18 +0000)]
Return silence from read_from_sources() if we try to read a channel that our source does not have (if replicate-missing-region-channels is turned off); should fix #4934.

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

12 years agoAdd new SharedStatefulProperty which manages a shared_ptr to
Carl Hetherington [Sat, 16 Jun 2012 17:20:10 +0000 (17:20 +0000)]
Add new SharedStatefulProperty which manages a shared_ptr to
some Stateful object, and a subclass to use this for
AutomationList.  SharedStatefulProperty will manage undo / redo
using full copies of the XML state, like MementoCommand,
but does it within the Property undo system.

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

12 years agoMCP: patch from seablade to fix pot displays (both absolute value and negative values)
Paul Davis [Sat, 16 Jun 2012 03:10:26 +0000 (03:10 +0000)]
MCP: patch from seablade to fix pot displays (both absolute value and negative values)

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

12 years agoSsshhhhh....
Paul Davis [Sat, 16 Jun 2012 03:08:28 +0000 (03:08 +0000)]
Ssshhhhh....

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

12 years agoextra insurance against ProcessThread::init() being called more than once
Paul Davis [Sat, 16 Jun 2012 02:53:50 +0000 (02:53 +0000)]
extra insurance against ProcessThread::init() being called more than once

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

12 years agodo NOT call ProcessThread::init() **again** inside a freeze op, since this is a stati...
Paul Davis [Sat, 16 Jun 2012 02:52:09 +0000 (02:52 +0000)]
do NOT call ProcessThread::init() **again** inside a freeze op, since this is a static, single-time call that sets up a per-thread (thread-private) storage key. Should fix #4722

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

12 years agonever try to remove state from a read-only session
Paul Davis [Sat, 16 Jun 2012 02:50:20 +0000 (02:50 +0000)]
never try to remove state from a read-only session

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

12 years agoRe-show all xfades that we hide during drags (#4933).
Carl Hetherington [Fri, 15 Jun 2012 15:01:35 +0000 (15:01 +0000)]
Re-show all xfades that we hide during drags (#4933).

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

12 years agoSimple test for playlist region equivalency.
Carl Hetherington [Thu, 14 Jun 2012 13:01:32 +0000 (13:01 +0000)]
Simple test for playlist region equivalency.

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

12 years agoRemove debugging.
Carl Hetherington [Thu, 14 Jun 2012 13:01:16 +0000 (13:01 +0000)]
Remove debugging.

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

12 years agoHopefully fix race between engine being halted and butler
Carl Hetherington [Thu, 14 Jun 2012 11:45:10 +0000 (11:45 +0000)]
Hopefully fix race between engine being halted and butler
being destroyed.

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

12 years agoFix uninitialised variable.
Carl Hetherington [Thu, 14 Jun 2012 11:32:12 +0000 (11:32 +0000)]
Fix uninitialised variable.

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

12 years agoDarken light theme treeview text (#3877).
Carl Hetherington [Thu, 14 Jun 2012 09:48:58 +0000 (09:48 +0000)]
Darken light theme treeview text (#3877).

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

12 years agoFix crash on close.
Carl Hetherington [Thu, 14 Jun 2012 09:48:49 +0000 (09:48 +0000)]
Fix crash on close.

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

12 years agoFix visibility of midi scroomer and keyboard.
Carl Hetherington [Wed, 13 Jun 2012 23:28:32 +0000 (23:28 +0000)]
Fix visibility of midi scroomer and keyboard.

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

12 years agoSlightly tweaked patch from royvegard to add optional threshold for catch-up of non...
Carl Hetherington [Wed, 13 Jun 2012 21:53:50 +0000 (21:53 +0000)]
Slightly tweaked patch from royvegard to add optional threshold for catch-up of non motorised controls in generic MIDI surfaces (#4828).

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

12 years agoUse preview filename rather than the first-alphabetically-sorted filename for preview...
Carl Hetherington [Wed, 13 Jun 2012 21:32:48 +0000 (21:32 +0000)]
Use preview filename rather than the first-alphabetically-sorted filename for preview in the import dialogue; should fix #4921.

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

12 years agoPatch from colinf to fix problems with toggle mixer on top (#2477).
Carl Hetherington [Wed, 13 Jun 2012 21:18:00 +0000 (21:18 +0000)]
Patch from colinf to fix problems with toggle mixer on top (#2477).

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

12 years agoScale the piano roll right with stacked tracks, as well.
Carl Hetherington [Wed, 13 Jun 2012 20:58:12 +0000 (20:58 +0000)]
Scale the piano roll right with stacked tracks, as well.

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

12 years agoUninitialised variable.
Carl Hetherington [Wed, 13 Jun 2012 20:58:07 +0000 (20:58 +0000)]
Uninitialised variable.

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

12 years agoRemove unused variable.
Carl Hetherington [Wed, 13 Jun 2012 20:57:56 +0000 (20:57 +0000)]
Remove unused variable.

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

12 years agoShrink the midi scroomer to match the keyboard in stacked mode.
Carl Hetherington [Wed, 13 Jun 2012 20:37:34 +0000 (20:37 +0000)]
Shrink the midi scroomer to match the keyboard in stacked mode.

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

12 years agoDon't recompute child heights when building the route time axis view menu.
Carl Hetherington [Wed, 13 Jun 2012 20:37:07 +0000 (20:37 +0000)]
Don't recompute child heights when building the route time axis view menu.

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

12 years agoColour lower stacked regions with a lighter colour and make it configurable (#4835).
Carl Hetherington [Wed, 13 Jun 2012 19:45:16 +0000 (19:45 +0000)]
Colour lower stacked regions with a lighter colour and make it configurable (#4835).

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

12 years agoMake y position of MIDI note drags slightly better.
Carl Hetherington [Wed, 13 Jun 2012 18:01:29 +0000 (18:01 +0000)]
Make y position of MIDI note drags slightly better.

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

12 years agoMake a few more MIDI track menu options apply to the current selection (#4106).
Carl Hetherington [Wed, 13 Jun 2012 17:24:15 +0000 (17:24 +0000)]
Make a few more MIDI track menu options apply to the current selection (#4106).

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

12 years agoFit note range on adding regions to tracks during import (#4106).
Carl Hetherington [Wed, 13 Jun 2012 16:47:06 +0000 (16:47 +0000)]
Fit note range on adding regions to tracks during import (#4106).

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

12 years agoAdd operation_in_progress() method.
Carl Hetherington [Wed, 13 Jun 2012 16:46:59 +0000 (16:46 +0000)]
Add operation_in_progress() method.

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

12 years agoMake fit contents / show full range work for all
Carl Hetherington [Wed, 13 Jun 2012 15:38:27 +0000 (15:38 +0000)]
Make fit contents / show full range work for all
selected tracks (part of #4106).

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

12 years agoFix some uninitialised variable warnings.
Carl Hetherington [Wed, 13 Jun 2012 15:38:15 +0000 (15:38 +0000)]
Fix some uninitialised variable warnings.

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

12 years agoadd use of access(2) to filesystem exists_and_is_writable() implementation, to pick...
Paul Davis [Wed, 13 Jun 2012 15:09:40 +0000 (15:09 +0000)]
add use of access(2) to filesystem exists_and_is_writable() implementation, to pick up filesystems mounted read-only

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

12 years agoflip default value of Plugin::presets_are_MIDI_programs and Plugin::current_preset_us...
Paul Davis [Wed, 13 Jun 2012 11:55:15 +0000 (11:55 +0000)]
flip default value of Plugin::presets_are_MIDI_programs and Plugin::current_preset_uses_general_midi

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

12 years agoadded General MIDI midname file (missing drum info)
Paul Davis [Wed, 13 Jun 2012 11:54:36 +0000 (11:54 +0000)]
added General MIDI midname file (missing drum info)

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

12 years agoMuch simplier implementation of: "Show Toolbar" act immediately, i.e., even when...
Rodrigo Severo [Wed, 13 Jun 2012 04:21:46 +0000 (04:21 +0000)]
Much simplier implementation of: "Show Toolbar" act immediately, i.e., even when already maximized, changing this toggle changes whenever toolbar is shown or not.

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

12 years agoSmall change to Timecode display (SMTPE) in the Mackie.
Rodrigo Severo [Wed, 13 Jun 2012 03:09:46 +0000 (03:09 +0000)]
Small change to Timecode display (SMTPE) in the Mackie.

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

12 years agoPrevents a master fader being created without a control at Surface::setup_master_fader;
Rodrigo Severo [Wed, 13 Jun 2012 03:07:50 +0000 (03:07 +0000)]
Prevents a master fader being created without a control at Surface::setup_master_fader;
Several DEBUG_TRACE changes to help identify race conditions;

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

12 years agofix some bugs with dragging patch/program changes around
Paul Davis [Wed, 13 Jun 2012 02:00:51 +0000 (02:00 +0000)]
fix some bugs with dragging patch/program changes around

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

12 years agoBogus commit to comment commit 12689:
Rodrigo Severo [Tue, 12 Jun 2012 21:09:53 +0000 (21:09 +0000)]
Bogus commit to comment commit 12689:
Small patch to fix the "Solo" global button in the transport section of Mackie's.

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

12 years agogit-svn-id: svn://localhost/ardour2/branches/3.0@12689 d708f5d6-7413-0410-9779-e7cbd7...
Rodrigo Severo [Tue, 12 Jun 2012 21:04:13 +0000 (21:04 +0000)]
git-svn-id: svn://localhost/ardour2/branches/3.0@12689 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoprevent too-wide program change flags at startup
Paul Davis [Tue, 12 Jun 2012 18:02:03 +0000 (18:02 +0000)]
prevent too-wide program change flags at startup

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

12 years agohide patch changes if they are too wide for the region at a given zoom level
Paul Davis [Tue, 12 Jun 2012 17:55:05 +0000 (17:55 +0000)]
hide patch changes if they are too wide for the region at a given zoom level

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

12 years agochange CanvasFlag to use a pixbuf for text rather than Canvas::Text, because we know...
Paul Davis [Tue, 12 Jun 2012 17:16:43 +0000 (17:16 +0000)]
change CanvasFlag to use a pixbuf for text rather than Canvas::Text, because we know the performance improvements are good

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

12 years agoHandle failure of statfs to return available disc space on Samba shares mounted via...
Carl Hetherington [Tue, 12 Jun 2012 16:41:29 +0000 (16:41 +0000)]
Handle failure of statfs to return available disc space on Samba shares mounted via GVFS, reporting available space as unknown in this case (#4657).

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

12 years agofix complete screw up in connecting MIDNAM PatchNameList with ChannelNameSets; more...
Paul Davis [Tue, 12 Jun 2012 16:32:06 +0000 (16:32 +0000)]
fix complete screw up in connecting MIDNAM PatchNameList with ChannelNameSets; more tweaks and twirls for patch/program change mgmt

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

12 years agoEscape angled brackets in playlist names for tooltips.
Carl Hetherington [Tue, 12 Jun 2012 14:19:35 +0000 (14:19 +0000)]
Escape angled brackets in playlist names for tooltips.

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

12 years agoFilter the existing session chooser to .ardour files, as with the open session chooser.
Carl Hetherington [Tue, 12 Jun 2012 13:38:46 +0000 (13:38 +0000)]
Filter the existing session chooser to .ardour files, as with the open session chooser.

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

12 years agomaximise-editor patch from Rodrigo:
Paul Davis [Tue, 12 Jun 2012 04:20:13 +0000 (04:20 +0000)]
maximise-editor patch from Rodrigo:
    * makes "View >> Toolbar When Maximized" act immediately, i.e., even when already maximized changing this toggle changes whenever toolbar is shown or not;
    * renames "Toolbar When Maximized" to "Show Toolbar" as it acts whenever editor has maximized space or not.

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

12 years agomore changes to patch change/plugin preset support - replace regexp replacement with...
Paul Davis [Tue, 12 Jun 2012 04:05:10 +0000 (04:05 +0000)]
more changes to patch change/plugin preset support - replace regexp replacement with boost::replace_all(), actually find programs/patches in the data we have, and more. notable changes to constructors and structure of various MIDI::Name objects

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

12 years agoPatch from colinf to put the playlist / take name in the playlist button tooltip...
Carl Hetherington [Mon, 11 Jun 2012 23:15:17 +0000 (23:15 +0000)]
Patch from colinf to put the playlist / take name in the playlist button tooltip (#4833).

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

12 years agolots more work trying to create a common structure for accessing plugin and MIDNAME...
Paul Davis [Mon, 11 Jun 2012 22:59:35 +0000 (22:59 +0000)]
lots more work trying to create a common structure for accessing plugin and MIDNAME patch/preset/program names. still not done

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

12 years agomake canvas flag use NoEventText for its label, and try to set the font (unsuccessful...
Paul Davis [Mon, 11 Jun 2012 22:58:55 +0000 (22:58 +0000)]
make canvas flag use NoEventText for its label, and try to set the font (unsuccessfully, it seems) to the same TimeAxisViewItem::NAME_FONT

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

12 years agoRemove old line.
Carl Hetherington [Mon, 11 Jun 2012 21:21:44 +0000 (21:21 +0000)]
Remove old line.

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

12 years agoFactor out 'persistent' tooltip code from the panner
Carl Hetherington [Mon, 11 Jun 2012 21:21:10 +0000 (21:21 +0000)]
Factor out 'persistent' tooltip code from the panner
interface and use it for processor box sliders (#4461).

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

12 years agoTry to make cppunit mandatory if --test is passed to
Carl Hetherington [Mon, 11 Jun 2012 13:07:10 +0000 (13:07 +0000)]
Try to make cppunit mandatory if --test is passed to
configure.

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

12 years agopartially-done (but compile-friendly) move of instrument info into a new backend...
Paul Davis [Mon, 11 Jun 2012 12:07:17 +0000 (12:07 +0000)]
partially-done (but compile-friendly) move of instrument info into a new backend object

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

12 years agoDon't change playlists of frozen tracks when changing the
Carl Hetherington [Mon, 11 Jun 2012 11:26:42 +0000 (11:26 +0000)]
Don't change playlists of frozen tracks when changing the
playlist of a route group (#4864).

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

12 years agoMake send automation work (#4734).
Carl Hetherington [Mon, 11 Jun 2012 10:42:30 +0000 (10:42 +0000)]
Make send automation work (#4734).

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

12 years agoRemove unused method.
Carl Hetherington [Mon, 11 Jun 2012 09:50:58 +0000 (09:50 +0000)]
Remove unused method.

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

12 years agoRemove debug code.
Carl Hetherington [Mon, 11 Jun 2012 09:50:48 +0000 (09:50 +0000)]
Remove debug code.

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

12 years agoremove craziness of propagating MIDI 7 bit limits into MIDNAM handling by replacing...
Paul Davis [Sun, 10 Jun 2012 16:42:17 +0000 (16:42 +0000)]
remove craziness of propagating MIDI 7 bit limits into MIDNAM handling by replacing bank_msb/lsb with "bank" ; move responsibility for discovering patch names into MIDI trackview (soon to move again)

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

12 years agoFix another place where regions can be inserted into a
Carl Hetherington [Sun, 10 Jun 2012 14:42:22 +0000 (14:42 +0000)]
Fix another place where regions can be inserted into a
playlist without also getting put into the master list.

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

12 years agoFix incorrect display of automation lines after points are
Carl Hetherington [Sun, 10 Jun 2012 14:14:01 +0000 (14:14 +0000)]
Fix incorrect display of automation lines after points are
removed.

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

12 years agoAdd test for compound regions with the layering
Carl Hetherington [Sun, 10 Jun 2012 13:07:39 +0000 (13:07 +0000)]
Add test for compound regions with the layering
reversed.

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

12 years agoSet up layering correctly on compound playlists so that
Carl Hetherington [Sun, 10 Jun 2012 13:07:33 +0000 (13:07 +0000)]
Set up layering correctly on compound playlists so that
the regions on the compound list are arranged the same
as on the original.

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

12 years agoFix off-by-one in computation of crossfade lengths.
Carl Hetherington [Sun, 10 Jun 2012 13:07:28 +0000 (13:07 +0000)]
Fix off-by-one in computation of crossfade lengths.

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

12 years agoClean up libardour tests a bit.
Carl Hetherington [Sat, 9 Jun 2012 23:07:27 +0000 (23:07 +0000)]
Clean up libardour tests a bit.

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

12 years agoSend OSC URL announcement to the info stream.
Carl Hetherington [Sat, 9 Jun 2012 22:37:05 +0000 (22:37 +0000)]
Send OSC URL announcement to the info stream.

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

12 years agoFix crash in tests; not sure about the root cause.
Carl Hetherington [Sat, 9 Jun 2012 22:36:59 +0000 (22:36 +0000)]
Fix crash in tests; not sure about the root cause.

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

12 years agoDelete the session before the AudioEngine is stopped, as the mackie surface code...
Carl Hetherington [Sat, 9 Jun 2012 21:07:33 +0000 (21:07 +0000)]
Delete the session before the AudioEngine is stopped, as the mackie surface code wants to send out MIDI as it dies.

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

12 years agoTest combination of regions.
Carl Hetherington [Sat, 9 Jun 2012 21:07:22 +0000 (21:07 +0000)]
Test combination of regions.

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

12 years agoComment tweaks.
Carl Hetherington [Sat, 9 Jun 2012 21:06:59 +0000 (21:06 +0000)]
Comment tweaks.

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

12 years agoFix off-by-one in body_range().
Carl Hetherington [Sat, 9 Jun 2012 21:06:45 +0000 (21:06 +0000)]
Fix off-by-one in body_range().

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

12 years agoFix crash when MackieControlProtocol has gone away.
Carl Hetherington [Sat, 9 Jun 2012 21:06:22 +0000 (21:06 +0000)]
Fix crash when MackieControlProtocol has gone away.

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

12 years agoComment tweak.
Carl Hetherington [Sat, 9 Jun 2012 21:06:12 +0000 (21:06 +0000)]
Comment tweak.

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

12 years agoSend LV2 notes to the info stream.
Carl Hetherington [Sat, 9 Jun 2012 21:06:05 +0000 (21:06 +0000)]
Send LV2 notes to the info stream.

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

12 years agoMCP: latest patch from Rodrigo:
Paul Davis [Sat, 9 Jun 2012 19:06:52 +0000 (19:06 +0000)]
MCP: latest patch from Rodrigo:
    * fixes Master Fader Touch button in the Mackie;
    * implements a MasterFaderTouch global button;
    * removes unused MackieControlProtocol::_transport_previously_rolling property;
    * implements DeviceInfo::get_global_button() method;
    * creates GlobalButtonsInfo and StripButtonsInfo types in DeviceInfo;
    * implements Surface::_last_master_gain_written property to help master fader feedback;
    * makes Surface respect _mcp.device_info().strip_cnt() to create master fader and when connecting signals for strips and master fader instead of using hardcoded 8;
    * removed a few unnecessary updates in Surface::turn_it_on();
    * included master_gain_changed() in Surface::periodic();
    * implemented MackieControlProtocol::master_fader_touch_press and
    * MackieControlProtocol::master_fader_touch_release;

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