1. 13 Jun, 2007 23 commits
  2. 12 Jun, 2007 17 commits
    • andersca's avatar
      Another build fix. · 5835026e
      andersca authored
              
              * bindings/qt/qt_instance.cpp:
              (KJS::Bindings::QtInstance::invokeMethod):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5835026e
    • andersca's avatar
      Reviewed by Geoff. · 60ba4e54
      andersca authored
              Move the notion of field type to the JNI runtime since that's the only 
              one that was actually using it.
              
              * bindings/c/c_runtime.h:
              (KJS::Bindings::CField::CField):
              * bindings/jni/jni_runtime.h:
              * bindings/objc/objc_runtime.h:
              * bindings/objc/objc_runtime.mm:
              * bindings/qt/qt_runtime.h:
              * bindings/runtime.h:
              * bindings/runtime_method.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60ba4e54
    • andersca's avatar
      Build fix. · 1c920040
      andersca authored
              
              * bindings/qt/qt_class.cpp:
              (KJS::Bindings::QtClass::methodsNamed):
              * bindings/qt/qt_instance.cpp:
              (KJS::Bindings::QtInstance::invokeMethod):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c920040
    • staikos's avatar
      Fix from Lars to remove duplicate symbols. · 9f86543e
      staikos authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f86543e
    • andersca's avatar
      Reviewed by Oliver. · 27856417
      andersca authored
              
              Get rid of the MethodList class and use a good ol' Vector instead.
      
              * bindings/c/c_class.cpp:
              (KJS::Bindings::CClass::methodsNamed):
              * bindings/c/c_instance.cpp:
              (KJS::Bindings::CInstance::invokeMethod):
              * bindings/jni/jni_class.cpp:
              (JavaClass::JavaClass):
              (JavaClass::~JavaClass):
              * bindings/jni/jni_instance.cpp:
              (JavaInstance::invokeMethod):
              * bindings/objc/objc_class.mm:
              (KJS::Bindings::ObjcClass::methodsNamed):
              * bindings/objc/objc_instance.mm:
              (ObjcInstance::invokeMethod):
              * bindings/objc/objc_runtime.mm:
              (ObjcFallbackObjectImp::callAsFunction):
              * bindings/runtime.cpp:
              * bindings/runtime.h:
              * bindings/runtime_method.cpp:
              (RuntimeMethod::lengthGetter):
              (RuntimeMethod::callAsFunction):
              * bindings/runtime_object.cpp:
              (RuntimeObjectImp::getOwnPropertySlot):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27856417
    • andersca's avatar
      Reviewed by Geoff. · b7e13e4e
      andersca authored
              Make RuntimeMethod's method list a pointer so that the object size doesn't
              grow beyond 32 bytes when we later will replace MethodList with a Vector.
              
              * bindings/runtime_method.cpp:
              (RuntimeMethod::RuntimeMethod):
              (RuntimeMethod::lengthGetter):
              (RuntimeMethod::callAsFunction):
              * bindings/runtime_method.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7e13e4e
    • andersca's avatar
      Reviewed by Geoff. · 164cf009
      andersca authored
              Get rid of the Parameter class.
              
              * bindings/jni/jni_instance.cpp:
              (JavaInstance::invokeMethod):
              * bindings/jni/jni_runtime.cpp:
              (JavaMethod::signature):
              * bindings/jni/jni_runtime.h:
              (KJS::Bindings::JavaParameter::JavaParameter):
              (KJS::Bindings::JavaParameter::~JavaParameter):
              (KJS::Bindings::JavaParameter::type):
              (KJS::Bindings::JavaMethod::parameterAt):
              (KJS::Bindings::JavaMethod::numParameters):
              * bindings/runtime.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      164cf009
    • andersca's avatar
      · 99d488c7
      andersca authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99d488c7
    • andersca's avatar
      Build fix. · 9cc63ece
      andersca authored
              
              * bindings/qt/qt_class.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cc63ece
    • bdash's avatar
      2007-06-12 Mark Rowe <mrowe@apple.com> · f1c12864
      bdash authored
              Build fix.
      
              * bindings/objc/objc_runtime.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1c12864
    • andersca's avatar
      Reviewed by Geoff. · 255f15f4
      andersca authored
              Get rid of Constructor and its only subclass JavaConstructor.
              
              * bindings/c/c_class.h:
              * bindings/jni/jni_class.cpp:
              (JavaClass::JavaClass):
              (JavaClass::~JavaClass):
              * bindings/jni/jni_class.h:
              * bindings/jni/jni_runtime.cpp:
              * bindings/jni/jni_runtime.h:
              * bindings/objc/objc_class.h:
              * bindings/runtime.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      255f15f4
    • andersca's avatar
      Reviewed by Geoff. · 81caa9fc
      andersca authored
              Use RetainPtr throughout the bindings code.
              
              * bindings/objc/objc_class.h:
              * bindings/objc/objc_class.mm:
              (KJS::Bindings::ObjcClass::ObjcClass):
              (KJS::Bindings::ObjcClass::methodsNamed):
              (KJS::Bindings::ObjcClass::fieldNamed):
              * bindings/objc/objc_instance.h:
              (KJS::Bindings::ObjcInstance::getObject):
              * bindings/objc/objc_instance.mm:
              (ObjcInstance::ObjcInstance):
              (ObjcInstance::~ObjcInstance):
              (ObjcInstance::implementsCall):
              (ObjcInstance::invokeMethod):
              (ObjcInstance::invokeDefaultMethod):
              (ObjcInstance::defaultValue):
              * bindings/objc/objc_runtime.h:
              (KJS::Bindings::ObjcMethod::setJavaScriptName):
              (KJS::Bindings::ObjcMethod::javaScriptName):
              (KJS::Bindings::ObjcArray::getObjcArray):
              * bindings/objc/objc_runtime.mm:
              (ObjcField::name):
              (ObjcArray::ObjcArray):
              (ObjcArray::setValueAt):
              (ObjcArray::valueAt):
              (ObjcArray::getLength):
              * wtf/RetainPtr.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81caa9fc
    • weinig's avatar
      Reviewed by Oliver. · 950051b7
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14109
              Cleanup JSEvent and JSClipboard in preperation for autogeneration
      
              * bindings/js/kjs_events.cpp:
              (KJS::DOMEvent::DOMEvent):
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMEvent::put):
              (KJS::DOMEvent::putValueProperty):
              (KJS::DOMEventPrototypeFunction::callAsFunction):
              (KJS::toJS):
              (KJS::toEvent):
              (KJS::):
              (KJS::JSClipboard::JSClipboard):
              (KJS::JSClipboard::~JSClipboard):
              (KJS::JSClipboard::getOwnPropertySlot):
              (KJS::JSClipboard::getValueProperty):
              (KJS::JSClipboard::put):
              (KJS::JSClipboard::putValueProperty):
              (KJS::JSClipboardPrototypeFunction::callAsFunction):
              (KJS::toClipboard):
              * bindings/js/kjs_events.h:
              (KJS::DOMEvent::):
              (KJS::DOMEvent::impl):
              (KJS::JSClipboard::impl):
              * dom/ClipboardEvent.h:
              * dom/Event.h:
              (WebCore::Event::srcElement):
              (WebCore::Event::returnValue):
              (WebCore::Event::clipboardData):
              (WebCore::Event::dataTransfer):
              (WebCore::Event::clipboard):
              * dom/MouseEvent.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      950051b7
    • andersca's avatar
      Reviewed by Maciej. · 575a56b6
      andersca authored
              Have JSCell inherit from Noncopyable.
              
              * bindings/objc/objc_runtime.h:
              * bindings/runtime_object.h:
              * kjs/value.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      575a56b6
    • lars's avatar
      Fix compilation, and remove dependency on Qt · ad80162d
      lars authored
              private header.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad80162d
    • lars's avatar
      Parts of the patch done by Zack. · 89dcd9e2
      lars authored
              Fix up some parts in the implementation of QWebNetworkInterface
              so it can be used by plugins.
              Change the plugin API so we can actually get all the information
              required by the JS bridge from them as well.
              Implement the parts required for the JS bridge
              to know about the plugins.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89dcd9e2
    • andersca's avatar
      Reviewed by Darin and Maciej. · c88db709
      andersca authored
              More cleanup. Use our Noncopyable WTF class, add a root object member
              to the Array class.
              
              * bindings/c/c_class.h:
              * bindings/jni/jni_class.h:
              * bindings/jni/jni_instance.h:
              * bindings/jni/jni_runtime.cpp:
              (JavaArray::JavaArray):
              * bindings/jni/jni_runtime.h:
              * bindings/objc/objc_class.h:
              * bindings/objc/objc_runtime.h:
              * bindings/objc/objc_runtime.mm:
              (ObjcArray::ObjcArray):
              * bindings/objc/objc_utility.mm:
              (KJS::Bindings::convertObjcValueToValue):
              * bindings/runtime.cpp:
              (KJS::Bindings::Array::Array):
              (KJS::Bindings::Array::~Array):
              * bindings/runtime.h:
              * bindings/runtime_object.h:
              * bindings/runtime_root.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c88db709