0ad/source/scriptinterface
Ykkrosh e06a7b37d8 Convert debug_printf to take UTF-8 strings instead of wchar_t.
This fixes the problem where passing a non-ASCII string to
debug_printf(L"%hs", s) caused vswprintf_s to fail on Linux (because it
doesn't know what encoding the char* is meant to have). Now debug
messages will remain as UTF-8 until they reach the OS.

Fixes #3021.

This was SVN commit r16332.
2015-02-14 01:45:13 +00:00
..
tests SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
third_party SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
DebuggingServer.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
DebuggingServer.h I completely missed the header files when disabling the JS debugger. 2014-01-05 10:26:27 +00:00
NativeWrapperDecls.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
NativeWrapperDefns.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ScriptConversions.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ScriptExtraHeaders.h Remove checks for unsupported GCC versions (<4.6). 2015-01-24 20:37:07 +00:00
ScriptInterface.cpp Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
ScriptInterface.h Fix build with Visual Studio 2015-01-24 16:33:27 +00:00
ScriptRuntime.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ScriptRuntime.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ScriptStats.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptStats.h Add JS memory usage to profiler. 2010-08-02 19:23:58 +00:00
ScriptTypes.h Fixes build with libmozjs-31-dev package from Ubuntu PPA. Fixes #3039. 2015-02-07 18:28:44 +00:00
ScriptVal.h Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ThreadDebugger.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ThreadDebugger.h I completely missed the header files when disabling the JS debugger. 2014-01-05 10:26:27 +00:00