0ad/source/lib/file
janwas c3405e6f50 path improvements/fixes:
- replace more std::wstring with Native or VfsPath; wstring_from_utf8 ->
NativePathFromString
- replace sequences of Join(Path(), Basename+extension) with
ChangeExtension in wsdl, CacheLoader
- add Path::IsDirectory to replace .empty() / path_is_dir_sep(.back()).
also changed behavior to reflect the fact that "" is the VFS root
_directory_
- Path::Join now allows 2 identical path types (e.g. VfsPath) or one
char* literal (prevents inadvertently introducing non-safe characters).
to convert from wstring or wchar_t, use an explicit ctor (e.g.
VfsPath(wchar_t_string))

This was SVN commit r9091.
2011-03-21 19:54:08 +00:00
..
archive path improvements/fixes: 2011-03-21 19:54:08 +00:00
common # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
disabled_tests license change to the more permissible Expat/MIT license for lib/ (see forum thread) 2010-02-08 16:23:39 +00:00
io # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
vfs # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
file_system_util.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
file_system_util.h Fix #423 (Switch from CppDoc to Doxygen), based on patch from anr. 2010-07-29 15:55:41 +00:00
file_system.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
file_system.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
file.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
file.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00