0ad/source/ps
Ykkrosh fba692c8b5 # Fixed some warnings and potentially misleading code
* Removed ToJSVal<jsval> because it's treated as ToJSVal<long> and
causes minor confusion and/or compiler errors.
   Changed script interface functions to return either C++ types or a
jsval_t wrapper.
 * Replaced some C casts with static_cast to avoid significant confusion
and to cause compiler errors instead.
 * Removed some redundant argument-checking code. Simplified some
string-generating code.
 * Fixed some "dereferencing type-punned pointer will break
strict-aliasing rules" warnings (from `g++ -O3`).

This was SVN commit r5115.
2007-05-29 19:01:21 +00:00
..
GameSetup make sure winit shutdown actually happens during self-test (fixes leaks and possibly failure to unload driver) 2007-05-28 15:08:33 +00:00
scripting remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
tests . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
XML # housekeeping 2007-05-21 23:24:56 +00:00
CConsole.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
CConsole.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
CLogger.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
CLogger.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ConfigDB.cpp # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
ConfigDB.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
CStr.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
CStr.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
CVFSFile.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
CVFSFile.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
DllLoader.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
DllLoader.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Errors.cpp # new year's cleanup (reduce dependencies, clean up headers) 2007-01-01 21:25:47 +00:00
Errors.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
FilePacker.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
FilePacker.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
FileUnpacker.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
FileUnpacker.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Font.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Font.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Game.cpp # SwEng 2007-05-02 12:07:08 +00:00
Game.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
GameAttributes.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
GameAttributes.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
GameRecord.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
GameRecord.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Globals.cpp Ignore non-standard mouse buttons, instead of crashing 2007-05-26 18:38:38 +00:00
Globals.h # SwEng 2007-05-04 17:30:32 +00:00
Hotkey.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
Hotkey.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
i18n.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
i18n.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Interact.cpp # SwEng 2007-05-02 12:07:08 +00:00
Interact.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
KeyName.cpp # SwEng 2007-05-04 17:30:32 +00:00
KeyName.h # SwEng 2007-05-02 12:07:08 +00:00
Loader.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
Loader.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
LoaderThunks.h # housekeeping 2007-02-01 01:34:17 +00:00
Overlay.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Overlay.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Parser.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
Parser.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Player.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
Player.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
Profile.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Profile.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ProfileViewer.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ProfileViewer.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Pyrogenesis.cpp # SwEng / MacOSX compat 2007-04-30 14:35:19 +00:00
Pyrogenesis.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Singleton.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
StringConvert.cpp # SwEng 2007-05-04 17:30:32 +00:00
StringConvert.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ThreadUtil.h . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
UniDoubler.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
utf16string.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Util.cpp fix self-tests. 2007-05-10 21:33:56 +00:00
Util.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Vector2D.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
VFSUtil.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
VFSUtil.h Restoring SVN repository: 2006-06-21 22:37:31 +00:00
World.cpp # SwEng 2007-05-02 12:07:08 +00:00
World.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00