1
0
forked from 0ad/0ad
0ad/source
wraitii aae417bd29 Explicitly make ScriptInterface a Compartment wrapper.
ScriptInterface is now a wrapper around a JSCompartment, and thus always
has a well-defined global.

The error reporter is moved to ScriptRuntime in anticipation of that
handling JSContext in a later diff.

Part of the SM52 migration, stage: SM45 compatible.

Patch by: Itms
Tested By: Freagarach
Refs #4893

Differential Revision: https://code.wildfiregames.com/D3090
This was SVN commit r24180.
2020-11-14 08:46:32 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
gui Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
i18n Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
lib Fix the random slowdowns and speedups on AMD CPUs for Windows 2020-11-06 23:18:16 +00:00
lobby Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
maths Avoid overflow in UnitMotion. 2020-11-09 13:25:50 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
pch Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
ps Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
renderer Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
rlinterface Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
scriptinterface Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
simulation2 Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
soundmanager Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
third_party Fix gcc warning reported by Imarok after 204e17206b 2020-05-23 12:21:49 +00:00
tools Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
main.cpp Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
test_setup.cpp Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00