summaryrefslogtreecommitdiff
path: root/libs/pbd/pathexpand.cc
AgeCommit message (Collapse)Author
2019-08-03Update core library GPL boilerplate and (C) from git logRobin Gareus
2016-09-19Move PBD::canonical_path to pbd/file_utils.h/cc and reimplement for WindowsTim Mayberry
This fixes the libpbd testCanonicalPathUTF8 and libardour open_session_utf8_path unit tests You can now have Sessions with localized names containing characters that aren't in the system codepage on Windows. It also fixes the issue where a Session would not open when it was moved into a path with characters that aren't in the system codepage. The only use case for calling canonical_path/realpath on the session path AFAICT is for resolving relative paths that are passed via the command line/terminal. I'm doubtful that works correctly on Windows because of character encoding issues with the current API we use for that(not glib), so it is slightly ironic that this issue was caused by an incorrect implementation of a function that is not really necessary on Windows at this point in time.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2014-12-03Add DEBUG_TRACE output to PBD::canonical_pathTim Mayberry
2014-09-30add missing header include (for snprintf)Robin Gareus
2014-04-11Make sure we use the correct style of filepath separator on WindowsJohn Emmas
('libs/ardour/file_source.cc' still to be investigated)
2014-02-28move Paths Dialog to libgtkmm2extRobin Gareus
2014-02-07equivalent change to realpath() error return as was done in master rev ↵Paul Davis
60a9213035d3c
2013-12-07Use correct header include for _fullpathTim Mayberry
According to http://msdn.microsoft.com/en-us/library/506720ff(v=vs.120).aspx
2013-12-05fix error in mingw version of realpath()Paul Davis
2013-12-05add (likely, partial) windows implementation of POSIX realpath() for ↵Paul Davis
COMPILER_MINGW where the latter is not available, to the only place realpath() is used
2013-07-22Reinstate include of regex.h for Linux and MinGW buildTim Mayberry
I'm not sure how boost/regex.h is relevant but it doesn't enable the build to succeed in on Linux or using Mingw so if this is not an error and required for msvc build then fix it
2013-07-17Merge branch 'windows' of git.ardour.org:ardour/ardour into windowsJohn Emmas
2013-07-17Allow PBD::canonical_path to compile with mingw buildTim Mayberry
2013-07-17Accommodate 'pthread-win32' and 'boost/regex' (for libpbd)John Emmas
2013-07-16Windows (compiler specific) includes for libpbdJohn Emmas
2013-07-11remove direct of realpath(2), replace with canonical_path() which is a no-op ↵Paul Davis
on windows
2013-03-20add missing filesPaul Davis