0ad/source/lobby
Yves 6fba293088 In #2241 I'm going to change the GUI to have one ScriptInterface for each GUI page because that will be required for the Spidermonkey upgrade (#1886).
The Multiplayer lobby needs some changes to avoid compartment
mismatches. Instead of initializing it with a ScriptInterface and
storing script values at different locations, it takes a ScriptInterface
argument in the functions that really need to read or write some script
values and avoids storing values as script values with an associated
compartment where possible.
The scripting interface of the lobby is also adjusted to use
JSInterface_Lobby.h/cpp files as other components instead of adding all
functions to ScriptFunctions.cpp. This makes it a bit more clearly
arranged IMO.

Fixes #2267
Refs #2241
Refs #1886

This was SVN commit r14199.
2013-11-16 18:38:40 +00:00
..
glooxwrapper Fix glooxwrapper build on gcc 4.2 and warning on clang. 2013-11-14 00:32:28 +00:00
scripting In #2241 I'm going to change the GUI to have one ScriptInterface for each GUI page because that will be required for the Spidermonkey upgrade (#1886). 2013-11-16 18:38:40 +00:00
Globals.cpp Fix building with --without-lobby. Fixes #2249. 2013-11-08 15:28:44 +00:00
IXmppClient.h In #2241 I'm going to change the GUI to have one ScriptInterface for each GUI page because that will be required for the Spidermonkey upgrade (#1886). 2013-11-16 18:38:40 +00:00
sha.cpp Fixes --without-lobby for MSVC and clang, refs #2249. 2013-11-09 02:57:10 +00:00
sha.h Fixes --without-lobby for MSVC and clang, refs #2249. 2013-11-09 02:57:10 +00:00
StanzaExtensions.cpp Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
StanzaExtensions.h Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
XmppClient.cpp In #2241 I'm going to change the GUI to have one ScriptInterface for each GUI page because that will be required for the Spidermonkey upgrade (#1886). 2013-11-16 18:38:40 +00:00
XmppClient.h In #2241 I'm going to change the GUI to have one ScriptInterface for each GUI page because that will be required for the Spidermonkey upgrade (#1886). 2013-11-16 18:38:40 +00:00