-
ddkilzer authored
Reviewed by Darin. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10247 REGRESSION: Unable to build webkit without SVG/XPATH * bindings/js/kjs_binding.cpp: (KJS::setDOMException): * bindings/js/kjs_dom.cpp: (KJS::toJS): * bindings/js/kjs_html.cpp: (KJS::HTMLElementFunction::callAsFunction): * bindings/js/kjs_proxy.cpp: * bindings/js/kjs_proxy.h: * bindings/objc/DOMInternal.h: * bindings/objc/DOMInternal.mm: (raiseDOMException): * bindings/objc/DOMXPath.mm: * bindings/objc/DOMXPathInternal.h: * bindings/scripts/CodeGeneratorJS.pm: * bridge/mac/WebCoreFrameBridge.mm: (+[WebCoreFrameBridge supportedNonImageMIMETypes]): * css/CSSGrammar.y: * css/CSSStyleDeclaration.cpp: (WebCore::propertyID): * css/cssparser.cpp: (WebCore::CSSParser::parseValue): * css/cssparser.h: * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::loadDefaultStyle): (WebCore::CSSStyleSelector::applyProperty): * css/cssstyleselector.h: * dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::~Document): (WebCore::Document::createElementNS): (WebCore::Document::implicitClose): (WebCore::Document::recalcStyleSelector): (WebCore::Document::createEvent): * dom/Document.h: * dom/Document.idl: * dom/Node.cpp: (WebCore::Node::createRendererIfNeeded): * dom/Node.h: * dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::endElementNs): (WebCore::XMLTokenizer::insertErrorMessageBlock): * html/HTMLEmbedElement.cpp: * html/HTMLEmbedElement.h: * html/HTMLObjectElement.cpp: * html/HTMLObjectElement.h: * kcanvas/KCanvasCreator.cpp: * kcanvas/KCanvasCreator.h: * kcanvas/KCanvasFilters.cpp: * kcanvas/KCanvasFilters.h: * kcanvas/KCanvasImage.h: * kcanvas/KCanvasMatrix.cpp: * kcanvas/KCanvasMatrix.h: * kcanvas/KCanvasPath.cpp: * kcanvas/KCanvasPath.h: * kcanvas/KCanvasResourceListener.h: * kcanvas/KCanvasResources.cpp: * kcanvas/KCanvasResources.h: * kcanvas/KCanvasTreeDebug.cpp: * kcanvas/RenderForeignObject.cpp: * kcanvas/RenderForeignObject.h: * kcanvas/RenderPath.cpp: * kcanvas/RenderPath.h: * kcanvas/RenderSVGContainer.cpp: * kcanvas/RenderSVGContainer.h: * kcanvas/RenderSVGImage.cpp: * kcanvas/RenderSVGImage.h: * kcanvas/RenderSVGText.cpp: * kcanvas/RenderSVGText.h: * kcanvas/device/KRenderingDevice.cpp: * kcanvas/device/KRenderingDevice.h: * kcanvas/device/KRenderingFillPainter.cpp: * kcanvas/device/KRenderingFillPainter.h: * kcanvas/device/KRenderingPaintServer.h: * kcanvas/device/KRenderingPaintServerGradient.cpp: * kcanvas/device/KRenderingPaintServerGradient.h: * kcanvas/device/KRenderingPaintServerPattern.cpp: * kcanvas/device/KRenderingPaintServerPattern.h: * kcanvas/device/KRenderingPaintServerSolid.cpp: * kcanvas/device/KRenderingPaintServerSolid.h: * kcanvas/device/KRenderingStrokePainter.cpp: * kcanvas/device/KRenderingStrokePainter.h: * kcanvas/device/quartz/KCanvasFilterQuartz.h: * kcanvas/device/quartz/KCanvasFilterQuartz.mm: * kcanvas/device/quartz/KCanvasItemQuartz.mm: * kcanvas/device/quartz/KCanvasMaskerQuartz.mm: * kcanvas/device/quartz/KCanvasPathQuartz.mm: * kcanvas/device/quartz/KCanvasResourcesQuartz.mm: * kcanvas/device/quartz/KRenderingDeviceQuartz.h: * kcanvas/device/quartz/KRenderingDeviceQuartz.mm: * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm: * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm: * kcanvas/device/quartz/QuartzSupport.h: * kcanvas/device/quartz/QuartzSupport.mm: * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp: * ksvg2/bindings/js/JSSVGElementWrapperFactory.h: * ksvg2/css/SVGCSSParser.cpp: * ksvg2/css/SVGCSSStyleSelector.cpp: * ksvg2/css/SVGRenderStyle.cpp: * ksvg2/css/SVGRenderStyle.h: * ksvg2/css/SVGRenderStyleDefs.cpp: * ksvg2/css/SVGRenderStyleDefs.h: * ksvg2/ecma/GlobalObject.cpp: * ksvg2/ecma/GlobalObject.h: * ksvg2/events/JSSVGLazyEventListener.cpp: * ksvg2/events/JSSVGLazyEventListener.h: * ksvg2/events/SVGZoomEvent.cpp: * ksvg2/events/SVGZoomEvent.h: * ksvg2/ksvg.h: * ksvg2/misc/KCanvasRenderingStyle.cpp: * ksvg2/misc/KCanvasRenderingStyle.h: * ksvg2/misc/KSVGTimeScheduler.cpp: * ksvg2/misc/KSVGTimeScheduler.h: * ksvg2/misc/SVGDocumentExtensions.cpp: * ksvg2/misc/SVGDocumentExtensions.h: * ksvg2/misc/SVGImageLoader.cpp: * ksvg2/misc/SVGImageLoader.h: * ksvg2/svg/DOMList.h: * ksvg2/svg/SVGAElement.cpp: * ksvg2/svg/SVGAElement.h: * ksvg2/svg/SVGAngle.cpp: * ksvg2/svg/SVGAngle.h: * ksvg2/svg/SVGAnimateColorElement.cpp: * ksvg2/svg/SVGAnimateColorElement.h: * ksvg2/svg/SVGAnimateElement.cpp: * ksvg2/svg/SVGAnimateElement.h: * ksvg2/svg/SVGAnimateTransformElement.cpp: * ksvg2/svg/SVGAnimateTransformElement.h: * ksvg2/svg/SVGAnimatedAngle.cpp: * ksvg2/svg/SVGAnimatedAngle.h: * ksvg2/svg/SVGAnimatedBoolean.cpp: * ksvg2/svg/SVGAnimatedBoolean.h: * ksvg2/svg/SVGAnimatedColor.cpp: * ksvg2/svg/SVGAnimatedColor.h: * ksvg2/svg/SVGAnimatedEnumeration.cpp: * ksvg2/svg/SVGAnimatedEnumeration.h: * ksvg2/svg/SVGAnimatedInteger.cpp: * ksvg2/svg/SVGAnimatedInteger.h: * ksvg2/svg/SVGAnimatedLength.cpp: * ksvg2/svg/SVGAnimatedLength.h: * ksvg2/svg/SVGAnimatedLengthList.cpp: * ksvg2/svg/SVGAnimatedLengthList.h: * ksvg2/svg/SVGAnimatedNumber.cpp: * ksvg2/svg/SVGAnimatedNumber.h: * ksvg2/svg/SVGAnimatedNumberList.cpp: * ksvg2/svg/SVGAnimatedNumberList.h: * ksvg2/svg/SVGAnimatedPathData.cpp: * ksvg2/svg/SVGAnimatedPathData.h: * ksvg2/svg/SVGAnimatedPoints.cpp: * ksvg2/svg/SVGAnimatedPoints.h: * ksvg2/svg/SVGAnimatedPreserveAspectRatio.cpp: * ksvg2/svg/SVGAnimatedPreserveAspectRatio.h: * ksvg2/svg/SVGAnimatedRect.cpp: * ksvg2/svg/SVGAnimatedRect.h: * ksvg2/svg/SVGAnimatedString.cpp: * ksvg2/svg/SVGAnimatedString.h: * ksvg2/svg/SVGAnimatedTemplate.h: * ksvg2/svg/SVGAnimatedTransformList.cpp: * ksvg2/svg/SVGAnimatedTransformList.h: * ksvg2/svg/SVGAnimationElement.cpp: * ksvg2/svg/SVGAnimationElement.h: * ksvg2/svg/SVGCircleElement.cpp: * ksvg2/svg/SVGCircleElement.h: * ksvg2/svg/SVGClipPathElement.cpp: * ksvg2/svg/SVGClipPathElement.h: * ksvg2/svg/SVGColor.cpp: * ksvg2/svg/SVGColor.h: * ksvg2/svg/SVGComponentTransferFunctionElement.cpp: * ksvg2/svg/SVGComponentTransferFunctionElement.h: * ksvg2/svg/SVGCursorElement.cpp: * ksvg2/svg/SVGCursorElement.h: * ksvg2/svg/SVGDOMImplementation.cpp: * ksvg2/svg/SVGDOMImplementation.h: * ksvg2/svg/SVGDefsElement.cpp: * ksvg2/svg/SVGDefsElement.h: * ksvg2/svg/SVGDescElement.cpp: * ksvg2/svg/SVGDescElement.h: * ksvg2/svg/SVGDocument.cpp: * ksvg2/svg/SVGDocument.h: * ksvg2/svg/SVGElement.cpp: * ksvg2/svg/SVGElement.h: * ksvg2/svg/SVGElementInstance.cpp: * ksvg2/svg/SVGElementInstance.h: * ksvg2/svg/SVGElementInstanceList.cpp: * ksvg2/svg/SVGElementInstanceList.h: * ksvg2/svg/SVGEllipseElement.cpp: * ksvg2/svg/SVGEllipseElement.h: * ksvg2/svg/SVGExternalResourcesRequired.cpp: * ksvg2/svg/SVGExternalResourcesRequired.h: * ksvg2/svg/SVGFEBlendElement.cpp: * ksvg2/svg/SVGFEBlendElement.h: * ksvg2/svg/SVGFEColorMatrixElement.cpp: * ksvg2/svg/SVGFEColorMatrixElement.h: * ksvg2/svg/SVGFEComponentTransferElement.cpp: * ksvg2/svg/SVGFEComponentTransferElement.h: * ksvg2/svg/SVGFECompositeElement.cpp: * ksvg2/svg/SVGFECompositeElement.h: * ksvg2/svg/SVGFEDiffuseLightingElement.cpp: * ksvg2/svg/SVGFEDiffuseLightingElement.h: * ksvg2/svg/SVGFEDisplacementMapElement.cpp: * ksvg2/svg/SVGFEDisplacementMapElement.h: * ksvg2/svg/SVGFEDistantLightElement.cpp: * ksvg2/svg/SVGFEDistantLightElement.h: * ksvg2/svg/SVGFEFloodElement.cpp: * ksvg2/svg/SVGFEFloodElement.h: * ksvg2/svg/SVGFEFuncAElement.cpp: * ksvg2/svg/SVGFEFuncAElement.h: * ksvg2/svg/SVGFEFuncBElement.cpp: * ksvg2/svg/SVGFEFuncBElement.h: * ksvg2/svg/SVGFEFuncGElement.cpp: * ksvg2/svg/SVGFEFuncGElement.h: * ksvg2/svg/SVGFEFuncRElement.cpp: * ksvg2/svg/SVGFEFuncRElement.h: * ksvg2/svg/SVGFEGaussianBlurElement.cpp: * ksvg2/svg/SVGFEGaussianBlurElement.h: * ksvg2/svg/SVGFEImageElement.cpp: * ksvg2/svg/SVGFEImageElement.h: * ksvg2/svg/SVGFELightElement.cpp: * ksvg2/svg/SVGFELightElement.h: * ksvg2/svg/SVGFEMergeElement.cpp: * ksvg2/svg/SVGFEMergeElement.h: * ksvg2/svg/SVGFEMergeNodeElement.cpp: * ksvg2/svg/SVGFEMergeNodeElement.h: * ksvg2/svg/SVGFEOffsetElement.cpp: * ksvg2/svg/SVGFEOffsetElement.h: * ksvg2/svg/SVGFEPointLightElement.cpp: * ksvg2/svg/SVGFEPointLightElement.h: * ksvg2/svg/SVGFESpecularLightingElement.cpp: * ksvg2/svg/SVGFESpecularLightingElement.h: * ksvg2/svg/SVGFESpotLightElement.cpp: * ksvg2/svg/SVGFESpotLightElement.h: * ksvg2/svg/SVGFETileElement.cpp: * ksvg2/svg/SVGFETileElement.h: * ksvg2/svg/SVGFETurbulenceElement.cpp: * ksvg2/svg/SVGFETurbulenceElement.h: * ksvg2/svg/SVGFilterElement.cpp: * ksvg2/svg/SVGFilterElement.h: * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp: * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h: * ksvg2/svg/SVGFitToViewBox.cpp: * ksvg2/svg/SVGFitToViewBox.h: * ksvg2/svg/SVGForeignObjectElement.cpp: * ksvg2/svg/SVGForeignObjectElement.h: * ksvg2/svg/SVGGElement.cpp: * ksvg2/svg/SVGGElement.h: * ksvg2/svg/SVGGradientElement.cpp: * ksvg2/svg/SVGGradientElement.h: * ksvg2/svg/SVGHelper.cpp: * ksvg2/svg/SVGHelper.h: * ksvg2/svg/SVGImageElement.cpp: * ksvg2/svg/SVGImageElement.h: * ksvg2/svg/SVGLangSpace.cpp: * ksvg2/svg/SVGLangSpace.h: * ksvg2/svg/SVGLength.cpp: * ksvg2/svg/SVGLength.h: * ksvg2/svg/SVGLengthList.cpp: * ksvg2/svg/SVGLengthList.h: * ksvg2/svg/SVGLineElement.cpp: * ksvg2/svg/SVGLineElement.h: * ksvg2/svg/SVGLinearGradientElement.cpp: * ksvg2/svg/SVGLinearGradientElement.h: * ksvg2/svg/SVGList.h: * ksvg2/svg/SVGLocatable.cpp: * ksvg2/svg/SVGLocatable.h: * ksvg2/svg/SVGMarkerElement.cpp: * ksvg2/svg/SVGMarkerElement.h: * ksvg2/svg/SVGMaskElement.cpp: * ksvg2/svg/SVGMaskElement.h: * ksvg2/svg/SVGMatrix.cpp: * ksvg2/svg/SVGMatrix.h: * ksvg2/svg/SVGNumber.cpp: * ksvg2/svg/SVGNumber.h: * ksvg2/svg/SVGNumberList.cpp: * ksvg2/svg/SVGNumberList.h: * ksvg2/svg/SVGPaint.cpp: * ksvg2/svg/SVGPaint.h: * ksvg2/svg/SVGPathElement.cpp: * ksvg2/svg/SVGPathElement.h: * ksvg2/svg/SVGPathSeg.cpp: * ksvg2/svg/SVGPathSeg.h: * ksvg2/svg/SVGPathSegArc.cpp: * ksvg2/svg/SVGPathSegArc.h: * ksvg2/svg/SVGPathSegClosePath.cpp: * ksvg2/svg/SVGPathSegClosePath.h: * ksvg2/svg/SVGPathSegCurvetoCubic.cpp: * ksvg2/svg/SVGPathSegCurvetoCubic.h: * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp: * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h: * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp: * ksvg2/svg/SVGPathSegCurvetoQuadratic.h: * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp: * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h: * ksvg2/svg/SVGPathSegLineto.cpp: * ksvg2/svg/SVGPathSegLineto.h: * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp: * ksvg2/svg/SVGPathSegLinetoHorizontal.h: * ksvg2/svg/SVGPathSegLinetoVertical.cpp: * ksvg2/svg/SVGPathSegLinetoVertical.h: * ksvg2/svg/SVGPathSegList.cpp: * ksvg2/svg/SVGPathSegList.h: * ksvg2/svg/SVGPathSegMoveto.cpp: * ksvg2/svg/SVGPathSegMoveto.h: * ksvg2/svg/SVGPatternElement.cpp: * ksvg2/svg/SVGPatternElement.h: * ksvg2/svg/SVGPoint.cpp: * ksvg2/svg/SVGPoint.h: * ksvg2/svg/SVGPointList.cpp: * ksvg2/svg/SVGPointList.h: * ksvg2/svg/SVGPolyElement.cpp: * ksvg2/svg/SVGPolyElement.h: * ksvg2/svg/SVGPolygonElement.cpp: * ksvg2/svg/SVGPolygonElement.h: * ksvg2/svg/SVGPolylineElement.cpp: * ksvg2/svg/SVGPolylineElement.h: * ksvg2/svg/SVGPreserveAspectRatio.cpp: * ksvg2/svg/SVGPreserveAspectRatio.h: * ksvg2/svg/SVGRadialGradientElement.cpp: * ksvg2/svg/SVGRadialGradientElement.h: * ksvg2/svg/SVGRect.cpp: * ksvg2/svg/SVGRect.h: * ksvg2/svg/SVGRectElement.cpp: * ksvg2/svg/SVGRectElement.h: * ksvg2/svg/SVGSVGElement.cpp: * ksvg2/svg/SVGSVGElement.h: * ksvg2/svg/SVGScriptElement.cpp: * ksvg2/svg/SVGScriptElement.h: * ksvg2/svg/SVGSetElement.cpp: * ksvg2/svg/SVGSetElement.h: * ksvg2/svg/SVGStopElement.cpp: * ksvg2/svg/SVGStopElement.h: * ksvg2/svg/SVGStringList.cpp: * ksvg2/svg/SVGStringList.h: * ksvg2/svg/SVGStylable.cpp: * ksvg2/svg/SVGStylable.h: * ksvg2/svg/SVGStyleElement.cpp: * ksvg2/svg/SVGStyleElement.h: * ksvg2/svg/SVGStyledElement.cpp: * ksvg2/svg/SVGStyledElement.h: * ksvg2/svg/SVGStyledLocatableElement.cpp: * ksvg2/svg/SVGStyledLocatableElement.h: * ksvg2/svg/SVGStyledTransformableElement.cpp: * ksvg2/svg/SVGStyledTransformableElement.h: * ksvg2/svg/SVGSwitchElement.cpp: * ksvg2/svg/SVGSwitchElement.h: * ksvg2/svg/SVGSymbolElement.cpp: * ksvg2/svg/SVGSymbolElement.h: * ksvg2/svg/SVGTRefElement.cpp: * ksvg2/svg/SVGTRefElement.h: * ksvg2/svg/SVGTSpanElement.cpp: * ksvg2/svg/SVGTSpanElement.h: * ksvg2/svg/SVGTests.cpp: * ksvg2/svg/SVGTests.h: * ksvg2/svg/SVGTextContentElement.cpp: * ksvg2/svg/SVGTextContentElement.h: * ksvg2/svg/SVGTextElement.cpp: * ksvg2/svg/SVGTextElement.h: * ksvg2/svg/SVGTextPositioningElement.cpp: * ksvg2/svg/SVGTextPositioningElement.h: * ksvg2/svg/SVGTitleElement.cpp: * ksvg2/svg/SVGTitleElement.h: * ksvg2/svg/SVGTransform.cpp: * ksvg2/svg/SVGTransform.h: * ksvg2/svg/SVGTransformList.cpp: * ksvg2/svg/SVGTransformList.h: * ksvg2/svg/SVGTransformable.cpp: * ksvg2/svg/SVGTransformable.h: * ksvg2/svg/SVGURIReference.cpp: * ksvg2/svg/SVGURIReference.h: * ksvg2/svg/SVGUseElement.cpp: * ksvg2/svg/SVGUseElement.h: * ksvg2/svg/SVGViewElement.cpp: * ksvg2/svg/SVGViewElement.h: * ksvg2/svg/SVGZoomAndPan.cpp: * ksvg2/svg/SVGZoomAndPan.h: * ksvg2/svg/svgpathparser.cpp: * ksvg2/svg/svgpathparser.h: * page/DOMWindow.idl: * page/Frame.cpp: (WebCore::Frame::Frame): (WebCore::Frame::begin): (WebCore::Frame::pauseTimeouts): (WebCore::Frame::resumeTimeouts): * platform/GraphicsContext.h: * platform/cg/GraphicsContextCG.cpp: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::isTransparent): * rendering/RenderObject.cpp: (WebCore::RenderObject::containingBlock): * rendering/RenderObject.h: * rendering/RenderStyle.cpp: (WebCore::RenderStyle::RenderStyle): (WebCore::RenderStyle::inheritFrom): (WebCore::RenderStyle::operator==): (WebCore::RenderStyle::inheritedNotEqual): (WebCore::RenderStyle::diff): * rendering/RenderStyle.h: * rendering/RenderTreeAsText.cpp: (WebCore::write): (WebCore::externalRepresentation): * xpath/XPathEvaluator.cpp: * xpath/XPathEvaluator.h: * xpath/XPathExpression.cpp: * xpath/XPathExpression.h: * xpath/XPathNSResolver.cpp: * xpath/XPathNSResolver.h: * xpath/XPathNamespace.cpp: * xpath/XPathNamespace.h: * xpath/XPathResult.cpp: * xpath/XPathResult.h: * xpath/impl/XPathExpressionNode.cpp: * xpath/impl/XPathExpressionNode.h: * xpath/impl/XPathFunctions.cpp: * xpath/impl/XPathFunctions.h: * xpath/impl/XPathGrammar.y: * xpath/impl/XPathParser.cpp: * xpath/impl/XPathParser.h: * xpath/impl/XPathPath.cpp: * xpath/impl/XPathPath.h: * xpath/impl/XPathPredicate.cpp: * xpath/impl/XPathPredicate.h: * xpath/impl/XPathStep.cpp: * xpath/impl/XPathStep.h: * xpath/impl/XPathUtil.cpp: * xpath/impl/XPathUtil.h: * xpath/impl/XPathValue.cpp: * xpath/impl/XPathValue.h: * xpath/impl/XPathVariableReference.cpp: * xpath/impl/XPathVariableReference.h: Change all #if SVG_SUPPORT to #ifdef SVG_SUPPORT and #if XPATH_SUPPORT to #ifdef XPATH_SUPPORT (except for one #if !SVG_SUPPORT to a #ifndef SVG_SUPPORT in RenderTreeAsText.cpp) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
54f5ceac