Submitted by: eseidel
Reviewed by: hyatt & mjs
Reviewed by mjs/hyatt (just approved the changelog).
* ForwardingHeaders/kdom/css/impl/cssproperties.h: Added.
* ForwardingHeaders/kdom/css/impl/cssvalues.h: Added.
* ForwardingHeaders/ksvg2/KSVGPart.h: Added.
* ForwardingHeaders/ksvg2/KSVGView.h: Added.
* ForwardingHeaders/ksvg2/css/impl/cssproperties.h: Added.
* ForwardingHeaders/ksvg2/css/impl/cssvalues.h: Added.
* ForwardingHeaders/ksvg2/data/Constructors.lut.h: Added.
* ForwardingHeaders/ksvg2/data/GlobalObject.lut.h: Added.
* WebCore.pbproj/project.pbxproj: Added WebCore+SVG Target.
* kcanvas/DESIGN: Added.
* kcanvas/KCanvas.cc: Added.
* kcanvas/KCanvas.h: Added.
* kcanvas/KCanvasContainer.cc: Added.
* kcanvas/KCanvasContainer.h: Added.
* kcanvas/KCanvasCreator.cc: Added.
* kcanvas/KCanvasCreator.h: Added.
* kcanvas/KCanvasFilters.cc: Added.
* kcanvas/KCanvasFilters.h: Added.
* kcanvas/KCanvasImage.cc: Added.
* kcanvas/KCanvasImage.h: Added.
* kcanvas/KCanvasItem.cc: Added.
* kcanvas/KCanvasItem.h: Added.
* kcanvas/KCanvasMatrix.cc: Added.
* kcanvas/KCanvasMatrix.h: Added.
* kcanvas/KCanvasPath.h: Added.
* kcanvas/KCanvasRegistry.cc: Added.
* kcanvas/KCanvasRegistry.h: Added.
* kcanvas/KCanvasResourceListener.h: Added.
* kcanvas/KCanvasResources.cc: Added.
* kcanvas/KCanvasResources.h: Added.
* kcanvas/KCanvasTypes.h: Added.
* kcanvas/KCanvasView.cc: Added.
* kcanvas/KCanvasView.h: Added.
* kcanvas/KCanvasView.moc: Added.
* kcanvas/device/KRenderingDevice.cc: Added.
* kcanvas/device/KRenderingDevice.h: Added.
* kcanvas/device/KRenderingDevice.moc: Added.
* kcanvas/device/KRenderingDeviceFactory.cc: Added.
* kcanvas/device/KRenderingDeviceFactory.h: Added.
* kcanvas/device/KRenderingFillPainter.cc: Added.
* kcanvas/device/KRenderingFillPainter.h: Added.
* kcanvas/device/KRenderingPaintServer.h: Added.
* kcanvas/device/KRenderingPaintServerGradient.cc: Added.
* kcanvas/device/KRenderingPaintServerGradient.h: Added.
* kcanvas/device/KRenderingPaintServerImage.cc: Added.
* kcanvas/device/KRenderingPaintServerImage.h: Added.
* kcanvas/device/KRenderingPaintServerPattern.cc: Added.
* kcanvas/device/KRenderingPaintServerPattern.h: Added.
* kcanvas/device/KRenderingPaintServerSolid.cc: Added.
* kcanvas/device/KRenderingPaintServerSolid.h: Added.
* kcanvas/device/KRenderingStrokePainter.cc: Added.
* kcanvas/device/KRenderingStrokePainter.h: Added.
* kcanvas/device/KRenderingStyle.cc: Added.
* kcanvas/device/KRenderingStyle.h: Added.
* kcanvas/device/quartz/KCanvasFilterQuartz.h: Added.
* kcanvas/device/quartz/KCanvasFilterQuartz.mm: Added.
* kcanvas/device/quartz/KCanvasItemQuartz.h: Added.
* kcanvas/device/quartz/KCanvasItemQuartz.mm: Added.
* kcanvas/device/quartz/KCanvasResourcesQuartz.h: Added.
* kcanvas/device/quartz/KCanvasResourcesQuartz.mm: Added.
* kcanvas/device/quartz/KCanvasViewQuartz.h: Added.
* kcanvas/device/quartz/KCanvasViewQuartz.mm: Added.
* kcanvas/device/quartz/KRenderingDeviceQuartz.h: Added.
* kcanvas/device/quartz/KRenderingDeviceQuartz.mm: Added.
* kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm: Added.
* kcanvas/device/quartz/KRenderingPaintServerQuartz.h: Added.
* kcanvas/device/quartz/KRenderingPaintServerQuartz.mm: Added.
* kcanvas/device/quartz/QuartzSupport.h: Added.
* kcanvas/device/quartz/QuartzSupport.mm: Added.
* kdom/AUTHORS: Added.
* kdom/Attr.cc: Added.
* kdom/Attr.h: Added.
* kdom/CDATASection.cc: Added.
* kdom/CDATASection.h: Added.
* kdom/CharacterData.cc: Added.
* kdom/CharacterData.h: Added.
* kdom/Comment.cc: Added.
* kdom/Comment.h: Added.
* kdom/DOMConfiguration.cc: Added.
* kdom/DOMConfiguration.h: Added.
* kdom/DOMError.cc: Added.
* kdom/DOMError.h: Added.
* kdom/DOMErrorHandler.cc: Added.
* kdom/DOMErrorHandler.h: Added.
* kdom/DOMException.cc: Added.
* kdom/DOMException.h: Added.
* kdom/DOMImplementation.cc: Added.
* kdom/DOMImplementation.h: Added.
* kdom/DOMLocator.cc: Added.
* kdom/DOMLocator.h: Added.
* kdom/DOMObject.cc: Added.
* kdom/DOMObject.h: Added.
* kdom/DOMString.cc: Added.
* kdom/DOMString.h: Added.
* kdom/DOMStringList.cc: Added.
* kdom/DOMStringList.h: Added.
* kdom/DOMUserData.cc: Added.
* kdom/DOMUserData.h: Added.
* kdom/Document.cc: Added.
* kdom/Document.h: Added.
* kdom/DocumentFragment.cc: Added.
* kdom/DocumentFragment.h: Added.
* kdom/DocumentType.cc: Added.
* kdom/DocumentType.h: Added.
* kdom/Element.cc: Added.
* kdom/Element.h: Added.
* kdom/Entity.cc: Added.
* kdom/Entity.h: Added.
* kdom/EntityReference.cc: Added.
* kdom/EntityReference.h: Added.
* kdom/Helper.cc: Added.
* kdom/Helper.h: Added.
* kdom/KDOMPart.cc: Added.
* kdom/KDOMPart.h: Added.
* kdom/KDOMSettings.cc: Added.
* kdom/KDOMSettings.h: Added.
* kdom/KDOMView.cc: Added.
* kdom/KDOMView.h: Added.
* kdom/NOTES: Added.
* kdom/NamedNodeMap.cc: Added.
* kdom/NamedNodeMap.h: Added.
* kdom/Namespace.h: Added.
* kdom/Node.cc: Added.
* kdom/Node.h: Added.
* kdom/NodeList.cc: Added.
* kdom/NodeList.h: Added.
* kdom/Notation.cc: Added.
* kdom/Notation.h: Added.
* kdom/ProcessingInstruction.cc: Added.
* kdom/ProcessingInstruction.h: Added.
* kdom/Shared.cc: Added.
* kdom/Shared.h: Added.
* kdom/Text.cc: Added.
* kdom/Text.h: Added.
* kdom/TreeShared.h: Added.
* kdom/TypeInfo.cc: Added.
* kdom/TypeInfo.h: Added.
* kdom/backends/libxml/LibXMLParser.cc: Added.
* kdom/backends/libxml/LibXMLParser.h: Added.
* kdom/backends/libxml/LibXMLParser.moc: Added.
* kdom/cache/IconData.h: Added.
* kdom/cache/ImageSource.cc: Added.
* kdom/cache/ImageSource.h: Added.
* kdom/cache/KDOMCache.cc: Added.
* kdom/cache/KDOMCache.h: Added.
* kdom/cache/KDOMCacheHelper.h: Added.
* kdom/cache/KDOMCachedDocument.cc: Added.
* kdom/cache/KDOMCachedDocument.h: Added.
* kdom/cache/KDOMCachedImage.cc: Added.
* kdom/cache/KDOMCachedImage.h: Added.
* kdom/cache/KDOMCachedImage.moc: Added.
* kdom/cache/KDOMCachedObject.cc: Added.
* kdom/cache/KDOMCachedObject.h: Added.
* kdom/cache/KDOMCachedObjectClient.h: Added.
* kdom/cache/KDOMCachedScript.cc: Added.
* kdom/cache/KDOMCachedScript.h: Added.
* kdom/cache/KDOMCachedStyleSheet.cc: Added.
* kdom/cache/KDOMCachedStyleSheet.h: Added.
* kdom/cache/KDOMLoader.cc: Added.
* kdom/cache/KDOMLoader.h: Added.
* kdom/cache/KDOMLoader.moc: Added.
* kdom/css/CSSCharsetRule.cc: Added.
* kdom/css/CSSCharsetRule.h: Added.
* kdom/css/CSSFontFaceRule.cc: Added.
* kdom/css/CSSFontFaceRule.h: Added.
* kdom/css/CSSHelper.h: Added.
* kdom/css/CSSImportRule.cc: Added.
* kdom/css/CSSImportRule.h: Added.
* kdom/css/CSSMediaRule.cc: Added.
* kdom/css/CSSMediaRule.h: Added.
* kdom/css/CSSPageRule.cc: Added.
* kdom/css/CSSPageRule.h: Added.
* kdom/css/CSSPrimitiveValue.cc: Added.
* kdom/css/CSSPrimitiveValue.h: Added.
* kdom/css/CSSRule.cc: Added.
* kdom/css/CSSRule.h: Added.
* kdom/css/CSSRuleList.cc: Added.
* kdom/css/CSSRuleList.h: Added.
* kdom/css/CSSStyleDeclaration.cc: Added.
* kdom/css/CSSStyleDeclaration.h: Added.
* kdom/css/CSSStyleRule.cc: Added.
* kdom/css/CSSStyleRule.h: Added.
* kdom/css/CSSStyleSheet.cc: Added.
* kdom/css/CSSStyleSheet.h: Added.
* kdom/css/CSSUnknownRule.cc: Added.
* kdom/css/CSSUnknownRule.h: Added.
* kdom/css/CSSValue.cc: Added.
* kdom/css/CSSValue.h: Added.
* kdom/css/CSSValueList.cc: Added.
* kdom/css/CSSValueList.h: Added.
* kdom/css/Counter.cc: Added.
* kdom/css/Counter.h: Added.
* kdom/css/DOMImplementationCSS.cc: Added.
* kdom/css/DOMImplementationCSS.h: Added.
* kdom/css/DocumentCSS.cc: Added.
* kdom/css/DocumentCSS.h: Added.
* kdom/css/DocumentStyle.cc: Added.
* kdom/css/DocumentStyle.h: Added.
* kdom/css/LinkStyle.cc: Added.
* kdom/css/LinkStyle.h: Added.
* kdom/css/MediaList.cc: Added.
* kdom/css/MediaList.h: Added.
* kdom/css/RGBColor.cc: Added.
* kdom/css/RGBColor.h: Added.
* kdom/css/Rect.cc: Added.
* kdom/css/Rect.h: Added.
* kdom/css/StyleSheet.cc: Added.
* kdom/css/StyleSheet.h: Added.
* kdom/css/StyleSheetList.cc: Added.
* kdom/css/StyleSheetList.h: Added.
* kdom/css/ViewCSS.cc: Added.
* kdom/css/ViewCSS.h: Added.
* kdom/css/impl/CSSCharsetRuleImpl.cc: Added.
* kdom/css/impl/CSSCharsetRuleImpl.h: Added.
* kdom/css/impl/CSSFontFaceRuleImpl.cc: Added.
* kdom/css/impl/CSSFontFaceRuleImpl.h: Added.
* kdom/css/impl/CSSImageValueImpl.cc: Added.
* kdom/css/impl/CSSImageValueImpl.h: Added.
* kdom/css/impl/CSSImportRuleImpl.cc: Added.
* kdom/css/impl/CSSImportRuleImpl.h: Added.
* kdom/css/impl/CSSMediaRuleImpl.cc: Added.
* kdom/css/impl/CSSMediaRuleImpl.h: Added.
* kdom/css/impl/CSSPageRuleImpl.cc: Added.
* kdom/css/impl/CSSPageRuleImpl.h: Added.
* kdom/css/impl/CSSPrimitiveValueImpl.cc: Added.
* kdom/css/impl/CSSPrimitiveValueImpl.h: Added.
* kdom/css/impl/CSSRuleImpl.cc: Added.
* kdom/css/impl/CSSRuleImpl.h: Added.
* kdom/css/impl/CSSRuleListImpl.cc: Added.
* kdom/css/impl/CSSRuleListImpl.h: Added.
* kdom/css/impl/CSSStyleDeclarationImpl.cc: Added.
* kdom/css/impl/CSSStyleDeclarationImpl.h: Added.
* kdom/css/impl/CSSStyleRuleImpl.cc: Added.
* kdom/css/impl/CSSStyleRuleImpl.h: Added.
* kdom/css/impl/CSSStyleSelector.cc: Added.
* kdom/css/impl/CSSStyleSelector.h: Added.
* kdom/css/impl/CSSStyleSheetImpl.cc: Added.
* kdom/css/impl/CSSStyleSheetImpl.h: Added.
* kdom/css/impl/CSSUnknownRuleImpl.cc: Added.
* kdom/css/impl/CSSUnknownRuleImpl.h: Added.
* kdom/css/impl/CSSValueImpl.cc: Added.
* kdom/css/impl/CSSValueImpl.h: Added.
* kdom/css/impl/CSSValueListImpl.cc: Added.
* kdom/css/impl/CSSValueListImpl.h: Added.
* kdom/css/impl/CounterImpl.cc: Added.
* kdom/css/impl/CounterImpl.h: Added.
* kdom/css/impl/DocumentStyleImpl.cc: Added.
* kdom/css/impl/DocumentStyleImpl.h: Added.
* kdom/css/impl/Font.cc: Added.
* kdom/css/impl/Font.h: Added.
* kdom/css/impl/KDOMCSSParser.cc: Added.
* kdom/css/impl/KDOMCSSParser.h: Added.
* kdom/css/impl/MediaListImpl.cc: Added.
* kdom/css/impl/MediaListImpl.h: Added.
* kdom/css/impl/RGBColorImpl.cc: Added.
* kdom/css/impl/RGBColorImpl.h: Added.
* kdom/css/impl/RectImpl.cc: Added.
* kdom/css/impl/RectImpl.h: Added.
* kdom/css/impl/RenderStyle.cc: Added.
* kdom/css/impl/RenderStyle.h: Added.
* kdom/css/impl/RenderStyleDefs.cc: Added.
* kdom/css/impl/RenderStyleDefs.h: Added.
* kdom/css/impl/StyleBaseImpl.cc: Added.
* kdom/css/impl/StyleBaseImpl.h: Added.
* kdom/css/impl/StyleSheetImpl.cc: Added.
* kdom/css/impl/StyleSheetImpl.h: Added.
* kdom/css/impl/StyleSheetListImpl.cc: Added.
* kdom/css/impl/StyleSheetListImpl.h: Added.
* kdom/css/impl/cssproperties.in: Added.
* kdom/css/impl/cssvalues.in: Added.
* kdom/css/impl/kdomparsercss.y: Added.
* kdom/css/impl/tokenizer.cpp: Added.
* kdom/css/kdomcss.h: Added.
* kdom/data/CSSConstants.h: Added.
* kdom/data/DOMConstants.h: Added.
* kdom/data/EcmaConstants.h: Added.
* kdom/data/EventsConstants.h: Added.
* kdom/data/LSConstants.h: Added.
* kdom/data/RangeConstants.h: Added.
* kdom/data/TraversalConstants.h: Added.
* kdom/data/ViewConstants.h: Added.
* kdom/data/XPathConstants.h: Added.
* kdom/data/generateddata.cc: Added.
* kdom/ecma/Constructors.cc: Added.
* kdom/ecma/Constructors.h: Added.
* kdom/ecma/DOMBridge.h: Added.
* kdom/ecma/DOMLookup.h: Added.
* kdom/ecma/Ecma.cc: Added.
* kdom/ecma/Ecma.h: Added.
* kdom/ecma/EcmaInterface.h: Added.
* kdom/ecma/GlobalObject.cc: Added.
* kdom/ecma/GlobalObject.h: Added.
* kdom/ecma/GlobalObject.moc: Added.
* kdom/ecma/Helper.cc: Added.
* kdom/ecma/ScriptInterpreter.cc: Added.
* kdom/ecma/ScriptInterpreter.h: Added.
* kdom/events/DocumentEvent.cc: Added.
* kdom/events/DocumentEvent.h: Added.
* kdom/events/Event.cc: Added.
* kdom/events/Event.h: Added.
* kdom/events/EventException.cc: Added.
* kdom/events/EventException.h: Added.
* kdom/events/EventListener.cc: Added.
* kdom/events/EventListener.h: Added.
* kdom/events/EventTarget.cc: Added.
* kdom/events/EventTarget.h: Added.
* kdom/events/KeyboardEvent.cc: Added.
* kdom/events/KeyboardEvent.h: Added.
* kdom/events/MouseEvent.cc: Added.
* kdom/events/MouseEvent.h: Added.
* kdom/events/MutationEvent.cc: Added.
* kdom/events/MutationEvent.h: Added.
* kdom/events/UIEvent.cc: Added.
* kdom/events/UIEvent.h: Added.
* kdom/events/impl/DocumentEventImpl.cc: Added.
* kdom/events/impl/DocumentEventImpl.h: Added.
* kdom/events/impl/EventExceptionImpl.cc: Added.
* kdom/events/impl/EventExceptionImpl.h: Added.
* kdom/events/impl/EventImpl.cc: Added.
* kdom/events/impl/EventImpl.h: Added.
* kdom/events/impl/EventListenerImpl.cc: Added.
* kdom/events/impl/EventListenerImpl.h: Added.
* kdom/events/impl/EventTargetImpl.cc: Added.
* kdom/events/impl/EventTargetImpl.h: Added.
* kdom/events/impl/KeyboardEventImpl.cc: Added.
* kdom/events/impl/KeyboardEventImpl.h: Added.
* kdom/events/impl/MouseEventImpl.cc: Added.
* kdom/events/impl/MouseEventImpl.h: Added.
* kdom/events/impl/MutationEventImpl.cc: Added.
* kdom/events/impl/MutationEventImpl.h: Added.
* kdom/events/impl/RegisteredEventListener.cc: Added.
* kdom/events/impl/RegisteredEventListener.h: Added.
* kdom/events/impl/UIEventImpl.cc: Added.
* kdom/events/impl/UIEventImpl.h: Added.
* kdom/events/kdomevents.h: Added.
* kdom/impl/AttrImpl.cc: Added.
* kdom/impl/AttrImpl.h: Added.
* kdom/impl/CDATASectionImpl.cc: Added.
* kdom/impl/CDATASectionImpl.h: Added.
* kdom/impl/CDFInterface.cc: Added.
* kdom/impl/CDFInterface.h: Added.
* kdom/impl/CharacterDataImpl.cc: Added.
* kdom/impl/CharacterDataImpl.h: Added.
* kdom/impl/CommentImpl.cc: Added.
* kdom/impl/CommentImpl.h: Added.
* kdom/impl/DOMConfigurationImpl.cc: Added.
* kdom/impl/DOMConfigurationImpl.h: Added.
* kdom/impl/DOMErrorHandlerImpl.cc: Added.
* kdom/impl/DOMErrorHandlerImpl.h: Added.
* kdom/impl/DOMErrorImpl.cc: Added.
* kdom/impl/DOMErrorImpl.h: Added.
* kdom/impl/DOMExceptionImpl.cc: Added.
* kdom/impl/DOMExceptionImpl.h: Added.
* kdom/impl/DOMImplementationImpl.cc: Added.
* kdom/impl/DOMImplementationImpl.h: Added.
* kdom/impl/DOMList.h: Added.
* kdom/impl/DOMLocatorImpl.cc: Added.
* kdom/impl/DOMLocatorImpl.h: Added.
* kdom/impl/DOMStringImpl.cc: Added.
* kdom/impl/DOMStringImpl.h: Added.
* kdom/impl/DOMStringListImpl.cc: Added.
* kdom/impl/DOMStringListImpl.h: Added.
* kdom/impl/DOMUserDataImpl.cc: Added.
* kdom/impl/DOMUserDataImpl.h: Added.
* kdom/impl/DocumentFragmentImpl.cc: Added.
* kdom/impl/DocumentFragmentImpl.h: Added.
* kdom/impl/DocumentImpl.cc: Added.
* kdom/impl/DocumentImpl.h: Added.
* kdom/impl/DocumentTypeImpl.cc: Added.
* kdom/impl/DocumentTypeImpl.h: Added.
* kdom/impl/ElementImpl.cc: Added.
* kdom/impl/ElementImpl.h: Added.
* kdom/impl/EntityImpl.cc: Added.
* kdom/impl/EntityImpl.h: Added.
* kdom/impl/EntityReferenceImpl.cc: Added.
* kdom/impl/EntityReferenceImpl.h: Added.
* kdom/impl/NamedAttrMapImpl.cc: Added.
* kdom/impl/NamedAttrMapImpl.h: Added.
* kdom/impl/NamedNodeMapImpl.cc: Added.
* kdom/impl/NamedNodeMapImpl.h: Added.
* kdom/impl/NodeImpl.cc: Added.
* kdom/impl/NodeImpl.h: Added.
* kdom/impl/NodeKeeper.cc: Added.
* kdom/impl/NodeKeeper.h: Added.
* kdom/impl/NodeListImpl.cc: Added.
* kdom/impl/NodeListImpl.h: Added.
* kdom/impl/NotationImpl.cc: Added.
* kdom/impl/NotationImpl.h: Added.
* kdom/impl/ProcessingInstructionImpl.cc: Added.
* kdom/impl/ProcessingInstructionImpl.h: Added.
* kdom/impl/TagNodeListImpl.cc: Added.
* kdom/impl/TagNodeListImpl.h: Added.
* kdom/impl/TextImpl.cc: Added.
* kdom/impl/TextImpl.h: Added.
* kdom/impl/TypeInfoImpl.cc: Added.
* kdom/impl/TypeInfoImpl.h: Added.
* kdom/impl/XMLElementImpl.cc: Added.
* kdom/impl/XMLElementImpl.h: Added.
* kdom/impl/domattrs.c: Added.
* kdom/impl/domattrs.h: Added.
* kdom/impl/domattrs.in: Added.
* kdom/kdom.h: Added.
* kdom/ls/DOMImplementationLS.cc: Added.
* kdom/ls/DOMImplementationLS.h: Added.
* kdom/ls/LSException.cc: Added.
* kdom/ls/LSException.h: Added.
* kdom/ls/LSInput.cc: Added.
* kdom/ls/LSInput.h: Added.
* kdom/ls/LSOutput.cc: Added.
* kdom/ls/LSOutput.h: Added.
* kdom/ls/LSParser.cc: Added.
* kdom/ls/LSParser.h: Added.
* kdom/ls/LSParserFilter.cc: Added.
* kdom/ls/LSParserFilter.h: Added.
* kdom/ls/LSResourceResolver.cc: Added.
* kdom/ls/LSResourceResolver.h: Added.
* kdom/ls/LSSerializer.cc: Added.
* kdom/ls/LSSerializer.h: Added.
* kdom/ls/LSSerializerFilter.cc: Added.
* kdom/ls/LSSerializerFilter.h: Added.
* kdom/ls/impl/LSExceptionImpl.cc: Added.
* kdom/ls/impl/LSExceptionImpl.h: Added.
* kdom/ls/impl/LSInputImpl.cc: Added.
* kdom/ls/impl/LSInputImpl.h: Added.
* kdom/ls/impl/LSOutputImpl.cc: Added.
* kdom/ls/impl/LSOutputImpl.h: Added.
* kdom/ls/impl/LSParserFilterImpl.cc: Added.
* kdom/ls/impl/LSParserFilterImpl.h: Added.
* kdom/ls/impl/LSParserImpl.cc: Added.
* kdom/ls/impl/LSParserImpl.h: Added.
* kdom/ls/impl/LSResourceResolverImpl.cc: Added.
* kdom/ls/impl/LSResourceResolverImpl.h: Added.
* kdom/ls/impl/LSSerializerFilterImpl.cc: Added.
* kdom/ls/impl/LSSerializerFilterImpl.h: Added.
* kdom/ls/impl/LSSerializerImpl.cc: Added.
* kdom/ls/impl/LSSerializerImpl.h: Added.
* kdom/ls/kdomls.h: Added.
* kdom/parser/KDOMDataSlave.moc: Added.
* kdom/parser/KDOMDocumentBuilder.cc: Added.
* kdom/parser/KDOMDocumentBuilder.h: Added.
* kdom/parser/KDOMParser.cc: Added.
* kdom/parser/KDOMParser.h: Added.
* kdom/parser/KDOMParser.moc: Added.
* kdom/range/DocumentRange.cc: Added.
* kdom/range/DocumentRange.h: Added.
* kdom/range/Range.cc: Added.
* kdom/range/Range.h: Added.
* kdom/range/RangeException.cc: Added.
* kdom/range/RangeException.h: Added.
* kdom/range/impl/DocumentRangeImpl.cc: Added.
* kdom/range/impl/DocumentRangeImpl.h: Added.
* kdom/range/impl/RangeExceptionImpl.cc: Added.
* kdom/range/impl/RangeExceptionImpl.h: Added.
* kdom/range/impl/RangeImpl.cc: Added.
* kdom/range/impl/RangeImpl.h: Added.
* kdom/range/kdomrange.h: Added.
* kdom/scripts/OVERVIEW: Added.
* kdom/scripts/constants.pl: Added.
* kdom/scripts/css.idl: Added.
* kdom/scripts/cssmakeprops: Added.
* kdom/scripts/cssmakevalues: Added.
* kdom/scripts/dom2-core.idl: Added.
* kdom/scripts/dom2-events.idl: Added.
* kdom/scripts/dom2-range.idl: Added.
* kdom/scripts/dom2-traversal.idl: Added.
* kdom/scripts/dom2-views.idl: Added.
* kdom/scripts/dommakeattrs: Added.
* kdom/scripts/generate.pl: Added.
* kdom/scripts/kalyptusKDOMEcma.pm: Added.
* kdom/scripts/stylesheets.idl: Added.
* kdom/traversal/DocumentTraversal.cc: Added.
* kdom/traversal/DocumentTraversal.h: Added.
* kdom/traversal/NodeFilter.cc: Added.
* kdom/traversal/NodeFilter.h: Added.
* kdom/traversal/NodeIterator.cc: Added.
* kdom/traversal/NodeIterator.h: Added.
* kdom/traversal/TreeWalker.cc: Added.
* kdom/traversal/TreeWalker.h: Added.
* kdom/traversal/impl/DocumentTraversalImpl.cc: Added.
* kdom/traversal/impl/DocumentTraversalImpl.h: Added.
* kdom/traversal/impl/NodeFilterImpl.cc: Added.
* kdom/traversal/impl/NodeFilterImpl.h: Added.
* kdom/traversal/impl/NodeIteratorImpl.cc: Added.
* kdom/traversal/impl/NodeIteratorImpl.h: Added.
* kdom/traversal/impl/TraversalImpl.cc: Added.
* kdom/traversal/impl/TraversalImpl.h: Added.
* kdom/traversal/impl/TreeWalkerImpl.cc: Added.
* kdom/traversal/impl/TreeWalkerImpl.h: Added.
* kdom/traversal/kdomtraversal.h: Added.
* kdom/views/AbstractView.cc: Added.
* kdom/views/AbstractView.h: Added.
* kdom/views/DocumentView.cc: Added.
* kdom/views/DocumentView.h: Added.
* kdom/views/impl/AbstractViewImpl.cc: Added.
* kdom/views/impl/AbstractViewImpl.h: Added.
* kdom/views/impl/DocumentViewImpl.cc: Added.
* kdom/views/impl/DocumentViewImpl.h: Added.
* kdom/xpath/XPathEvaluator.cc: Added.
* kdom/xpath/XPathEvaluator.h: Added.
* kdom/xpath/XPathException.cc: Added.
* kdom/xpath/XPathException.h: Added.
* kdom/xpath/XPathExpression.cc: Added.
* kdom/xpath/XPathExpression.h: Added.
* kdom/xpath/XPathNSResolver.cc: Added.
* kdom/xpath/XPathNSResolver.h: Added.
* kdom/xpath/XPathNamespace.cc: Added.
* kdom/xpath/XPathNamespace.h: Added.
* kdom/xpath/XPathResult.cc: Added.
* kdom/xpath/XPathResult.h: Added.
* kdom/xpath/impl/AxisImpl.cc: Added.
* kdom/xpath/impl/AxisImpl.h: Added.
* kdom/xpath/impl/ContextImpl.cc: Added.
* kdom/xpath/impl/ContextImpl.h: Added.
* kdom/xpath/impl/ExprNodeImpl.cc: Added.
* kdom/xpath/impl/ExprNodeImpl.h: Added.
* kdom/xpath/impl/FILES: Added.
* kdom/xpath/impl/LiteralImpl.cc: Added.
* kdom/xpath/impl/LiteralImpl.h: Added.
* kdom/xpath/impl/OperatorImpl.cc: Added.
* kdom/xpath/impl/OperatorImpl.h: Added.
* kdom/xpath/impl/ScopeImpl.cc: Added.
* kdom/xpath/impl/ScopeImpl.h: Added.
* kdom/xpath/impl/StepImpl.cc: Added.
* kdom/xpath/impl/StepImpl.h: Added.
* kdom/xpath/impl/VariableRefImpl.cc: Added.
* kdom/xpath/impl/VariableRefImpl.h: Added.
* kdom/xpath/impl/XPathCustomExceptionImpl.cc: Added.
* kdom/xpath/impl/XPathCustomExceptionImpl.h: Added.
* kdom/xpath/impl/XPathEvaluatorImpl.cc: Added.
* kdom/xpath/impl/XPathEvaluatorImpl.h: Added.
* kdom/xpath/impl/XPathExceptionImpl.cc: Added.
* kdom/xpath/impl/XPathExceptionImpl.h: Added.
* kdom/xpath/impl/XPathExpressionFilterImpl.cc: Added.
* kdom/xpath/impl/XPathExpressionFilterImpl.h: Added.
* kdom/xpath/impl/XPathExpressionImpl.cc: Added.
* kdom/xpath/impl/XPathExpressionImpl.h: Added.
* kdom/xpath/impl/XPathFactory1Impl.cc: Added.
* kdom/xpath/impl/XPathFactory1Impl.h: Added.
* kdom/xpath/impl/XPathFactoryBaseImpl.cc: Added.
* kdom/xpath/impl/XPathFactoryBaseImpl.h: Added.
* kdom/xpath/impl/XPathHelper.cc: Added.
* kdom/xpath/impl/XPathHelper.h: Added.
* kdom/xpath/impl/XPathNSResolverImpl.cc: Added.
* kdom/xpath/impl/XPathNSResolverImpl.h: Added.
* kdom/xpath/impl/XPathNamespaceImpl.cc: Added.
* kdom/xpath/impl/XPathNamespaceImpl.h: Added.
* kdom/xpath/impl/XPathResultImpl.cc: Added.
* kdom/xpath/impl/XPathResultImpl.h: Added.
* kdom/xpath/impl/data/BooleanImpl.cc: Added.
* kdom/xpath/impl/data/BooleanImpl.h: Added.
* kdom/xpath/impl/data/NodeSetImpl.cc: Added.
* kdom/xpath/impl/data/NodeSetImpl.h: Added.
* kdom/xpath/impl/data/NumberImpl.cc: Added.
* kdom/xpath/impl/data/NumberImpl.h: Added.
* kdom/xpath/impl/data/StringImpl.cc: Added.
* kdom/xpath/impl/data/StringImpl.h: Added.
* kdom/xpath/impl/data/ValueImpl.cc: Added.
* kdom/xpath/impl/data/ValueImpl.h: Added.
* kdom/xpath/impl/functions1/FunctionCallImpl.cc: Added.
* kdom/xpath/impl/functions1/FunctionCallImpl.h: Added.
* kdom/xpath/impl/functions1/README: Added.
* kdom/xpath/impl/functions1/boolean_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/boolean_fnxp1.h: Added.
* kdom/xpath/impl/functions1/ceiling_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/ceiling_fnxp1.h: Added.
* kdom/xpath/impl/functions1/concat_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/concat_fnxp1.h: Added.
* kdom/xpath/impl/functions1/contains_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/contains_fnxp1.h: Added.
* kdom/xpath/impl/functions1/false_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/false_fnxp1.h: Added.
* kdom/xpath/impl/functions1/floor_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/floor_fnxp1.h: Added.
* kdom/xpath/impl/functions1/normalize-space_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/normalize-space_fnxp1.h: Added.
* kdom/xpath/impl/functions1/not_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/not_fnxp1.h: Added.
* kdom/xpath/impl/functions1/number_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/number_fnxp1.h: Added.
* kdom/xpath/impl/functions1/round_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/round_fnxp1.h: Added.
* kdom/xpath/impl/functions1/starts-with_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/starts-with_fnxp1.h: Added.
* kdom/xpath/impl/functions1/string-length_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/string-length_fnxp1.h: Added.
* kdom/xpath/impl/functions1/string_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/string_fnxp1.h: Added.
* kdom/xpath/impl/functions1/substring-after_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/substring-after_fnxp1.h: Added.
* kdom/xpath/impl/functions1/substring-before_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/substring-before_fnxp1.h: Added.
* kdom/xpath/impl/functions1/substring_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/substring_fnxp1.h: Added.
* kdom/xpath/impl/functions1/true_fnxp1.cc: Added.
* kdom/xpath/impl/functions1/true_fnxp1.h: Added.
* kdom/xpath/impl/parser/Lexer.cc: Added.
* kdom/xpath/impl/parser/Lexer.h: Added.
* kdom/xpath/impl/parser/Lexer.l: Added.
* kdom/xpath/impl/parser/ParserState.cc: Added.
* kdom/xpath/impl/parser/ParserState.h: Added.
* kdom/xpath/impl/parser/xpath.ypp: Added.
* kdom/xpath/impl/utils/QNameImpl.cc: Added.
* kdom/xpath/impl/utils/QNameImpl.h: Added.
* kdom/xpath/kdomxpath.h: Added.
* kdom/xpointer/XPointerEvaluator.cc: Added.
* kdom/xpointer/XPointerEvaluator.h: Added.
* kdom/xpointer/XPointerException.cc: Added.
* kdom/xpointer/XPointerException.h: Added.
* kdom/xpointer/XPointerExpression.cc: Added.
* kdom/xpointer/XPointerExpression.h: Added.
* kdom/xpointer/XPointerHelper.cc: Added.
* kdom/xpointer/XPointerHelper.h: Added.
* kdom/xpointer/XPointerResult.cc: Added.
* kdom/xpointer/XPointerResult.h: Added.
* kdom/xpointer/impl/ElementSchemeImpl.cc: Added.
* kdom/xpointer/impl/ElementSchemeImpl.h: Added.
* kdom/xpointer/impl/NBCImpl.cc: Added.
* kdom/xpointer/impl/NBCImpl.h: Added.
* kdom/xpointer/impl/PointerPartImpl.cc: Added.
* kdom/xpointer/impl/PointerPartImpl.h: Added.
* kdom/xpointer/impl/ShortHandImpl.cc: Added.
* kdom/xpointer/impl/ShortHandImpl.h: Added.
* kdom/xpointer/impl/XMLNSSchemeImpl.cc: Added.
* kdom/xpointer/impl/XMLNSSchemeImpl.h: Added.
* kdom/xpointer/impl/XPath1SchemeImpl.cc: Added.
* kdom/xpointer/impl/XPath1SchemeImpl.h: Added.
* kdom/xpointer/impl/XPointerEvaluatorImpl.cc: Added.
* kdom/xpointer/impl/XPointerEvaluatorImpl.h: Added.
* kdom/xpointer/impl/XPointerExceptionImpl.cc: Added.
* kdom/xpointer/impl/XPointerExceptionImpl.h: Added.
* kdom/xpointer/impl/XPointerExpressionImpl.cc: Added.
* kdom/xpointer/impl/XPointerExpressionImpl.h: Added.
* kdom/xpointer/impl/XPointerResultImpl.cc: Added.
* kdom/xpointer/impl/XPointerResultImpl.h: Added.
* kdom/xpointer/impl/XPointerSchemeImpl.cc: Added.
* kdom/xpointer/impl/XPointerSchemeImpl.h: Added.
* kdom/xpointer/kdomxpointer.h: Added.
* ksvg2/KSVGFactory.cc: Added.
* ksvg2/KSVGFactory.h: Added.
* ksvg2/KSVGSettings.cc: Added.
* ksvg2/KSVGSettings.h: Added.
* ksvg2/KSVGSlotStubs.h: Added.
* ksvg2/KWQKSVGPart.h: Added.
* ksvg2/KWQKSVGPart.mm: Added.
* ksvg2/KWQKSVGView.h: Added.
* ksvg2/KWQKSVGView.mm: Added.
* ksvg2/css/impl/KSVGCSSParser.cc: Added.
* ksvg2/css/impl/KSVGCSSParser.h: Added.
* ksvg2/css/impl/SVGCSSStyleDeclarationImpl.cc: Added.
* ksvg2/css/impl/SVGCSSStyleDeclarationImpl.h: Added.
* ksvg2/css/impl/SVGCSSStyleSelector.cc: Added.
* ksvg2/css/impl/SVGCSSStyleSelector.h: Added.
* ksvg2/css/impl/SVGCSSStyleSheetImpl.cc: Added.
* ksvg2/css/impl/SVGCSSStyleSheetImpl.h: Added.
* ksvg2/css/impl/SVGRenderStyle.cc: Added.
* ksvg2/css/impl/SVGRenderStyle.h: Added.
* ksvg2/css/impl/SVGRenderStyleDefs.cc: Added.
* ksvg2/css/impl/SVGRenderStyleDefs.h: Added.
* ksvg2/css/impl/cssproperties.in: Added.
* ksvg2/css/impl/cssvalues.in: Added.
* ksvg2/css/impl/svg.css: Added.
* ksvg2/data/CSSConstants.h: Added.
* ksvg2/data/EcmaConstants.h: Added.
* ksvg2/data/EventsConstants.h: Added.
* ksvg2/data/SVGConstants.h: Added.
* ksvg2/data/generateddata.cc: Added.
* ksvg2/dom/SVGAElement.cc: Added.
* ksvg2/dom/SVGAElement.h: Added.
* ksvg2/dom/SVGAngle.cc: Added.
* ksvg2/dom/SVGAngle.h: Added.
* ksvg2/dom/SVGAnimateColorElement.cc: Added.
* ksvg2/dom/SVGAnimateColorElement.h: Added.
* ksvg2/dom/SVGAnimateElement.cc: Added.
* ksvg2/dom/SVGAnimateElement.h: Added.
* ksvg2/dom/SVGAnimateTransformElement.cc: Added.
* ksvg2/dom/SVGAnimateTransformElement.h: Added.
* ksvg2/dom/SVGAnimatedAngle.cc: Added.
* ksvg2/dom/SVGAnimatedAngle.h: Added.
* ksvg2/dom/SVGAnimatedBoolean.cc: Added.
* ksvg2/dom/SVGAnimatedBoolean.h: Added.
* ksvg2/dom/SVGAnimatedEnumeration.cc: Added.
* ksvg2/dom/SVGAnimatedEnumeration.h: Added.
* ksvg2/dom/SVGAnimatedInteger.cc: Added.
* ksvg2/dom/SVGAnimatedInteger.h: Added.
* ksvg2/dom/SVGAnimatedLength.cc: Added.
* ksvg2/dom/SVGAnimatedLength.h: Added.
* ksvg2/dom/SVGAnimatedLengthList.cc: Added.
* ksvg2/dom/SVGAnimatedLengthList.h: Added.
* ksvg2/dom/SVGAnimatedNumber.cc: Added.
* ksvg2/dom/SVGAnimatedNumber.h: Added.
* ksvg2/dom/SVGAnimatedNumberList.cc: Added.
* ksvg2/dom/SVGAnimatedNumberList.h: Added.
* ksvg2/dom/SVGAnimatedPathData.cc: Added.
* ksvg2/dom/SVGAnimatedPathData.h: Added.
* ksvg2/dom/SVGAnimatedPoints.cc: Added.
* ksvg2/dom/SVGAnimatedPoints.h: Added.
* ksvg2/dom/SVGAnimatedPreserveAspectRatio.cc: Added.
* ksvg2/dom/SVGAnimatedPreserveAspectRatio.h: Added.
* ksvg2/dom/SVGAnimatedRect.cc: Added.
* ksvg2/dom/SVGAnimatedRect.h: Added.
* ksvg2/dom/SVGAnimatedString.cc: Added.
* ksvg2/dom/SVGAnimatedString.h: Added.
* ksvg2/dom/SVGAnimatedTransformList.cc: Added.
* ksvg2/dom/SVGAnimatedTransformList.h: Added.
* ksvg2/dom/SVGAnimationElement.cc: Added.
* ksvg2/dom/SVGAnimationElement.h: Added.
* ksvg2/dom/SVGCircleElement.cc: Added.
* ksvg2/dom/SVGCircleElement.h: Added.
* ksvg2/dom/SVGClipPathElement.cc: Added.
* ksvg2/dom/SVGClipPathElement.h: Added.
* ksvg2/dom/SVGColor.cc: Added.
* ksvg2/dom/SVGColor.h: Added.
* ksvg2/dom/SVGComponentTransferFunctionElement.cc: Added.
* ksvg2/dom/SVGComponentTransferFunctionElement.h: Added.
* ksvg2/dom/SVGDOMImplementation.cc: Added.
* ksvg2/dom/SVGDOMImplementation.h: Added.
* ksvg2/dom/SVGDefsElement.cc: Added.
* ksvg2/dom/SVGDefsElement.h: Added.
* ksvg2/dom/SVGDescElement.cc: Added.
* ksvg2/dom/SVGDescElement.h: Added.
* ksvg2/dom/SVGDocument.cc: Added.
* ksvg2/dom/SVGDocument.h: Added.
* ksvg2/dom/SVGElement.cc: Added.
* ksvg2/dom/SVGElement.h: Added.
* ksvg2/dom/SVGElementInstance.cc: Added.
* ksvg2/dom/SVGElementInstance.h: Added.
* ksvg2/dom/SVGElementInstanceList.cc: Added.
* ksvg2/dom/SVGElementInstanceList.h: Added.
* ksvg2/dom/SVGEllipseElement.cc: Added.
* ksvg2/dom/SVGEllipseElement.h: Added.
* ksvg2/dom/SVGException.cc: Added.
* ksvg2/dom/SVGException.h: Added.
* ksvg2/dom/SVGExternalResourcesRequired.cc: Added.
* ksvg2/dom/SVGExternalResourcesRequired.h: Added.
* ksvg2/dom/SVGFEBlendElement.cc: Added.
* ksvg2/dom/SVGFEBlendElement.h: Added.
* ksvg2/dom/SVGFEColorMatrixElement.cc: Added.
* ksvg2/dom/SVGFEColorMatrixElement.h: Added.
* ksvg2/dom/SVGFEComponentTransferElement.cc: Added.
* ksvg2/dom/SVGFEComponentTransferElement.h: Added.
* ksvg2/dom/SVGFECompositeElement.cc: Added.
* ksvg2/dom/SVGFECompositeElement.h: Added.
* ksvg2/dom/SVGFEFloodElement.cc: Added.
* ksvg2/dom/SVGFEFloodElement.h: Added.
* ksvg2/dom/SVGFEFuncAElement.cc: Added.
* ksvg2/dom/SVGFEFuncAElement.h: Added.
* ksvg2/dom/SVGFEFuncBElement.cc: Added.
* ksvg2/dom/SVGFEFuncBElement.h: Added.
* ksvg2/dom/SVGFEFuncGElement.cc: Added.
* ksvg2/dom/SVGFEFuncGElement.h: Added.
* ksvg2/dom/SVGFEFuncRElement.cc: Added.
* ksvg2/dom/SVGFEFuncRElement.h: Added.
* ksvg2/dom/SVGFEGaussianBlurElement.cc: Added.
* ksvg2/dom/SVGFEGaussianBlurElement.h: Added.
* ksvg2/dom/SVGFEImageElement.cc: Added.
* ksvg2/dom/SVGFEImageElement.h: Added.
* ksvg2/dom/SVGFEMergeElement.cc: Added.
* ksvg2/dom/SVGFEMergeElement.h: Added.
* ksvg2/dom/SVGFEMergeNodeElement.cc: Added.
* ksvg2/dom/SVGFEMergeNodeElement.h: Added.
* ksvg2/dom/SVGFEOffsetElement.cc: Added.
* ksvg2/dom/SVGFEOffsetElement.h: Added.
* ksvg2/dom/SVGFETileElement.cc: Added.
* ksvg2/dom/SVGFETileElement.h: Added.
* ksvg2/dom/SVGFETurbulenceElement.cc: Added.
* ksvg2/dom/SVGFETurbulenceElement.h: Added.
* ksvg2/dom/SVGFilterElement.cc: Added.
* ksvg2/dom/SVGFilterElement.h: Added.
* ksvg2/dom/SVGFilterPrimitiveStandardAttributes.cc: Added.
* ksvg2/dom/SVGFilterPrimitiveStandardAttributes.h: Added.
* ksvg2/dom/SVGFitToViewBox.cc: Added.
* ksvg2/dom/SVGFitToViewBox.h: Added.
* ksvg2/dom/SVGGElement.cc: Added.
* ksvg2/dom/SVGGElement.h: Added.
* ksvg2/dom/SVGGradientElement.cc: Added.
* ksvg2/dom/SVGGradientElement.h: Added.
* ksvg2/dom/SVGImageElement.cc: Added.
* ksvg2/dom/SVGImageElement.h: Added.
* ksvg2/dom/SVGLangSpace.cc: Added.
* ksvg2/dom/SVGLangSpace.h: Added.
* ksvg2/dom/SVGLength.cc: Added.
* ksvg2/dom/SVGLength.h: Added.
* ksvg2/dom/SVGLengthList.cc: Added.
* ksvg2/dom/SVGLengthList.h: Added.
* ksvg2/dom/SVGLineElement.cc: Added.
* ksvg2/dom/SVGLineElement.h: Added.
* ksvg2/dom/SVGLinearGradientElement.cc: Added.
* ksvg2/dom/SVGLinearGradientElement.h: Added.
* ksvg2/dom/SVGLocatable.cc: Added.
* ksvg2/dom/SVGLocatable.h: Added.
* ksvg2/dom/SVGMarkerElement.cc: Added.
* ksvg2/dom/SVGMarkerElement.h: Added.
* ksvg2/dom/SVGMatrix.cc: Added.
* ksvg2/dom/SVGMatrix.h: Added.
* ksvg2/dom/SVGNumber.cc: Added.
* ksvg2/dom/SVGNumber.h: Added.
* ksvg2/dom/SVGNumberList.cc: Added.
* ksvg2/dom/SVGNumberList.h: Added.
* ksvg2/dom/SVGPaint.cc: Added.
* ksvg2/dom/SVGPaint.h: Added.
* ksvg2/dom/SVGPathElement.cc: Added.
* ksvg2/dom/SVGPathElement.h: Added.
* ksvg2/dom/SVGPathSeg.cc: Added.
* ksvg2/dom/SVGPathSeg.h: Added.
* ksvg2/dom/SVGPathSegArc.cc: Added.
* ksvg2/dom/SVGPathSegArc.h: Added.
* ksvg2/dom/SVGPathSegClosePath.cc: Added.
* ksvg2/dom/SVGPathSegClosePath.h: Added.
* ksvg2/dom/SVGPathSegCurvetoCubic.cc: Added.
* ksvg2/dom/SVGPathSegCurvetoCubic.h: Added.
* ksvg2/dom/SVGPathSegCurvetoCubicSmooth.cc: Added.
* ksvg2/dom/SVGPathSegCurvetoCubicSmooth.h: Added.
* ksvg2/dom/SVGPathSegCurvetoQuadratic.cc: Added.
* ksvg2/dom/SVGPathSegCurvetoQuadratic.h: Added.
* ksvg2/dom/SVGPathSegCurvetoQuadraticSmooth.cc: Added.
* ksvg2/dom/SVGPathSegCurvetoQuadraticSmooth.h: Added.
* ksvg2/dom/SVGPathSegLineto.cc: Added.
* ksvg2/dom/SVGPathSegLineto.h: Added.
* ksvg2/dom/SVGPathSegLinetoHorizontal.cc: Added.
* ksvg2/dom/SVGPathSegLinetoHorizontal.h: Added.
* ksvg2/dom/SVGPathSegLinetoVertical.cc: Added.
* ksvg2/dom/SVGPathSegLinetoVertical.h: Added.
* ksvg2/dom/SVGPathSegList.cc: Added.
* ksvg2/dom/SVGPathSegList.h: Added.
* ksvg2/dom/SVGPathSegMoveto.cc: Added.
* ksvg2/dom/SVGPathSegMoveto.h: Added.
* ksvg2/dom/SVGPatternElement.cc: Added.
* ksvg2/dom/SVGPatternElement.h: Added.
* ksvg2/dom/SVGPoint.cc: Added.
* ksvg2/dom/SVGPoint.h: Added.
* ksvg2/dom/SVGPointList.cc: Added.
* ksvg2/dom/SVGPointList.h: Added.
* ksvg2/dom/SVGPolygonElement.cc: Added.
* ksvg2/dom/SVGPolygonElement.h: Added.
* ksvg2/dom/SVGPolylineElement.cc: Added.
* ksvg2/dom/SVGPolylineElement.h: Added.
* ksvg2/dom/SVGPreserveAspectRatio.cc: Added.
* ksvg2/dom/SVGPreserveAspectRatio.h: Added.
* ksvg2/dom/SVGRadialGradientElement.cc: Added.
* ksvg2/dom/SVGRadialGradientElement.h: Added.
* ksvg2/dom/SVGRect.cc: Added.
* ksvg2/dom/SVGRect.h: Added.
* ksvg2/dom/SVGRectElement.cc: Added.
* ksvg2/dom/SVGRectElement.h: Added.
* ksvg2/dom/SVGSVGElement.cc: Added.
* ksvg2/dom/SVGSVGElement.h: Added.
* ksvg2/dom/SVGScriptElement.cc: Added.
* ksvg2/dom/SVGScriptElement.h: Added.
* ksvg2/dom/SVGSetElement.cc: Added.
* ksvg2/dom/SVGSetElement.h: Added.
* ksvg2/dom/SVGStopElement.cc: Added.
* ksvg2/dom/SVGStopElement.h: Added.
* ksvg2/dom/SVGStringList.cc: Added.
* ksvg2/dom/SVGStringList.h: Added.
* ksvg2/dom/SVGStylable.cc: Added.
* ksvg2/dom/SVGStylable.h: Added.
* ksvg2/dom/SVGStyleElement.cc: Added.
* ksvg2/dom/SVGStyleElement.h: Added.
* ksvg2/dom/SVGSwitchElement.cc: Added.
* ksvg2/dom/SVGSwitchElement.h: Added.
* ksvg2/dom/SVGSymbolElement.cc: Added.
* ksvg2/dom/SVGSymbolElement.h: Added.
* ksvg2/dom/SVGTSpanElement.cc: Added.
* ksvg2/dom/SVGTSpanElement.h: Added.
* ksvg2/dom/SVGTests.cc: Added.
* ksvg2/dom/SVGTests.h: Added.
* ksvg2/dom/SVGTextContentElement.cc: Added.
* ksvg2/dom/SVGTextContentElement.h: Added.
* ksvg2/dom/SVGTextElement.cc: Added.
* ksvg2/dom/SVGTextElement.h: Added.
* ksvg2/dom/SVGTextPositioningElement.cc: Added.
* ksvg2/dom/SVGTextPositioningElement.h: Added.
* ksvg2/dom/SVGTitleElement.cc: Added.
* ksvg2/dom/SVGTitleElement.h: Added.
* ksvg2/dom/SVGTransform.cc: Added.
* ksvg2/dom/SVGTransform.h: Added.
* ksvg2/dom/SVGTransformList.cc: Added.
* ksvg2/dom/SVGTransformList.h: Added.
* ksvg2/dom/SVGTransformable.cc: Added.
* ksvg2/dom/SVGTransformable.h: Added.
* ksvg2/dom/SVGURIReference.cc: Added.
* ksvg2/dom/SVGURIReference.h: Added.
* ksvg2/dom/SVGUseElement.cc: Added.
* ksvg2/dom/SVGUseElement.h: Added.
* ksvg2/dom/SVGViewElement.cc: Added.
* ksvg2/dom/SVGViewElement.h: Added.
* ksvg2/dom/SVGZoomAndPan.cc: Added.
* ksvg2/dom/SVGZoomAndPan.h: Added.
* ksvg2/ecma/Constructors.cc: Added.
* ksvg2/ecma/Constructors.h: Added.
* ksvg2/ecma/Ecma.cc: Added.
* ksvg2/ecma/Ecma.h: Added.
* ksvg2/ecma/EcmaInterface.h: Added.
* ksvg2/ecma/GlobalObject.cc: Added.
* ksvg2/ecma/GlobalObject.h: Added.
* ksvg2/ecma/SVGLookup.h: Added.
* ksvg2/events/SVGEvent.cc: Added.
* ksvg2/events/SVGEvent.h: Added.
* ksvg2/events/SVGZoomEvent.cc: Added.
* ksvg2/events/SVGZoomEvent.h: Added.
* ksvg2/events/impl/SVGEventImpl.cc: Added.
* ksvg2/events/impl/SVGEventImpl.h: Added.
* ksvg2/events/impl/SVGZoomEventImpl.cc: Added.
* ksvg2/events/impl/SVGZoomEventImpl.h: Added.
* ksvg2/events/ksvgevents.h: Added.
* ksvg2/impl/CDFInterface.cc: Added.
* ksvg2/impl/CDFInterface.h: Added.
* ksvg2/impl/SVGAElementImpl.cc: Added.
* ksvg2/impl/SVGAElementImpl.h: Added.
* ksvg2/impl/SVGAngleImpl.cc: Added.
* ksvg2/impl/SVGAngleImpl.h: Added.
* ksvg2/impl/SVGAnimateColorElementImpl.cc: Added.
* ksvg2/impl/SVGAnimateColorElementImpl.h: Added.
* ksvg2/impl/SVGAnimateElementImpl.cc: Added.
* ksvg2/impl/SVGAnimateElementImpl.h: Added.
* ksvg2/impl/SVGAnimateTransformElementImpl.cc: Added.
* ksvg2/impl/SVGAnimateTransformElementImpl.h: Added.
* ksvg2/impl/SVGAnimatedAngleImpl.cc: Added.
* ksvg2/impl/SVGAnimatedAngleImpl.h: Added.
* ksvg2/impl/SVGAnimatedBooleanImpl.cc: Added.
* ksvg2/impl/SVGAnimatedBooleanImpl.h: Added.
* ksvg2/impl/SVGAnimatedEnumerationImpl.cc: Added.
* ksvg2/impl/SVGAnimatedEnumerationImpl.h: Added.
* ksvg2/impl/SVGAnimatedIntegerImpl.cc: Added.
* ksvg2/impl/SVGAnimatedIntegerImpl.h: Added.
* ksvg2/impl/SVGAnimatedLengthImpl.cc: Added.
* ksvg2/impl/SVGAnimatedLengthImpl.h: Added.
* ksvg2/impl/SVGAnimatedLengthListImpl.cc: Added.
* ksvg2/impl/SVGAnimatedLengthListImpl.h: Added.
* ksvg2/impl/SVGAnimatedNumberImpl.cc: Added.
* ksvg2/impl/SVGAnimatedNumberImpl.h: Added.
* ksvg2/impl/SVGAnimatedNumberListImpl.cc: Added.
* ksvg2/impl/SVGAnimatedNumberListImpl.h: Added.
* ksvg2/impl/SVGAnimatedPathDataImpl.cc: Added.
* ksvg2/impl/SVGAnimatedPathDataImpl.h: Added.
* ksvg2/impl/SVGAnimatedPointsImpl.cc: Added.
* ksvg2/impl/SVGAnimatedPointsImpl.h: Added.
* ksvg2/impl/SVGAnimatedPreserveAspectRatioImpl.cc: Added.
* ksvg2/impl/SVGAnimatedPreserveAspectRatioImpl.h: Added.
* ksvg2/impl/SVGAnimatedRectImpl.cc: Added.
* ksvg2/impl/SVGAnimatedRectImpl.h: Added.
* ksvg2/impl/SVGAnimatedStringImpl.cc: Added.
* ksvg2/impl/SVGAnimatedStringImpl.h: Added.
* ksvg2/impl/SVGAnimatedTemplate.h: Added.
* ksvg2/impl/SVGAnimatedTransformListImpl.cc: Added.
* ksvg2/impl/SVGAnimatedTransformListImpl.h: Added.
* ksvg2/impl/SVGAnimationElementImpl.cc: Added.
* ksvg2/impl/SVGAnimationElementImpl.h: Added.
* ksvg2/impl/SVGCircleElementImpl.cc: Added.
* ksvg2/impl/SVGCircleElementImpl.h: Added.
* ksvg2/impl/SVGClipPathElementImpl.cc: Added.
* ksvg2/impl/SVGClipPathElementImpl.h: Added.
* ksvg2/impl/SVGColorImpl.cc: Added.
* ksvg2/impl/SVGColorImpl.h: Added.
* ksvg2/impl/SVGComponentTransferFunctionElementImpl.cc: Added.
* ksvg2/impl/SVGComponentTransferFunctionElementImpl.h: Added.
* ksvg2/impl/SVGDOMImplementationImpl.cc: Added.
* ksvg2/impl/SVGDOMImplementationImpl.h: Added.
* ksvg2/impl/SVGDefsElementImpl.cc: Added.
* ksvg2/impl/SVGDefsElementImpl.h: Added.
* ksvg2/impl/SVGDescElementImpl.cc: Added.
* ksvg2/impl/SVGDescElementImpl.h: Added.
* ksvg2/impl/SVGDocumentImpl.cc: Added.
* ksvg2/impl/SVGDocumentImpl.h: Added.
* ksvg2/impl/SVGElementImpl.cc: Added.
* ksvg2/impl/SVGElementImpl.h: Added.
* ksvg2/impl/SVGElementInstanceImpl.cc: Added.
* ksvg2/impl/SVGElementInstanceImpl.h: Added.
* ksvg2/impl/SVGElementInstanceListImpl.cc: Added.
* ksvg2/impl/SVGElementInstanceListImpl.h: Added.
* ksvg2/impl/SVGEllipseElementImpl.cc: Added.
* ksvg2/impl/SVGEllipseElementImpl.h: Added.
* ksvg2/impl/SVGExceptionImpl.cc: Added.
* ksvg2/impl/SVGExceptionImpl.h: Added.
* ksvg2/impl/SVGExternalResourcesRequiredImpl.cc: Added.
* ksvg2/impl/SVGExternalResourcesRequiredImpl.h: Added.
* ksvg2/impl/SVGFEBlendElementImpl.cc: Added.
* ksvg2/impl/SVGFEBlendElementImpl.h: Added.
* ksvg2/impl/SVGFEColorMatrixElementImpl.cc: Added.
* ksvg2/impl/SVGFEColorMatrixElementImpl.h: Added.
* ksvg2/impl/SVGFEComponentTransferElementImpl.cc: Added.
* ksvg2/impl/SVGFEComponentTransferElementImpl.h: Added.
* ksvg2/impl/SVGFECompositeElementImpl.cc: Added.
* ksvg2/impl/SVGFECompositeElementImpl.h: Added.
* ksvg2/impl/SVGFEFloodElementImpl.cc: Added.
* ksvg2/impl/SVGFEFloodElementImpl.h: Added.
* ksvg2/impl/SVGFEFuncAElementImpl.cc: Added.
* ksvg2/impl/SVGFEFuncAElementImpl.h: Added.
* ksvg2/impl/SVGFEFuncBElementImpl.cc: Added.
* ksvg2/impl/SVGFEFuncBElementImpl.h: Added.
* ksvg2/impl/SVGFEFuncGElementImpl.cc: Added.
* ksvg2/impl/SVGFEFuncGElementImpl.h: Added.
* ksvg2/impl/SVGFEFuncRElementImpl.cc: Added.
* ksvg2/impl/SVGFEFuncRElementImpl.h: Added.
* ksvg2/impl/SVGFEGaussianBlurElementImpl.cc: Added.
* ksvg2/impl/SVGFEGaussianBlurElementImpl.h: Added.
* ksvg2/impl/SVGFEImageElementImpl.cc: Added.
* ksvg2/impl/SVGFEImageElementImpl.h: Added.
* ksvg2/impl/SVGFEMergeElementImpl.cc: Added.
* ksvg2/impl/SVGFEMergeElementImpl.h: Added.
* ksvg2/impl/SVGFEMergeNodeElementImpl.cc: Added.
* ksvg2/impl/SVGFEMergeNodeElementImpl.h: Added.
* ksvg2/impl/SVGFEOffsetElementImpl.cc: Added.
* ksvg2/impl/SVGFEOffsetElementImpl.h: Added.
* ksvg2/impl/SVGFETileElementImpl.cc: Added.
* ksvg2/impl/SVGFETileElementImpl.h: Added.
* ksvg2/impl/SVGFETurbulenceElementImpl.cc: Added.
* ksvg2/impl/SVGFETurbulenceElementImpl.h: Added.
* ksvg2/impl/SVGFilterElementImpl.cc: Added.
* ksvg2/impl/SVGFilterElementImpl.h: Added.
* ksvg2/impl/SVGFilterPrimitiveStandardAttributesImpl.cc: Added.
* ksvg2/impl/SVGFilterPrimitiveStandardAttributesImpl.h: Added.
* ksvg2/impl/SVGFitToViewBoxImpl.cc: Added.
* ksvg2/impl/SVGFitToViewBoxImpl.h: Added.
* ksvg2/impl/SVGGElementImpl.cc: Added.
* ksvg2/impl/SVGGElementImpl.h: Added.
* ksvg2/impl/SVGGradientElementImpl.cc: Added.
* ksvg2/impl/SVGGradientElementImpl.h: Added.
* ksvg2/impl/SVGHelper.cc: Added.
* ksvg2/impl/SVGHelper.h: Added.
* ksvg2/impl/SVGImageElementImpl.cc: Added.
* ksvg2/impl/SVGImageElementImpl.h: Added.
* ksvg2/impl/SVGLangSpaceImpl.cc: Added.
* ksvg2/impl/SVGLangSpaceImpl.h: Added.
* ksvg2/impl/SVGLengthImpl.cc: Added.
* ksvg2/impl/SVGLengthImpl.h: Added.
* ksvg2/impl/SVGLengthListImpl.cc: Added.
* ksvg2/impl/SVGLengthListImpl.h: Added.
* ksvg2/impl/SVGLineElementImpl.cc: Added.
* ksvg2/impl/SVGLineElementImpl.h: Added.
* ksvg2/impl/SVGLinearGradientElementImpl.cc: Added.
* ksvg2/impl/SVGLinearGradientElementImpl.h: Added.
* ksvg2/impl/SVGList.h: Added.
* ksvg2/impl/SVGLocatableImpl.cc: Added.
* ksvg2/impl/SVGLocatableImpl.h: Added.
* ksvg2/impl/SVGMarkerElementImpl.cc: Added.
* ksvg2/impl/SVGMarkerElementImpl.h: Added.
* ksvg2/impl/SVGMatrixImpl.cc: Added.
* ksvg2/impl/SVGMatrixImpl.h: Added.
* ksvg2/impl/SVGNumberImpl.cc: Added.
* ksvg2/impl/SVGNumberImpl.h: Added.
* ksvg2/impl/SVGNumberListImpl.cc: Added.
* ksvg2/impl/SVGNumberListImpl.h: Added.
* ksvg2/impl/SVGPaintImpl.cc: Added.
* ksvg2/impl/SVGPaintImpl.h: Added.
* ksvg2/impl/SVGPathElementImpl.cc: Added.
* ksvg2/impl/SVGPathElementImpl.h: Added.
* ksvg2/impl/SVGPathSegArcImpl.cc: Added.
* ksvg2/impl/SVGPathSegArcImpl.h: Added.
* ksvg2/impl/SVGPathSegClosePathImpl.cc: Added.
* ksvg2/impl/SVGPathSegClosePathImpl.h: Added.
* ksvg2/impl/SVGPathSegCurvetoCubicImpl.cc: Added.
* ksvg2/impl/SVGPathSegCurvetoCubicImpl.h: Added.
* ksvg2/impl/SVGPathSegCurvetoCubicSmoothImpl.cc: Added.
* ksvg2/impl/SVGPathSegCurvetoCubicSmoothImpl.h: Added.
* ksvg2/impl/SVGPathSegCurvetoQuadraticImpl.cc: Added.
* ksvg2/impl/SVGPathSegCurvetoQuadraticImpl.h: Added.
* ksvg2/impl/SVGPathSegCurvetoQuadraticSmoothImpl.cc: Added.
* ksvg2/impl/SVGPathSegCurvetoQuadraticSmoothImpl.h: Added.
* ksvg2/impl/SVGPathSegImpl.cc: Added.
* ksvg2/impl/SVGPathSegImpl.h: Added.
* ksvg2/impl/SVGPathSegLinetoHorizontalImpl.cc: Added.
* ksvg2/impl/SVGPathSegLinetoHorizontalImpl.h: Added.
* ksvg2/impl/SVGPathSegLinetoImpl.cc: Added.
* ksvg2/impl/SVGPathSegLinetoImpl.h: Added.
* ksvg2/impl/SVGPathSegLinetoVerticalImpl.cc: Added.
* ksvg2/impl/SVGPathSegLinetoVerticalImpl.h: Added.
* ksvg2/impl/SVGPathSegListImpl.cc: Added.
* ksvg2/impl/SVGPathSegListImpl.h: Added.
* ksvg2/impl/SVGPathSegMovetoImpl.cc: Added.
* ksvg2/impl/SVGPathSegMovetoImpl.h: Added.
* ksvg2/impl/SVGPatternElementImpl.cc: Added.
* ksvg2/impl/SVGPatternElementImpl.h: Added.
* ksvg2/impl/SVGPointImpl.cc: Added.
* ksvg2/impl/SVGPointImpl.h: Added.
* ksvg2/impl/SVGPointListImpl.cc: Added.
* ksvg2/impl/SVGPointListImpl.h: Added.
* ksvg2/impl/SVGPolyElementImpl.cc: Added.
* ksvg2/impl/SVGPolyElementImpl.h: Added.
* ksvg2/impl/SVGPolygonElementImpl.cc: Added.
* ksvg2/impl/SVGPolygonElementImpl.h: Added.
* ksvg2/impl/SVGPolylineElementImpl.cc: Added.
* ksvg2/impl/SVGPolylineElementImpl.h: Added.
* ksvg2/impl/SVGPreserveAspectRatioImpl.cc: Added.
* ksvg2/impl/SVGPreserveAspectRatioImpl.h: Added.
* ksvg2/impl/SVGRadialGradientElementImpl.cc: Added.
* ksvg2/impl/SVGRadialGradientElementImpl.h: Added.
* ksvg2/impl/SVGRectElementImpl.cc: Added.
* ksvg2/impl/SVGRectElementImpl.h: Added.
* ksvg2/impl/SVGRectImpl.cc: Added.
* ksvg2/impl/SVGRectImpl.h: Added.
* ksvg2/impl/SVGSVGElementImpl.cc: Added.
* ksvg2/impl/SVGSVGElementImpl.h: Added.
* ksvg2/impl/SVGScriptElementImpl.cc: Added.
* ksvg2/impl/SVGScriptElementImpl.h: Added.
* ksvg2/impl/SVGSetElementImpl.cc: Added.
* ksvg2/impl/SVGSetElementImpl.h: Added.
* ksvg2/impl/SVGStopElementImpl.cc: Added.
* ksvg2/impl/SVGStopElementImpl.h: Added.
* ksvg2/impl/SVGStringListImpl.cc: Added.
* ksvg2/impl/SVGStringListImpl.h: Added.
* ksvg2/impl/SVGStylableImpl.cc: Added.
* ksvg2/impl/SVGStylableImpl.h: Added.
* ksvg2/impl/SVGStyleElementImpl.cc: Added.
* ksvg2/impl/SVGStyleElementImpl.h: Added.
* ksvg2/impl/SVGStyledElementImpl.cc: Added.
* ksvg2/impl/SVGStyledElementImpl.h: Added.
* ksvg2/impl/SVGSwitchElementImpl.cc: Added.
* ksvg2/impl/SVGSwitchElementImpl.h: Added.
* ksvg2/impl/SVGSymbolElementImpl.cc: Added.
* ksvg2/impl/SVGSymbolElementImpl.h: Added.
* ksvg2/impl/SVGTSpanElementImpl.cc: Added.
* ksvg2/impl/SVGTSpanElementImpl.h: Added.
* ksvg2/impl/SVGTestsImpl.cc: Added.
* ksvg2/impl/SVGTestsImpl.h: Added.
* ksvg2/impl/SVGTextContentElementImpl.cc: Added.
* ksvg2/impl/SVGTextContentElementImpl.h: Added.
* ksvg2/impl/SVGTextElementImpl.cc: Added.
* ksvg2/impl/SVGTextElementImpl.h: Added.
* ksvg2/impl/SVGTextPositioningElementImpl.cc: Added.
* ksvg2/impl/SVGTextPositioningElementImpl.h: Added.
* ksvg2/impl/SVGTitleElementImpl.cc: Added.
* ksvg2/impl/SVGTitleElementImpl.h: Added.
* ksvg2/impl/SVGTransformImpl.cc: Added.
* ksvg2/impl/SVGTransformImpl.h: Added.
* ksvg2/impl/SVGTransformListImpl.cc: Added.
* ksvg2/impl/SVGTransformListImpl.h: Added.
* ksvg2/impl/SVGTransformableImpl.cc: Added.
* ksvg2/impl/SVGTransformableImpl.h: Added.
* ksvg2/impl/SVGURIReferenceImpl.cc: Added.
* ksvg2/impl/SVGURIReferenceImpl.h: Added.
* ksvg2/impl/SVGUseElementImpl.cc: Added.
* ksvg2/impl/SVGUseElementImpl.h: Added.
* ksvg2/impl/SVGViewElementImpl.cc: Added.
* ksvg2/impl/SVGViewElementImpl.h: Added.
* ksvg2/impl/SVGZoomAndPanImpl.cc: Added.
* ksvg2/impl/SVGZoomAndPanImpl.h: Added.
* ksvg2/impl/svgattrs.c: Added.
* ksvg2/impl/svgattrs.h: Added.
* ksvg2/impl/svgattrs.in: Added.
* ksvg2/impl/svgpathparser.cc: Added.
* ksvg2/impl/svgpathparser.h: Added.
* ksvg2/impl/svgtags.c: Added.
* ksvg2/impl/svgtags.h: Added.
* ksvg2/impl/svgtags.in: Added.
* ksvg2/ksvg.h: Added.
* ksvg2/scripts/generate.pl: Added.
* ksvg2/scripts/kalyptusKDOMEcma.pm: Added.
* ksvg2/scripts/ksvgstatus.xsl: Added.
* ksvg2/scripts/regressiontest.sh: Added.
* ksvg2/scripts/regressiontestsetup.sh: Added.
* ksvg2/scripts/svg.idl: Added.
Several things to mention here:
1. Function names were stripped out of the ChangeLog for brevity.
2. Several files (like the c++ DOM) are only in here temporarily.
3. Several files (like kdom/catalog) were left out of CVS as they
do not currently work in our kdom port. Those may or may not be
added in the future.
4. Notes re: the WebCore+SVG target
- APPLE_COMPILE_HACK is a temporary addition for compiling
- None of the SVG or KDOM files are compiled in "WebCore" by default.
- Compiling WebCore+SVG requires compiling JavaScriptCore+SVG
to enable RTTI support in JavaScriptCore.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9636
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
--- /dev/null
+Original authors/Maintainers
+----------------------------
+
+Copyright (c) 2004-2005 Nikolas Zimmermann <wildfox@kde.org>
+Copyright (c) 2004-2005 Rob Buis <buis@kde.org>
+
+Contributors
+------------
+
+# Name
+ -> added foobar
+# Name..
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#include "Ecma.h"
+#include "Attr.h"
+#include "TypeInfo.h"
+#include "DOMException.h"
+
+#include "DOMConstants.h"
+#include "Attr.lut.h"
+#include "AttrImpl.h"
+#include "TypeInfoImpl.h"
+using namespace KDOM;
+using namespace KJS;
+
+/*
+@begin Attr::s_hashTable 7
+ name AttrConstants::Name DontDelete|ReadOnly
+ specified AttrConstants::Specified DontDelete|ReadOnly
+ value AttrConstants::Value DontDelete
+ ownerElement AttrConstants::OwnerElement DontDelete|ReadOnly
+ isId AttrConstants::IsId DontDelete|ReadOnly
+ schemaTypeInfo AttrConstants::SchemaTypeInfo DontDelete|ReadOnly
+@end
+*/
+
+Value Attr::getValueProperty(ExecState *exec, int token) const
+{
+ KDOM_ENTER_SAFE
+
+ switch(token)
+ {
+ case AttrConstants::Name:
+ return getDOMString(name());
+ case AttrConstants::Specified:
+ return KJS::Boolean(specified());
+ case AttrConstants::Value:
+ return getDOMString(value());
+ case AttrConstants::OwnerElement:
+ return getDOMNode(exec, ownerElement());
+ case AttrConstants::IsId:
+ return KJS::Boolean(isId());
+ case AttrConstants::SchemaTypeInfo:
+ return safe_cache<TypeInfo>(exec, schemaTypeInfo());
+ default:
+ kdWarning() << "Unhandled token in " << k_funcinfo << " : " << token << endl;
+ }
+
+ KDOM_LEAVE_SAFE(DOMException)
+ return Undefined();
+}
+
+void Attr::putValueProperty(ExecState *exec, int token, const Value &value, int)
+{
+ KDOM_ENTER_SAFE
+
+ switch(token)
+ {
+ case AttrConstants::Value:
+ {
+ setValue(toDOMString(exec, value));
+ break;
+ }
+ default:
+ kdWarning() << "Unhandled token in " << k_funcinfo << " : " << token << endl;
+ }
+
+ KDOM_LEAVE_SAFE(DOMException)
+}
+
+// The qdom way...
+#define impl (static_cast<AttrImpl *>(d))
+
+Attr Attr::null;
+
+Attr::Attr() : Node()
+{
+}
+
+Attr::Attr(AttrImpl *i) : Node(i)
+{
+}
+
+Attr::Attr(const Attr &other) : Node()
+{
+ (*this) = other;
+}
+
+Attr::Attr(const Node &other) : Node()
+{
+ (*this)=other;
+}
+
+Attr::~Attr()
+{
+}
+
+Attr &Attr::operator=(const Attr &other)
+{
+ Node::operator=(other);
+ return *this;
+}
+
+KDOM_NODE_DERIVED_ASSIGN_OP(Attr, ATTRIBUTE_NODE)
+
+DOMString Attr::name() const
+{
+ if(!d)
+ throw new DOMExceptionImpl(NOT_FOUND_ERR);
+
+ return impl->name();
+}
+
+bool Attr::specified() const
+{
+ if(!d)
+ return false;
+
+ return impl->specified();
+}
+
+void Attr::setValue(const DOMString &value)
+{
+ if(d)
+ impl->setValue(value);
+}
+
+DOMString Attr::value() const
+{
+ if(!d)
+ throw new DOMExceptionImpl(NOT_FOUND_ERR);
+
+ return impl->value();
+}
+
+Element Attr::ownerElement() const
+{
+ if(!d)
+ return Element::null;
+
+ return impl->ownerElement();
+}
+
+bool Attr::isId() const
+{
+ if(!d)
+ return false;
+
+ return impl->isId();
+}
+
+TypeInfo Attr::schemaTypeInfo() const
+{
+ if(!d)
+ return TypeInfo();
+
+ return TypeInfo(impl->schemaTypeInfo());
+}
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#ifndef KDOM_Attr_H
+#define KDOM_Attr_H
+
+#include <kdom/Node.h>
+
+namespace KDOM
+{
+ class Element;
+ class TypeInfo;
+ class DOMString;
+ class AttrImpl;
+
+ /**
+ * @short The Attr interface represents an attribute in an Element object.
+ * Typically the allowable values for the attribute are defined in a schema
+ * associated with the document.
+ *
+ * Attr objects inherit the Node interface, but since they are not actually
+ * child nodes of the element they describe, the DOM does not consider them part
+ * of the document tree. Thus, the Node attributes parentNode, previousSibling,
+ * and nextSibling have a null value for Attr objects. The DOM takes the view
+ * that attributes are properties of elements rather than having a separate
+ * identity from the elements they are associated with; this should make it more
+ * efficient to implement such features as default attributes associated with
+ * all elements of a given type. Furthermore, Attr nodes may not be immediate
+ * children of a DocumentFragment. However, they can be associated with Element
+ * nodes contained within a DocumentFragment. In short, users and implementors
+ * of the DOM need to be aware that Attr nodes have some things in common with
+ * other objects inheriting the Node interface, but they also are quite
+ * distinct.
+ *
+ * The attribute's effective value is determined as follows: if this attribute
+ * has been explicitly assigned any value, that value is the attribute's effective
+ * value; otherwise, if there is a declaration for this attribute, and that
+ * declaration includes a default value, then that default value is the attribute's
+ * effective value; otherwise, the attribute does not exist on this element in the
+ * structure model until it has been explicitly added. Note that the Node.nodeValue
+ * attribute on the Attr instance can also be used to retrieve the string version
+ * of the attribute's value(s).
+ *
+ * If the attribute was not explicitly given a value in the instance document but
+ * has a default value provided by the schema associated with the document, an
+ * attribute node will be created with specified set to false. Removing attribute
+ * nodes for which a default value is defined in the schema generates a new
+ * attribute node with the default value and specified set to false. If validation
+ * occurred while invoking Document.normalizeDocument(), attribute nodes with
+ * specified equals to false are recomputed according to the default attribute
+ * values provided by the schema. If no default value is associate with this
+ * attribute in the schema, the attribute node is discarded.
+ *
+ * In XML, where the value of an attribute can contain entity references, the child
+ * nodes of the Attr node may be either Text or EntityReference nodes (when these
+ * are in use; see the description of EntityReference for discussion).
+ *
+ * @author Rob Buis <buis@kde.org>
+ * @author Nikolas Zimmermann <wildfox@kde.org>
+ */
+ class Attr : public Node
+ {
+ public:
+ Attr();
+ explicit Attr(AttrImpl *i);
+ Attr(const Attr &other);
+ Attr(const Node &other);
+ virtual ~Attr();
+
+ // Operators
+ Attr &operator=(const Attr &other);
+ Attr &operator=(const Node &other);
+
+ // 'Attr' functions
+ /**
+ * Returns the name of this attribute. If Node.localName is different from null,
+ * this attribute is a qualified name.
+ */
+ DOMString name() const;
+
+ /**
+ * True if this attribute was explicitly given a value in the instance document,
+ * false otherwise. If the application changed the value of this attribute node
+ * (even if it ends up having the same value as the default value) then it is set
+ * to true. The implementation may handle attributes with default values from other
+ * schemas similarly but applications should use Document.normalizeDocument()
+ * to guarantee this information is up-to-date.
+ */
+ bool specified() const;
+
+ /**
+ * On retrieval, the value of the attribute is returned as a string. Character and
+ * general entity references are replaced with their values. See also the method
+ * getAttribute on the Element interface.
+ *
+ * On setting, this creates a Text node with the unparsed contents of the string, i.e.
+ * any characters that an XML processor would recognize as markup are instead treated
+ * as literal text. See also the method Element.setAttribute().
+ */
+ DOMString value() const;
+ void setValue(const DOMString &value);
+
+ /**
+ * The Element node this attribute is attached to or null if this attribute is
+ * not in use.
+ */
+ Element ownerElement() const;
+
+ /**
+ * Returns whether this attribute is known to be of type ID (i.e. to contain an
+ * identifier for its owner element) or not. When it is and its value is unique,
+ * the ownerElement of this attribute can be retrieved using the method
+ * Document.getElementById.
+ */
+ bool isId() const; // DOM3
+
+ // Internal
+ KDOM_INTERNAL(Attr)
+
+ /**
+ * The type information associated with this attribute. While
+ * the type information contained in this attribute is guarantee
+ * to be correct after loading the document or invoking
+ * Document.normalizeDocument(), schemaTypeInfo may not be
+ * reliable if the node was moved.
+ */
+ TypeInfo schemaTypeInfo() const;
+
+ public: // EcmaScript section
+ KDOM_GET
+ KDOM_PUT
+ KDOM_CAST
+
+ KJS::Value getValueProperty(KJS::ExecState *exec, int token) const;
+ void putValueProperty(KJS::ExecState *exec, int token, const KJS::Value &value, int attr);
+ };
+
+ KDOM_DEFINE_CAST(Attr)
+};
+
+#endif
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#include "CDATASection.h"
+#include "CDATASectionImpl.h"
+
+using namespace KDOM;
+
+// The qdom way...
+#define impl (static_cast<CDATASectionImpl *>(d))
+
+CDATASection CDATASection::null;
+
+CDATASection::CDATASection() : Text()
+{
+}
+
+CDATASection::CDATASection(CDATASectionImpl *i) : Text(i)
+{
+}
+
+CDATASection::CDATASection(const CDATASection &other) : Text()
+{
+ (*this) = other;
+}
+
+CDATASection::CDATASection(const Node &other) : Text()
+{
+ (*this) = other;
+}
+
+CDATASection::~CDATASection()
+{
+}
+
+CDATASection &CDATASection::operator=(const CDATASection &other)
+{
+ Text::operator=(other);
+ return *this;
+}
+
+KDOM_NODE_DERIVED_ASSIGN_OP(CDATASection, CDATA_SECTION_NODE)
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#ifndef KDOM_CDATASection_H
+#define KDOM_CDATASection_H
+
+#include <kdom/Text.h>
+
+namespace KDOM
+{
+ class CDATASectionImpl;
+
+ /**
+ * @short CDATA sections are used to escape blocks of text
+ * containing characters that would otherwise be regarded as markup.
+ * The only delimiter that is recognized in a CDATA section is the
+ * "]]>" string that ends the CDATA section. CDATA sections cannot
+ * be nested. Their primary purpose is for including material such as
+ * XML fragments, without needing to escape all the delimiters.
+ *
+ * The CharacterData.data attribute holds the text that is contained
+ * by the CDATA section. Note that this may contain characters that
+ * need to be escaped outside of CDATA sections and that, depending
+ * on the character encoding ("charset") chosen for serialization, it
+ * may be impossible to write out some characters as part of a CDATA
+ * section.
+ *
+ * The CDATASection interface inherits from the CharacterData
+ * interface through the Text interface. Adjacent CDATASection nodes
+ * are not merged by use of the normalize method of the Node interface.
+ *
+ * No lexical check is done on the content of a CDATA section and
+ * it is therefore possible to have the character sequence "]]>"
+ * in the content, which is illegal in a CDATA section per section
+ * 2.7 of [XML 1.0]. The presence of this character sequence must
+ * generate a fatal error during serialization or the cdata section
+ * must be splitted before the serialization (see also the parameter
+ * "split-cdata-sections" in the DOMConfiguration interface).
+ *
+ * Note: Because no markup is recognized within a CDATASection,
+ * character numeric references cannot be used as an escape mechanism
+ * when serializing. Therefore, action needs to be taken when
+ * serializing a CDATASection with a character encoding where
+ * some of the contained characters cannot be represented. Failure
+ * to do so would not produce well-formed XML.
+ * One potential solution in the serialization process is to end
+ * the CDATA section before the character, output the character
+ * using a character reference or entity reference, and open a
+ * new CDATA section for any further characters in the text node.
+ * Note, however, that some code conversion libraries at the time
+ * of writing do not return an error or exception when a character
+ * is missing from the encoding, making the task of ensuring that
+ * data is not corrupted on serialization more difficult.
+ *
+ * @author Rob Buis <buis@kde.org>
+ * @author Nikolas Zimmermann <wildfox@kde.org>
+ */
+ class CDATASection : public Text
+ {
+ public:
+ CDATASection();
+ explicit CDATASection(CDATASectionImpl *i);
+ CDATASection(const CDATASection &other);
+ CDATASection(const Node &other);
+ virtual ~CDATASection();
+
+ // Operators
+ CDATASection &operator=(const CDATASection &other);
+ CDATASection &operator=(const Node &other);
+
+ // Internal
+ KDOM_INTERNAL(CDATASection)
+ };
+};
+
+#endif
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#include "Ecma.h"
+#include "DOMException.h"
+#include "CharacterData.h"
+
+#include "DOMConstants.h"
+#include "CharacterData.lut.h"
+#include "CharacterDataImpl.h"
+using namespace KDOM;
+using namespace KJS;
+
+/*
+@begin CharacterData::s_hashTable 3
+ data CharacterDataConstants::Data DontDelete
+ length CharacterDataConstants::Length DontDelete|ReadOnly
+@end
+@begin CharacterDataProto::s_hashTable 7
+ setData CharacterDataConstants::SetData DontDelete|Function 1
+ substringData CharacterDataConstants::SubstringData DontDelete|Function 2
+ appendData CharacterDataConstants::AppendData DontDelete|Function 1
+ insertData CharacterDataConstants::InsertData DontDelete|Function 2
+ deleteData CharacterDataConstants::DeleteData DontDelete|Function 2
+ replaceData CharacterDataConstants::ReplaceData DontDelete|Function 3
+@end
+*/
+
+KDOM_IMPLEMENT_PROTOTYPE("CharacterData", CharacterDataProto, CharacterDataProtoFunc)
+
+Value CharacterData::getValueProperty(ExecState *exec, int token) const
+{
+ KDOM_ENTER_SAFE
+
+ switch(token)
+ {
+ case CharacterDataConstants::Data:
+ return getDOMString(data());
+ case CharacterDataConstants::Length:
+ return Number(length());
+ default:
+ kdWarning() << "Unhandled token in " << k_funcinfo << " : " << token << endl;
+ }
+
+ KDOM_LEAVE_SAFE(DOMException)
+ return Undefined();
+}
+
+void CharacterData::putValueProperty(ExecState *exec, int token, const Value &value, int)
+{
+ KDOM_ENTER_SAFE
+
+ switch(token)
+ {
+ case CharacterDataConstants::Data:
+ {
+ DOMString data = toDOMString(exec, value);
+ setData(data);
+ break;
+ }
+ default:
+ kdWarning() << "Unhandled token in " << k_funcinfo << " : " << token << endl;
+ }
+
+ KDOM_LEAVE_SAFE(DOMException)
+}
+
+Value CharacterDataProtoFunc::call(ExecState *exec, Object &thisObj, const List &args)
+{
+ KDOM_CHECK_THIS(CharacterData)
+ KDOM_ENTER_SAFE
+
+ switch(id)
+ {
+ case CharacterDataConstants::SetData:
+ {
+ DOMString data = toDOMString(exec, args[0]);
+ obj.setData(data);
+ return Undefined();
+ }
+ case CharacterDataConstants::SubstringData:
+ {
+ unsigned long offset = args[0].toUInt32(exec);
+ unsigned long count = args[1].toUInt32(exec);
+ return getDOMString(obj.substringData(offset, count));
+ }
+ case CharacterDataConstants::AppendData:
+ {
+ DOMString arg = toDOMString(exec, args[0]);
+ obj.appendData(arg);
+ return Undefined();
+ }
+ case CharacterDataConstants::InsertData:
+ {
+ unsigned long offset = args[0].toUInt32(exec);
+ DOMString arg = toDOMString(exec, args[1]);
+ obj.insertData(offset, arg);
+ return Undefined();
+ }
+ case CharacterDataConstants::DeleteData:
+ {
+ unsigned long offset = args[0].toUInt32(exec);
+ unsigned long count = args[1].toUInt32(exec);
+ obj.deleteData(offset, count);
+ return Undefined();
+ }
+ case CharacterDataConstants::ReplaceData:
+ {
+ unsigned long offset = args[0].toUInt32(exec);
+ unsigned long count = args[1].toUInt32(exec);
+ DOMString arg = toDOMString(exec, args[2]);
+ obj.replaceData(offset, count, arg);
+ return Undefined();
+ }
+ default:
+ kdWarning() << "Unhandled function id in " << k_funcinfo << " : " << id << endl;
+ }
+
+ KDOM_LEAVE_CALL_SAFE(DOMException)
+ return Undefined();
+}
+
+// The qdom way...
+#define impl (static_cast<CharacterDataImpl *>(d))
+
+CharacterData CharacterData::null;
+
+CharacterData::CharacterData() : Node()
+{
+}
+
+CharacterData::CharacterData(CharacterDataImpl *i) : Node(i)
+{
+}
+
+CharacterData::CharacterData(const CharacterData &other) : Node()
+{
+ (*this) = other;
+}
+
+CharacterData::CharacterData(const Node &other) : Node()
+{
+ (*this) = other;
+}
+
+CharacterData::~CharacterData()
+{
+}
+
+CharacterData &CharacterData::operator=(const CharacterData &other)
+{
+ Node::operator=(other);
+ return *this;
+}
+
+CharacterData &CharacterData::operator=(const Node &other)
+{
+ NodeImpl *ohandle = static_cast<NodeImpl *>(other.handle());
+ if(d != ohandle)
+ {
+ if(!ohandle || (ohandle->nodeType() != CDATA_SECTION_NODE &&
+ ohandle->nodeType() != TEXT_NODE &&
+ ohandle->nodeType() != COMMENT_NODE))
+ {
+ if(d)
+ d->deref();
+
+ d = 0;
+ }
+ else
+ Node::operator=(other);
+ }
+
+ return *this;
+}
+
+DOMString CharacterData::data() const
+{
+ if(!d)
+ return DOMString();
+
+ return DOMString(impl->data());
+}
+
+void CharacterData::setData(const DOMString &data)
+{
+ if(!d)
+ return;
+
+ return impl->setData(data.implementation());
+}
+
+unsigned long CharacterData::length() const
+{
+ if(!d)
+ return 0;
+
+ return impl->length();
+}
+
+DOMString CharacterData::substringData(unsigned long offset, unsigned long count)
+{
+ if(!d)
+ return DOMString();
+
+ return DOMString(impl->substringData(offset, count));
+}
+
+void CharacterData::appendData(const DOMString &arg)
+{
+ if(!d)
+ return;
+
+ impl->appendData(arg.implementation());
+}
+
+void CharacterData::insertData(unsigned long offset, const DOMString &arg)
+{
+ if(!d)
+ return;
+
+ impl->insertData(offset, arg.implementation());
+}
+
+void CharacterData::deleteData(unsigned long offset, unsigned long count)
+{
+ if(!d)
+ return;
+
+ return impl->deleteData(offset, count);
+}
+
+void CharacterData::replaceData(unsigned long offset, unsigned long count, const DOMString &arg)
+{
+ if(!d)
+ return;
+
+ impl->replaceData(offset, count, arg.implementation());
+}
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#ifndef KDOM_CharacterData_H
+#define KDOM_CharacterData_H
+
+#include <kdom/Node.h>
+
+namespace KDOM
+{
+ class DOMString;
+ class CharacterDataImpl;
+
+ /**
+ * @short The CharacterData interface extends Node with a set of
+ * attributes and methods for accessing character data in the DOM.
+ *
+ * For clarity this set is defined here rather than on each object
+ * that uses these attributes and methods. No DOM objects correspond
+ * directly to CharacterData, though Text and others do inherit the
+ * interface from it. All offsets in this interface start from 0.
+ *
+ * As explained in the DOMString interface, text strings in the DOM
+ * are represented in UTF-16, i.e. as a sequence of 16-bit units.
+ * In the following, the term 16-bit units is used whenever necessary
+ * to indicate that indexing on CharacterData is done in 16-bit units.
+ *
+ * @author Nikolas Zimmermann <wildfox@kde.org>
+ * @author Rob Buis <buis@kde.org>
+ */
+ class CharacterData : public Node
+ {
+ public:
+ CharacterData();
+ explicit CharacterData(CharacterDataImpl *p);
+ CharacterData(const CharacterData &other);
+ CharacterData(const Node &other);
+ virtual ~CharacterData();
+
+ // Operators
+ CharacterData &operator=(const CharacterData &other);
+ CharacterData &operator=(const Node &other);
+
+ // 'CharacterData' functions
+ /**
+ * The character data of the node that implements this interface.
+ * The DOM implementation may not put arbitrary limits on the amount
+ * of data that may be stored in a CharacterData node. However,
+ * implementation limits may mean that the entirety of a node's data
+ * may not fit into a single DOMString. In such cases, the user may
+ * call substringData to retrieve the data in appropriately sized pieces.
+ */
+ DOMString data() const;
+ void setData(const DOMString &data);
+
+ /**
+ * he number of 16-bit units that are available through data and the
+ * substringData method below. This may have the value zero, i.e.,
+ * CharacterData nodes may be empty.
+ */
+ unsigned long length() const;
+
+ /**
+ * Extracts a range of data from the node.
+ *
+ * @param offset Start offset of substring to extract.
+ * @param count The number of 16-bit units to extract.
+ *
+ * @returns The specified substring. If the sum of offset and count
+ * exceeds the length, then all 16-bit units to the end of the data
+ * are returned.
+ */
+ DOMString substringData(unsigned long offset, unsigned long count);
+
+ /**
+ * Append the string to the end of the character data of the node.
+ * Upon success, data provides access to the concatenation of data
+ * and the DOMString specified.
+ *
+ * @param arg The DOMString to append.
+ */
+ void appendData(const DOMString &arg);
+
+ /**
+ * Insert a string at the specified 16-bit unit offset.
+ *
+ * @param offset The character offset at which to insert.
+ * @param arg The DOMString to append.
+ */
+ void insertData(unsigned long offset, const DOMString &arg);
+
+ /**
+ * Remove a range of 16-bit units from the node. Upon success,
+ * data and length reflect the change.
+ *
+ * @param offset The offset from which to start removing.
+ * @param count The number of 16-bit units to delete. If the sum of
+ * offset and count exceeds length then all 16-bit units from offset
+ * to the end of the data are deleted.
+ */
+ void deleteData(unsigned long offset, unsigned long count);
+
+ /**
+ * Replace the characters starting at the specified 16-bit unit
+ * offset with the specified string.
+ *
+ * @param offset The offset from which to start replacing.
+ * @param count The number of 16-bit units to replace. If the sum
+ * of offset and count exceeds length, then all 16-bit units to
+ * the end of the data are replaced; (i.e., the effect is the same
+ * as a remove method call with the same range, followed by an
+ * append method invocation).
+ * @param arg The DOMString with which the range must be replaced.
+ */
+ void replaceData(unsigned long offset, unsigned long count, const DOMString &arg);
+
+ // Internal
+ KDOM_INTERNAL(CharacterData)
+
+ public: // EcmaScript section
+ KDOM_GET
+ KDOM_PUT
+
+ KJS::Value getValueProperty(KJS::ExecState *exec, int token) const;
+ void putValueProperty(KJS::ExecState *exec, int token, const KJS::Value &value, int attr);
+ };
+};
+
+KDOM_DEFINE_PROTOTYPE(CharacterDataProto)
+KDOM_IMPLEMENT_PROTOFUNC(CharacterDataProtoFunc, CharacterData)
+
+#endif
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#include "Comment.h"
+#include "CommentImpl.h"
+
+namespace KDOM
+{
+
+// The qdom way...
+#define impl (static_cast<CommentImpl *>(d))
+
+Comment Comment::null;
+
+Comment::Comment() : CharacterData()
+{
+}
+
+Comment::Comment(CommentImpl *i) : CharacterData(i)
+{
+}
+
+Comment::Comment(const Comment &other) : CharacterData()
+{
+ (*this) = other;
+}
+
+Comment::Comment(const Node &other) : CharacterData()
+{
+ (*this) = other;
+}
+
+Comment::~Comment()
+{
+}
+
+Comment &Comment::operator=(const Comment &other)
+{
+ CharacterData::operator=(other);
+ return *this;
+}
+
+Comment &Comment::operator=(const Node &other)
+{
+ NodeImpl *ohandle = static_cast<NodeImpl *>(other.handle());
+ if(d != ohandle)
+ {
+ if(!ohandle || ohandle->nodeType() != COMMENT_NODE)
+ {
+ if(d)
+ d->deref();
+ d = 0;
+ }
+ else
+ Node::operator=(other);
+ }
+
+ return *this;
+}
+
+}
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#ifndef KDOM_Comment_H
+#define KDOM_Comment_H
+
+#include <kdom/CharacterData.h>
+
+namespace KDOM
+{
+ class CommentImpl;
+
+ /**
+ * @short This interface inherits from CharacterData and
+ * represents the content of a comment, i.e., all the characters
+ * between the starting '<!--' and ending '-->'.
+ *
+ * Note that this is the definition of a comment in XML, and, in
+ * practice, HTML, although some HTML tools may implement the full
+ * SGML comment structure.
+ *
+ * No lexical check is done on the content of a comment and it
+ * is therefore possible to have the character sequence "--"
+ * (double-hyphen) in the content, which is illegal in a comment
+ * per section 2.5 of [XML 1.0]. The presence of this character
+ * sequence must generate a fatal error during serialization.
+ *
+ * @author Rob Buis <buis@kde.org>
+ * @author Nikolas Zimmermann <wildfox@kde.org>
+ */
+ class Comment : public CharacterData
+ {
+ public:
+ Comment();
+ explicit Comment(CommentImpl *i);
+ Comment(const Comment &other);
+ Comment(const Node &other);
+ virtual ~Comment();
+
+ // Operators
+ Comment &operator=(const Comment &other);
+ Comment &operator=(const Node &other);
+
+ // Internal
+ KDOM_INTERNAL(Comment)
+ };
+};
+
+#endif
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#include "DOMLookup.h"
+#include "Ecma.h"
+#include "DOMConfiguration.h"
+#include "DOMConfigurationImpl.h"
+#include "DOMStringList.h"
+#include "DOMException.h"
+#include "DOMExceptionImpl.h"
+#include "DOMUserData.h"
+
+#include "DOMConstants.h"
+#include "DOMConfiguration.lut.h"
+using namespace KDOM;
+using namespace KJS;
+
+/*
+@begin DOMConfiguration::s_hashTable 2
+ parameterNames DOMConfigurationConstants::ParameterNames DontDelete|ReadOnly
+@end
+@begin DOMConfigurationProto::s_hashTable 5
+ setParameter DOMConfigurationConstants::SetParameter DontDelete|Function 2
+ getParameter DOMConfigurationConstants::GetParameter DontDelete|Function 1
+ canSetParameter DOMConfigurationConstants::CanSetParameter DontDelete|Function 2
+@end
+*/
+
+KDOM_IMPLEMENT_PROTOTYPE("DOMConfiguration", DOMConfigurationProto, DOMConfigurationProtoFunc)
+
+Value DOMConfiguration::getValueProperty(ExecState *exec, int token) const
+{
+ KDOM_ENTER_SAFE
+
+ switch(token)
+ {
+ case DOMConfigurationConstants::ParameterNames:
+ return safe_cache<DOMStringList>(exec, parameterNames());
+ default:
+ kdWarning() << "Unhandled token in " << k_funcinfo << " : " << token << endl;
+ }
+
+ KDOM_LEAVE_SAFE(DOMException)
+ return Undefined();
+}
+
+Value DOMConfigurationProtoFunc::call(ExecState *exec, Object &thisObj, const List &args)
+{
+ KDOM_CHECK_THIS(DOMConfiguration)
+ KDOM_ENTER_SAFE
+
+ switch(id)
+ {
+ case DOMConfigurationConstants::SetParameter:
+ {
+ DOMString name = toDOMString(exec, args[0]);
+ bool value = args[1].toBoolean(exec);
+// DOMUserData value = ecma_cast<DOMUserData>(exec, args[1], &toDOMUserData);
+ obj.setParameter(name, value);
+ return Undefined();
+ }
+ case DOMConfigurationConstants::GetParameter:
+ {
+ DOMString name = toDOMString(exec, args[0]);
+ return safe_cache<DOMUserData>(exec, obj.getParameter(name));
+ }
+ case DOMConfigurationConstants::CanSetParameter:
+ {
+ DOMString name = toDOMString(exec, args[0]);
+ DOMUserData value = ecma_cast<DOMUserData>(exec, args[1], &toDOMUserData);
+ return KJS::Boolean(obj.canSetParameter(name, value));
+ }
+ default:
+ kdWarning() << "Unhandled function id in " << k_funcinfo << " : " << id << endl;
+ }
+
+ KDOM_LEAVE_CALL_SAFE(DOMException)
+ return Undefined();
+}
+
+DOMConfiguration DOMConfiguration::null;
+
+DOMConfiguration::DOMConfiguration() : d(0)
+{
+}
+
+DOMConfiguration::DOMConfiguration(DOMConfigurationImpl *i) : d(i)
+{
+}
+
+DOMConfiguration::DOMConfiguration(const DOMConfiguration &other) : d(0)
+{
+ (*this) = other;
+}
+
+DOMConfiguration::~DOMConfiguration()
+{
+}
+
+DOMConfiguration &DOMConfiguration::operator=(const DOMConfiguration &other)
+{
+ d = other.d;
+ return *this;
+}
+
+bool DOMConfiguration::operator==(const DOMConfiguration &other) const
+{
+ return d == other.d;
+}
+
+bool DOMConfiguration::operator!=(const DOMConfiguration &other) const
+{
+ return !operator==(other);
+}
+
+void DOMConfiguration::setParameter(const DOMString &name, DOMUserData value)
+{
+ kdDebug() << k_funcinfo << d << endl;
+ if(d)
+ {
+ kdDebug() << "value.handle() : " << value.handle() << endl;
+ d->setParameter(name.implementation(), value.handle());
+ }
+}
+
+void DOMConfiguration::setParameter(const DOMString &name, bool value)
+{
+ kdDebug() << k_funcinfo << d << endl;
+ if(d)
+ {
+ kdDebug() << "value : " << value << endl;
+ d->setParameter(name.implementation(), value);
+ }
+}
+
+DOMUserData DOMConfiguration::getParameter(const DOMString &name) const
+{
+ if(!d)
+ return DOMUserData::null;
+
+ return DOMUserData(d->getParameter(name.implementation()));
+}
+
+bool DOMConfiguration::canSetParameter(const DOMString &name, DOMUserData value) const
+{
+ kdDebug() << k_funcinfo << d << endl;
+ if(!d)
+ return false;
+
+ return d->canSetParameter(name.implementation(), value.handle());
+}
+
+DOMStringList DOMConfiguration::parameterNames() const
+{
+ if(!d)
+ return DOMStringList::null;
+
+ return DOMStringList(d->parameterNames());
+}
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#ifndef KDOM_DOMConfiguration_H
+#define KDOM_DOMConfiguration_H
+
+#include <kdom/ecma/DOMLookup.h>
+#include <kdom/DOMString.h>
+
+namespace KDOM
+{
+ enum
+ {
+ FEATURE_CANONICAL_FORM = 0x000001,
+ FEATURE_CDATA_SECTIONS = 0x000002,
+ FEATURE_COMMENTS = 0x000004,
+ FEATURE_DATATYPE_NORMALIZATION = 0x000008,
+ FEATURE_ENTITIES = 0x000010,
+ FEATURE_WELL_FORMED = 0x000020,
+ FEATURE_NAMESPACES = 0x000040,
+ FEATURE_NAMESPACE_DECLARATIONS = 0x000080,
+ FEATURE_NORMALIZE_CHARACTERS = 0x000100,
+ FEATURE_SPLIT_CDATA_SECTIONS = 0x000200,
+ FEATURE_VALIDATE = 0x000400,
+ FEATURE_VALIDATE_IF_SCHEMA = 0x000800,
+ FEATURE_WHITESPACE_IN_ELEMENT_CONTENT = 0x001000,
+ FEATURE_CHECK_CHARACTER_NORMALIZATION = 0x002000,
+ // LSParser specific
+ FEATURE_CHARSET_OVERRIDES_XML_ENCODING = 0x004000,
+ FEATURE_DISALLOW_DOCTYPE = 0x008000,
+ FEATURE_IGNORE_UNKNOWN_CD = 0x010000,
+ FEATURE_SUPPORTED_MEDIA_TYPE_ONLY = 0x020000,
+ // LSSerializer specific
+ FEATURE_DISCARD_DEFAULT_CONTENT = 0x040000,
+ FEATURE_FORMAT_PRETTY_PRINT = 0x080000,
+ FEATURE_XML_DECLARATION = 0x100000
+ };
+
+ static DOMString CANONICAL_FORM("canonical-form");
+ static DOMString CDATA_SECTIONS("cdata-sections");
+ static DOMString CHECK_CHARACTER_NORMALIZATION("check-character-normalization");
+ static DOMString COMMENTS("comments");
+ static DOMString DATATYPE_NORMALIZATION("datatype-normalization");
+ static DOMString ELEMENT_CONTENT_WHITESPACE("element-content-whitespace");
+ static DOMString ENTITIES("entities");
+ static DOMString ERROR_HANDLER("error-handler");
+ static DOMString INFOSET("infoset");
+ static DOMString NAMESPACES("namespaces");
+ static DOMString NAMESPACE_DECLARATIONS("namespace-declarations");
+ static DOMString NORMALIZE_CHARACTERS("normalize-characters");
+ static DOMString SCHEMA_LOCATION("schema-location");
+ static DOMString SCHEMA_TYPE("schema-type");
+ static DOMString SPLIT_CDATA_SECTIONS("split-cdata-sections");
+ static DOMString VALIDATE("validate");
+ static DOMString VALIDATE_IF_SCHEMA("validate-if-schema");
+ static DOMString WELL_FORMED("well-formed");
+ // LSParser specific
+ static DOMString CHARSET_OVERRIDES_XML_ENCODING("charset-overrides-xml-encoding");
+ static DOMString DISALLOW_DOCTYPE("disallow-doctype");
+ static DOMString IGNORE_UNKNOWN_CD("ignore-unknown-character-denormalizations");
+ static DOMString RESOURCE_RESOLVER("resource-resolver");
+ static DOMString SUPPORTED_MEDIA_TYPE_ONLY("supported-media-types-only");
+ // LSSerializer specific
+ static DOMString DISCARD_DEFAULT_CONTENT("discard-default-content");
+ static DOMString FORMAT_PRETTY_PRINT("format-pretty-print");
+ static DOMString XML_DECLARATION("xml-declaration");
+
+ class DOMUserData;
+ class DOMStringList;
+ class DOMConfigurationImpl;
+
+ /**
+ * @short The DOMConfiguration interface represents the configuration of
+ * a document and maintains a table of recognized parameters.
+ *
+ * @author Nikolas Zimmermann <wildfox@kde.org>
+ * @author Rob Buis <buis@kde.org>
+ */
+ // Introduced in DOM Level 3:
+ class DOMConfiguration
+ {
+ public:
+ DOMConfiguration();
+ explicit DOMConfiguration(DOMConfigurationImpl *i);
+ DOMConfiguration(const DOMConfiguration &other);
+ virtual ~DOMConfiguration();
+
+ // Operators
+ DOMConfiguration &operator=(const DOMConfiguration &other);
+ bool operator==(const DOMConfiguration &other) const;
+ bool operator!=(const DOMConfiguration &other) const;
+
+ // 'DOMConfiguration' functions
+ /**
+ * Set the value of a parameter.
+ *
+ * @param name The name of the parameter.
+ * @param value The new value or null if the user wishes to unset
+ * the parameter. While the type of the value parameter is defined
+ * as DOMUserData, the object type must match the type defined by the
+ * definition of the parameter. For example, if the parameter is
+ * "error-handler", the value must be of type DOMErrorHandler.
+ */
+ void setParameter(const DOMString &name, DOMUserData value);
+ void setParameter(const DOMString &name, bool value);
+
+ /**
+ * Return the value of a parameter if known.
+ *
+ * @param name The name of the parameter.
+ *
+ * @returns The current object associated with the specified parameter or
+ * null if no object has been associated or if the parameter is not supported.
+ */
+ DOMUserData getParameter(const DOMString &name) const;
+
+ /**
+ * Check if setting a parameter to a specific value is supported.
+ *
+ * @param name The name of the parameter to check.
+ * @param value An object. if null, the returned value is true.
+ *
+ * @returns true if the parameter could be successfully set to the
+ * specified value, or false if the parameter is not recognized or the
+ * requested value is not supported. This does not change the current
+ * value of the parameter itself.
+ */
+ bool canSetParameter(const DOMString &name, DOMUserData value) const;
+
+ /**
+ * The list of the parameters supported by this DOMConfiguration object
+ * and for which at least one value can be set by the application.
+ * Note that this list can also contain parameter names defined outside
+ * this specification.
+ */
+ DOMStringList parameterNames() const;
+
+ // Internal
+ KDOM_INTERNAL_BASE(DOMConfiguration)
+
+ protected:
+ DOMConfigurationImpl *d;
+
+ public: // EcmaScript section
+ KDOM_BASECLASS_GET
+
+ KJS::Value getValueProperty(KJS::ExecState *exec, int token) const;
+ };
+};
+
+KDOM_DEFINE_PROTOTYPE(DOMConfigurationProto)
+KDOM_IMPLEMENT_PROTOFUNC(DOMConfigurationProtoFunc, DOMConfiguration)
+
+#endif
+
+// vim:ts=4:noet
--- /dev/null
+/*
+ Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
+ 2004 Rob Buis <buis@kde.org>
+
+ This file is part of the KDE project
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#include "Ecma.h"
+#include "DOMError.h"
+#include "DOMErrorImpl.h"
+#include "DOMLocator.h"
+#include "DOMException.h"
+#include "DOMExceptionImpl.h"
+#include "DOMObject.h"
+
+#include "DOMConstants.h"
+#include "DOMError.lut.h"
+using namespace KDOM;
+using namespace KJS;
+
+/*
+@begin DOMError::s_hashTable 7
+ severity DOMErrorConstants::Severity DontDelete|ReadOnly
+ message DOMErrorConstants::Message DontDelete|ReadOnly
+ type DOMErrorConstants::Type DontDelete|ReadOnly
+ relatedException DOMErrorConstants::RelatedException DontDelete|ReadOnly
+ relatedData DOMErrorConstants::RelatedData DontDelete|ReadOnly
+ location DOMErrorConstants::Location DontDelete|ReadOnly
+@end
+*/
+
+Value DOMError::getValueProperty(ExecState *exec, int token) const
+{
+ KDOM_ENTER_SAFE
+
+ switch(token)
+ {
+ case DOMErrorConstants::Severity:
+ return Number(severity());
+ case DOMErrorConstants::Message:
+ return getDOMString(message());
+ case DOMErrorConstants::Type:
+ return getDOMString(type());
+ /*case DOMErrorConstants::RelatedException:
+