0ad/source/gui/scripting
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
..
GuiScriptConversions.cpp Support new SpiderMonkey API. 2010-11-16 23:00:52 +00:00
JSInterface_GUITypes.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
JSInterface_GUITypes.h Support new SpiderMonkey API. 2010-11-16 23:00:52 +00:00
JSInterface_IGUIObject.cpp Let exceptions in GUI script events triggered by script setters propagate out of the setter, so error messages aren't useless. 2011-02-27 17:57:32 +00:00
JSInterface_IGUIObject.h Support new SpiderMonkey API. 2010-11-16 23:00:52 +00:00
ScriptFunctions.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
ScriptFunctions.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00