0ad/source/simulation2/serialization
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
..
BinarySerializer.cpp [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
BinarySerializer.h Use Symbols to store JS object references when serialising and delete ObjectIDCache 2020-11-12 06:40:19 +00:00
DebugSerializer.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
DebugSerializer.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
HashSerializer.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
HashSerializer.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
IDeserializer.cpp Fix invalid count for entityMaps 2014-03-05 14:58:17 +00:00
IDeserializer.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
ISerializer.cpp Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
ISerializer.h Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
SerializedScriptTypes.h Remove serializablePrototype code 2020-11-11 08:43:13 +00:00
SerializeTemplates.h RangeManager: Grid for 2D array, enum cleanups. 2020-06-13 09:05:40 +00:00
StdDeserializer.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
StdDeserializer.h Use Symbols to store JS object references when serialising and delete ObjectIDCache 2020-11-12 06:40:19 +00:00
StdSerializer.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
StdSerializer.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00