Updated to FF4b12 SpiderMonkey for Mac; code now requires this version due to an API change.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4409 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
4f4fafe255
commit
71e7128d73
@ -194,7 +194,6 @@
|
||||
1AD05E3612CD18B100704F1D /* testDefineGetterSetterNonEnumerable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD05E1712CD18B100704F1D /* testDefineGetterSetterNonEnumerable.cpp */; };
|
||||
1AD05E3712CD18B100704F1D /* testDefineProperty.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD05E1812CD18B100704F1D /* testDefineProperty.cpp */; };
|
||||
1AD05E3812CD18B100704F1D /* testExtendedEq.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD05E1912CD18B100704F1D /* testExtendedEq.cpp */; };
|
||||
1AD05E3912CD18B100704F1D /* testFuncCallback.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD05E1A12CD18B100704F1D /* testFuncCallback.cpp */; };
|
||||
1AD05E3A12CD18B100704F1D /* testGCChunkAlloc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD05E1B12CD18B100704F1D /* testGCChunkAlloc.cpp */; };
|
||||
1AD05E3B12CD18B100704F1D /* testGetPropertyDefault.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD05E1C12CD18B100704F1D /* testGetPropertyDefault.cpp */; };
|
||||
1AD05E3C12CD18B100704F1D /* testIntString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD05E1D12CD18B100704F1D /* testIntString.cpp */; };
|
||||
@ -2015,7 +2014,6 @@
|
||||
1AD05E3612CD18B100704F1D /* testDefineGetterSetterNonEnumerable.cpp in Sources */,
|
||||
1AD05E3712CD18B100704F1D /* testDefineProperty.cpp in Sources */,
|
||||
1AD05E3812CD18B100704F1D /* testExtendedEq.cpp in Sources */,
|
||||
1AD05E3912CD18B100704F1D /* testFuncCallback.cpp in Sources */,
|
||||
1AD05E3A12CD18B100704F1D /* testGCChunkAlloc.cpp in Sources */,
|
||||
1AD05E3B12CD18B100704F1D /* testGetPropertyDefault.cpp in Sources */,
|
||||
1AD05E3C12CD18B100704F1D /* testIntString.cpp in Sources */,
|
||||
|
4
deps/URLs/mozilla.url
vendored
4
deps/URLs/mozilla.url
vendored
@ -1,2 +1,2 @@
|
||||
http://jens.ayton.se/oolite/deps/firefox-4.0b11.source.js-only.tbz
|
||||
ftp://anonymous@ftp.mozilla.org/pub/firefox/releases/4.0b11/source/firefox-4.0b11.source.tar.bz2
|
||||
http://jens.ayton.se/oolite/deps/firefox-4.0b12.source.js-only.tbz
|
||||
ftp://anonymous@ftp.mozilla.org/pub/firefox/releases/4.0b12/source/firefox-4.0b12.source.tar.bz2
|
||||
|
@ -62,7 +62,7 @@ static JSObject *sConsoleSettingsPrototype = NULL;
|
||||
|
||||
|
||||
static JSBool ConsoleGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ConsoleSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ConsoleSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static void ConsoleFinalize(JSContext *context, JSObject *this);
|
||||
|
||||
// Methods
|
||||
@ -90,7 +90,7 @@ static JSBool ConsoleTrace(JSContext *context, uintN argc, jsval *vp);
|
||||
|
||||
static JSBool ConsoleSettingsDeleteProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ConsoleSettingsGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ConsoleSettingsSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ConsoleSettingsSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
#if OOJS_PROFILE
|
||||
static JSBool PerformProfiling(JSContext *context, NSString *nominalFunction, uintN argc, jsval *argv, jsval *rval, BOOL trace, OOTimeProfile **profile);
|
||||
@ -395,7 +395,7 @@ static JSBool ConsoleGetProperty(JSContext *context, JSObject *this, jsid propID
|
||||
}
|
||||
|
||||
|
||||
static JSBool ConsoleSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool ConsoleSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
@ -581,7 +581,7 @@ static JSBool ConsoleSettingsGetProperty(JSContext *context, JSObject *this, jsi
|
||||
}
|
||||
|
||||
|
||||
static JSBool ConsoleSettingsSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool ConsoleSettingsSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_STRING(propID)) return YES;
|
||||
|
||||
|
@ -48,7 +48,7 @@ static JSClass sClockClass =
|
||||
JS_PropertyStub, // addProperty
|
||||
JS_PropertyStub, // delProperty
|
||||
ClockGetProperty, // getProperty
|
||||
JS_PropertyStub, // setProperty
|
||||
JS_StrictPropertyStub, // setProperty
|
||||
JS_EnumerateStub, // enumerate
|
||||
JS_ResolveStub, // resolve
|
||||
JS_ConvertStub, // convert
|
||||
|
@ -39,7 +39,7 @@ JSObject *gOOEntityJSPrototype;
|
||||
|
||||
|
||||
static JSBool EntityGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool EntitySetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool EntitySetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
|
||||
JSClass gOOEntityJSClass =
|
||||
@ -265,7 +265,7 @@ static JSBool EntityGetProperty(JSContext *context, JSObject *this, jsid propID,
|
||||
}
|
||||
|
||||
|
||||
static JSBool EntitySetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool EntitySetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -33,7 +33,7 @@ static JSObject *sEquipmentInfoPrototype;
|
||||
|
||||
|
||||
static JSBool EquipmentInfoGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool EquipmentInfoSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool EquipmentInfoSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
static JSBool EquipmentInfoGetAllEqipment(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
|
||||
@ -359,7 +359,7 @@ static JSBool EquipmentInfoGetProperty(JSContext *context, JSObject *this, jsid
|
||||
}
|
||||
|
||||
|
||||
static JSBool EquipmentInfoSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool EquipmentInfoSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -57,7 +57,7 @@ extern NSString * const kOOLogDebugMessage;
|
||||
|
||||
static JSBool GlobalGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
#ifndef NDEBUG
|
||||
static JSBool GlobalSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool GlobalSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
#endif
|
||||
|
||||
static JSBool GlobalLog(JSContext *context, uintN argc, jsval *vp);
|
||||
@ -86,7 +86,7 @@ static JSClass sGlobalClass =
|
||||
GlobalSetProperty,
|
||||
#else
|
||||
// No writeable properties in non-debug builds
|
||||
JS_PropertyStub,
|
||||
JS_StrictPropertyStub,
|
||||
#endif
|
||||
JS_EnumerateStub,
|
||||
JS_ResolveStub,
|
||||
@ -188,7 +188,7 @@ static JSBool GlobalGetProperty(JSContext *context, JSObject *this, jsid propID,
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
static JSBool GlobalSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool GlobalSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -40,7 +40,7 @@ static JSObject *sManifestObject;
|
||||
|
||||
static JSBool ManifestDeleteProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ManifestGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ManifestSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ManifestSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
|
||||
static JSClass sManifestClass =
|
||||
@ -207,7 +207,7 @@ void InitOOJSManifest(JSContext *context, JSObject *global)
|
||||
static JSBool ManifestDeleteProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
{
|
||||
jsval v = JSVAL_VOID;
|
||||
return ManifestSetProperty(context, this, propID, &v);
|
||||
return ManifestSetProperty(context, this, propID, NO, &v);
|
||||
}
|
||||
|
||||
|
||||
@ -366,7 +366,7 @@ static JSBool ManifestGetProperty(JSContext *context, JSObject *this, jsid propI
|
||||
}
|
||||
|
||||
|
||||
static JSBool ManifestSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool ManifestSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
OOJS_NATIVE_ENTER(context)
|
||||
|
||||
|
@ -59,7 +59,7 @@ static JSClass sMissionClass =
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
JS_StrictPropertyStub,
|
||||
JS_EnumerateStub,
|
||||
JS_ResolveStub,
|
||||
JS_ConvertStub,
|
||||
|
@ -44,7 +44,7 @@ static NSString *KeyForPropertyID(JSContext *context, jsid propID)
|
||||
|
||||
static JSBool MissionVariablesDeleteProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool MissionVariablesGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool MissionVariablesSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool MissionVariablesSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static JSBool MissionVariablesEnumerate(JSContext *context, JSObject *object, JSIterateOp enumOp, jsval *state, jsid *idp);
|
||||
|
||||
#ifndef NDEBUG
|
||||
@ -133,7 +133,7 @@ static JSBool MissionVariablesGetProperty(JSContext *context, JSObject *this, js
|
||||
}
|
||||
|
||||
|
||||
static JSBool MissionVariablesSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool MissionVariablesSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
OOJS_NATIVE_ENTER(context)
|
||||
|
||||
|
@ -47,7 +47,7 @@ static JSClass sOoliteClass =
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
OoliteGetProperty,
|
||||
JS_PropertyStub,
|
||||
JS_StrictPropertyStub,
|
||||
JS_EnumerateStub,
|
||||
JS_ResolveStub,
|
||||
JS_ConvertStub,
|
||||
|
@ -35,7 +35,7 @@ static JSObject *sPlanetPrototype;
|
||||
|
||||
|
||||
static JSBool PlanetGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool PlanetSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool PlanetSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
|
||||
static JSClass sPlanetClass =
|
||||
@ -164,7 +164,7 @@ static JSBool PlanetGetProperty(JSContext *context, JSObject *this, jsid propID,
|
||||
}
|
||||
|
||||
|
||||
static JSBool PlanetSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool PlanetSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -45,7 +45,7 @@ static JSObject *sPlayerObject;
|
||||
|
||||
|
||||
static JSBool PlayerGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool PlayerSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool PlayerSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
static JSBool PlayerCommsMessage(JSContext *context, uintN argc, jsval *vp);
|
||||
static JSBool PlayerConsoleMessage(JSContext *context, uintN argc, jsval *vp);
|
||||
@ -257,7 +257,7 @@ static JSBool PlayerGetProperty(JSContext *context, JSObject *this, jsid propID,
|
||||
}
|
||||
|
||||
|
||||
static JSBool PlayerSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool PlayerSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -49,7 +49,7 @@ static JSObject *sPlayerShipObject;
|
||||
|
||||
|
||||
static JSBool PlayerShipGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool PlayerShipSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool PlayerShipSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
static JSBool PlayerShipLaunch(JSContext *context, uintN argc, jsval *vp);
|
||||
static JSBool PlayerShipRemoveAllCargo(JSContext *context, uintN argc, jsval *vp);
|
||||
@ -335,7 +335,7 @@ static JSBool PlayerShipGetProperty(JSContext *context, JSObject *this, jsid pro
|
||||
}
|
||||
|
||||
|
||||
static JSBool PlayerShipSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool PlayerShipSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -43,7 +43,7 @@ static BOOL GetThisQuaternion(JSContext *context, JSObject *quaternionObj, Quate
|
||||
|
||||
|
||||
static JSBool QuaternionGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool QuaternionSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool QuaternionSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static void QuaternionFinalize(JSContext *context, JSObject *this);
|
||||
static JSBool QuaternionConstruct(JSContext *context, uintN argc, jsval *vp);
|
||||
|
||||
@ -477,7 +477,7 @@ static JSBool QuaternionGetProperty(JSContext *context, JSObject *this, jsid pro
|
||||
}
|
||||
|
||||
|
||||
static JSBool QuaternionSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool QuaternionSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -76,7 +76,7 @@ static JSClass sScriptClass =
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
JS_StrictPropertyStub,
|
||||
JS_EnumerateStub,
|
||||
JS_ResolveStub,
|
||||
JS_ConvertStub,
|
||||
|
@ -47,7 +47,7 @@ static JSObject *sShipPrototype;
|
||||
|
||||
|
||||
static JSBool ShipGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ShipSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ShipSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
static JSBool ShipSetScript(JSContext *context, uintN argc, jsval *vp);
|
||||
static JSBool ShipSetAI(JSContext *context, uintN argc, jsval *vp);
|
||||
@ -674,7 +674,7 @@ static JSBool ShipGetProperty(JSContext *context, JSObject *this, jsid propID, j
|
||||
}
|
||||
|
||||
|
||||
static JSBool ShipSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool ShipSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -33,7 +33,7 @@ static JSObject *sShipGroupPrototype;
|
||||
|
||||
|
||||
static JSBool ShipGroupGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ShipGroupSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool ShipGroupSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static JSBool ShipGroupConstruct(JSContext *context, uintN argc, jsval *vp);
|
||||
|
||||
// Methods
|
||||
@ -144,7 +144,7 @@ static JSBool ShipGroupGetProperty(JSContext *context, JSObject *this, jsid prop
|
||||
}
|
||||
|
||||
|
||||
static JSBool ShipGroupSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool ShipGroupSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -52,7 +52,7 @@ static JSClass sSoundClass =
|
||||
JS_PropertyStub, // addProperty
|
||||
JS_PropertyStub, // delProperty
|
||||
SoundGetProperty, // getProperty
|
||||
JS_PropertyStub, // setProperty
|
||||
JS_StrictPropertyStub, // setProperty
|
||||
JS_EnumerateStub, // enumerate
|
||||
JS_ResolveStub, // resolve
|
||||
JS_ConvertStub, // convert
|
||||
|
@ -32,7 +32,7 @@ static JSObject *sSoundSourcePrototype;
|
||||
|
||||
|
||||
static JSBool SoundSourceGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool SoundSourceSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool SoundSourceSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static JSBool SoundSourceConstruct(JSContext *context, uintN argc, jsval *vp);
|
||||
|
||||
// Methods
|
||||
@ -158,7 +158,7 @@ static JSBool SoundSourceGetProperty(JSContext *context, JSObject *this, jsid pr
|
||||
}
|
||||
|
||||
|
||||
static JSBool SoundSourceSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool SoundSourceSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -37,7 +37,7 @@ static BOOL JSStationGetStationEntity(JSContext *context, JSObject *stationObj,
|
||||
|
||||
|
||||
static JSBool StationGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool StationSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool StationSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
static JSBool StationDockPlayer(JSContext *context, uintN argc, jsval *vp);
|
||||
static JSBool StationLaunchShipWithRole(JSContext *context, uintN argc, jsval *vp);
|
||||
@ -236,7 +236,7 @@ static JSBool StationGetProperty(JSContext *context, JSObject *this, jsid propID
|
||||
}
|
||||
|
||||
|
||||
static JSBool StationSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool StationSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -46,7 +46,7 @@ static JSClass sSunClass =
|
||||
JS_PropertyStub, // addProperty
|
||||
JS_PropertyStub, // delProperty
|
||||
SunGetProperty, // getProperty
|
||||
JS_PropertyStub, // setProperty
|
||||
JS_StrictPropertyStub, // setProperty
|
||||
JS_EnumerateStub, // enumerate
|
||||
JS_ResolveStub, // resolve
|
||||
JS_ConvertStub, // convert
|
||||
|
@ -55,7 +55,7 @@ static JSBool SystemAddShipsOrGroupToRoute(JSContext *context, uintN argc, jsval
|
||||
|
||||
|
||||
static JSBool SystemGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool SystemSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool SystemSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
|
||||
static JSBool SystemToString(JSContext *context, uintN argc, jsval *vp);
|
||||
static JSBool SystemAddPlanet(JSContext *context, uintN argc, jsval *vp);
|
||||
@ -334,7 +334,7 @@ static JSBool SystemGetProperty(JSContext *context, JSObject *this, jsid propID,
|
||||
}
|
||||
|
||||
|
||||
static JSBool SystemSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool SystemSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -39,7 +39,7 @@ static OOSystemID sCachedSystem;
|
||||
|
||||
static JSBool SystemInfoDeleteProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool SystemInfoGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool SystemInfoSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool SystemInfoSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static void SystemInfoFinalize(JSContext *context, JSObject *this);
|
||||
static JSBool SystemInfoEnumerate(JSContext *context, JSObject *this, JSIterateOp enumOp, jsval *state, jsid *idp);
|
||||
|
||||
@ -389,7 +389,7 @@ static JSBool SystemInfoDeleteProperty(JSContext *context, JSObject *this, jsid
|
||||
OOJS_PROFILE_ENTER // Any exception will be converted in SystemInfoSetProperty()
|
||||
|
||||
jsval v = JSVAL_VOID;
|
||||
return SystemInfoSetProperty(context, this, propID, &v);
|
||||
return SystemInfoSetProperty(context, this, propID, NO, &v);
|
||||
|
||||
OOJS_PROFILE_EXIT
|
||||
}
|
||||
@ -482,7 +482,7 @@ static JSBool SystemInfoGetProperty(JSContext *context, JSObject *this, jsid pro
|
||||
}
|
||||
|
||||
|
||||
static JSBool SystemInfoSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool SystemInfoSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (EXPECT_NOT(this == sSystemInfoPrototype))
|
||||
{
|
||||
|
@ -192,7 +192,7 @@ static JSClass sTimerClass;
|
||||
|
||||
|
||||
static JSBool TimerGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool TimerSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool TimerSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static void TimerFinalize(JSContext *context, JSObject *this);
|
||||
static JSBool TimerConstruct(JSContext *context, uintN argc, jsval *vp);
|
||||
|
||||
@ -288,7 +288,7 @@ static JSBool TimerGetProperty(JSContext *context, JSObject *this, jsid propID,
|
||||
}
|
||||
|
||||
|
||||
static JSBool TimerSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool TimerSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -43,7 +43,7 @@ static BOOL GetThisVector(JSContext *context, JSObject *vectorObj, Vector *outVe
|
||||
|
||||
|
||||
static JSBool VectorGetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool VectorSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value);
|
||||
static JSBool VectorSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value);
|
||||
static void VectorFinalize(JSContext *context, JSObject *this);
|
||||
static JSBool VectorConstruct(JSContext *context, uintN argc, jsval *vp);
|
||||
|
||||
@ -491,7 +491,7 @@ static JSBool VectorGetProperty(JSContext *context, JSObject *this, jsid propID,
|
||||
}
|
||||
|
||||
|
||||
static JSBool VectorSetProperty(JSContext *context, JSObject *this, jsid propID, jsval *value)
|
||||
static JSBool VectorSetProperty(JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value)
|
||||
{
|
||||
if (!JSID_IS_INT(propID)) return YES;
|
||||
|
||||
|
@ -41,7 +41,7 @@ static JSClass sWorldScriptsClass =
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
WorldScriptsGetProperty,
|
||||
JS_PropertyStub,
|
||||
JS_StrictPropertyStub,
|
||||
WorldScriptsEnumerate,
|
||||
JS_ResolveStub,
|
||||
JS_ConvertStub,
|
||||
|
Loading…
x
Reference in New Issue
Block a user