summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/filesystem_paths.h
AgeCommit message (Collapse)Author
2016-09-28allow to get custom/product/version independent cach dirRobin 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-08-18Add utility function to get windows packaging directory to avoid memory leaksTim Mayberry
There were a few other small leaks in pbd and evoral test code but I didn't bother changing them. Perhaps this function would be better off in PBD:: so it can be used everywhere.
2015-03-31move "been here before" path concept into libardour, and use it ↵Paul Davis
appropriately at startup
2015-03-11global ARDOUR signal to ask GUI to copy configuration files across versionsPaul Davis
2015-03-11hide user_config_dir_name; alter API for user_config_dir() to allow ↵Paul Davis
specification of a version number
2014-03-17Make sure that windows_search_path() is 'visible' in Windows (will be needed ↵John Emmas
for fixup_bundle_environment)
2014-02-24preparations for VST blacklist (paths)Robin Gareus
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
2013-10-17get everything compiling with libardour built using -fvisibility=hiddenPaul Davis
2012-06-23Add doc note about postcondition of ARDOUR::user_config_directory()Tim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12889 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-05-18major rationalization of use of search paths. ardour now has just 4 ↵Paul Davis
functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things. This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required) git-svn-id: svn://localhost/ardour2/branches/3.0@12326 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-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-06-27Add ARDOUR::system_data_search_path to ardour/filesystem_paths.hTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Add ARDOUR::ardour_search_path that contains the directories in the ↵Tim Mayberry
ARDOUR_PATH environment variable. Rename ARDOUR::config_search_path to ARDOUR::system_config_search_path Use PBD::find_file_in_search_path in Configuration::load_state git-svn-id: svn://localhost/ardour2/trunk@2054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Add ARDOUR::config_search_pathTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Rename ARDOUR::system_module_directory ARDOUR::ardour_module_directoryTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Replace code for finding ControlProtocols/Surface plugins with a portable ↵Tim Mayberry
equivalent. Remove Session::control_protocol_path and the supporting non-portable Session::suffixed_search_path from Session. Add ARDOUR::control_protocol_search_path which is used in place of Session::control_protocol_path Replace ARDOUR::get_system_module_path with ARDOUR::system_module_directory which is used by ARDOUR::control_protocol_search_path Export ARDOUR_SURFACES_PATH in gtk2_ardour/ardev_common.sh which is returned by ARDOUR::control_protocol_search_path if defined. This means the control surfaces in the libs/surfaces/* directories can now be used without installing them. Add pbd/file_utils.h/cc containing functions for finding files matching a certain pattern Update documentation in SearchPath and add another constructor that takes a sys::path git-svn-id: svn://localhost/ardour2/trunk@2049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Add ARDOUR::user_config_directory in new header ardour/filesystem_paths.hTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2041 d708f5d6-7413-0410-9779-e7cbd77b26cf