Documentation Archive Developer
Search

JavaScriptCore Changes

JavaScriptCore (Added)

Added JSClassDefinition [struct]
Added JSClassDefinition.attributes
Added JSClassDefinition.callAsConstructor
Added JSClassDefinition.callAsFunction
Added JSClassDefinition.className
Added JSClassDefinition.convertToType
Added JSClassDefinition.deleteProperty
Added JSClassDefinition.finalize
Added JSClassDefinition.getProperty
Added JSClassDefinition.getPropertyNames
Added JSClassDefinition.hasInstance
Added JSClassDefinition.hasProperty
Added JSClassDefinition.initialize
Added JSClassDefinition.parentClass
Added JSClassDefinition.setProperty
Added JSClassDefinition.staticFunctions
Added JSClassDefinition.staticValues
Added JSClassDefinition.version
Added JSContext
Added JSContext.init()
Added JSContext.JSGlobalContextRef
Added JSContext.init(JSGlobalContextRef: JSGlobalContext!)
Added JSContext.currentArguments() -> [AnyObject]! [class]
Added JSContext.currentCallee() -> JSValue! [class]
Added JSContext.currentContext() -> JSContext! [class]
Added JSContext.currentThis() -> JSValue! [class]
Added JSContext.evaluateScript(String!) -> JSValue!
Added JSContext.evaluateScript(String!, withSourceURL: NSURL!) -> JSValue!
Added JSContext.exception
Added JSContext.exceptionHandler
Added JSContext.globalObject
Added JSContext.name
Added JSContext.objectForKeyedSubscript(AnyObject!) -> JSValue!
Added JSContext.setObject(AnyObject!, forKeyedSubscript: NSObject!)
Added JSContext.virtualMachine
Added JSContext.init(virtualMachine: JSVirtualMachine!)
Added JSExport
Added JSManagedValue
Added JSManagedValue.value
Added JSManagedValue.init(value: JSValue!)
Added JSManagedValue.init(value: JSValue!, andOwner: AnyObject!)
Added JSStaticFunction [struct]
Added JSStaticFunction.attributes
Added JSStaticFunction.callAsFunction
Added JSStaticFunction.name
Added JSStaticValue [struct]
Added JSStaticValue.attributes
Added JSStaticValue.getProperty
Added JSStaticValue.name
Added JSStaticValue.setProperty
Added JSType [struct]
Added JSType.init(_: UInt32)
Added JSType.value
Added JSValue
Added JSValue.JSValueRef
Added JSValue.init(JSValueRef: JSValue!, inContext: JSContext!)
Added JSValue.init(UInt32: UInt32, inContext: JSContext!)
Added JSValue.init(bool: Bool, inContext: JSContext!)
Added JSValue.callWithArguments([AnyObject]!) -> JSValue!
Added JSValue.constructWithArguments([AnyObject]!) -> JSValue!
Added JSValue.context
Added JSValue.defineProperty(String!, descriptor: AnyObject!)
Added JSValue.deleteProperty(String!) -> Bool
Added JSValue.init(double: Double, inContext: JSContext!)
Added JSValue.hasProperty(String!) -> Bool
Added JSValue.init(int32: Int32, inContext: JSContext!)
Added JSValue.invokeMethod(String!, withArguments:[AnyObject]!) -> JSValue!
Added JSValue.isBoolean() -> Bool
Added JSValue.isEqualToObject(AnyObject!) -> Bool
Added JSValue.isEqualWithTypeCoercionToObject(AnyObject!) -> Bool
Added JSValue.isInstanceOf(AnyObject!) -> Bool
Added JSValue.isNull() -> Bool
Added JSValue.isNumber() -> Bool
Added JSValue.isObject() -> Bool
Added JSValue.isString() -> Bool
Added JSValue.isUndefined() -> Bool
Added JSValue.init(newArrayInContext: JSContext!)
Added JSValue.init(newErrorFromMessage: String!, inContext: JSContext!)
Added JSValue.init(newObjectInContext: JSContext!)
Added JSValue.init(newRegularExpressionFromPattern: String!, flags: String!, inContext: JSContext!)
Added JSValue.init(nullInContext: JSContext!)
Added JSValue.init(object: AnyObject!, inContext: JSContext!)
Added JSValue.objectAtIndexedSubscript(Int) -> JSValue!
Added JSValue.objectForKeyedSubscript(AnyObject!) -> JSValue!
Added JSValue.init(point: CGPoint, inContext: JSContext!)
Added JSValue.init(range: NSRange, inContext: JSContext!)
Added JSValue.init(rect: CGRect, inContext: JSContext!)
Added JSValue.setObject(AnyObject!, atIndexedSubscript: Int)
Added JSValue.setObject(AnyObject!, forKeyedSubscript: NSObject!)
Added JSValue.setValue(AnyObject!, atIndex: Int)
Added JSValue.setValue(AnyObject!, forProperty: String!)
Added JSValue.init(size: CGSize, inContext: JSContext!)
Added JSValue.toArray() -> [AnyObject]!
Added JSValue.toBool() -> Bool
Added JSValue.toDate() -> NSDate!
Added JSValue.toDictionary() -> [NSObject: AnyObject]!
Added JSValue.toDouble() -> Double
Added JSValue.toInt32() -> Int32
Added JSValue.toNumber() -> NSNumber!
Added JSValue.toObject() -> AnyObject!
Added JSValue.toObjectOfClass(AnyClass!) -> AnyObject!
Added JSValue.toPoint() -> CGPoint
Added JSValue.toRange() -> NSRange
Added JSValue.toRect() -> CGRect
Added JSValue.toSize() -> CGSize
Added JSValue.toString() -> String!
Added JSValue.toUInt32() -> UInt32
Added JSValue.init(undefinedInContext: JSContext!)
Added JSValue.valueAtIndex(Int) -> JSValue!
Added JSValue.valueForProperty(String!) -> JSValue!
Added JSVirtualMachine
Added JSVirtualMachine.init()
Added JSVirtualMachine.addManagedReference(AnyObject!, withOwner: AnyObject!)
Added JSVirtualMachine.removeManagedReference(AnyObject!, withOwner: AnyObject!)
Added JSChar
Added JSCheckScriptSyntax(JSContext!, JSString!, JSString!, Int32, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Bool
Added JSClassAttributes
Added JSClassCreate(UnsafePointer<JSClassDefinition>) -> Unmanaged<JSClass>!
Added JSClassRef
Added JSContextGetGlobalContext(JSContext!) -> Unmanaged<JSGlobalContext>!
Added JSContextGetGlobalObject(JSContext!) -> Unmanaged<JSObject>!
Added JSContextGetGroup(JSContext!) -> Unmanaged<JSContextGroup>!
Added JSContextGroupCreate() -> Unmanaged<JSContextGroup>!
Added JSContextGroupRef
Added JSContextRef
Added JSEvaluateScript(JSContext!, JSString!, JSObject!, JSString!, Int32, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSValue>!
Added JSGarbageCollect(JSContext!)
Added JSGlobalContextCopyName(JSGlobalContext!) -> Unmanaged<JSString>!
Added JSGlobalContextCreate(JSClass!) -> Unmanaged<JSGlobalContext>!
Added JSGlobalContextCreateInGroup(JSContextGroup!, JSClass!) -> Unmanaged<JSGlobalContext>!
Added JSGlobalContextRef
Added JSGlobalContextSetName(JSGlobalContext!, JSString!)
Added JSObjectCallAsConstructor(JSContext!, JSObject!, UInt, UnsafePointer<Unmanaged<JSValue>?>, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSObject>!
Added JSObjectCallAsConstructorCallback
Added JSObjectCallAsFunction(JSContext!, JSObject!, JSObject!, UInt, UnsafePointer<Unmanaged<JSValue>?>, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSValue>!
Added JSObjectCallAsFunctionCallback
Added JSObjectConvertToTypeCallback
Added JSObjectCopyPropertyNames(JSContext!, JSObject!) -> Unmanaged<JSPropertyNameArray>!
Added JSObjectDeleteProperty(JSContext!, JSObject!, JSString!, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Bool
Added JSObjectDeletePropertyCallback
Added JSObjectFinalizeCallback
Added JSObjectGetPrivate(JSObject!) -> UnsafeMutablePointer<Void>
Added JSObjectGetProperty(JSContext!, JSObject!, JSString!, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSValue>!
Added JSObjectGetPropertyAtIndex(JSContext!, JSObject!, UInt32, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSValue>!
Added JSObjectGetPropertyCallback
Added JSObjectGetPropertyNamesCallback
Added JSObjectGetPrototype(JSContext!, JSObject!) -> Unmanaged<JSValue>!
Added JSObjectHasInstanceCallback
Added JSObjectHasProperty(JSContext!, JSObject!, JSString!) -> Bool
Added JSObjectHasPropertyCallback
Added JSObjectInitializeCallback
Added JSObjectIsConstructor(JSContext!, JSObject!) -> Bool
Added JSObjectIsFunction(JSContext!, JSObject!) -> Bool
Added JSObjectMake(JSContext!, JSClass!, UnsafeMutablePointer<Void>) -> Unmanaged<JSObject>!
Added JSObjectMakeArray(JSContext!, UInt, UnsafePointer<Unmanaged<JSValue>?>, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSObject>!
Added JSObjectMakeConstructor(JSContext!, JSClass!, JSObjectCallAsConstructorCallback) -> Unmanaged<JSObject>!
Added JSObjectMakeDate(JSContext!, UInt, UnsafePointer<Unmanaged<JSValue>?>, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSObject>!
Added JSObjectMakeError(JSContext!, UInt, UnsafePointer<Unmanaged<JSValue>?>, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSObject>!
Added JSObjectMakeFunction(JSContext!, JSString!, UInt32, UnsafePointer<Unmanaged<JSString>?>, JSString!, JSString!, Int32, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSObject>!
Added JSObjectMakeFunctionWithCallback(JSContext!, JSString!, JSObjectCallAsFunctionCallback) -> Unmanaged<JSObject>!
Added JSObjectMakeRegExp(JSContext!, UInt, UnsafePointer<Unmanaged<JSValue>?>, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSObject>!
Added JSObjectRef
Added JSObjectSetPrivate(JSObject!, UnsafeMutablePointer<Void>) -> Bool
Added JSObjectSetProperty(JSContext!, JSObject!, JSString!, JSValue!, JSPropertyAttributes, UnsafeMutablePointer<Unmanaged<JSValue>?>)
Added JSObjectSetPropertyAtIndex(JSContext!, JSObject!, UInt32, JSValue!, UnsafeMutablePointer<Unmanaged<JSValue>?>)
Added JSObjectSetPropertyCallback
Added JSObjectSetPrototype(JSContext!, JSObject!, JSValue!)
Added JSPropertyAttributes
Added JSPropertyDescriptorConfigurableKey
Added JSPropertyDescriptorEnumerableKey
Added JSPropertyDescriptorGetKey
Added JSPropertyDescriptorSetKey
Added JSPropertyDescriptorValueKey
Added JSPropertyDescriptorWritableKey
Added JSPropertyNameAccumulatorAddName(JSPropertyNameAccumulator!, JSString!)
Added JSPropertyNameAccumulatorRef
Added JSPropertyNameArrayGetCount(JSPropertyNameArray!) -> UInt
Added JSPropertyNameArrayGetNameAtIndex(JSPropertyNameArray!, UInt) -> Unmanaged<JSString>!
Added JSPropertyNameArrayRef
Added JSStringCopyCFString(CFAllocator!, JSString!) -> CFString!
Added JSStringCreateWithCFString(CFString!) -> Unmanaged<JSString>!
Added JSStringCreateWithCharacters(UnsafePointer<JSChar>, UInt) -> Unmanaged<JSString>!
Added JSStringCreateWithUTF8CString(UnsafePointer<Int8>) -> Unmanaged<JSString>!
Added JSStringGetCharactersPtr(JSString!) -> UnsafePointer<JSChar>
Added JSStringGetLength(JSString!) -> UInt
Added JSStringGetMaximumUTF8CStringSize(JSString!) -> UInt
Added JSStringGetUTF8CString(JSString!, UnsafeMutablePointer<Int8>, UInt) -> UInt
Added JSStringIsEqual(JSString!, JSString!) -> Bool
Added JSStringIsEqualToUTF8CString(JSString!, UnsafePointer<Int8>) -> Bool
Added JSStringRef
Added JSValueCreateJSONString(JSContext!, JSValue!, UInt32, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSString>!
Added JSValueGetType(JSContext!, JSValue!) -> JSType
Added JSValueIsBoolean(JSContext!, JSValue!) -> Bool
Added JSValueIsEqual(JSContext!, JSValue!, JSValue!, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Bool
Added JSValueIsInstanceOfConstructor(JSContext!, JSValue!, JSObject!, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Bool
Added JSValueIsNull(JSContext!, JSValue!) -> Bool
Added JSValueIsNumber(JSContext!, JSValue!) -> Bool
Added JSValueIsObject(JSContext!, JSValue!) -> Bool
Added JSValueIsObjectOfClass(JSContext!, JSValue!, JSClass!) -> Bool
Added JSValueIsStrictEqual(JSContext!, JSValue!, JSValue!) -> Bool
Added JSValueIsString(JSContext!, JSValue!) -> Bool
Added JSValueIsUndefined(JSContext!, JSValue!) -> Bool
Added JSValueMakeBoolean(JSContext!, Bool) -> Unmanaged<JSValue>!
Added JSValueMakeFromJSONString(JSContext!, JSString!) -> Unmanaged<JSValue>!
Added JSValueMakeNull(JSContext!) -> Unmanaged<JSValue>!
Added JSValueMakeNumber(JSContext!, Double) -> Unmanaged<JSValue>!
Added JSValueMakeString(JSContext!, JSString!) -> Unmanaged<JSValue>!
Added JSValueMakeUndefined(JSContext!) -> Unmanaged<JSValue>!
Added JSValueProtect(JSContext!, JSValue!)
Added JSValueRef
Added JSValueToBoolean(JSContext!, JSValue!) -> Bool
Added JSValueToNumber(JSContext!, JSValue!, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Double
Added JSValueToObject(JSContext!, JSValue!, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSObject>!
Added JSValueToStringCopy(JSContext!, JSValue!, UnsafeMutablePointer<Unmanaged<JSValue>?>) -> Unmanaged<JSString>!
Added JSValueUnprotect(JSContext!, JSValue!)
Added kJSClassAttributeNoAutomaticPrototype
Added kJSClassAttributeNone
Added kJSClassDefinitionEmpty
Added kJSPropertyAttributeDontDelete
Added kJSPropertyAttributeDontEnum
Added kJSPropertyAttributeNone
Added kJSPropertyAttributeReadOnly
Added kJSTypeBoolean
Added kJSTypeNull
Added kJSTypeNumber
Added kJSTypeObject
Added kJSTypeString
Added kJSTypeUndefined