1
0
forked from 0ad/0ad
0ad/source
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
..
collada Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
graphics Adding advanced graphical features into random maps. Fixes #2262. 2013-11-14 14:33:55 +00:00
gui 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
lib Remove unused includes of tr1/unordered_map etc. 2013-11-14 20:47:59 +00:00
lobby 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
maths Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network 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
pch Fixes --without-lobby for MSVC and clang, refs #2249. 2013-11-09 02:57:10 +00:00
ps Fixes basic water rendering on GLES (replaces GL_QUADS with GL_TRIANGLES). 2013-11-12 01:24:04 +00:00
renderer Some attempts to fix GLES build in smooth LOS and post proc manager. 2013-11-12 01:30:17 +00:00
scripting Remove the old and no longer used archive builder that rebuilt the archive while the game is running. 2013-11-07 21:06:18 +00:00
scriptinterface Fix Unicode in JS print() on Linux 2013-11-10 16:13:40 +00:00
simulation2 Improve MoveToTarget when the target is moving, fixes #2253 2013-11-14 07:25:56 +00:00
soundmanager Remove useless error messages. 2013-10-20 01:47:16 +00:00
third_party Fix build warnings. Patch by Markus. Refs #1851. 2013-06-11 00:05:57 +00:00
tools Remove unused VideoRecorder from Atlas. 2013-11-14 23:05:07 +00:00
contributors.txt Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
main.cpp Remove the old and no longer used archive builder that rebuilt the archive while the game is running. 2013-11-07 21:06:18 +00:00
test_setup.cpp Adds UTF-8 support for JavaScript files. 2012-05-04 21:48:46 +00:00