ardour.git
12 years agoMake PBD::sys::exists_and_writable take a string instead of sys::path
Tim Mayberry [Sat, 23 Jun 2012 05:08:17 +0000 (05:08 +0000)]
Make PBD::sys::exists_and_writable take a string instead of sys::path

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

12 years agoMove three file utility functions from pbd/filesystem.h to pbd/file_utils.h
Tim Mayberry [Sat, 23 Jun 2012 05:08:14 +0000 (05:08 +0000)]
Move three file utility functions from pbd/filesystem.h to pbd/file_utils.h

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

12 years agoChange PBD::sys::get_absolute_path to take and return a std::string
Tim Mayberry [Sat, 23 Jun 2012 05:08:11 +0000 (05:08 +0000)]
Change PBD::sys::get_absolute_path to take and return a std::string

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

12 years agoMove docs for PBD::sys::get_absolute_path into header
Tim Mayberry [Sat, 23 Jun 2012 05:08:09 +0000 (05:08 +0000)]
Move docs for PBD::sys::get_absolute_path into header

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

12 years agoMove doc for PBD::sys::path_is_within to header
Tim Mayberry [Sat, 23 Jun 2012 05:08:06 +0000 (05:08 +0000)]
Move doc for PBD::sys::path_is_within to header

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

12 years agoChange PBD::sys::path_is_within to take string params and use Glib
Tim Mayberry [Sat, 23 Jun 2012 05:08:04 +0000 (05:08 +0000)]
Change PBD::sys::path_is_within to take string params and use Glib

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

12 years agoAdd docs for PBD::sys::equivalent_paths
Tim Mayberry [Sat, 23 Jun 2012 05:08:01 +0000 (05:08 +0000)]
Add docs for PBD::sys::equivalent_paths

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

12 years agoRename PBD::sys::inodes_same to equivalent_paths
Tim Mayberry [Sat, 23 Jun 2012 05:07:59 +0000 (05:07 +0000)]
Rename PBD::sys::inodes_same to equivalent_paths

This better reflects its function and more closely matches boost
naming(which is usually a good sign)

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

12 years agoFix PBD::sys::inodes_same to check that paths are on same device
Tim Mayberry [Sat, 23 Jun 2012 05:07:56 +0000 (05:07 +0000)]
Fix PBD::sys::inodes_same to check that paths are on same device

two paths can have the same inode and be on different devices and hence
would not be equivalent

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

12 years agoUse g_stat in PBD::sys::inodes_same for portability
Tim Mayberry [Sat, 23 Jun 2012 05:07:54 +0000 (05:07 +0000)]
Use g_stat in PBD::sys::inodes_same for portability

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

12 years agoOverwrite target file in PBD::copy_file
Tim Mayberry [Sat, 23 Jun 2012 05:07:52 +0000 (05:07 +0000)]
Overwrite target file in PBD::copy_file

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

12 years agoMove PBD::sys::copy_file/s into pbd/file_utils.h and PBD:: namespace
Tim Mayberry [Sat, 23 Jun 2012 05:07:49 +0000 (05:07 +0000)]
Move PBD::sys::copy_file/s into pbd/file_utils.h and PBD:: namespace

Copy files no longer depends on PBD::sys::path so move it

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

12 years agoUse Glib::build_filename in PBD::sys::copy_files
Tim Mayberry [Sat, 23 Jun 2012 05:07:47 +0000 (05:07 +0000)]
Use Glib::build_filename in PBD::sys::copy_files

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

12 years agoUse PBD::sys::copy_file in ARDOUR::create_backup_file
Tim Mayberry [Sat, 23 Jun 2012 05:07:45 +0000 (05:07 +0000)]
Use PBD::sys::copy_file in ARDOUR::create_backup_file

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

12 years agoUse giomm in PBD::sys::copy_file and change function signature
Tim Mayberry [Sat, 23 Jun 2012 05:07:42 +0000 (05:07 +0000)]
Use giomm in PBD::sys::copy_file and change function signature

now returns bool to indicate successful copy rather than throw and
takes strings as args

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

12 years agoRemove unnecessary header include
Tim Mayberry [Sat, 23 Jun 2012 05:07:40 +0000 (05:07 +0000)]
Remove unnecessary header include

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

12 years agoReplace use of pbd/filesystem.h with glib/mm equivalents
Tim Mayberry [Sat, 23 Jun 2012 05:07:37 +0000 (05:07 +0000)]
Replace use of pbd/filesystem.h with glib/mm equivalents

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

12 years agoUse PBD::basename_nosuffix instead of sys::basename
Tim Mayberry [Sat, 23 Jun 2012 05:07:35 +0000 (05:07 +0000)]
Use PBD::basename_nosuffix instead of sys::basename

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

12 years agoUse giomm in ARDOUR::create_backup_file to copy file for portablity
Tim Mayberry [Sat, 23 Jun 2012 05:07:33 +0000 (05:07 +0000)]
Use giomm in ARDOUR::create_backup_file to copy file for portablity

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

12 years agoReplace use of PBD::sys::path with Glib equivalent
Tim Mayberry [Sat, 23 Jun 2012 05:07:31 +0000 (05:07 +0000)]
Replace use of PBD::sys::path with Glib equivalent

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

12 years agoRemove now unnecessary header include
Tim Mayberry [Sat, 23 Jun 2012 05:07:29 +0000 (05:07 +0000)]
Remove now unnecessary header include

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

12 years agoReplace PBD::sys::path use in PBD::Stateful
Tim Mayberry [Sat, 23 Jun 2012 05:07:27 +0000 (05:07 +0000)]
Replace PBD::sys::path use in PBD::Stateful

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

12 years agoReplace use of pbd/filesystem.h with Glib:: equivalents
Tim Mayberry [Sat, 23 Jun 2012 05:07:24 +0000 (05:07 +0000)]
Replace use of pbd/filesystem.h with Glib:: equivalents

There is also no need to try and create user_config_directory() as
calling it ensures it exists and is a valid directory

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

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

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

12 years agoReplace use of pbd/filesystem.h with Glib alternative
Tim Mayberry [Sat, 23 Jun 2012 05:07:20 +0000 (05:07 +0000)]
Replace use of pbd/filesystem.h with Glib alternative

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

12 years agoReplace use of PBD::sys::path in ARDOUR::find_bindings_files
Tim Mayberry [Sat, 23 Jun 2012 05:07:18 +0000 (05:07 +0000)]
Replace use of PBD::sys::path in ARDOUR::find_bindings_files

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

12 years agoUse static string in ARDOUR::user_config_directory
Tim Mayberry [Sat, 23 Jun 2012 05:07:16 +0000 (05:07 +0000)]
Use static string in ARDOUR::user_config_directory

This code only needs to run once to determine/create users config directory

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

12 years agoReplace use of PBD::sys::path in ARDOUR::user_config_directory
Tim Mayberry [Sat, 23 Jun 2012 05:07:14 +0000 (05:07 +0000)]
Replace use of PBD::sys::path in ARDOUR::user_config_directory

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

12 years agoSimplify ardour_*_search_path functions
Tim Mayberry [Sat, 23 Jun 2012 05:07:12 +0000 (05:07 +0000)]
Simplify ardour_*_search_path functions

Also fixes portability but windows build will likely not rely on env
variables

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

12 years agoRemove unused header include
Tim Mayberry [Sat, 23 Jun 2012 05:07:09 +0000 (05:07 +0000)]
Remove unused header include

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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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