1
0
forked from 0ad/0ad
0ad/source/lib
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
..
res test_archive_builder: fix further trouble with selftest 2006-10-20 20:20:57 +00:00
sysdep # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
tests # Fixed unit test build system on Linux 2006-09-30 21:09:02 +00:00
adts.h # CSimulation init optimization 2006-07-16 23:03:26 +00:00
allocators.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
allocators.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
app_hooks.cpp # SwEng: remove X-macros from app_hooks (confused static code analysis) 2006-09-21 12:06:56 +00:00
app_hooks.h # SwEng: remove X-macros from app_hooks (confused static code analysis) 2006-09-21 12:06:56 +00:00
byte_order.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
byte_order.h # merge all local changes; moving over to new SVN server 2006-06-22 18:26:08 +00:00
cache_adt.h # GCC 4.1.1 compatibility 2006-09-30 15:46:40 +00:00
config.h # GCC 4.1.1 compatibility 2006-09-30 15:46:40 +00:00
debug_stl.cpp Recompiled Premake on Windows. Added some headers so HAVE_PCH=0 works in MSVC. 2006-09-30 21:36:19 +00:00
debug_stl.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
debug.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
debug.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
glext_funcs.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
input.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
input.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
lf_alloc.cpp 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
lib_errors.cpp # GCC 4.1.1 compatibility 2006-09-30 15:46:40 +00:00
lib_errors.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
lib.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
lib.h Made AT_STARTUP use an unnamed namespace, to avoid collisions between structs in different files that happen to have the same name (which sometimes causes the constructors to get mixed up by the linker) 2006-09-23 00:01:00 +00:00
lockfree.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
lockfree.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
mmgr.cpp # GCC 4.1.1 compatibility 2006-09-30 15:46:40 +00:00
mmgr.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
nommgr.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
ogl.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
ogl.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
path_util.cpp # Integrated Actor Viewer and Actor Editor tools 2006-09-22 17:43:00 +00:00
path_util.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
posix_types.h Updated OpenAL to 1.1 (which no longer includes ALUT). 2006-09-02 21:20:25 +00:00
posix.h Updated OpenAL to 1.1 (which no longer includes ALUT). 2006-09-02 21:20:25 +00:00
precompiled.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
precompiled.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
sdl_fwd.h add missing file from sweng/"forward declare" commit 2006-08-27 12:17:27 +00:00
sdl.h # sweng 2006-08-26 21:52:18 +00:00
self_test.cpp # boatload of fixes to get self-tests to compile+mostly run 2006-06-08 19:03:43 +00:00
self_test.h # Fixed string handling for Windows/Linux compatibility. 2006-11-07 21:03:13 +00:00
string_s.cpp # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
string_s.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
timer.cpp # MacOS X compat (part 1) 2006-07-26 14:04:52 +00:00
timer.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
types.h # SwEng (reduce full recompiles by splitting up master error header) 2006-09-22 13:19:40 +00:00
wstring_s.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