0ad/source/scriptinterface
phosit df18e22277
Remove Script::CreateArray
It's better to construct a js-array from a `JS::RootedValueVector`.
Because it is more strongly typed and the index doesn't has to be
specified when appending an element.
Some usages are replaced with `JS::RootedValueArray`.

Fixes: #8702
2026-02-08 19:27:50 +01:00
..
tests Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
FunctionWrapper.h Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
JSON.cpp Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
JSON.h Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
ModuleLoader.cpp Reduces string allocations in paths. 2025-10-05 01:31:27 +02:00
ModuleLoader.h Don't forward declare CompiledModule 2025-11-13 19:50:38 +01:00
Object.h Remove Script::CreateArray 2026-02-08 19:27:50 +01:00
Promises.cpp Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
Promises.h Update SpiderMonkey to ESR 128.13 2025-08-15 19:43:34 +02:00
ScriptContext.cpp Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00
ScriptContext.h Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00
ScriptConversions.cpp Add ToJSVAL overload template for array of uknown bound 2025-09-14 08:46:21 -05:00
ScriptConversions.h Add ToJSVAL overload template for array of uknown bound 2025-09-14 08:46:21 -05:00
ScriptEngine.h Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
ScriptExceptions.cpp Update SpiderMonkey to ESR 128.13 2025-08-15 19:43:34 +02:00
ScriptExceptions.h Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
ScriptForward.h Hide compiler warnings from external includes 2025-07-23 10:21:26 +02:00
ScriptInterface.cpp Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
ScriptInterface.h Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
ScriptRequest.h Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
ScriptStats.cpp Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
ScriptStats.h Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
StructuredClone.cpp Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00
StructuredClone.h Fix includes in source/scriptinterface 2025-08-07 11:45:19 +02:00