0ad/source/scriptinterface
wraitii d07f271d60 [SM60 2/2] Update to Spidermonkey 60 APIs
Two noteworthy changes:
- Proxies are update to the SM60 API, having an explicit reserved slot
and a private slot, in which the 'proxy data' and the C++ object are
stored. This fixes a debug assertion failure of SM52 (See bugs 1237504
and 1339411)
- The GC callback behaviour has changed slightly, and we should now only
look for GC_SLICE_BEGIN and GC_SLICE_END calls (Bug 1364547)

Other updates are minor:
- Bug 1339036: JSTYPE_VOID beomes JSTYPE_UNDEFINED
- Bug 1308236 - avoid ambiguous comparison by changing NULL to nullptr
- Bug 1421358, GC::reason::REFRESH_FRAME was removed. API is indicated
in jsapi.h so use that.
- Compartment behaviours update
- ClassOps changes (Bug 1389510 removed the getter/setter - 7c04ea0211 -
and bug 1370608 added one more before that so net minus one)
- Minor tests touchups again.

Tested by: SubitaNeo, Stan
Thanks to bellaz89 for the Shared Array fix

Closes #5859

Differential Revision: https://code.wildfiregames.com/D3116
This was SVN commit r24243.
2020-11-24 15:47:03 +00:00
..
tests [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
NativeWrapperDecls.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
NativeWrapperDefns.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptContext.cpp [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
ScriptContext.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptConversions.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptConversions.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
ScriptEngine.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
ScriptExceptions.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptExceptions.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptExtraHeaders.h Make JS GUI Objects Proxy objects. 2020-11-21 17:49:06 +00:00
ScriptForward.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
ScriptInterface.cpp [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
ScriptInterface.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptStats.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptStats.h Add JS memory usage to profiler. 2010-08-02 19:23:58 +00:00
ScriptTypes.h [SM60 1/2] Upgrade Spidermonkey build system and binaries to 60.9.1 2020-11-24 15:41:52 +00:00