1. 30 Nov, 2007 1 commit
  2. 03 Nov, 2007 1 commit
    • ddkilzer's avatar
      WebCore: · cd662e65
      ddkilzer authored
              LGPL'ed files contain incorrect FSF address
              <http://bugs.webkit.org/show_bug.cgi?id=14885>
      
              Reviewed by NOBODY (follow-up fix).
      
              * bindings/js/JSSVGTransformListCustom.cpp:
              * ksvg2/svg/SVGException.idl:
              * ksvg2/svg/SVGTextPathElement.cpp:
              * ksvg2/svg/SVGTextPathElement.h:
              * ksvg2/svg/SVGViewSpec.cpp:
              * ksvg2/svg/SVGViewSpec.h:
              * platform/mac/FontCustomPlatformData.cpp:
              * platform/mac/FontCustomPlatformData.h:
              * platform/mac/FontPlatformDataMac.mm:
              * platform/win/FontCustomPlatformData.cpp:
              * platform/win/FontCustomPlatformData.h:
              * rendering/RenderSVGRoot.cpp:
              * rendering/RenderSVGRoot.h:
              * rendering/RenderSVGTextPath.cpp:
              * rendering/RenderSVGTextPath.h:
              * rendering/RenderSVGTransformableContainer.h:
              * rendering/RenderSVGViewportContainer.cpp:
              * rendering/RenderSVGViewportContainer.h:
              * rendering/SVGCharacterLayoutInfo.cpp:
              * rendering/SVGCharacterLayoutInfo.h:
              * rendering/SVGRenderSupport.cpp:
              * rendering/SVGRenderSupport.h:
      
      WebKitSite:
      
              LGPL'ed files contain incorrect FSF address
              <http://bugs.webkit.org/show_bug.cgi?id=14885>
      
              Reviewed by NOBODY (follow-up fix).
      
              * blog/wp-includes/class-snoopy.php:
              * blog/wp-includes/gettext.php:
              * blog/wp-includes/streams.php:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd662e65
  3. 12 Oct, 2007 5 commits
    • oliver's avatar
      Land support for the CSS @font-face rule. This patch allows custom fonts · d6ae4964
      oliver authored
              to be downloaded from the Web and rendered in Web pages.  Right now only
              TrueType fonts are supported.  Proprietary formats like .eot are not
              supported.
      
              Reviewed by Eric Seidel
      
              Many tests will be coming in a future landing.
      
              * WebCore.base.exp:
              Expose some more stuff for WebKit, caused by font restructuring.
      
              * WebCore.xcodeproj/project.pbxproj:
              Add all the new font face files.
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              Make sure to ignore the 'src' property of @font-face rules.
      
              * css/CSSFontFace.cpp: Added.
              (WebCore::CSSFontFace::CSSFontFace):
              (WebCore::CSSFontFace::~CSSFontFace):
              (WebCore::CSSFontFace::isLoaded):
              (WebCore::CSSFontFace::isValid):
              (WebCore::CSSFontFace::addSource):
              (WebCore::CSSFontFace::fontLoaded):
              (WebCore::CSSFontFace::getFontData):
              * css/CSSFontFace.h: Added.
              A CSSFontFace is a composite object.  It consists of multiple font-face sources, where each source represents either a remote or local
              file in a @font-face rule's src list.
      
              * css/CSSFontFaceRule.cpp:
              (WebCore::CSSFontFaceRule::setDeclaration):
              (WebCore::CSSFontFaceRule::cssText):
              * css/CSSFontFaceRule.h:
              The implementation of the @font-face rule itself in the CSS sheet back end.
      
              * css/CSSFontFaceSource.cpp: Added.
              (WebCore::CSSFontFaceSource::CSSFontFaceSource):
              (WebCore::CSSFontFaceSource::~CSSFontFaceSource):
              (WebCore::CSSFontFaceSource::pruneTable):
              (WebCore::CSSFontFaceSource::isLoaded):
              (WebCore::CSSFontFaceSource::isValid):
              (WebCore::CSSFontFaceSource::fontLoaded):
              (WebCore::CSSFontFaceSource::getFontData):
              * css/CSSFontFaceSource.h: Added.
              (WebCore::CSSFontFaceSource::string):
              (WebCore::CSSFontFaceSource::setFontFace):
              A font face source represents a single remote or local font.  If it represents a remote font than it wraps a CachedFont.
      
              * css/CSSFontFaceSrcValue.cpp: Added.
              (WebCore::CSSFontFaceSrcValue::isSupportedFormat):
              (WebCore::CSSFontFaceSrcValue::cssText):
              * css/CSSFontFaceSrcValue.h: Added.
              (WebCore::CSSFontFaceSrcValue::m_isLocal):
              (WebCore::CSSFontFaceSrcValue::~CSSFontFaceSrcValue):
              (WebCore::CSSFontFaceSrcValue::resource):
              (WebCore::CSSFontFaceSrcValue::format):
              (WebCore::CSSFontFaceSrcValue::isLocal):
              (WebCore::CSSFontFaceSrcValue::setFormat):
              Used in parsing.  Represents the parsed form of the src value that can then be used to build up a CSSFontFace.
      
              * css/CSSFontSelector.cpp: Added.
              (WebCore::CSSFontSelector::CSSFontSelector):
              (WebCore::CSSFontSelector::~CSSFontSelector):
              (WebCore::CSSFontSelector::isEmpty):
              (WebCore::CSSFontSelector::docLoader):
              (WebCore::hashForFont):
              (WebCore::CSSFontSelector::addFontFaceRule):
              (WebCore::CSSFontSelector::fontLoaded):
              (WebCore::CSSFontSelector::getFontData):
              * css/CSSFontSelector.h: Added.
              The CSS font selector is the object that selects the correct font given a specified font family.  It builds up a database of CSSFontFaces that can then be handed
              back.
      
              * css/CSSGrammar.y:
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseValue):
              (WebCore::CSSParser::parseFontFaceSrc):
              (WebCore::CSSParser::createFontFaceRule):
              * css/CSSParser.h:
              Modify the CSS grammar to now understand @font-face rules.
      
              * css/CSSPropertyNames.in:
              Add the src property.
      
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              (WebCore::CSSStyleSelector::styleForElement):
              (WebCore::CSSStyleSelector::updateFont):
              (WebCore::CSSRuleSet::addRulesFromSheet):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::ensureFontSelector):
              * css/CSSStyleSelector.h:
              (WebCore::CSSStyleSelector::fontSelector):
              The style selector now creates a font selector object and feeds it the appropriate information when @font-face rules are encountered.
      
              * dom/Document.cpp:
              (WebCore::Document::recalcStyle):
              Patch the update method now that it takes a font selector argument.
      
              * loader/Cache.cpp:
              (WebCore::createResource):
              (WebCore::Cache::getStatistics):
              * loader/Cache.h:
              Teach the Cache about CachedFonts.
      
              * loader/CachedFont.cpp: Added.
              (WebCore::CachedFont::CachedFont):
              (WebCore::CachedFont::~CachedFont):
              (WebCore::CachedFont::ref):
              (WebCore::CachedFont::data):
              (WebCore::CachedFont::beginLoadIfNeeded):
              (WebCore::CachedFont::ensureCustomFontData):
              (WebCore::CachedFont::platformDataFromCustomData):
              (WebCore::CachedFont::allReferencesRemoved):
              (WebCore::CachedFont::checkNotify):
              (WebCore::CachedFont::error):
              * loader/CachedFont.h: Added.
              (WebCore::CachedFont::schedule):
              The implementation of CachedFont.  This represents the downloaded resource and has all the raw font data.
      
              * loader/CachedResource.h:
              (WebCore::CachedResource::):
              * loader/CachedResourceClient.h:
              (WebCore::CachedResourceClient::fontLoaded):
              Add a new fontLoaded method for clients of cached resources to track when fonts finish downloading.
      
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestFont):
              * loader/DocLoader.h:
               Add the ability to request a font.
      
              * platform/Font.cpp:
              (WebCore::Font::operator==):
              (WebCore::Font::update):
              (WebCore::Font::drawText):
              * platform/Font.h:
              * platform/FontCache.cpp:
              (WebCore::FontCache::getFontData):
              * platform/FontCache.h:
              * platform/FontData.cpp:
              (WebCore::FontData::FontData):
              * platform/FontData.h:
              (WebCore::FontData::isCustomFont):
              (WebCore::FontData::isLoading):
              * platform/FontFallbackList.cpp:
              (WebCore::FontFallbackList::FontFallbackList):
              (WebCore::FontFallbackList::invalidate):
              (WebCore::FontFallbackList::fontDataAt):
              * platform/FontFallbackList.h:
              (WebCore::FontFallbackList::loadingCustomFonts):
              (WebCore::FontFallbackList::fontSelector):
              * platform/FontSelector.h: Added.
              (WebCore::FontSelector::~FontSelector):
              * platform/GlyphPageTreeNode.cpp:
              (WebCore::GlyphPageTreeNode::getRoot):
              (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
              (WebCore::GlyphPageTreeNode::~GlyphPageTreeNode):
              (WebCore::GlyphPageTreeNode::initializePage):
              (WebCore::GlyphPageTreeNode::getChild):
              (WebCore::GlyphPageTreeNode::pruneCustomFontData):
              * platform/GlyphPageTreeNode.h:
              (WebCore::GlyphPageTreeNode::GlyphPageTreeNode):
              (WebCore::GlyphPageTreeNode::page):
              * platform/PopupMenuClient.h:
              * platform/mac/FontCacheMac.mm:
              (WebCore::FontCache::getFontDataForCharacters):
              (WebCore::FontCache::getLastResortFallbackFont):
              (WebCore::FontCache::fontExists):
              (WebCore::FontCache::createFontPlatformData):
              * platform/mac/FontCustomPlatformData.cpp: Added.
              (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
              (WebCore::FontCustomPlatformData::fontPlatformData):
              (WebCore::createFontCustomPlatformData):
              * platform/mac/FontCustomPlatformData.h: Added.
              (WebCore::FontCustomPlatformData::FontCustomPlatformData):
              * platform/mac/FontDataMac.mm:
              (WebCore::initFontData):
              (WebCore::FontData::platformInit):
              (WebCore::FontData::smallCapsFontData):
              (WebCore::FontData::platformWidthForGlyph):
              (WebCore::FontData::checkShapesArabic):
              * platform/mac/FontMac.mm:
              (WebCore::initializeATSUStyle):
              (WebCore::Font::drawGlyphs):
              * platform/mac/FontPlatformData.h:
              (WebCore::FontPlatformData::FontPlatformData):
              (WebCore::FontPlatformData::hash):
              (WebCore::FontPlatformData::operator==):
              * platform/mac/FontPlatformDataMac.mm: Added.
              (WebCore::FontPlatformData::FontPlatformData):
              (WebCore::~FontPlatformData):
              (WebCore::FontPlatformData::setFont):
              * platform/mac/WebCoreSystemInterface.h:
              * platform/mac/WebCoreSystemInterface.mm:
              * platform/win/FontCacheWin.cpp:
              (WebCore::FontCache::getLastResortFallbackFont):
              (WebCore::FontCache::fontExists):
              * platform/win/FontCustomPlatformData.cpp: Added.
              (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
              (WebCore::FontCustomPlatformData::fontPlatformData):
              (WebCore::getData):
              (WebCore::releaseData):
              (WebCore::getBytesWithOffset):
              (WebCore::createFontCustomPlatformData):
              * platform/win/FontCustomPlatformData.h: Added.
              (WebCore::FontCustomPlatformData::FontCustomPlatformData):
              * platform/win/FontDataWin.cpp:
              (WebCore::FontData::platformInit):
              (WebCore::FontData::platformDestroy):
              (WebCore::FontData::smallCapsFontData):
              (WebCore::FontData::containsCharacters):
              (WebCore::FontData::determinePitch):
              * platform/win/FontPlatformData.h:
              (WebCore::FontPlatformData::FontPlatformData):
              (WebCore::FontPlatformData::hash):
              (WebCore::FontPlatformData::operator==):
              * platform/win/FontPlatformDataWin.cpp:
              (WebCore::FontPlatformData::FontPlatformData):
              * platform/win/PopupMenuWin.cpp:
              (WebCore::PopupMenu::paint):
              Changes to platform to support rendering of custom fonts.  Too large to go into, but for ports, the relevant object to implement is
              FontCustomPlatformData (to get the data loaded into your native font format), and then you have to patch your other font objects to know
              how to use the font.
      
              * rendering/RenderListBox.cpp:
              (WebCore::RenderListBox::updateFromElement):
              (WebCore::RenderListBox::paintItemForeground):
              * rendering/RenderMenuList.cpp:
              (WebCore::RenderMenuList::fontSelector):
              * rendering/RenderMenuList.h:
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::fontSelector):
              * rendering/RenderTextControl.h:
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::setFontFromControlSize):
              * rendering/RenderThemeSafari.cpp:
              (WebCore::RenderThemeSafari::setFontFromControlSize):
              Patches for update now taking a font selector argument.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6ae4964
    • oliver's avatar
      Reviewed by Oliver. · b64767cf
      oliver authored
      Rewrite text painting code path, to be based on "text chunks" instead of using the InlineBox* hierarchy.
      This allows us to reuse paint servers as long as possible - and to actually paint in the way didacted by the spec.
      
      This also implements advanced SVG text decorations (ie. stroked/filled decos with gradient/pattern).
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=7200 (Gradient appears and disappears in SVG when text is off screen)
      
      Fixes paint server usage on text paths. (ie. styled text paths, with gradients/filters).
      
      (Oops, forgot to commit WebCore/ changes!)
      Reviewed by Oliver.
      
      Rewrite text painting code path, to be based on "text chunks" instead of using the InlineBox* hierarchy.
      This allows us to reuse paint servers as long as possible - and to actually paint in the way didacted by the spec.
      
      This also implements advanced SVG text decorations (ie. stroked/filled decos with gradient/pattern).
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=7200 (Gradient appears and disappears in SVG when text is off screen)
      
      Fixes paint server usage on text paths. (ie. styled text paths, with gradients/filters).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64767cf
    • oliver's avatar
      Reviewed by Oliver & Rob. · f69ac65c
      oliver authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=12501 (SVG Text fails to respect opacity, fill-opacity and stroke-opacity)
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=14045 (Incorrect support for opacity, fill-opacity and stroke-opacity)
      
      Based on an older patch from Rob, this fixes SVG text opacity as well as group opacity for solid fills & gradients.
      The pattern changes are still missing a testcase (need to wait for Antoine Quint for that).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f69ac65c
    • oliver's avatar
      2007-06-06 Eric Seidel <eric@webkit.org> · b3a02bfd
      oliver authored
              Reviewed by weinig.
      
              Break out common SVG rendering logic into prepareToRenderSVGContent in SVGRenderSupport
      
              No test cases should be changed by this.
      
              * WebCore.xcodeproj/project.pbxproj:
              * rendering/RenderPath.cpp:
              (WebCore::fillAndStrokePath):
              (WebCore::RenderPath::paint):
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::RenderSVGContainer):
              (WebCore::RenderSVGContainer::requiresLayer):
              (WebCore::RenderSVGContainer::isOutermostSVG):
              (WebCore::RenderSVGContainer::layout):
              (WebCore::RenderSVGContainer::applyContentTransforms):
              (WebCore::RenderSVGContainer::paint):
              (WebCore::RenderSVGContainer::viewportTransform):
              (WebCore::RenderSVGContainer::absoluteTransform):
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              (WebCore::RenderSVGImage::translationForAttributes):
              * rendering/SVGRenderSupport.cpp: Added.
              (WebCore::prepareToRenderSVGContent):
              * rendering/SVGRenderSupport.h: Added.
              * rendering/SVGRootInlineBox.cpp:
              (WebCore::prepareTextRendering):
              (WebCore::SVGRootInlineBox::paint):
              (WebCore::SVGRootInlineBox::paintInlineBoxes):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3a02bfd
    • oliver's avatar
      Reviewed by Oliver. · 98d52384
      oliver authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=12698 (SVG text needs a special per-character layout mode.)
      Finally land the new SVG text engine.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98d52384
  4. 25 Sep, 2007 1 commit
    • ddkilzer's avatar
      JavaScriptCore: · c8eccecd
      ddkilzer authored
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * COPYING.LIB:
              * bindings/testbindings.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/DateMath.cpp:
              * kjs/PropertyNameArray.cpp:
              * kjs/PropertyNameArray.h:
              * kjs/config.h:
      
      WebCore:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * LICENSE-LGPL-2:
              * LICENSE-LGPL-2.1:
              * WebCorePrefix.h:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCondition.h:
              * bindings/js/JSNodeIteratorCustom.cpp:
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGMatrixCustom.cpp:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSSVGPathSegListCustom.cpp:
              * bindings/js/JSSVGPointListCustom.cpp:
              * bindings/js/JSTreeWalkerCustom.cpp:
              * bindings/js/JSXMLHttpRequest.cpp:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.cpp:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.cpp:
              * bindings/objc/DOMImplementationFront.h:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * bindings/scripts/IDLParser.pm:
              * bindings/scripts/IDLStructure.pm:
              * bindings/scripts/generate-bindings.pl:
              * config.h:
              * css/CSSBorderImageValue.cpp:
              * css/CSSBorderImageValue.h:
              * css/CSSCharsetRule.cpp:
              * css/CSSCharsetRule.h:
              * css/CSSCharsetRule.idl:
              * css/CSSComputedStyleDeclaration.cpp:
              * css/CSSComputedStyleDeclaration.h:
              * css/CSSCursorImageValue.cpp:
              * css/CSSCursorImageValue.h:
              * css/CSSFontFaceRule.cpp:
              * css/CSSFontFaceRule.h:
              * css/CSSFontFaceRule.idl:
              * css/CSSGrammar.y:
              * css/CSSHelper.cpp:
              * css/CSSHelper.h:
              * css/CSSImageValue.cpp:
              * css/CSSImageValue.h:
              * css/CSSImportRule.cpp:
              * css/CSSImportRule.h:
              * css/CSSImportRule.idl:
              * css/CSSInheritedValue.cpp:
              * css/CSSInheritedValue.h:
              * css/CSSInitialValue.cpp:
              * css/CSSInitialValue.h:
              * css/CSSMediaRule.cpp:
              * css/CSSMediaRule.h:
              * css/CSSMediaRule.idl:
              * css/CSSMutableStyleDeclaration.cpp:
              * css/CSSMutableStyleDeclaration.h:
              * css/CSSNamespace.h:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/CSSPageRule.idl:
              * css/CSSParser.cpp:
              * css/CSSParser.h:
              * css/CSSPrimitiveValue.cpp:
              * css/CSSPrimitiveValue.h:
              * css/CSSPrimitiveValue.idl:
              * css/CSSProperty.cpp:
              * css/CSSProperty.h:
              * css/CSSQuirkPrimitiveValue.h:
              * css/CSSRule.cpp:
              * css/CSSRule.h:
              * css/CSSRule.idl:
              * css/CSSRuleList.cpp:
              * css/CSSRuleList.h:
              * css/CSSSelector.cpp:
              * css/CSSSelector.h:
              * css/CSSStyleDeclaration.cpp:
              * css/CSSStyleDeclaration.h:
              * css/CSSStyleDeclaration.idl:
              * css/CSSStyleRule.cpp:
              * css/CSSStyleRule.h:
              * css/CSSStyleRule.idl:
              * css/CSSStyleSelector.cpp:
              * css/CSSStyleSelector.h:
              * css/CSSStyleSheet.cpp:
              * css/CSSStyleSheet.h:
              * css/CSSStyleSheet.idl:
              * css/CSSUnknownRule.h:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.h:
              * css/CSSValue.idl:
              * css/CSSValueList.cpp:
              * css/CSSValueList.h:
              * css/Counter.h:
              * css/Counter.idl:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.cpp:
              * css/FontFamilyValue.h:
              * css/FontValue.cpp:
              * css/FontValue.h:
              * css/MediaFeatureNames.cpp:
              * css/MediaFeatureNames.h:
              * css/MediaList.cpp:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RGBColor.idl:
              * css/Rect.h:
              * css/Rect.idl:
              * css/ShadowValue.cpp:
              * css/ShadowValue.h:
              * css/StyleBase.cpp:
              * css/StyleBase.h:
              * css/StyleList.cpp:
              * css/StyleList.h:
              * css/StyleSheet.cpp:
              * css/StyleSheet.h:
              * css/StyleSheet.idl:
              * css/StyleSheetList.cpp:
              * css/StyleSheetList.h:
              * css/StyleSheetList.idl:
              * css/html4.css:
              * css/make-css-file-arrays.pl:
              * css/makegrammar.pl:
              * css/makeprop.pl:
              * css/maketokenizer:
              * css/makevalues.pl:
              * css/quirks.css:
              * dom/AtomicStringList.h:
              * dom/Attr.cpp:
              * dom/Attr.h:
              * dom/Attr.idl:
              * dom/Attribute.cpp:
              * dom/Attribute.h:
              * dom/BeforeUnloadEvent.cpp:
              * dom/BeforeUnloadEvent.h:
              * dom/CDATASection.cpp:
              * dom/CDATASection.h:
              * dom/CDATASection.idl:
              * dom/CSSMappedAttributeDeclaration.cpp:
              * dom/CSSMappedAttributeDeclaration.h:
              * dom/CharacterData.cpp:
              * dom/CharacterData.h:
              * dom/CharacterData.idl:
              * dom/ChildNodeList.cpp:
              * dom/ChildNodeList.h:
              * dom/Clipboard.h:
              * dom/ClipboardEvent.cpp:
              * dom/ClipboardEvent.h:
              * dom/Comment.cpp:
              * dom/Comment.h:
              * dom/Comment.idl:
              * dom/ContainerNode.cpp:
              * dom/ContainerNode.h:
              * dom/DOMImplementation.cpp:
              * dom/DOMImplementation.h:
              * dom/DOMImplementation.idl:
              * dom/DocPtr.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/Document.idl:
              * dom/DocumentFragment.cpp:
              * dom/DocumentFragment.h:
              * dom/DocumentFragment.idl:
              * dom/DocumentMarker.h:
              * dom/DocumentType.cpp:
              * dom/DocumentType.h:
              * dom/DocumentType.idl:
              * dom/EditingText.cpp:
              * dom/EditingText.h:
              * dom/Element.cpp:
              * dom/Element.h:
              * dom/Element.idl:
              * dom/Entity.cpp:
              * dom/Entity.h:
              * dom/Entity.idl:
              * dom/EntityReference.cpp:
              * dom/EntityReference.h:
              * dom/EntityReference.idl:
              * dom/Event.cpp:
              * dom/Event.h:
              * dom/Event.idl:
              * dom/EventListener.h:
              * dom/EventListener.idl:
              * dom/EventNames.cpp:
              * dom/EventNames.h:
              * dom/EventTarget.idl:
              * dom/EventTargetNode.cpp:
              * dom/EventTargetNode.h:
              * dom/ExceptionCode.h:
              * dom/KeyboardEvent.cpp:
              * dom/KeyboardEvent.h:
              * dom/KeyboardEvent.idl:
              * dom/MappedAttribute.cpp:
              * dom/MappedAttribute.h:
              * dom/MappedAttributeEntry.h:
              * dom/MouseEvent.cpp:
              * dom/MouseEvent.h:
              * dom/MouseEvent.idl:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/MutationEvent.cpp:
              * dom/MutationEvent.h:
              * dom/MutationEvent.idl:
              * dom/NameNodeList.cpp:
              * dom/NameNodeList.h:
              * dom/NamedAttrMap.cpp:
              * dom/NamedAttrMap.h:
              * dom/NamedMappedAttrMap.cpp:
              * dom/NamedMappedAttrMap.h:
              * dom/NamedNodeMap.h:
              * dom/NamedNodeMap.idl:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Node.idl:
              * dom/NodeFilter.cpp:
              * dom/NodeFilter.h:
              * dom/NodeFilter.idl:
              * dom/NodeFilterCondition.cpp:
              * dom/NodeFilterCondition.h:
              * dom/NodeIterator.cpp:
              * dom/NodeIterator.h:
              * dom/NodeIterator.idl:
              * dom/NodeList.cpp:
              * dom/NodeList.h:
              * dom/NodeList.idl:
              * dom/Notation.cpp:
              * dom/Notation.h:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.cpp:
              * dom/ProcessingInstruction.h:
              * dom/ProcessingInstruction.idl:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/Range.cpp:
              * dom/Range.h:
              * dom/Range.idl:
              * dom/RangeException.h:
              * dom/RangeException.idl:
              * dom/RegisteredEventListener.cpp:
              * dom/RegisteredEventListener.h:
              * dom/StyleElement.cpp:
              * dom/StyleElement.h:
              * dom/StyledElement.cpp:
              * dom/StyledElement.h:
              * dom/Text.cpp:
              * dom/Text.h:
              * dom/Text.idl:
              * dom/Tokenizer.h:
              * dom/Traversal.cpp:
              * dom/Traversal.h:
              * dom/TreeWalker.cpp:
              * dom/TreeWalker.h:
              * dom/TreeWalker.idl:
              * dom/UIEvent.cpp:
              * dom/UIEvent.h:
              * dom/UIEvent.idl:
              * dom/UIEventWithKeyState.cpp:
              * dom/UIEventWithKeyState.h:
              * dom/WheelEvent.cpp:
              * dom/WheelEvent.h:
              * dom/WheelEvent.idl:
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizer.h:
              * html/FormDataList.cpp:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLAnchorElement.h:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.cpp:
              * html/HTMLAppletElement.h:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.cpp:
              * html/HTMLAreaElement.h:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.cpp:
              * html/HTMLBRElement.h:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.cpp:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.cpp:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.cpp:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.cpp:
              * html/HTMLBodyElement.h:
              * html/HTMLBodyElement.idl:
              * html/HTMLButtonElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLButtonElement.idl:
              * html/HTMLCollection.cpp:
              * html/HTMLCollection.h:
              * html/HTMLCollection.idl:
              * html/HTMLDListElement.cpp:
              * html/HTMLDListElement.h:
              * html/HTMLDListElement.idl:
              * html/HTMLDirectoryElement.cpp:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLDivElement.cpp:
              * html/HTMLDivElement.h:
              * html/HTMLDivElement.idl:
              * html/HTMLDocument.cpp:
              * html/HTMLDocument.h:
              * html/HTMLDocument.idl:
              * html/HTMLElement.cpp:
              * html/HTMLElement.h:
              * html/HTMLElement.idl:
              * html/HTMLElementFactory.cpp:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLEmbedElement.h:
              * html/HTMLEmbedElement.idl:
              * html/HTMLEntityNames.gperf:
              * html/HTMLFieldSetElement.cpp:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFieldSetElement.idl:
              * html/HTMLFontElement.cpp:
              * html/HTMLFontElement.h:
              * html/HTMLFontElement.idl:
              * html/HTMLFormCollection.cpp:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameElement.h:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameElementBase.cpp:
              * html/HTMLFrameElementBase.h:
              * html/HTMLFrameOwnerElement.cpp:
              * html/HTMLFrameOwnerElement.h:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLFrameSetElement.h:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLGenericFormElement.cpp:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.cpp:
              * html/HTMLHRElement.h:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.cpp:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.cpp:
              * html/HTMLHeadingElement.h:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.cpp:
              * html/HTMLHtmlElement.h:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.cpp:
              * html/HTMLIFrameElement.h:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.cpp:
              * html/HTMLImageElement.h:
              * html/HTMLImageElement.idl:
              * html/HTMLImageLoader.cpp:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.cpp:
              * html/HTMLInputElement.h:
              * html/HTMLInputElement.idl:
              * html/HTMLIsIndexElement.cpp:
              * html/HTMLIsIndexElement.h:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.cpp:
              * html/HTMLLIElement.h:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.cpp:
              * html/HTMLLabelElement.h:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.cpp:
              * html/HTMLLegendElement.h:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.cpp:
              * html/HTMLLinkElement.h:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.cpp:
              * html/HTMLMapElement.h:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.cpp:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.cpp:
              * html/HTMLMenuElement.h:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.cpp:
              * html/HTMLMetaElement.h:
              * html/HTMLMetaElement.idl:
              * html/HTMLModElement.cpp:
              * html/HTMLModElement.h:
              * html/HTMLModElement.idl:
              * html/HTMLNameCollection.cpp:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.cpp:
              * html/HTMLOListElement.h:
              * html/HTMLOListElement.idl:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptGroupElement.cpp:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.cpp:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.cpp:
              * html/HTMLOptionsCollection.h:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLParagraphElement.cpp:
              * html/HTMLParagraphElement.h:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.cpp:
              * html/HTMLParamElement.h:
              * html/HTMLParamElement.idl:
              * html/HTMLParser.cpp:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.cpp:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.cpp:
              * html/HTMLPreElement.h:
              * html/HTMLPreElement.idl:
              * html/HTMLQuoteElement.cpp:
              * html/HTMLQuoteElement.h:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.cpp:
              * html/HTMLScriptElement.h:
              * html/HTMLScriptElement.idl:
              * html/HTMLSelectElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLSelectElement.idl:
              * html/HTMLStyleElement.cpp:
              * html/HTMLStyleElement.h:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.cpp:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.cpp:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.cpp:
              * html/HTMLTableColElement.h:
              * html/HTMLTableColElement.idl:
              * html/HTMLTableElement.cpp:
              * html/HTMLTableElement.h:
              * html/HTMLTableElement.idl:
              * html/HTMLTablePartElement.cpp:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.cpp:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableRowElement.idl:
              * html/HTMLTableSectionElement.cpp:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTableSectionElement.idl:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextAreaElement.idl:
              * html/HTMLTitleElement.cpp:
              * html/HTMLTitleElement.h:
              * html/HTMLTitleElement.idl:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * html/HTMLUListElement.cpp:
              * html/HTMLUListElement.h:
              * html/HTMLUListElement.idl:
              * 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/events/JSSVGLazyEventListener.cpp:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.cpp:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.cpp:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/SVGTimer.cpp:
              * ksvg2/misc/SVGTimer.h:
              * ksvg2/misc/TimeScheduler.cpp:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/scripts/cssmakeprops:
              * ksvg2/scripts/cssmakevalues:
              * ksvg2/svg/ColorDistance.cpp:
              * ksvg2/svg/ColorDistance.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.cpp:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAngle.idl:
              * ksvg2/svg/SVGAnimateColorElement.cpp:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.cpp:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.cpp:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.cpp:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.cpp:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.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/SVGColor.idl:
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.cpp:
              * ksvg2/svg/SVGCursorElement.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/SVGDocument.idl:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElement.idl:
              * 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/SVGException.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/SVGImageElement.cpp:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.cpp:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.cpp:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLength.idl:
              * 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/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.cpp:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMPathElement.cpp:
              * ksvg2/svg/SVGMPathElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMatrix.idl:
              * ksvg2/svg/SVGMetadataElement.cpp:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGMetadataElement.idl:
              * ksvg2/svg/SVGNumber.idl:
              * ksvg2/svg/SVGNumberList.cpp:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.cpp:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.cpp:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.cpp:
              * ksvg2/svg/SVGPathElement.h:
              * 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.idl:
              * 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.idl:
              * ksvg2/svg/SVGRectElement.cpp:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGSVGElement.idl:
              * 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/SVGTransform.idl:
              * ksvg2/svg/SVGTransformDistance.cpp:
              * ksvg2/svg/SVGTransformDistance.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/SVGUnitTypes.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:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              * loader/CachedImage.h:
              * loader/CachedResource.cpp:
              * loader/CachedResource.h:
              * loader/CachedResourceClient.h:
              * loader/CachedResourceClientWalker.cpp:
              * loader/CachedResourceClientWalker.h:
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/FTPDirectoryParser.cpp:
              * loader/FTPDirectoryParser.h:
              * loader/Request.cpp:
              * loader/Request.h:
              * loader/TextResourceDecoder.cpp:
              * loader/TextResourceDecoder.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/Chrome.cpp:
              * page/Chrome.h:
              * page/ChromeClient.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/FrameTree.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/MouseEventWithHitTestResults.cpp:
              * page/MouseEventWithHitTestResults.h:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * page/mac/ChromeMac.mm:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/AtomicString.cpp:
              * platform/AtomicString.h:
              * platform/AtomicStringImpl.h:
              * platform/BidiContext.cpp:
              * platform/BidiContext.h:
              * platform/BidiResolver.h:
              * platform/Font.cpp:
              * platform/Font.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFallbackList.h:
              * platform/PlatformString.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/SearchPopupMenu.h:
              * platform/SegmentedString.cpp:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/StaticConstructors.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextBreakIterator.h:
              * platform/TextBreakIteratorICU.cpp:
              * platform/TextBreakIteratorInternalICU.h:
              * platform/TextStyle.h:
              * platform/UnicodeRange.cpp:
              * platform/UnicodeRange.h:
              * platform/cf/StringCF.cpp:
              * platform/cf/StringImplCF.cpp:
              * platform/graphics/FloatPoint3D.cpp:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/Icon.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.cpp:
              * platform/graphics/cairo/CairoPath.h:
              * platform/graphics/cairo/PathCairo.cpp:
              * platform/graphics/mac/IconMac.mm:
              * platform/graphics/qt/IconQt.cpp:
              * platform/graphics/svg/SVGResourceFilter.cpp:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.cpp:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.cpp:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.cpp:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.cpp:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.cpp:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.cpp:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.cpp:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.cpp:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.cpp:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.cpp:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm:
              * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm:
              * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFETileCg.mm:
              * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm:
              * platform/graphics/svg/qt/RenderPathQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp:
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
              * platform/graphics/svg/qt/SVGResourceFilterQt.cpp:
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
              * platform/graphics/win/IconWin.cpp:
              * platform/gtk/FontPlatformData.h:
              * platform/gtk/FontPlatformDataGtk.cpp:
              * platform/gtk/PopupMenuGtk.cpp:
              * platform/gtk/RenderThemeGtk.cpp:
              * platform/gtk/RenderThemeGtk.h:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/image-decoders/png/PNGImageDecoder.cpp:
              * platform/mac/FontMac.mm:
              * platform/mac/FontPlatformData.h:
              * platform/mac/LocalCurrentGraphicsContext.h:
              * platform/mac/LocalCurrentGraphicsContext.mm:
              * platform/mac/PopupMenuMac.mm:
              * platform/mac/SearchPopupMenuMac.mm:
              * platform/mac/StringImplMac.mm:
              * platform/mac/StringMac.mm:
              * platform/mac/TextBreakIteratorInternalICUMac.mm:
              * platform/network/FormData.cpp:
              * platform/network/FormData.h:
              * platform/qt/FileChooserQt.cpp:
              * platform/qt/FontQt.cpp:
              * platform/qt/MenuEventProxy.h:
              * platform/qt/PlugInInfoStoreQt.cpp:
              * platform/qt/PopupMenuQt.cpp:
              * platform/qt/QWebPopup.cpp:
              * platform/qt/QWebPopup.h:
              * platform/qt/RenderThemeQt.cpp:
              * platform/qt/RenderThemeQt.h:
              * platform/qt/SearchPopupMenuQt.cpp:
              * platform/qt/TextBreakIteratorQt.cpp:
              * platform/qt/WheelEventQt.cpp:
              * platform/win/FontPlatformData.h:
              * platform/win/FontPlatformDataWin.cpp:
              * platform/win/PopupMenuWin.cpp:
              * platform/win/SearchPopupMenuWin.cpp:
              * platform/win/TextBreakIteratorInternalICUWin.cpp:
              * rendering/AutoTableLayout.cpp:
              * rendering/AutoTableLayout.h:
              * rendering/CounterNode.cpp:
              * rendering/CounterNode.h:
              * rendering/DataRef.h:
              * rendering/EllipsisBox.cpp:
              * rendering/EllipsisBox.h:
              * rendering/FixedTableLayout.cpp:
              * rendering/FixedTableLayout.h:
              * rendering/GapRects.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.cpp:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.cpp:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.cpp:
              * rendering/InlineFlowBox.h:
              * rendering/InlineRunBox.h:
              * rendering/InlineTextBox.cpp:
              * rendering/InlineTextBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.cpp:
              * rendering/ListMarkerBox.h:
              * rendering/RenderApplet.cpp:
              * rendering/RenderApplet.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBR.cpp:
              * rendering/RenderBR.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              * rendering/RenderBox.h:
              * rendering/RenderButton.cpp:
              * rendering/RenderButton.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderContainer.h:
              * rendering/RenderCounter.cpp:
              * rendering/RenderCounter.h:
              * rendering/RenderFieldset.cpp:
              * rendering/RenderFieldset.h:
              * rendering/RenderFileUploadControl.cpp:
              * rendering/RenderFileUploadControl.h:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlexibleBox.h:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFlow.h:
              * rendering/RenderForeignObject.cpp:
              * rendering/RenderForeignObject.h:
              * rendering/RenderFrame.cpp:
              * rendering/RenderFrame.h:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderFrameSet.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderImage.h:
              * rendering/RenderInline.cpp:
              * rendering/RenderInline.h:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderLegend.cpp:
              * rendering/RenderLegend.h:
              * rendering/RenderListItem.cpp:
              * rendering/RenderListItem.h:
              * rendering/RenderListMarker.cpp:
              * rendering/RenderListMarker.h:
              * rendering/RenderMenuList.cpp:
              * rendering/RenderMenuList.h:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPart.cpp:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.cpp:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.cpp:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGBlock.cpp:
              * rendering/RenderSVGBlock.h:
              * rendering/RenderSVGContainer.cpp:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGGradientStop.cpp:
              * rendering/RenderSVGGradientStop.h:
              * rendering/RenderSVGHiddenContainer.cpp:
              * rendering/RenderSVGHiddenContainer.h:
              * rendering/RenderSVGImage.cpp:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.cpp:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.cpp:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.cpp:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.cpp:
              * rendering/RenderSVGText.h:
              * rendering/RenderSlider.cpp:
              * rendering/RenderSlider.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderTable.cpp:
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableCol.h:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableRow.h:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextControl.cpp:
              * rendering/RenderTextControl.h:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTextFragment.h:
              * rendering/RenderTheme.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.h:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderThemeSafari.cpp:
              * rendering/RenderThemeSafari.h:
              * rendering/RenderThemeWin.cpp:
              * rendering/RenderThemeWin.h:
              * rendering/RenderView.cpp:
              * rendering/RenderView.h:
              * rendering/RenderWidget.cpp:
              * rendering/RenderWidget.h:
              * rendering/RootInlineBox.cpp:
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineFlowBox.cpp:
              * rendering/SVGInlineFlowBox.h:
              * rendering/SVGInlineTextBox.cpp:
              * rendering/SVGInlineTextBox.h:
              * rendering/SVGRootInlineBox.cpp:
              * rendering/SVGRootInlineBox.h:
              * rendering/TableLayout.h:
              * rendering/bidi.cpp:
              * rendering/bidi.h:
              * rendering/break_lines.cpp:
              * rendering/break_lines.h:
              * xml/DOMParser.cpp:
              * xml/DOMParser.h:
              * xml/DOMParser.idl:
              * xml/XMLHttpRequest.cpp:
              * xml/XMLHttpRequest.h:
              * xml/XMLSerializer.cpp:
              * xml/XMLSerializer.h:
              * xml/XMLSerializer.idl:
              * xml/XPathEvaluator.idl:
              * xml/XPathExpression.idl:
              * xml/XPathNSResolver.idl:
              * xml/XPathResult.idl:
              * xml/XSLImportRule.cpp:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.cpp:
              * xml/XSLTProcessor.h:
      
      WebKitQt:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Api/qcookiejar.cpp:
              * Api/qcookiejar.h:
              * Api/qwebframe.cpp:
              * Api/qwebframe.h:
              * Api/qwebframe_p.h:
              * Api/qwebhistoryinterface.cpp:
              * Api/qwebhistoryinterface.h:
              * Api/qwebkitglobal.h:
              * Api/qwebnetworkinterface.cpp:
              * Api/qwebnetworkinterface.h:
              * Api/qwebnetworkinterface_p.h:
              * Api/qwebobjectplugin.cpp:
              * Api/qwebobjectplugin.h:
              * Api/qwebobjectpluginconnector.cpp:
              * Api/qwebobjectpluginconnector.h:
              * Api/qwebpage.cpp:
              * Api/qwebpage.h:
              * Api/qwebpage_p.h:
              * Api/qwebpagehistory.cpp:
              * Api/qwebpagehistory.h:
              * Api/qwebsettings.cpp:
              * Api/qwebsettings.h:
              * WebCoreSupport/EditCommandQt.cpp:
              * WebCoreSupport/EditCommandQt.h:
      
      WebKitSite:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * blog/wp-content/plugins/wp-cache/wp-cache.php:
              * blog/wp-includes/class-snoopy.php:
              * blog/wp-includes/gettext.php:
              * blog/wp-includes/js/tinymce/license.html:
              * blog/wp-includes/streams.php:
      
      WebKitTools:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Drosera/config.h:
      
      LayoutTests:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * svg/carto.net/resources/button.js:
              * svg/carto.net/resources/colourPicker.js:
              * svg/carto.net/resources/comboBox.js:
              * svg/carto.net/resources/helper_functions.js:
              * svg/carto.net/resources/mapApp.js:
              * svg/carto.net/resources/scrollbar.js:
              * svg/carto.net/resources/selectionList.js:
              * svg/carto.net/resources/slider.js:
              * svg/carto.net/resources/tabgroup.js:
              * svg/carto.net/resources/textbox.js:
              * svg/carto.net/resources/window.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8eccecd
  5. 12 Mar, 2007 1 commit
  6. 26 Feb, 2007 1 commit
    • mjs's avatar
      JavaScriptCore: · d2948ef7
      mjs authored
              Reviewed by Lars.
              
              - <rdar://problem/5021698> Disable experimental SVG features (12883)
      
              * wtf/Platform.h: Add ENABLE() macro similar to HAVE() and USE(), to
              allow nicer handling of optional WebKit features.
      
      WebCore:
      
              Reviewed by Lars.
      
              - fixed <rdar://problem/5021698> Disable experimental SVG features (12883)
              
              I added an ENABLE_SVG_EXPERIMENTAL_FEATURES define to guard all use of the experimental
              features, and used it to guard relevant tag names, elements, JS bindings and renderers.
              
              I also converted all the existing optional feature defines to
              ENABLE_FOO instead of FOO_SUPPORT since that is the more standard
              way to do it in open source projects and works with the handy new
              ENABLE() macro.
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.vcproj/WebCore/build-generated-files.sh:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSCustomXPathNSResolver.cpp:
              * bindings/js/JSCustomXPathNSResolver.h:
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGMatrixCustom.cpp:
              * bindings/js/JSSVGPODTypeWrapper.h:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSSVGPathSegListCustom.cpp:
              * bindings/js/JSSVGPointListCustom.cpp:
              * bindings/js/JSXSLTProcessor.cpp:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.cpp:
              (KJS::setDOMException):
              * bindings/js/kjs_css.cpp:
              (KJS::toJS):
              * 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/js/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              * bindings/objc/DOM.mm:
              (WebCore::createElementClassMap):
              (+[DOMNode _nodeWith:WebCore::]):
              * bindings/objc/DOMCSS.mm:
              (+[DOMCSSValue _CSSValueWith:WebCore::]):
              * bindings/objc/DOMCustomXPathNSResolver.h:
              * bindings/objc/DOMCustomXPathNSResolver.mm:
              * bindings/objc/DOMEvents.mm:
              (+[DOMEvent _eventWith:WebCore::]):
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMSVGPathSegInternal.mm:
              * bindings/objc/DOMXPath.mm:
              * bindings/objc/ExceptionHandlers.mm:
              (WebCore::raiseDOMException):
              * bindings/objc/PublicDOMInterfaces.h:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * config.h:
              * css/CSSGrammar.y:
              * css/CSSStyleDeclaration.cpp:
              (WebCore::propertyID):
              * css/StyleBase.h:
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseValue):
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::loadDefaultStyle):
              (WebCore::CSSStyleSelector::initForStyleResolve):
              (WebCore::checkPseudoState):
              (WebCore::CSSStyleSelector::adjustRenderStyle):
              (WebCore::CSSStyleSelector::applyProperty):
              * css/cssstyleselector.h:
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::hasFeature):
              (WebCore::DOMImplementation::createDocument):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::~Document):
              (WebCore::Document::createElement):
              (WebCore::Document::implicitClose):
              (WebCore::Document::recalcStyleSelector):
              (WebCore::Document::createEvent):
              * dom/Document.h:
              * dom/Document.idl:
              * dom/Event.cpp:
              * dom/Event.h:
              * dom/EventTarget.cpp:
              * dom/EventTarget.h:
              * dom/MappedAttributeEntry.h:
              (WebCore::):
              * dom/Node.cpp:
              (WebCore::Node::createRendererIfNeeded):
              (WebCore::Node::shadowAncestorNode):
              * dom/Node.h:
              * dom/ProcessingInstruction.cpp:
              (WebCore::ProcessingInstruction::ProcessingInstruction):
              (WebCore::ProcessingInstruction::checkStyleSheet):
              (WebCore::ProcessingInstruction::setCSSStyleSheet):
              * dom/ProcessingInstruction.h:
              * dom/Text.cpp:
              (WebCore::Text::createRenderer):
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::startElementNs):
              (WebCore::XMLTokenizer::endElementNs):
              (WebCore::XMLTokenizer::processingInstruction):
              (WebCore::XMLTokenizer::end):
              (WebCore::XMLTokenizer::insertErrorMessageBlock):
              * dom/XMLTokenizer.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLEmbedElement.h:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.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/events/JSSVGLazyEventListener.cpp:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.cpp:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.cpp:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/SVGTimer.cpp:
              * ksvg2/misc/SVGTimer.h:
              * ksvg2/misc/TimeScheduler.cpp:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/ColorDistance.cpp:
              * ksvg2/svg/ColorDistance.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.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/SVGAnimateElement.idl:
              * ksvg2/svg/SVGAnimateMotionElement.cpp:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.idl:
              * ksvg2/svg/SVGAnimatedPathData.cpp:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.cpp:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.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/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:
              (WebCore::SVGElement::dispatchEvent):
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElementInstance.cpp:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstance.idl:
              * ksvg2/svg/SVGElementInstanceList.cpp:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGElementInstanceList.idl:
              * ksvg2/svg/SVGEllipseElement.cpp:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGException.h:
              * ksvg2/svg/SVGExternalResourcesRequired.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.cpp:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEBlendElement.idl:
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.idl:
              * ksvg2/svg/SVGFEComponentTransferElement.cpp:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.idl:
              * ksvg2/svg/SVGFECompositeElement.cpp:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFECompositeElement.idl:
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.idl:
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.idl:
              * ksvg2/svg/SVGFEDistantLightElement.cpp:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.idl:
              * ksvg2/svg/SVGFEFloodElement.cpp:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFloodElement.idl:
              * ksvg2/svg/SVGFEFuncAElement.cpp:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncAElement.idl:
              * ksvg2/svg/SVGFEFuncBElement.cpp:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncBElement.idl:
              * ksvg2/svg/SVGFEFuncGElement.cpp:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncGElement.idl:
              * ksvg2/svg/SVGFEFuncRElement.cpp:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEFuncRElement.idl:
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.idl:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFEImageElement.idl:
              * ksvg2/svg/SVGFELightElement.cpp:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.cpp:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeElement.idl:
              * ksvg2/svg/SVGFEMergeNodeElement.cpp:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.idl:
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEOffsetElement.idl:
              * ksvg2/svg/SVGFEPointLightElement.cpp:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFEPointLightElement.idl:
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.idl:
              * ksvg2/svg/SVGFESpotLightElement.cpp:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFESpotLightElement.idl:
              * ksvg2/svg/SVGFETileElement.cpp:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETileElement.idl:
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.idl:
              * ksvg2/svg/SVGFilterElement.cpp:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterElement.idl:
              * 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/SVGForeignObjectElement.idl:
              * ksvg2/svg/SVGGElement.cpp:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.cpp:
              * ksvg2/svg/SVGGradientElement.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/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.cpp:
              (WebCore::SVGLocatable::nearestViewportElement):
              (WebCore::SVGLocatable::farthestViewportElement):
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMPathElement.cpp:
              * ksvg2/svg/SVGMPathElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMetadataElement.cpp:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGNumberList.cpp:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.cpp:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.cpp:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.cpp:
              * ksvg2/svg/SVGPathElement.h:
              * 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/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/SVGRectElement.cpp:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.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:
              (WebCore::SVGStyledElement::notifyAttributeChange):
              * 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/SVGTransformDistance.cpp:
              * ksvg2/svg/SVGTransformDistance.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/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.cpp:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGUseElement.idl:
              * ksvg2/svg/SVGViewElement.cpp:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.cpp:
              * ksvg2/svg/SVGZoomAndPan.h:
              * ksvg2/svg/svgtags.in:
              * loader/Cache.cpp:
              (WebCore::createResource):
              (WebCore::Cache::getStatistics):
              * loader/Cache.h:
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::createImage):
              * loader/CachedResource.h:
              (WebCore::CachedResource::):
              * loader/CachedResourceClient.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * page/DOMWindow.idl:
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleMouseMoveEvent):
              (WebCore::selectCursor):
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              * page/PageState.cpp:
              (WebCore::PageState::PageState):
              (WebCore::PageState::restore):
              * platform/MimeTypeRegistry.cpp:
              (WebCore::initialiseSupportedNonImageMimeTypes):
              * platform/graphics/FloatPoint3D.cpp:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/ImageBuffer.cpp:
              (WebCore::ImageBuffer::renderSubtreeToImage):
              * platform/graphics/svg/SVGImage.cpp:
              * platform/graphics/svg/SVGImage.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              * platform/graphics/svg/SVGPaintServer.cpp:
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.cpp:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.cpp:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.cpp:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerRadialGradient.cpp:
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              * platform/graphics/svg/SVGPaintServerSolid.cpp:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/SVGResource.cpp:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.cpp:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceFilter.cpp:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/SVGResourceMarker.cpp:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.cpp:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/CgSupport.cpp:
              * platform/graphics/svg/cg/CgSupport.h:
              * platform/graphics/svg/cg/RenderPathCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
              * platform/graphics/svg/cg/SVGResourceClipperCg.cpp:
              * platform/graphics/svg/cg/SVGResourceFilterCg.mm:
              * platform/graphics/svg/cg/SVGResourceMaskerCg.mm:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.cpp:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.cpp:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.cpp:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.cpp:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.cpp:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.cpp:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.cpp:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.cpp:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.cpp:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.cpp:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm:
              * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm:
              * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFETileCg.mm:
              * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm:
              * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp:
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
              * platform/graphics/svg/qt/SVGResourceFilterQt.cpp:
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::absoluteImageURL):
              (WebCore::HitTestResult::absoluteLinkURL):
              (WebCore::HitTestResult::isLiveLink):
              * rendering/RenderForeignObject.cpp:
              * rendering/RenderForeignObject.h:
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::isTransparent):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::containingBlock):
              * rendering/RenderObject.h:
              * rendering/RenderPath.cpp:
              * rendering/RenderPath.h:
              * rendering/RenderSVGBlock.cpp:
              * rendering/RenderSVGBlock.h:
              * rendering/RenderSVGContainer.cpp:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGGradientStop.cpp:
              * rendering/RenderSVGGradientStop.h:
              * rendering/RenderSVGHiddenContainer.cpp:
              * rendering/RenderSVGHiddenContainer.h:
              * rendering/RenderSVGImage.cpp:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.cpp:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.cpp:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.cpp:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.cpp:
              * rendering/RenderSVGText.h:
              * rendering/RenderStyle.cpp:
              (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
              (WebCore::StyleRareNonInheritedData::~StyleRareNonInheritedData):
              (WebCore::StyleRareNonInheritedData::operator==):
              (WebCore::RenderStyle::RenderStyle):
              (WebCore::RenderStyle::inheritFrom):
              (WebCore::RenderStyle::operator==):
              (WebCore::RenderStyle::inheritedNotEqual):
              (WebCore::RenderStyle::diff):
              * rendering/RenderStyle.h:
              * rendering/RenderText.cpp:
              (WebCore::RenderText::setStyle):
              (WebCore::RenderText::setTextInternal):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::write):
              (WebCore::externalRepresentation):
              * rendering/SVGInlineFlowBox.cpp:
              * rendering/SVGInlineFlowBox.h:
              * rendering/SVGRenderTreeAsText.cpp:
              * rendering/SVGRenderTreeAsText.h:
              * rendering/SVGRootInlineBox.cpp:
              * rendering/SVGRootInlineBox.h:
              * rendering/bidi.cpp:
              (WebCore::shouldPreserveNewline):
              (WebCore::RenderBlock::findNextLineBreak):
              * webcore-base.bkl:
              * xml/NativeXPathNSResolver.cpp:
              * xml/NativeXPathNSResolver.h:
              * xml/XPathEvaluator.cpp:
              * xml/XPathEvaluator.h:
              * xml/XPathExpression.cpp:
              * xml/XPathExpression.h:
              * xml/XPathExpressionNode.cpp:
              * xml/XPathExpressionNode.h:
              * xml/XPathFunctions.cpp:
              * xml/XPathFunctions.h:
              * xml/XPathGrammar.y:
              * xml/XPathNSResolver.cpp:
              * xml/XPathNSResolver.h:
              * xml/XPathNamespace.cpp:
              * xml/XPathNamespace.h:
              * xml/XPathParser.cpp:
              * xml/XPathParser.h:
              * xml/XPathPath.cpp:
              * xml/XPathPath.h:
              * xml/XPathPredicate.cpp:
              * xml/XPathPredicate.h:
              * xml/XPathResult.cpp:
              * xml/XPathResult.h:
              * xml/XPathStep.cpp:
              * xml/XPathStep.h:
              * xml/XPathUtil.cpp:
              * xml/XPathUtil.h:
              * xml/XPathValue.cpp:
              * xml/XPathValue.h:
              * xml/XPathVariableReference.cpp:
              * xml/XPathVariableReference.h:
              * xml/XSLImportRule.cpp:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.cpp:
              * xml/XSLTProcessor.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2948ef7
  7. 23 Jan, 2007 1 commit
  8. 22 Jan, 2007 1 commit
    • darin's avatar
      LayoutTests: · 42563ac5
      darin authored
              Test by Andrew Wellington <proton@wiretapped.net>.
              Reviewed by Darin.
              
              - test for fix to http://bugs.webkit.org/show_bug.cgi?id=11197
                REGRESSION: Specifying a counter for a CODE tag's content style
                property on before or after causes a crash.
      
              * fast/css/beforeSelectorOnCodeElement-expected.checksum: Added.
              * fast/css/beforeSelectorOnCodeElement-expected.png: Added.
              * fast/css/beforeSelectorOnCodeElement-expected.txt: Added.
              * fast/css/beforeSelectorOnCodeElement.html: Added.
      
              Test by Mitz.
              Reviewed by Darin.
      
              - test for monospace problem mentioned in the above bug
              
              * fast/text/monospace-width-cache-expected.checksum: Added.
              * fast/text/monospace-width-cache-expected.png: Added.
              * fast/text/monospace-width-cache-expected.txt: Added.
              * fast/text/monospace-width-cache.html: Added.
      
      WebCore:
      
              Reviewed by Mitz.
      
              Inspired by a much simpler patch by Andrew Wellington <proton@wiretapped.net>.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=11197
                REGRESSION: Specifying a counter for a CODE tag's content style property
                on before or after causes a crash.
      
              Test: fast/css/beforeSelectorOnCodeElement.html
      
              - fix regression I recently introduced where the monospace cache could be
                used for text that was not ASCII, if text was changed after the style was set
      
              Test: fast/text/monospace-width-cache.html
      
              - streamline RenderText.h -- remove unneeded functions, make some needlessly
                virtual functions non-virtual, remove unneeded header includes, replace use
                of Font* with Font& for consistency with RenderStyle, use "text" consistently
                instead of "string"
      
              * rendering/RenderText.h: Removed unneeded include of "Text.h", declarations of
              SOFT_HYPHEN, DocumentMarker, InlineBox, Position, String. Got rid of friend
              declaration for InlineTextBox. Changed constructor to take a PassRefPtr since
              we do take owership of the passed-in text. Made deleteTextBoxes() private.
              Removed unneeded data(). Made override of length() private so people will use
              the faster textLength() instead. Renamed string() to text() so it matches up
              better with setText(). Same for stringLength(), originalString(), and
              setInternalString(), which are now textLength(), originalText(), and
              setTextInternal(). Renamed the old text() function to characters(), since it
              returns a pointer as StringImpl::characters does. Changed Font* to Font& everywhere.
              Renamed the internal calcMinMaxWidth() function to calcMinMaxWidthInternal() and
              made it non-virtual since it's not overriden anywhere. Also made the
              trimmedMinMaxWidth() function non-virtual. Made containsOnlyWhitespace() private.
              Removed both font() functions (one was needlessly virtual) and element().
              Renamed cacheWidths() to updateMonospaceCharacterWidth() and removed the
              shouldUseMonospaceCache() function. Renamed allAscii() to isAllASCII() and made
              it an inline function. Removed the m_allAsciiChecked flag and renamed the
              m_allAscii flag to m_isAllASCII.
              * rendering/RenderText.cpp:
              (WebCore::RenderText::RenderText): Removed initialization of m_allAsciiChecked.
              Initialize m_isAllASCII. Changed all occurrences of m_str->length() and
              m_str->characters () to use the stringLength() and characters() inline functions
              instead.
              (WebCore::RenderText::setStyle): Replaced the unconditional call to cacheWidths
              with a conditional call to updateMonospaceCharacterWidth. This speeds up the common
              case where style is changed without changing the font.
              (WebCore::RenderText::originalText): Changed code to not depend on overridden
              element() function with casts to a Text node -- this was one of only two call sites.
              Also renamed.
              (WebCore::RenderText::positionForCoordinates): Name change.
              (WebCore::RenderText::caretRect): Ditto.
              (WebCore::RenderText::updateMonospaceCharacterWidth): Renamed from cacheWidths and
              incorporate the check that was formerly in a separate shouldUseMonospaceCache
              function.
              (WebCore::RenderText::widthFromCache): Changed to take a Font& instead of Font*.
              Changed to take advantage of the fact that the string is known to be all ASCII in
              the m_monospaceCharacterWidth code path.
              (WebCore::RenderText::trimmedMinMaxWidth): Ditto. Also use style()->font() instead
              of font(false).
              (WebCore::RenderText::calcMinMaxWidth): Ditto. Also changed to use softHyphen instead
              of SOFT_HYPHEN.
              (WebCore::RenderText::containsOnlyWhitespace): More of the same.
              (WebCore::RenderText::setSelectionState): Ditto.
              (WebCore::RenderText::setTextWithOffset): Ditto.
              (WebCore::isInlineFlowOrEmptyText): Ditto.
              (WebCore::RenderText::setTextInternal): Updated for name changes. Also changed to
              set the m_isAllASCII flag every time, in the more-efficient way we use elsewhere
              (or'ing all the characters together), and to call updateMonospaceCharacterWidth
              if the "all ASCII"-ness of the text changes.
              (WebCore::RenderText::setText): Updated for name changes.
              (WebCore::RenderText::width): More like above.
              (WebCore::RenderText::selectionRect): Ditto.
              (WebCore::RenderText::caretMaxOffset): Ditto.
              (WebCore::RenderText::previousOffset): Ditto.
              (WebCore::RenderText::nextOffset): Ditto.
      
              * dom/Position.cpp:
              * dom/Range.cpp:
              * editing/CompositeEditCommand.cpp:
              * editing/DeleteSelectionCommand.cpp:
              * editing/VisiblePosition.cpp:
              * html/HTMLElement.cpp:
              Added now-needed include of "Text.h" which is no longer included by "RenderText.h".
      
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::debugRenderer):
              * editing/TextIterator.cpp:
              (WebCore::TextIterator::handleTextNode):
              (WebCore::TextIterator::handleTextBox):
              (WebCore::SimplifiedBackwardsTextIterator::handleTextNode):
              Update for name changes of stringLength(), string(), and originalString() to
              textLength(), text(), and originalText(), and to always use textLength() instead
              of length() when we have a RenderText* rather than a RenderObject*.
              * editing/visible_units.cpp:
              (WebCore::startOfParagraph): Ditto.
              (WebCore::endOfParagraph): Ditto.
              * rendering/InlineFlowBox.cpp:
              (WebCore::InlineFlowBox::placeBoxesHorizontally): Ditto. Also removed use of the
              RenderObject::font() function and replaced it with explicit access to the style.
              (WebCore::InlineFlowBox::placeBoxesVertically): Ditto.
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::selectionRect): Ditto.
              (WebCore::InlineTextBox::isLineBreak): Ditto.
              (WebCore::InlineTextBox::paint): Ditto.
              (WebCore::InlineTextBox::selectionStartEnd): Ditto.
              (WebCore::InlineTextBox::paintSelection): Ditto.
              (WebCore::InlineTextBox::paintMarkedTextBackground): Ditto.
              (WebCore::InlineTextBox::paintSpellingOrGrammarMarker): Ditto.
              (WebCore::InlineTextBox::paintTextMatchMarker): Ditto.
              (WebCore::InlineTextBox::offsetForPosition): Ditto.
              (WebCore::InlineTextBox::positionForOffset): Ditto.
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::addChild): Ditto.
              * rendering/RenderCounter.cpp:
              (WebCore::RenderCounter::originalText): Ditto.
              (WebCore::RenderCounter::calcMinMaxWidth): Ditto.
              * rendering/RenderCounter.h: Ditto.
              * rendering/RenderTextFragment.cpp:
              (WebCore::RenderTextFragment::originalText): Ditto.
              * rendering/RenderTextFragment.h: Ditto.
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::placePositionedBoxesHorizontally): Ditto.
              (WebCore::placeBoxesVerticallyWithAbsBaseline): Ditto.
              * rendering/bidi.cpp:
              (WebCore::BidiIterator::increment): Ditto.
              (WebCore::BidiIterator::current): Ditto.
              (WebCore::BidiIterator::direction): Ditto.
              (WebCore::addRun): Ditto.
              (WebCore::checkMidpoints): Ditto.
              (WebCore::RenderBlock::computeHorizontalPositionsForLine): Ditto.
              (WebCore::RenderBlock::skipWhitespace): Ditto.
              (WebCore::RenderBlock::findNextLineBreak): Ditto.
      
              * rendering/RenderBR.h: Updated signature of width function which now takes a
              Font& instead of a Font*.
      
              * rendering/RenderBlock.cpp: (WebCore::stripTrailingSpace): Updated to no longer
              use the RenderObject::font() function, and added a comment about first-line, which
              is not handled properly here.
      
              * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::text):
              * rendering/RenderTreeAsText.cpp: (WebCore::writeTextRun):
              Eliminated use of RenderText::data().
      
              * rendering/RenderObject.h: Removed RenderObject::font(). This had the bad effect of
              having everyone pass in a boolean rather than using the cleaner style() and
              firstLineStyle() functions in cases where there's no a firstLineStyle boolean.
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::getVerticalPosition): Replaced use of RenderObject::font()
              with direct use of the style instead, which is arguably easier to understand anyway.
              (WebCore::RenderObject::baselinePosition): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42563ac5
  9. 10 Jan, 2007 1 commit
  10. 07 Jan, 2007 1 commit
  11. 26 Dec, 2006 1 commit
    • eseidel's avatar
      2006-12-26 Eric Seidel <eric@eseidel.com> · 899bcc03
      eseidel authored
              Reviewed by ggaren
      
              No test cases changed.
              
              Remove unneeded isPaintingText() and activeClient() from SVGPaintServer system
      
              * platform/graphics/svg/SVGPaintServer.cpp:
              (WebCore::SVGPaintServer::SVGPaintServer):
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
              (WebCore::SVGPaintServer::teardown):
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              (WebCore::SVGPaintServerGradient::teardown):
              (WebCore::SVGPaintServerGradient::setup):
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              (WebCore::SVGPaintServerPattern::setup):
              (WebCore::SVGPaintServerPattern::teardown):
              * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
              (WebCore::SVGPaintServerSolid::setup):
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::paint):
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::paintSVGInlineFlow):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      899bcc03
  12. 17 Dec, 2006 1 commit
    • zimmermann's avatar
      Reviewed by Rob. · 58e4e14d
      zimmermann authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=11813
      
      Pass SVGLength around by value, remove any SVGLength* usage.
      Bindings work fine, as the SVG POD JS Wrapper stuff is already in svn.
      
      No new regressions, none fixed. But the code itself is much cleaner.
      And some problems with width-full-percentage.svg have been fixed, viewport
      clipping works in any case now, also for percentual width/height values set on <svg>.
      
      Still unsure if we can simulate window resizes in a layout test,
      not through "width/height" property changes, but directly in any way.
      If anyone knows if we can do that, please drop me a line.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58e4e14d
  13. 16 Dec, 2006 1 commit
    • weinig's avatar
      Reviewed by Mitz. · 695d48b2
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=11844
              Code Cleanup for more of the rendering code
      
              * WebCore.xcodeproj/project.pbxproj:
              * rendering/RenderCounter.cpp:
              (WebCore::RenderCounter::calcMinMaxWidth):
              * rendering/RenderText.cpp:
              (WebCore::RenderText::RenderText):
              (WebCore::RenderText::setStyle):
              (WebCore::RenderText::destroy):
              (WebCore::RenderText::attachTextBox):
              (WebCore::RenderText::findNextInlineTextBox):
              (WebCore::RenderText::positionForCoordinates):
              (WebCore::firstRendererOnNextLine):
              (WebCore::lastRendererOnPrevLine):
              (WebCore::RenderText::caretRect):
              (WebCore::RenderText::posOfChar):
              (WebCore::RenderText::allAscii):
              (WebCore::RenderText::shouldUseMonospaceCache):
              (WebCore::RenderText::cacheWidths):
              (WebCore::RenderText::widthFromCache):
              (WebCore::RenderText::trimmedMinMaxWidth):
              (WebCore::RenderText::calcMinMaxWidth):
              (WebCore::isSpaceAccordingToStyle):
              (WebCore::RenderText::containsOnlyWhitespace):
              (WebCore::RenderText::minXPos):
              (WebCore::RenderText::setSelectionState):
              (WebCore::RenderText::setTextWithOffset):
              (WebCore::RenderText::setText):
              (WebCore::RenderText::position):
              (WebCore::RenderText::width):
              (WebCore::RenderText::getAbsoluteRepaintRect):
              (WebCore::RenderText::selectionRect):
              (WebCore::RenderText::verticalPositionHint):
              (WebCore::RenderText::font):
              (WebCore::RenderText::caretMinOffset):
              (WebCore::RenderText::caretMaxOffset):
              (WebCore::RenderText::previousOffset):
              (WebCore::RenderText::nextOffset):
              (WebCore::RenderText::inlineBox):
              * rendering/RenderText.h:
              (WebCore::RenderText::isTextFragment):
              (WebCore::RenderText::data):
              (WebCore::RenderText::string):
              (WebCore::RenderText::paint):
              (WebCore::RenderText::layout):
              (WebCore::RenderText::nodeAtPoint):
              (WebCore::RenderText::length):
              (WebCore::RenderText::text):
              (WebCore::RenderText::stringLength):
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::setStyle):
              (WebCore::disabledTextColor):
              (WebCore::RenderTextControl::createInnerBlockStyle):
              (WebCore::RenderTextControl::createInnerTextStyle):
              (WebCore::RenderTextControl::createResultsButtonStyle):
              (WebCore::RenderTextControl::createCancelButtonStyle):
              (WebCore::RenderTextControl::showPlaceholderIfNeeded):
              (WebCore::RenderTextControl::hidePlaceholderIfNeeded):
              (WebCore::RenderTextControl::createSubtreeIfNeeded):
              (WebCore::RenderTextControl::updateFromElement):
              (WebCore::RenderTextControl::selectionStart):
              (WebCore::RenderTextControl::setSelectionRange):
              (WebCore::RenderTextControl::visiblePositionForIndex):
              (WebCore::RenderTextControl::subtreeHasChanged):
              (WebCore::RenderTextControl::textWithHardLineBreaks):
              (WebCore::RenderTextControl::calcHeight):
              (WebCore::RenderTextControl::nodeAtPoint):
              (WebCore::RenderTextControl::layout):
              (WebCore::RenderTextControl::calcMinMaxWidth):
              (WebCore::RenderTextControl::addSearchResult):
              (WebCore::RenderTextControl::showPopup):
              (WebCore::RenderTextControl::itemText):
              (WebCore::RenderTextControl::itemIsEnabled):
              (WebCore::RenderTextControl::listSize):
              (WebCore::RenderTextControl::scroll):
              * rendering/RenderTextControl.h:
              (WebCore::RenderTextControl::renderName):
              (WebCore::RenderTextControl::removeLeftoverAnonymousBoxes):
              * rendering/RenderTextFragment.cpp:
              (WebCore::RenderTextFragment::RenderTextFragment):
              (WebCore::RenderTextFragment::originalString):
              * rendering/RenderTextFragment.h:
              (WebCore::RenderTextFragment::isTextFragment):
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::adjustStyle):
              (WebCore::RenderTheme::isControlStyled):
              (WebCore::RenderTheme::stateChanged):
              (WebCore::RenderTheme::adjustCheckboxStyle):
              (WebCore::RenderTheme::adjustRadioStyle):
              * rendering/RenderTheme.h:
              (WebCore::):
              * rendering/RenderThemeMac.h:
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::RenderThemeMac):
              (WebCore::RenderThemeMac::platformActiveSelectionBackgroundColor):
              (WebCore::RenderThemeMac::platformInactiveSelectionBackgroundColor):
              (WebCore::RenderThemeMac::activeListBoxSelectionBackgroundColor):
              (WebCore::RenderThemeMac::systemFont):
              (WebCore::RenderThemeMac::isControlStyled):
              (WebCore::RenderThemeMac::adjustRepaintRect):
              (WebCore::RenderThemeMac::updateCheckedState):
              (WebCore::RenderThemeMac::controlSupportsTints):
              (WebCore::RenderThemeMac::setFontFromControlSize):
              (WebCore::RenderThemeMac::paintCheckbox):
              (WebCore::RenderThemeMac::checkboxMargins):
              (WebCore::RenderThemeMac::setCheckboxCellState):
              (WebCore::RenderThemeMac::setCheckboxSize):
              (WebCore::RenderThemeMac::paintRadio):
              (WebCore::RenderThemeMac::radioMargins):
              (WebCore::RenderThemeMac::setRadioCellState):
              (WebCore::RenderThemeMac::setRadioSize):
              (WebCore::RenderThemeMac::adjustButtonStyle):
              (WebCore::RenderThemeMac::buttonMargins):
              (WebCore::RenderThemeMac::setButtonSize):
              (WebCore::RenderThemeMac::setButtonCellState):
              (WebCore::RenderThemeMac::adjustTextFieldStyle):
              (WebCore::RenderThemeMac::adjustTextAreaStyle):
              (WebCore::RenderThemeMac::popupButtonMargins):
              (WebCore::RenderThemeMac::popupButtonPadding):
              (WebCore::TopGradientInterpolate):
              (WebCore::BottomGradientInterpolate):
              (WebCore::MainGradientInterpolate):
              (WebCore::TrackGradientInterpolate):
              (WebCore::RenderThemeMac::paintMenuListButtonGradients):
              (WebCore::RenderThemeMac::paintMenuListButton):
              (WebCore::RenderThemeMac::adjustMenuListStyle):
              (WebCore::RenderThemeMac::adjustMenuListButtonStyle):
              (WebCore::RenderThemeMac::paintSliderTrack):
              (WebCore::RenderThemeMac::paintSliderThumb):
              (WebCore::RenderThemeMac::paintSearchField):
              (WebCore::RenderThemeMac::setSearchCellState):
              (WebCore::RenderThemeMac::adjustSearchFieldStyle):
              (WebCore::RenderThemeMac::paintSearchFieldCancelButton):
              (WebCore::RenderThemeMac::paintSearchFieldResultsDecoration):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::operator<<):
              (WebCore::writeIndent):
              (WebCore::printBorderStyle):
              (WebCore::getTagName):
              (WebCore::isEmptyOrUnstyledAppleStyleSpan):
              (WebCore::writeTextRun):
              (WebCore::write):
              (WebCore::writeLayers):
              (WebCore::nodePosition):
              (WebCore::writeSelection):
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.cpp:
              (WebCore::RenderView::RenderView):
              (WebCore::RenderView::calcMinMaxWidth):
              (WebCore::RenderView::layout):
              (WebCore::RenderView::absolutePosition):
              (WebCore::RenderView::paint):
              (WebCore::RenderView::repaintViewRectangle):
              (WebCore::rendererAfterPosition):
              (WebCore::RenderView::selectionRect):
              (WebCore::RenderView::setSelection):
              (WebCore::RenderView::selectionStartEnd):
              (WebCore::RenderView::updateWidgetPositions):
              (WebCore::RenderView::addWidget):
              (WebCore::RenderView::removeWidget):
              (WebCore::RenderView::viewRect):
              (WebCore::RenderView::docHeight):
              (WebCore::RenderView::docWidth):
              (WebCore::RenderView::setBestTruncatedAt):
              * rendering/RenderView.h:
              (WebCore::RenderView::renderName):
              (WebCore::RenderView::selectionStart):
              (WebCore::RenderView::selectionEnd):
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::destroy):
              (WebCore::RenderWidget::resizeWidget):
              (WebCore::RenderWidget::setStyle):
              (WebCore::RenderWidget::paint):
              (WebCore::RenderWidget::updateWidgetPosition):
              (WebCore::RenderWidget::setSelectionState):
              * rendering/RootInlineBox.cpp:
              (WebCore::RootInlineBox::placeEllipsis):
              (WebCore::RootInlineBox::fillLineSelectionGap):
              (WebCore::RootInlineBox::selectionState):
              (WebCore::RootInlineBox::firstSelectedBox):
              (WebCore::RootInlineBox::lastSelectedBox):
              (WebCore::RootInlineBox::selectionTop):
              (WebCore::RootInlineBox::closestLeafChildForXPos):
              * rendering/RootInlineBox.h:
              (WebCore::RootInlineBox::isRootInlineBox):
              (WebCore::RootInlineBox::setVerticalOverflowPositions):
              (WebCore::RootInlineBox::setHorizontalOverflowPositions):
              (WebCore::RootInlineBox::setVerticalSelectionPositions):
              (WebCore::RootInlineBox::lineBreakObj):
              (WebCore::RootInlineBox::lineBreakPos):
              (WebCore::RootInlineBox::setLineBreakPos):
              (WebCore::RootInlineBox::blockHeight):
              (WebCore::RootInlineBox::setBlockHeight):
              (WebCore::RootInlineBox::endsWithBreak):
              (WebCore::RootInlineBox::setEndsWithBreak):
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::SVGInlineFlowBox::paint):
              (WebCore::paintSVGInlineFlow):
              (WebCore::translateBox):
              (WebCore::placePositionedBoxesHorizontally):
              (WebCore::placeBoxesVerticallyWithAbsBaseline):
              (WebCore::placeSVGFlowVertically):
              * rendering/SVGInlineFlowBox.h:
              * rendering/SVGRenderTreeAsText.cpp:
              (WebCore::TextStreamSeparator::TextStreamSeparator):
              (WebCore::operator<<):
              (WebCore::hasFractions):
              (WebCore::writeIndent):
              (WebCore::writeStyle):
              (WebCore::getTagName):
              (WebCore::write):
              (WebCore::writeRenderResources):
              * rendering/SVGRenderTreeAsText.h:
              (WebCore::operator<<):
              * rendering/SVGRootInlineBox.cpp:
              (WebCore::SVGRootInlineBox::paint):
              (WebCore::SVGRootInlineBox::placeBoxesHorizontally):
              * rendering/SVGRootInlineBox.h:
              * rendering/TableLayout.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      695d48b2
  14. 12 Dec, 2006 1 commit
  15. 30 Nov, 2006 1 commit
    • zimmermann's avatar
      Reviewed by Eric. Rubber stamped by Oliver. · b67995fc
      zimmermann authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=10383
      
      This is the final patch after the long "die kcanvas" journey.
      
      All old kcanvas code is gone now, and properly integrated within
      WebCore (stuff like GraphicsContext changes etc.). It shares
      the platform/ design concept: no subclassing, but instead
      implementing parts of the classes/methods per-platform.
      
      This commit removes the last pieces: KRenderingDevice & KRenderingDeviceContext.
      This layer was just obsolete, given the powerful GraphicsContext API we have
      since quite a while now. All the ugly pushContext/popContext stuff is gone now.
      
      The naming issues Cg vs. CG will be fixed in one shot, when moving the whole
      platform/graphics/svg directory down into ksvg2/graphics - as discussed with Darin.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b67995fc
  16. 21 Nov, 2006 2 commits
    • andersca's avatar
      Reviewed by Mitz. · 4f375080
      andersca authored
              General SVG cleanup. Change some enums to match the style guidelines, use PLATFORM(CG) instead of PLATFORM(MAC).
              Remove config.h inluce from AffineTransform.h
              
              * kcanvas/device/quartz/KRenderingDeviceQuartz.cpp:
              (WebCore::KRenderingDeviceQuartz::createPaintServer):
              (WebCore::KRenderingDeviceQuartz::createResource):
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::sharedSolidPaintServer):
              * ksvg2/svg/SVGFilterElement.cpp:
              (WebCore::SVGFilterElement::canvasResource):
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              (WebCore::SVGLinearGradientElement::buildGradient):
              * ksvg2/svg/SVGLinearGradientElement.h:
              (WebCore::SVGLinearGradientElement::gradientType):
              * ksvg2/svg/SVGPatternElement.cpp:
              (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
              (WebCore::SVGPatternElement::canvasResource):
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              (WebCore::SVGRadialGradientElement::buildGradient):
              * ksvg2/svg/SVGRadialGradientElement.h:
              (WebCore::SVGRadialGradientElement::gradientType):
              * platform/graphics/AffineTransform.h:
              * platform/graphics/svg/SVGPaintServer.h:
              (WebCore::):
              * platform/graphics/svg/SVGPaintServerGradient.cpp:
              (WebCore::SVGPaintServerGradient::SVGPaintServerGradient):
              (WebCore::SVGPaintServerGradient::~SVGPaintServerGradient):
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              (WebCore::SVGPaintServerLinearGradient::type):
              * platform/graphics/svg/SVGPaintServerPattern.h:
              (WebCore::SVGPaintServerPattern::type):
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              (WebCore::SVGPaintServerRadialGradient::type):
              * platform/graphics/svg/SVGPaintServerSolid.h:
              (WebCore::SVGPaintServerSolid::type):
              * platform/graphics/svg/SVGResource.h:
              (WebCore::):
              * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
              (WebCore::SVGPaintServer::renderPath):
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              (WebCore::SVGPaintServerGradient::updateQuartzGradientCache):
              (WebCore::SVGPaintServerGradient::teardown):
              (WebCore::SVGPaintServerGradient::renderPath):
              (WebCore::SVGPaintServerGradient::setup):
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              (WebCore::SVGPaintServerPattern::setup):
              * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
              (WebCore::SVGPaintServerSolid::setup):
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::paint):
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::paintSVGInlineFlow):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f375080
    • zimmermann's avatar
      Reviewed by Oliver. · 645180be
      zimmermann authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=11658
      
      Move KRenderingPaintServer* classes to the location
      of all other resources (platform/graphics/svg).
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      645180be
  17. 18 Nov, 2006 1 commit
    • zimmermann's avatar
      Reviewed by Oliver. · 3908f879
      zimmermann authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=11596
      
      Split up KCanvasFilters & KCanvasFilterQuartz into several
      new classes (SVGFEBlend, SVGFEComposite...) and move them
      into platform/graphics/svg. This is still a temporary location,
      as discussed with Darin; the whole platform/graphics/svg directory
      will probably be moved into ksvg2/ in near future.
      
      This commit removes the duplicated enumerations in the svg filter
      classes and within kcanvas. ksvg2/ and platform/graphics/svg share
      their enums now.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3908f879
  18. 01 Nov, 2006 1 commit
    • weinig's avatar
      Reviewed by Mitz. · 0a635f0f
      weinig authored
              Fix for http://bugs.webkit.org/show_bug.cgi?id=11474
              Rename the "p" member variable of the PaintInfo struct to "context"
      
              - Renames the 'p' and 'r' member variables of the PaintInfo struct to
                'context' and 'rect' respectively.
      
              - Assorted surrounding cleanups.
      
              * rendering/EllipsisBox.cpp:
              (WebCore::EllipsisBox::paint):
              * rendering/EllipsisBox.h:
              * rendering/InlineBox.cpp:
              (WebCore::InlineBox::paint):
              * rendering/InlineFlowBox.cpp:
              (WebCore::InlineFlowBox::paint):
              (WebCore::InlineFlowBox::paintBackground):
              (WebCore::InlineFlowBox::paintBackgroundAndBorder):
              (WebCore::InlineFlowBox::paintDecorations):
              * rendering/InlineFlowBox.h:
              * rendering/InlineRunBox.h:
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::paint):
              * rendering/InlineTextBox.h:
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paint):
              (WebCore::RenderBlock::paintChildren):
              (WebCore::RenderBlock::paintCaret):
              (WebCore::RenderBlock::paintObject):
              (WebCore::RenderBlock::paintFloats):
              (WebCore::RenderBlock::paintEllipsisBoxes):
              (WebCore::RenderBlock::paintSelection):
              (WebCore::RenderBlock::fillSelectionGaps):
              (WebCore::RenderBlock::fillInlineSelectionGaps):
              (WebCore::RenderBlock::fillBlockSelectionGaps):
              (WebCore::RenderBlock::fillHorizontalSelectionGap):
              (WebCore::RenderBlock::fillVerticalSelectionGap):
              (WebCore::RenderBlock::fillLeftSelectionGap):
              (WebCore::RenderBlock::fillRightSelectionGap):
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::paint):
              (WebCore::RenderBox::paintRootBoxDecorations):
              (WebCore::RenderBox::paintBoxDecorations):
              * rendering/RenderBox.h:
              * rendering/RenderButton.cpp:
              (WebCore::RenderButton::paintObject):
              * rendering/RenderFieldset.cpp:
              (WebCore::RenderFieldset::paintBoxDecorations):
              * rendering/RenderFileUploadControl.cpp:
              (WebCore::RenderFileUploadControl::paintObject):
              * rendering/RenderFlow.cpp:
              (WebCore::RenderFlow::continuationBefore):
              (WebCore::RenderFlow::addChildWithContinuation):
              (WebCore::RenderFlow::addChild):
              (WebCore::RenderFlow::attachLineBox):
              (WebCore::RenderFlow::destroy):
              (WebCore::RenderFlow::dirtyLinesFromChangedChild):
              (WebCore::RenderFlow::dirtyLineBoxes):
              (WebCore::RenderFlow::createInlineBox):
              (WebCore::RenderFlow::paintLines):
              (WebCore::RenderFlow::getAbsoluteRepaintRect):
              (WebCore::RenderFlow::lowestPosition):
              (WebCore::RenderFlow::rightmostPosition):
              (WebCore::RenderFlow::leftmostPosition):
              (WebCore::RenderFlow::caretRect):
              (WebCore::RenderFlow::addFocusRingRects):
              (WebCore::RenderFlow::paintOutline):
              (WebCore::RenderFlow::paintOutlineForLine):
              * rendering/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::paint):
              * rendering/RenderHTMLCanvas.cpp:
              (WebCore::RenderHTMLCanvas::paint):
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::paint):
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::paintLayer):
              * rendering/RenderListBox.cpp:
              (WebCore::RenderListBox::paintObject):
              (WebCore::RenderListBox::paintScrollbar):
              (WebCore::RenderListBox::paintItemForeground):
              (WebCore::RenderListBox::paintItemBackground):
              * rendering/RenderListMarker.cpp:
              (WebCore::RenderListMarker::paint):
              * rendering/RenderMenuList.cpp:
              (WebCore::RenderMenuList::paintObject):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::paint):
              * rendering/RenderObject.h:
              (WebCore::RenderObject::PaintInfo::PaintInfo):
              (WebCore::RenderObject::paintBoxDecorations):
              (WebCore::RenderObject::paintingRootForChildren):
              (WebCore::RenderObject::shouldPaintWithinRoot):
              (WebCore::RenderObject::printBoxDecorations):
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::paint):
              * rendering/RenderReplaced.cpp:
              (WebCore::RenderReplaced::shouldPaint):
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::paint):
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::paint):
              * rendering/RenderSVGText.h:
              (WebCore::RenderSVGText::renderName):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::paint):
              (WebCore::RenderTable::paintBoxDecorations):
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::paint):
              (WebCore::RenderTableCell::paintBackgroundsBehindCell):
              (WebCore::RenderTableCell::paintBoxDecorations):
              * rendering/RenderTableCell.h:
              * rendering/RenderTableRow.cpp:
              (WebCore::RenderTableRow::paint):
              * rendering/RenderTableRow.h:
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::paint):
              * rendering/RenderTableSection.h:
              (WebCore::RenderTableSection::getBaseline):
              (WebCore::RenderTableSection::setNeedCellRecalc):
              * rendering/RenderText.h:
              (WebCore::RenderText::renderName):
              (WebCore::RenderText::paint):
              (WebCore::RenderText::element):
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::paint):
              (WebCore::RenderTheme::paintBorderOnly):
              (WebCore::RenderTheme::paintDecorations):
              * rendering/RenderTheme.h:
              (WebCore::RenderTheme::RenderTheme):
              (WebCore::RenderTheme::~RenderTheme):
              (WebCore::RenderTheme::controlSupportsTints):
              (WebCore::RenderTheme::adjustRepaintRect):
              (WebCore::RenderTheme::themeChanged):
              (WebCore::RenderTheme::supportsHover):
              (WebCore::RenderTheme::paintCheckbox):
              (WebCore::RenderTheme::setCheckboxSize):
              (WebCore::RenderTheme::paintRadio):
              (WebCore::RenderTheme::setRadioSize):
              (WebCore::RenderTheme::paintButton):
              (WebCore::RenderTheme::setButtonSize):
              (WebCore::RenderTheme::paintTextField):
              (WebCore::RenderTheme::paintTextArea):
              (WebCore::RenderTheme::paintMenuList):
              (WebCore::RenderTheme::paintMenuListButton):
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::paintCheckbox):
              (WebCore::RenderThemeMac::paintRadio):
              (WebCore::RenderThemeMac::paintButton):
              (WebCore::RenderThemeMac::paintTextField):
              (WebCore::RenderThemeMac::paintTextArea):
              (WebCore::RenderThemeMac::paintMenuList):
              (WebCore::RenderThemeMac::paintMenuListButtonGradients):
              (WebCore::RenderThemeMac::paintMenuListButton):
              * rendering/RenderView.cpp:
              (WebCore::RenderView::paint):
              (WebCore::RenderView::paintBoxDecorations):
              * rendering/RenderView.h:
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::paint):
              * rendering/RenderWidget.h:
              (WebCore::RenderWidget::isWidget):
              * rendering/RootInlineBox.cpp:
              (WebCore::RootInlineBox::paintEllipsisBox):
              (WebCore::RootInlineBox::paintCustomHighlight):
              (WebCore::RootInlineBox::paint):
              (WebCore::RootInlineBox::fillLineSelectionGap):
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::paintSVGInlineFlow):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a635f0f
  19. 30 Oct, 2006 3 commits
    • oliver's avatar
      2006-10-31 Nikolas Zimmermann <zimmermann@kde.org> · 7cf2d68a
      oliver authored
              Reviewed by Oliver.
      
              Modified from original due to earlier reversion
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=11436
      
              Better SVG integration in WebKit, Part I.
      
              The patch is mostly about creating a new platform/graphics directory, and
              moving the kcanvas resources (clipper/masker/marker) there (in svg budir),
              with a new name (KCanvasClipper -> SVGResourceClipper). Also fix several ownership
              issues, by using ref counting (the SVG classes now store RefPtrs to the resources).
      
              KCanvasFilters is still left in kcanvas/ subdirectory, to be converted in a next patch.
              All details of the patch, and upcoming patches can be found in the bug report.
      
              * CMakeLists.txt:
              * WebCore.xcodeproj/project.pbxproj:
              * graphics/svg/SVGResource.cpp: Removed.
              * graphics/svg/SVGResourceClipper.cpp: Removed.
              * graphics/svg/SVGResourceClipper.h: Removed.
              * graphics/svg/SVGResourceImage.h: Removed.
              * graphics/svg/SVGResourceListener.h: Removed.
              * graphics/svg/SVGResourceMarker.cpp: Removed.
              * graphics/svg/SVGResourceMarker.h: Removed.
              * graphics/svg/SVGResourceMasker.cpp: Removed.
              * graphics/svg/SVGResourceMasker.h: Removed.
              * kcanvas/KCanvasClipper.cpp: Removed.
              * kcanvas/KCanvasClipper.h: Removed.
              * kcanvas/KCanvasCreator.cpp: Removed.
              * kcanvas/KCanvasCreator.h: Removed.
              * kcanvas/KCanvasFilters.cpp:
              (WebCore::getFilterById):
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasImage.h: Removed.
              * kcanvas/KCanvasMarker.cpp: Removed.
              * kcanvas/KCanvasMarker.h: Removed.
              * kcanvas/KCanvasMasker.cpp: Removed.
              * kcanvas/KCanvasMasker.h: Removed.
              * kcanvas/KCanvasResource.cpp: Removed.
              * kcanvas/KCanvasResource.h: Removed.
              * kcanvas/KCanvasResourceListener.h: Removed.
              * kcanvas/KCanvasTreeDebug.cpp:
              (WebCore::writeRenderResources):
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingPaintServer.h:
              (WebCore::KRenderingPaintServer::KRenderingPaintServer):
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              (WebCore::KRenderingPaintServerGradient::listener):
              (WebCore::KRenderingPaintServerGradient::setListener):
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              (WebCore::KRenderingPaintServerPattern::KRenderingPaintServerPattern):
              (WebCore::KRenderingPaintServerPattern::~KRenderingPaintServerPattern):
              (WebCore::KRenderingPaintServerPattern::tile):
              (WebCore::KRenderingPaintServerPattern::setTile):
              (WebCore::KRenderingPaintServerPattern::listener):
              (WebCore::KRenderingPaintServerPattern::setListener):
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/qt/KCanvasClipperQt.cpp: Removed.
              * kcanvas/device/qt/KCanvasClipperQt.h:
              * kcanvas/device/qt/KRenderingDeviceQt.cpp:
              (WebCore::KRenderingDeviceQt::contextForImage):
              (WebCore::KRenderingDeviceQt::createResource):
              (WebCore::KRenderingDeviceQt::createPaintServer):
              * kcanvas/device/qt/KRenderingDeviceQt.h:
              * kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp:
              * kcanvas/device/qt/RenderPathQt.h: Removed.
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (WebCore::KCanvasFilterQuartz::getCIFilterStack):
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KCanvasMaskerQuartz.h: Removed.
              * kcanvas/device/quartz/KCanvasMaskerQuartz.mm: Removed.
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h: Removed.
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm: Removed.
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (WebCore::KRenderingDeviceQuartz::contextForImage):
              (WebCore::KRenderingDeviceQuartz::createPaintServer):
              (WebCore::KRenderingDeviceQuartz::createResource):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (WebCore::KRenderingPaintServerGradientQuartz::KRenderingPaintServerGradientQuartz):
              (WebCore::KRenderingPaintServerGradientQuartz::~KRenderingPaintServerGradientQuartz):
              (WebCore::KRenderingPaintServerGradientQuartz::setup):
              (WebCore::KRenderingPaintServerGradientQuartz::teardown):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (WebCore::patternCallback):
              (WebCore::KRenderingPaintServerPatternQuartz::setup):
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::sharedSolidPaintServer):
              * ksvg2/svg/SVGClipPathElement.cpp:
              (WebCore::SVGClipPathElement::SVGClipPathElement):
              (WebCore::SVGClipPathElement::~SVGClipPathElement):
              (WebCore::SVGClipPathElement::canvasResource):
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFilterElement.cpp:
              (WebCore::SVGFilterElement::SVGFilterElement):
              (WebCore::SVGFilterElement::~SVGFilterElement):
              (WebCore::SVGFilterElement::canvasResource):
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGGradientElement.cpp:
              (WebCore::SVGGradientElement::SVGGradientElement):
              (WebCore::SVGGradientElement::~SVGGradientElement):
              (WebCore::SVGGradientElement::canvasResource):
              (WebCore::SVGGradientElement::resourceNotification):
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              (WebCore::SVGLinearGradientElement::buildGradient):
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              (WebCore::SVGMarkerElement::SVGMarkerElement):
              (WebCore::SVGMarkerElement::~SVGMarkerElement):
              (WebCore::SVGMarkerElement::canvasResource):
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              (WebCore::SVGMaskElement::SVGMaskElement):
              (WebCore::SVGMaskElement::~SVGMaskElement):
              (WebCore::SVGMaskElement::drawMaskerContent):
              (WebCore::SVGMaskElement::canvasResource):
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              (WebCore::SVGPatternElement::SVGPatternElement):
              (WebCore::SVGPatternElement::~SVGPatternElement):
              (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
              (WebCore::SVGPatternElement::drawPatternContentIntoTile):
              (WebCore::SVGPatternElement::canvasResource):
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              (WebCore::SVGRadialGradientElement::buildGradient):
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              (WebCore::SVGStyledElement::canvasResource):
              * platform/GraphicsContext.cpp: Removed.
              * platform/GraphicsContext.h: Removed.
              * platform/GraphicsTypes.cpp: Removed.
              * platform/GraphicsTypes.h: Removed.
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContextState::GraphicsContextState):
              (WebCore::GraphicsContextPrivate::GraphicsContextPrivate):
              (WebCore::GraphicsContext::createGraphicsContextPrivate):
              (WebCore::GraphicsContext::destroyGraphicsContextPrivate):
              (WebCore::GraphicsContext::save):
              (WebCore::GraphicsContext::restore):
              (WebCore::GraphicsContext::font):
              (WebCore::GraphicsContext::setFont):
              (WebCore::GraphicsContext::pen):
              (WebCore::GraphicsContext::setPen):
              (WebCore::GraphicsContext::setFillColor):
              (WebCore::GraphicsContext::fillColor):
              (WebCore::GraphicsContext::updatingControlTints):
              (WebCore::GraphicsContext::setUpdatingControlTints):
              (WebCore::GraphicsContext::setPaintingDisabled):
              (WebCore::GraphicsContext::paintingDisabled):
              (WebCore::GraphicsContext::drawImage):
              (WebCore::GraphicsContext::drawText):
              (WebCore::GraphicsContext::drawHighlightForText):
              (WebCore::GraphicsContext::initFocusRing):
              (WebCore::GraphicsContext::clearFocusRing):
              (WebCore::GraphicsContext::focusRingBoundingRect):
              (WebCore::GraphicsContext::addFocusRingRect):
              (WebCore::GraphicsContext::focusRingWidth):
              (WebCore::GraphicsContext::focusRingOffset):
              (WebCore::GraphicsContext::focusRingRects):
              (WebCore::GraphicsContext::drawTiledImage):
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/GraphicsTypes.cpp:
              (WebCore::):
              (WebCore::parseCompositeOperator):
              (WebCore::compositeOperatorName):
              (WebCore::parseLineCap):
              (WebCore::lineCapName):
              (WebCore::parseLineJoin):
              (WebCore::lineJoinName):
              * platform/graphics/GraphicsTypes.h:
              (WebCore::):
              * platform/graphics/svg/SVGResource.cpp: Added.
              (WebCore::SVGResource::SVGResource):
              (WebCore::SVGResource::~SVGResource):
              (WebCore::SVGResource::invalidate):
              (WebCore::SVGResource::addClient):
              (WebCore::SVGResource::clients):
              (WebCore::SVGResource::idInRegistry):
              (WebCore::SVGResource::setIdInRegistry):
              (WebCore::SVGResource::externalRepresentation):
              (WebCore::getResourceById):
              (WebCore::getPaintServerById):
              (WebCore::operator<<):
              * platform/graphics/svg/SVGResource.h: Added.
              (WebCore::):
              (WebCore::SVGResource::isPaintServer):
              (WebCore::SVGResource::isFilter):
              (WebCore::SVGResource::isClipper):
              (WebCore::SVGResource::isMarker):
              (WebCore::SVGResource::isMasker):
              (WebCore::SVGResourceListener::~SVGResourceListener):
              * platform/graphics/svg/SVGResourceClipper.cpp: Added.
              (WebCore::SVGResourceClipper::SVGResourceClipper):
              (WebCore::SVGResourceClipper::~SVGResourceClipper):
              (WebCore::SVGResourceClipper::resetClipData):
              (WebCore::SVGResourceClipper::addClipData):
              (WebCore::SVGResourceClipper::clipData):
              (WebCore::SVGResourceClipper::externalRepresentation):
              (WebCore::operator<<):
              (WebCore::getClipperById):
              * platform/graphics/svg/SVGResourceClipper.h: Added.
              (WebCore::ClipDataList::addPath):
              (WebCore::SVGResourceClipper::isClipper):
              * platform/graphics/svg/SVGResourceImage.h: Added.
              * platform/graphics/svg/SVGResourceMarker.cpp: Added.
              (WebCore::SVGResourceMarker::SVGResourceMarker):
              (WebCore::SVGResourceMarker::~SVGResourceMarker):
              (WebCore::SVGResourceMarker::setMarker):
              (WebCore::SVGResourceMarker::setRef):
              (WebCore::SVGResourceMarker::draw):
              (WebCore::SVGResourceMarker::externalRepresentation):
              (WebCore::getMarkerById):
              * platform/graphics/svg/SVGResourceMarker.h: Added.
              (WebCore::SVGResourceMarker::refX):
              (WebCore::SVGResourceMarker::refY):
              (WebCore::SVGResourceMarker::setAngle):
              (WebCore::SVGResourceMarker::setAutoAngle):
              (WebCore::SVGResourceMarker::angle):
              (WebCore::SVGResourceMarker::setUseStrokeWidth):
              (WebCore::SVGResourceMarker::useStrokeWidth):
              (WebCore::SVGResourceMarker::isMarker):
              * platform/graphics/svg/SVGResourceMasker.cpp: Added.
              (WebCore::SVGResourceMasker::SVGResourceMasker):
              (WebCore::SVGResourceMasker::~SVGResourceMasker):
              (WebCore::SVGResourceMasker::setMask):
              (WebCore::SVGResourceMasker::mask):
              (WebCore::SVGResourceMasker::externalRepresentation):
              (WebCore::getMaskerById):
              * platform/graphics/svg/SVGResourceMasker.h: Added.
              (WebCore::SVGResourceMasker::isMasker):
              * platform/graphics/svg/cg/SVGResourceClipperCg.mm: Added.
              (WebCore::SVGResourceClipper::applyClip):
              * platform/graphics/svg/cg/SVGResourceImageCg.mm: Added.
              (WebCore::SVGResourceImage::SVGResourceImage):
              (WebCore::SVGResourceImage::~SVGResourceImage):
              (WebCore::SVGResourceImage::init):
              (WebCore::SVGResourceImage::size):
              (WebCore::SVGResourceImage::cgLayer):
              (WebCore::SVGResourceImage::setCGLayer):
              * platform/graphics/svg/cg/SVGResourceMaskerCg.mm: Added.
              (WebCore::applyLuminanceToAlphaFilter):
              (WebCore::applyExpandAlphatoGrayscaleFilter):
              (WebCore::transformImageIntoGrayscaleMask):
              (WebCore::SVGResourceMasker::applyMask):
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp: Added.
              (WebCore::SVGResourceClipper::applyClip):
              * platform/graphics/svg/qt/SVGResourceImageQt.cpp: Added.
              (WebCore::SVGResourceImage::init):
              (WebCore::SVGResourceImage::size):
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp: Added.
              (WebCore::SVGResourceMasker::applyMask):
              * platform/qt/GraphicsContextQt.cpp:
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::paint):
              (WebCore::DrawMarkersData::DrawMarkersData):
              (WebCore::RenderPath::drawMarkersIfNeeded):
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::paint):
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::paintSVGInlineFlow):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7cf2d68a
    • oliver's avatar
      · 962ed808
      oliver authored
      liver Hunt  <oliver@apple.com>
      
              Reviewed by Anders.
      
              Roll out last patch
      
              * CMakeLists.txt:
              * ChangeLog:
              * WebCore.xcodeproj/project.pbxproj:
              * graphics/svg/SVGResource.cpp:
              * graphics/svg/SVGResourceClipper.cpp:
              * graphics/svg/SVGResourceClipper.h:
              * graphics/svg/SVGResourceImage.h:
              * graphics/svg/SVGResourceListener.h:
              * graphics/svg/SVGResourceMarker.cpp:
              * graphics/svg/SVGResourceMarker.h:
              * graphics/svg/SVGResourceMasker.cpp:
              * graphics/svg/SVGResourceMasker.h:
              * kcanvas/KCanvasClipper.cpp: Added.
              (WebCore::operator<<):
              (WebCore::KCanvasClipper::KCanvasClipper):
              (WebCore::KCanvasClipper::~KCanvasClipper):
              (WebCore::KCanvasClipper::resetClipData):
              (WebCore::KCanvasClipper::addClipData):
              (WebCore::KCanvasClipper::clipData):
              (WebCore::KCanvasClipper::externalRepresentation):
              (WebCore::getClipperById):
              * kcanvas/KCanvasClipper.h: Added.
              (WebCore::KCClipData::windRule):
              (WebCore::KCClipDataList::KCClipDataList):
              (WebCore::KCClipDataList::addPath):
              (WebCore::KCanvasClipper::isClipper):
              * kcanvas/KCanvasFilters.cpp:
              (WebCore::getFilterById):
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasImage.h: Added.
              (WebCore::KCanvasImage::KCanvasImage):
              (WebCore::KCanvasImage::~KCanvasImage):
              * kcanvas/KCanvasMarker.cpp: Added.
              (WebCore::KCanvasMarker::KCanvasMarker):
              (WebCore::KCanvasMarker::~KCanvasMarker):
              (WebCore::KCanvasMarker::setMarker):
              (WebCore::KCanvasMarker::setRef):
              (WebCore::KCanvasMarker::refX):
              (WebCore::KCanvasMarker::refY):
              (WebCore::KCanvasMarker::setAngle):
              (WebCore::KCanvasMarker::angle):
              (WebCore::KCanvasMarker::setAutoAngle):
              (WebCore::KCanvasMarker::setUseStrokeWidth):
              (WebCore::KCanvasMarker::useStrokeWidth):
              (WebCore::KCanvasMarker::draw):
              (WebCore::KCanvasMarker::externalRepresentation):
              (WebCore::getMarkerById):
              * kcanvas/KCanvasMarker.h: Added.
              (WebCore::KCanvasMarker::isMarker):
              * kcanvas/KCanvasMasker.cpp: Added.
              (WebCore::KCanvasMasker::KCanvasMasker):
              (WebCore::KCanvasMasker::~KCanvasMasker):
              (WebCore::KCanvasMasker::setMask):
              (WebCore::KCanvasMasker::externalRepresentation):
              (WebCore::getMaskerById):
              * kcanvas/KCanvasMasker.h: Added.
              (WebCore::KCanvasMasker::isMasker):
              (WebCore::KCanvasMasker::mask):
              * kcanvas/KCanvasResource.cpp: Added.
              (WebCore::operator<<):
              (WebCore::KCanvasResource::KCanvasResource):
              (WebCore::KCanvasResource::~KCanvasResource):
              (WebCore::KCanvasResource::addClient):
              (WebCore::KCanvasResource::clients):
              (WebCore::KCanvasResource::invalidate):
              (WebCore::KCanvasResource::idInRegistry):
              (WebCore::KCanvasResource::setIdInRegistry):
              (WebCore::KCanvasResource::externalRepresentation):
              (WebCore::getResourceById):
              (WebCore::getPaintServerById):
              * kcanvas/KCanvasResource.h:
              (WebCore::):
              (WebCore::KCanvasResource::isPaintServer):
              (WebCore::KCanvasResource::isFilter):
              (WebCore::KCanvasResource::isClipper):
              (WebCore::KCanvasResource::isMarker):
              (WebCore::KCanvasResource::isMasker):
              * kcanvas/KCanvasResourceListener.h: Added.
              (KCanvasResourceListener::KCanvasResourceListener):
              (KCanvasResourceListener::~KCanvasResourceListener):
              * kcanvas/KCanvasTreeDebug.cpp:
              (WebCore::writeRenderResources):
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingPaintServer.h:
              (WebCore::KRenderingPaintServer::KRenderingPaintServer):
              (WebCore::KRenderingPaintServer::idInRegistry):
              (WebCore::KRenderingPaintServer::setIdInRegistry):
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              (WebCore::KRenderingPaintServerGradient::listener):
              (WebCore::KRenderingPaintServerGradient::setListener):
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              (WebCore::KRenderingPaintServerPattern::KRenderingPaintServerPattern):
              (WebCore::KRenderingPaintServerPattern::~KRenderingPaintServerPattern):
              (WebCore::KRenderingPaintServerPattern::tile):
              (WebCore::KRenderingPaintServerPattern::setTile):
              (WebCore::KRenderingPaintServerPattern::listener):
              (WebCore::KRenderingPaintServerPattern::setListener):
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/qt/KCanvasClipperQt.cpp:
              (WebCore::KCanvasClipperQt::applyClip):
              * kcanvas/device/qt/KCanvasClipperQt.h:
              (WebCore::KCanvasClipperQt::KCanvasClipperQt):
              * kcanvas/device/qt/KRenderingDeviceQt.cpp:
              (WebCore::KRenderingDeviceQt::contextForImage):
              (WebCore::KRenderingDeviceQt::createResource):
              (WebCore::KRenderingDeviceQt::createPaintServer):
              * kcanvas/device/qt/KRenderingDeviceQt.h:
              * kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (WebCore::KCanvasFilterQuartz::getCIFilterStack):
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KCanvasMaskerQuartz.h:
              (WebCore::KCanvasMaskerQuartz::KCanvasMaskerQuartz):
              * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
              (WebCore::applyLuminanceToAlphaFilter):
              (WebCore::applyExpandAlphatoGrayscaleFilter):
              (WebCore::transformImageIntoGrayscaleMask):
              (WebCore::KCanvasMaskerQuartz::applyMask):
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              (WebCore::KCanvasClipperQuartz::KCanvasClipperQuartz):
              (WebCore::KCanvasImageQuartz::KCanvasImageQuartz):
              (WebCore::KCanvasImageQuartz::init):
              (WebCore::KCanvasImageQuartz::size):
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              (WebCore::KCanvasClipperQuartz::applyClip):
              (WebCore::KCanvasImageQuartz::~KCanvasImageQuartz):
              (WebCore::KCanvasImageQuartz::cgLayer):
              (WebCore::KCanvasImageQuartz::setCGLayer):
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (WebCore::KRenderingDeviceQuartz::contextForImage):
              (WebCore::KRenderingDeviceQuartz::createPaintServer):
              (WebCore::KRenderingDeviceQuartz::createResource):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (WebCore::KRenderingPaintServerGradientQuartz::KRenderingPaintServerGradientQuartz):
              (WebCore::KRenderingPaintServerGradientQuartz::~KRenderingPaintServerGradientQuartz):
              (WebCore::KRenderingPaintServerGradientQuartz::setup):
              (WebCore::KRenderingPaintServerGradientQuartz::teardown):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (WebCore::patternCallback):
              (WebCore::KRenderingPaintServerPatternQuartz::setup):
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::sharedSolidPaintServer):
              * ksvg2/svg/SVGClipPathElement.cpp:
              (WebCore::SVGClipPathElement::SVGClipPathElement):
              (WebCore::SVGClipPathElement::~SVGClipPathElement):
              (WebCore::SVGClipPathElement::canvasResource):
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFilterElement.cpp:
              (WebCore::SVGFilterElement::SVGFilterElement):
              (WebCore::SVGFilterElement::~SVGFilterElement):
              (WebCore::SVGFilterElement::canvasResource):
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGGradientElement.cpp:
              (WebCore::SVGGradientElement::SVGGradientElement):
              (WebCore::SVGGradientElement::~SVGGradientElement):
              (WebCore::SVGGradientElement::canvasResource):
              (WebCore::SVGGradientElement::resourceNotification):
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              (WebCore::SVGLinearGradientElement::buildGradient):
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              (WebCore::SVGMarkerElement::SVGMarkerElement):
              (WebCore::SVGMarkerElement::~SVGMarkerElement):
              (WebCore::SVGMarkerElement::canvasResource):
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              (WebCore::SVGMaskElement::SVGMaskElement):
              (WebCore::SVGMaskElement::~SVGMaskElement):
              (WebCore::SVGMaskElement::drawMaskerContent):
              (WebCore::SVGMaskElement::canvasResource):
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              (WebCore::SVGPatternElement::SVGPatternElement):
              (WebCore::SVGPatternElement::~SVGPatternElement):
              (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
              (WebCore::SVGPatternElement::drawPatternContentIntoTile):
              (WebCore::SVGPatternElement::canvasResource):
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              (WebCore::SVGRadialGradientElement::buildGradient):
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              (WebCore::SVGStyledElement::canvasResource):
              * platform/GraphicsContext.cpp: Added.
              (WebCore::GraphicsContextState::GraphicsContextState):
              (WebCore::GraphicsContextPrivate::GraphicsContextPrivate):
              (WebCore::GraphicsContext::createGraphicsContextPrivate):
              (WebCore::GraphicsContext::destroyGraphicsContextPrivate):
              (WebCore::GraphicsContext::save):
              (WebCore::GraphicsContext::restore):
              (WebCore::GraphicsContext::font):
              (WebCore::GraphicsContext::setFont):
              (WebCore::GraphicsContext::pen):
              (WebCore::GraphicsContext::setPen):
              (WebCore::GraphicsContext::setFillColor):
              (WebCore::GraphicsContext::fillColor):
              (WebCore::GraphicsContext::updatingControlTints):
              (WebCore::GraphicsContext::setUpdatingControlTints):
              (WebCore::GraphicsContext::setPaintingDisabled):
              (WebCore::GraphicsContext::paintingDisabled):
              (WebCore::GraphicsContext::drawImage):
              (WebCore::GraphicsContext::drawText):
              (WebCore::GraphicsContext::drawHighlightForText):
              (WebCore::GraphicsContext::initFocusRing):
              (WebCore::GraphicsContext::clearFocusRing):
              (WebCore::GraphicsContext::focusRingBoundingRect):
              (WebCore::GraphicsContext::addFocusRingRect):
              (WebCore::GraphicsContext::focusRingWidth):
              (WebCore::GraphicsContext::focusRingOffset):
              (WebCore::GraphicsContext::focusRingRects):
              (WebCore::GraphicsContext::drawTiledImage):
              * platform/GraphicsContext.h: Added.
              * platform/GraphicsTypes.cpp: Added.
              (WebCore::):
              (WebCore::parseCompositeOperator):
              (WebCore::compositeOperatorName):
              (WebCore::parseLineCap):
              (WebCore::lineCapName):
              (WebCore::parseLineJoin):
              (WebCore::lineJoinName):
              * platform/GraphicsTypes.h: Added.
              (WebCore::):
              * platform/graphics/GraphicsContext.cpp:
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/GraphicsTypes.cpp:
              * platform/graphics/GraphicsTypes.h:
              * platform/qt/GraphicsContextQt.cpp:
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::paint):
              (WebCore::DrawMarkersData::DrawMarkersData):
              (WebCore::RenderPath::drawMarkersIfNeeded):
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::paint):
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::paintSVGInlineFlow):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      962ed808
    • oliver's avatar
      2006-10-31 Nikolas Zimmermann <zimmermann@kde.org> · bc4bac28
      oliver authored
              Reviewed by Oliver.
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=11436
      
              Better SVG integration in WebKit, Part I.
      
              The patch is mostly about creating a new platform/graphics directory, and
              moving the kcanvas resources (clipper/masker/marker) there (in svg budir),
              with a new name (KCanvasClipper -> SVGResourceClipper). Also fix several ownership
              issues, by using ref counting (the SVG classes now store RefPtrs to the resources).
      
              KCanvasFilters is still left in kcanvas/ subdirectory, to be converted in a next patch.
              All details of the patch, and upcoming patches can be found in the bug report.
      
              * CMakeLists.txt:
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/KCanvasClipper.cpp: Removed.
              * kcanvas/KCanvasClipper.h: Removed.
              * kcanvas/KCanvasCreator.cpp: Removed.
              * kcanvas/KCanvasCreator.h: Removed.
              * kcanvas/KCanvasFilters.cpp:
              (WebCore::getFilterById):
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasImage.h: Removed.
              * kcanvas/KCanvasMarker.cpp: Removed.
              * kcanvas/KCanvasMarker.h: Removed.
              * kcanvas/KCanvasMasker.cpp: Removed.
              * kcanvas/KCanvasMasker.h: Removed.
              * kcanvas/KCanvasResource.cpp: Removed.
              * kcanvas/KCanvasResource.h: Removed.
              * kcanvas/KCanvasResourceListener.h: Removed.
              * kcanvas/KCanvasTreeDebug.cpp:
              (WebCore::writeRenderResources):
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingPaintServer.h:
              (WebCore::KRenderingPaintServer::KRenderingPaintServer):
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              (WebCore::KRenderingPaintServerGradient::listener):
              (WebCore::KRenderingPaintServerGradient::setListener):
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              (WebCore::KRenderingPaintServerPattern::KRenderingPaintServerPattern):
              (WebCore::KRenderingPaintServerPattern::~KRenderingPaintServerPattern):
              (WebCore::KRenderingPaintServerPattern::tile):
              (WebCore::KRenderingPaintServerPattern::setTile):
              (WebCore::KRenderingPaintServerPattern::listener):
              (WebCore::KRenderingPaintServerPattern::setListener):
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/qt/KCanvasClipperQt.cpp: Removed.
              * kcanvas/device/qt/KCanvasClipperQt.h: Removed.
              * kcanvas/device/qt/KRenderingDeviceQt.cpp:
              (WebCore::KRenderingDeviceQt::contextForImage):
              (WebCore::KRenderingDeviceQt::createResource):
              (WebCore::KRenderingDeviceQt::createPaintServer):
              * kcanvas/device/qt/KRenderingDeviceQt.h:
              * kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerQt.cpp:
              * kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp:
              * kcanvas/device/qt/RenderPathQt.h: Removed.
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (WebCore::KCanvasFilterQuartz::getCIFilterStack):
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KCanvasMaskerQuartz.h: Removed.
              * kcanvas/device/quartz/KCanvasMaskerQuartz.mm: Removed.
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h: Removed.
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm: Removed.
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (WebCore::KRenderingDeviceQuartz::contextForImage):
              (WebCore::KRenderingDeviceQuartz::createPaintServer):
              (WebCore::KRenderingDeviceQuartz::createResource):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (WebCore::KRenderingPaintServerGradientQuartz::KRenderingPaintServerGradientQuartz):
              (WebCore::KRenderingPaintServerGradientQuartz::~KRenderingPaintServerGradientQuartz):
              (WebCore::KRenderingPaintServerGradientQuartz::setup):
              (WebCore::KRenderingPaintServerGradientQuartz::teardown):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (WebCore::patternCallback):
              (WebCore::KRenderingPaintServerPatternQuartz::setup):
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::sharedSolidPaintServer):
              * ksvg2/svg/SVGClipPathElement.cpp:
              (WebCore::SVGClipPathElement::SVGClipPathElement):
              (WebCore::SVGClipPathElement::~SVGClipPathElement):
              (WebCore::SVGClipPathElement::canvasResource):
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFilterElement.cpp:
              (WebCore::SVGFilterElement::SVGFilterElement):
              (WebCore::SVGFilterElement::~SVGFilterElement):
              (WebCore::SVGFilterElement::canvasResource):
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGGradientElement.cpp:
              (WebCore::SVGGradientElement::SVGGradientElement):
              (WebCore::SVGGradientElement::~SVGGradientElement):
              (WebCore::SVGGradientElement::canvasResource):
              (WebCore::SVGGradientElement::resourceNotification):
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              (WebCore::SVGLinearGradientElement::buildGradient):
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              (WebCore::SVGMarkerElement::SVGMarkerElement):
              (WebCore::SVGMarkerElement::~SVGMarkerElement):
              (WebCore::SVGMarkerElement::canvasResource):
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              (WebCore::SVGMaskElement::SVGMaskElement):
              (WebCore::SVGMaskElement::~SVGMaskElement):
              (WebCore::SVGMaskElement::drawMaskerContent):
              (WebCore::SVGMaskElement::canvasResource):
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              (WebCore::SVGPatternElement::SVGPatternElement):
              (WebCore::SVGPatternElement::~SVGPatternElement):
              (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
              (WebCore::SVGPatternElement::drawPatternContentIntoTile):
              (WebCore::SVGPatternElement::canvasResource):
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              (WebCore::SVGRadialGradientElement::buildGradient):
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              (WebCore::SVGStyledElement::canvasResource):
              * platform/GraphicsContext.cpp: Removed.
              * platform/GraphicsContext.h: Removed.
              * platform/GraphicsTypes.cpp: Removed.
              * platform/GraphicsTypes.h: Removed.
              * platform/graphics/GraphicsContext.cpp: Added.
              (WebCore::GraphicsContextState::GraphicsContextState):
              (WebCore::GraphicsContextPrivate::GraphicsContextPrivate):
              (WebCore::GraphicsContext::createGraphicsContextPrivate):
              (WebCore::GraphicsContext::destroyGraphicsContextPrivate):
              (WebCore::GraphicsContext::save):
              (WebCore::GraphicsContext::restore):
              (WebCore::GraphicsContext::font):
              (WebCore::GraphicsContext::setFont):
              (WebCore::GraphicsContext::pen):
              (WebCore::GraphicsContext::setPen):
              (WebCore::GraphicsContext::setFillColor):
              (WebCore::GraphicsContext::fillColor):
              (WebCore::GraphicsContext::updatingControlTints):
              (WebCore::GraphicsContext::setUpdatingControlTints):
              (WebCore::GraphicsContext::setPaintingDisabled):
              (WebCore::GraphicsContext::paintingDisabled):
              (WebCore::GraphicsContext::drawImage):
              (WebCore::GraphicsContext::drawText):
              (WebCore::GraphicsContext::drawHighlightForText):
              (WebCore::GraphicsContext::initFocusRing):
              (WebCore::GraphicsContext::clearFocusRing):
              (WebCore::GraphicsContext::focusRingBoundingRect):
              (WebCore::GraphicsContext::addFocusRingRect):
              (WebCore::GraphicsContext::focusRingWidth):
              (WebCore::GraphicsContext::focusRingOffset):
              (WebCore::GraphicsContext::focusRingRects):
              (WebCore::GraphicsContext::drawTiledImage):
              * platform/graphics/GraphicsContext.h: Added.
              * platform/graphics/GraphicsTypes.cpp: Added.
              (WebCore::):
              (WebCore::parseCompositeOperator):
              (WebCore::compositeOperatorName):
              (WebCore::parseLineCap):
              (WebCore::lineCapName):
              (WebCore::parseLineJoin):
              (WebCore::lineJoinName):
              * platform/graphics/GraphicsTypes.h: Added.
              (WebCore::):
              * platform/graphics/svg/SVGResource.cpp: Added.
              (WebCore::SVGResource::SVGResource):
              (WebCore::SVGResource::~SVGResource):
              (WebCore::SVGResource::invalidate):
              (WebCore::SVGResource::addClient):
              (WebCore::SVGResource::clients):
              (WebCore::SVGResource::idInRegistry):
              (WebCore::SVGResource::setIdInRegistry):
              (WebCore::SVGResource::externalRepresentation):
              (WebCore::getResourceById):
              (WebCore::getPaintServerById):
              (WebCore::operator<<):
              * platform/graphics/svg/SVGResource.h: Added.
              (WebCore::):
              (WebCore::SVGResource::isPaintServer):
              (WebCore::SVGResource::isFilter):
              (WebCore::SVGResource::isClipper):
              (WebCore::SVGResource::isMarker):
              (WebCore::SVGResource::isMasker):
              (WebCore::SVGResourceListener::~SVGResourceListener):
              * platform/graphics/svg/SVGResourceClipper.cpp: Added.
              (WebCore::SVGResourceClipper::SVGResourceClipper):
              (WebCore::SVGResourceClipper::~SVGResourceClipper):
              (WebCore::SVGResourceClipper::resetClipData):
              (WebCore::SVGResourceClipper::addClipData):
              (WebCore::SVGResourceClipper::clipData):
              (WebCore::SVGResourceClipper::externalRepresentation):
              (WebCore::operator<<):
              (WebCore::getClipperById):
              * platform/graphics/svg/SVGResourceClipper.h: Added.
              (WebCore::ClipDataList::addPath):
              (WebCore::SVGResourceClipper::isClipper):
              * platform/graphics/svg/SVGResourceImage.h: Added.
              * platform/graphics/svg/SVGResourceMarker.cpp: Added.
              (WebCore::SVGResourceMarker::SVGResourceMarker):
              (WebCore::SVGResourceMarker::~SVGResourceMarker):
              (WebCore::SVGResourceMarker::setMarker):
              (WebCore::SVGResourceMarker::setRef):
              (WebCore::SVGResourceMarker::draw):
              (WebCore::SVGResourceMarker::externalRepresentation):
              (WebCore::getMarkerById):
              * platform/graphics/svg/SVGResourceMarker.h: Added.
              (WebCore::SVGResourceMarker::refX):
              (WebCore::SVGResourceMarker::refY):
              (WebCore::SVGResourceMarker::setAngle):
              (WebCore::SVGResourceMarker::setAutoAngle):
              (WebCore::SVGResourceMarker::angle):
              (WebCore::SVGResourceMarker::setUseStrokeWidth):
              (WebCore::SVGResourceMarker::useStrokeWidth):
              (WebCore::SVGResourceMarker::isMarker):
              * platform/graphics/svg/SVGResourceMasker.cpp: Added.
              (WebCore::SVGResourceMasker::SVGResourceMasker):
              (WebCore::SVGResourceMasker::~SVGResourceMasker):
              (WebCore::SVGResourceMasker::setMask):
              (WebCore::SVGResourceMasker::mask):
              (WebCore::SVGResourceMasker::externalRepresentation):
              (WebCore::getMaskerById):
              * platform/graphics/svg/SVGResourceMasker.h: Added.
              (WebCore::SVGResourceMasker::isMasker):
              * platform/graphics/svg/cg/SVGResourceClipperCg.mm: Added.
              (WebCore::SVGResourceClipper::applyClip):
              * platform/graphics/svg/cg/SVGResourceImageCg.mm: Added.
              (WebCore::SVGResourceImage::SVGResourceImage):
              (WebCore::SVGResourceImage::~SVGResourceImage):
              (WebCore::SVGResourceImage::init):
              (WebCore::SVGResourceImage::size):
              (WebCore::SVGResourceImage::cgLayer):
              (WebCore::SVGResourceImage::setCGLayer):
              * platform/graphics/svg/cg/SVGResourceMaskerCg.mm: Added.
              (WebCore::applyLuminanceToAlphaFilter):
              (WebCore::applyExpandAlphatoGrayscaleFilter):
              (WebCore::transformImageIntoGrayscaleMask):
              (WebCore::SVGResourceMasker::applyMask):
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp: Added.
              (WebCore::SVGResourceClipper::applyClip):
              * platform/graphics/svg/qt/SVGResourceImageQt.cpp: Added.
              (WebCore::SVGResourceImage::init):
              (WebCore::SVGResourceImage::size):
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp: Added.
              (WebCore::SVGResourceMasker::applyMask):
              * platform/qt/GraphicsContextQt.cpp:
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::paint):
              (WebCore::DrawMarkersData::DrawMarkersData):
              (WebCore::RenderPath::drawMarkersIfNeeded):
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::paint):
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              * rendering/SVGInlineFlowBox.cpp:
              (WebCore::paintSVGInlineFlow):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc4bac28
  20. 26 Oct, 2006 1 commit
    • weinig's avatar
      Reviewed by Mitz. · 1497a7e3
      weinig authored
              Fix for http://bugs.webkit.org/show_bug.cgi?id=11424
              Cleanup rendering code
      
              - Assorted code cleanup.
      
              * rendering/AutoTableLayout.cpp:
              * rendering/AutoTableLayout.h:
              (WebCore::AutoTableLayout::totalPercent):
              * rendering/CounterListItem.h:
              * rendering/CounterNode.cpp:
              * rendering/CounterNode.h:
              (WebCore::CounterNode::~CounterNode):
              (WebCore::CounterNode::isReset):
              * rendering/CounterResetNode.cpp:
              * rendering/CounterResetNode.h:
              * rendering/DataRef.h:
              (WebCore::DataRef::DataRef):
              * rendering/DeprecatedRenderSelect.h:
              * rendering/DeprecatedSlider.cpp:
              * rendering/DeprecatedSlider.h:
              * rendering/EllipsisBox.cpp:
              * rendering/EllipsisBox.h:
              (WebCore::EllipsisBox::EllipsisBox):
              * rendering/FixedTableLayout.cpp:
              * rendering/FixedTableLayout.h:
              * rendering/GapRects.h:
              * rendering/InlineBox.cpp:
              * rendering/InlineBox.h:
              (WebCore::InlineBox::InlineBox):
              (WebCore::InlineBox::setConstructed):
              (WebCore::InlineBox::clearTruncation):
              (WebCore::InlineBox::markDirty):
              * rendering/InlineFlowBox.cpp:
              * rendering/InlineFlowBox.h:
              (WebCore::InlineFlowBox::InlineFlowBox):
              (WebCore::InlineFlowBox::setConstructed):
              (WebCore::InlineFlowBox::setEdges):
              (WebCore::InlineFlowBox::setVerticalOverflowPositions):
              (WebCore::InlineFlowBox::setVerticalSelectionPositions):
              * rendering/InlineRunBox.h:
              (WebCore::InlineRunBox::paintBackgroundAndBorder):
              (WebCore::InlineRunBox::paintDecorations):
              * rendering/InlineTextBox.cpp:
              * rendering/InlineTextBox.h:
              (WebCore::InlineTextBox::InlineTextBox):
              (WebCore::InlineTextBox::end):
              (WebCore::InlineTextBox::textObject):
              * rendering/Length.h:
              (WebCore::Length::Length):
              * rendering/ListMarkerBox.cpp:
              * rendering/ListMarkerBox.h:
              * rendering/RenderPartObject.h:
              * rendering/RootInlineBox.cpp:
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineFlowBox.cpp:
              * rendering/SVGInlineFlowBox.h:
              (WebCore::SVGInlineFlowBox::SVGInlineFlowBox):
              * rendering/SVGRootInlineBox.cpp:
              * rendering/SVGRootInlineBox.h:
              (WebCore::SVGRootInlineBox::SVGRootInlineBox):
              * rendering/TableLayout.h:
              (WebCore::TableLayout::TableLayout):
              (WebCore::TableLayout::~TableLayout):
              * rendering/bidi.h:
              (WebCore::BidiStatus::BidiStatus):
              (WebCore::BidiRun::BidiRun):
              * rendering/break_lines.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1497a7e3
  21. 24 Oct, 2006 1 commit
    • weinig's avatar
      Reviewed by Tim H. · 060d5230
      weinig authored
              Move kcanvas/Render* and kcanvas/SVG* to rendering/Render*
              and rendering/SVG* respectively.  Fix Xcode project and
              CMakeLists.txt to account for the moves.
      
              * CMakeLists.txt:
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/RenderForeignObject.cpp: Removed.
              * kcanvas/RenderForeignObject.h: Removed.
              * kcanvas/RenderPath.cpp: Removed.
              * kcanvas/RenderPath.h: Removed.
              * kcanvas/RenderSVGContainer.cpp: Removed.
              * kcanvas/RenderSVGContainer.h: Removed.
              * kcanvas/RenderSVGImage.cpp: Removed.
              * kcanvas/RenderSVGImage.h: Removed.
              * kcanvas/RenderSVGInline.cpp: Removed.
              * kcanvas/RenderSVGInline.h: Removed.
              * kcanvas/RenderSVGInlineText.cpp: Removed.
              * kcanvas/RenderSVGInlineText.h: Removed.
              * kcanvas/RenderSVGTSpan.cpp: Removed.
              * kcanvas/RenderSVGTSpan.h: Removed.
              * kcanvas/RenderSVGText.cpp: Removed.
              * kcanvas/RenderSVGText.h: Removed.
              * kcanvas/SVGInlineFlowBox.cpp: Removed.
              * kcanvas/SVGInlineFlowBox.h: Removed.
              * kcanvas/SVGRootInlineBox.cpp: Removed.
              * kcanvas/SVGRootInlineBox.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      060d5230
  22. 10 Oct, 2006 3 commits
    • oliver's avatar
      2006-10-10 Oliver Hunt <oliver@apple.com> · 7deaea9d
      oliver authored
              rubber stamped by Anders.
      
              More buildbot bustage
      
              * kcanvas/SVGInlineFlowBox.cpp:
              (WebCore::placeBoxesVerticallyWithAbsBaseline):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7deaea9d
    • oliver's avatar
      2006-10-10 Oliver Hunt <oliver@apple.com> · fb9f782e
      oliver authored
              Reviewed by Anders 
      
              Unbreak build bots
      
              * dom/Text.cpp:
              * kcanvas/RenderSVGText.cpp:
              (WebCore::RenderSVGText::layout):
              * kcanvas/SVGInlineFlowBox.cpp:
              (WebCore::placePositionedBoxesHorizontally):
              (WebCore::placeBoxesVerticallyWithAbsBaseline):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb9f782e
    • oliver's avatar
      2006-10-10 Oliver Hunt <set EMAIL_ADDRESS environment variable> · a0e2b358
      oliver authored
              Reviewed by hyatt.
      
              Fixes bugs #6423, #6559, #10380 and #10839 
      
              * WebCore.xcodeproj/project.pbxproj:
              * css/svg.css:
              * dom/Text.cpp:
              (WebCore::Text::createRenderer):
              * kcanvas/RenderSVGInline.cpp: Added.
              (WebCore::RenderSVGInline::RenderSVGInline):
              (WebCore::RenderSVGInline::createInlineBox):
              * kcanvas/RenderSVGInline.h: Added.
              (WebCore::RenderSVGInline::renderName):
              (WebCore::RenderSVGInline::requiresLayer):
              * kcanvas/RenderSVGInlineText.cpp: Added.
              (WebCore::RenderSVGInlineText::RenderSVGInlineText):
              (WebCore::RenderSVGInlineText::absoluteRects):
              (WebCore::RenderSVGInlineText::selectionRect):
              * kcanvas/RenderSVGInlineText.h: Added.
              (WebCore::RenderSVGInlineText::renderName):
              (WebCore::RenderSVGInlineText::requiresLayer):
              * kcanvas/RenderSVGTSpan.cpp: Added.
              (WebCore::RenderSVGTSpan::RenderSVGTSpan):
              (WebCore::RenderSVGTSpan::absoluteRects):
              * kcanvas/RenderSVGTSpan.h: Added.
              (WebCore::RenderSVGTSpan::renderName):
              * kcanvas/RenderSVGText.cpp:
              (WebCore::RenderSVGText::RenderSVGText):
              (WebCore::RenderSVGText::computeAbsoluteRepaintRect):
              (WebCore::RenderSVGText::layout):
              (WebCore::RenderSVGText::createInlineBox):
              (WebCore::RenderSVGText::nodeAtPoint):
              (WebCore::RenderSVGText::absoluteRects):
              (WebCore::RenderSVGText::paint):
              (WebCore::RenderSVGText::relativeBBox):
              * kcanvas/RenderSVGText.h:
              (WebCore::RenderSVGText::renderName):
              * kcanvas/SVGInlineFlowBox.cpp: Added.
              (WebCore::SVGInlineFlowBox::paint):
              (WebCore::SVGInlineFlowBox::placeBoxesHorizontally):
              (WebCore::SVGInlineFlowBox::verticallyAlignBoxes):
              (WebCore::paintSVGInlineFlow):
              (WebCore::translateBox):
              (WebCore::placePositionedBoxesHorizontally):
              (WebCore::placeSVGFlowHorizontally):
              (WebCore::placeBoxesVerticallyWithAbsBaseline):
              (WebCore::placeSVGFlowVertically):
              * kcanvas/SVGInlineFlowBox.h: Added.
              (WebCore::SVGInlineFlowBox::SVGInlineFlowBox):
              * kcanvas/SVGRootInlineBox.cpp: Added.
              (WebCore::SVGRootInlineBox::paint):
              (WebCore::SVGRootInlineBox::placeBoxesHorizontally):
              (WebCore::SVGRootInlineBox::verticallyAlignBoxes):
              * kcanvas/SVGRootInlineBox.h: Added.
              (WebCore::SVGRootInlineBox::SVGRootInlineBox):
              * ksvg2/svg/SVGTRefElement.cpp:
              (SVGTRefElement::createRenderer):
              * ksvg2/svg/SVGTSpanElement.cpp:
              (SVGTSpanElement::createRenderer):
              * rendering/InlineFlowBox.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0e2b358