summaryrefslogtreecommitdiff
path: root/libs/ardour/session_directory.cc
AgeCommit message (Collapse)Author
2018-07-14auto-backup: libardour part. (from mixbus)Ben Loftis
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-02-17allot to open OSX Finder with arbitrary pathsRobin Gareus
2015-12-18open Finder/Explorer/File-manager in case of session-dir ambiguity.Robin Gareus
2015-12-05elaborate on prev. commit: ignore irrelevant files in the interchange dir.Robin Gareus
2015-12-05session-dir/interchange: ignore hidden directories.Robin Gareus
2015-11-19remove debug messageRobin Gareus
2015-11-19line-wrap fatal message (that's not done automatically)Robin Gareus
2015-11-19allow to rename the session root folder - fixes #6557Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-01-14get Session::save_as() working much more correctly, and cleanerPaul Davis
2013-04-11enable videotimeline by defaultRobin Gareus
2013-03-13videotimlineRobin Gareus
squashed 694 commits from http://gareus.org/gitweb/?p=ardour3.git
2012-10-23probable fix for not being able to find audio files in a 2.X session that ↵Paul Davis
had "illegal" characters in the session name - adds the 2.X version of the search path to the audio file search path, if it exists git-svn-id: svn://localhost/ardour2/branches/3.0@13321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24remove use of boost::thread/boost::mutex; bump glibmm requirement to 2.30 in ↵Paul Davis
order to pick up Glib::Threads::Mutex which can be used statically, use that to replace boost::mutex; add required inclusion of <cerrno> in a couple of places git-svn-id: svn://localhost/ardour2/branches/3.0@13076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Change the meaning of the return value in SessionDirectory::createTim Mayberry
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
2012-06-23Remove use of pbd/filesystem.h in SessionDirectory, use Glib equivalentsTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12878 d708f5d6-7413-0410-9779-e7cbd77b26cf
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-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
2011-10-22Use correct sources_root even when sessions are loaded from inside a session ↵Carl Hetherington
folder, specifying only their .ardour filename (#4032). git-svn-id: svn://localhost/ardour2/branches/3.0@10285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14initial pass at session-renaming functionalityPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02remove entire "stub" file concept; open new audio and MIDI files on demand ↵Paul Davis
(at first write); could be a few gotchas with some corner case scenarios, but apparently works OK git-svn-id: svn://localhost/ardour2/branches/3.0@9038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01improve, cleanup, rationalize Session::cleanup_sources() and supporting ↵Paul Davis
infrastructure git-svn-id: svn://localhost/ardour2/branches/3.0@9015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-16newly created files for use in recording appear in a .stubs folder, and are ↵Paul Davis
moved out of it when recording stops git-svn-id: svn://localhost/ardour2/branches/3.0@7426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12Remove most using declarations from header files.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25*** NEW CODING POLICY ***David Robillard
All #include statements that include a header that is a part of a library bundled with ardour MUST use quotes, not angle brackets. Do this: #include "ardour/types.h" NOT this: #include <ardour/types.h> Rationale: This is best practice in general, to ensure we include the local version and not the system version. That quotes mean "local" (in some sense) and angle brackets mean "system" (in some sense) is a ubiquitous convention and IIRC right in the C spec somewhere. More pragmatically, this is required by (my) waf (stuff) for dependencies to work correctly. That is: !!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!! Failure to comply is punishable by death by torture. :) P.S. It's not that dramatic in all cases, but this (in combination with some GCC flags specific to the include type) is the best way I have found to be absolutely 100% positive the local ones are being used (and we definitely want to be absolutely 100% positive on that one). git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-09* first working prototype of selecting instruments in the MIDI track headerHans Baier
* parsing patchfiles works git-svn-id: svn://localhost/ardour2/branches/3.0@4304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-08* first primitive implementation of MidiPatchManagerHans Baier
* some cosmetic changes * added midi_patch_path() to libs/ardour/ardour/session_directory.h git-svn-id: svn://localhost/ardour2/branches/3.0@4299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02rollback to 3428, before the mysterious removal of libs/* at 3431/3432Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02remove empty sigc++2 directoryDoug McLain
git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13Don't log info message when creating session directoriesTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-05Fix source directory paths so that the session name element is "legalized" ↵Tim Mayberry
and compatible with 2.0 Fixes bug 1854. git-svn-id: svn://localhost/ardour2/trunk@2418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Remove unused header includes from ardour/session_directory.ccTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Use PBD::sys::operator/ instead of PBD::sys::path::operator/= in ↵Tim Mayberry
ARDOUR::SessionDirectory git-svn-id: svn://localhost/ardour2/trunk@2413 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Use path::leaf instead of sys::basename in SessionDirectory::sound/midi_pathTim Mayberry
sys::basename now matches boost::filesystem behaviour so if a session name had a dot in it the session name used in the interchange directory would be truncated. git-svn-id: svn://localhost/ardour2/trunk@2408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Change the SessionDirectory constructor to take a sys::path instead of a stringTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-07Write MIDI files to interchange/sessionname/midifiles (for real this time).David Robillard
git-svn-id: svn://localhost/ardour2/trunk@1979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-06Fix MIDI session path problems (thanks timbyr).David Robillard
Fix conversion warnings in smf_source.cc. git-svn-id: svn://localhost/ardour2/trunk@1957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-05Save MIDI files to interchange/sessionname/midifiles (instead of audiofiles).David Robillard
Fix some uninitialized variables in Streamview. Tempo-based SMF source (internally only). Horrible crash on MIDI record finish. git-svn-id: svn://localhost/ardour2/trunk@1955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-19When loading sessions, create any missing session directories rather than ↵Tim Mayberry
throwing an exception. Change the meaning of the return value of SessionDirectory::create and add documentation to explain usage. Add PBD::sys::filesystem_error to indicate a filesystem error and throw it where necessary. Change the semantics of PBD::sys::create_directory/ies functions to match boost::filesystem git-svn-id: svn://localhost/ardour2/trunk@1884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18Add SessionDirectory::export_path and make sure it gets created in ↵Tim Mayberry
SessionDirectory::create git-svn-id: svn://localhost/ardour2/trunk@1878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-18Add PBD::sys::path class that has a similar API to boost::filesystem::path ↵Tim Mayberry
but using glib/mm filesystem utility functions Add ARDOUR::SessionDirectory class Use SessionDirectory to create the session directory structure when creating a new session git-svn-id: svn://localhost/ardour2/trunk@1874 d708f5d6-7413-0410-9779-e7cbd77b26cf