Ignore:
Timestamp:
Jul 17, 2006, 5:27:46 PM (19 years ago)
Author:
thatcher
Message:

JavaScriptCore:

Reviewed by Maciej.

<rdar://problem/4634874> WebScriptObject and WebUndefined are no longer defined by WebKit

Moves WebScriptObject and WebUndefined up to WebCore.
This change does create an upwards-dependancy on WebScriptObject existing
in the loaded process, but this code path in JavaScriptCore does not get used
unless it is through WebKit/WebCore. Moving all of the binding code out of
JavaScriptCore might make sense in the future.

  • JavaScriptCore.exp:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • bindings/objc/WebScriptObject.h: Replaced.
  • bindings/objc/WebScriptObject.mm: Removed.
  • bindings/objc/WebScriptObjectPrivate.h: Removed.
  • bindings/objc/objc_class.h:
  • bindings/objc/objc_instance.h:
  • bindings/objc/objc_instance.mm: (ObjcInstance::~ObjcInstance):
  • bindings/objc/objc_runtime.h:
  • bindings/objc/objc_runtime.mm: (convertValueToObjcObject):
  • bindings/objc/objc_utility.mm: (KJS::Bindings::convertValueToObjcValue): (KJS::Bindings::convertObjcValueToValue): (KJS::Bindings::createObjcInstanceForValue):

WebCore:

Reviewed by Maciej.

<rdar://problem/4634874> WebScriptObject and WebUndefined are no longer defined by WebKit

Moves WebScriptObject and WebUndefined to WebCore.

  • WebCore.exp:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/objc/DOM.mm:
  • bindings/objc/DOMCore.h:
  • bindings/objc/DOMInternal.mm:
  • bindings/objc/DOMUtility.mm:
  • bindings/objc/WebScriptObject.mm: Added. (+[WebUndefined allocWithZone:]): (-[WebUndefined initWithCoder:]): (-[WebUndefined encodeWithCoder:]): (-[WebUndefined copyWithZone:]):
  • bindings/objc/WebScriptObjectPrivate.h: Added.
  • bridge/mac/FrameMac.mm:
  • bridge/mac/WebCoreScriptDebugger.mm:

WebKit:

Reviewed by Maciej.

<rdar://problem/4634874> WebScriptObject and WebUndefined are no longer defined by WebKit

Copy WebScriptObject.h from WebCore's private headers, not JavaScriptCore.

  • WebKit.xcodeproj/project.pbxproj:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r15484 r15492  
    1 .objc_class_name_WebScriptObject
    2 .objc_class_name_WebScriptObjectPrivate
    3 .objc_class_name_WebUndefined
    41_JSCheckScriptSyntax
    52_JSClassCreate
     
    2522_JSObjectMake
    2623_JSObjectMakeConstructorWithCallback
     24_JSObjectMakeFunction
    2725_JSObjectMakeFunctionWithCallback
    28 _JSObjectMakeFunction
    2926_JSObjectMakeWithData
    3027_JSObjectSetPrivate
     
    125122__ZN3KJS11Interpreter30createLanguageInstanceForValueEPNS_9ExecStateEiPNS_8JSObjectEPKNS_8Bindings10RootObjectES8_
    126123__ZN3KJS11Interpreter4markEb
     124__ZN3KJS11Interpreter6s_hookE
    127125__ZN3KJS11Interpreter7collectEv
    128126__ZN3KJS11Interpreter8evaluateERKNS_7UStringEiPKNS_5UCharEiPNS_7JSValueE
     
    147145__ZN3KJS15SavedPropertiesC1Ev
    148146__ZN3KJS15SavedPropertiesD1Ev
     147__ZN3KJS16RuntimeObjectImp4infoE
    149148__ZN3KJS16RuntimeObjectImpC1EPNS_8Bindings8InstanceE
    150149__ZN3KJS17PropertyNameArray3addERKNS_10IdentifierE
     
    176175__ZN3KJS8Bindings10RootObject40setFindRootObjectForNativeHandleFunctionEPFPS1_PvE
    177176__ZN3KJS8Bindings10RootObject41_findRootObjectForNativeHandleFunctionPtrE
     177__ZN3KJS8Bindings10throwErrorEPNS_9ExecStateENS_9ErrorTypeEP8NSString
     178__ZN3KJS8Bindings18addNativeReferenceEPKNS0_10RootObjectEPNS_8JSObjectE
     179__ZN3KJS8Bindings21removeNativeReferenceEPNS_8JSObjectE
     180__ZN3KJS8Bindings23convertObjcValueToValueEPNS_9ExecStateEPvNS0_13ObjcValueTypeE
     181__ZN3KJS8Bindings23convertValueToObjcValueEPNS_9ExecStateEPNS_7JSValueENS0_13ObjcValueTypeE
     182__ZN3KJS8Bindings8Instance18didExecuteFunctionEv
    178183__ZN3KJS8Bindings8Instance21setDidExecuteFunctionEPFvPNS_9ExecStateEPNS_8JSObjectEE
    179184__ZN3KJS8Bindings8Instance32createBindingForLanguageInstanceENS1_15BindingLanguageEPvPKNS0_10RootObjectE
     
    236241__ZNK3KJS7UString10UTF8StringEv
    237242__ZNK3KJS7UString14toStrictUInt32EPb
     243__ZNK3KJS7UString5asciiEv
    238244__ZNK3KJS7UString8toUInt32EPb
    239245__ZNK3KJS8JSObject11hasPropertyEPNS_9ExecStateERKNS_10IdentifierE
Note: See TracChangeset for help on using the changeset viewer.