1
0
forked from 0ad/0ad
0ad/source
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
..
graphics # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
gui # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
i18n Actor Viewer: Added controls for wireframe, background colour, move-when-walking. Reduced CPU usage when 'playing' things with no animation. 2006-09-26 01:44:20 +00:00
lib # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
maths GCC compatibility (fixed CStr.h case, got rid of a few warnings) 2006-10-20 01:06:43 +00:00
network GCC compatibility (fixed CStr.h case, got rid of a few warnings) 2006-10-20 01:06:43 +00:00
pch # move ps/Network into top level project (and static lib). 2006-08-26 20:25:37 +00:00
ps # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
renderer Avoid some warnings on GCC 2006-11-07 13:28:03 +00:00
scripting # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
simulation Renamed ore to metal in C++. 2006-10-26 22:01:26 +00:00
sound GCC compatibility (fixed CStr.h case, got rid of a few warnings) 2006-10-20 01:06:43 +00:00
tools # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
main.cpp More minimap fixes on game restart (recalculate everything because the map size might have changed). 2006-10-08 03:28:22 +00:00