1
0
forked from 0ad/0ad
0ad/source/ps
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
..
GameSetup path improvements/fixes: 2011-03-21 19:54:08 +00:00
scripting # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
tests Changed all references from old CLogger API to use the new API. Removed old API. Fixes #247 2010-12-05 08:41:55 +00:00
XML path improvements/fixes: 2011-03-21 19:54:08 +00:00
ArchiveBuilder.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
ArchiveBuilder.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
CacheLoader.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
CacheLoader.h Handle XMB caching with the same system as texture caching. 2010-12-04 00:08:26 +00:00
CConsole.cpp FileExists -> VfsFileExists (see next commit) 2011-02-25 16:30:55 +00:00
CConsole.h Run network server in a separate thread, to minimise latency. 2010-10-31 22:00:28 +00:00
CLogger.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
CLogger.h Changed all references from old CLogger API to use the new API. Removed old API. Fixes #247 2010-12-05 08:41:55 +00:00
ConfigDB.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
ConfigDB.h Let local.cfg override the hardware-dependent defaults set by hwdetect 2011-03-03 01:49:49 +00:00
CStr.cpp Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
CStr.h Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
DllLoader.cpp Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
DllLoader.h Fix compiling with Clang 2010-07-30 21:42:22 +00:00
Errors.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
Errors.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
FileIo.cpp FileExists -> VfsFileExists (see next commit) 2011-02-25 16:30:55 +00:00
FileIo.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
Filesystem.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
Filesystem.h FileExists -> VfsFileExists (see next commit) 2011-02-25 16:30:55 +00:00
Font.cpp Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
Font.h Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
Game.cpp Load entity templates for the AI via the progressive loader. 2011-03-05 01:56:59 +00:00
Game.h # Add initial basic player AI framework. 2011-01-12 12:29:00 +00:00
Globals.cpp Don't scroll the game view when the mouse is outside the window 2010-01-23 20:40:15 +00:00
Globals.h Add/rename header guards 2010-02-17 23:21:49 +00:00
Hotkey.cpp Add per-turn counts to profiler, as well as per-frame. 2011-02-20 20:50:26 +00:00
Hotkey.h # Fix hotkey bugs. 2010-10-23 02:37:00 +00:00
Joystick.cpp Primitive support for gamepad camera movement 2010-12-30 19:45:13 +00:00
Joystick.h Primitive support for gamepad camera movement 2010-12-30 19:45:13 +00:00
KeyName.cpp Support horizontal scroll wheels for camera rotation 2010-11-13 01:00:54 +00:00
KeyName.h Build fix for very old SDL 2010-12-11 02:25:21 +00:00
Loader.cpp huge cleanup and conversion of most string handling (especially paths) to unicode 2009-11-03 21:46:35 +00:00
Loader.h Add GPL header 2009-04-18 17:00:33 +00:00
LoaderThunks.h warning fixes: mostly size_t vs. specialized API type and other type conversion. 2010-09-05 09:38:30 +00:00
Overlay.cpp Fix #423 (Switch from CppDoc to Doxygen), based on patch from anr. 2010-07-29 15:55:41 +00:00
Overlay.h # Restructured GUI implementation 2009-12-03 20:17:22 +00:00
Parser.cpp Fix #251 (Config parser doesn't ignore comments), based on patch from Cygal 2009-08-12 15:17:35 +00:00
Parser.h Add GPL header 2009-04-18 17:00:33 +00:00
Profile.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
Profile.h Fix profiler crash differently 2011-02-21 11:57:01 +00:00
ProfileViewer.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
ProfileViewer.h Add some rough performance reporting. 2011-02-19 03:14:37 +00:00
Pyrogenesis.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
Pyrogenesis.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
Replay.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
Replay.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
Singleton.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
ThreadUtil.cpp Windows fixes 2010-10-31 22:26:41 +00:00
ThreadUtil.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
UniDoubler.h Add GPL header 2009-04-18 17:00:33 +00:00
UserReport.cpp HTTP proxy discovery for Windows 2011-02-21 21:54:47 +00:00
UserReport.h # Add opt-in automatic feedback system. 2011-02-16 20:40:15 +00:00
utf16string.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
Util.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
Util.h # Support AI construction of buildings. 2011-02-10 16:06:28 +00:00
VideoMode.cpp # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +00:00
VideoMode.h Fix launching Atlas from the main menu 2010-10-29 21:04:59 +00:00
World.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
World.h Use JSFastNative API in more places, for improved compatibility with future SpiderMonkey versions. 2010-10-21 19:54:59 +00:00