mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 13:53:57 -07:00
* 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. |
||
|---|---|---|
| .. | ||
| DOMEvent.cpp | ||
| DOMEvent.h | ||
| EventTypes.h | ||
| GameEvents.h | ||
| JSConversions.cpp | ||
| JSConversions.h | ||
| JSSerialization.h | ||
| JSUtil.cpp | ||
| JSUtil.h | ||
| ScriptableComplex.cpp | ||
| ScriptableComplex.h | ||
| ScriptableComplex.inl | ||
| ScriptableObject.cpp | ||
| ScriptableObject.h | ||
| ScriptCustomTypes.cpp | ||
| ScriptCustomTypes.h | ||
| ScriptGlue.cpp | ||
| ScriptGlue.h | ||
| ScriptingHost.cpp | ||
| ScriptingHost.h | ||
| SpiderMonkey.h | ||
| SynchedJSObject.cpp | ||
| SynchedJSObject.h | ||