ardour.git
11 years agounused variable warning
Paul Davis [Sun, 24 Jun 2012 12:57:08 +0000 (12:57 +0000)]
unused variable warning

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

11 years agoput patch chnage dialog under the mouse cursor when it appears
Paul Davis [Sun, 24 Jun 2012 12:56:56 +0000 (12:56 +0000)]
put patch chnage dialog under the mouse cursor when it appears

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

11 years agostring fix, plus a tweak to handling variable i/o AUs
Paul Davis [Sun, 24 Jun 2012 12:50:38 +0000 (12:50 +0000)]
string fix, plus a tweak to handling variable i/o AUs

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

11 years agostring fix
Paul Davis [Sun, 24 Jun 2012 12:49:53 +0000 (12:49 +0000)]
string fix

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

11 years agoIn export format dialog, show preview of generated part of description. Fix to #0004941
Sakari Bergen [Sun, 24 Jun 2012 11:36:33 +0000 (11:36 +0000)]
In export format dialog, show preview of generated part of description. Fix to #0004941

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

11 years agoFix build.
Carl Hetherington [Sat, 23 Jun 2012 12:54:11 +0000 (12:54 +0000)]
Fix build.

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

11 years agoRemove unused utility function ARDOUR::create_session_directory
Tim Mayberry [Sat, 23 Jun 2012 07:33:36 +0000 (07:33 +0000)]
Remove unused utility function ARDOUR::create_session_directory

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

11 years agoUse SessionDirectory class directly rather than ARDOUR::create_session_directory
Tim Mayberry [Sat, 23 Jun 2012 07:33:34 +0000 (07:33 +0000)]
Use SessionDirectory class directly rather than ARDOUR::create_session_directory

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

11 years agoChange the meaning of the return value in SessionDirectory::create
Tim Mayberry [Sat, 23 Jun 2012 07:33:31 +0000 (07:33 +0000)]
Change the meaning of the return value in SessionDirectory::create

return true if the session directories were successfully created, not
if the session directory was previously invalid(new directory).

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

11 years agoRemove unused pbd/filesystem.h/cc
Tim Mayberry [Sat, 23 Jun 2012 05:09:54 +0000 (05:09 +0000)]
Remove unused pbd/filesystem.h/cc

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

11 years agoRemove unused or unnecessary header includes
Tim Mayberry [Sat, 23 Jun 2012 05:09:51 +0000 (05:09 +0000)]
Remove unused or unnecessary header includes

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

11 years agoUse std::string and Glib::build_filename in UIConfiguration::save_state
Tim Mayberry [Sat, 23 Jun 2012 05:09:48 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in UIConfiguration::save_state

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

11 years agoUse std::string and Glib::build_filename in gtk2_ardour
Tim Mayberry [Sat, 23 Jun 2012 05:09:46 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in gtk2_ardour

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

11 years agoUse std::string and Glib instead of pbd/filesystem.h in DeviceProfile
Tim Mayberry [Sat, 23 Jun 2012 05:09:44 +0000 (05:09 +0000)]
Use std::string and Glib instead of pbd/filesystem.h in DeviceProfile

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

11 years agoUse Glib instead of pbd/filesystem.h in GenericMidiControlProtocol
Tim Mayberry [Sat, 23 Jun 2012 05:09:42 +0000 (05:09 +0000)]
Use Glib instead of pbd/filesystem.h in GenericMidiControlProtocol

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

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

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

11 years agoUse std::string and Glib::build_filename in Session::save_template
Tim Mayberry [Sat, 23 Jun 2012 05:09:37 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::save_template

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

11 years agoUse std::string and Glib::build_filename in Session::path_from_region_name
Tim Mayberry [Sat, 23 Jun 2012 05:09:35 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::path_from_region_name

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

11 years agoUse std::string and Glib::build_filename in Session::load_state
Tim Mayberry [Sat, 23 Jun 2012 05:09:33 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::load_state

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

11 years agoUse std::string and Glib::build_filename in Session::save_state
Tim Mayberry [Sat, 23 Jun 2012 05:09:31 +0000 (05:09 +0000)]
Use std::string and Glib::build_filename in Session::save_state

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

11 years agoUse std::string instead of sys::path in Session::jack_session_event
Tim Mayberry [Sat, 23 Jun 2012 05:09:28 +0000 (05:09 +0000)]
Use std::string instead of sys::path in Session::jack_session_event

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

11 years agoUse std::string instead of PBD::sys::path in Session::restore_history
Tim Mayberry [Sat, 23 Jun 2012 05:09:26 +0000 (05:09 +0000)]
Use std::string instead of PBD::sys::path in Session::restore_history

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

11 years agoUse Glib::build_filename in Session::new_midi_source_name()
Tim Mayberry [Sat, 23 Jun 2012 05:09:24 +0000 (05:09 +0000)]
Use Glib::build_filename in Session::new_midi_source_name()

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

11 years agoRemove unused PBD:sys::create_directory/ies functions
Tim Mayberry [Sat, 23 Jun 2012 05:09:22 +0000 (05:09 +0000)]
Remove unused PBD:sys::create_directory/ies functions

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

11 years agoUse g_mkdir_with_parents instead of sys::create_directories
Tim Mayberry [Sat, 23 Jun 2012 05:09:19 +0000 (05:09 +0000)]
Use g_mkdir_with_parents instead of sys::create_directories

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

11 years agoRemove unnecessary code to create user_config_directory
Tim Mayberry [Sat, 23 Jun 2012 05:09:17 +0000 (05:09 +0000)]
Remove unnecessary code to create user_config_directory

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

11 years agoAdd doc note about postcondition of ARDOUR::user_config_directory()
Tim Mayberry [Sat, 23 Jun 2012 05:09:15 +0000 (05:09 +0000)]
Add doc note about postcondition of ARDOUR::user_config_directory()

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

11 years agoRemove unnecessary creation of user_config_directory
Tim Mayberry [Sat, 23 Jun 2012 05:09:13 +0000 (05:09 +0000)]
Remove unnecessary creation of user_config_directory

calling user_config_directory ensures it exists

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

11 years agoRemove PBD::sys::is_directory and use Glib equivalent
Tim Mayberry [Sat, 23 Jun 2012 05:09:11 +0000 (05:09 +0000)]
Remove PBD::sys::is_directory and use Glib equivalent

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

11 years agoReplace use of pbd/filesystem.h with Glib equivalent in Mootcher class
Tim Mayberry [Sat, 23 Jun 2012 05:09:08 +0000 (05:09 +0000)]
Replace use of pbd/filesystem.h with Glib equivalent in Mootcher class

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

11 years agoReplace use of PBD::sys::exists with Glib::file_test
Tim Mayberry [Sat, 23 Jun 2012 05:09:06 +0000 (05:09 +0000)]
Replace use of PBD::sys::exists with Glib::file_test

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

11 years agoRemove unused PBD::sys::exists function
Tim Mayberry [Sat, 23 Jun 2012 05:09:04 +0000 (05:09 +0000)]
Remove unused PBD::sys::exists function

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

11 years agoUse Glib::file_test instead of PBD::sys::exists
Tim Mayberry [Sat, 23 Jun 2012 05:09:02 +0000 (05:09 +0000)]
Use Glib::file_test instead of PBD::sys::exists

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

11 years agoReplace use of PBD::sys::exists with Glib equivalent
Tim Mayberry [Sat, 23 Jun 2012 05:09:00 +0000 (05:09 +0000)]
Replace use of PBD::sys::exists with Glib equivalent

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

11 years agoUse Glib::file_test instead of sys::exists
Tim Mayberry [Sat, 23 Jun 2012 05:08:57 +0000 (05:08 +0000)]
Use Glib::file_test instead of sys::exists

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

11 years agoRemove unused method PBD::sys::path::leaf
Tim Mayberry [Sat, 23 Jun 2012 05:08:55 +0000 (05:08 +0000)]
Remove unused method PBD::sys::path::leaf

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

11 years agoRemove use of PBD::sys::path from ExportFileNotebook, use Glib equivalent
Tim Mayberry [Sat, 23 Jun 2012 05:08:53 +0000 (05:08 +0000)]
Remove use of PBD::sys::path from ExportFileNotebook, use Glib equivalent

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

11 years agoRemove use of pbd/filesystem.h in SessionDirectory, use Glib equivalents
Tim Mayberry [Sat, 23 Jun 2012 05:08:51 +0000 (05:08 +0000)]
Remove use of pbd/filesystem.h in SessionDirectory, use Glib equivalents

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

11 years agoRemove unused method PBD::sys::path::branch_path
Tim Mayberry [Sat, 23 Jun 2012 05:08:49 +0000 (05:08 +0000)]
Remove unused method PBD::sys::path::branch_path

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

11 years agoRemove unused function PBD::sys::rename
Tim Mayberry [Sat, 23 Jun 2012 05:08:46 +0000 (05:08 +0000)]
Remove unused function PBD::sys::rename

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

11 years agoUse g_rename instead of PBD::sys::rename in Session::save_history
Tim Mayberry [Sat, 23 Jun 2012 05:08:44 +0000 (05:08 +0000)]
Use g_rename instead of PBD::sys::rename in Session::save_history

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

11 years agoUse g_rename instead of PBD::sys::rename in Session::rename_state
Tim Mayberry [Sat, 23 Jun 2012 05:08:40 +0000 (05:08 +0000)]
Use g_rename instead of PBD::sys::rename in Session::rename_state

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

11 years agoRemove unused function PBD::sys::remove
Tim Mayberry [Sat, 23 Jun 2012 05:08:38 +0000 (05:08 +0000)]
Remove unused function PBD::sys::remove

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

11 years agoUse g_remove instead of PBD::sys::remove in Session::save_state
Tim Mayberry [Sat, 23 Jun 2012 05:08:35 +0000 (05:08 +0000)]
Use g_remove instead of PBD::sys::remove in Session::save_state

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

11 years agoUse g_remove instead of sys::remove in Session::save_state
Tim Mayberry [Sat, 23 Jun 2012 05:08:33 +0000 (05:08 +0000)]
Use g_remove instead of sys::remove in Session::save_state

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

11 years agoUse g_remove instead of sys::remove in Session::remove_state
Tim Mayberry [Sat, 23 Jun 2012 05:08:31 +0000 (05:08 +0000)]
Use g_remove instead of sys::remove in Session::remove_state

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

11 years agoDon't try to remove pending state file if the file doesn't exist
Tim Mayberry [Sat, 23 Jun 2012 05:08:29 +0000 (05:08 +0000)]
Don't try to remove pending state file if the file doesn't exist

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

11 years agoUse Glib file utility functions in Session::remove_pending_capture_state
Tim Mayberry [Sat, 23 Jun 2012 05:08:26 +0000 (05:08 +0000)]
Use Glib file utility functions in Session::remove_pending_capture_state

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

11 years agoRemove unused function PBD::sys::basename
Tim Mayberry [Sat, 23 Jun 2012 05:08:24 +0000 (05:08 +0000)]
Remove unused function PBD::sys::basename

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

11 years agoRemove unused function PBD::sys::extension
Tim Mayberry [Sat, 23 Jun 2012 05:08:22 +0000 (05:08 +0000)]
Remove unused function PBD::sys::extension

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

11 years agoMove file utility function into pbd/file_utils.h and into PBD namespace
Tim Mayberry [Sat, 23 Jun 2012 05:08:19 +0000 (05:08 +0000)]
Move file utility function into pbd/file_utils.h and into PBD namespace

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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