0ad/source/scriptinterface
elexis d5c1fd09a4 Add ToJSVal<CRect> to make the conversion reusable, remove unused PSERROR_Scripting_ConversionFailed and dead catch.
Avoids the CRect copy or stops relying on optimization to avoid the
copy.
Split from D2142.

Differential Revision: https://code.wildfiregames.com/D2259
Tested on: gcc 9.1.0, Jenkins

This was SVN commit r22847.
2019-09-04 16:15:37 +00:00
..
tests Update of the scripting tests. Test some modding features and update JS::Value integer limits. 2019-07-19 15:41:27 +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 Replace JS_THIS_OBJECT and JS::CallReceiver in preparation for SpiderMonkey 49 and 61. 2019-08-13 14:11:43 +00:00
ScriptConversions.cpp Add missing CPos FromJSVal, ToJSVal following 659a9ea57a. 2019-07-29 11:56:11 +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 Improve performance of ScriptInterface::CreateObject from b4626359f5 / D2080 by creating the JSAutoRequest struct only once instead of once per property. 2019-08-17 03:30:07 +00:00
ScriptInterface.h Add ToJSVal<CRect> to make the conversion reusable, remove unused PSERROR_Scripting_ConversionFailed and dead catch. 2019-09-04 16:15:37 +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 Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00