1
1
forked from 0ad/0ad
0ad/source
Yves e818b08344 Better support for SpiderMonkey rooted types in the ScriptInterface.
* Adds additional overloads/specializations which are required when
passing JS::Handle<T>/JS::MutableHandle<T> types to different functions.
* Replaces GetPropertyJS with a GetProperty specialization.
* Allows us to avoid the implementation of ToJSVal specializations for
JS::Value and JS::HandleValue. Such conversions should only happen if
there's no way around it and if you are aware of it.
* Adds test to make sure that all potentially required specializations
with custom implementations are instantiated. This should help prevent
introducing bugs in temporarily unused code.

Refs #2415

This was SVN commit r15567.
2014-07-26 20:31:29 +00:00
..
collada Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
graphics Move the minimap to only use the shader pipeline. Should make it OpenGL ES compatible (untested). 2014-07-14 17:15:22 +00:00
gui Implements CallFunction with JS::MutableHandle<T> return type. 2014-07-20 15:08:28 +00:00
i18n Fixes a few building warnings and convention issues from 19ca1e3ebf 2014-05-07 23:33:21 +00:00
lib Remove collision in global namespace. 2014-07-09 19:16:03 +00:00
lobby Bump lobby version string. 2014-05-25 03:21:32 +00:00
maths Optimise silhouette rendering. 2014-07-03 01:00:25 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Correctly remove players who cancel while rejoining. Fixes #2240 2014-06-20 03:22:40 +00:00
pch Sacrifices a goat to the gods of insanity. 2014-04-24 20:05:48 +00:00
ps Replace or remove uses of Engine.Console_Write. Patch by Adrian Fatol. Fixes #2141. 2014-07-24 21:27:24 +00:00
renderer Move the minimap to only use the shader pipeline. Should make it OpenGL ES compatible (untested). 2014-07-14 17:15:22 +00:00
scriptinterface Better support for SpiderMonkey rooted types in the ScriptInterface. 2014-07-26 20:31:29 +00:00
simulation2 Better support for SpiderMonkey rooted types in the ScriptInterface. 2014-07-26 20:31:29 +00:00
soundmanager Fix segmentation fault in the sound destructor. Happened when the sound file doesn't exist. Errors are shown by other code. 2014-06-24 11:07:39 +00:00
third_party Makes tinygettext handle missing plural forms more sanely. 2014-07-05 10:29:24 +00:00
tools Per scythetwirler's suggestion, add some tables on my template analyzer script to compare units to their parent template. 2014-07-14 16:25:39 +00:00
contributors.txt Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
main.cpp Add serialization test support for replays. 2014-07-22 19:41:49 +00:00
test_setup.cpp Changes tests to use global g_ScriptRuntime instead of creating a new JSRuntime for each test. 2014-04-25 21:19:51 +00:00