1
1
forked from 0ad/0ad
0ad/source/simulation2/serialization
wraitii 712b7ebf9a Remove JS_New in favour of JS::Construct in preparation for SM91
Spidermonkey 91, the next ESR, removes JS_New in favour or
JS::Construct.
See
https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/migration-guide/docs/Migration%20Guide.md#object-construction
and
https://bugzilla.mozilla.org/show_bug.cgi?id=1491055

This change is SM78 compatible and therefore done beforehand.

Tested by: Freagarach
Refs #5986

Differential Revision: https://code.wildfiregames.com/D4427
This was SVN commit r26205.
2022-01-12 16:51:32 +00:00
..
BinarySerializer.cpp Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
BinarySerializer.h Fix some warnings. 2021-05-02 15:45:40 +00:00
DebugSerializer.cpp Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +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 Correctly serialize/deserialize user-defined JS objects. 2020-12-27 17:18:13 +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
SerializedPathfinder.h Commit new files forgotten in 5b46ce0778 2020-12-19 09:48:11 +00:00
SerializedScriptTypes.h Fix atlas crash with RM capture the relic. 2021-06-07 18:48:16 +00:00
SerializedTypes.h Commit new files forgotten in 5b46ce0778 2020-12-19 09:48:11 +00:00
SerializeTemplates.h Use templates to replace explicit serialization helpers. 2020-12-19 09:10:37 +00:00
StdDeserializer.cpp Remove JS_New in favour of JS::Construct in preparation for SM91 2022-01-12 16:51:32 +00:00
StdDeserializer.h Drops custom utf16 string implementation (from cdd3317ded), uses C++11 one. 2021-11-29 12:10:41 +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