0ad/source/scriptinterface
Yves cfa59fc4e1 Changes our JSNative functions to use JS::CallReceiver/JS::CallArgs.
This is the new way for working with arguments in JSNative functions.
JS_THIS_VALUE, JS_ARGV, JS_SET_RVAL and direct access to vp or argc are
deprecated and will probably be removed in future versions of
SpiderMonkey.
CallArgs also takes care of proper rooting and you can get the values as
Handles or MutableHandles. The interface changes a little bit for ESR
31, but commiting this now still makes it easier and the changes shout
be straigtforward (search and replace more or less).

Refs #2462
Refs #2415

This was SVN commit r15516.
2014-07-12 16:55:09 +00:00
..
tests Replace strictness test by a different one, as the old test wasn't considered non-strict anymore. 2014-05-08 13:26:21 +00:00
AutoRooters.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
AutoRooters.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
DebuggingServer.cpp Adds precompiled.h include because Visual Studio checks for that even though the file only contains comments. 2014-01-05 13:58:38 +00:00
DebuggingServer.h I completely missed the header files when disabling the JS debugger. 2014-01-05 10:26:27 +00:00
NativeWrapperDecls.h Changes our JSNative functions to use JS::CallReceiver/JS::CallArgs. 2014-07-12 16:55:09 +00:00
NativeWrapperDefns.h Changes our JSNative functions to use JS::CallReceiver/JS::CallArgs. 2014-07-12 16:55:09 +00:00
ScriptConversions.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptExtraHeaders.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptInterface.cpp Changes our JSNative functions to use JS::CallReceiver/JS::CallArgs. 2014-07-12 16:55:09 +00:00
ScriptInterface.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptStats.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptStats.h Add JS memory usage to profiler. 2010-08-02 19:23:58 +00:00
ScriptTypes.h Suppresses MSVC warning C4005 'macro redefinition' from SpiderMonkey upgrade 2014-04-23 21:12:28 +00:00
ScriptVal.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptVal.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ThreadDebugger.cpp Adds precompiled.h include because Visual Studio checks for that even though the file only contains comments. 2014-01-05 13:58:38 +00:00
ThreadDebugger.h I completely missed the header files when disabling the JS debugger. 2014-01-05 10:26:27 +00:00