ardour.git
11 years agoReplace use of PBD::sys::path in ardour/template_utils.h
Tim Mayberry [Sat, 23 Jun 2012 05:07:05 +0000 (05:07 +0000)]
Replace use of PBD::sys::path in ardour/template_utils.h

some associated changes from not including pbd/filesystem.h in template_utils.h

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

11 years agoReplace use of PBD::sys::path in ardour/session_state_utils.h
Tim Mayberry [Sat, 23 Jun 2012 05:07:02 +0000 (05:07 +0000)]
Replace use of PBD::sys::path in ardour/session_state_utils.h

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

11 years agoReplace use of PBD::sys::path in ExportProfileManager
Tim Mayberry [Sat, 23 Jun 2012 05:07:00 +0000 (05:07 +0000)]
Replace use of PBD::sys::path in ExportProfileManager

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

11 years agoReplace use of PBD::sys::path in AudioRegionImporter
Tim Mayberry [Sat, 23 Jun 2012 05:06:57 +0000 (05:06 +0000)]
Replace use of PBD::sys::path in AudioRegionImporter

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

11 years agoUse std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h...
Tim Mayberry [Sat, 23 Jun 2012 05:06:54 +0000 (05:06 +0000)]
Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h

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

11 years agoRemove unneeded header include
Tim Mayberry [Sat, 23 Jun 2012 03:51:43 +0000 (03:51 +0000)]
Remove unneeded header include

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

11 years agoRemove unnecessary header includes
Tim Mayberry [Sat, 23 Jun 2012 03:51:41 +0000 (03:51 +0000)]
Remove unnecessary header includes

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

11 years agoRemove two unnecessary header includes of pbd/mountpoint.h
Tim Mayberry [Sat, 23 Jun 2012 03:51:39 +0000 (03:51 +0000)]
Remove two unnecessary header includes of pbd/mountpoint.h

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

11 years agoRemove unnecessary header include
Tim Mayberry [Sat, 23 Jun 2012 03:51:37 +0000 (03:51 +0000)]
Remove unnecessary header include

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

11 years agoRemove unnecessary header include
Tim Mayberry [Sat, 23 Jun 2012 03:51:34 +0000 (03:51 +0000)]
Remove unnecessary header include

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

11 years agodon't try to backup sessions from older versions of ardour that are also read-only
Paul Davis [Fri, 22 Jun 2012 19:44:11 +0000 (19:44 +0000)]
don't try to backup sessions from older versions of ardour that are also read-only

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

11 years agodon't swallow left/right scroll events in a midi region view when in internal edit...
Paul Davis [Fri, 22 Jun 2012 17:35:41 +0000 (17:35 +0000)]
don't swallow left/right scroll events in a midi region view when in internal edit mode, fixes #4555

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

11 years agouse the pane watcher to prevent the nastiness that occurs when the RHS editor list...
Paul Davis [Fri, 22 Jun 2012 16:48:56 +0000 (16:48 +0000)]
use the pane watcher to prevent the nastiness that occurs when the RHS editor list is dragged so that the pane handle "vanishes" into the tabs. this used to only be a problem on OS X, but a variation of the problem is there on X11 too (fixes #4410)

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

11 years agokeep latency dialog for plugins above the plugin GUI
Paul Davis [Fri, 22 Jun 2012 16:38:15 +0000 (16:38 +0000)]
keep latency dialog for plugins above the plugin GUI

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

11 years agointroduce the idea of a "default transport speed", used whenever Session::start_trans...
Paul Davis [Fri, 22 Jun 2012 14:45:44 +0000 (14:45 +0000)]
introduce the idea of a "default transport speed", used whenever Session::start_transport() is called. Only the shuttle controller alters it, and even that only alters it in wheel mode, which means that stopping the transport does not rever the default speed back to zero. To get back to zero either switch the shuttle controller back to sprung mode, or change the speed back to zero (fixes #451 ... yes, really, a 3 digit bug fixed!)

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

11 years agofix reset of transport speed when seamless looping; add a few comments and tidy-ups...
Paul Davis [Fri, 22 Jun 2012 14:27:51 +0000 (14:27 +0000)]
fix reset of transport speed when seamless looping; add a few comments and tidy-ups to related transport code

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

11 years agoprovide an easier way to add mixed (audio+MIDI) tracks to a session, to facilitate...
Paul Davis [Fri, 22 Jun 2012 01:45:16 +0000 (01:45 +0000)]
provide an easier way to add mixed (audio+MIDI) tracks to a session, to facilitate the use of plugins like Reaktor which accept both audio & MIDI data. there's probably still a paradigm shift waiting to happen here but its likely post-3.0.

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

11 years agosshhh
Paul Davis [Thu, 21 Jun 2012 21:02:38 +0000 (21:02 +0000)]
sshhh

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

11 years agosmooth 0.5 second fade out during quit, plus MIDI panic to turn everything off (someo...
Paul Davis [Thu, 21 Jun 2012 20:31:14 +0000 (20:31 +0000)]
smooth 0.5 second fade out during quit, plus MIDI panic to turn everything off (someone will want an opton for that, no doubt)

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

11 years agomissing includes
Todd Naugle [Thu, 21 Jun 2012 20:24:03 +0000 (20:24 +0000)]
missing includes

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

11 years agoFixing issues with opening a browser when using the bundle. Use xdg-open instead...
Todd Naugle [Thu, 21 Jun 2012 20:15:38 +0000 (20:15 +0000)]
Fixing issues with opening a browser when using the bundle. Use xdg-open instead of glib functions. Fix to epa to ensure that the enviroment is restored correctly. The current enviroment has to be cleared. Otherwise any variables that are set in the current enviroment, but do not have a setting in the restored version will be left set.

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

11 years agoa putatively better approach to cleaning up ports at session closing
Paul Davis [Thu, 21 Jun 2012 15:00:10 +0000 (15:00 +0000)]
a putatively better approach to cleaning up ports at session closing

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

11 years agowhen a session goes away, deliver silence to all current ports to prevent a horrible...
Paul Davis [Wed, 20 Jun 2012 22:24:14 +0000 (22:24 +0000)]
when a session goes away, deliver silence to all current ports to prevent a horrible screech during cleanup/destruction

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

11 years agoremove sndfile debugging from export code
Paul Davis [Wed, 20 Jun 2012 22:23:32 +0000 (22:23 +0000)]
remove sndfile debugging from export code

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

11 years agoAdd a menu option and key press (F) in port matrices to flip the selected row and...
Carl Hetherington [Wed, 20 Jun 2012 22:01:22 +0000 (22:01 +0000)]
Add a menu option and key press (F) in port matrices to flip the selected row and columns in the matrix.

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

11 years agoDeclick before the end of seamless loops, not after the end, so that loops are render...
Carl Hetherington [Wed, 20 Jun 2012 18:46:05 +0000 (18:46 +0000)]
Declick before the end of seamless loops, not after the end, so that loops are rendered accurately (#4213, #4593).

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

11 years agoComment declick stuff a bit, and fix confusing use of bool instead of int to hold...
Carl Hetherington [Wed, 20 Jun 2012 18:45:58 +0000 (18:45 +0000)]
Comment declick stuff a bit, and fix confusing use of bool instead of int to hold the value.

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

11 years agoUnify clamping of frames-per-unit values during zoom; should help with #3514.
Carl Hetherington [Wed, 20 Jun 2012 14:14:27 +0000 (14:14 +0000)]
Unify clamping of frames-per-unit values during zoom; should help with #3514.

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

11 years agoRemove indirected method calls.
Carl Hetherington [Wed, 20 Jun 2012 14:14:22 +0000 (14:14 +0000)]
Remove indirected method calls.

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

11 years agotweak expander label name as per thorsten wilms' suggestion
Paul Davis [Wed, 20 Jun 2012 13:53:39 +0000 (13:53 +0000)]
tweak expander label name as per thorsten wilms' suggestion

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

11 years agotweak button label name as per thorsten wilms' suggestion
Paul Davis [Wed, 20 Jun 2012 13:01:14 +0000 (13:01 +0000)]
tweak button label name as per thorsten wilms' suggestion

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

11 years agoVery minor tidy-up.
Carl Hetherington [Wed, 20 Jun 2012 01:30:14 +0000 (01:30 +0000)]
Very minor tidy-up.

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

11 years agoClarify the meaning of the show-region-gain-envelopes option.
Carl Hetherington [Tue, 19 Jun 2012 22:05:04 +0000 (22:05 +0000)]
Clarify the meaning of the show-region-gain-envelopes option.

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

11 years agoMake sure we always copy Freesound imported files as well as MIDI ones (#4675).
Carl Hetherington [Tue, 19 Jun 2012 21:40:06 +0000 (21:40 +0000)]
Make sure we always copy Freesound imported files as well as MIDI ones (#4675).

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

11 years agosndfile/export debuggign with ricardus
Paul Davis [Tue, 19 Jun 2012 19:22:03 +0000 (19:22 +0000)]
sndfile/export debuggign with ricardus

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

11 years agopatch from colinf that adds an 'empty' preset to the preset drop-down list, so that...
Paul Davis [Tue, 19 Jun 2012 16:02:24 +0000 (16:02 +0000)]
patch from colinf that adds an 'empty' preset to the preset drop-down list, so that plugins can be set back to the 'no preset' state rather than being stuck in the state of 'preset loaded and modified'. This should apply to all plugin types, though I've only tried it on LV2 and LADSPA.

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

11 years ago2nd half of patch for handling LV2 presets from colinf (#4698)
Paul Davis [Tue, 19 Jun 2012 15:59:50 +0000 (15:59 +0000)]
2nd half of patch for handling LV2 presets from colinf (#4698)

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

11 years agopatch for handling LV2 presets from colinf (#4698)
Paul Davis [Tue, 19 Jun 2012 15:59:14 +0000 (15:59 +0000)]
patch for handling LV2 presets from colinf (#4698)

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

11 years agoWrite the topologically sorted route list back to the session's list so that the...
Carl Hetherington [Tue, 19 Jun 2012 15:51:56 +0000 (15:51 +0000)]
Write the topologically sorted route list back to the session's list so that the 1-processor process code sees it.  Should fix #4937.

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

11 years agoreally, really do not signal MidiRegionView::SelectionCleared during destruction
Paul Davis [Tue, 19 Jun 2012 14:15:02 +0000 (14:15 +0000)]
really, really do not signal MidiRegionView::SelectionCleared during destruction

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

11 years agoChange option name to clarify that get_default_narrow_ms is applied to the mixer...
Carl Hetherington [Tue, 19 Jun 2012 14:12:01 +0000 (14:12 +0000)]
Change option name to clarify that get_default_narrow_ms is applied to the mixer only (#4512).

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

11 years agoAdd option to add new range marker from the context menu without needing the keyboard...
Carl Hetherington [Tue, 19 Jun 2012 13:54:28 +0000 (13:54 +0000)]
Add option to add new range marker from the context menu without needing the keyboard (#4378).

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

11 years agoHush some debug messages.
Carl Hetherington [Tue, 19 Jun 2012 13:28:13 +0000 (13:28 +0000)]
Hush some debug messages.

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

11 years agoFix logic for setting mixer strip name button widths (#4448).
Carl Hetherington [Tue, 19 Jun 2012 13:23:48 +0000 (13:23 +0000)]
Fix logic for setting mixer strip name button widths (#4448).

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

11 years agoUse set_editable() rather than set_sensitive() to lock the clocks of locked markers...
Carl Hetherington [Tue, 19 Jun 2012 13:07:02 +0000 (13:07 +0000)]
Use set_editable() rather than set_sensitive() to lock the clocks of locked markers, so that middle-click to locate to the marker still works even when locked (#4939).

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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