summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2012-06-23Move three file utility functions from pbd/filesystem.h to pbd/file_utils.hTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Change PBD::sys::get_absolute_path to take and return a std::stringTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Move docs for PBD::sys::get_absolute_path into headerTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Move doc for PBD::sys::path_is_within to headerTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Change PBD::sys::path_is_within to take string params and use GlibTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Add docs for PBD::sys::equivalent_pathsTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Rename PBD::sys::inodes_same to equivalent_pathsTim Mayberry
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
2012-06-23Fix PBD::sys::inodes_same to check that paths are on same deviceTim Mayberry
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
2012-06-23Use g_stat in PBD::sys::inodes_same for portabilityTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Overwrite target file in PBD::copy_fileTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12854 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Move PBD::sys::copy_file/s into pbd/file_utils.h and PBD:: namespaceTim Mayberry
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
2012-06-23Use Glib::build_filename in PBD::sys::copy_filesTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use PBD::sys::copy_file in ARDOUR::create_backup_fileTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use giomm in PBD::sys::copy_file and change function signatureTim Mayberry
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
2012-06-23Remove unnecessary header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of pbd/filesystem.h with glib/mm equivalentsTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use PBD::basename_nosuffix instead of sys::basenameTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use giomm in ARDOUR::create_backup_file to copy file for portablityTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of PBD::sys::path with Glib equivalentTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove now unnecessary header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace PBD::sys::path use in PBD::StatefulTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of pbd/filesystem.h with Glib:: equivalentsTim Mayberry
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
2012-06-23Replace use of PBD::sys::path in PluginManagerTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of pbd/filesystem.h with Glib alternativeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of PBD::sys::path in ARDOUR::find_bindings_filesTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use static string in ARDOUR::user_config_directoryTim Mayberry
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
2012-06-23Replace use of PBD::sys::path in ARDOUR::user_config_directoryTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Simplify ardour_*_search_path functionsTim Mayberry
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
2012-06-23Remove unused header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of PBD::sys::path in AudioLibraryTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of PBD::sys::path in ardour/template_utils.hTim Mayberry
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
2012-06-23Replace use of PBD::sys::path in ardour/session_state_utils.hTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of PBD::sys::path in ExportProfileManagerTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of PBD::sys::path in AudioRegionImporterTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string instead of PBD::sys::path in pbd/search_path.h, ↵Tim Mayberry
pbd/file_utils.h and ardour/session_dir.h git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unnecessary header includesTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove two unnecessary header includes of pbd/mountpoint.hTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unnecessary header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unnecessary header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22don't try to backup sessions from older versions of ardour that are also ↵Paul Davis
read-only git-svn-id: svn://localhost/ardour2/branches/3.0@12823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22introduce the idea of a "default transport speed", used whenever ↵Paul Davis
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
2012-06-22fix reset of transport speed when seamless looping; add a few comments and ↵Paul Davis
tidy-ups to related transport code git-svn-id: svn://localhost/ardour2/branches/3.0@12818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22provide an easier way to add mixed (audio+MIDI) tracks to a session, to ↵Paul Davis
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
2012-06-21smooth 0.5 second fade out during quit, plus MIDI panic to turn everything ↵Paul Davis
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
2012-06-21missing includesTodd Naugle
git-svn-id: svn://localhost/ardour2/branches/3.0@12813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21Fixing issues with opening a browser when using the bundle. Use xdg-open ↵Todd Naugle
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
2012-06-21a putatively better approach to cleaning up ports at session closingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20when a session goes away, deliver silence to all current ports to prevent a ↵Paul Davis
horrible screech during cleanup/destruction git-svn-id: svn://localhost/ardour2/branches/3.0@12806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20remove sndfile debugging from export codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20Declick before the end of seamless loops, not after the end, so that loops ↵Carl Hetherington
are rendered accurately (#4213, #4593). git-svn-id: svn://localhost/ardour2/branches/3.0@12801 d708f5d6-7413-0410-9779-e7cbd77b26cf