Reviewed by Tim H.
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2006 23:49:21 +0000 (23:49 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2006 23:49:21 +0000 (23:49 +0000)
commitf090c59d36963b107a26ec95169901892c98f5cb
tree9351cafd3902344f6c4a480e1561e07e268696e8
parentb7622603d5d3fa29f8b69b92549ebf098f602db0
    Reviewed by Tim H.

        Patch for http://bugs.webkit.org/show_bug.cgi?id=11234
        Assorted Objective-C bindings changes

        - Auto-generate DOMSVGPathSegArcAbs, DOMSVGPathSegArcRel, DOMSVGPathSegClosePath,
          DOMSVGPathSegCurvetoCubicAbs, DOMSVGPathSegCurvetoCubicRel,
          DOMSVGPathSegCurvetoCubicSmoothAbs, DOMSVGPathSegCurvetoCubicSmoothRel,
          DOMSVGPathSegCurvetoQuadraticAbs, DOMSVGPathSegCurvetoQuadraticRel,
          DOMSVGPathSegCurvetoQuadraticSmoothAbs, DOMSVGPathSegCurvetoQuadraticSmoothRel,
          DOMSVGPathSegLinetoAbs, DOMSVGPathSegLinetoHorizontalAbs,
          DOMSVGPathSegLinetoHorizontalRel, DOMSVGPathSegLinetoRel,
          DOMSVGPathSegLinetoVerticalAbs, DOMSVGPathSegLinetoVerticalRel,
          DOMSVGPathSegMovetoAbs, DOMSVGPathSegMovetoRel and DOMSVGSVGElement.

        - Auto-generate absoluteImageURL method for DOMHTMLInputElement and
          DOMHTMLObjectElement.

        - Auto-generate the internal methods for classes with ivars (notably
          DOMNodeIterator and DOMTreeWalker)

        - Put more methods in the WebCore namespace and factor out the
          displayString method into DOMInternal.h as done by Darin in his
          patch for http://bugs.webkit.org/show_bug.cgi?id=11219.

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        (-[DOMNode _initWithNode:WebCore::]):
        (+[DOMNode _nodeWith:WebCore::]):
        (-[DOMNode addEventListener:listener:useCapture:]):
        (-[DOMNode removeEventListener:listener:useCapture:]):
        (-[DOMNode dispatchEvent:]):
        (-[DOMElement _imageTIFFRepresentation]):
        (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
        (+[DOMNodeFilter _nodeFilterWith:WebCore::]):
        (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]):
        (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]):
        * bindings/objc/DOMCSS.mm:
        (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
        (+[DOMStyleSheet _styleSheetWith:WebCore::]):
        (-[DOMCSSRule _initWithCSSRule:WebCore::]):
        (+[DOMCSSRule _CSSRuleWith:WebCore::]):
        (-[DOMCSSValue _initWithCSSValue:WebCore::]):
        (+[DOMCSSValue _CSSValueWith:WebCore::]):
        * bindings/objc/DOMEvents.mm:
        (-[DOMEvent _initWithEvent:WebCore::]):
        (+[DOMEvent _eventWith:WebCore::]):
        * bindings/objc/DOMExtensions.h:
        * bindings/objc/DOMHTML.mm:
        (-[DOMHTMLInputElement _replaceCharactersInRange:withString:selectingFromIndex:]):
        * bindings/objc/DOMInternal.h:
        (-[DOMNodeFilter WebCore::]):
        * bindings/objc/DOMInternal.mm:
        (-[WebScriptObject _init]):
        (-[WebScriptObject _initializeScriptDOMNodeImp]):
        (WebCore::displayString):
        * bindings/objc/DOMObject.mm:
        (-[DOMObject dealloc]):
        (-[DOMObject finalize]):
        * bindings/objc/DOMRGBColor.mm:
        (-[DOMRGBColor dealloc]):
        (-[DOMRGBColor finalize]):
        (-[DOMRGBColor color]):
        (-[DOMRGBColor _initWithRGB:WebCore::]):
        (+[DOMRGBColor _RGBColorWithRGB:WebCore::]):
        * bindings/objc/DOMSVG.h:
        * bindings/objc/DOMSVGPathSegInternal.h: Added.
        * bindings/objc/DOMSVGPathSegInternal.mm: Added.
        (-[DOMSVGPathSeg WebCore::]):
        (-[DOMSVGPathSeg _initWithSVGPathSeg:WebCore::]):
        (+[DOMSVGPathSeg _SVGPathSegWith:WebCore::]):
        * bindings/objc/DOMXPath.mm:
        (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
        (+[DOMNativeXPathNSResolver _xpathNSResolverWith:WebCore::]):
        * bindings/objc/PublicDOMInterfaces.h:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * dom/NodeIterator.idl:
        * dom/TreeWalker.idl:
        * html/HTMLInputElement.idl:
        * html/HTMLObjectElement.idl:
        * ksvg2/svg/SVGDocument.idl:
        * ksvg2/svg/SVGElement.idl:
        * ksvg2/svg/SVGPathSeg.idl:
        * ksvg2/svg/SVGPathSegArcAbs.idl:
        * ksvg2/svg/SVGPathSegArcRel.idl:
        * ksvg2/svg/SVGPathSegClosePath.idl:
        * ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl:
        * ksvg2/svg/SVGPathSegCurvetoCubicRel.idl:
        * ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
        * ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl:
        * ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl:
        * ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl:
        * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
        * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
        * ksvg2/svg/SVGPathSegLinetoAbs.idl:
        * ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl:
        * ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl:
        * ksvg2/svg/SVGPathSegLinetoRel.idl:
        * ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl:
        * ksvg2/svg/SVGPathSegLinetoVerticalRel.idl:
        * ksvg2/svg/SVGPathSegMovetoAbs.idl:
        * ksvg2/svg/SVGPathSegMovetoRel.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
44 files changed:
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/objc/DOM.mm
WebCore/bindings/objc/DOMCSS.mm
WebCore/bindings/objc/DOMEvents.mm
WebCore/bindings/objc/DOMExtensions.h
WebCore/bindings/objc/DOMHTML.mm
WebCore/bindings/objc/DOMInternal.h
WebCore/bindings/objc/DOMInternal.mm
WebCore/bindings/objc/DOMObject.mm
WebCore/bindings/objc/DOMRGBColor.mm
WebCore/bindings/objc/DOMSVG.h
WebCore/bindings/objc/DOMSVGPathSegInternal.h [new file with mode: 0644]
WebCore/bindings/objc/DOMSVGPathSegInternal.mm [new file with mode: 0644]
WebCore/bindings/objc/DOMXPath.mm
WebCore/bindings/objc/PublicDOMInterfaces.h
WebCore/bindings/scripts/CodeGeneratorObjC.pm
WebCore/dom/NodeIterator.idl
WebCore/dom/TreeWalker.idl
WebCore/html/HTMLInputElement.idl
WebCore/html/HTMLObjectElement.idl
WebCore/ksvg2/svg/SVGDocument.idl
WebCore/ksvg2/svg/SVGElement.idl
WebCore/ksvg2/svg/SVGPathSeg.idl
WebCore/ksvg2/svg/SVGPathSegArcAbs.idl
WebCore/ksvg2/svg/SVGPathSegArcRel.idl
WebCore/ksvg2/svg/SVGPathSegClosePath.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoCubicRel.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl
WebCore/ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl
WebCore/ksvg2/svg/SVGPathSegLinetoAbs.idl
WebCore/ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl
WebCore/ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl
WebCore/ksvg2/svg/SVGPathSegLinetoRel.idl
WebCore/ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl
WebCore/ksvg2/svg/SVGPathSegLinetoVerticalRel.idl
WebCore/ksvg2/svg/SVGPathSegMovetoAbs.idl
WebCore/ksvg2/svg/SVGPathSegMovetoRel.idl