+2006-09-24 Sam Weinig <sam.weinig@gmail.com>
+
+ Reviewed by Tim H.
+
+ Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10882
+ SVG needs Obj-C DOM bindings
+
+ - Auto-generate the first 8 Objective-C SVG DOM bindings. The
+ auto-generated classes are DOMSVGAngle, DOMSVGLength, DOMSVGLengthList,
+ DOMSVGMatrix, DOMSVGPathSeg, DOMSVGPathSegList, DOMSVGTransform, and
+ DOMSVGTransformList.
+
+ * DerivedSources.make:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/objc/DOMInternal.h:
+ * bindings/objc/DOMSVG.h: Added.
+ * ksvg2/svg/SVGAngle.idl:
+ * ksvg2/svg/SVGLength.idl:
+ * ksvg2/svg/SVGLengthList.idl:
+ * ksvg2/svg/SVGMatrix.idl:
+ * ksvg2/svg/SVGPathSeg.idl:
+ * ksvg2/svg/SVGPathSegList.idl:
+ * ksvg2/svg/SVGTransform.idl:
+ * ksvg2/svg/SVGTransformList.idl:
+
2006-09-24 Rob Buis <buis@kde.org>
Reviewed by eseidel.
DOMRect.h \
DOMStyleSheet.h \
DOMStyleSheetList.h \
+ DOMSVGAngle.h \
+ DOMSVGLength.h \
+ DOMSVGLengthList.h \
+ DOMSVGMatrix.h \
+ DOMSVGPathSeg.h \
+ DOMSVGPathSegList.h \
+ DOMSVGTransform.h \
+ DOMSVGTransformList.h \
DOMText.h \
DOMTreeWalker.h \
DOMUIEvent.h \
853BF4EB0ABB6E97008647BB /* DOMNodePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 853BF4EA0ABB6E97008647BB /* DOMNodePrivate.h */; };
853BF4EC0ABB6EB9008647BB /* DOMNode.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 853BF4D90ABB6B55008647BB /* DOMNode.h */; };
853BF4ED0ABB6EB9008647BB /* DOMNodePrivate.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 853BF4EA0ABB6E97008647BB /* DOMNodePrivate.h */; };
+ 8541636A0AC7180B0001E01B /* DOMSVGTransformList.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8541635A0AC7180B0001E01B /* DOMSVGTransformList.mm */; };
+ 8541636B0AC7180B0001E01B /* DOMSVGTransformList.h in Headers */ = {isa = PBXBuildFile; fileRef = 8541635B0AC7180B0001E01B /* DOMSVGTransformList.h */; };
+ 8541636C0AC7180B0001E01B /* DOMSVGTransform.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8541635C0AC7180B0001E01B /* DOMSVGTransform.mm */; };
+ 8541636D0AC7180B0001E01B /* DOMSVGTransform.h in Headers */ = {isa = PBXBuildFile; fileRef = 8541635D0AC7180B0001E01B /* DOMSVGTransform.h */; };
+ 8541636E0AC7180B0001E01B /* DOMSVGPathSegList.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8541635E0AC7180B0001E01B /* DOMSVGPathSegList.mm */; };
+ 8541636F0AC7180B0001E01B /* DOMSVGPathSegList.h in Headers */ = {isa = PBXBuildFile; fileRef = 8541635F0AC7180B0001E01B /* DOMSVGPathSegList.h */; };
+ 854163700AC7180B0001E01B /* DOMSVGPathSeg.mm in Sources */ = {isa = PBXBuildFile; fileRef = 854163600AC7180B0001E01B /* DOMSVGPathSeg.mm */; };
+ 854163710AC7180B0001E01B /* DOMSVGPathSeg.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163610AC7180B0001E01B /* DOMSVGPathSeg.h */; };
+ 854163720AC7180B0001E01B /* DOMSVGMatrix.mm in Sources */ = {isa = PBXBuildFile; fileRef = 854163620AC7180B0001E01B /* DOMSVGMatrix.mm */; };
+ 854163730AC7180B0001E01B /* DOMSVGMatrix.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163630AC7180B0001E01B /* DOMSVGMatrix.h */; };
+ 854163740AC7180B0001E01B /* DOMSVGLengthList.mm in Sources */ = {isa = PBXBuildFile; fileRef = 854163640AC7180B0001E01B /* DOMSVGLengthList.mm */; };
+ 854163750AC7180B0001E01B /* DOMSVGLengthList.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163650AC7180B0001E01B /* DOMSVGLengthList.h */; };
+ 854163760AC7180B0001E01B /* DOMSVGLength.mm in Sources */ = {isa = PBXBuildFile; fileRef = 854163660AC7180B0001E01B /* DOMSVGLength.mm */; };
+ 854163770AC7180B0001E01B /* DOMSVGLength.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163670AC7180B0001E01B /* DOMSVGLength.h */; };
+ 854163780AC7180B0001E01B /* DOMSVGAngle.mm in Sources */ = {isa = PBXBuildFile; fileRef = 854163680AC7180B0001E01B /* DOMSVGAngle.mm */; };
+ 854163790AC7180B0001E01B /* DOMSVGAngle.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163690AC7180B0001E01B /* DOMSVGAngle.h */; };
+ 854163970AC718680001E01B /* DOMSVGTransformListInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 8541638F0AC718680001E01B /* DOMSVGTransformListInternal.h */; };
+ 854163980AC718680001E01B /* DOMSVGTransformInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163900AC718680001E01B /* DOMSVGTransformInternal.h */; };
+ 854163990AC718680001E01B /* DOMSVGPathSegListInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163910AC718680001E01B /* DOMSVGPathSegListInternal.h */; };
+ 8541639A0AC718680001E01B /* DOMSVGPathSegInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163920AC718680001E01B /* DOMSVGPathSegInternal.h */; };
+ 8541639B0AC718680001E01B /* DOMSVGMatrixInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163930AC718680001E01B /* DOMSVGMatrixInternal.h */; };
+ 8541639C0AC718680001E01B /* DOMSVGLengthListInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163940AC718680001E01B /* DOMSVGLengthListInternal.h */; };
+ 8541639D0AC718680001E01B /* DOMSVGLengthInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163950AC718680001E01B /* DOMSVGLengthInternal.h */; };
+ 8541639E0AC718680001E01B /* DOMSVGAngleInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163960AC718680001E01B /* DOMSVGAngleInternal.h */; };
854FE7300A2297BE0058D7AD /* NodeFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 854FE7260A2297BE0058D7AD /* NodeFilter.cpp */; };
854FE7310A2297BE0058D7AD /* NodeFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = 854FE7270A2297BE0058D7AD /* NodeFilter.h */; };
854FE7320A2297BE0058D7AD /* NodeFilterCondition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 854FE7280A2297BE0058D7AD /* NodeFilterCondition.cpp */; };
859A9C4F0AA5E3BD00B694B2 /* DOMHTMLStyleElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */; };
859A9C500AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */; };
859FA5FB0AB0BF20004FAEE9 /* DOMNodeFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = 859FA5FA0AB0BF20004FAEE9 /* DOMNodeFilter.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 85A0F97E0AC7163D00161FDC /* DOMSVG.h in Headers */ = {isa = PBXBuildFile; fileRef = 85A0F97D0AC7163D00161FDC /* DOMSVG.h */; };
85ACA9860A9B520300671E90 /* DOMCharacterData.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ACA9840A9B520300671E90 /* DOMCharacterData.h */; settings = {ATTRIBUTES = (); }; };
85ACA9870A9B520300671E90 /* DOMCharacterData.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ACA9850A9B520300671E90 /* DOMCharacterData.mm */; };
85ACA99C0A9B575900671E90 /* DOMText.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ACA99A0A9B575900671E90 /* DOMText.h */; settings = {ATTRIBUTES = (); }; };
853BF4D90ABB6B55008647BB /* DOMNode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNode.h; sourceTree = "<group>"; };
853BF4DA0ABB6B55008647BB /* DOMNode.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNode.mm; sourceTree = "<group>"; };
853BF4EA0ABB6E97008647BB /* DOMNodePrivate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNodePrivate.h; sourceTree = "<group>"; };
+ 8541635A0AC7180B0001E01B /* DOMSVGTransformList.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGTransformList.mm; sourceTree = "<group>"; };
+ 8541635B0AC7180B0001E01B /* DOMSVGTransformList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGTransformList.h; sourceTree = "<group>"; };
+ 8541635C0AC7180B0001E01B /* DOMSVGTransform.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGTransform.mm; sourceTree = "<group>"; };
+ 8541635D0AC7180B0001E01B /* DOMSVGTransform.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGTransform.h; sourceTree = "<group>"; };
+ 8541635E0AC7180B0001E01B /* DOMSVGPathSegList.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGPathSegList.mm; sourceTree = "<group>"; };
+ 8541635F0AC7180B0001E01B /* DOMSVGPathSegList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGPathSegList.h; sourceTree = "<group>"; };
+ 854163600AC7180B0001E01B /* DOMSVGPathSeg.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGPathSeg.mm; sourceTree = "<group>"; };
+ 854163610AC7180B0001E01B /* DOMSVGPathSeg.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGPathSeg.h; sourceTree = "<group>"; };
+ 854163620AC7180B0001E01B /* DOMSVGMatrix.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGMatrix.mm; sourceTree = "<group>"; };
+ 854163630AC7180B0001E01B /* DOMSVGMatrix.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGMatrix.h; sourceTree = "<group>"; };
+ 854163640AC7180B0001E01B /* DOMSVGLengthList.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGLengthList.mm; sourceTree = "<group>"; };
+ 854163650AC7180B0001E01B /* DOMSVGLengthList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLengthList.h; sourceTree = "<group>"; };
+ 854163660AC7180B0001E01B /* DOMSVGLength.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGLength.mm; sourceTree = "<group>"; };
+ 854163670AC7180B0001E01B /* DOMSVGLength.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLength.h; sourceTree = "<group>"; };
+ 854163680AC7180B0001E01B /* DOMSVGAngle.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGAngle.mm; sourceTree = "<group>"; };
+ 854163690AC7180B0001E01B /* DOMSVGAngle.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGAngle.h; sourceTree = "<group>"; };
+ 8541638F0AC718680001E01B /* DOMSVGTransformListInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGTransformListInternal.h; sourceTree = "<group>"; };
+ 854163900AC718680001E01B /* DOMSVGTransformInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGTransformInternal.h; sourceTree = "<group>"; };
+ 854163910AC718680001E01B /* DOMSVGPathSegListInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGPathSegListInternal.h; sourceTree = "<group>"; };
+ 854163920AC718680001E01B /* DOMSVGPathSegInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGPathSegInternal.h; sourceTree = "<group>"; };
+ 854163930AC718680001E01B /* DOMSVGMatrixInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGMatrixInternal.h; sourceTree = "<group>"; };
+ 854163940AC718680001E01B /* DOMSVGLengthListInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLengthListInternal.h; sourceTree = "<group>"; };
+ 854163950AC718680001E01B /* DOMSVGLengthInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGLengthInternal.h; sourceTree = "<group>"; };
+ 854163960AC718680001E01B /* DOMSVGAngleInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMSVGAngleInternal.h; sourceTree = "<group>"; };
854FE7260A2297BE0058D7AD /* NodeFilter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = NodeFilter.cpp; sourceTree = "<group>"; };
854FE7270A2297BE0058D7AD /* NodeFilter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NodeFilter.h; sourceTree = "<group>"; };
854FE7280A2297BE0058D7AD /* NodeFilterCondition.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = NodeFilterCondition.cpp; sourceTree = "<group>"; };
859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLStyleElement.mm; sourceTree = "<group>"; };
859B7FB90A8D288800A5F1EA /* CodeGeneratorObjC.pm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.perl; name = CodeGeneratorObjC.pm; path = bindings/scripts/CodeGeneratorObjC.pm; sourceTree = SOURCE_ROOT; tabWidth = 8; usesTabs = 0; };
859FA5FA0AB0BF20004FAEE9 /* DOMNodeFilter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNodeFilter.h; sourceTree = "<group>"; };
+ 85A0F97D0AC7163D00161FDC /* DOMSVG.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVG.h; sourceTree = "<group>"; };
85ACA9840A9B520300671E90 /* DOMCharacterData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMCharacterData.h; sourceTree = "<group>"; };
85ACA9850A9B520300671E90 /* DOMCharacterData.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMCharacterData.mm; sourceTree = "<group>"; };
85ACA99A0A9B575900671E90 /* DOMText.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMText.h; sourceTree = "<group>"; };
name = Traversal;
sourceTree = "<group>";
};
+ 85A0F98E0AC716F400161FDC /* SVG */ = {
+ isa = PBXGroup;
+ children = (
+ 854163690AC7180B0001E01B /* DOMSVGAngle.h */,
+ 854163680AC7180B0001E01B /* DOMSVGAngle.mm */,
+ 854163670AC7180B0001E01B /* DOMSVGLength.h */,
+ 854163660AC7180B0001E01B /* DOMSVGLength.mm */,
+ 854163650AC7180B0001E01B /* DOMSVGLengthList.h */,
+ 854163640AC7180B0001E01B /* DOMSVGLengthList.mm */,
+ 854163630AC7180B0001E01B /* DOMSVGMatrix.h */,
+ 854163620AC7180B0001E01B /* DOMSVGMatrix.mm */,
+ 854163610AC7180B0001E01B /* DOMSVGPathSeg.h */,
+ 854163600AC7180B0001E01B /* DOMSVGPathSeg.mm */,
+ 8541635F0AC7180B0001E01B /* DOMSVGPathSegList.h */,
+ 8541635E0AC7180B0001E01B /* DOMSVGPathSegList.mm */,
+ 8541635D0AC7180B0001E01B /* DOMSVGTransform.h */,
+ 8541635C0AC7180B0001E01B /* DOMSVGTransform.mm */,
+ 8541635B0AC7180B0001E01B /* DOMSVGTransformList.h */,
+ 8541635A0AC7180B0001E01B /* DOMSVGTransformList.mm */,
+ );
+ name = SVG;
+ sourceTree = "<group>";
+ };
85AFA7AB0AAF3BB000E84305 /* Events */ = {
isa = PBXGroup;
children = (
85AFA7AB0AAF3BB000E84305 /* Events */,
85C56D030AA8BAA700D95755 /* HTML */,
850657040AAB476C002D15C0 /* StyleSheets */,
+ 85A0F98E0AC716F400161FDC /* SVG */,
85526C150AB0A12A000302EA /* Traversal */,
85E9E0A70AB3A0CC00069CD0 /* XPath */,
85E7113D0AC5D4A10053270F /* Internal */,
85E711860AC5D5350053270F /* DOMProcessingInstructionInternal.h */,
85E711870AC5D5350053270F /* DOMRectInternal.h */,
85E711880AC5D5350053270F /* DOMStyleSheetListInternal.h */,
+ 854163960AC718680001E01B /* DOMSVGAngleInternal.h */,
+ 854163950AC718680001E01B /* DOMSVGLengthInternal.h */,
+ 854163940AC718680001E01B /* DOMSVGLengthListInternal.h */,
+ 854163930AC718680001E01B /* DOMSVGMatrixInternal.h */,
+ 854163920AC718680001E01B /* DOMSVGPathSegInternal.h */,
+ 854163910AC718680001E01B /* DOMSVGPathSegListInternal.h */,
+ 854163900AC718680001E01B /* DOMSVGTransformInternal.h */,
+ 8541638F0AC718680001E01B /* DOMSVGTransformListInternal.h */,
85E7118A0AC5D5350053270F /* DOMTextInternal.h */,
85E7118B0AC5D5350053270F /* DOMXPathExpressionInternal.h */,
85E7118C0AC5D5350053270F /* DOMXPathResultInternal.h */,
BC1A37A5097C715F0019F3D8 /* DOMPrivate.h */,
BC1A37A6097C715F0019F3D8 /* DOMRange.h */,
BC1A37A7097C715F0019F3D8 /* DOMStylesheets.h */,
+ 85A0F97D0AC7163D00161FDC /* DOMSVG.h */,
BC1A37A8097C715F0019F3D8 /* DOMTraversal.h */,
BC1A37A9097C715F0019F3D8 /* DOMUtility.mm */,
BC1A37AA097C715F0019F3D8 /* DOMViews.h */,
85E711D90AC5D5350053270F /* DOMTextInternal.h in Headers */,
85E711DA0AC5D5350053270F /* DOMXPathExpressionInternal.h in Headers */,
85E711DB0AC5D5350053270F /* DOMXPathResultInternal.h in Headers */,
+ 85A0F97E0AC7163D00161FDC /* DOMSVG.h in Headers */,
+ 8541636B0AC7180B0001E01B /* DOMSVGTransformList.h in Headers */,
+ 8541636D0AC7180B0001E01B /* DOMSVGTransform.h in Headers */,
+ 8541636F0AC7180B0001E01B /* DOMSVGPathSegList.h in Headers */,
+ 854163710AC7180B0001E01B /* DOMSVGPathSeg.h in Headers */,
+ 854163730AC7180B0001E01B /* DOMSVGMatrix.h in Headers */,
+ 854163750AC7180B0001E01B /* DOMSVGLengthList.h in Headers */,
+ 854163770AC7180B0001E01B /* DOMSVGLength.h in Headers */,
+ 854163790AC7180B0001E01B /* DOMSVGAngle.h in Headers */,
+ 854163970AC718680001E01B /* DOMSVGTransformListInternal.h in Headers */,
+ 854163980AC718680001E01B /* DOMSVGTransformInternal.h in Headers */,
+ 854163990AC718680001E01B /* DOMSVGPathSegListInternal.h in Headers */,
+ 8541639A0AC718680001E01B /* DOMSVGPathSegInternal.h in Headers */,
+ 8541639B0AC718680001E01B /* DOMSVGMatrixInternal.h in Headers */,
+ 8541639C0AC718680001E01B /* DOMSVGLengthListInternal.h in Headers */,
+ 8541639D0AC718680001E01B /* DOMSVGLengthInternal.h in Headers */,
+ 8541639E0AC718680001E01B /* DOMSVGAngleInternal.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A8415F9F0AC10C5D00F7D0DF /* KCanvasMasker.cpp in Sources */,
A8415FA10AC10C5D00F7D0DF /* KCanvasMarker.cpp in Sources */,
A8415FA20AC10C5D00F7D0DF /* KCanvasFilters.cpp in Sources */,
+ 8541636A0AC7180B0001E01B /* DOMSVGTransformList.mm in Sources */,
+ 8541636C0AC7180B0001E01B /* DOMSVGTransform.mm in Sources */,
+ 8541636E0AC7180B0001E01B /* DOMSVGPathSegList.mm in Sources */,
+ 854163700AC7180B0001E01B /* DOMSVGPathSeg.mm in Sources */,
+ 854163720AC7180B0001E01B /* DOMSVGMatrix.mm in Sources */,
+ 854163740AC7180B0001E01B /* DOMSVGLengthList.mm in Sources */,
+ 854163760AC7180B0001E01B /* DOMSVGLength.mm in Sources */,
+ 854163780AC7180B0001E01B /* DOMSVGAngle.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
#import "DOMStyleSheetListInternal.h"
#import "DOMTextInternal.h"
+#ifdef SVG_SUPPORT
+#import "DOMSVGAngleInternal.h"
+#import "DOMSVGLengthInternal.h"
+#import "DOMSVGLengthListInternal.h"
+#import "DOMSVGMatrixInternal.h"
+#import "DOMSVGPathSegInternal.h"
+#import "DOMSVGPathSegListInternal.h"
+#import "DOMSVGTransformInternal.h"
+#import "DOMSVGTransformListInternal.h"
+#endif // SVG_SUPPORT
+
#ifdef XPATH_SUPPORT
#import "DOMXPathExpressionInternal.h"
#import "DOMXPathResultInternal.h"
--- /dev/null
+/*
+ * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
+ * 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
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMSVGAngle.h>
+#import <WebCore/DOMSVGLength.h>
+#import <WebCore/DOMSVGLengthList.h>
+#import <WebCore/DOMSVGMatrix.h>
+#import <WebCore/DOMSVGPathSeg.h>
+#import <WebCore/DOMSVGPathSegList.h>
+#import <WebCore/DOMSVGTransform.h>
+#import <WebCore/DOMSVGTransformList.h>
/*
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>
Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
This file is part of the KDE project
*/
module svg {
+
interface [Conditional=SVG, GenerateConstructor] SVGAngle {
// Angle Unit Types
const unsigned short SVG_ANGLETYPE_UNKNOWN = 0;
const unsigned short SVG_ANGLETYPE_GRAD = 4;
readonly attribute unsigned short unitType;
- attribute float value
- setter rasises DOMException;
- attribute float valueInSpecifiedUnits
- setter rasises DOMException;
- attribute core::DOMString valueAsString
- setter rasises DOMException;
+ attribute float value;
+ attribute float valueInSpecifiedUnits;
+ attribute DOMString valueAsString;
- void newValueSpecifiedUnits( in unsigned short unitType, in float valueInSpecifiedUnits );
- void convertToSpecifiedUnits( in unsigned short unitType );
+ void newValueSpecifiedUnits(in unsigned short unitType,
+ in float valueInSpecifiedUnits);
+ void convertToSpecifiedUnits(in unsigned short unitType);
};
-};
+
+}
/*
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>
Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
This file is part of the KDE project
Boston, MA 02111-1307, USA.
*/
-module svg
-{
- interface [Conditional=SVG, GenerateConstructor] SVGLength {
- // Length Unit Types
- const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
- const unsigned short SVG_LENGTHTYPE_NUMBER = 1;
- const unsigned short SVG_LENGTHTYPE_PERCENTAGE = 2;
- const unsigned short SVG_LENGTHTYPE_EMS = 3;
- const unsigned short SVG_LENGTHTYPE_EXS = 4;
- const unsigned short SVG_LENGTHTYPE_PX = 5;
- const unsigned short SVG_LENGTHTYPE_CM = 6;
- const unsigned short SVG_LENGTHTYPE_MM = 7;
- const unsigned short SVG_LENGTHTYPE_IN = 8;
- const unsigned short SVG_LENGTHTYPE_PT = 9;
- const unsigned short SVG_LENGTHTYPE_PC = 10;
- readonly attribute unsigned short unitType;
- attribute float value;
- // raises DOMException on setting
- attribute float valueInSpecifiedUnits;
- // raises DOMException on setting
- attribute core::DOMString valueAsString;
- // raises DOMException on setting
- void newValueSpecifiedUnits ( in unsigned short unitType, in float valueInSpecifiedUnits );
- void convertToSpecifiedUnits ( in unsigned short unitType );
- };
-};
+module svg {
+
+ interface [Conditional=SVG, GenerateConstructor] SVGLength {
+ // Length Unit Types
+ const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
+ const unsigned short SVG_LENGTHTYPE_NUMBER = 1;
+ const unsigned short SVG_LENGTHTYPE_PERCENTAGE = 2;
+ const unsigned short SVG_LENGTHTYPE_EMS = 3;
+ const unsigned short SVG_LENGTHTYPE_EXS = 4;
+ const unsigned short SVG_LENGTHTYPE_PX = 5;
+ const unsigned short SVG_LENGTHTYPE_CM = 6;
+ const unsigned short SVG_LENGTHTYPE_MM = 7;
+ const unsigned short SVG_LENGTHTYPE_IN = 8;
+ const unsigned short SVG_LENGTHTYPE_PT = 9;
+ const unsigned short SVG_LENGTHTYPE_PC = 10;
+
+ readonly attribute unsigned short unitType;
+ attribute float value;
+ attribute float valueInSpecifiedUnits;
+ attribute DOMString valueAsString;
+
+ void newValueSpecifiedUnits(in unsigned short unitType,
+ in float valueInSpecifiedUnits);
+ void convertToSpecifiedUnits(in unsigned short unitType);
+ };
+
+}
/*
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
* Copyright (C) 2006 Apple Computer, Inc.
*
* Redistribution and use in source and binary forms, with or without
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-module svg
-{
+module svg {
+
interface [Conditional=SVG] SVGLengthList {
readonly attribute unsigned long numberOfItems;
void clear()
- raises(dom::DOMException);
+ raises(DOMException);
SVGLength initialize(in SVGLength item)
- raises(dom::DOMException, SVGException);
+ raises(DOMException, SVGException);
SVGLength getItem(in unsigned long index)
- raises(dom::DOMException);
+ raises(DOMException);
SVGLength insertItemBefore(in SVGLength item, in unsigned long index)
- raises(dom::DOMException, SVGException);
+ raises(DOMException, SVGException);
SVGLength replaceItem(in SVGLength item, in unsigned long index)
- raises(dom::DOMException, SVGException);
+ raises(DOMException, SVGException);
SVGLength removeItem(in unsigned long index)
- raises(dom::DOMException);
+ raises(DOMException);
SVGLength appendItem(in SVGLength item)
- raises(dom::DOMException, SVGException);
+ raises(DOMException, SVGException);
};
-};
+
+}
/*
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>
Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
This file is part of the KDE project
Boston, MA 02111-1307, USA.
*/
-
module svg {
+
interface [Conditional=SVG] SVGMatrix {
- attribute float a
- setter raises DOMException;
- attribute float b
- setter raises DOMException;
- attribute float c
- setter raises DOMException;
- attribute float d
- setter raises DOMException;
- attribute float e
- setter raises DOMException;
- attribute float f
- setter raises DOMException;
- SVGMatrix multiply( in SVGMatrix secondMatrix );
+ attribute float a;
+ attribute float b;
+ attribute float c;
+ attribute float d;
+ attribute float e;
+ attribute float f;
+
+ SVGMatrix multiply(in SVGMatrix secondMatrix);
SVGMatrix inverse()
- raises( SVGException );
- SVGMatrix translate( in float x, in float y );
- SVGMatrix scale( in float scaleFactor );
- SVGMatrix scaleNonUniform( in float scaleFactorX, in float scaleFactorY );
- SVGMatrix rotate( in float angle );
- SVGMatrix rotateFromVector( in float x, in float y )
- raises( SVGException );
+ raises(SVGException);
+ SVGMatrix translate(in float x, in float y);
+ SVGMatrix scale(in float scaleFactor);
+ SVGMatrix scaleNonUniform(in float scaleFactorX, in float scaleFactorY);
+ SVGMatrix rotate(in float angle);
+ SVGMatrix rotateFromVector(in float x, in float y)
+ raises(SVGException);
SVGMatrix flipX();
SVGMatrix flipY();
- SVGMatrix skewX( in float angle );
- SVGMatrix skewY( in float angle );
+ SVGMatrix skewX(in float angle);
+ SVGMatrix skewY(in float angle);
};
-};
+
+}
/*
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
* Copyright (C) 2006 Apple Computer, Inc.
*
* Redistribution and use in source and binary forms, with or without
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-module svg
-{
- interface [Conditional=SVG, GenerateConstructor] SVGPathSeg {
- // Path Segment Types
- const unsigned short PATHSEG_UNKNOWN = 0;
- const unsigned short PATHSEG_CLOSEPATH = 1;
- const unsigned short PATHSEG_MOVETO_ABS = 2;
- const unsigned short PATHSEG_MOVETO_REL = 3;
- const unsigned short PATHSEG_LINETO_ABS = 4;
- const unsigned short PATHSEG_LINETO_REL = 5;
- const unsigned short PATHSEG_CURVETO_CUBIC_ABS = 6;
- const unsigned short PATHSEG_CURVETO_CUBIC_REL = 7;
- const unsigned short PATHSEG_CURVETO_QUADRATIC_ABS = 8;
- const unsigned short PATHSEG_CURVETO_QUADRATIC_REL = 9;
- const unsigned short PATHSEG_ARC_ABS = 10;
- const unsigned short PATHSEG_ARC_REL = 11;
- const unsigned short PATHSEG_LINETO_HORIZONTAL_ABS = 12;
- const unsigned short PATHSEG_LINETO_HORIZONTAL_REL = 13;
- const unsigned short PATHSEG_LINETO_VERTICAL_ABS = 14;
- const unsigned short PATHSEG_LINETO_VERTICAL_REL = 15;
- const unsigned short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
- const unsigned short PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
- const unsigned short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
- const unsigned short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
- readonly attribute unsigned short pathSegType;
- readonly attribute core::DOMString pathSegTypeAsLetter;
- };
-};
+module svg {
+
+ interface [Conditional=SVG, GenerateConstructor] SVGPathSeg {
+ // Path Segment Types
+ const unsigned short PATHSEG_UNKNOWN = 0;
+ const unsigned short PATHSEG_CLOSEPATH = 1;
+ const unsigned short PATHSEG_MOVETO_ABS = 2;
+ const unsigned short PATHSEG_MOVETO_REL = 3;
+ const unsigned short PATHSEG_LINETO_ABS = 4;
+ const unsigned short PATHSEG_LINETO_REL = 5;
+ const unsigned short PATHSEG_CURVETO_CUBIC_ABS = 6;
+ const unsigned short PATHSEG_CURVETO_CUBIC_REL = 7;
+ const unsigned short PATHSEG_CURVETO_QUADRATIC_ABS = 8;
+ const unsigned short PATHSEG_CURVETO_QUADRATIC_REL = 9;
+ const unsigned short PATHSEG_ARC_ABS = 10;
+ const unsigned short PATHSEG_ARC_REL = 11;
+ const unsigned short PATHSEG_LINETO_HORIZONTAL_ABS = 12;
+ const unsigned short PATHSEG_LINETO_HORIZONTAL_REL = 13;
+ const unsigned short PATHSEG_LINETO_VERTICAL_ABS = 14;
+ const unsigned short PATHSEG_LINETO_VERTICAL_REL = 15;
+ const unsigned short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
+ const unsigned short PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
+ const unsigned short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
+ const unsigned short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
+
+ readonly attribute unsigned short pathSegType;
+ readonly attribute DOMString pathSegTypeAsLetter;
+ };
+
+}
/*
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
* Copyright (C) 2006 Apple Computer, Inc.
*
* Redistribution and use in source and binary forms, with or without
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-module svg
-{
- interface [Conditional=SVG] SVGPathSegList {
- readonly attribute unsigned long numberOfItems;
- void clear ( )
- raises( core::DOMException );
- SVGPathSeg initialize ( in SVGPathSeg newItem )
- raises( core::DOMException, SVGException );
- SVGPathSeg getItem ( in unsigned long index )
- raises( core::DOMException );
- SVGPathSeg insertItemBefore ( in SVGPathSeg newItem, in unsigned long index )
- raises( core::DOMException, SVGException );
- SVGPathSeg replaceItem ( in SVGPathSeg newItem, in unsigned long index )
- raises( core::DOMException, SVGException );
- SVGPathSeg removeItem ( in unsigned long index )
- raises( core::DOMException );
- SVGPathSeg appendItem ( in SVGPathSeg newItem )
- raises( core::DOMException, SVGException );
- };
-};
+module svg {
+
+ interface [Conditional=SVG] SVGPathSegList {
+ readonly attribute unsigned long numberOfItems;
+
+ void clear()
+ raises(DOMException);
+ SVGPathSeg initialize(in SVGPathSeg newItem)
+ raises(DOMException, SVGException);
+ SVGPathSeg getItem(in unsigned long index)
+ raises(DOMException);
+ SVGPathSeg insertItemBefore(in SVGPathSeg newItem, in unsigned long index)
+ raises(DOMException, SVGException);
+ SVGPathSeg replaceItem(in SVGPathSeg newItem, in unsigned long index)
+ raises(DOMException, SVGException);
+ SVGPathSeg removeItem(in unsigned long index)
+ raises(DOMException);
+ SVGPathSeg appendItem(in SVGPathSeg newItem)
+ raises(DOMException, SVGException);
+ };
+
+}
*/
module svg {
+
interface [Conditional=SVG, GenerateConstructor] SVGTransform {
// Transform Types
const unsigned short SVG_TRANSFORM_UNKNOWN = 0;
const unsigned short SVG_TRANSFORM_ROTATE = 4;
const unsigned short SVG_TRANSFORM_SKEWX = 5;
const unsigned short SVG_TRANSFORM_SKEWY = 6;
-
+
readonly attribute unsigned short type;
readonly attribute SVGMatrix matrix;
readonly attribute float angle;
-
- void setMatrix( in SVGMatrix matrix );
- void setTranslate( in float tx, in float ty );
- void setScale( in float sx, in float sy );
- void setRotate( in float angle, in float cx, in float cy );
- void setSkewX( in float angle );
- void setSkewY( in float angle );
+
+ void setMatrix(in SVGMatrix matrix);
+ void setTranslate(in float tx, in float ty);
+ void setScale(in float sx, in float sy);
+ void setRotate(in float angle, in float cx, in float cy);
+ void setSkewX(in float angle);
+ void setSkewY(in float angle);
};
-};
+
+}
/*
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
* Copyright (C) 2006 Apple Computer, Inc.
*
* Redistribution and use in source and binary forms, with or without
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-module svg
-{
- interface [Conditional=SVG] SVGTransformList {
- readonly attribute unsigned long numberOfItems;
- void clear ( )
- raises( DOMException );
- SVGTransform initialize ( in SVGTransform item )
- raises( DOMException, SVGException );
- SVGTransform getItem ( in unsigned long index )
- raises( DOMException );
- SVGTransform insertItemBefore ( in SVGTransform item, in unsigned long index )
- raises( DOMException, SVGException );
- SVGTransform replaceItem ( in SVGTransform item, in unsigned long index )
- raises( DOMException, SVGException );
- SVGTransform removeItem ( in unsigned long index )
- raises( DOMException );
- SVGTransform appendItem ( in SVGTransform item )
- raises( DOMException, SVGException );
- SVGTransform createSVGTransformFromMatrix ( in SVGMatrix matrix );
- SVGTransform consolidate ( );
- };
-};
+module svg {
+
+ interface [Conditional=SVG] SVGTransformList {
+ readonly attribute unsigned long numberOfItems;
+
+ void clear()
+ raises(DOMException);
+ SVGTransform initialize(in SVGTransform item)
+ raises(DOMException, SVGException);
+ SVGTransform getItem(in unsigned long index)
+ raises(DOMException);
+ SVGTransform insertItemBefore(in SVGTransform item, in unsigned long index)
+ raises(DOMException, SVGException);
+ SVGTransform replaceItem(in SVGTransform item, in unsigned long index)
+ raises(DOMException, SVGException);
+ SVGTransform removeItem(in unsigned long index)
+ raises(DOMException);
+ SVGTransform appendItem(in SVGTransform item)
+ raises(DOMException, SVGException);
+ SVGTransform createSVGTransformFromMatrix(in SVGMatrix matrix);
+ SVGTransform consolidate();
+ };
+
+}