Reviewed by Tim H.
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Oct 2006 17:24:56 +0000 (17:24 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Oct 2006 17:24:56 +0000 (17:24 +0000)
        Patch for http://bugs.webkit.org/show_bug.cgi?id=11206
        10 more SVG Objective-C auto-generated bindings

        - Auto-generate DOMSVGFilterElement, DOMSVGFitToViewBox,
          DOMSVGForeignObjectElement, DOMSVGGElement, DOMSVGGradientElement,
          DOMSVGImageElement, DOMSVGLineElement, DOMSVGLinearGradientElement,
          DOMSVGMarkerElement, DOMSVGMaskElement and DOMSVGPaint.

        - Auto-generate the text method for DOMRange.

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        * bindings/objc/DOMExtensions.h:
        * bindings/objc/DOMInternal.h:
        * bindings/objc/DOMPrivate.h:
        * bindings/objc/DOMRGBColor.mm:
        * bindings/objc/DOMSVG.h:
        * bindings/objc/PublicDOMInterfaces.h:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * dom/Range.idl:
        * ksvg2/svg/SVGFilterElement.cpp:
        * ksvg2/svg/SVGFilterElement.h:
        * ksvg2/svg/SVGFilterElement.idl:
        * ksvg2/svg/SVGForeignObjectElement.idl:
        * ksvg2/svg/SVGGElement.idl:
        * ksvg2/svg/SVGGradientElement.idl:
        * ksvg2/svg/SVGImageElement.idl:
        * ksvg2/svg/SVGLineElement.idl:
        * ksvg2/svg/SVGLinearGradientElement.idl:
        * ksvg2/svg/SVGMarkerElement.idl:
        * ksvg2/svg/SVGMaskElement.idl:
        * ksvg2/svg/SVGPaint.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16883 268f45cc-cd09-0410-ab3c-d52691b4dbfc

24 files changed:
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/objc/DOM.mm
WebCore/bindings/objc/DOMExtensions.h
WebCore/bindings/objc/DOMInternal.h
WebCore/bindings/objc/DOMPrivate.h
WebCore/bindings/objc/DOMRGBColor.mm
WebCore/bindings/objc/DOMSVG.h
WebCore/bindings/objc/PublicDOMInterfaces.h
WebCore/bindings/scripts/CodeGeneratorObjC.pm
WebCore/dom/Range.idl
WebCore/ksvg2/svg/SVGFilterElement.cpp
WebCore/ksvg2/svg/SVGFilterElement.h
WebCore/ksvg2/svg/SVGFilterElement.idl
WebCore/ksvg2/svg/SVGForeignObjectElement.idl
WebCore/ksvg2/svg/SVGGElement.idl
WebCore/ksvg2/svg/SVGGradientElement.idl
WebCore/ksvg2/svg/SVGImageElement.idl
WebCore/ksvg2/svg/SVGLineElement.idl
WebCore/ksvg2/svg/SVGLinearGradientElement.idl
WebCore/ksvg2/svg/SVGMarkerElement.idl
WebCore/ksvg2/svg/SVGMaskElement.idl
WebCore/ksvg2/svg/SVGPaint.idl

index 4cef4e6bed954431e8c80763dc08ad51dec8846f..3112b11d8b9256f26b3abd5b3c36d383d1541e01 100644 (file)
@@ -1,3 +1,41 @@
+2006-10-07  Sam Weinig  <sam.weinig@gmail.com>
+
+        Reviewed by Tim H.
+
+        Patch for http://bugs.webkit.org/show_bug.cgi?id=11206
+        10 more SVG Objective-C auto-generated bindings
+
+        - Auto-generate DOMSVGFilterElement, DOMSVGFitToViewBox, 
+          DOMSVGForeignObjectElement, DOMSVGGElement, DOMSVGGradientElement,
+          DOMSVGImageElement, DOMSVGLineElement, DOMSVGLinearGradientElement, 
+          DOMSVGMarkerElement, DOMSVGMaskElement and DOMSVGPaint.
+
+        - Auto-generate the text method for DOMRange.
+
+        * DerivedSources.make:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/objc/DOM.mm:
+        * bindings/objc/DOMExtensions.h:
+        * bindings/objc/DOMInternal.h:
+        * bindings/objc/DOMPrivate.h:
+        * bindings/objc/DOMRGBColor.mm:
+        * bindings/objc/DOMSVG.h:
+        * bindings/objc/PublicDOMInterfaces.h:
+        * bindings/scripts/CodeGeneratorObjC.pm:
+        * dom/Range.idl:
+        * ksvg2/svg/SVGFilterElement.cpp:
+        * ksvg2/svg/SVGFilterElement.h:
+        * ksvg2/svg/SVGFilterElement.idl:
+        * ksvg2/svg/SVGForeignObjectElement.idl:
+        * ksvg2/svg/SVGGElement.idl:
+        * ksvg2/svg/SVGGradientElement.idl:
+        * ksvg2/svg/SVGImageElement.idl:
+        * ksvg2/svg/SVGLineElement.idl:
+        * ksvg2/svg/SVGLinearGradientElement.idl:
+        * ksvg2/svg/SVGMarkerElement.idl:
+        * ksvg2/svg/SVGMaskElement.idl:
+        * ksvg2/svg/SVGPaint.idl:
+
 2006-10-07  Sam Weinig  <sam.weinig@gmail.com>
 
         Reviewed by Tim H.
index 875c21cde0df564182630543c8941625bb30776e..f04647e74fb38855eb987fc743fc08411b7a39ca 100644 (file)
@@ -197,15 +197,26 @@ all : \
     DOMSVGFESpotLightElement.h \
     DOMSVGFETileElement.h \
     DOMSVGFETurbulenceElement.h \
+    DOMSVGFilterElement.h \
     DOMSVGFilterPrimitiveStandardAttributes.h \
+    DOMSVGFitToViewBox.h \
+    DOMSVGForeignObjectElement.h \
+    DOMSVGGElement.h \
+    DOMSVGGradientElement.h \
+    DOMSVGImageElement.h \
     DOMSVGLangSpace.h \
     DOMSVGLength.h \
     DOMSVGLengthList.h \
+    DOMSVGLineElement.h \
+    DOMSVGLinearGradientElement.h \
     DOMSVGLocatable.h \
+    DOMSVGMarkerElement.h \
+    DOMSVGMaskElement.h \
     DOMSVGMatrix.h \
     DOMSVGMetadataElement.h \
     DOMSVGNumber.h \
     DOMSVGNumberList.h \
+    DOMSVGPaint.h \
     DOMSVGPathSeg.h \
     DOMSVGPathSegList.h \
     DOMSVGPoint.h \
index 6a2019449077825ca4a0cd8dedd201ac04b1d57c..beecf0423ffc7c44b5f1986e71392da8cb8ac593 100644 (file)
                85C7F5D10AAFB8D9004014DD /* DOMOverflowEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C7F5CF0AAFB8D9004014DD /* DOMOverflowEvent.mm */; };
                85C7F5E70AAFBAFB004014DD /* DOMWheelEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C7F5E50AAFBAFB004014DD /* DOMWheelEvent.h */; };
                85C7F5E80AAFBAFB004014DD /* DOMWheelEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C7F5E60AAFBAFB004014DD /* DOMWheelEvent.mm */; };
+               85C9A2F00AD7E90300FBFF1E /* DOMSVGFilterElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2E50AD7E90300FBFF1E /* DOMSVGFilterElement.h */; };
+               85C9A2F10AD7E90300FBFF1E /* DOMSVGFilterElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A2E60AD7E90300FBFF1E /* DOMSVGFilterElement.mm */; };
+               85C9A2F20AD7E90300FBFF1E /* DOMSVGFitToViewBox.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2E70AD7E90300FBFF1E /* DOMSVGFitToViewBox.h */; };
+               85C9A2F30AD7E90300FBFF1E /* DOMSVGForeignObjectElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2E80AD7E90300FBFF1E /* DOMSVGForeignObjectElement.h */; };
+               85C9A2F40AD7E90300FBFF1E /* DOMSVGForeignObjectElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A2E90AD7E90300FBFF1E /* DOMSVGForeignObjectElement.mm */; };
+               85C9A2F50AD7E90300FBFF1E /* DOMSVGGElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2EA0AD7E90300FBFF1E /* DOMSVGGElement.h */; };
+               85C9A2F60AD7E90300FBFF1E /* DOMSVGGElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A2EB0AD7E90300FBFF1E /* DOMSVGGElement.mm */; };
+               85C9A2F70AD7E90300FBFF1E /* DOMSVGGradientElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2EC0AD7E90300FBFF1E /* DOMSVGGradientElement.h */; };
+               85C9A2F80AD7E90300FBFF1E /* DOMSVGGradientElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A2ED0AD7E90300FBFF1E /* DOMSVGGradientElement.mm */; };
+               85C9A2F90AD7E90300FBFF1E /* DOMSVGImageElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2EE0AD7E90300FBFF1E /* DOMSVGImageElement.h */; };
+               85C9A2FA0AD7E90300FBFF1E /* DOMSVGImageElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A2EF0AD7E90300FBFF1E /* DOMSVGImageElement.mm */; };
+               85C9A3050AD7E94200FBFF1E /* DOMSVGLinearGradientElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2FB0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.h */; };
+               85C9A3060AD7E94200FBFF1E /* DOMSVGLinearGradientElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A2FC0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.mm */; };
+               85C9A3070AD7E94200FBFF1E /* DOMSVGLineElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2FD0AD7E94200FBFF1E /* DOMSVGLineElement.h */; };
+               85C9A3080AD7E94200FBFF1E /* DOMSVGLineElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A2FE0AD7E94200FBFF1E /* DOMSVGLineElement.mm */; };
+               85C9A3090AD7E94200FBFF1E /* DOMSVGMarkerElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2FF0AD7E94200FBFF1E /* DOMSVGMarkerElement.h */; };
+               85C9A30A0AD7E94300FBFF1E /* DOMSVGMarkerElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A3000AD7E94200FBFF1E /* DOMSVGMarkerElement.mm */; };
+               85C9A30B0AD7E94300FBFF1E /* DOMSVGMaskElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3010AD7E94200FBFF1E /* DOMSVGMaskElement.h */; };
+               85C9A30C0AD7E94300FBFF1E /* DOMSVGMaskElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A3020AD7E94200FBFF1E /* DOMSVGMaskElement.mm */; };
+               85C9A30D0AD7E94300FBFF1E /* DOMSVGPaint.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3030AD7E94200FBFF1E /* DOMSVGPaint.h */; };
+               85C9A30E0AD7E94300FBFF1E /* DOMSVGPaint.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C9A3040AD7E94200FBFF1E /* DOMSVGPaint.mm */; };
+               85C9A3190AD7E9A400FBFF1E /* DOMSVGFilterElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A30F0AD7E9A400FBFF1E /* DOMSVGFilterElementInternal.h */; };
+               85C9A31A0AD7E9A400FBFF1E /* DOMSVGForeignObjectElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3100AD7E9A400FBFF1E /* DOMSVGForeignObjectElementInternal.h */; };
+               85C9A31B0AD7E9A400FBFF1E /* DOMSVGGElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3110AD7E9A400FBFF1E /* DOMSVGGElementInternal.h */; };
+               85C9A31C0AD7E9A400FBFF1E /* DOMSVGGradientElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3120AD7E9A400FBFF1E /* DOMSVGGradientElementInternal.h */; };
+               85C9A31D0AD7E9A400FBFF1E /* DOMSVGImageElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3130AD7E9A400FBFF1E /* DOMSVGImageElementInternal.h */; };
+               85C9A31E0AD7E9A400FBFF1E /* DOMSVGLinearGradientElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3140AD7E9A400FBFF1E /* DOMSVGLinearGradientElementInternal.h */; };
+               85C9A31F0AD7E9A500FBFF1E /* DOMSVGLineElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3150AD7E9A400FBFF1E /* DOMSVGLineElementInternal.h */; };
+               85C9A3200AD7E9A500FBFF1E /* DOMSVGMarkerElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3160AD7E9A400FBFF1E /* DOMSVGMarkerElementInternal.h */; };
+               85C9A3210AD7E9A500FBFF1E /* DOMSVGMaskElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3170AD7E9A400FBFF1E /* DOMSVGMaskElementInternal.h */; };
+               85C9A3220AD7E9A500FBFF1E /* DOMSVGPaintInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3180AD7E9A400FBFF1E /* DOMSVGPaintInternal.h */; };
                85CA96B80A9621A600690CCF /* DOMEntity.h in Headers */ = {isa = PBXBuildFile; fileRef = 85CA96B60A9621A600690CCF /* DOMEntity.h */; settings = {ATTRIBUTES = (); }; };
                85CA96B90A9621A600690CCF /* DOMEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85CA96B70A9621A600690CCF /* DOMEntity.mm */; };
                85CA96EA0A9624E900690CCF /* DOMNotation.h in Headers */ = {isa = PBXBuildFile; fileRef = 85CA96E80A9624E900690CCF /* DOMNotation.h */; settings = {ATTRIBUTES = (); }; };
                85C7F5CF0AAFB8D9004014DD /* DOMOverflowEvent.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMOverflowEvent.mm; sourceTree = "<group>"; };
                85C7F5E50AAFBAFB004014DD /* DOMWheelEvent.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMWheelEvent.h; sourceTree = "<group>"; };
                85C7F5E60AAFBAFB004014DD /* DOMWheelEvent.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMWheelEvent.mm; sourceTree = "<group>"; };
+               85C9A2E50AD7E90300FBFF1E /* DOMSVGFilterElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGFilterElement.h; sourceTree = "<group>"; };
+               85C9A2E60AD7E90300FBFF1E /* DOMSVGFilterElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGFilterElement.mm; sourceTree = "<group>"; };
+               85C9A2E70AD7E90300FBFF1E /* DOMSVGFitToViewBox.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGFitToViewBox.h; sourceTree = "<group>"; };
+               85C9A2E80AD7E90300FBFF1E /* DOMSVGForeignObjectElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGForeignObjectElement.h; sourceTree = "<group>"; };
+               85C9A2E90AD7E90300FBFF1E /* DOMSVGForeignObjectElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGForeignObjectElement.mm; sourceTree = "<group>"; };
+               85C9A2EA0AD7E90300FBFF1E /* DOMSVGGElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGGElement.h; sourceTree = "<group>"; };
+               85C9A2EB0AD7E90300FBFF1E /* DOMSVGGElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGGElement.mm; sourceTree = "<group>"; };
+               85C9A2EC0AD7E90300FBFF1E /* DOMSVGGradientElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGGradientElement.h; sourceTree = "<group>"; };
+               85C9A2ED0AD7E90300FBFF1E /* DOMSVGGradientElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGGradientElement.mm; sourceTree = "<group>"; };
+               85C9A2EE0AD7E90300FBFF1E /* DOMSVGImageElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGImageElement.h; sourceTree = "<group>"; };
+               85C9A2EF0AD7E90300FBFF1E /* DOMSVGImageElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGImageElement.mm; sourceTree = "<group>"; };
+               85C9A2FB0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLinearGradientElement.h; sourceTree = "<group>"; };
+               85C9A2FC0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGLinearGradientElement.mm; sourceTree = "<group>"; };
+               85C9A2FD0AD7E94200FBFF1E /* DOMSVGLineElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLineElement.h; sourceTree = "<group>"; };
+               85C9A2FE0AD7E94200FBFF1E /* DOMSVGLineElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGLineElement.mm; sourceTree = "<group>"; };
+               85C9A2FF0AD7E94200FBFF1E /* DOMSVGMarkerElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGMarkerElement.h; sourceTree = "<group>"; };
+               85C9A3000AD7E94200FBFF1E /* DOMSVGMarkerElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGMarkerElement.mm; sourceTree = "<group>"; };
+               85C9A3010AD7E94200FBFF1E /* DOMSVGMaskElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGMaskElement.h; sourceTree = "<group>"; };
+               85C9A3020AD7E94200FBFF1E /* DOMSVGMaskElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGMaskElement.mm; sourceTree = "<group>"; };
+               85C9A3030AD7E94200FBFF1E /* DOMSVGPaint.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGPaint.h; sourceTree = "<group>"; };
+               85C9A3040AD7E94200FBFF1E /* DOMSVGPaint.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGPaint.mm; sourceTree = "<group>"; };
+               85C9A30F0AD7E9A400FBFF1E /* DOMSVGFilterElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGFilterElementInternal.h; sourceTree = "<group>"; };
+               85C9A3100AD7E9A400FBFF1E /* DOMSVGForeignObjectElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGForeignObjectElementInternal.h; sourceTree = "<group>"; };
+               85C9A3110AD7E9A400FBFF1E /* DOMSVGGElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGGElementInternal.h; sourceTree = "<group>"; };
+               85C9A3120AD7E9A400FBFF1E /* DOMSVGGradientElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGGradientElementInternal.h; sourceTree = "<group>"; };
+               85C9A3130AD7E9A400FBFF1E /* DOMSVGImageElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGImageElementInternal.h; sourceTree = "<group>"; };
+               85C9A3140AD7E9A400FBFF1E /* DOMSVGLinearGradientElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLinearGradientElementInternal.h; sourceTree = "<group>"; };
+               85C9A3150AD7E9A400FBFF1E /* DOMSVGLineElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLineElementInternal.h; sourceTree = "<group>"; };
+               85C9A3160AD7E9A400FBFF1E /* DOMSVGMarkerElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGMarkerElementInternal.h; sourceTree = "<group>"; };
+               85C9A3170AD7E9A400FBFF1E /* DOMSVGMaskElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGMaskElementInternal.h; sourceTree = "<group>"; };
+               85C9A3180AD7E9A400FBFF1E /* DOMSVGPaintInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGPaintInternal.h; sourceTree = "<group>"; };
                85CA96B60A9621A600690CCF /* DOMEntity.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMEntity.h; sourceTree = "<group>"; };
                85CA96B70A9621A600690CCF /* DOMEntity.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMEntity.mm; sourceTree = "<group>"; };
                85CA96E80A9624E900690CCF /* DOMNotation.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNotation.h; sourceTree = "<group>"; };
                                8502AB3D0AD438C000378540 /* DOMSVGFETileElement.mm */,
                                8502AB3E0AD438C000378540 /* DOMSVGFETurbulenceElement.h */,
                                8502AB3F0AD438C000378540 /* DOMSVGFETurbulenceElement.mm */,
+                               85C9A2E50AD7E90300FBFF1E /* DOMSVGFilterElement.h */,
+                               85C9A2E60AD7E90300FBFF1E /* DOMSVGFilterElement.mm */,
                                850D06670AD43A9A0063B27A /* DOMSVGFilterPrimitiveStandardAttributes.h */,
+                               85C9A2E70AD7E90300FBFF1E /* DOMSVGFitToViewBox.h */,
+                               85C9A2E80AD7E90300FBFF1E /* DOMSVGForeignObjectElement.h */,
+                               85C9A2E90AD7E90300FBFF1E /* DOMSVGForeignObjectElement.mm */,
+                               85C9A2EA0AD7E90300FBFF1E /* DOMSVGGElement.h */,
+                               85C9A2EB0AD7E90300FBFF1E /* DOMSVGGElement.mm */,
+                               85C9A2EC0AD7E90300FBFF1E /* DOMSVGGradientElement.h */,
+                               85C9A2ED0AD7E90300FBFF1E /* DOMSVGGradientElement.mm */,
+                               85C9A2EE0AD7E90300FBFF1E /* DOMSVGImageElement.h */,
+                               85C9A2EF0AD7E90300FBFF1E /* DOMSVGImageElement.mm */,
                                85D79AD00ACA17EB00F02FC5 /* DOMSVGLangSpace.h */,
                                854163670AC7180B0001E01B /* DOMSVGLength.h */,
                                854163660AC7180B0001E01B /* DOMSVGLength.mm */,
                                854163650AC7180B0001E01B /* DOMSVGLengthList.h */,
                                854163640AC7180B0001E01B /* DOMSVGLengthList.mm */,
+                               85C9A2FB0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.h */,
+                               85C9A2FC0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.mm */,
+                               85C9A2FD0AD7E94200FBFF1E /* DOMSVGLineElement.h */,
+                               85C9A2FE0AD7E94200FBFF1E /* DOMSVGLineElement.mm */,
                                85D79AD10ACA17EB00F02FC5 /* DOMSVGLocatable.h */,
+                               85C9A2FF0AD7E94200FBFF1E /* DOMSVGMarkerElement.h */,
+                               85C9A3000AD7E94200FBFF1E /* DOMSVGMarkerElement.mm */,
+                               85C9A3010AD7E94200FBFF1E /* DOMSVGMaskElement.h */,
+                               85C9A3020AD7E94200FBFF1E /* DOMSVGMaskElement.mm */,
                                854163630AC7180B0001E01B /* DOMSVGMatrix.h */,
                                854163620AC7180B0001E01B /* DOMSVGMatrix.mm */,
                                8559F1100AC9BE9900A3439C /* DOMSVGMetadataElement.h */,
                                854074F90AD6C22E00620C57 /* DOMSVGNumber.h */,
                                85C2397F0AD5907D003533E7 /* DOMSVGNumberList.h */,
                                85C239800AD5907D003533E7 /* DOMSVGNumberList.mm */,
+                               85C9A3030AD7E94200FBFF1E /* DOMSVGPaint.h */,
+                               85C9A3040AD7E94200FBFF1E /* DOMSVGPaint.mm */,
                                854163610AC7180B0001E01B /* DOMSVGPathSeg.h */,
                                854163600AC7180B0001E01B /* DOMSVGPathSeg.mm */,
                                8541635F0AC7180B0001E01B /* DOMSVGPathSegList.h */,
                                8502AB8B0AD4394E00378540 /* DOMSVGFESpotLightElementInternal.h */,
                                8502AB8C0AD4394E00378540 /* DOMSVGFETileElementInternal.h */,
                                8502AB8D0AD4394E00378540 /* DOMSVGFETurbulenceElementInternal.h */,
+                               85C9A30F0AD7E9A400FBFF1E /* DOMSVGFilterElementInternal.h */,
+                               85C9A3100AD7E9A400FBFF1E /* DOMSVGForeignObjectElementInternal.h */,
+                               85C9A3110AD7E9A400FBFF1E /* DOMSVGGElementInternal.h */,
+                               85C9A3120AD7E9A400FBFF1E /* DOMSVGGradientElementInternal.h */,
+                               85C9A3130AD7E9A400FBFF1E /* DOMSVGImageElementInternal.h */,
                                854163950AC718680001E01B /* DOMSVGLengthInternal.h */,
                                854163940AC718680001E01B /* DOMSVGLengthListInternal.h */,
+                               85C9A3140AD7E9A400FBFF1E /* DOMSVGLinearGradientElementInternal.h */,
+                               85C9A3150AD7E9A400FBFF1E /* DOMSVGLineElementInternal.h */,
+                               85C9A3160AD7E9A400FBFF1E /* DOMSVGMarkerElementInternal.h */,
+                               85C9A3170AD7E9A400FBFF1E /* DOMSVGMaskElementInternal.h */,
                                854163930AC718680001E01B /* DOMSVGMatrixInternal.h */,
                                8559F11E0AC9BF4100A3439C /* DOMSVGMetadataElementInternal.h */,
                                85C239830AD59098003533E7 /* DOMSVGNumberListInternal.h */,
+                               85C9A3180AD7E9A400FBFF1E /* DOMSVGPaintInternal.h */,
                                854163920AC718680001E01B /* DOMSVGPathSegInternal.h */,
                                854163910AC718680001E01B /* DOMSVGPathSegListInternal.h */,
                                85ACEF170ACDCD1A001214FF /* DOMSVGPreserveAspectRatioInternal.h */,
                                8538F05D0AD722F1006A81D1 /* DOMRangeInternal.h in Headers */,
                                8538F0850AD72CB6006A81D1 /* DOMRanges.h in Headers */,
                                85C320790AD7401500BC15C4 /* DOMRangePrivate.h in Headers */,
+                               85C9A2F00AD7E90300FBFF1E /* DOMSVGFilterElement.h in Headers */,
+                               85C9A2F20AD7E90300FBFF1E /* DOMSVGFitToViewBox.h in Headers */,
+                               85C9A2F30AD7E90300FBFF1E /* DOMSVGForeignObjectElement.h in Headers */,
+                               85C9A2F50AD7E90300FBFF1E /* DOMSVGGElement.h in Headers */,
+                               85C9A2F70AD7E90300FBFF1E /* DOMSVGGradientElement.h in Headers */,
+                               85C9A2F90AD7E90300FBFF1E /* DOMSVGImageElement.h in Headers */,
+                               85C9A3050AD7E94200FBFF1E /* DOMSVGLinearGradientElement.h in Headers */,
+                               85C9A3070AD7E94200FBFF1E /* DOMSVGLineElement.h in Headers */,
+                               85C9A3090AD7E94200FBFF1E /* DOMSVGMarkerElement.h in Headers */,
+                               85C9A30B0AD7E94300FBFF1E /* DOMSVGMaskElement.h in Headers */,
+                               85C9A30D0AD7E94300FBFF1E /* DOMSVGPaint.h in Headers */,
+                               85C9A3190AD7E9A400FBFF1E /* DOMSVGFilterElementInternal.h in Headers */,
+                               85C9A31A0AD7E9A400FBFF1E /* DOMSVGForeignObjectElementInternal.h in Headers */,
+                               85C9A31B0AD7E9A400FBFF1E /* DOMSVGGElementInternal.h in Headers */,
+                               85C9A31C0AD7E9A400FBFF1E /* DOMSVGGradientElementInternal.h in Headers */,
+                               85C9A31D0AD7E9A400FBFF1E /* DOMSVGImageElementInternal.h in Headers */,
+                               85C9A31E0AD7E9A400FBFF1E /* DOMSVGLinearGradientElementInternal.h in Headers */,
+                               85C9A31F0AD7E9A500FBFF1E /* DOMSVGLineElementInternal.h in Headers */,
+                               85C9A3200AD7E9A500FBFF1E /* DOMSVGMarkerElementInternal.h in Headers */,
+                               85C9A3210AD7E9A500FBFF1E /* DOMSVGMaskElementInternal.h in Headers */,
+                               85C9A3220AD7E9A500FBFF1E /* DOMSVGPaintInternal.h in Headers */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                                8540756C0AD6CBF900620C57 /* DOMHTMLOptionElement.mm in Sources */,
                                8538F01A0AD718D8006A81D1 /* DOMAbstractView.mm in Sources */,
                                8538F05C0AD722F1006A81D1 /* DOMRange.mm in Sources */,
+                               85C9A2F10AD7E90300FBFF1E /* DOMSVGFilterElement.mm in Sources */,
+                               85C9A2F40AD7E90300FBFF1E /* DOMSVGForeignObjectElement.mm in Sources */,
+                               85C9A2F60AD7E90300FBFF1E /* DOMSVGGElement.mm in Sources */,
+                               85C9A2F80AD7E90300FBFF1E /* DOMSVGGradientElement.mm in Sources */,
+                               85C9A2FA0AD7E90300FBFF1E /* DOMSVGImageElement.mm in Sources */,
+                               85C9A3060AD7E94200FBFF1E /* DOMSVGLinearGradientElement.mm in Sources */,
+                               85C9A3080AD7E94200FBFF1E /* DOMSVGLineElement.mm in Sources */,
+                               85C9A30A0AD7E94300FBFF1E /* DOMSVGMarkerElement.mm in Sources */,
+                               85C9A30C0AD7E94300FBFF1E /* DOMSVGMaskElement.mm in Sources */,
+                               85C9A30E0AD7E94300FBFF1E /* DOMSVGPaint.mm in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
index 7fa23f54c2ca2c8bc966f4b2b353408eb9aaebea..a538b1d81a002a1cb2fea6fe0ddf779b1ee115b2 100644 (file)
@@ -432,7 +432,7 @@ static Class elementClass(const WebCore::AtomicString& tagName)
 //------------------------------------------------------------------------------------------
 // DOMRange
 
-@implementation DOMRange (DOMRangeExtensions)
+@implementation DOMRange (WebPrivate)
 
 - (NSString *)description
 {
@@ -442,15 +442,8 @@ static Class elementClass(const WebCore::AtomicString& tagName)
                [self startContainer], [self startOffset], [self endContainer], [self endOffset]];
 }
 
-- (NSString *)text
-{
-    return [self _range]->text();
-}
-
-@end
-
-@implementation DOMRange (WebPrivate)
-
+// FIXME: this should be removed as soon as all internal Apple uses of it have been replaced with
+// calls to the public method - (NSString *)text.
 - (NSString *)_text
 {
     return [self text];
index d2484922956c58c51a4d9f295e9de1afdcc6619c..edec9293c78a69bb23c7256e186fa5ec4832eb06 100644 (file)
@@ -70,7 +70,3 @@
 @interface DOMHTMLObjectElement (DOMHTMLObjectElementExtensions)
 - (NSURL *)absoluteImageURL;
 @end
-
-@interface DOMRange (DOMRangeExtensions)
-- (NSString *)text;
-@end
index 236f98b97ccfe28d9cb7ef950b50c3e7b7001c3d..5f809e3d60d26d792905f10a352fc576ebb60ef7 100644 (file)
 #import "DOMSVGFESpotLightElementInternal.h"
 #import "DOMSVGFETileElementInternal.h"
 #import "DOMSVGFETurbulenceElementInternal.h"
+#import "DOMSVGFilterElement.h"
+#import "DOMSVGForeignObjectElement.h"
+#import "DOMSVGGElement.h"
+#import "DOMSVGGradientElement.h"
+#import "DOMSVGImageElement.h"
 #import "DOMSVGLengthInternal.h"
 #import "DOMSVGLengthListInternal.h"
+#import "DOMSVGLineElement.h"
+#import "DOMSVGLinearGradientElement.h"
+#import "DOMSVGMarkerElement.h"
+#import "DOMSVGMaskElement.h"
 #import "DOMSVGMatrixInternal.h"
 #import "DOMSVGMetadataElementInternal.h"
 #import "DOMSVGNumberListInternal.h"
+#import "DOMSVGPaint.h"
 #import "DOMSVGPathSegInternal.h"
 #import "DOMSVGPathSegListInternal.h"
 #import "DOMSVGPreserveAspectRatioInternal.h"
index 4f619db44ac4def50e436a0988361e017a0967e5..460024d10b2d318ee148bbc1364cb36e30f98981 100644 (file)
 #import <WebCore/DOMUIEventPrivate.h>
 #import <WebCore/DOMWheelEventPrivate.h>
 
+// FIXME: this should be removed as soon as all internal Apple uses of it have been replaced with
+// calls to the public method - (NSColor *)color.
 @interface DOMRGBColor (WebPrivate)
 - (NSColor *)_color;
 @end
 
+// FIXME: this should be removed as soon as all internal Apple uses of it have been replaced with
+// calls to the public method - (NSString *)text.
 @interface DOMRange (WebPrivate)
-// uses same algorithm as innerText
 - (NSString *)_text;
 @end
 
index 99aa6e3b018442d1535fe73b4d857aeb6611442d..12dc5848250997020559b039d29831f302abc54a 100644 (file)
@@ -112,6 +112,8 @@ void removeWrapperForRGB(WebCore::RGBA32 value)
 
 @implementation DOMRGBColor (WebPrivate)
 
+// FIXME: this should be removed as soon as all internal Apple uses of it have been replaced with
+// calls to the public method - (NSColor *)color.
 - (NSColor *)_color
 {
     return [self color];
index ee5fdaa50f59f5f9625a1391a4699ddbfc63b5f5..f0af5fdcdd1f20b65473852fc62d4363d35e709d 100644 (file)
 #import <WebCore/DOMSVGFESpotLightElement.h>
 #import <WebCore/DOMSVGFETileElement.h>
 #import <WebCore/DOMSVGFETurbulenceElement.h>
+#import <WebCore/DOMSVGFilterElement.h>
 #import <WebCore/DOMSVGFilterPrimitiveStandardAttributes.h>
+#import <WebCore/DOMSVGFitToViewBox.h>
+#import <WebCore/DOMSVGForeignObjectElement.h>
+#import <WebCore/DOMSVGGElement.h>
+#import <WebCore/DOMSVGGradientElement.h>
+#import <WebCore/DOMSVGImageElement.h>
 #import <WebCore/DOMSVGLangSpace.h>
 #import <WebCore/DOMSVGLength.h>
 #import <WebCore/DOMSVGLengthList.h>
+#import <WebCore/DOMSVGLineElement.h>
+#import <WebCore/DOMSVGLinearGradientElement.h>
 #import <WebCore/DOMSVGLocatable.h>
+#import <WebCore/DOMSVGMarkerElement.h>
+#import <WebCore/DOMSVGMaskElement.h>
 #import <WebCore/DOMSVGMatrix.h>
 #import <WebCore/DOMSVGMetadataElement.h>
 #import <WebCore/DOMSVGNumber.h>
 #import <WebCore/DOMSVGNumberList.h>
+#import <WebCore/DOMSVGPaint.h>
 #import <WebCore/DOMSVGPathSeg.h>
 #import <WebCore/DOMSVGPathSegList.h>
 #import <WebCore/DOMSVGPoint.h>
index 468bbe27bd724715b65679d576b744333b813e78..ec7d2f3d712ff3671c06dd29d78b5ea06cecff99 100644 (file)
 @property(readonly) int endOffset;
 @property(readonly) BOOL collapsed;
 @property(readonly) DOMNode *commonAncestorContainer;
+@property(readonly) NSString *text;
 - (void)setStart:(DOMNode *)refNode offset:(int)offset;
 - (void)setStart:(DOMNode *)refNode :(int)offset;
 - (void)setEnd:(DOMNode *)refNode offset:(int)offset;
index 4f46b3314cb630c8bccafab5799758f9ceef497d..8d084cdcade02a5ea05f35e64d903576b007096b 100644 (file)
@@ -328,6 +328,7 @@ sub GetBaseClass
 
     return $parent if $parent eq "Object" or $parent eq "CSSValue" or $parent eq "CSSRule" or $parent eq "StyleSheet";
     return "Event" if $parent eq "Event" or $parent eq "UIEvent";
+    return "CSSValue" if $parent eq "SVGColor";
     return "Node";
 }
 
@@ -354,7 +355,7 @@ sub GetObjCType
 
     return "id <$name>" if IsProtocolType($type);
     return $name if $codeGenerator->IsPrimitiveType($type) or $type eq "DOMTimeStamp";
-    return "unsigned short" if $type eq "CompareHow";
+    return "unsigned short" if $type eq "CompareHow" or $type eq "SVGPaintType";
     return "$name *";
 }
 
@@ -362,7 +363,7 @@ sub GetObjCTypeMaker
 {
     my $type = $codeGenerator->StripModule(shift);
 
-    return "" if $codeGenerator->IsPrimitiveType($type) or IsStringType($type) or $type eq "URL" or $type eq "DOMTimeStamp";
+    return "" if $codeGenerator->IsPrimitiveType($type) or IsStringType($type) or $type eq "URL" or $type eq "DOMTimeStamp" or $type eq "SVGPaintType";
     return "_RGBColorWithRGB" if $type eq "RGBColor";
 
     my $typeMaker = "";
@@ -414,6 +415,7 @@ sub GetObjCTypeGetter
     return $argName . "EventTarget" if $type eq "EventTarget";
     return "[nativeResolver $typeGetterMethodName]" if $type eq "XPathNSResolver";
     return "static_cast<WebCore::Range::CompareHow>($argName)" if $type eq "CompareHow";
+    return "static_cast<WebCore::SVGPaint::SVGPaintType>($argName)" if $type eq "SVGPaintType";
     return "[$argName $typeGetterMethodName]";
 }
 
@@ -422,7 +424,7 @@ sub AddForwardDeclarationsForType
     my $type = $codeGenerator->StripModule(shift);
     my $public = shift;
 
-    return if $codeGenerator->IsPrimitiveType($type) or IsStringType($type) or $type eq "URL" or $type eq "DOMTimeStamp" or $type eq "CompareHow";
+    return if $codeGenerator->IsPrimitiveType($type) or IsStringType($type) or $type eq "URL" or $type eq "DOMTimeStamp" or $type eq "CompareHow" or $type eq "SVGPaintType";
 
     if (IsProtocolType($type)) {
         $type = "DOM" . $type;
@@ -452,7 +454,7 @@ sub AddIncludesForType
 {
     my $type = $codeGenerator->StripModule(shift);
 
-    return if $codeGenerator->IsPrimitiveType($type) or $type eq "URL" or $type eq "Color" or $type eq "DOMTimeStamp" or $type eq "CompareHow";
+    return if $codeGenerator->IsPrimitiveType($type) or $type eq "URL" or $type eq "Color" or $type eq "DOMTimeStamp" or $type eq "CompareHow" or $type eq "SVGPaintType";
 
     if (IsStringType($type)) {
         $implIncludes{"PlatformString.h"} = 1;
index 60f51bdd1053bb66417cb1ba9b711f072eb9f8d4..89ee542038d44922b1fd75ddaa1acbcfac704820 100644 (file)
@@ -111,6 +111,10 @@ module ranges {
         boolean isPointInRange(in Node refNode, 
                                in long offset)
             raises(RangeException, DOMException);
+
+#if !defined(LANGUAGE_JAVASCRIPT)
+        readonly attribute DOMString text;
+#endif
     };
 
 }
index 037485ffc0361eebd1bc40beb10df625f18824fe..38e38787eedba628eaf2a6095ac5a67d386dc1e2 100644 (file)
@@ -1,6 +1,7 @@
 /*
     Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
-                  2004, 2005 Rob Buis <buis@kde.org>
+    Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
+    Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
 
     This file is part of the KDE project
 
@@ -72,8 +73,8 @@ ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, SVGLength*, Length, length, X, x
 ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, SVGLength*, Length, length, Y, y, SVGNames::yAttr.localName(), m_y.get())
 ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, SVGLength*, Length, length, Width, width, SVGNames::widthAttr.localName(), m_width.get())
 ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, SVGLength*, Length, length, Height, height, SVGNames::heightAttr.localName(), m_height.get())
-ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, int, Integer, integer, FilterResX, filterResX, "filterResX", m_filterResX)
-ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, int, Integer, integer, FilterResY, filterResY, "filterResY", m_filterResY)
+ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, long, Integer, integer, FilterResX, filterResX, "filterResX", m_filterResX)
+ANIMATED_PROPERTY_DEFINITIONS(SVGFilterElement, long, Integer, integer, FilterResY, filterResY, "filterResY", m_filterResY)
 
 void SVGFilterElement::setFilterRes(unsigned long, unsigned long) const
 {
index f70855a8a4a2856f6c314003d9f5bb0db1e803bc..8dd5986e678df7caba9a9ce6dd7af118e36b22ec 100644 (file)
@@ -1,6 +1,7 @@
 /*
     Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
-                  2004, 2005 Rob Buis <buis@kde.org>
+    Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
+    Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
 
     This file is part of the KDE project
 
@@ -63,8 +64,8 @@ namespace WebCore {
         ANIMATED_PROPERTY_DECLARATIONS(SVGFilterElement, SVGLength*, RefPtr<SVGLength>, Y, y)
         ANIMATED_PROPERTY_DECLARATIONS(SVGFilterElement, SVGLength*, RefPtr<SVGLength>, Width, width)
         ANIMATED_PROPERTY_DECLARATIONS(SVGFilterElement, SVGLength*, RefPtr<SVGLength>, Height, height)
-        ANIMATED_PROPERTY_DECLARATIONS(SVGFilterElement, int, int, FilterResX, filterResX)
-        ANIMATED_PROPERTY_DECLARATIONS(SVGFilterElement, int, int, FilterResY, filterResY)
+        ANIMATED_PROPERTY_DECLARATIONS(SVGFilterElement, long, long, FilterResX, filterResX)
+        ANIMATED_PROPERTY_DECLARATIONS(SVGFilterElement, long, long, FilterResY, filterResY)
 
         KCanvasFilter *m_filter;
     };
index d3a0d708edfe9214ea8d1876b42efa628c276db2..18a18b792d4986791d833927c0c837c3b13f0f0a 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG] SVGFilterElement : 
-                SVGElement,
-                SVGURIReference,
-                SVGLangSpace,
-                SVGExternalResourcesRequired,
-                SVGStylable {
-            //    SVGUnitTypes { 
-    readonly attribute SVGAnimatedEnumeration filterUnits;
-    readonly attribute SVGAnimatedEnumeration primitiveUnits;
-    readonly attribute SVGAnimatedLength      x;
-    readonly attribute SVGAnimatedLength      y;
-    readonly attribute SVGAnimatedLength      width;
-    readonly attribute SVGAnimatedLength      height;
-    readonly attribute SVGAnimatedInteger    filterResX;
-    readonly attribute SVGAnimatedInteger    filterResY;
-    void setFilterRes ( in unsigned long filterResX, in unsigned long filterResY );
-  };
-};
+module svg {
+
+    interface [Conditional=SVG] SVGFilterElement : SVGElement,
+                                                   SVGURIReference,
+                                                   SVGLangSpace,
+                                                   SVGExternalResourcesRequired,
+                                                   SVGStylable
+                                                /* SVGUnitTypes */ {  
+        readonly attribute SVGAnimatedEnumeration filterUnits;
+        readonly attribute SVGAnimatedEnumeration primitiveUnits;
+        readonly attribute SVGAnimatedLength      x;
+        readonly attribute SVGAnimatedLength      y;
+        readonly attribute SVGAnimatedLength      width;
+        readonly attribute SVGAnimatedLength      height;
+        readonly attribute SVGAnimatedInteger     filterResX;
+        readonly attribute SVGAnimatedInteger     filterResY;
+
+        void setFilterRes(in unsigned long filterResX, in unsigned long filterResY);
+    };
+
+}
index 3edcfcd22b08132c39200996aeede6ec770b02fb..2f1af2c5f9727568e1326c819c2523f7f63c9e16 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-    interface [Conditional=SVG] SVGForeignObjectElement :
-                                SVGElement,
-                                SVGTests,
-                                SVGLangSpace,
-                                SVGExternalResourcesRequired,
-                                SVGStylable,
-                                SVGTransformable {
+module svg {
+
+    interface [Conditional=SVG] SVGForeignObjectElement : SVGElement,
+                                                          SVGTests,
+                                                          SVGLangSpace,
+                                                          SVGExternalResourcesRequired,
+                                                          SVGStylable,
+                                                          SVGTransformable {
         readonly attribute SVGAnimatedLength x;
         readonly attribute SVGAnimatedLength y;
         readonly attribute SVGAnimatedLength width;
         readonly attribute SVGAnimatedLength height;
     };
-};
+
+}
index 25e64a88aca5cd0b2ebd30e8e4ddc8e496f50e82..d03466d2f524d7766f44d032336ecf4880efb68a 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG] SVGGElement : 
-                SVGElement,
-                SVGTests,
-                SVGLangSpace,
-                SVGExternalResourcesRequired,
-                SVGStylable,
-                SVGTransformable {};
-};
+module svg {
+
+    interface [Conditional=SVG] SVGGElement : SVGElement,
+                                              SVGTests,
+                                              SVGLangSpace,
+                                              SVGExternalResourcesRequired,
+                                              SVGStylable,
+                                              SVGTransformable {
+    };
+
+}
index ae3601bc8b38fbd86cd3758731f5db53be7166a0..7485780a09105d2f6a5ce64a54ae12868994e35a 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG] SVGGradientElement : 
-                SVGElement,
-                SVGURIReference,
-                SVGExternalResourcesRequired,
-                SVGStylable {
-                //SVGUnitTypes { 
-    // Spread Method Types
-    const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0;
-    const unsigned short SVG_SPREADMETHOD_PAD     = 1;
-    const unsigned short SVG_SPREADMETHOD_REFLECT = 2;
-    const unsigned short SVG_SPREADMETHOD_REPEAT  = 3;
-    readonly attribute SVGAnimatedEnumeration   gradientUnits;
-    readonly attribute SVGAnimatedTransformList gradientTransform;
-    readonly attribute SVGAnimatedEnumeration   spreadMethod;
-  };
-};
+module svg {
+
+    interface [Conditional=SVG] SVGGradientElement : SVGElement,
+                                                     SVGURIReference,
+                                                     SVGExternalResourcesRequired,
+                                                     SVGStylable
+                                                  /* SVGUnitTypes */ {
+        // Spread Method Types
+        const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0;
+        const unsigned short SVG_SPREADMETHOD_PAD     = 1;
+        const unsigned short SVG_SPREADMETHOD_REFLECT = 2;
+        const unsigned short SVG_SPREADMETHOD_REPEAT  = 3;
+
+        readonly attribute SVGAnimatedEnumeration   gradientUnits;
+        readonly attribute SVGAnimatedTransformList gradientTransform;
+        readonly attribute SVGAnimatedEnumeration   spreadMethod;
+    };
+
+}
index 2f5366037314d93ccbcbefe86843a98b12ccc9bc..8e2e14048a1e8e2e70ddbb9d329bd07255db8753 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG] SVGImageElement : 
-                SVGElement,
-                SVGURIReference,
-                SVGTests,
-                SVGLangSpace,
-                SVGExternalResourcesRequired,
-                SVGStylable,
-                SVGTransformable {
-    readonly attribute SVGAnimatedLength x;
-    readonly attribute SVGAnimatedLength y;
-    readonly attribute SVGAnimatedLength width;
-    readonly attribute SVGAnimatedLength height;
-    readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
-  };
-};
+module svg {
+
+    interface [Conditional=SVG] SVGImageElement : SVGElement,
+                                                  SVGURIReference,
+                                                  SVGTests,
+                                                  SVGLangSpace,
+                                                  SVGExternalResourcesRequired,
+                                                  SVGStylable,
+                                                  SVGTransformable {
+        readonly attribute SVGAnimatedLength x;
+        readonly attribute SVGAnimatedLength y;
+        readonly attribute SVGAnimatedLength width;
+        readonly attribute SVGAnimatedLength height;
+        readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
+    };
+
+}
index 44330862cc386bacc12b83df97cf99402b9b79bf..28ed228b8747c167ba14d7043d5b550dc6cb55de 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG] SVGLineElement : 
-                SVGElement,
-                SVGTests,
-                SVGLangSpace,
-                SVGExternalResourcesRequired,
-                SVGStylable,
-                SVGTransformable {
-    readonly attribute SVGAnimatedLength x1;
-    readonly attribute SVGAnimatedLength y1;
-    readonly attribute SVGAnimatedLength x2;
-    readonly attribute SVGAnimatedLength y2;
-  };
-};
+module svg {
+
+    interface [Conditional=SVG] SVGLineElement : SVGElement,
+                                                 SVGTests,
+                                                 SVGLangSpace,
+                                                 SVGExternalResourcesRequired,
+                                                 SVGStylable,
+                                                 SVGTransformable {
+        readonly attribute SVGAnimatedLength x1;
+        readonly attribute SVGAnimatedLength y1;
+        readonly attribute SVGAnimatedLength x2;
+        readonly attribute SVGAnimatedLength y2;
+    };
+
+}
index a2ddf9aa9cb4258f550bf1b1dc13920eb9d2d575..eb3eac1b0f5d3497ab8104f52e9b21177abc0b3f 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG] SVGLinearGradientElement : SVGGradientElement { 
-    readonly attribute SVGAnimatedLength x1;
-    readonly attribute SVGAnimatedLength y1;
-    readonly attribute SVGAnimatedLength x2;
-    readonly attribute SVGAnimatedLength y2;
-  };
-};
+module svg {
+
+    interface [Conditional=SVG] SVGLinearGradientElement : SVGGradientElement {
+        readonly attribute SVGAnimatedLength x1;
+        readonly attribute SVGAnimatedLength y1;
+        readonly attribute SVGAnimatedLength x2;
+        readonly attribute SVGAnimatedLength y2;
+    };
+
+}
index fc7f91f35b71d9cffdb1dbbb2b663a13bbcae325..116ec52c86ce7b3217a5f3db78536336666c4d21 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG] SVGMarkerElement : 
-                SVGElement,
-                SVGLangSpace,
-                SVGExternalResourcesRequired,
-                SVGStylable,
-                SVGFitToViewBox { 
-    // Marker Unit Types
-    const unsigned short SVG_MARKERUNITS_UNKNOWN        = 0;
-    const unsigned short SVG_MARKERUNITS_USERSPACEONUSE = 1;
-    const unsigned short SVG_MARKERUNITS_STROKEWIDTH    = 2;
-    // Marker Orientation Types
-    const unsigned short SVG_MARKER_ORIENT_UNKNOWN      = 0;
-    const unsigned short SVG_MARKER_ORIENT_AUTO         = 1;
-    const unsigned short SVG_MARKER_ORIENT_ANGLE        = 2;
-    readonly attribute SVGAnimatedLength      refX;
-    readonly attribute SVGAnimatedLength      refY;
-    readonly attribute SVGAnimatedEnumeration markerUnits;
-    readonly attribute SVGAnimatedLength      markerWidth;
-    readonly attribute SVGAnimatedLength      markerHeight;
-    readonly attribute SVGAnimatedEnumeration orientType;
-    readonly attribute SVGAnimatedAngle      orientAngle;
-    void setOrientToAuto (  );
-    void setOrientToAngle ( in SVGAngle angle );
-  };
-};
+module svg {
+
+    interface [Conditional=SVG] SVGMarkerElement : SVGElement,
+                                                   SVGLangSpace,
+                                                   SVGExternalResourcesRequired,
+                                                   SVGStylable,
+                                                   SVGFitToViewBox { 
+        // Marker Unit Types
+        const unsigned short SVG_MARKERUNITS_UNKNOWN        = 0;
+        const unsigned short SVG_MARKERUNITS_USERSPACEONUSE = 1;
+        const unsigned short SVG_MARKERUNITS_STROKEWIDTH    = 2;
+
+        // Marker Orientation Types
+        const unsigned short SVG_MARKER_ORIENT_UNKNOWN      = 0;
+        const unsigned short SVG_MARKER_ORIENT_AUTO         = 1;
+        const unsigned short SVG_MARKER_ORIENT_ANGLE        = 2;
+
+        readonly attribute SVGAnimatedLength      refX;
+        readonly attribute SVGAnimatedLength      refY;
+        readonly attribute SVGAnimatedEnumeration markerUnits;
+        readonly attribute SVGAnimatedLength      markerWidth;
+        readonly attribute SVGAnimatedLength      markerHeight;
+        readonly attribute SVGAnimatedEnumeration orientType;
+        readonly attribute SVGAnimatedAngle      orientAngle;
+
+        void setOrientToAuto();
+        void setOrientToAngle(in SVGAngle angle);
+    };
+
+}
index 74f33c547e8ecb43b3f66c0ec5772730389a5b70..14d979883c2df51aa59a412c9faac4f2384edd7a 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-    interface [Conditional=SVG] SVGMaskElement :
-                                SVGElement,
-                                SVGTests,
-                                SVGLangSpace,
-                                SVGExternalResourcesRequired,
-                                SVGStylable {
+module svg {
+
+    interface [Conditional=SVG] SVGMaskElement : SVGElement,
+                                                 SVGTests,
+                                                 SVGLangSpace,
+                                                 SVGExternalResourcesRequired,
+                                                 SVGStylable {
         // TODO readonly attribute SVGAnimatedEnumeration maskUnits;
         // TODO readonly attribute SVGAnimatedEnumeration maskContentUnits;
 
@@ -39,4 +38,5 @@ module svg
         readonly attribute SVGAnimatedLength width;
         readonly attribute SVGAnimatedLength height;
     };
-};
+
+}
index 7d54f983cfe79880d38da7a9d199418415811c6e..7799aa3a0fb6de2ef775c60e940413210b501b56 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-module svg
-{
-  interface [Conditional=SVG, GenerateConstructor] SVGPaint : SVGColor { 
-    // SVGPaintType
-    const unsigned short SVG_PAINTTYPE_UNKNOWN               = 0;
-    const unsigned short SVG_PAINTTYPE_RGBCOLOR              = 1;
-    const unsigned short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR     = 2;
-    const unsigned short SVG_PAINTTYPE_NONE                  = 101;
-    const unsigned short SVG_PAINTTYPE_CURRENTCOLOR          = 102;
-    const unsigned short SVG_PAINTTYPE_URI_NONE              = 103;
-    const unsigned short SVG_PAINTTYPE_URI_CURRENTCOLOR      = 104;
-    const unsigned short SVG_PAINTTYPE_URI_RGBCOLOR          = 105;
-    const unsigned short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
-    const unsigned short SVG_PAINTTYPE_URI                   = 107;
-    readonly attribute SVGPaintType paintType;
-    readonly attribute core::DOMString      uri;
-    void setUri ( in core::DOMString uri );
-    void setPaint ( in SVGPaintType paintType, in core::DOMString uri, in core::DOMString rgbColor, in core::DOMString iccColor )
-                    raises( SVGException );
-  };
-};
+module svg {
+
+    interface [Conditional=SVG, GenerateConstructor] SVGPaint : SVGColor {
+        // SVGPaintType
+        const unsigned short SVG_PAINTTYPE_UNKNOWN               = 0;
+        const unsigned short SVG_PAINTTYPE_RGBCOLOR              = 1;
+        const unsigned short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR     = 2;
+        const unsigned short SVG_PAINTTYPE_NONE                  = 101;
+        const unsigned short SVG_PAINTTYPE_CURRENTCOLOR          = 102;
+        const unsigned short SVG_PAINTTYPE_URI_NONE              = 103;
+        const unsigned short SVG_PAINTTYPE_URI_CURRENTCOLOR      = 104;
+        const unsigned short SVG_PAINTTYPE_URI_RGBCOLOR          = 105;
+        const unsigned short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
+        const unsigned short SVG_PAINTTYPE_URI                   = 107;
+
+        readonly attribute SVGPaintType paintType;
+        readonly attribute DOMString uri;
+
+        void setUri(in DOMString uri);
+        void setPaint(in SVGPaintType paintType, 
+                      in DOMString uri, 
+                      in DOMString rgbColor, 
+                      in DOMString iccColor)
+            raises(SVGException);
+    };
+
+}