0ad/source/scriptinterface
Itms 56d3aa40fe Fix conversion of UTF8 strings between the scripts and the engine.
SpiderMonkey uses UTF16 internally, and only provides APIs for that
encoding, so stop hacking UTF8 strings: properly convert them to and
from UTF16 when passing them through SM.

Patch By: wraitii
Differential Revision: https://code.wildfiregames.com/D2838
This was SVN commit r23795.
2020-06-30 10:46:06 +00:00
..
tests Fix conversion of UTF8 strings between the scripts and the engine. 2020-06-30 10:46:06 +00:00
third_party Fix a possible source of segmentation fault in our custom version of ObjectIdCache. 2016-09-24 13:48:11 +00:00
NativeWrapperDecls.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
NativeWrapperDefns.h Officially drop support for Visual Studio 2013, which stopped working after 3a839517ce, fixes #5379. 2020-01-12 20:04:22 +00:00
ScriptConversions.cpp Fix conversion of UTF8 strings between the scripts and the engine. 2020-06-30 10:46:06 +00:00
ScriptConversions.h Upgrade SpiderMonkey to version 45.0.2, refs #4893. 2019-08-07 22:37:43 +00:00
ScriptEngine.h Upgrade SpiderMonkey to version 45.0.2, refs #4893. 2019-08-07 22:37:43 +00:00
ScriptExtraHeaders.h SpiderMonkey 38 upgrade: 09/35 2016-09-02 16:23:44 +00:00
ScriptInterface.cpp Rework ScriptInterface EnumeratePropertyNames to support non-enumerable properties. 2020-06-14 09:49:32 +00:00
ScriptInterface.h Rework ScriptInterface EnumeratePropertyNames to support non-enumerable properties. 2020-06-14 09:49:32 +00:00
ScriptRuntime.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ScriptRuntime.h Fix build without PCH for some targets. 2018-12-28 14:58:35 +00:00
ScriptStats.cpp Use in-place construction. 2015-07-29 23:44:17 +00:00
ScriptStats.h Add JS memory usage to profiler. 2010-08-02 19:23:58 +00:00
ScriptTypes.h Upgrade SpiderMonkey to version 45.0.2, refs #4893. 2019-08-07 22:37:43 +00:00
ScriptVal.h Officially drop support for Visual Studio 2013, which stopped working after 3a839517ce, fixes #5379. 2020-01-12 20:04:22 +00:00