0ad/source/simulation2/system
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
..
CmpPtr.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
CmpPtr.h Replace use of safe bool by explicit bool operator. 2015-01-25 03:11:24 +00:00
Component.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ComponentManager.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ComponentManager.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ComponentManagerSerialization.cpp Check only that the destruction queue contains no non-local entity when serializing the game state. 2019-09-07 14:41:53 +00:00
Components.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ComponentTest.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
DynamicSubscription.cpp Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
DynamicSubscription.h Mark a few functions const. 2017-07-29 23:26:44 +00:00
Entity.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
EntityMap.h Revert b56f7f39d4 as it triggers an assertion failure. 2019-01-05 22:38:00 +00:00
IComponent.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
IComponent.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Interface.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
InterfaceScripted.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
LocalTurnManager.cpp Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
LocalTurnManager.h Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
Message.h Remove DefPersistentRooted and unneeded includes. 2020-11-12 08:24:30 +00:00
ParamNode.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
ParamNode.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
ReplayTurnManager.cpp Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
ReplayTurnManager.h Remove counterproductive lowercasing of GUI ScriptEvent names, refs #127. 2020-01-15 16:00:37 +00:00
SimContext.cpp Simulation context cleanup, refs #3991, #3168. 2016-05-19 19:42:07 +00:00
SimContext.h Simulation context cleanup, refs #3991, #3168. 2016-05-19 19:42:07 +00:00
TurnManager.cpp [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
TurnManager.h Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00