1. 20 Mar, 2006 12 commits
    • darin's avatar
      Reviewed by Geoff. · d18e72a9
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7867
                get rid of macro hacks for DOM, KDOM, KSVG, khtml, DOMString, QString
      
              * config.h: Remove the defines for DOM, KDOM, KSVG, khtml, DOMString, QString,
              and qstring().
      
              * WebCore.xcodeproj/project.pbxproj: Pass in WebCore instead of KSVG as the
              namespace for SVG names.
              * ksvg2/scripts/make_names.pl: Made a couple changes to trick the SVG names into
              recompiling, since they are in a different namespace now.
      
              * ForwardingHeaders/kjs/identifier.h: Added.
      
              * dom/PlatformWheelEvent.idl: Removed.
              * dom/WheelEvent.idl: Added. This file was renamed by accident.
      
              * bindings/js/JSDOMCore.cpp:
              * bindings/js/JSDOMEvents.cpp:
              * bindings/js/JSDOMHTML.cpp:
              * dom/Attr.idl:
              * dom/CharacterData.idl:
              * dom/DOMImplementation.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/Entity.idl:
              * dom/MutationEvent.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/Text.idl:
              * html/CanvasGradient.idl:
              * html/CanvasPattern.idl:
              * html/CanvasRenderingContext2D.idl:
              Touched, to get CodeGeneratorJS.pm changes to take effect.
       
              * css/CSSGrammar.y:
              * css/css_valueimpl.cpp: (WebCore::propertyID):
              Changed calls to get CSS property values to use an explicit SVG:: namespace,
              to match what the script writes out.
      
              * khtml/ecma/kjs_binding.h: Added forward declaration of WebCore::String.
      
              * ksvg2/scripts/cssmakeget rid of macro hacks for DOM, KDOM, KSVG, khtml, DOMString, QString
                props: Made this compile with warnings and strict turned on.
              Really just a trick to get properties to recompile, which turned out to be unneeded.
              * ksvg2/scripts/cssmakevalues: Ditto.
      
              * ksvg2/svg/SVGAElement.cpp:
              (SVGAElement::parseMappedAttribute):
              (SVGAElement::defaultEventHandler):
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              (SVGAnimateTransformElement::parseMappedAttribute):
              * ksvg2/svg/SVGAnimationElement.cpp:
              (SVGAnimationElement::parseMappedAttribute):
              * ksvg2/svg/SVGClipPathElement.cpp:
              (SVGClipPathElement::parseMappedAttribute):
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              (SVGComponentTransferFunctionElement::parseMappedAttribute):
              * ksvg2/svg/SVGExternalResourcesRequired.cpp:
              (SVGExternalResourcesRequired::parseMappedAttribute):
              * ksvg2/svg/SVGFEBlendElement.cpp:
              (SVGFEBlendElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              (SVGFEColorMatrixElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEComponentTransferElement.cpp:
              (SVGFEComponentTransferElement::parseMappedAttribute):
              * ksvg2/svg/SVGFECompositeElement.cpp:
              (SVGFECompositeElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              (SVGFEDisplacementMapElement::SVGFEDisplacementMapElement):
              (SVGFEDisplacementMapElement::stringToChannel):
              (SVGFEDisplacementMapElement::parseMappedAttribute):
              (SVGFEDisplacementMapElement::filterEffect):
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEFloodElement.cpp:
              (SVGFEFloodElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              (SVGFEGaussianBlurElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEImageElement.cpp:
              (SVGFEImageElement::parseMappedAttribute):
              * ksvg2/svg/SVGFELightElement.cpp:
              (SVGFELightElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEMergeNodeElement.cpp:
              (SVGFEMergeNodeElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              (SVGFEOffsetElement::parseMappedAttribute):
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              (SVGFESpecularLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFETileElement.cpp:
              (SVGFETileElement::parseMappedAttribute):
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              (SVGFETurbulenceElement::parseMappedAttribute):
              * ksvg2/svg/SVGFilterElement.cpp:
              (SVGFilterElement::parseMappedAttribute):
              * ksvg2/svg/SVGGradientElement.cpp:
              (SVGGradientElement::parseMappedAttribute):
              * ksvg2/svg/SVGMaskElement.cpp:
              (WebCore::SVGMaskElement::parseMappedAttribute):
              * ksvg2/svg/SVGPolyElement.cpp:
              (SVGPolyElement::parseMappedAttribute):
              * ksvg2/svg/SVGStopElement.cpp:
              (SVGStopElement::parseMappedAttribute):
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::SVGStyledElement::parseMappedAttribute):
              * ksvg2/svg/SVGTests.cpp:
              (WebCore::SVGTests::parseMappedAttribute):
              * ksvg2/svg/SVGTextContentElement.cpp:
              (SVGTextContentElement::parseMappedAttribute):
              * ksvg2/svg/SVGTextPositioningElement.cpp:
              (SVGTextPositioningElement::parseMappedAttribute):
              * ksvg2/svg/SVGViewElement.cpp:
              (SVGViewElement::parseMappedAttribute):
              * ksvg2/svg/SVGZoomAndPan.cpp:
              (SVGZoomAndPan::parseMappedAttribute):
              Changed code that converts an AtomicString to a String to do it in a
              more-efficient fashion that works even with all the new conversions.
      
              * page/Frame.cpp:
              (WebCore::getString): Removed unneeded .deprecatedString().
              (WebCore::Frame::begin): Removed the only use of QSTRING_NULL.
      
              * platform/AtomicString.h: Added conversion to and from KJS::Identifier
              and KJS::UString.
              * platform/AtomicString.cpp:
              (WebCore::AtomicString::add): Added overloads for Identifier and UString.
              (WebCore::AtomicString::operator Identifier): Added.
              (WebCore::AtomicString::operator UString): Added.
      
              * platform/DeprecatedString.h: Added conversion to and from KJS::Identifier
              and KJS::UString.
              * platform/DeprecatedString.cpp:
              (DeprecatedString::DeprecatedString): Added overloads for Identifier and UString.
              (DeprecatedString::operator Identifier): Added.
              (DeprecatedString::operator UString): Added.
      
              * platform/PlatformString.h: Added conversion to and from KJS::Identifier
              and KJS::UString.
              * platform/String.cpp:
              (WebCore::String::String): Added overloads for Identifier and UString.
              (WebCore::String::operator Identifier): Added.
              (WebCore::String::operator UString): Added.
      
              * platform/StringImpl.h: Added constructors that take KJS::Identifier
              and KJS::UString
              * platform/StringImpl.cpp:
              (WebCore::getWordBreakIterator): Changed a use of UChar to say ::UChar
              instead because of ambiguity with KJS::UChar.
              (WebCore::StringImpl::StringImpl): Added overloads for Identifier and String.
      
              * bindings/js/JSCanvasRenderingContext2DBase.cpp:
              (WebCore::JSCanvasRenderingContext2DBaseProtoFunc::callAsFunction):
              (WebCore::toHTMLCanvasStyle):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/mac/WebCoreFrameBridge.mm:
              (aeDescFromJSValue):
              (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              * dom/QualifiedName.cpp:
              (WebCore::QualifiedName::toString):
              * khtml/ecma/JSDOMParser.cpp:
              (KJS::DOMParserProtoFunc::callAsFunction):
              * khtml/ecma/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
              * khtml/ecma/JSXSLTProcessor.cpp:
              (KJS::XSLTProcessorProtoFunc::callAsFunction):
              * khtml/ecma/kjs_binding.cpp:
              (KJS::valueToStringWithNullCheck):
              * khtml/ecma/kjs_css.cpp:
              (KJS::cssPropertyName):
              (KJS::DOMCSSStyleDeclaration::put):
              (KJS::DOMCSSStyleDeclarationProtoFunc::callAsFunction):
              (KJS::DOMStyleSheetList::nameGetter):
              (KJS::DOMStyleSheetList::getOwnPropertySlot):
              (KJS::DOMMediaList::put):
              (KJS::KJS::DOMMediaListProtoFunc::callAsFunction):
              (KJS::DOMCSSStyleSheetProtoFunc::callAsFunction):
              (KJS::DOMCSSRule::putValueProperty):
              (KJS::DOMCSSRuleFunc::callAsFunction):
              (KJS::DOMCSSValue::put):
              (KJS::DOMCSSPrimitiveValueProtoFunc::callAsFunction):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::putValueProperty):
              (KJS::DOMNode::toString):
              (KJS::DOMNodeProtoFunc::callAsFunction):
              (KJS::DOMEventTargetNodeProtoFunc::callAsFunction):
              (KJS::DOMNodeList::nameGetter):
              (KJS::DOMNodeList::getOwnPropertySlot):
              (KJS::DOMDocument::putValueProperty):
              (KJS::DOMDocumentProtoFunc::callAsFunction):
              (KJS::DOMElement::attributeGetter):
              (KJS::DOMElement::getOwnPropertySlot):
              (KJS::DOMNamedNodeMap::nameGetter):
              (KJS::DOMNamedNodeMap::getOwnPropertySlot):
              (KJS::DOMNamedNodeMapProtoFunc::callAsFunction):
              (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMEventProtoFunc::callAsFunction):
              (KJS::DOMUIEventProtoFunc::callAsFunction):
              (KJS::DOMMouseEventProtoFunc::callAsFunction):
              (KJS::DOMKeyboardEventProtoFunc::callAsFunction):
              (KJS::Clipboard::putValueProperty):
              (KJS::ClipboardProtoFunc::callAsFunction):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLDocFunction::callAsFunction):
              (KJS::JSHTMLDocument::namedItemGetter):
              (KJS::JSHTMLDocument::getOwnPropertySlot):
              (KJS::JSHTMLDocument::putValueProperty):
              (KJS::JSHTMLElement::framesetNameGetter):
              (KJS::JSHTMLElement::getOwnPropertySlot):
              (KJS::HTMLElementFunction::callAsFunction):
              (KJS::JSHTMLElement::putValueProperty):
              (KJS::JSHTMLCollection::callAsFunction):
              (KJS::JSHTMLCollection::getNamedItems):
              (KJS::HTMLCollectionProtoFunc::callAsFunction):
              (KJS::OptionConstructorImp::construct):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Plugins::nameGetter):
              (KJS::Plugins::getOwnPropertySlot):
              (KJS::MimeTypes::nameGetter):
              (KJS::MimeTypes::getOwnPropertySlot):
              (KJS::Plugin::nameGetter):
              (KJS::Plugin::getOwnPropertySlot):
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxy::evaluate):
              * khtml/ecma/kjs_range.cpp:
              (KJS::DOMRangeProtoFunc::callAsFunction):
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              * khtml/ecma/kjs_window.cpp:
              (KJS::parseModalDialogFeatures):
              (KJS::showModalDialog):
              (KJS::Window::childFrameGetter):
              (KJS::Window::namedFrameGetter):
              (KJS::Window::namedItemGetter):
              (KJS::Window::getOwnPropertySlot):
              (KJS::Window::put):
              (KJS::WindowFunc::callAsFunction):
              (KJS::ScheduledAction::execute):
              (KJS::Window::installTimeout):
              (KJS::FrameArray::nameGetter):
              (KJS::FrameArray::getOwnPropertySlot):
              (KJS::Location::put):
              (KJS::LocationFunc::callAsFunction):
              (KJS::SelectionFunc::callAsFunction):
              Removed explicit calls to domString(), sometimes replacing with explicit calls to the
              String() constructor. Other similar changes for AtomicString and DeprecatedString use.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d18e72a9
    • eseidel's avatar
      2006-03-20 Eric Seidel <eseidel@apple.com> · 27707962
      eseidel authored
              Reviewed by darin.
      
              Remove many, many uses of DeprecatedString.
              Fix various style issues throughout the touched code.
      
              * bindings/objc/DOM.mm:
              (-[DOMRange _text]):
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow):
              * bridge/mac/FrameMac.h:
              (WebCore::FrameMac::bridge):
              (WebCore::FrameMac::markedTextRange):
              (WebCore::Mac):
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::openURLRequest):
              (WebCore::FrameMac::searchForLabelsAboveCell):
              (WebCore::FrameMac::searchForLabelsBeforeElement):
              (WebCore::FrameMac::matchLabelsAgainstElement):
              (WebCore::FrameMac::findString):
              (WebCore::FrameMac::submitForm):
              (WebCore::FrameMac::urlSelected):
              (WebCore::FrameMac::objectContentType):
              (WebCore::FrameMac::createPlugin):
              (WebCore::FrameMac::createFrame):
              (WebCore::FrameMac::setTitle):
              (WebCore::FrameMac::setStatusBarText):
              (WebCore::FrameMac::advanceToNextMisspelling):
              (WebCore::FrameMac::userAgent):
              (WebCore::FrameMac::mimeTypeForFileName):
              (WebCore::FrameMac::openURLFromPageCache):
              (WebCore::FrameMac::incomingReferrer):
              (WebCore::FrameMac::attributedString):
              (WebCore::FrameMac::overrideMediaType):
              (WebCore::FrameMac::shouldClose):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge _documentTypeString]):
              (-[WebCoreFrameBridge selectedString]):
              (-[WebCoreFrameBridge stringForRange:]):
              (-[WebCoreFrameBridge advanceToNextMisspelling]):
              (-[WebCoreFrameBridge advanceToNextMisspellingStartingJustBeforeSelection]):
              (-[WebCoreFrameBridge domain]):
              * bridge/mac/WebCoreSettings.mm:
              (-[WebCoreSettings setStandardFontFamily:]):
              (-[WebCoreSettings setFixedFontFamily:]):
              (-[WebCoreSettings setSerifFontFamily:]):
              (-[WebCoreSettings setSansSerifFontFamily:]):
              (-[WebCoreSettings setCursiveFontFamily:]):
              (-[WebCoreSettings setFantasyFontFamily:]):
              (-[WebCoreSettings setUserStyleSheetLocation:]):
              (-[WebCoreSettings setDefaultTextEncoding:]):
              * css/css_valueimpl.cpp:
              (WebCore::quoteStringIfNeeded):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              (WebCore::CSSStyleSelector::setEncodedURL):
              (WebCore::cleanpath):
              (WebCore::checkPseudoState):
              (WebCore::CSSStyleSelector::styleForElement):
              (WebCore::CSSStyleSelector::styleRulesForElement):
              (WebCore::convertToLength):
              (WebCore::colorForCSSValue):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::getColorFromPrimitiveValue):
              * css/cssstyleselector.h:
              * dom/CDATASection.cpp:
              (WebCore::CDATASection::toString):
              * dom/Document.cpp:
              (WebCore::Document::recalcStyle):
              * dom/Document.h:
              (WebCore::Document::baseTarget):
              (WebCore::Document::setBaseTarget):
              * dom/dom_elementimpl.cpp:
              (WebCore::Element::openTagStartToString):
              * dom/xml_tokenizer.cpp:
              (WebCore::handleElementAttributes):
              (WebCore::XMLTokenizer::startElementNs):
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::type):
              * editing/TextIterator.cpp:
              (WebCore::TextIterator::advance):
              (WebCore::TextIterator::handleTextBox):
              (WebCore::TextIterator::handleNonTextNode):
              (WebCore::TextIterator::exitNode):
              (WebCore::SimplifiedBackwardsTextIterator::advance):
              (WebCore::SimplifiedBackwardsTextIterator::handleTextNode):
              (WebCore::CharacterIterator::advance):
              (WebCore::WordAwareIterator::advance):
              (WebCore::WordAwareIterator::length):
              (WebCore::WordAwareIterator::characters):
              (WebCore::CircularSearchBuffer::CircularSearchBuffer):
              (WebCore::CircularSearchBuffer::append):
              (WebCore::TextIterator::rangeFromLocationAndLength):
              (WebCore::findPlainText):
              * editing/TextIterator.h:
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::formData):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxy::initScriptIfNeeded):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Location::getValueProperty):
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::KSVGPainterFactory::fillPaintServer):
              (WebCore::KSVGPainterFactory::strokePaintServer):
              * ksvg2/svg/SVGAngle.cpp:
              (SVGAngle::calculate):
              (SVGAngle::setValueAsString):
              (SVGAngle::valueAsString):
              (SVGAngle::convertToSpecifiedUnits):
              (SVGAngle::shortestArcBisector):
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimationElement.cpp:
              (SVGAnimationElement::targetElement):
              (SVGAnimationElement::parseMappedAttribute):
              (SVGAnimationElement::parseClockValue):
              (SVGAnimationElement::targetAttribute):
              (SVGAnimationElement::setTargetAttribute):
              (SVGAnimationElement::detectAnimationMode):
              (SVGAnimationElement::calculateCurrentValueItem):
              (SVGAnimationElement::calculateRelativeTimePercentage):
              * ksvg2/svg/SVGColor.cpp:
              (SVGColor::setRGBColor):
              * ksvg2/svg/SVGDOMImplementation.cpp:
              (svgFeatureSet):
              (SVGDOMImplementation::self):
              (SVGDOMImplementation::hasFeature):
              (SVGDOMImplementation::createDocumentType):
              (SVGDOMImplementation::createDocument):
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGPaint.cpp:
              (SVGPaint::cssText):
              * ksvg2/svg/SVGPathSegClosePath.h:
              (WebCore::SVGPathSegClosePath::toString):
              * ksvg2/svg/SVGPreserveAspectRatio.cpp:
              (SVGPreserveAspectRatio::parsePreserveAspectRatio):
              (SVGPreserveAspectRatio::getCTM):
              * ksvg2/svg/SVGStopElement.cpp:
              (SVGStopElement::parseMappedAttribute):
              * ksvg2/svg/SVGStyleElement.cpp:
              (SVGStyleElement::childrenChanged):
              * ksvg2/svg/SVGURIReference.cpp:
              (SVGURIReference::getTarget):
              * kwq/ClipboardMac.mm:
              (WebCore::ClipboardMac::setData):
              (WebCore::ClipboardMac::types):
              (WebCore::ClipboardMac::setEffectAllowed):
              (WebCore::cocoaOpFromIEOp):
              (WebCore::IEOpFromCocoaOp):
              (WebCore::ClipboardMac::sourceOperation):
              (WebCore::ClipboardMac::destinationOperation):
              * kwq/KWQCString.cpp:
              (DeprecatedCString::append):
              * kwq/KWQKHTMLSettings.h:
              (KHTMLSettings::stdFontName):
              (KHTMLSettings::fixedFontName):
              (KHTMLSettings::serifFontName):
              (KHTMLSettings::sansSerifFontName):
              (KHTMLSettings::cursiveFontName):
              (KHTMLSettings::fantasyFontName):
              (KHTMLSettings::minFontSize):
              (KHTMLSettings::minLogicalFontSize):
              (KHTMLSettings::mediumFontSize):
              (KHTMLSettings::mediumFixedFontSize):
              (KHTMLSettings::autoLoadImages):
              (KHTMLSettings::isJavaScriptEnabled):
              (KHTMLSettings::JavaScriptCanOpenWindowsAutomatically):
              (KHTMLSettings::isJavaEnabled):
              (KHTMLSettings::isPluginsEnabled):
              (KHTMLSettings::encoding):
              (KHTMLSettings::userStyleSheet):
              (KHTMLSettings::shouldPrintBackgrounds):
              (KHTMLSettings::textAreasAreResizable):
              (KHTMLSettings::setStdFontName):
              (KHTMLSettings::setFixedFontName):
              (KHTMLSettings::setSerifFontName):
              (KHTMLSettings::setSansSerifFontName):
              (KHTMLSettings::setCursiveFontName):
              (KHTMLSettings::setFantasyFontName):
              (KHTMLSettings::setMinFontSize):
              (KHTMLSettings::setMinLogicalFontSize):
              (KHTMLSettings::setMediumFontSize):
              (KHTMLSettings::setMediumFixedFontSize):
              (KHTMLSettings::setAutoLoadImages):
              (KHTMLSettings::setIsJavaScriptEnabled):
              (KHTMLSettings::setIsJavaEnabled):
              (KHTMLSettings::setArePluginsEnabled):
              (KHTMLSettings::setJavaScriptCanOpenWindowsAutomatically):
              (KHTMLSettings::setEncoding):
              (KHTMLSettings::setUserStyleSheet):
              (KHTMLSettings::setShouldPrintBackgrounds):
              (KHTMLSettings::setTextAreasAreResizable):
              * kwq/KWQLoader.mm:
              (KWQServeSynchronousRequest):
              * kwq/KWQTextStream.cpp:
              (QTextStream::QTextStream):
              (QTextStream::operator<<):
              (QTextStream::precision):
              * kwq/KWQTextStream.h:
              * kwq/RenderTreeAsText.cpp:
              (operator<<):
              (quoteAndEscapeNonPrintables):
              (writeTextRun):
              (write):
              (writeSelection):
              * loader/Cache.cpp:
              (WebCore::Cache::init):
              (WebCore::Cache::requestImage):
              (WebCore::Cache::requestStyleSheet):
              (WebCore::Cache::preloadStyleSheet):
              (WebCore::Cache::requestScript):
              (WebCore::Cache::preloadScript):
              (WebCore::Cache::requestXSLStyleSheet):
              (WebCore::Cache::requestXBLDocument):
              (WebCore::Cache::remove):
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::error):
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::error):
              * loader/CachedImage.h:
              * loader/CachedObject.h:
              * loader/CachedScript.cpp:
              (WebCore::CachedScript::checkNotify):
              (WebCore::CachedScript::error):
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              (WebCore::CachedXBLDocument::error):
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              (WebCore::CachedXSLStyleSheet::error):
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::DocLoader):
              (WebCore::DocLoader::~DocLoader):
              (WebCore::DocLoader::needReload):
              (WebCore::DocLoader::requestImage):
              (WebCore::DocLoader::requestStyleSheet):
              (WebCore::DocLoader::requestScript):
              (WebCore::DocLoader::requestXSLStyleSheet):
              (WebCore::DocLoader::requestXBLDocument):
              (WebCore::DocLoader::setAutoloadImages):
              (WebCore::DocLoader::setShowAnimations):
              (WebCore::DocLoader::removeCachedObject):
              * loader/loader.cpp:
              (WebCore::Loader::receivedAllData):
              (WebCore::Loader::receivedResponse):
              * page/Frame.cpp:
              (WebCore::UserStyleSheetLoader::setStyleSheet):
              (WebCore::Frame::didOpenURL):
              (WebCore::Frame::setMetaRefreshEnabled):
              (WebCore::Frame::setAutoloadImages):
              (WebCore::Frame::autoloadImages):
              (WebCore::Frame::clear):
              (WebCore::Frame::receivedFirstData):
              (WebCore::Frame::begin):
              (WebCore::Frame::write):
              (WebCore::Frame::baseTarget):
              (WebCore::Frame::completeURL):
              (WebCore::Frame::scheduleRedirection):
              (WebCore::Frame::scheduleLocationChange):
              (WebCore::Frame::scheduleHistoryNavigation):
              (WebCore::Frame::changeLocation):
              (WebCore::Frame::redirectionTimerFired):
              (WebCore::Frame::encoding):
              (WebCore::Frame::gotoAnchor):
              (WebCore::Frame::setStandardFont):
              (WebCore::Frame::setFixedFont):
              (WebCore::Frame::selectedText):
              (WebCore::Frame::selection):
              (WebCore::Frame::dragCaret):
              (WebCore::Frame::setSelection):
              (WebCore::Frame::setDragCaret):
              (WebCore::Frame::paintCaret):
              (WebCore::Frame::paintDragCaret):
              (WebCore::Frame::urlSelected):
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::requestObject):
              (WebCore::Frame::shouldUsePlugin):
              (WebCore::Frame::loadPlugin):
              (WebCore::Frame::loadSubframe):
              (WebCore::Frame::submitForm):
              (WebCore::Frame::lastModified):
              (WebCore::Frame::reparseConfiguration):
              (WebCore::Frame::shouldChangeSelection):
              (WebCore::Frame::appliedEditing):
              (WebCore::Frame::unappliedEditing):
              (WebCore::Frame::reappliedEditing):
              (WebCore::Frame::executeScript):
              (WebCore::updateState):
              (WebCore::Frame::isCharacterSmartReplaceExempt):
              (WebCore::Frame::openURL):
              (WebCore::Frame::didNotOpenURL):
              (WebCore::Frame::setEncoding):
              (WebCore::Frame::saveInterpreterBuiltins):
              (WebCore::Frame::restoreInterpreterBuiltins):
              (WebCore::Frame::mutableInstances):
              (WebCore::Frame::setPolicyBaseURL):
              (WebCore::Frame::addMetaData):
              (WebCore::Frame::scrollToAnchor):
              (WebCore::Frame::setMediaType):
              (WebCore::Frame::highlightAllMatchesForString):
              (WebCore::Frame::tree):
              * page/Frame.h:
              (WebCore::Frame::instances):
              * page/FramePrivate.h:
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate):
              (WebCore::FrameView::FrameView):
              (WebCore::FrameView::~FrameView):
              (WebCore::FrameView::init):
              (WebCore::FrameView::setMarginWidth):
              (WebCore::FrameView::setMarginHeight):
              (WebCore::FrameView::adjustViewSize):
              (WebCore::FrameView::layout):
              (WebCore::FrameView::dispatchDragEvent):
              (WebCore::FrameView::scrollTo):
              (WebCore::FrameView::setMediaType):
              (WebCore::FrameView::mediaType):
              (WebCore::FrameView::setResizingFrameSet):
              (WebCore::FrameView::setIgnoreWheelEvents):
              * page/FrameView.h:
              (WebCore::FrameView::frameWidth):
              (WebCore::FrameView::marginWidth):
              (WebCore::FrameView::marginHeight):
              (WebCore::FrameView::ref):
              (WebCore::FrameView::deref):
              * page/ResourceRequest.h:
              (WebCore::ResourceRequest::contentType):
              (WebCore::ResourceRequest::setContentType):
              * platform/FontFamily.h:
              * platform/Image.h:
              * platform/KURL.cpp:
              (KURL::KURL):
              (KURL::parse):
              (urlcmp):
              (KURL::encode_string):
              (encodeHostname):
              * platform/KURL.h:
              * platform/PlatformString.h:
              (WebCore::String::left):
              (WebCore::String::right):
              * platform/String.cpp:
              (WebCore::String::toInt):
              * platform/StringImpl.cpp:
              (WebCore::StringImpl::toInt):
              * platform/TransferJob.cpp:
              (WebCore::TransferJob::queryMetaData):
              (WebCore::TransferJob::addMetaData):
              * platform/TransferJob.h:
              * platform/mac/ImageMac.mm:
              (WebCore::Image::supportsType):
              * platform/mac/TransferJobMac.mm:
              (WebCore::TransferJob::start):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::information):
              * rendering/RenderTextField.cpp:
              (WebCore::RenderTextField::updateFromElement):
              * xml/xmlhttprequest.cpp:
              (WebCore::getMIMEType):
              (WebCore::getCharset):
              (WebCore::XMLHttpRequest::getReadyState):
              (WebCore::XMLHttpRequest::getResponseText):
              (WebCore::XMLHttpRequest::getResponseXML):
              (WebCore::XMLHttpRequest::XMLHttpRequest):
              (WebCore::XMLHttpRequest::~XMLHttpRequest):
              (WebCore::XMLHttpRequest::changeState):
              (WebCore::XMLHttpRequest::callReadyStateChangeListener):
              (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
              (WebCore::XMLHttpRequest::open):
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::abort):
              (WebCore::XMLHttpRequest::overrideMIMEType):
              (WebCore::XMLHttpRequest::setRequestHeader):
              (WebCore::XMLHttpRequest::getRequestHeader):
              (WebCore::XMLHttpRequest::getAllResponseHeaders):
              (WebCore::XMLHttpRequest::getResponseHeader):
              (WebCore::XMLHttpRequest::responseIsXML):
              (WebCore::XMLHttpRequest::getStatus):
              (WebCore::XMLHttpRequest::getStatusText):
              (WebCore::XMLHttpRequest::processSyncLoadResults):
              (WebCore::XMLHttpRequest::receivedAllData):
              (WebCore::XMLHttpRequest::receivedRedirect):
              (WebCore::XMLHttpRequest::receivedData):
              (WebCore::XMLHttpRequest::cancelRequests):
              (WebCore::XMLHttpRequest::detachRequests):
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27707962
    • bdakin's avatar
      Reviewed by Adele · e8a1258a
      bdakin authored
              I added a close comment tag to this layout test so that the layout 
              would not longer be affected by the unclosed <style> tag bug since 
              that is not the original aim of this test anyway.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8a1258a
    • ap's avatar
      Reviewed by Darin. · 1f71fdfa
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=3439
               mouseover effects can get stuck sometimes due to missing events
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7701
               mouseout sent to the wrong element when layout changes simultaneously
              
              Implemented saving the previous node under the mouse, so that we don't need to 
              recalculate it, which is slow and even not really possible. This has fixed a number 
              of issues with mouse event dispatching when the content changes.
              The code still needs refactoring and cleanup, see bug 3439 for comments.
      
              Tests (both files perform multiple checks):
              - fast/events/mouseover-mouseout.html
              - fast/events/mouseover-mouseout2.html
      
              * page/Frame.h: Added a Frame parameter to passSubframeEventToSubframe(),
              used for mouseMoved events.
              * bridge/mac/FrameMac.h: Ditto.
              * bridge/mac/FrameMac.mm: 
              (WebCore::FrameMac::passSubframeEventToSubframe): Use the passed subframe to target 
              NSMouseMoved events.
              * page/FrameView.h: Added a prepareMouseEvent() helper that does viewportToContents translation.
              * page/FrameView.cpp: Added data members for storing the previous node and subframe 
              under the mouse to FrameViewPrivate. Removed the now unused prevMouseX/prevMouseY.
              (WebCore::FrameViewPrivate::reset): Reset the new data members.
              (WebCore::subframeForEvent): A temporary place for the code that extracts a subframe
              pointer from MouseEventWithHitTestResults, moved from FrameMac::passSubframeEventToSubframe().
              (WebCore::FrameView::prepareMouseEvent): The new helper.
              (WebCore::FrameView::handleMousePressEvent): Use the new helper.
              (WebCore::FrameView::handleMouseDoubleClickEvent): Ditto.
              (WebCore::FrameView::handleMouseReleaseEvent): Ditto.
              (WebCore::FrameView::updateDragAndDrop): Ditto.
              (WebCore::FrameView::hoverTimerFired): Ditto.
              (WebCore::FrameView::dispatchMouseEvent): Store and use the oldUnder node, don't store 
              or use prevMouseX/Y.
              (WebCore::FrameView::handleMouseMoveEvent): Rewrote dispatching events to subframes using 
              a stored oldSubframe reference. Protect "this" from being removed while in this function.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f71fdfa
    • bdakin's avatar
      Reviewed by Adele · 2bff9a8b
      bdakin authored
              Updating pixel results for a few tables tests that have changed 
              with Hyatt's recent table work. Moving two of said tests into the 
              expected successes folder because they now completely pass. Yay!
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2bff9a8b
    • darin's avatar
      Reviewed by Anders. · bd62eba1
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7875
                autogenerate bindings for Range
      
              * dom/Range.idl: Added.
              * khtml/ecma/kjs_range.cpp: Removed.
              * khtml/ecma/kjs_range.h: Removed.
      
              * WebCore.vcproj/WebCore/build-generated-files.sh: Removed code to generate
              kjs_range.lut.h.
      
              * WebCore.xcodeproj/project.pbxproj: Added Range.idl source file.
              Removed kjs_range.h and kjs_range.cpp source files. Sorted the "dom" group.
              Removed rule to generate kjs_range.lut.h.
      
              * bindings/js/JSDOMCore.cpp: Added include of JSRange.cpp.
      
              * bindings/scripts/CodeGeneratorJS.pm: Added DocumentFragment, Range, CompareHow,
              and short to the types this script can handle. Added code to generate toRange
              functions and the like. Added separate code to handle exceptions for getters
              vs. setters for attributes. Changed return values for the "bad ID" case to 0
              -- there's no need to generate the extra code to return jsUndefined() in such
              cases, which should be unreachable. Changed exception handling to use setDOMException
              directly instead of DOMExceptionTranslator; DOMExceptionTranslator was a trick
              to make it easier to convert existing bindings and shouldn't be used going
              forward. Fixed names of constructors to use the JavaScript class name (the
              interface name), not the name of the C++ implementation class. Fixed generation
              of code for functions that have no parameters but do raise exceptions.
      
              * bindings/scripts/IDLParser.pm: Added parsing for separate getter and setter
              exceptions in attributes. The syntax is not real IDL, but real IDL doesn't support
              declaring exceptions on attributes at all. We'll probably want to revisit our
              syntax for this some day.
      
              * bindings/scripts/IDLStructure.pm: Removed unused exceptionName field from
              domAttribute, and replaced raisesExceptions field with getterExceptions and
              setterExceptions. Added regular expressions for parsing getter/setter syntax.
              We'll probably have to redo this whole thing parse in a better way at some
              point -- the regular expressions allow any invalid syntax in between them.
      
              * dom/Attr.idl: Change exception declaration for setting the value attribute
              to use setter-specific exception syntax.
              * dom/CharacterData.idl: Change exception declaration for setting the data
              attribute to use setter-specific exception syntax.
              * dom/ProcessingInstruction.idl: Change exception declaration for setting the
              data attribute to use setter-specific exception syntax.
      
              * khtml/ecma/kjs_dom.cpp: Include JSRange.h instead of kjs_range.h.
              * khtml/ecma/kjs_window.cpp: Include JSRange.h instead of kjs_range.h.
              (KJS::Window::getValueProperty): Use JSRange::getConstructor instead of
              getRangeConstructor.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd62eba1
    • eseidel's avatar
      2006-03-20 Eric Seidel <eseidel@apple.com> · 79d19e14
      eseidel authored
              Reviewed by hyatt.
      
              Fix win32 build.
      
              * Spinneret/Spinneret/Spinneret.vcproj:
              * Spinneret/Spinneret/WebFrame.h:
              * Spinneret/Spinneret/WebView.cpp:
              (WebKit::WebView::mouseMoved):
              (WebKit::WebView::mouseDown):
              (WebKit::WebView::mouseUp):
              (WebKit::WebView::mouseDoubleClick):
              (WebKit::WebView::keyPress):
              (WebKit::WebViewWndProc):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79d19e14
    • eseidel's avatar
      2006-03-20 Eric Seidel <eseidel@apple.com> · 4d9498fe
      eseidel authored
              Reviewed by hyatt.
      
              Fix win32 compile.
      
              * Viewer/ImageView.cpp:
              * platform/GraphicsContext.cpp:
              (WebCore::WebCore::GraphicsContext::createGraphicsContextPrivate):
              (WebCore::WebCore::GraphicsContext::destroyGraphicsContextPrivate):
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::fillRectSourceOver):
              (WebCore::GraphicsContext::drawLine):
              (WebCore::GraphicsContext::drawFocusRing):
              * platform/win/FontWin.cpp:
              (WebCore::Font::drawHighlightForText):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13398 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d9498fe
    • darin's avatar
      Rubber stamped by Eric. · 98fa8b83
      darin authored
              - moved khtml/html files all into html directory
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for new paths.
              * WebCore.vcproj/WebCore/build-generated-files.sh: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * khtml/html: Removed.
      
              * html/DocTypeStrings.gperf: Moved.
              * html/FormDataList.cpp: Ditto.
              * html/FormDataList.h: Ditto.
              * html/HTMLBaseFontElement.cpp: Ditto.
              * html/HTMLBaseFontElement.h: Ditto.
              * html/HTMLButtonElement.cpp: Ditto.
              * html/HTMLButtonElement.h: Ditto.
              * html/HTMLCanvasElement.cpp: Ditto.
              * html/HTMLCanvasElement.h: Ditto.
              * html/HTMLCollection.cpp: Ditto.
              * html/HTMLCollection.h: Ditto.
              * html/HTMLDocument.cpp: Ditto.
              * html/HTMLDocument.h: Ditto.
              * html/HTMLElement.cpp: Ditto.
              * html/HTMLElement.h: Ditto.
              * html/HTMLElementFactory.cpp: Ditto.
              * html/HTMLElementFactory.h: Ditto.
              * html/HTMLEntityNames.gperf: Ditto.
              * html/HTMLFieldSetElement.cpp: Ditto.
              * html/HTMLFieldSetElement.h: Ditto.
              * html/HTMLFormCollection.cpp: Ditto.
              * html/HTMLFormCollection.h: Ditto.
              * html/HTMLFormElement.cpp: Ditto.
              * html/HTMLFormElement.h: Ditto.
              * html/HTMLGenericFormElement.cpp: Ditto.
              * html/HTMLGenericFormElement.h: Ditto.
              * html/HTMLInputElement.cpp: Ditto.
              * html/HTMLInputElement.h: Ditto.
              * html/HTMLIsIndexElement.cpp: Ditto.
              * html/HTMLIsIndexElement.h: Ditto.
              * html/HTMLKeygenElement.cpp: Ditto.
              * html/HTMLKeygenElement.h: Ditto.
              * html/HTMLLabelElement.cpp: Ditto.
              * html/HTMLLabelElement.h: Ditto.
              * html/HTMLLegendElement.cpp: Ditto.
              * html/HTMLLegendElement.h: Ditto.
              * html/HTMLNameCollection.cpp: Ditto.
              * html/HTMLNameCollection.h: Ditto.
              * html/HTMLNames.cpp: Ditto.
              * html/HTMLNames.h: Ditto.
              * html/HTMLOptGroupElement.cpp: Ditto.
              * html/HTMLOptGroupElement.h: Ditto.
              * html/HTMLOptionElement.cpp: Ditto.
              * html/HTMLOptionElement.h: Ditto.
              * html/HTMLOptionsCollection.cpp: Ditto.
              * html/HTMLOptionsCollection.h: Ditto.
              * html/HTMLParser.cpp: Ditto.
              * html/HTMLParser.h: Ditto.
              * html/HTMLSelectElement.cpp: Ditto.
              * html/HTMLSelectElement.h: Ditto.
              * html/HTMLTextAreaElement.cpp: Ditto.
              * html/HTMLTextAreaElement.h: Ditto.
              * html/HTMLTextFieldInnerElement.cpp: Ditto.
              * html/HTMLTextFieldInnerElement.h: Ditto.
              * html/HTMLTokenizer.cpp: Ditto.
              * html/HTMLTokenizer.h: Ditto.
              * html/html_baseimpl.cpp: Ditto.
              * html/html_baseimpl.h: Ditto.
              * html/html_blockimpl.cpp: Ditto.
              * html/html_blockimpl.h: Ditto.
              * html/html_headimpl.cpp: Ditto.
              * html/html_headimpl.h: Ditto.
              * html/html_imageimpl.cpp: Ditto.
              * html/html_imageimpl.h: Ditto.
              * html/html_inlineimpl.cpp: Ditto.
              * html/html_inlineimpl.h: Ditto.
              * html/html_listimpl.cpp: Ditto.
              * html/html_listimpl.h: Ditto.
              * html/html_objectimpl.cpp: Ditto.
              * html/html_objectimpl.h: Ditto.
              * html/html_tableimpl.cpp: Ditto.
              * html/html_tableimpl.h: Ditto.
      
              * bindings/objc/DOM.mm:
              * bridge/mac/WebCoreEncodings.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/CSSGrammar.y:
              * css/cssstyleselector.cpp:
              * dom/Document.cpp:
              * dom/EventTargetNode.cpp:
              * dom/NameNodeList.cpp:
              * dom/Node.cpp:
              * dom/Position.cpp:
              * dom/dom_elementimpl.cpp:
              * dom/xml_tokenizer.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/CompositeEditCommand.cpp:
              * editing/DeleteSelectionCommand.cpp:
              * editing/InsertLineBreakCommand.cpp:
              * editing/InsertParagraphSeparatorCommand.cpp:
              * editing/JSEditor.cpp:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/TextIterator.cpp:
              * editing/VisiblePosition.cpp:
              * editing/htmlediting.cpp:
              * editing/markup.cpp:
              * editing/visible_units.cpp:
              * html/CanvasRenderingContext2D.cpp:
              * kcanvas/KCanvasTreeDebug.cpp:
              * khtml/ecma/JSDOMParser.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/misc/decoder.cpp:
              * khtml/xsl/XSLStyleSheet.cpp:
              * khtml/xsl/XSLTProcessor.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.cpp:
              * kwq/WebCoreAXObject.mm:
              * page/Frame.cpp:
              * page/FrameView.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderHTMLCanvas.cpp:
              * rendering/RenderImage.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderObject.cpp:
              * rendering/RenderTable.cpp:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTextField.cpp:
              * rendering/RenderTheme.cpp:
              * rendering/render_applet.cpp:
              * rendering/render_button.cpp:
              * rendering/render_frames.cpp:
              * rendering/render_list.cpp:
              Updated includes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13397 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98fa8b83
    • eseidel's avatar
      2006-03-17 Eric Seidel <eseidel@apple.com> · 8b17b671
      eseidel authored
              Reviewed by darin.
      
              Move Form code from MacFrame to Frame.
              Move GraphicsContext code from GraphicsContextMac to GraphicsContext.
              Use IntRect, FloatRect in more places throughout the code.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7824
      
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::MacFrame):
              (WebCore::MacFrame::searchForLabelsAboveCell):
              (WebCore::MacFrame::searchForLabelsBeforeElement):
              (WebCore::dictionaryFromHashMap):
              (WebCore::MacFrame::submitForm):
              (WebCore::MacFrame::setView):
              (WebCore::MacFrame::currentEventIsMouseDownInWidget):
              (WebCore::MacFrame::currentEventIsKeyboardOptionTab):
              (WebCore::MacFrame::handleKeyboardOptionTabInView):
              (WebCore::MacFrame::tabsToAllControls):
              (WebCore::MacFrame::shouldDragAutoNode):
              (WebCore::MacFrame::selectionImage):
              (WebCore::MacFrame::snapshotDragImage):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge nextKeyView]):
              (-[WebCoreFrameBridge previousKeyView]):
              (-[WebCoreFrameBridge nextKeyViewInsideWebFrameViews]):
              (-[WebCoreFrameBridge previousKeyViewInsideWebFrameViews]):
              * kcanvas/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::clearRecordedFormValues):
              (WebCore::Frame::recordFormValue):
              (WebCore::Frame::didNotOpenURL):
              (WebCore::scanForForm):
              (WebCore::Frame::paint):
              (WebCore::Frame::prepareForUserAction):
              * page/Frame.h:
              * platform/GraphicsContext.cpp:
              (WebCore::GraphicsContextState::GraphicsContextState):
              (WebCore::GraphicsContextPrivate::GraphicsContextPrivate):
              (WebCore::GraphicsContextPrivate::~GraphicsContextPrivate):
              (WebCore::GraphicsContext::save):
              (WebCore::GraphicsContext::restore):
              (WebCore::GraphicsContext::font):
              (WebCore::GraphicsContext::setFont):
              (WebCore::GraphicsContext::pen):
              (WebCore::GraphicsContext::setPen):
              (WebCore::GraphicsContext::setBrush):
              (WebCore::GraphicsContext::brush):
              (WebCore::GraphicsContext::setUsesInactiveTextBackgroundColor):
              (WebCore::GraphicsContext::usesInactiveTextBackgroundColor):
              (WebCore::GraphicsContext::updatingControlTints):
              (WebCore::GraphicsContext::setUpdatingControlTints):
              (WebCore::GraphicsContext::setPaintingDisabled):
              (WebCore::GraphicsContext::paintingDisabled):
              (WebCore::GraphicsContext::printing):
              (WebCore::GraphicsContext::drawImageAtPoint):
              (WebCore::GraphicsContext::drawImageInRect):
              (WebCore::GraphicsContext::drawImage):
              (WebCore::GraphicsContext::initFocusRing):
              (WebCore::GraphicsContext::clearFocusRing):
              (WebCore::GraphicsContext::addFocusRingRect):
              (WebCore::GraphicsContext::focusRingWidth):
              (WebCore::GraphicsContext::focusRingOffset):
              (WebCore::GraphicsContext::focusRingRects):
              * platform/GraphicsContext.h:
              * platform/mac/GraphicsContextMac.mm:
              (WebCore::fillRectSourceOver):
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::~GraphicsContext):
              (WebCore::GraphicsContext::savePlatformState):
              (WebCore::GraphicsContext::restorePlatformState):
              (WebCore::GraphicsContext::drawRect):
              (WebCore::GraphicsContext::setColorFromBrush):
              (WebCore::GraphicsContext::setColorFromPen):
              (WebCore::GraphicsContext::drawLine):
              (WebCore::GraphicsContext::drawEllipse):
              (WebCore::GraphicsContext::drawArc):
              (WebCore::GraphicsContext::drawConvexPolygon):
              (WebCore::GraphicsContext::drawFloatImage):
              (WebCore::GraphicsContext::drawTiledImage):
              (WebCore::GraphicsContext::drawScaledAndTiledImage):
              (WebCore::GraphicsContext::selectedTextBackgroundColor):
              (WebCore::GraphicsContext::fillRect):
              (WebCore::GraphicsContext::addClip):
              (WebCore::GraphicsContext::addRoundedRectClip):
              (WebCore::GraphicsContext::beginTransparencyLayer):
              (WebCore::GraphicsContext::endTransparencyLayer):
              (WebCore::GraphicsContext::setShadow):
              (WebCore::GraphicsContext::clearShadow):
              (WebCore::GraphicsContext::drawFocusRing):
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintBackgroundExtended):
              (WebCore::RenderBox::outlineBox):
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::userResize):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::paint):
              * rendering/render_list.cpp:
              (WebCore::RenderListMarker::paint):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::drawBorder):
              (WebCore::RenderObject::paintBorderImage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b17b671
    • darin's avatar
      Reviewed by Eric. · f5cefdde
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7854
                CanvasGradient leaks
      
              * html/CanvasGradient.cpp: (WebCore::CanvasGradient::platformShading):
              Don't make the CG shading object keep a reference to the DOM gradient object.
              I got confused because in the case of a CanvasPattern, the pattern does need
              to keep a reference to the DOM pattern object, but the object lifetime is
              handled differently here. The CG shading object is used right away, not set
              in a graphics context.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5cefdde
    • darin's avatar
      Reviewed by Eric. · 9bb668e9
      darin authored
              - attempt to fix the buildbot by handling DOMImplementation another way
      
              * WebCore.xcodeproj/project.pbxproj: Added DOMImplementationFront.h/cpp.
      
              * bindings/objc/DOMImplementationFront.cpp: Added.
              * bindings/objc/DOMImplementationFront.h: Added.
      
              * bindings/objc/DOMInternal.h: Use DOMImplementationFront, not DOMImplementation.
              * bindings/objc/DOM.mm:
              (-[DOMImplementation dealloc]): Ditto.
              (-[DOMImplementation finalize]): Ditto.
              (-[DOMImplementation _initWithDOMImplementation:]): Ditto.
              (+[DOMImplementation _DOMImplementationWith:]): Ditto.
              (-[DOMImplementation _DOMImplementation]): Ditto.
              (-[DOMDocument implementation]): Call implementationFront from the
              DOMImplementationFront header instead of using the real implementation
              function on the Document.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bb668e9
  2. 19 Mar, 2006 6 commits
  3. 18 Mar, 2006 16 commits
    • darin's avatar
      One more time. · 018ae5c6
      darin authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13387 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      018ae5c6
    • darin's avatar
      A couple more fixes for things found during dry runs. · 03d3d756
      darin authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03d3d756
    • darin's avatar
      Did another dry run of the renaming and had to fix a couple of things. · 8377821a
      darin authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8377821a
    • darin's avatar
      LayoutTests: · f46c05f3
      darin authored
              Reviewed by Darin.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7830
                <canvas> createPattern 'repeat' options fail
      
              * fast/canvas/patternfill-repeat-expected.checksum: Added.
              * fast/canvas/patternfill-repeat-expected.png: Added.
              * fast/canvas/patternfill-repeat-expected.txt: Added.
              * fast/canvas/patternfill-repeat.html: Added.
      
      WebCore:
      
              Test: fast/canvas/patternfill-repeat.html
      
              Reviewed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7830
                <canvas> createPattern 'repeat' options fail
      
              * CanvasPattern.cpp (CanvasPattern::createPattern)
              Change stepping so that repeat-x, repeat-y, and no-repeat repeat 
              outside the view area by using large values for repeat interval.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f46c05f3
    • darin's avatar
      LayoutTests: · bbf2fa2b
      darin authored
              Reviewed by Darin.
      
              - Test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7761
                Tabs in class attribute not treated as whitespace
      
              * fast/dom/Element/class-attribute-whitespace-expected.checksum: Added.
              * fast/dom/Element/class-attribute-whitespace-expected.png: Added.
              * fast/dom/Element/class-attribute-whitespace-expected.txt: Added.
              * fast/dom/Element/class-attribute-whitespace.html: Added.
              NOTE: This test will get broken if "eol-style" processing is done on it.
      
      WebCore:
      
              Test: fast/dom/Element/class-attribute-whitespace.html
      
              Reviewed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7761
                Tabs in class attribute not treated as whitespace
      
              * dom/dom_elementimpl.cpp:
              (WebCore::isClassWhitespace): Helper function to check if a character
              in the class attribute should be treated as whitespace. Added \r and \t.
              (WebCore::NamedMappedAttrMapImpl::parseClassAttribute): Instead of creating
              a QStringList and iterating it, do everything in one pass over the string.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbf2fa2b
    • darin's avatar
      LayoutTests: · 47b9e2c5
      darin authored
              Reviewed by Hyatt.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6795
                Slow image load causes render problem
      
              * fast/block/float/vertical-move-relayout-expected.checksum: Added.
              * fast/block/float/vertical-move-relayout-expected.png: Added.
              * fast/block/float/vertical-move-relayout-expected.txt: Added.
              * fast/block/float/vertical-move-relayout.html: Added.
      
      WebCore:
      
              Test: fast/block/float/vertical-move-relayout.html
      
              Reviewed by Hyatt.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6795
                Slow image load causes render problem
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::layoutBlockChildren): Call markAllDescendantsWithFloatsForLayout
              when the child's vertical position changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47b9e2c5
    • darin's avatar
      LayoutTests: · bf066274
      darin authored
              Reviewed by Darin.
      
              - Tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=6314
              Unclosed <style> element in <head> makes page completely blank
      
              * fast/js/exception-linenums-in-html-3-expected.txt: Added.
              * fast/js/exception-linenums-in-html-3.html: Added.
      
              Identical to fast/js/exception-linenums-in-html-1.html except that it contains
              an unclosed <style> tag, which causes the code path for Bug 6314 to be tested.
      
              * fast/js/missing-style-end-tag-js-expected.txt: Added.
              * fast/js/missing-style-end-tag-js.html: Added.
      
              While developing a fix for Bug 6314, a state variable (scriptCodeSize) was not
              reset in the tokenizer causing the next <script></script> tags to contain the
              entire contents of the document after the open <title> tag.  This test case
              tests for that condition.
      
              * fast/tokenizer/missing-style-end-tag-1-expected.checksum: Added.
              * fast/tokenizer/missing-style-end-tag-1-expected.png: Added.
              * fast/tokenizer/missing-style-end-tag-1-expected.txt: Added.
              * fast/tokenizer/missing-style-end-tag-1.html: Added.
              * fast/tokenizer/missing-style-end-tag-2-expected.checksum: Added.
              * fast/tokenizer/missing-style-end-tag-2-expected.png: Added.
              * fast/tokenizer/missing-style-end-tag-2-expected.txt: Added.
              * fast/tokenizer/missing-style-end-tag-2.html: Added.
      
              The first test case contains an unclosed <style> tag in <head>, while the
              second test case contains an unclosed <style> tag in <body>.  These two test
              cases result in different code paths being taken.
      
      WebCore:
      
              Reviewed by Darin.
      
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6314
              Unclosed <style> element in <head> makes page completely blank
      
              Test: fast/js/exception-linenums-in-html-3.html
              Test: fast/js/missing-style-end-tag-js.html
              Test: fast/tokenizer/missing-style-end-tag-1.html
              Test: fast/tokenizer/missing-style-end-tag-2.html
      
              * khtml/html/htmlparser.cpp:
              (WebCore::HTMLParser::handleError): Add check for missing </style> tag and handle
              this condition if identified.
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::parseTag): If parseSpecial() consumes the rest of the
              document looking for a </style> tag, reset the state of the tokenizer and
              retokenize with no special handling for <style>.  The parser will handle the
              missing </style> tag in HTMLParser::handleError().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf066274
    • darin's avatar
      Reviewed by Darin. · 3353029e
      darin authored
              Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5351:
              SVG: Safari ignores <title> elements
      
              Make SVGTitleElementImpl act the same as HTMLTitleElementImpl,
              in the process setting the title on the right triggers.
      
              * ksvg2/svg/SVGTitleElementImpl.cpp:
              (SVGTitleElementImpl::SVGTitleElementImpl):
              (SVGTitleElementImpl::title):
              (SVGTitleElementImpl::closeRenderer):
              (SVGTitleElementImpl::insertedIntoDocument):
              (SVGTitleElementImpl::removedFromDocument):
              (SVGTitleElementImpl::childrenChanged):
              * ksvg2/svg/SVGTitleElementImpl.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3353029e
    • darin's avatar
      Reviewed by Darin. · 5a082425
      darin authored
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3438
      
              * fast/replaced/img-1x1-expected.checksum: Added.
              * fast/replaced/img-1x1-expected.txt: Added.
              * fast/replaced/img-1x1.html: Added.
              * fast/replaced/img-1x1-expected.png: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a082425
    • darin's avatar
      - updated test results for tests affected by Hyatt's latest table fix · 6cc92840
      darin authored
              * tables/mozilla/bugs/bug44505-expected.txt:
              * tables/mozilla_expected_failures/bugs/bug106966-expected.checksum:
              * tables/mozilla_expected_failures/bugs/bug106966-expected.png:
              * tables/mozilla_expected_failures/bugs/bug106966-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cc92840
    • darin's avatar
      - another try at fixing Windows build · 2d5412a8
      darin authored
              * WebCore.vcproj/WebCore/WebCore.vcproj: Added EventTargetNodeImpl.h and .cpp.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d5412a8
    • darin's avatar
      - another try at fixing Windows build · 065560d9
      darin authored
              * bridge/win/FrameWin.cpp: (WebCore::FrameWin::keyPress): Added EventTargetNodeCast.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      065560d9
    • darin's avatar
      - try to fix Windows build · 95c6fcc4
      darin authored
              * bridge/win/FrameWin.h: Remove KURL parameter.
              * bridge/win/FrameWin.cpp: (WebCore::FrameWin::urlSelected): Ditto.
              * platform/win/TemporaryLinkStubs.cpp: (BrowserExtensionWin::canRunModal): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95c6fcc4
    • darin's avatar
      Reviewed by Darin. · b98c6454
      darin authored
              - fix leaks caused by the fix for Bugzilla bug 3560
      
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::destroyLeftoverChildren): Text renderers with
              first-letter pseudo style are children of an existing first-letter inline
              that has been updated, and should be destroyed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b98c6454
    • darin's avatar
      A couple more renaming refinements. · 7905478e
      darin authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7905478e
    • hyatt's avatar
      Fix for bug 7841, tables, table rows, and table row groups should · 80f45ebd
      hyatt authored
              all support overflow:hidden.
      
              Reviewed by eric
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::adjustRenderStyle):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::layout):
              (WebCore::RenderTable::paint):
              (WebCore::RenderTable::getOverflowClipRect):
              * rendering/RenderTable.h:
              * rendering/RenderTableCol.h:
              (WebCore::RenderTableCol::requiresLayer):
              * rendering/RenderTableRow.h:
              (WebCore::RenderTableRow::requiresLayer):
              * rendering/render_box.cpp:
              (WebCore::RenderBox::setStyle):
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::paintLayer):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80f45ebd
  4. 17 Mar, 2006 6 commits
    • aliceli1's avatar
      Reviewed by Hyatt. · aa2a71be
      aliceli1 authored
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6999
                "Dynamically added link-tag disables the use of change styles 
                 dynamically"
      
              * khtml/html/html_headimpl.cpp:
              (WebCore::HTMLLinkElementImpl::process):
              - dynamically added link-tags for stylesheets were messing up the
                counting of pending stylesheets.  If a head link element 
                specifies a new stylesheet but the previously specified 
                stylesheet is still loading, tell the document that stylesheets 
                are loaded so that there are no remaining requests for it to be 
                loaded.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa2a71be
    • aliceli1's avatar
      Reviewed by Justin. · 4e4e81aa
      aliceli1 authored
              * fast/dom/HTMLHeadElement/head-link-style-href-check-expected.checksum: Added.
              * fast/dom/HTMLHeadElement/head-link-style-href-check-expected.png: Added.
              * fast/dom/HTMLHeadElement/head-link-style-href-check-expected.txt: Added.
              * fast/dom/HTMLHeadElement/head-link-style-href-check.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e4e81aa
    • ggaren's avatar
      LayoutTests: · 42e58c6d
      ggaren authored
              Reviewed by Darin.
      
              * fast/dom/prototype-chain-expected.txt: Updated to reflect new
              prototype chain.
      
      WebCore:
      
              Reviewed by Darin.
      
              - Fixed some crashes in event dispatch and settled the question of 
              when getDocument() can return NULL, removing superfluous NULL checks.
      
              I promise to check in a test case soon, but I need to land this before
              the global rename happens, and I left the test file on my other machine.
      
              Here's what I did:
      
              (1) Removed NULL checks for getDocument() in cases where we know it
              should not return NULL (which turned out to be all but one). Replaced 
              with ASSERT inside getDocument(). Tested to ensure there was no 
              regression @ albertsons.com.
      
              (2) Added the EventTargetNode class, which represents Nodes that
              implement the DOM EventTarget interface. Discussed this design with
              Maciej and Hyatt. The previous dsign -- assuming that all Nodes were 
              EventTargets -- made it possible to crash WebKit by, for example, 
              dispatching a mouse event to a documentType node that was not 
              associated with a document.
      
              (3) Reflected (2) into the JS bindings and touched JSDOMCore.cpp to 
              force a re-build.
      
              (4) Using classInfo checking, strengthened type constraints on 
              JavaScript method dispatch so that you can't finagle JavaScript into, 
              for example, invoking a document-dependent method belonging to a
              node type that's guaranteed to have a document on a node type that may
              not have one. 
      
              (5) Pushed some IE-specific JS bindings that depend on a node having a 
              document down from DOMNode to DOMElement. (An element always has a 
              document.) Tested that Firefox's behavior matched. Confirmed with MSDN.
      
              (6) Updated Objc bindigns to throw an exception if you try to use
              the event interface on a node that doesn't support it. Discussed this
              design with Maciej and TimH.
      
              (7) Consolidated repeated documentElement-finding code in the Position 
              class into the Position::documentElement() method. Did the same for
              repeated top-level document finding and DocumentImpl::topDocument().
              
              * WebCore+SVG/KDOMHeaders.h:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSDOMCore.cpp:
              * bindings/objc/DOM.mm:
              (-[DOMNode addEventListener:::]):
              (-[DOMNode removeEventListener:::]):
              (-[DOMNode dispatchEvent:]):
              (-[DOMNode KJS::Bindings::]):
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::keyEvent):
              (WebCore::MacFrame::dispatchCPPEvent):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge setSelectedDOMRange:affinity:closeTyping:]):
              (-[WebCoreFrameBridge smartDeleteRangeForProposedRange:]):
              * css/css_base.cpp:
              (WebCore::StyleBaseImpl::baseURL):
              * css/css_computedstyle.cpp:
              (WebCore::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
              * css/css_valueimpl.cpp:
              (WebCore::CSSMutableStyleDeclarationImpl::removeProperty):
              (WebCore::CSSMutableStyleDeclarationImpl::setProperty):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * dom/Attr.idl:
              * dom/CharacterData.idl:
              * dom/CharacterDataImpl.cpp:
              (WebCore::CharacterDataImpl::CharacterDataImpl):
              (WebCore::CharacterDataImpl::rendererIsNeeded):
              (WebCore::CharacterDataImpl::dump):
              * dom/CharacterDataImpl.h:
              * dom/ContainerNodeImpl.cpp:
              (WebCore::ContainerNodeImpl::ContainerNodeImpl):
              (WebCore::ContainerNodeImpl::removeChild):
              (WebCore::ContainerNodeImpl::attach):
              (WebCore::ContainerNodeImpl::detach):
              (WebCore::ContainerNodeImpl::insertedIntoDocument):
              (WebCore::ContainerNodeImpl::removedFromDocument):
              (WebCore::ContainerNodeImpl::insertedIntoTree):
              (WebCore::ContainerNodeImpl::removedFromTree):
              (WebCore::ContainerNodeImpl::setFocus):
              (WebCore::ContainerNodeImpl::setActive):
              (WebCore::ContainerNodeImpl::setHovered):
              (WebCore::dispatchChildInsertionEvents):
              (WebCore::dispatchChildRemovalEvents):
              * dom/ContainerNodeImpl.h:
              * dom/DOMImplementationImpl.cpp:
              (WebCore::DOMImplementationImpl::createDocument):
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::removeAllEventListenersFromAllNodes):
              (WebCore::DocumentImpl::removeAllDisconnectedNodeEventListeners):
              (WebCore::DocumentImpl::getAccObjectCache):
              (WebCore::DocumentImpl::setFocusNode):
              (WebCore::DocumentImpl::topDocument):
              * dom/Element.idl:
              * dom/EventTargetNodeImpl.cpp: Added.
              (WebCore::EventTargetNodeImpl::EventTargetNodeImpl):
              (WebCore::EventTargetNodeImpl::~EventTargetNodeImpl):
              (WebCore::EventTargetNodeImpl::insertedIntoDocument):
              (WebCore::EventTargetNodeImpl::removedFromDocument):
              (WebCore::EventTargetNodeImpl::addEventListener):
              (WebCore::EventTargetNodeImpl::removeEventListener):
              (WebCore::EventTargetNodeImpl::removeAllEventListeners):
              (WebCore::EventTargetNodeImpl::handleLocalEvents):
              (WebCore::EventTargetNodeImpl::dispatchGenericEvent):
              (WebCore::EventTargetNodeImpl::dispatchEvent):
              (WebCore::EventTargetNodeImpl::dispatchSubtreeModifiedEvent):
              (WebCore::EventTargetNodeImpl::dispatchWindowEvent):
              (WebCore::EventTargetNodeImpl::dispatchUIEvent):
              (WebCore::EventTargetNodeImpl::dispatchKeyEvent):
              (WebCore::EventTargetNodeImpl::dispatchMouseEvent):
              (WebCore::EventTargetNodeImpl::dispatchSimulatedMouseEvent):
              (WebCore::EventTargetNodeImpl::dispatchWheelEvent):
              (WebCore::EventTargetNodeImpl::dispatchHTMLEvent):
              (WebCore::EventTargetNodeImpl::removeHTMLEventListener):
              (WebCore::EventTargetNodeImpl::setHTMLEventListener):
              (WebCore::EventTargetNodeImpl::getHTMLEventListener):
              (WebCore::EventTargetNodeImpl::disabled):
              (WebCore::EventTargetNodeImpl::defaultEventHandler):
              (WebCore::EventTargetNodeImpl::dump):
              * dom/EventTargetNodeImpl.h: Added.
              (WebCore::EventTargetNodeImpl::isEventTargetNode):
              (WebCore::EventTargetNodeImpl::preDispatchEventHandler):
              (WebCore::EventTargetNodeImpl::postDispatchEventHandler):
              (WebCore::EventTarget):
              (WebCore::forbidEventDispatch):
              (WebCore::allowEventDispatch):
              (WebCore::eventDispatchForbidden):
              * dom/NodeImpl.cpp:
              (WebCore::NodeImpl::NodeImpl):
              (WebCore::NodeImpl::~NodeImpl):
              (WebCore::NodeImpl::dump):
              (WebCore::NodeImpl::detach):
              (WebCore::NodeImpl::insertedIntoDocument):
              (WebCore::NodeImpl::removedFromDocument):
              * dom/NodeImpl.h:
              (WebCore::NodeImpl::isEventTargetNode):
              (WebCore::NodeImpl::isLink):
              (WebCore::NodeImpl::getDocument):
              (WebCore::NodeImpl::inDocument):
              * dom/dom2_eventsimpl.cpp:
              (WebCore::MouseRelatedEventImpl::receivedTarget):
              * dom/dom2_rangeimpl.cpp:
              (WebCore::RangeImpl::commonAncestorContainer):
              * dom/dom_elementimpl.cpp:
              (WebCore::inHTMLDocument):
              (WebCore::ElementImpl::focus):
              (WebCore::ElementImpl::blur):
              (WebCore::StyledElementImpl::parseMappedAttribute):
              * dom/dom_position.cpp:
              (WebCore::Position::documentElement):
              * dom/dom_position.h:
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::computeAndStoreNodeDesiredStyle):
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::needsCaretRepaint):
              * editing/visible_units.cpp:
              (WebCore::previousBoundary):
              (WebCore::nextBoundary):
              (WebCore::previousLinePosition):
              (WebCore::nextLinePosition):
              (WebCore::startOfDocument):
              (WebCore::endOfDocument):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::mark):
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValueProperty):
              (KJS::DOMNodeProtoFunc::callAsFunction):
              (KJS::DOMEventTargetNode::DOMEventTargetNode):
              (KJS::DOMEventTargetNode::getOwnPropertySlot):
              (KJS::DOMEventTargetNode::getValueProperty):
              (KJS::DOMEventTargetNode::put):
              (KJS::DOMEventTargetNode::putValueProperty):
              (KJS::DOMEventTargetNode::setListener):
              (KJS::DOMEventTargetNode::getListener):
              (KJS::DOMEventTargetNode::pushEventHandlerScope):
              (KJS::DOMEventTargetNodeProtoFunc::callAsFunction):
              (KJS::):
              (KJS::DOMDocument::DOMDocument):
              (KJS::DOMDocument::getOwnPropertySlot):
              (KJS::DOMDocument::put):
              (KJS::DOMDocument::putValueProperty):
              (KJS::DOMDocumentProtoFunc::callAsFunction):
              (KJS::DOMElement::DOMElement):
              (KJS::DOMElement::getValueProperty):
              (KJS::DOMElement::put):
              (KJS::DOMElement::putValueProperty):
              (KJS::DOMElement::getOwnPropertySlot):
              (KJS::DOMElementProtoFunc::callAsFunction):
              (KJS::checkNodeSecurity):
              * khtml/ecma/kjs_dom.h:
              (KJS::DOMNode::):
              (KJS::DOMEventTargetNode::):
              (KJS::DOMElement::):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSLazyEventListener::parseCode):
              (KJS::getNodeEventListener):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::bodyGetter):
              (KJS::HTMLElement::anchorGetter):
              (KJS::HTMLElement::getValueProperty):
              (KJS::HTMLElement::bodySetter):
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              * khtml/html/HTMLFormElementImpl.cpp:
              (WebCore::HTMLFormElementImpl::registerFormElement):
              (WebCore::HTMLFormElementImpl::removeFormElement):
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              (WebCore::HTMLGenericFormElementImpl::insertedIntoTree):
              * khtml/html/HTMLInputElementImpl.cpp:
              (WebCore::HTMLInputElementImpl::~HTMLInputElementImpl):
              (WebCore::HTMLInputElementImpl::focus):
              * khtml/html/HTMLOptionElementImpl.cpp:
              (WebCore::HTMLOptionElementImpl::text):
              * khtml/html/HTMLSelectElementImpl.cpp:
              (WebCore::HTMLSelectElementImpl::~HTMLSelectElementImpl):
              * khtml/html/HTMLTextAreaElementImpl.cpp:
              (WebCore::HTMLTextAreaElementImpl::~HTMLTextAreaElementImpl):
              * khtml/html/html_baseimpl.cpp:
              (WebCore::HTMLBodyElementImpl::insertedIntoDocument):
              (WebCore::HTMLFrameElementImpl::isURLAllowed):
              (WebCore::HTMLFrameElementImpl::openURL):
              (WebCore::HTMLFrameElementImpl::frameWidth):
              (WebCore::HTMLFrameElementImpl::frameHeight):
              * khtml/html/html_imageimpl.cpp:
              (WebCore::HTMLImageLoader::~HTMLImageLoader):
              (WebCore::HTMLImageLoader::updateFromElement):
              (WebCore::HTMLImageLoader::notifyFinished):
              (WebCore::HTMLImageElementImpl::width):
              (WebCore::HTMLImageElementImpl::height):
              (WebCore::HTMLMapElementImpl::~HTMLMapElementImpl):
              * khtml/html/html_inlineimpl.cpp:
              (WebCore::HTMLAnchorElementImpl::defaultEventHandler):
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::notifyFinished):
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              (SVGAnimateColorElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateElementImpl.cpp:
              (SVGAnimateElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
              (SVGAnimateTransformElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              (SVGAnimationElementImpl::closeRenderer):
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (WebCore::SVGDocumentImpl::dispatchRecursiveEvent):
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGImageElementImpl.cpp:
              * ksvg2/svg/SVGSetElementImpl.cpp:
              (SVGSetElementImpl::handleTimerEvent):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject mouseButtonListener]):
              (-[KWQAccObject accessibilityPerformAction:]):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView dispatchHTMLEvent:]):
              * page/Frame.cpp:
              (WebCore::dispatchKHTMLEditableContentChanged):
              * page/FrameView.cpp:
              (WebCore::FrameView::dispatchDragEvent):
              (WebCore::FrameView::dispatchMouseEvent):
              (WebCore::FrameView::viewportWheelEvent):
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::scrollToOffset):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::shouldSelect):
              (WebCore::RenderObject::backslashAsCurrencySymbol):
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::sendConsumedMouseUp):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42e58c6d
    • bdakin's avatar
      Reviewed by hyatt · 0589f07a
      bdakin authored
              This test should actually be in the failures folder. Moving.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0589f07a
    • hyatt's avatar
      Update the table opacity test case to reflect the now-correct results. · 96f44d2c
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96f44d2c
    • hyatt's avatar
      Fix for 7837, make opacity work with table rows. Make transparent backgrounds · e031dd02
      hyatt authored
              stack properly in cells (so that the layers behind can show through like they
              should).
      
              Reviewed by beth
      
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::requiresLayer):
              (WebCore::RenderTableCell::paintBackgroundsBehindCell):
              (WebCore::RenderTableCell::paintBoxDecorations):
              * rendering/RenderTableCell.h:
              * rendering/RenderTableRow.cpp:
              (WebCore::RenderTableRow::paint):
              * rendering/RenderTableRow.h:
              (WebCore::RenderTableRow::requiresLayer):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::paint):
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::updateLayerPosition):
              (WebCore::RenderLayer::isTransparent):
              (WebCore::RenderLayer::transparentAncestor):
              (WebCore::RenderLayer::beginTransparencyLayers):
              (WebCore::RenderLayer::paintLayer):
              (WebCore::RenderLayer::absoluteBoundingBox):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::requiresLayer):
              * rendering/render_object.h:
              (WebCore::RenderObject::isTransparent):
              (WebCore::RenderObject::opacity):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e031dd02