1. 18 Sep, 2005 1 commit
    • eseidel's avatar
      Bug #: 5045 · 36eaa5b1
      eseidel authored
      Submitted by: eseidel
      Reviewed by: none needed, svg build fix only.
              * WebCore+SVG/DrawDocument.mm:
              (-[DrawView primaryView]): cast to DrawView * (newer gcc fix)
              * kdom/cache/KDOMLoader.cpp:
              (Loader::slotFinished): toLong -> toInt
              * ksvg2/svg/SVGAngleImpl.cpp:
              (SVGAngleImpl::setValueAsString): toFloat -> toDouble
              * ksvg2/svg/SVGComponentTransferFunctionElementImpl.cpp:
              (SVGComponentTransferFunctionElementImpl::parseAttribute): ditto
              * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp:
              (SVGFEGaussianBlurElementImpl::parseAttribute): ditto
              * ksvg2/svg/SVGFEOffsetElementImpl.cpp:
              (SVGFEOffsetElementImpl::parseAttribute): ditto
              * ksvg2/svg/SVGFETurbulenceElementImpl.cpp:
              (SVGFETurbulenceElementImpl::parseAttribute): ditto
              * ksvg2/svg/SVGFitToViewBoxImpl.cpp:
              (SVGFitToViewBoxImpl::parseViewBox): ditto
              * ksvg2/svg/SVGNumberListImpl.cpp:
              (SVGNumberListImpl::parse): ditto
              * ksvg2/svg/SVGStopElementImpl.cpp:
              (SVGStopElementImpl::parseAttribute): ditto
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36eaa5b1
  2. 16 Sep, 2005 4 commits
    • adele's avatar
      WebCore: · c8f4d22d
      adele authored
              Rolling out the fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=4924
                  QPainter should use CGContext as much as possible rather than NSGraphicsContext
              since it caused a performance regression.
      
      WebKit:
      
              Rolling out the fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=4924
                  QPainter should use CGContext as much as possible rather than NSGraphicsContext
              since it caused a performance regression.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8f4d22d
    • adele's avatar
      JavaScriptCore: · 704e8bb4
      adele authored
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              * bindings/c/c_class.h:
              (KJS::Bindings::CClass::constructorAt):
              (KJS::Bindings::CClass::numConstructors):
              * bindings/c/c_runtime.h:
              (KJS::Bindings::CMethod::numParameters):
              * bindings/jni/jni_class.cpp:
              (JavaClass::JavaClass):
              * bindings/jni/jni_class.h:
              (KJS::Bindings::JavaClass::constructorAt):
              (KJS::Bindings::JavaClass::numConstructors):
              * bindings/jni/jni_instance.cpp:
              (JavaInstance::invokeMethod):
              * bindings/jni/jni_jsobject.cpp:
              (JSObject::convertJObjectToValue):
              (JSObject::listFromJArray):
              * bindings/jni/jni_runtime.cpp:
              (JavaMethod::JavaMethod):
              * bindings/jni/jni_runtime.h:
              (KJS::Bindings::JavaConstructor::_commonCopy):
              (KJS::Bindings::JavaConstructor::parameterAt):
              (KJS::Bindings::JavaConstructor::numParameters):
              (KJS::Bindings::JavaMethod::_commonCopy):
              (KJS::Bindings::JavaMethod::parameterAt):
              (KJS::Bindings::JavaMethod::numParameters):
              * bindings/npapi.h:
              * bindings/objc/WebScriptObject.mm:
              (listFromNSArray):
              * bindings/objc/objc_class.h:
              (KJS::Bindings::ObjcClass::constructorAt):
              (KJS::Bindings::ObjcClass::numConstructors):
              * bindings/objc/objc_instance.h:
              * bindings/objc/objc_runtime.h:
              * bindings/objc/objc_runtime.mm:
              (ObjcMethod::numParameters):
              * bindings/runtime.h:
              * kjs/identifier.h:
              * kjs/internal.h:
              * kjs/property_slot.h:
              (KJS::PropertySlot::setCustomIndex):
              (KJS::PropertySlot::index):
              (KJS::PropertySlot::):
              * kjs/regexp_object.cpp:
              (RegExpObjectImp::backrefGetter):
              (RegExpObjectImp::getOwnPropertySlot):
              * kjs/simple_number.h:
              (KJS::SimpleNumber::):
              (KJS::SimpleNumber::value):
              (KJS::SimpleNumber::fits):
              (KJS::SimpleNumber::integerFits):
              (KJS::SimpleNumber::make):
              * kjs/string_object.cpp:
              (substituteBackreferences):
              * kjs/ustring.cpp:
              (KJS::UString::from):
              (KJS::UString::toUInt32):
              (KJS::UString::find):
              (KJS::UString::rfind):
              * kjs/ustring.h:
              * kjs/value.cpp:
              (KJS::jsNumber):
              * kjs/value.h:
      
      WebCore:
      
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              Changed longs (which IDL files use as 32-bit) to ints
      
              * ForwardingHeaders/khtml_pagecache.h:
              * khtml/css/css_base.h:
              (DOM::StyleListImpl::length):
              (DOM::StyleListImpl::item):
              * khtml/css/css_computedstyle.cpp:
              (DOM::CSSComputedStyleDeclarationImpl::length):
              (DOM::CSSComputedStyleDeclarationImpl::item):
              * khtml/css/css_computedstyle.h:
              * khtml/css/css_ruleimpl.cpp:
              (CSSMediaRuleImpl::append):
              (CSSMediaRuleImpl::insertRule):
              (CSSMediaRuleImpl::cssText):
              (CSSRuleListImpl::CSSRuleListImpl):
              (CSSRuleListImpl::deleteRule):
              (CSSRuleListImpl::insertRule):
              * khtml/css/css_ruleimpl.h:
              (DOM::CSSRuleListImpl::length):
              (DOM::CSSRuleListImpl::item):
              (DOM::CSSMediaRuleImpl::deleteRule):
              * khtml/css/css_stylesheetimpl.cpp:
              (CSSStyleSheetImpl::insertRule):
              (CSSStyleSheetImpl::addRule):
              (CSSStyleSheetImpl::deleteRule):
              (StyleSheetListImpl::length):
              (StyleSheetListImpl::item):
              * khtml/css/css_stylesheetimpl.h:
              (DOM::MediaListImpl::length):
              (DOM::MediaListImpl::item):
              * khtml/css/css_valueimpl.cpp:
              (DOM::CSSMutableStyleDeclarationImpl::length):
              (DOM::CSSMutableStyleDeclarationImpl::item):
              * khtml/css/css_valueimpl.h:
              (DOM::CSSValueListImpl::length):
              (DOM::CSSValueListImpl::item):
              * khtml/dom/css_rule.h:
              * khtml/dom/css_stylesheet.h:
              * khtml/dom/css_value.h:
              * khtml/dom/dom2_events.cpp:
              (DOM::UIEvent::detail):
              (DOM::UIEvent::initUIEvent):
              (DOM::MouseEvent::screenX):
              (DOM::MouseEvent::screenY):
              (DOM::MouseEvent::clientX):
              (DOM::MouseEvent::clientY):
              (DOM::MouseEvent::initMouseEvent):
              (DOM::KeyboardEvent::keyLocation):
              (DOM::KeyboardEvent::initKeyboardEvent):
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_range.h:
              * khtml/dom/dom2_traversal.cpp:
              (DOM::NodeIterator::whatToShow):
              (DOM::TreeWalker::whatToShow):
              * khtml/dom/dom2_traversal.h:
              * khtml/dom/dom_node.h:
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSStyleDeclaration::getOwnPropertySlot):
              (KJS::DOMStyleSheetList::getOwnPropertySlot):
              (KJS::DOMMediaList::getOwnPropertySlot):
              (KJS::DOMCSSStyleSheetProtoFunc::callAsFunction):
              (KJS::DOMCSSRuleList::getOwnPropertySlot):
              (KJS::DOMCSSValueList::getOwnPropertySlot):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNodeList::getOwnPropertySlot):
              (KJS::DOMNodeList::callAsFunction):
              (KJS::DOMNamedNodeMap::getOwnPropertySlot):
              (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
              * khtml/ecma/kjs_events.cpp:
              (KJS::DOMEvent::getValueProperty):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::getOwnPropertySlot):
              (KJS::KJS::HTMLElement::put):
              (KJS::HTMLCollection::getOwnPropertySlot):
              (KJS::KJS::HTMLCollection::callAsFunction):
              (KJS::KJS::HTMLSelectCollection::put):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Plugins::getOwnPropertySlot):
              (KJS::MimeTypes::getOwnPropertySlot):
              (KJS::Plugin::getOwnPropertySlot):
              * khtml/editing/apply_style_command.cpp:
              (khtml::ApplyStyleCommand::splitTextAtStartIfNeeded):
              (khtml::ApplyStyleCommand::splitTextElementAtStartIfNeeded):
              (khtml::ApplyStyleCommand::mergeStartWithPreviousIfIdentical):
              * khtml/editing/break_blockquote_command.cpp:
              (khtml::BreakBlockquoteCommand::doApply):
              * khtml/editing/composite_edit_command.cpp:
              (khtml::CompositeEditCommand::insertNodeAt):
              (khtml::CompositeEditCommand::splitTextNode):
              (khtml::CompositeEditCommand::splitTextNodeContainingElement):
              (khtml::CompositeEditCommand::insertTextIntoNode):
              (khtml::CompositeEditCommand::deleteTextFromNode):
              (khtml::CompositeEditCommand::replaceTextInNode):
              (khtml::CompositeEditCommand::deleteInsignificantText):
              * khtml/editing/composite_edit_command.h:
              * khtml/editing/delete_from_text_node_command.cpp:
              (khtml::DeleteFromTextNodeCommand::DeleteFromTextNodeCommand):
              * khtml/editing/delete_from_text_node_command.h:
              (khtml::DeleteFromTextNodeCommand::offset):
              (khtml::DeleteFromTextNodeCommand::count):
              * khtml/editing/insert_into_text_node_command.cpp:
              (khtml::InsertIntoTextNodeCommand::InsertIntoTextNodeCommand):
              * khtml/editing/insert_into_text_node_command.h:
              (khtml::InsertIntoTextNodeCommand::offset):
              * khtml/editing/insert_paragraph_separator_command.cpp:
              (khtml::InsertParagraphSeparatorCommand::doApply):
              * khtml/editing/insert_text_command.cpp:
              (khtml::InsertTextCommand::input):
              (khtml::InsertTextCommand::insertSpace):
              * khtml/editing/insert_text_command.h:
              (khtml::InsertTextCommand::charactersAdded):
              * khtml/editing/join_text_nodes_command.h:
              * khtml/editing/markup.cpp:
              (khtml::startMarkup):
              (khtml::completeURLs):
              * khtml/editing/move_selection_command.cpp:
              (khtml::MoveSelectionCommand::doApply):
              * khtml/editing/rebalance_whitespace_command.cpp:
              (khtml::RebalanceWhitespaceCommand::doApply):
              * khtml/editing/rebalance_whitespace_command.h:
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplaceSelectionCommand::insertNodeAtAndUpdateNodesInserted):
              * khtml/editing/replace_selection_command.h:
              * khtml/editing/selection.cpp:
              (khtml::Selection::debugPosition):
              * khtml/editing/split_text_node_command.cpp:
              (khtml::SplitTextNodeCommand::SplitTextNodeCommand):
              * khtml/editing/split_text_node_command.h:
              (khtml::SplitTextNodeCommand::offset):
              * khtml/editing/split_text_node_containing_element.cpp:
              (khtml::SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand):
              * khtml/editing/split_text_node_containing_element_command.h:
              * khtml/editing/visible_position.cpp:
              (khtml::VisiblePosition::VisiblePosition):
              (khtml::VisiblePosition::deepEquivalent):
              (khtml::VisiblePosition::rangeCompliantEquivalent):
              (khtml::VisiblePosition::maxOffset):
              (khtml::VisiblePosition::character):
              (khtml::VisiblePosition::debugPosition):
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_range.h:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::length):
              (khtml::TextIterator::TextIterator):
              (khtml::TextIterator::handleTextNode):
              (khtml::TextIterator::handleTextBox):
              (khtml::TextIterator::emitCharacter):
              (khtml::TextIterator::range):
              (khtml::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
              (khtml::SimplifiedBackwardsTextIterator::handleReplacedElement):
              (khtml::SimplifiedBackwardsTextIterator::emitCharacter):
              (khtml::SimplifiedBackwardsTextIterator::emitNewlineForBROrText):
              (khtml::CharacterIterator::range):
              (khtml::CharacterIterator::advance):
              (khtml::CharacterIterator::string):
              (khtml::WordAwareIterator::length):
              (khtml::CircularSearchBuffer::append):
              (khtml::CircularSearchBuffer::neededCharacters):
              (khtml::CircularSearchBuffer::isMatch):
              (khtml::TextIterator::rangeLength):
              (khtml::TextIterator::rangeFromLocationAndLength):
              (khtml::plainText):
              (khtml::findPlainText):
              * khtml/editing/visible_text.h:
              (khtml::TextIterator::length):
              (khtml::SimplifiedBackwardsTextIterator::length):
              (khtml::CharacterIterator::length):
              (khtml::CharacterIterator::characterOffset):
              * khtml/editing/visible_units.cpp:
              (khtml::startOfLine):
              (khtml::endOfLine):
              (khtml::startOfParagraph):
              (khtml::endOfParagraph):
              * khtml/html/html_blockimpl.cpp:
              (HTMLPreElementImpl::width):
              (HTMLPreElementImpl::setWidth):
              * khtml/html/html_blockimpl.h:
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::length):
              (DOM::HTMLGenericFormElementImpl::tabIndex):
              (DOM::HTMLGenericFormElementImpl::setTabIndex):
              (DOM::HTMLInputElementImpl::selectionStart):
              (DOM::HTMLInputElementImpl::selectionEnd):
              (DOM::HTMLInputElementImpl::setSelectionStart):
              (DOM::HTMLInputElementImpl::setSelectionEnd):
              (DOM::HTMLInputElementImpl::setSelectionRange):
              (DOM::HTMLInputElementImpl::setMaxLength):
              (DOM::HTMLInputElementImpl::setSize):
              (DOM::HTMLSelectElementImpl::selectedIndex):
              (DOM::HTMLSelectElementImpl::setSelectedIndex):
              (DOM::HTMLSelectElementImpl::length):
              (DOM::HTMLSelectElementImpl::remove):
              (DOM::HTMLSelectElementImpl::setSize):
              (DOM::HTMLOptionElementImpl::index):
              (DOM::HTMLOptionElementImpl::setIndex):
              (DOM::HTMLTextAreaElementImpl::selectionStart):
              (DOM::HTMLTextAreaElementImpl::selectionEnd):
              (DOM::HTMLTextAreaElementImpl::setSelectionStart):
              (DOM::HTMLTextAreaElementImpl::setSelectionEnd):
              (DOM::HTMLTextAreaElementImpl::setSelectionRange):
              (DOM::HTMLTextAreaElementImpl::setCols):
              (DOM::HTMLTextAreaElementImpl::setRows):
              (DOM::HTMLOptionsCollectionImpl::length):
              (DOM::HTMLOptionsCollectionImpl::setLength):
              (DOM::HTMLOptionsCollectionImpl::item):
              * khtml/html/html_formimpl.h:
              (DOM::HTMLInputElementImpl::maxLength):
              (DOM::HTMLInputElementImpl::maxResults):
              (DOM::HTMLSelectElementImpl::minWidth):
              (DOM::HTMLSelectElementImpl::size):
              (DOM::HTMLTextAreaElementImpl::cols):
              (DOM::HTMLTextAreaElementImpl::rows):
              * khtml/html/html_imageimpl.cpp:
              (HTMLImageElementImpl::width):
              (HTMLImageElementImpl::height):
              (HTMLImageElementImpl::border):
              (HTMLImageElementImpl::setBorder):
              (HTMLImageElementImpl::setHeight):
              (HTMLImageElementImpl::hspace):
              (HTMLImageElementImpl::setHspace):
              (HTMLImageElementImpl::vspace):
              (HTMLImageElementImpl::setVspace):
              (HTMLImageElementImpl::setWidth):
              (HTMLImageElementImpl::x):
              (HTMLImageElementImpl::y):
              (HTMLAreaElementImpl::tabIndex):
              (HTMLAreaElementImpl::setTabIndex):
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::tabIndex):
              (DOM::HTMLAnchorElementImpl::setTabIndex):
              * khtml/html/html_inlineimpl.h:
              * khtml/html/html_listimpl.cpp:
              (DOM::HTMLOListElementImpl::setStart):
              (DOM::HTMLLIElementImpl::value):
              (DOM::HTMLLIElementImpl::setValue):
              * khtml/html/html_listimpl.h:
              (DOM::HTMLUListElementImpl::start):
              (DOM::HTMLOListElementImpl::start):
              * khtml/html/html_miscimpl.cpp:
              (DOM::HTMLCollectionImpl::calcLength):
              (DOM::HTMLCollectionImpl::length):
              (DOM::HTMLCollectionImpl::item):
              (DOM::HTMLFormCollectionImpl::calcLength):
              (DOM::HTMLFormCollectionImpl::item):
              * khtml/html/html_miscimpl.h:
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLObjectElementImpl::tabIndex):
              (DOM::HTMLObjectElementImpl::setTabIndex):
              * khtml/html/html_objectimpl.h:
              * khtml/html/html_tableimpl.cpp:
              (DOM::HTMLTableElementImpl::insertRow):
              (DOM::HTMLTableElementImpl::deleteRow):
              (DOM::HTMLTableSectionElementImpl::insertRow):
              (DOM::HTMLTableSectionElementImpl::deleteRow):
              (DOM::HTMLTableRowElementImpl::rowIndex):
              (DOM::HTMLTableRowElementImpl::sectionRowIndex):
              (DOM::HTMLTableRowElementImpl::insertCell):
              (DOM::HTMLTableRowElementImpl::deleteCell):
              (DOM::HTMLTableCellElementImpl::cellIndex):
              (DOM::HTMLTableCellElementImpl::setColSpan):
              (DOM::HTMLTableCellElementImpl::setRowSpan):
              (DOM::HTMLTableColElementImpl::setSpan):
              * khtml/html/html_tableimpl.h:
              (DOM::HTMLTableColElementImpl::span):
              * khtml/html/htmlparser.cpp:
              (HTMLParser::handleError):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::processToken):
              * khtml/khtml_events.cpp:
              (khtml::MouseEvent::offset):
              * khtml/khtml_events.h:
              (khtml::MouseReleaseEvent::MouseReleaseEvent):
              * khtml/khtml_part.cpp:
              (KHTMLPart::restoreURL):
              (KHTMLPart::stopLoading):
              (KHTMLPart::receivedFirstData):
              (KHTMLPart::slotFinished):
              (KHTMLPart::begin):
              (KHTMLPart::slotViewFrameSource):
              (KHTMLPart::selectFrameElementInParentIfFullySelected):
              * khtml/khtml_part.h:
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              * khtml/misc/loader.h:
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::positionForRenderer):
              * khtml/rendering/render_br.cpp:
              (RenderBR::caretMinOffset):
              (RenderBR::caretMaxOffset):
              (RenderBR::caretMaxRenderedOffset):
              (RenderBR::inlineBox):
              * khtml/rendering/render_br.h:
              * khtml/rendering/render_form.cpp:
              (RenderLineEdit::selectionStart):
              (RenderLineEdit::selectionEnd):
              (RenderLineEdit::setSelectionStart):
              (RenderLineEdit::setSelectionEnd):
              (RenderLineEdit::setSelectionRange):
              (RenderTextArea::calcMinMaxWidth):
              (RenderTextArea::selectionStart):
              (RenderTextArea::selectionEnd):
              (RenderTextArea::setSelectionStart):
              (RenderTextArea::setSelectionEnd):
              (RenderTextArea::setSelectionRange):
              * khtml/rendering/render_form.h:
              * khtml/rendering/render_frames.cpp:
              (RenderPartObject::updateWidget):
              * khtml/rendering/render_line.cpp:
              (khtml::InlineBox::caretMinOffset):
              (khtml::InlineBox::caretMaxOffset):
              (khtml::InlineBox::caretMaxRenderedOffset):
              * khtml/rendering/render_line.h:
              * khtml/rendering/render_list.cpp:
              (RenderListMarker::calcMinMaxWidth):
              * khtml/rendering/render_list.h:
              (khtml::RenderListItem::value):
              (khtml::RenderListItem::setValue):
              * khtml/rendering/render_object.cpp:
              (RenderObject::caretMinOffset):
              (RenderObject::caretMaxOffset):
              (RenderObject::caretMaxRenderedOffset):
              (RenderObject::previousOffset):
              (RenderObject::nextOffset):
              (RenderObject::inlineBox):
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_replaced.cpp:
              (RenderReplaced::caretMinOffset):
              (RenderReplaced::caretMaxOffset):
              (RenderReplaced::caretMaxRenderedOffset):
              * khtml/rendering/render_replaced.h:
              * khtml/rendering/render_table.h:
              (khtml::RenderTableCell::cellIndex):
              (khtml::RenderTableCell::setCellIndex):
              * khtml/rendering/render_text.cpp:
              (InlineTextBox::paintMarker):
              (InlineTextBox::paintMarkedTextUnderline):
              (InlineTextBox::caretMinOffset):
              (InlineTextBox::caretMaxOffset):
              (InlineTextBox::caretMaxRenderedOffset):
              (RenderText::previousOffset):
              (RenderText::nextOffset):
              (InlineTextBox::positionForOffset):
              (RenderText::caretMinOffset):
              (RenderText::caretMaxOffset):
              (RenderText::caretMaxRenderedOffset):
              (RenderText::inlineBox):
              * khtml/rendering/render_text.h:
              * khtml/xml/dom2_eventsimpl.cpp:
              (DOM::EventImpl::timeStamp):
              (DOM::UIEventImpl::UIEventImpl):
              (DOM::UIEventImpl::initUIEvent):
              (DOM::UIEventImpl::layerX):
              (DOM::UIEventImpl::layerY):
              (DOM::UIEventImpl::pageX):
              (DOM::UIEventImpl::pageY):
              (DOM::UIEventImpl::which):
              (DOM::MouseRelatedEventImpl::MouseRelatedEventImpl):
              (DOM::MouseRelatedEventImpl::pageX):
              (DOM::MouseRelatedEventImpl::pageY):
              (DOM::MouseEventImpl::MouseEventImpl):
              (DOM::MouseEventImpl::initMouseEvent):
              (DOM::MouseEventImpl::which):
              (DOM::KeyboardEventImpl::KeyboardEventImpl):
              (DOM::KeyboardEventImpl::initKeyboardEvent):
              (DOM::KeyboardEventImpl::which):
              (DOM::WheelEventImpl::WheelEventImpl):
              * khtml/xml/dom2_eventsimpl.h:
              (DOM::UIEventImpl::detail):
              (DOM::UIEventWithKeyStateImpl::UIEventWithKeyStateImpl):
              (DOM::MouseRelatedEventImpl::screenX):
              (DOM::MouseRelatedEventImpl::screenY):
              (DOM::MouseRelatedEventImpl::clientX):
              (DOM::MouseRelatedEventImpl::clientY):
              (DOM::MouseRelatedEventImpl::layerX):
              (DOM::MouseRelatedEventImpl::layerY):
              (DOM::KeyboardEventImpl::keyLocation):
              (DOM::WheelEventImpl::wheelDelta):
              * khtml/xml/dom2_rangeimpl.cpp:
              (DOM::RangeImpl::RangeImpl):
              (DOM::RangeImpl::startOffset):
              (DOM::RangeImpl::endOffset):
              (DOM::RangeImpl::setStart):
              (DOM::RangeImpl::setEnd):
              (DOM::RangeImpl::compareBoundaryPoints):
              (DOM::RangeImpl::processContents):
              (DOM::RangeImpl::checkNodeWOffset):
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              (DOM::TraversalImpl::TraversalImpl):
              (DOM::TreeWalkerImpl::TreeWalkerImpl):
              * khtml/xml/dom2_traversalimpl.h:
              (DOM::TraversalImpl::whatToShow):
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::createNodeIterator):
              (DocumentImpl::createTreeWalker):
              (DocumentImpl::processHttpEquiv):
              (DocumentImpl::removeMarkers):
              (DocumentImpl::copyMarkers):
              (DocumentImpl::markersForNode):
              (DocumentImpl::shiftMarkers):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::openTagStartToString):
              (NamedAttrMapImpl::item):
              (NamedAttrMapImpl::getAttributeItem):
              (NamedAttrMapImpl::removeAttribute):
              * khtml/xml/dom_elementimpl.h:
              (DOM::NamedAttrMapImpl::length):
              (DOM::NamedAttrMapImpl::attributeItem):
              (DOM::NamedMappedAttrMapImpl::attributeItem):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::normalize):
              (DOM::NodeImpl::nodeIndex):
              (DOM::NodeImpl::childNodeCount):
              (DOM::NodeImpl::childNode):
              (DOM::NodeImpl::maxOffset):
              (DOM::NodeImpl::maxDeepOffset):
              (DOM::NodeImpl::caretMinOffset):
              (DOM::NodeImpl::caretMaxOffset):
              (DOM::NodeImpl::caretMaxRenderedOffset):
              (DOM::NodeImpl::previousOffset):
              (DOM::NodeImpl::nextOffset):
              (DOM::ContainerNodeImpl::childNodeCount):
              (DOM::ContainerNodeImpl::childNode):
              (DOM::NodeListImpl::recursiveLength):
              (DOM::NodeListImpl::recursiveItem):
              (DOM::NodeListImpl::itemById):
              (DOM::ChildNodeListImpl::length):
              (DOM::ChildNodeListImpl::item):
              (DOM::TagNodeListImpl::length):
              (DOM::TagNodeListImpl::item):
              (DOM::NameNodeListImpl::length):
              (DOM::NameNodeListImpl::item):
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              (DOM::Position::Position):
              (DOM::Position::previous):
              (DOM::Position::next):
              (DOM::Position::renderedOffset):
              (DOM::Position::equivalentRangeCompliantPosition):
              (DOM::Position::rendersInDifferentPosition):
              (DOM::Position::trailingWhitespacePosition):
              (DOM::Position::debugPosition):
              * khtml/xml/dom_position.h:
              (DOM::Position::offset):
              * khtml/xml/dom_textimpl.cpp:
              (CharacterDataImpl::length):
              (CharacterDataImpl::substringData):
              (CharacterDataImpl::insertData):
              (CharacterDataImpl::deleteData):
              (CharacterDataImpl::replaceData):
              (CharacterDataImpl::checkCharDataOperation):
              (CharacterDataImpl::maxOffset):
              (CharacterDataImpl::caretMinOffset):
              (CharacterDataImpl::caretMaxOffset):
              (CharacterDataImpl::caretMaxRenderedOffset):
              (TextImpl::splitText):
              * khtml/xml/dom_textimpl.h:
              * kwq/DOM-CSS.mm:
              (-[DOMStyleSheetList length]):
              (-[DOMStyleSheetList item:]):
              (-[DOMCSSStyleSheet insertRule::]):
              (-[DOMCSSStyleSheet deleteRule:]):
              (-[DOMMediaList length]):
              (-[DOMMediaList item:]):
              (-[DOMCSSRuleList length]):
              (-[DOMCSSRuleList item:]):
              (-[DOMCSSMediaRule insertRule::]):
              (-[DOMCSSMediaRule deleteRule:]):
              (-[DOMCSSStyleDeclaration length]):
              (-[DOMCSSStyleDeclaration item:]):
              (-[DOMCSSValueList length]):
              (-[DOMCSSValueList item:]):
              * kwq/DOM.mm:
              (-[DOMNamedNodeMap item:]):
              (-[DOMNamedNodeMap length]):
              (-[DOMNodeList item:]):
              (-[DOMNodeList length]):
              (-[DOMCharacterData length]):
              (-[DOMCharacterData substringData::]):
              (-[DOMCharacterData insertData::]):
              (-[DOMCharacterData deleteData::]):
              (-[DOMCharacterData replaceData:::]):
              (-[DOMText splitText:]):
              (-[DOMRange description]):
              (-[DOMRange startOffset]):
              (-[DOMRange endOffset]):
              (-[DOMRange setStart::]):
              (-[DOMRange setEnd::]):
              (-[DOMNodeIterator whatToShow]):
              (-[DOMTreeWalker whatToShow]):
              (-[DOMDocument createNodeIterator::::]):
              (-[DOMDocument createTreeWalker::::]):
              * kwq/DOMCSS.h:
              * kwq/DOMCore.h:
              * kwq/DOMEvents.h:
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]):
              * kwq/DOMEvents.mm:
              (-[DOMMouseEvent screenX]):
              (-[DOMMouseEvent screenY]):
              (-[DOMMouseEvent clientX]):
              (-[DOMMouseEvent clientY]):
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]):
              (-[DOMUIEvent detail]):
              (-[DOMUIEvent initUIEvent:::::]):
              * kwq/DOMExtensions.h:
              * kwq/DOMHTML.h:
              * kwq/DOMHTML.mm:
              (-[DOMHTMLCollection length]):
              (-[DOMHTMLCollection item:]):
              (-[DOMHTMLOptionsCollection length]):
              (-[DOMHTMLOptionsCollection setLength:]):
              (-[DOMHTMLOptionsCollection item:]):
              (-[DOMHTMLFormElement length]):
              (-[DOMHTMLSelectElement selectedIndex]):
              (-[DOMHTMLSelectElement setSelectedIndex:]):
              (-[DOMHTMLSelectElement length]):
              (-[DOMHTMLSelectElement setLength:]):
              (-[DOMHTMLSelectElement size]):
              (-[DOMHTMLSelectElement setSize:]):
              (-[DOMHTMLSelectElement tabIndex]):
              (-[DOMHTMLSelectElement setTabIndex:]):
              (-[DOMHTMLSelectElement remove:]):
              (-[DOMHTMLOptionElement index]):
              (-[DOMHTMLInputElement maxLength]):
              (-[DOMHTMLInputElement setMaxLength:]):
              (-[DOMHTMLInputElement size]):
              (-[DOMHTMLInputElement setSize:]):
              (-[DOMHTMLInputElement tabIndex]):
              (-[DOMHTMLInputElement setTabIndex:]):
              (-[DOMHTMLTextAreaElement cols]):
              (-[DOMHTMLTextAreaElement setCols:]):
              (-[DOMHTMLTextAreaElement rows]):
              (-[DOMHTMLTextAreaElement setRows:]):
              (-[DOMHTMLTextAreaElement tabIndex]):
              (-[DOMHTMLTextAreaElement setTabIndex:]):
              (-[DOMHTMLButtonElement tabIndex]):
              (-[DOMHTMLButtonElement setTabIndex:]):
              (-[DOMHTMLOListElement start]):
              (-[DOMHTMLOListElement setStart:]):
              (-[DOMHTMLLIElement value]):
              (-[DOMHTMLLIElement setValue:]):
              (-[DOMHTMLPreElement width]):
              (-[DOMHTMLPreElement setWidth:]):
              (-[DOMHTMLAnchorElement tabIndex]):
              (-[DOMHTMLAnchorElement setTabIndex:]):
              (-[DOMHTMLImageElement height]):
              (-[DOMHTMLImageElement setHeight:]):
              (-[DOMHTMLImageElement hspace]):
              (-[DOMHTMLImageElement setHspace:]):
              (-[DOMHTMLImageElement vspace]):
              (-[DOMHTMLImageElement setVspace:]):
              (-[DOMHTMLImageElement width]):
              (-[DOMHTMLImageElement setWidth:]):
              (-[DOMHTMLObjectElement hspace]):
              (-[DOMHTMLObjectElement setHspace:]):
              (-[DOMHTMLObjectElement tabIndex]):
              (-[DOMHTMLObjectElement setTabIndex:]):
              (-[DOMHTMLObjectElement vspace]):
              (-[DOMHTMLObjectElement setVspace:]):
              (-[DOMHTMLAppletElement hspace]):
              (-[DOMHTMLAppletElement setHspace:]):
              (-[DOMHTMLAppletElement vspace]):
              (-[DOMHTMLAppletElement setVspace:]):
              (-[DOMHTMLAreaElement tabIndex]):
              (-[DOMHTMLAreaElement setTabIndex:]):
              (-[DOMHTMLTableSectionElement insertRow:]):
              (-[DOMHTMLTableSectionElement deleteRow:]):
              (-[DOMHTMLTableElement insertRow:]):
              (-[DOMHTMLTableElement deleteRow:]):
              (-[DOMHTMLTableColElement span]):
              (-[DOMHTMLTableColElement setSpan:]):
              (-[DOMHTMLTableRowElement rowIndex]):
              (-[DOMHTMLTableRowElement sectionRowIndex]):
              (-[DOMHTMLTableRowElement insertCell:]):
              (-[DOMHTMLTableRowElement deleteCell:]):
              (-[DOMHTMLTableCellElement cellIndex]):
              (-[DOMHTMLTableCellElement colSpan]):
              (-[DOMHTMLTableCellElement setColSpan:]):
              (-[DOMHTMLTableCellElement rowSpan]):
              (-[DOMHTMLTableCellElement setRowSpan:]):
              (-[DOMHTMLEmbedElement height]):
              (-[DOMHTMLEmbedElement setHeight:]):
              (-[DOMHTMLEmbedElement width]):
              (-[DOMHTMLEmbedElement setWidth:]):
              * kwq/DOMRange.h:
              * kwq/DOMStylesheets.h:
              * kwq/DOMTraversal.h:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::advanceToNextMisspelling):
              (KWQKHTMLPart::openURLFromPageCache):
              (KWQKHTMLPart::markMisspellings):
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (QString::toShort):
              (QString::toUShort):
              (QString::toInt):
              (QString::toUInt):
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm:
              (QTextEdit::selectionStart):
              (QTextEdit::selectionEnd):
              (QTextEdit::setSelectionStart):
              (QTextEdit::setSelectionEnd):
              (QTextEdit::setSelectionRange):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge convertToNSRange:DOM::]):
      
      WebKit:
      
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              * Plugins.subproj/npapi.m: changed types to match those defined in npapi.h
              (NPN_MemAlloc):
              (NPN_MemFlush):
              (NPN_PostURLNotify):
              (NPN_PostURL):
              (NPN_Write):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      704e8bb4
    • tomernic's avatar
      Reviewed by Dave Hyatt. Test case reviewed by Vicki Murley. · 24ba9376
      tomernic authored
      	<rdar://problem/3572507> Flash in div with display:none style will not redraw when style changed to display:block (3479)
      
              Test cases added:
              * manual-tests/show-hide-object.html: Added.
              * manual-tests/resources/spinbox.swf: Added.
      
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLObjectElementImpl::detach):
      	Set needWidgetUpdate to true so that the widget is updated on the next attach().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24ba9376
    • eseidel's avatar
      Bug #: 4907 · 74df03e4
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              * khtml/xml/dom_textimpl.cpp:
              (TextImpl::rendererIsNeeded):
              One line change to prevent adding text objects as direct
              children to FrameSet objects in the render tree.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74df03e4
  3. 15 Sep, 2005 1 commit
    • harrison's avatar
      Reviewed by Dave Hyatt. · fb1a91a8
      harrison authored
              <rdar://problem/4244976> reproducible hang at ocharleys.com in VisiblePosition::initDownstream
      
              Problem is that RenderText::nextOffset() passes an empty string the UBreakIterator, which returns
              UBRK_DONE (-1) from ubrk_following, and that -1 is used without question as return result of
              nextOffset().  Fixed by checking for UBRK_DONE and returning offset+1 in that case.  Similar
              change in RenderText::previousOffset().
      
              Test cases added:
              * layout-tests/editing/selection/extend-by-word-002-expected.checksum: Added.
              * layout-tests/editing/selection/extend-by-word-002-expected.png: Added.
              * layout-tests/editing/selection/extend-by-word-002-expected.txt: Added.
              * layout-tests/editing/selection/extend-by-word-002.html: Added.
      
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::updateFirstLetter):
              Added comments.  Slight format adjustments.
      
              * khtml/rendering/render_text.cpp:
              (getCharacterBreakIterator):
              Slight format adjustment.
      
              (RenderText::previousOffset):
              (RenderText::nextOffset):
              Check for UBRK_DONE.
      
              (RenderTextFragment::RenderTextFragment)
              (RenderTextFragment::RenderTextFragment)
              Fixed parameter names.
      
              (m_generatedContentStr):
              * khtml/rendering/render_text.h:
              Fixed parameter names in the two RenderTextFragment constructors.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb1a91a8
  4. 14 Sep, 2005 7 commits
    • darin's avatar
      Reviewed, tweaked, and landed by Darin. · e14e6483
      darin authored
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3809
                Should default to UTF-8 or UTF-16 for application/xml documents with omitted charset and encoding declaration
      
              Test cases added:
              * layout-tests/fast/encoding/xml-utf-8-default.xml: Added.
              * layout-tests/fast/encoding/xml-utf-8-default-expected.txt: Added.
      
              * khtml/misc/decoder.cpp: (Decoder::decode): Always set encoding when we see an XML header.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e14e6483
    • darin's avatar
      * layout-tests/fast/dom/set-innerHTML-expected.txt: Updated test... · 791e3f5f
      darin authored
              * layout-tests/fast/dom/set-innerHTML-expected.txt: Updated test result now that DumpRenderTree handles
              this case properly. The old expected result just had the word "error"!
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      791e3f5f
    • justing's avatar
      Reviewed by john · bbfac8be
      justing authored
              Test cases added: none, method rename
      
              Part of fix for <rdar://problem/4237479> REGRESSION (Cambridge-Denver): old QuickTime movie continues to play sound after reload
      
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge handleFallbackContent]):
              Renamed bridge method mainResourceError to handleFallbackContent, since there are some
              main resource errors for which we should not render fallback content.  E.G user cancels
              and the cancel we do to prevent loading plugin content twice (see <rdar://problem/4258008>)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbfac8be
    • harrison's avatar
      Reviewed by Eric. · 41a177ec
      harrison authored
              <rdar://problem/4057623> AX: Dictionary Panel crash in AXAttributeStringSetStyle in Safari (Dictionary has workaround)
      
              Test cases added: None.  Manual testing is way to awkward, and automated testing
              is not possible.  Filed following bug to get automation.
              <rdar://problem/4256882> Need automated testing support for accessibility APIs
      
              * kwq/KWQAccObject.mm:
              (AXAttributedStringAppendText):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41a177ec
    • vicki's avatar
      Reviewed by Dave Hyatt. · 7f31e453
      vicki authored
      	- fixed <rdar://problem/4255274> REGRESSION: in some cases, link jumping to images is broken (4964)
      
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::ContainerNodeImpl::getUpperLeftCorner):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f31e453
    • darin's avatar
      Reviewed by John. · 24610a11
      darin authored
              No easy way to test this in layout tests, so no test added.
      
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4984
                REGRESSION placeholder border left behind after image finishes loading
      
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4985
                REGRESSION assertion failure in KWQPainter.mm:841
      
              * kwq/KWQPainter.mm:
              (QPainter::save): Do nothing if painting is disabled.
              (QPainter::restore): Ditto.
              (QPainter::drawRect): Inset so that we "frame" the rectangle rather than "stroking" the
              rectangle. The former draws inside the rectangle but the latter draws centered on the
              edge of the rectangle.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24610a11
    • darin's avatar
      WebCore: · 79ec5083
      darin authored
              Reviewed by Maciej.
      
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4924
                QPainter should use CGContext as much as possible rather than NSGraphicsContext
      
              * kwq/KWQPainter.h: Made no-op xForm be an inline. Reformatted to remove extraneous spaces.
              Removed clearFocusRing. Changed the name of various private functions to remove underscore
              prefix, and reorganize them.
      
              * kwq/KWQPainter.mm:
              (QPainterPrivate::QPainterPrivate): Remove the NSBezierPath for focus.
              (QPainterPrivate::~QPainterPrivate): Ditto.
              (QPainter::save): Use CGContext instead of NSGraphicsContext.
              (QPainter::restore): Ditto.
              (QPainter::drawRect): Use CGContextFillRect instead of _fillRectXX, and
              CGContextStrokeRect instead of NSFrameRect.
              (QPainter::setFillColor): Added. Sets CGContext fill color based on brush.
              (QPainter::setFillColorFromCurrentBrush): Added. Sets CGContext fill color based on QPainter's
              current brush.
              (QPainter::setFillColorFromCurrentPen): Added. Sets CGContext fill color based on QPainter's
              current pen.
              (QPainter::setStrokeColorAndLineWidthFromCurrentPen): Added. Set CGContext stroke color and
              line width based on QPainter's current pen.
              (QPainter::drawLine): Use CGContextStrokeLineSegments instead of NSBezierPath.
              (QPainter::drawEllipse): Use CGContextFillEllipseInRect instead of CGContextFillPath and
              CGContextStrokeEllipseInRect instead of CGContextStrokePath.
              (QPainter::drawArc): Removed some uneeded type casts, changed to call the new private functions,
              currentContext and setStrokeColorAndLineWidthFromCurrentPen.
              (QPainter::drawConvexPolygon): Use new private functions, also use CGContextDrawPath in the
              case where we want to both fill and stroke the polygon.
              (QPainter::getCompositeOperation): Remove unneeded cast.
              (QPainter::setCompositeOperation): Map from name to operation here rather than relying on the
              code on the WebKit side to do it (allows us to remove names entirely from the WebKit side).
              (QPainter::compositeOperatorFromString): Remove a local variable and some casts.
              (getBlendedColorComponent): Rewrote to do the same computation without any conversion to float.
              (QPainter::fillRect): Use CGContextFillRect instead of _fillRectXXX.
              (QPainter::addClip): Use CGContextClipToRect instead of NSBezierPath.
              (QPainter::addRoundedRectClip): Add missing call to CGContextBeginPath.
              (QPainter::beginTransparencyLayer): Use CGContextSaveGState instead of NSGraphicsContext.
              (QPainter::endTransparencyLayer): Use CGContextRestoreGState instead of NSGraphicsContext.
              (QPainter::initFocusRing): Use CGContextBeginPath instead of creating an NSBezierPath.
              (QPainter::addFocusRingRect): Use CGContextAddRect instead of NSBezierPath.
              (QPainter::drawFocusRing): Use CGContextFillPath instead of NSBezierPath.
      
              * khtml/rendering/render_flow.cpp: (RenderFlow::paintFocusRing): Remove call to clearFocusRing. No longer exists.
              * khtml/rendering/render_object.cpp: (RenderObject::paintOutline): Ditto.
      
              * kwq/WebCoreImageRendererFactory.h: Remove setCGCompositeOperationFromString method.
      
      WebKit:
      
              Reviewed by Maciej.
      
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4924
                QPainter should use CGContext as much as possible rather than NSGraphicsContext
      
              * WebCoreSupport.subproj/WebImageRendererFactory.m: Remove setCGCompositeOperationFromString
              method, no longer needed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79ec5083
  5. 13 Sep, 2005 1 commit
    • harrison's avatar
      Reviewed by Justin. · 77d8db91
      harrison authored
              <rdar://problem/4204892> Correcting incorrect spelling in Mail causes others to lose their red squiggles
      
              Fixed by having SplitTextNodeCommand::doApply copy the markers to the new node, and having SplitTextNodeCommand::doUnapply
              copy the markers from the merged-in node to the combined node.
      
              btw - filed <rdar://problem/4256492> "WebCore editing automated layout tests verify spelling markers"
              so that we can automate tests for this.
      
              Test cases added:
              * manual-tests/keep_spelling_markers.html: Added.
      
              * khtml/editing/split_text_node_command.cpp:
              (khtml::SplitTextNodeCommand::doApply):
              (khtml::SplitTextNodeCommand::doUnapply):
              Call new copyMarkers() function.
      
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::removeMarkers):
              (DocumentImpl::addMarker):
              (DocumentImpl::copyMarkers):
              (DocumentImpl::markersForNode):
              (DocumentImpl::shiftMarkers):
              * khtml/xml/dom_docimpl.h:
              (DOM::DocumentMarker::):
              Added copyMarkers() function.  Reorganized code for clarity.
      
              * khtml/xml/dom_textimpl.cpp:
              (CharacterDataImpl::setData):
              (CharacterDataImpl::deleteData):
              (CharacterDataImpl::replaceData):
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::respondToChangedSelection):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge unmarkAllMisspellings]):
              Update calls to marker functions.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77d8db91
  6. 12 Sep, 2005 1 commit
    • eseidel's avatar
      Bug #: none · 8efd2b15
      eseidel authored
      Submitted by: eseidel
      Reviewed by: none, build fix only for svg.
              Fixes build after qstring() -> string() rename this weekend.
      
              * kdom/Helper.cpp:
              (parseLength):
              * kdom/core/DOMStringImpl.cpp:
              (DOMStringImpl::toInt):
              * kdom/core/DocumentImpl.cpp:
              (DocumentImpl::getId):
              * kdom/css/CSSStyleSelector.cpp:
              (checkPseudoState):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8efd2b15
  7. 11 Sep, 2005 2 commits
    • darin's avatar
      Reviewed by John Sullivan. · bded90a8
      darin authored
              - fixed <rdar://problem/4126166> using JavaScript-assigned accesskeys crashes Safari - DOM::NodeImpl::dispatchEvent
      
              Test cases added:
              * layout-tests/fast/events/access-key-self-destruct.html: Added.
              * layout-tests/fast/events/access-key-self-destruct-expected.txt: Added.
      
              * khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchMouseEvent): Ref the node for the duration
              with a SharedPtr; this helps in cases where the last reference to the node goes away inside the
              event handler.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bded90a8
    • darin's avatar
      Reviewed by Eric. · 2eba085a
      darin authored
              - changed back the name of a couple of string() functions that were renamed to qstring() by accident
      
              * kwq/KWQString.h: (QConstString::string): Changed function name back to string() from qstring().
              This is a function from Qt, so the name needs to match Qt -- that's just how KWQ works.
      
              * khtml/xml/dom_atomicstringlist.h: Changed the name of the function that returns the current
              AtomicString to string() back from qstring()!
      
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::matchRules): Use string() instead of qstring().
              (khtml::checkPseudoState): Ditto.
              (khtml::CSSStyleSelector::checkOneSelector): Ditto.
              * khtml/dom/dom_string.cpp: (DOM::DOMString::percentage): Ditto.
              * khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::finish): Ditto.
              * khtml/xml/dom_stringimpl.cpp:
              (DOM::DOMStringImpl::DOMStringImpl): Small tweak to streamline a tiny bit by using an already-computed
              boolean instead of re-checking a couple of data members.
              (DOM::parseLength): Use string() instead of qstring().
              (DOM::DOMStringImpl::toInt): Ditto.
      
              - removed some dead code
      
              * khtml/xml/dom_elementimpl.cpp: Removed XMLElementImpl.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2eba085a
  8. 10 Sep, 2005 6 commits
    • darin's avatar
      Reviewed and landed by Darin. · 1c34d658
      darin authored
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4820
                hexadecimal HTML entities split across TCP packets are not parsed correctly
      
              Wasn't able to make a layout test for this because there's no easy way to
              simulate separate writes to the tokenizer.
      
              * khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::parseEntity):
              Rolled back to code more like the original KDE stuff -- our change broke this --
              but changed the limit so it works with 8-character entities.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c34d658
    • darin's avatar
      - remove test case I just added -- it's not working · de87ed39
      darin authored
              * layout-tests/fast/dom/document-write-infinite-recursion-expected.txt: Removed.
              * layout-tests/fast/dom/document-write-infinite-recursion.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de87ed39
    • darin's avatar
      Reviewed by Maciej. · 78354ef1
      darin authored
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4806
                REGRESSION <area> elements misnested inside <div> elements not working
      
              Test cases added:
              * layout-tests/fast/parser/area-in-div.html: Added.
              * layout-tests/fast/parser/area-in-div-expected.txt: Added.
      
              * khtml/html/htmlparser.h: Declared mapCreateErrorCheck.
              * khtml/html/htmlparser.cpp:
              (HTMLParser::handleError): Fix formatting and indentation.
              (HTMLParser::formCreateErrorCheck): Added code to create the form too, so we can
              squirrel the form pointer away. Return false to prevent the factory from creating it.
              (HTMLParser::mapCreateErrorCheck): Added. Same kind of thing here, but without the logic
              that prevents creating a form if there's already a form open.
              (HTMLParser::getNode): Added the code to put the map function into the table. Also
              removed the form special-case code here that accomplishes what is now done inside the
              formCreateErrorCheck above instead.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78354ef1
    • darin's avatar
      Reviewed by Maciej. · 928af691
      darin authored
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4367
                Crash when executing setTimeout / Date / document.write Javascript (bugtraq)
      
              Test cases added:
              * layout-tests/fast/dom/document-write-infinite-recursion.html: Added.
              * layout-tests/fast/dom/document-write-infinite-recursion-expected.txt: Added.
      
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::implicitClose): Simplify a bit to make more readable. Remove the
              code to delete the tokenizer an extra time -- that can end up deleting the newly
              created tokenizer that's still needed for the newly opened page.
              (DocumentImpl::write): Added an assertion to catch the badness that caused
              infinite recursion so it's easier to recognize next time.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      928af691
    • darin's avatar
      - add expected success result for newly-enabled test · 103e63f3
      darin authored
              * layout-tests/dom/html/level2/html/HTMLIFrameElement11-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      103e63f3
    • vicki's avatar
      Reviewed by Dave Hyatt. · 9c9148f9
      vicki authored
      	- fix <rdar://problem/4234256> REGRESSION: image tag broken in TOT
      
              Test cases added:
              * layout-tests/fast/replaced/image-tag-expected.checksum: Added.
              * layout-tests/fast/replaced/image-tag-expected.png: Added.
              * layout-tests/fast/replaced/image-tag-expected.txt: Added.
              * layout-tests/fast/replaced/image-tag.html: Added.
      
      	* khtml/html/htmlnames.h:
              * khtml/html/htmlfactory.cpp:
              (DOM::HTMLElementFactory::createHTMLElement):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c9148f9
  9. 09 Sep, 2005 1 commit
    • sullivan's avatar
      WebCore: · 1dcf67dc
      sullivan authored
              Reviewed by Tim Omernick.
      
              Test cases added: none, doesn't affect layout
      
              - fixed <rdar://problem/4250792> Find in HTML doesn't reveal match if only match was already selected
      
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::findString):
              If we end up finding the previously-selected text, just go through the normal success code path
              instead of bailing out early.
      
      WebKit:
      
              Reviewed by Tim Omernick.
      
              fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4070:
              Find in plain text won't find only occurrence if it overlaps selection
      
              * Misc.subproj/WebSearchableTextView.m:
              (-[NSString findString:selectedRange:options:wrap:]):
              in the wrap case, extend the search range far enough that text overlapping the
              selection (including the exact-match case) will be considered.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dcf67dc
  10. 08 Sep, 2005 5 commits
    • vicki's avatar
      Reviewed by John Sullivan. · 245ed0b2
      vicki authored
      	- fixed <rdar://problem/4168089> CRASH: Using A9 Maps new interface (also occurs on google maps)
      
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::getAttributeNS): add a check for the document, before checking to see if this is an HTML document
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      245ed0b2
    • justing's avatar
      Reviewed by darin · 9ca5ce30
      justing authored
              WebCore portion of multipart/x-mixed-replace support
      
              * khtml/misc/loader.cpp:
              (Request::Request):
              (Loader::slotReceivedResponse):
              Only allow a multipart load for images, clear out the old multipart section to prepare for a replace
              (Loader::slotData):
              Multipart sections are delivered to the coreLoader by WebKit all at once, send eof to CachedImage::data
              * khtml/misc/loader.h:
              (khtml::CachedObject::isImage): Added
              (khtml::CachedImage::isImage):
              * kwq/KWQKJobClasses.h:
              * kwq/KWQKJobClasses.mm:
              (KIO::TransferJob::cancel):
              Added a way to cancel a subresource loader from WebCore
              * kwq/KWQLoader.h:
              * kwq/KWQLoader.mm:
              (KWQResponseIsMultipart):
              * kwq/KWQResourceLoader.h:
              * kwq/KWQResourceLoader.mm:
              (-[KWQResourceLoader jobCanceledLoad]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ca5ce30
    • vicki's avatar
      Reviewed by Don Melton. · 988c4474
      vicki authored
      	- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4891 (HTMLIFrameElement11.js checks for
      	wrong title, causes false failure) and enabled HTMLIFrameElement11.html
      
              * layout-tests/dom/html/level2/html/HTMLIFrameElement11.js: check for correct title of resources/frame.html
      
              * layout-tests/dom/html/level2/html/HTMLIFrameElement11.html: Added.
              * layout-tests/dom/html/level2/html/HTMLIFrameElement11.html-disabled: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      988c4474
    • ggaren's avatar
      -fixed gcc 4.0 build bustage due to inconsitent return type · 9fb526fc
      ggaren authored
              Reviewed by john.
      
              * kwq/KWQTextField.mm:
              (-[NSTextField _KWQ_currentEditor]): editor is now cast as an NSTextView
              instead of an NSText (which makes sense regardless of build bustage,
              given that we first test for isKindOfClass:[NSTextView class] before defining editor)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fb526fc
    • eseidel's avatar
      Bug #: 4863 · a7b0e9b8
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              Merged various changes from KDE, including:
              Qt3->Qt4 change: QWMatrix -> QMatrix
              A few remaining DOMString -> DOMStringImpl changes
              KRenderingDevicePaintServer now inherits KCanvasResource
              Various whitespace adjustments.
              Fewer, clearer logs from kcanvas/device/quartz code.
              DOM exception support.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=4863
      
              * ForwardingHeaders/qmatrix.h: Added.
              * WebCore+SVG/DrawDocument.mm:
              (-[DrawDocumentPrivate init]):
              (-[DrawDocumentPrivate dealloc]):
              (-[DrawDocumentPrivate setPrimaryView:]):
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/KCanvas.cpp:
              (KCanvas::~KCanvas):
              (KCanvas::reset):
              * kcanvas/KCanvasContainer.cpp:
              (KCanvasContainer::bbox):
              (KCanvasContainer::collisions):
              (KCanvasContainer::first):
              (KCanvasContainer::last):
              * kcanvas/KCanvasContainer.h:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasMatrix.cpp:
              (KCanvasMatrix::KCanvasMatrix):
              (KCanvasMatrix::operator=):
              (KCanvasMatrix::operator==):
              (KCanvasMatrix::operator!=):
              (KCanvasMatrix::translate):
              (KCanvasMatrix::multiply):
              (KCanvasMatrix::scale):
              (KCanvasMatrix::rotate):
              (KCanvasMatrix::rotateFromVector):
              (KCanvasMatrix::skewX):
              (KCanvasMatrix::skewY):
              (KCanvasMatrix::qmatrix):
              * kcanvas/KCanvasMatrix.h:
              * kcanvas/KCanvasRegistry.cpp:
              (operator<<):
              * kcanvas/KCanvasRegistry.h:
              * kcanvas/KCanvasResources.cpp:
              (KCanvasResource::KCanvasResource):
              (KCanvasMarker::draw):
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              (operator<<):
              * kcanvas/KCanvasView.cpp:
              (KCanvasView::setCanvas):
              * kcanvas/KCanvasView.h:
              * kcanvas/device/KRenderingFillPainter.cpp:
              (KRenderingFillPainter::draw):
              * kcanvas/device/KRenderingPaintServer.h:
              (KRenderingPaintServer::KRenderingPaintServer):
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              (KRenderingPaintServerGradient::Private::Private):
              (KRenderingPaintServerGradient::KRenderingPaintServerGradient):
              (KRenderingPaintServerGradient::listener):
              (KRenderingPaintServerGradient::setListener):
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              (KRenderingPaintServerPattern::Private::Private):
              (KRenderingPaintServerPattern::KRenderingPaintServerPattern):
              (KRenderingPaintServerPattern::listener):
              (KRenderingPaintServerPattern::setListener):
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingStrokePainter.cpp:
              (KRenderingStrokePainter::setPaintServer):
              (KRenderingStrokePainter::draw):
              * kcanvas/device/KRenderingStyle.cpp:
              (KRenderingStyle::Private::Private):
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (KCanvasFilterQuartz::prepareFilter):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (cgGradientCallback):
              (KRenderingPaintServerGradientQuartz::KRenderingPaintServerGradientQuartz):
              (KRenderingPaintServerGradientQuartz::updateQuartzGradientCache):
              (KRenderingPaintServerLinearGradientQuartz::draw):
              (KRenderingPaintServerRadialGradientQuartz::draw):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (KRenderingPaintServerPatternQuartz::draw):
              (KRenderingPaintServerImageQuartz::draw):
              * kdom/KDOMSettings.cpp:
              (KDOMSettings::init):
              (KDOMSettings::strToAdvice):
              * kdom/Shared.h:
              (KDOM::KDOM_SAFE_SET):
              * kdom/backends/libxml/LibXMLParser.cpp:
              (sax_start_doc):
              (sax_internal_subset):
              (sax_entity_decl):
              * kdom/bindings/IDLParser.pm:
              * kdom/bindings/IDLStructure.pm:
              * kdom/cache/KDOMCache.h:
              * kdom/cache/KDOMCachedObject.h:
              * kdom/cache/KDOMLoader.cpp:
              (DocumentLoader::setAutoloadImages):
              * kdom/cache/KDOMLoader.h:
              * kdom/core/AttrImpl.cpp:
              (AttrImpl::value):
              (AttrImpl::setPrefix):
              * kdom/core/DOMConfigurationImpl.cpp:
              (DOMConfigurationImpl::normalizeCharacters):
              * kdom/core/DOMImplementationImpl.cpp:
              (DOMImplementationImpl::DOMImplementationImpl):
              (DOMImplementationImpl::createDocument):
              (DOMImplementationImpl::idToType):
              * kdom/core/DOMImplementationImpl.h:
              * kdom/core/DocumentImpl.cpp:
              (DocumentImpl::removeListenerType):
              (DocumentImpl::getId):
              * kdom/core/DocumentTypeImpl.cpp:
              (DocumentTypeImpl::internalSubset):
              * kdom/core/NamedAttrMapImpl.cpp:
              (NamedAttrMapImpl::setValue):
              (NamedAttrMapImpl::dispatchAttrMutationEvent):
              * kdom/core/NamedNodeMapImpl.cpp:
              (RONamedNodeMapImpl::getNamedItem):
              * kdom/core/NodeImpl.cpp:
              (NodeBaseImpl::removeChildren):
              (NodeImpl::lookupNamespaceURI):
              * kdom/core/ProcessingInstructionImpl.cpp:
              (ProcessingInstructionImpl::ProcessingInstructionImpl):
              (ProcessingInstructionImpl::~ProcessingInstructionImpl):
              * kdom/core/ProcessingInstructionImpl.h:
              * kdom/core/domattrs.c:
              * kdom/css/CSSPrimitiveValueImpl.cpp:
              (FontFamilyValueImpl::FontFamilyValueImpl):
              * kdom/css/CSSStyleRuleImpl.cpp:
              (CSSStyleRuleImpl::parseString):
              * kdom/css/CSSStyleRuleImpl.h:
              * kdom/css/CSSStyleSelector.cpp:
              (CSSStyleSelector::CSSStyleSelector):
              (CSSStyleSelector::styleForElement):
              (CSSStyleSelector::applyRule):
              (CSSStyleSelector::getLangAttribute):
              * kdom/css/CSSStyleSelector.h:
              * kdom/css/CSSStyleSheetImpl.cpp:
              (CSSStyleSheetImpl::type):
              * kdom/css/CSSValueImpl.cpp:
              (ShadowValueImpl::cssText):
              * kdom/css/Font.h:
              * kdom/css/LinkStyleImpl.cpp: Added.
              (LinkStyleImpl::LinkStyleImpl):
              (LinkStyleImpl::~LinkStyleImpl):
              (LinkStyleImpl::sheet):
              * kdom/css/LinkStyleImpl.h: Added.
              * kdom/css/MediaListImpl.cpp:
              (MediaListImpl::setMediaText):
              * kdom/css/RectImpl.cpp:
              * kdom/css/RectImpl.h:
              (KDOM::RectImpl::top):
              (KDOM::RectImpl::right):
              (KDOM::RectImpl::bottom):
              (KDOM::RectImpl::left):
              * kdom/css/RenderStyle.cpp:
              (RenderStyle::diff):
              * kdom/css/RenderStyle.h:
              * kdom/css/RenderStyleDefs.cpp:
              (StyleInheritedData::StyleInheritedData):
              (StyleInheritedData::operator==):
              * kdom/css/RenderStyleDefs.h:
              * kdom/css/StyleBaseImpl.cpp:
              (CSSSelector::print):
              (CSSSelector::extractPseudoType):
              * kdom/events/EventTargetImpl.cpp:
              (EventTargetImpl::addEventListener):
              * kdom/kdom.h:
              (KDOM::):
              * kdom/ls/DOMImplementationLSImpl.cpp: Added.
              (DOMImplementationLSImpl::DOMImplementationLSImpl):
              (DOMImplementationLSImpl::~DOMImplementationLSImpl):
              (DOMImplementationLSImpl::createLSParser):
              (DOMImplementationLSImpl::createLSInput):
              (DOMImplementationLSImpl::createLSOutput):
              (DOMImplementationLSImpl::createLSSerializer):
              * kdom/ls/DOMImplementationLSImpl.h: Added.
              * kdom/ls/LSParserImpl.cpp:
              (LSParserImpl::parseURI):
              * kdom/ls/LSParserImpl.h:
              * kdom/ls/LSResourceResolverImpl.cpp:
              (LSResourceResolverImpl::resolveResource):
              * kdom/ls/LSResourceResolverImpl.h:
              * kdom/ls/LSSerializerImpl.cpp:
              (LSSerializerImpl::newLine):
              (LSSerializerImpl::writeToString):
              (LSSerializerImpl::escape):
              (LSSerializerImpl::escapeAttribute):
              * kdom/ls/LSSerializerImpl.h:
              * kdom/parser/KDOMParser.cpp:
              (Parser::handleError):
              (Parser::bufferForUrl):
              * kdom/range/RangeImpl.cpp:
              (RangeImpl::toString):
              * kdom/range/RangeImpl.h:
              * kdom/scripts/cssmakeprops:
              * kdom/scripts/cssmakevalues:
              * kdom/xpointer/PointerPartImpl.cpp:
              (PointerPartImpl::PointerPartImpl):
              * kdom/xpointer/ShortHandImpl.cpp:
              (ShortHandImpl::ShortHandImpl):
              * kdom/xpointer/XPointerEvaluatorImpl.cpp:
              (XPointerEvaluatorImpl::createXPointer):
              * kdom/xpointer/XPointerResultImpl.h:
              * kdom/xpointer/kdomxpointer.h:
              (KDOM::XPointer::):
              * ksvg2/KSVGFactory.cpp:
              (KSVGFactory::createPartObject):
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              * ksvg2/events/SVGEventImpl.cpp:
              (SVGEventImpl::SVGEventImpl):
              (SVGEventImpl::initEvent):
              * ksvg2/events/SVGEventImpl.h:
              (KSVG::):
              * ksvg2/events/SVGZoomEventImpl.cpp:
              (SVGZoomEventImpl::SVGZoomEventImpl):
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (KCanvasRenderingStyle::updateFill):
              (KCanvasRenderingStyle::updateStroke):
              (KCanvasRenderingStyle::startMarker):
              (KCanvasRenderingStyle::midMarker):
              (KCanvasRenderingStyle::endMarker):
              (KCanvasRenderingStyle::filter):
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              (SVGTimer::notifyAll):
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              (SVGAnimateColorElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateElementImpl.cpp:
              (SVGAnimateElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              (SVGAnimationElementImpl::targetAttribute):
              (SVGAnimationElementImpl::setTargetAttribute):
              * ksvg2/svg/SVGAnimationElementImpl.h:
              * ksvg2/svg/SVGCursorElementImpl.cpp: Added.
              (SVGCursorElementImpl::SVGCursorElementImpl):
              (SVGCursorElementImpl::~SVGCursorElementImpl):
              (SVGCursorElementImpl::x):
              (SVGCursorElementImpl::y):
              (SVGCursorElementImpl::parseAttribute):
              (SVGCursorElementImpl::notifyFinished):
              * ksvg2/svg/SVGCursorElementImpl.h: Added.
              (KSVG::SVGCursorElementImpl::pixmap):
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              (SVGDOMImplementationImpl::hasFeature):
              (SVGDOMImplementationImpl::createDocumentType):
              (SVGDOMImplementationImpl::createDocument):
              (SVGDOMImplementationImpl::typeToId):
              (SVGDOMImplementationImpl::idToType):
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (SVGDocumentImpl::SVGDocumentImpl):
              (SVGDocumentImpl::createSVGElement):
              (SVGDocumentImpl::createElement):
              (SVGDocumentImpl::createElementNS):
              (SVGDocumentImpl::createEvent):
              (SVGDocumentImpl::notifyFinished):
              (SVGDocumentImpl::defaultNS):
              (SVGDocumentImpl::executeScripts):
              (SVGDocumentImpl::prepareMouseEvent):
              (SVGDocumentImpl::dispatchUIEvent):
              (SVGDocumentImpl::dispatchMouseEvent):
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGElementImpl.cpp:
              (SVGElementImpl::getId):
              (SVGElementImpl::xmlbase):
              (SVGElementImpl::tryGetAttribute):
              (SVGElementImpl::tryGetAttributeNS):
              (SVGElementImpl::parseAttribute):
              (SVGElementImpl::addSVGEventListener):
              * ksvg2/svg/SVGElementImpl.h:
              * ksvg2/svg/SVGGradientElementImpl.cpp:
              (SVGGradientElementImpl::parseAttribute):
              * ksvg2/svg/SVGHelper.cpp:
              (SVGHelper::PercentageOfViewport):
              * ksvg2/svg/SVGImageElementImpl.cpp:
              (SVGImageElementImpl::notifyFinished):
              * ksvg2/svg/SVGLengthListImpl.cpp:
              (SVGLengthListImpl::parse):
              * ksvg2/svg/SVGLinearGradientElementImpl.cpp:
              (SVGLinearGradientElementImpl::x2):
              * ksvg2/svg/SVGMatrixImpl.cpp:
              (SVGMatrixImpl::SVGMatrixImpl):
              (SVGMatrixImpl::postMultiply):
              (SVGMatrixImpl::postTranslate):
              (SVGMatrixImpl::postScale):
              (SVGMatrixImpl::postScaleNonUniform):
              (SVGMatrixImpl::postRotate):
              (SVGMatrixImpl::postRotateFromVector):
              (SVGMatrixImpl::postFlipX):
              (SVGMatrixImpl::postFlipY):
              (SVGMatrixImpl::postSkewX):
              (SVGMatrixImpl::postSkewY):
              (SVGMatrixImpl::multiply):
              (SVGMatrixImpl::setMatrix):
              (SVGMatrixImpl::qmatrix):
              * ksvg2/svg/SVGMatrixImpl.h:
              * ksvg2/svg/SVGPatternElementImpl.cpp:
              (SVGPatternElementImpl::parseAttribute):
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              (SVGSVGElementImpl::width):
              (SVGSVGElementImpl::height):
              (SVGSVGElementImpl::contentScriptType):
              (SVGSVGElementImpl::contentStyleType):
              (SVGSVGElementImpl::setContentStyleType):
              (SVGSVGElementImpl::createEvent):
              * ksvg2/svg/SVGSVGElementImpl.h:
              * ksvg2/svg/SVGScriptElementImpl.cpp:
              (SVGScriptElementImpl::parseAttribute):
              (SVGScriptElementImpl::executeScript):
              * ksvg2/svg/SVGScriptElementImpl.h:
              * ksvg2/svg/SVGSetElementImpl.cpp:
              (SVGSetElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGStyleElementImpl.cpp:
              (SVGStyleElementImpl::xmlspace):
              (SVGStyleElementImpl::type):
              (SVGStyleElementImpl::media):
              (SVGStyleElementImpl::title):
              (SVGStyleElementImpl::childrenChanged):
              * ksvg2/svg/SVGStyledElementImpl.cpp:
              (SVGStyledElementImpl::attach):
              * ksvg2/svg/SVGTransformableImpl.cpp:
              (SVGTransformableImpl::updateSubtreeMatrices):
              (SVGTransformableImpl::parseAttribute):
              (SVGTransformableImpl::parseTransformAttribute):
              * ksvg2/svg/SVGTransformableImpl.h:
              * kwq/KWQNamespace.h:
              (Qt::): Added LayoutDirection for Qt4 support
              * kwq/KWQWMatrix.h: #define mapping QMatrix to QWMatrix
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7b0e9b8
  11. 07 Sep, 2005 3 commits
    • ggaren's avatar
      -added layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=4781 · 09a70254
      ggaren authored
              Date.setMonth fails with big values due to overflow
      
              Fix is in JavaScriptCore.
      
              Test cases added:
      
              * layout-tests/fast/js/date-big-setmonth-expected.txt: Added.
              * layout-tests/fast/js/date-big-setmonth.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09a70254
    • vicki's avatar
      Reviewed by Justin. · a286d2f5
      vicki authored
              - fix <rdar://problem/4246096> REGRESSION links to named anchors don't scroll to the right place (4825)
      
              This is really just a better fix for 4233844. Also consolidated manual-tests/scrollToAnchorWithNewline.html
      	and the test case from Bugzilla bug 4825 into manual-tests/scrollToAnchor.html.
      
              Test cases added:
              * manual-tests/scrollToAnchor.html: Added.
      
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::ContainerNodeImpl::getUpperLeftCorner): when calculating scroll position, skip child nodes of the anchor
              if they do not have text boxes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a286d2f5
    • eseidel's avatar
      Bug #: 4868 · 8ef8e05d
      eseidel authored
      Submitted by: Tobias Lidskog <tobiaslidskog@mac.com>
      Reviewed by: eseidel
              * kcanvas/KCanvasCreator.cpp:
              (KCanvasCreator::createCanvasPathData):
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (KRenderingDeviceQuartz::contextForImage):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (KRenderingPaintServerGradientQuartz::updateQuartzGradientCache):
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (SVGDocumentImpl::~SVGDocumentImpl):
              Fixed several leaks.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=4868
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ef8e05d
  12. 06 Sep, 2005 3 commits
    • darin's avatar
      Reviewed by John Sullivan. · cfc43863
      darin authored
              - fixed storage leaks; one of the leaks caused these 3 bugs:
      
              <rdar://problem/4231952> leaks of DOMStringImpl called from HTMLTokenizer::processToken, seen running WebKit tests
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=4797>
      
              <rdar://problem/4233800> leak inside DOM::DocumentImpl::DocumentImpl, seen running webkit tests
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=4795>
      
              <rdar://problem/4232812> leaks of NodeImpl called from HTMLParser::textCreateErrorCheck, seen running webkit tests
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=4796>
      
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::setOuterHTML): Put ref/deref around call to replaceChild to avoid leaking the node being replaced.
              (HTMLElementImpl::setOuterText): Put ref/deref around call to replaceChild to avoid leaking the node being replaced.
              Also changed removeChild calls to use remove instead, both for simplicity and to fix the leak without having
              to add a SharedPtr or ref/deref pair.
      
              * khtml/html/html_tableimpl.cpp:
              (DOM::HTMLTableElementImpl::setCaption): Put ref/deref around call to replaceChild to avoid leaking the node being
              replaced.
              (DOM::HTMLTableElementImpl::setTHead): Ditto.
              (DOM::HTMLTableElementImpl::setTFoot): Ditto.
              (DOM::HTMLTableElementImpl::setTBody): Tweaked a bit to match the other functions as closely as possible.
              No leak here.
      
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::remove): Added ref/deref to avoid leaking the node being removed.
              (DOM::NodeImpl::normalize): Changed two calls to removeChild to calls to remove to prevent leaks.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfc43863
    • justing's avatar
      Reviewed by harrison · a8e2408d
      justing authored
              Fixes <rdar://problem/3976872> REGRESSION (Mail): Pasted lines of plain text don't get the proper style if pasted into newlines
      
              For style matched paste, style information was gathered incorrectly.
      
              Test cases added:
              * layout-tests/editing/pasteboard/3976872-expected.txt: Added.
              * layout-tests/editing/pasteboard/3976872.html: Added.
      
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplaceSelectionCommand::doApply):
              Even though the startBlock (selection.start().node()->enclosingBlockFlowElement) is where manipulation
              begins on a paste, it can be missing necessary style information.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8e2408d
    • eseidel's avatar
      Bug #: 4864 · eae32a37
      eseidel authored
      Submitted by: Tobias Lidskog <tobiaslidskog@mac.com>
      Reviewed by: eseidel
              Don't create empty fill/stroke servers if fill/stroke
              are specified as "none".
              http://bugzilla.opendarwin.org/show_bug.cgi?id=4864
      
              Test cases updated:
              * svg-tests/W3C-SVG-1.1/Resources/animation-add-BE-09-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image1-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image2-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image3-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/coords-units-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/filters-blend-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/filters-color-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/filters-composite-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/filters-conv-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/filters-diffuse-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/filters-example-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/interact-dom-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/interact-order-02-b-targ-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/interact-order-03-b-targ-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/linking-uri-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/linkingCircle-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/linkingToc-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/paths-data-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/paths-data-02-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/paths-data-03-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/paths-data-04-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/rects-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/rects_b-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/shapes-ellipse-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/shapes-ellipse-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/shapes-rect-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/shapes-rect-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/struct-frag-01-B-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-align-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-align-02-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-align-03-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-altglyph-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-extTref-BE-18-targ-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-intro-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-tref-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/text-ws-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/toc-sv-expected.txt:
              * svg-tests/W3C-SVG-1.1/Resources/toc-svcmp-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-05-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-06-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-07-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-09-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-10-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-11-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-12-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-13-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-14-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-15-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-16-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-17-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-18-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-19-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-20-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-22-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-25-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-27-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/color-prof-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/color-prop-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/color-prop-02-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/color-prop-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-trans-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-trans-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-trans-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-trans-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-trans-05-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-trans-06-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-units-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-units-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-units-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/extend-namespace-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-blend-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-color-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-composite-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-conv-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-example-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-gauss-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-image-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-light-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-offset-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-specular-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-tile-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/filters-turb-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/interact-dom-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/interact-events-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/interact-order-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/interact-order-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/interact-order-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/linking-a-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/linking-a-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/linking-a-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/linking-a-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/linking-uri-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/masking-opacity-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/masking-path-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/masking-path-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/masking-path-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/masking-path-04-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/masking-path-05-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-fill-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-fill-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-fill-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-fill-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-render-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-stroke-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-stroke-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-stroke-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/painting-stroke-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/paths-data-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/paths-data-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/paths-data-03-f-expected.txt:
              * svg-tests/W3C-SVG-1.1/paths-data-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/paths-data-05-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/paths-data-06-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/paths-data-07-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-07-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-09-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-10-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-elems-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-elems-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-elems-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-elems-06-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-elems-07-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-elems-08-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-groups-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/render-groups-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/script-handle-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/script-handle-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/script-handle-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/script-handle-04-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/shapes-line-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/shapes-rect-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-cond-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-cond-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-defs-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-dom-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-dom-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-dom-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-dom-04-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-dom-05-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-dom-06-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-group-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-group-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-image-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-image-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-image-03-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-image-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-image-05-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/struct-symbol-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/styling-css-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/styling-css-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/styling-css-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-align-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-align-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-align-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-align-04-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-align-05-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-align-06-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-deco-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-intro-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-intro-02-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-intro-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-intro-04-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-path-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-text-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-text-03-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-tref-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-ws-01-t-expected.txt:
              * svg-tests/W3C-SVG-1.1/text-ws-02-t-expected.txt:
      
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (KCanvasRenderingStyle::updateFill):
              (KCanvasRenderingStyle::updateStroke):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eae32a37
  13. 05 Sep, 2005 5 commits