0ad/source/scriptinterface
Yves 4b1297b328 Removes g_ScriptingHost and implements global to compartment 1 to 1 relation.
Each GUI Page gets its own compartment and all ScriptInterfaces in the
same thread should now use the same JS Runtime.
This is required for the SpiderMonkey upgrade.
Check the ticket for details.

Closes #2241
Refs #1886
Refs #1966

This was SVN commit r14496.
2014-01-04 10:14:53 +00:00
..
tests Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
AutoRooters.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
AutoRooters.h Support new SpiderMonkey API. 2010-11-16 23:00:52 +00:00
DebuggingServer.cpp Removes unused var from JS debugger, from patch by Markus. Fixes #1852 2013-11-17 23:41:19 +00:00
DebuggingServer.h Adds the server-side part of the javascript debugger. Refs #410 2013-03-07 13:49:49 +00:00
NativeWrapperDecls.h Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
NativeWrapperDefns.h Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
ScriptConversions.cpp Unify script conversions and remove JSInterface_Vector3D. 2013-10-20 17:13:53 +00:00
ScriptExtraHeaders.h Suppress unused local typedef warnings when including SpiderMonkey headers. 2013-08-19 18:26:44 +00:00
ScriptInterface.cpp Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
ScriptInterface.h Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
ScriptStats.cpp Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
ScriptStats.h Add JS memory usage to profiler. 2010-08-02 19:23:58 +00:00
ScriptTypes.h This was SVN commit r10870. 2012-01-05 03:38:54 +00:00
ScriptVal.cpp Fix some static analysis warnings 2013-01-21 20:33:25 +00:00
ScriptVal.h Add AI script code to provide a cleaner API around the engine interface. 2011-01-15 23:35:20 +00:00
ThreadDebugger.cpp Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
ThreadDebugger.h Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00