1
0
forked from 0ad/0ad
0ad/source/ps
Ykkrosh a265a441fd # Fixed string handling for Windows/Linux compatibility.
* vsnprintf2: Made compatible between GCC and MSVC - it now always
null-terminates the buffer, and returns -1 on overflow. Fixes #158.
Added tests.
 * MeshManager: Use shared_ptr.expired() instead of checking for
bad_weak_ptr exception.
 * Xeromyces: Added tests for GetXMBPath, because it does unusual things
in sscanf which MSVC's /analyze complains about.
 * ConfigDB, ScriptGlue: Replaced some asserts with return-on-failure,
to avoid invalid array accesses when continuing after the assert (as
complained about by /analyze).
 * CStr: Removed "using namespace std". Added tests for handling of
invalid UTF-8.

This was SVN commit r4625.
2006-11-07 21:03:13 +00:00
..
GameSetup # Bug fixes. 2006-10-08 04:56:30 +00:00
scripting GCC compatibility (fixed CStr.h case, got rid of a few warnings) 2006-10-20 01:06:43 +00:00
tests # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
XML # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
CConsole.cpp # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
CConsole.h Updated OpenAL to 1.1 (which no longer includes ALUT). 2006-09-02 21:20:25 +00:00
CLogger.cpp # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
CLogger.h # Actor Viewer tool: added controls to toggle shadows, ground and polygon counts. 2006-09-28 20:41:12 +00:00
ConfigDB.cpp # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
ConfigDB.h # housekeeping 2006-07-20 14:37:58 +00:00
CStr.cpp # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
CStr.h # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +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
Encryption.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
Encryption.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
Errors.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
Errors.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
FilePacker.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
FilePacker.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
FileUnpacker.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
FileUnpacker.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
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 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
Game.cpp More minimap fixes on game restart (recalculate everything because the map size might have changed). 2006-10-08 03:28:22 +00:00
Game.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00
GameAttributes.cpp Bug fixes and more game setup options. 2006-10-08 17:39:46 +00:00
GameAttributes.h Bug fixes and more game setup options. 2006-10-08 17:39:46 +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 # housekeeping 2006-07-20 14:37:58 +00:00
Globals.cpp # sweng 2006-08-26 21:52:18 +00:00
Globals.h # sweng 2006-08-26 21:52:18 +00:00
Hotkey.cpp GCC compatibility (fixed CStr.h case, got rid of a few warnings) 2006-10-20 01:06:43 +00:00
Hotkey.h # sweng 2006-08-26 21:52:18 +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 Bug fixes and more game setup options. 2006-10-08 17:39:46 +00:00
Interact.h - Fixed a compile error on VS2003. 2006-10-11 13:37:13 +00:00
KeyName.cpp # Added tool for viewing models and animations outside the game. 2006-08-28 17:36:42 +00:00
Loader.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
Loader.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
LoaderThunks.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00
Overlay.cpp Cleanup: Remove unused COverlay class 2006-09-24 12:06:36 +00:00
Overlay.h Cleanup: Remove unused COverlay class 2006-09-24 12:06:36 +00:00
Parser.cpp # boatload of fixes to get self-tests to compile+mostly run 2006-06-08 19:03:43 +00:00
Parser.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
Player.cpp # Bug fixes. 2006-10-08 04:56:30 +00:00
Player.h Added the concept of diplomatic stance in CPlayer. 2006-08-28 03:07:48 +00:00
Profile.cpp # Actor Viewer tool: added controls to toggle shadows, ground and polygon counts. 2006-09-28 20:41:12 +00:00
Profile.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
ProfileViewer.cpp Recompiled Premake on Windows. Added some headers so HAVE_PCH=0 works in MSVC. 2006-09-30 21:36:19 +00:00
ProfileViewer.h # Actor Viewer tool: added controls to toggle shadows, ground and polygon counts. 2006-09-28 20:41:12 +00:00
Pyrogenesis.cpp # small fixes. 2006-06-25 15:35:28 +00:00
Pyrogenesis.h # small fixes. 2006-06-25 15:35:28 +00:00
Singleton.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
StringConvert.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
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 # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +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 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
Util.cpp # Actor Viewer tool: added controls to toggle shadows, ground and polygon counts. 2006-09-28 20:41:12 +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 # Some groundwork for territories. 2006-07-08 22:40:01 +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 #Cinematic editor 2006-08-22 02:24:44 +00:00
World.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00