0ad/source/simulation2/serialization
Itms 9b794593db SpiderMonkey 38 upgrade: 32/35
JS_GetStringCharsAndLength was removed, use
JS_Get{Latin1,TwoByte}StringCharsAndLength instead.

Actually handle strings in both the Latin1 and TwoByte cases since we
need to.
This saves some space when serializing and also when running as they are
stored that way in the vm.
Also handle the error case.

Patch by leper.
For more information:
https://blog.mozilla.org/javascript/2014/07/21/slimmer-and-faster-javascript-strings-in-firefox/
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1037869

This was SVN commit r18686.
2016-09-02 16:51:09 +00:00
..
BinarySerializer.cpp SpiderMonkey 38 upgrade: 32/35 2016-09-02 16:51:09 +00:00
BinarySerializer.h Fixes stream serialization bug on OS X 10.8 and older, which caused instant OOS in multiplayer games, fixes #3108. 2015-10-15 03:31:30 +00:00
DebugSerializer.cpp Convert CConsole to take UTF-8 strings. 2015-02-14 01:49:34 +00:00
DebugSerializer.h Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
HashSerializer.cpp Convert serialization code to use less virtuals and allow more inlining. 2010-05-25 19:01:30 +00:00
HashSerializer.h Convert serialization code to use less virtuals and allow more inlining. 2010-05-25 19:01:30 +00:00
IDeserializer.cpp Fix invalid count for entityMaps 2014-03-05 14:58:17 +00:00
IDeserializer.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ISerializer.cpp Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
ISerializer.h Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
SerializedScriptTypes.h Serialization support for ES6 Sets. 2015-05-01 23:04:28 +00:00
SerializeTemplates.h Disable serialization of the AI when no AI players are present. Disable serialization of cached AI templates overall. Improve serialization of repetitive vectors and templatenames. Refs #3834 2016-05-02 09:26:07 +00:00
StdDeserializer.cpp SpiderMonkey 38 upgrade: 32/35 2016-09-02 16:51:09 +00:00
StdDeserializer.h SpiderMonkey 38 upgrade: 32/35 2016-09-02 16:51:09 +00:00
StdSerializer.cpp # Add initial basic player AI framework. 2011-01-12 12:29:00 +00:00
StdSerializer.h Fixes stream serialization bug on OS X 10.8 and older, which caused instant OOS in multiplayer games, fixes #3108. 2015-10-15 03:31:30 +00:00