0ad/source/simulation2/serialization
wraitii fd8f5abd2e [SM52 2/2] Update to Spidermonkey 52 APIs.
No particularly noteworthy changes, as most complex API changes were
already supported in SM45 and done.
The addition of JSStructuredCloneData allows to remove our custom class.

Changes:
- InformalValueTypeName is back in the API, so remove our
implementation.
- Stop using JSRuntime entirely in favour of JSContext*
- JSPropertyDescriptor is renamed.
- CompartmentOptions are tweaked slightly (no functional changes)
- JS::Construct - API update.
- JSClass split - API update.
- A js.msg error message was removed, so we had to use a different one.
- Tests fix: fix comparison of union instances
- Disable warning in spidermonkey Vector.h
- Update error reporting to SM52 (minor API updates)
- Ignore warnings about unused return values (would come from OOM, which
isn't recoverable)

Most of the patching was done by Itms.

Tested by: Stan, Freagarach
Fixes #4893

Differential Revision: https://code.wildfiregames.com/D3095
This was SVN commit r24203.
2020-11-18 14:39:04 +00:00
..
BinarySerializer.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +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