0ad/source/simulation2/serialization
wraitii 0e7fafebe1 Refuse to serialize NaN values.
NaN values could not be serialised safely because of the multiple
possible NaN numbers.
Since NaN values are usually the result of bugs or dangerous code, it
seems simpler to refuse to serialise them.

(D3205 was a safe-serialization alternative, should the need arise).

Fixes #1879

Differential Revision: https://code.wildfiregames.com/D3729
This was SVN commit r25151.
2021-03-28 16:48:25 +00:00
..
BinarySerializer.cpp Refuse to serialize NaN values. 2021-03-28 16:48:25 +00:00
BinarySerializer.h Cleanups includes for cassert and streams. 2021-03-03 22:26:49 +00:00
DebugSerializer.cpp Fix lag on OOS with AIs 2021-01-16 10:33:00 +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 instacrash when saving a game & serialization fails for "no Deserialize" 2021-01-20 08:16:34 +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 Fix NOPCH builds. 2021-01-25 11:12:11 +00:00
StdDeserializer.h Removes unused containers included in headers. 2021-03-03 23:01:08 +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