1. 08 Apr, 2011 1 commit
    • dglazkov@chromium.org's avatar
      2011-04-05 Dimitri Glazkov <dglazkov@chromium.org> · 72e43ec9
      dglazkov@chromium.org authored
              Reviewed by Darin Adler.
      
              Move WheelEvent-dispatching logic into WheelEventDispatchMediator.
              https://bugs.webkit.org/show_bug.cgi?id=57642
      
              Covered by existing tests, no functional change.
      
              * dom/Event.cpp:
              * dom/Event.h:
              (WebCore::EventDispatchMediator::EventDispatchMediator): Added default
                  constructor.
              (WebCore::EventDispatchMediator::event): Inlined.
              (WebCore::EventDispatchMediator::setEvent): Added.
              * dom/EventDispatcher.cpp: Removed dispatchWheelEvent.
              * dom/EventDispatcher.h: Updated decls.
              * dom/Node.cpp:
              (WebCore::Node::dispatchWheelEvent): Changed to use the mediator and
                  return a bool, like other dispatch event functions.
              * dom/Node.h: Changed decl.
              * dom/WheelEvent.cpp:
              (WebCore::granularity): Moved from EventDispatcher.
              (WebCore::WheelEventDispatchMediator::WheelEventDisatchMediator): Added.
              (WebCore::WheelEventDispatchMediator::event): Added.
              (WebCore::WheelEventDispatchMediator::dispatchEvent): Added.
              * dom/WheelEvent.h: Updated decls.
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleWheelEvent): Changed to receive and react
                  to the return value.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72e43ec9
  2. 08 Jan, 2011 1 commit
  3. 02 Mar, 2010 1 commit
    • mrowe@apple.com's avatar
      WebCore: Add the capability to create and dispatch a WheelEvent in JavaScript. · 95c4eac6
      mrowe@apple.com authored
      Ensure the event's default handler is triggered in the same way as it is
      during a PlatformWheelEvent.
      
      Patch by Andy Estes <aestes@apple.com> on 2010-03-02
      Reviewed by Maciej Stachowiak.
      
      https://bugs.webkit.org/show_bug.cgi?id=35566
      
      Test: fast/events/wheelevent-in-scrolling-div.html
      
      * dom/Node.cpp: Ensure that the default behavior (scrolling) occurs for
      wheel events originating both from the platform and from
      JavaScript/ObjC.
      (WebCore::Node::dispatchWheelEvent): Instantiate new WheelEvent with
      the graunularity of the PlatformWheelEvent.
      (WebCore::Node::defaultEventHandler): Add support for mousewheel events.
      * dom/WheelEvent.cpp: Add three new member variables: m_deltaX, m_deltaY
      and m_granularity.  m_deltaX and m_deltaY differ from m_wheelDeltaX and
      m_wheelDeltaY, which are the number of wheel ticks multiplied by 120 for
      IE compatibility.
      (WebCore::WheelEvent::WheelEvent): Initialize new member variables.
      (WebCore::WheelEvent::initWheelEvent): Same.
      (WebCore::WheelEvent::initWebKitWheelEvent): Same.
      * dom/WheelEvent.h: See WheelEvent.cpp.
      (WebCore::WheelEvent::): Add Granularity enum (Pixel, Line, Page).
      (WebCore::WheelEvent::create): Add new arguments.
      (WebCore::WheelEvent::deltaX): Amount of scroll in x direction.
      (WebCore::WheelEvent::deltaY): Amount of scroll in y direction.
      (WebCore::WheelEvent::granularity): Units of deltaX and deltaY.
      * dom/WheelEvent.idl: Add initWebKitWheelEvent() to JavaScript.  This is
      the same as the initWheelEvent ObjC method.  As the DOM Level 3 Events
      specification is still a working draft and subject to change, prefix
      'WebKit' to the method signature to indicate experimental support.
      * page/EventHandler.cpp: Move the scroll handling from
      handleWheelEvent() to defaultWheelEventHandler(), which is executed on
      both PlatformWheelEvents and JavaScript WheelEvents.
      (WebCore::scrollNode): Renamed from scrollAndAcceptEvent().  Remove
      the PlatformWheelEvent from the argument list and instead return a
      boolean indicating if the scroll event was accepted.
      (WebCore::EventHandler::handleWheelEvent): Move scrolling code from here
      (WebCore::EventHandler::defaultWheelEventHandler): ...to here.
      * page/EventHandler.h: Add function signature.
      
      LayoutTests: Add a test for the patch to https://bugs.webkit.org/show_bug.cgi?id=35566.
      These can be run manually or from DRT.
      
      Patch by Andy Estes <aestes@apple.com> on 2010-03-02
      Reviewed by Maciej Stachowiak.
      
      * fast/events/wheelevent-in-scrolling-div-expected.txt: Added.
      * fast/events/wheelevent-in-scrolling-div.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95c4eac6
  4. 16 Mar, 2009 1 commit
    • pkasting@chromium.org's avatar
      2009-03-16 Peter Kasting <pkasting@google.com> · 0597751c
      pkasting@chromium.org authored
              Reviewed by David Hyatt.
      
              https://bugs.webkit.org/show_bug.cgi?id=24368
              DOM scroll events should be based off the actual number of wheel
              ticks, not off the number of lines scrolled.  This matches IE.
      
              * dom/Node.cpp:
              (WebCore::Node::dispatchWheelEvent):
              * dom/WheelEvent.cpp:
              (WebCore::WheelEvent::WheelEvent):
              * dom/WheelEvent.h:
              (WebCore::WheelEvent::create):
              * platform/PlatformWheelEvent.h:
              (WebCore::PlatformWheelEvent::wheelTicksX):
              (WebCore::PlatformWheelEvent::wheelTicksY):
              * platform/gtk/WheelEventGtk.cpp:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
              * platform/mac/WheelEventMac.mm:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
              * platform/qt/WheelEventQt.cpp:
              * platform/win/WheelEventWin.cpp:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
              * platform/wx/MouseWheelEventWx.cpp:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0597751c
  5. 14 Jun, 2008 1 commit
    • darin@apple.com's avatar
      WebCore: · 48ac3c40
      darin@apple.com authored
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Reviewed by Sam.
      
              - more work on https://bugs.webkit.org/show_bug.cgi?id=17257
                start ref counts at 1 instead of 0 for speed
      
              * WebCore.base.exp:
              * bindings/js/JSSVGMatrixCustom.cpp:
              (WebCore::JSSVGMatrix::multiply):
              (WebCore::JSSVGMatrix::inverse):
              (WebCore::JSSVGMatrix::translate):
              (WebCore::JSSVGMatrix::scale):
              (WebCore::JSSVGMatrix::scaleNonUniform):
              (WebCore::JSSVGMatrix::rotate):
              (WebCore::JSSVGMatrix::rotateFromVector):
              (WebCore::JSSVGMatrix::flipX):
              (WebCore::JSSVGMatrix::flipY):
              (WebCore::JSSVGMatrix::skewX):
              (WebCore::JSSVGMatrix::skewY):
              * bindings/js/JSSVGPODTypeWrapper.h:
              (WebCore::JSSVGPODTypeWrapperCreatorReadWrite::create):
              (WebCore::JSSVGPODTypeWrapperCreatorReadWrite::JSSVGPODTypeWrapperCreatorReadWrite):
              (WebCore::JSSVGPODTypeWrapperCreatorReadOnly::create):
              (WebCore::JSSVGPODTypeWrapperCreatorReadOnly::JSSVGPODTypeWrapperCreatorReadOnly):
              (WebCore::JSSVGPODTypeWrapperCreatorForList::create):
              (WebCore::JSSVGPODTypeWrapperCreatorForList::JSSVGPODTypeWrapperCreatorForList):
              (WebCore::JSSVGPODTypeWrapperCache::lookupOrCreateWrapper):
              (WebCore::JSSVGPODTypeWrapperCache::forgetWrapper):
              * bindings/js/JSSVGPointListCustom.cpp:
              (WebCore::finishGetter):
              (WebCore::finishSetter):
              (WebCore::finishSetterReadOnlyResult):
              (WebCore::JSSVGPointList::clear):
              (WebCore::JSSVGPointList::initialize):
              (WebCore::JSSVGPointList::getItem):
              (WebCore::JSSVGPointList::insertItemBefore):
              (WebCore::JSSVGPointList::replaceItem):
              (WebCore::JSSVGPointList::removeItem):
              (WebCore::JSSVGPointList::appendItem):
              * bindings/js/JSSVGTransformListCustom.cpp:
              (WebCore::finishGetter):
              (WebCore::finishSetter):
              (WebCore::finishSetterReadOnlyResult):
              (WebCore::JSSVGTransformList::clear):
              (WebCore::JSSVGTransformList::initialize):
              (WebCore::JSSVGTransformList::getItem):
              (WebCore::JSSVGTransformList::insertItemBefore):
              (WebCore::JSSVGTransformList::replaceItem):
              (WebCore::JSSVGTransformList::removeItem):
              (WebCore::JSSVGTransformList::appendItem):
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/CSSFontSelector.cpp:
              (WebCore::CSSFontSelector::CSSFontSelector):
              (WebCore::CSSFontSelector::~CSSFontSelector):
              * css/CSSFontSelector.h:
              (WebCore::CSSFontSelector::create):
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              (WebCore::CSSStyleSelector::applyProperty):
              * dom/Attribute.cpp:
              (WebCore::Attribute::clone):
              * dom/Attribute.h:
              (WebCore::Attribute::create):
              (WebCore::Attribute::Attribute):
              * dom/BeforeTextInsertedEvent.h:
              (WebCore::BeforeTextInsertedEvent::create):
              * dom/BeforeUnloadEvent.h:
              (WebCore::BeforeUnloadEvent::create):
              * dom/CharacterData.cpp:
              (WebCore::CharacterData::dispatchModifiedEvent):
              * dom/ClipboardEvent.cpp:
              (WebCore::ClipboardEvent::ClipboardEvent):
              * dom/ClipboardEvent.h:
              (WebCore::ClipboardEvent::create):
              * dom/ContainerNode.cpp:
              (WebCore::ContainerNode::removeChild):
              (WebCore::dispatchChildInsertionEvents):
              (WebCore::dispatchChildRemovalEvents):
              * dom/Document.cpp:
              (WebCore::Document::createTextNode):
              (WebCore::Document::createComment):
              (WebCore::Document::createCDATASection):
              (WebCore::Document::createProcessingInstruction):
              (WebCore::Document::createEntityReference):
              (WebCore::Document::createEditingTextNode):
              (WebCore::Document::createEvent):
              (WebCore::Document::createAttributeNS):
              (WebCore::Document::finishedParsing):
              * dom/Document.h:
              * dom/Element.cpp:
              (WebCore::Element::createAttribute):
              * dom/Element.h:
              * dom/Event.cpp:
              (WebCore::Event::Event):
              * dom/Event.h:
              (WebCore::Event::create):
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::dispatchSubtreeModifiedEvent):
              (WebCore::EventTargetNode::dispatchWindowEvent):
              (WebCore::EventTargetNode::dispatchUIEvent):
              (WebCore::EventTargetNode::dispatchKeyEvent):
              (WebCore::EventTargetNode::dispatchMouseEvent):
              (WebCore::EventTargetNode::dispatchWheelEvent):
              (WebCore::EventTargetNode::dispatchHTMLEvent):
              (WebCore::EventTargetNode::dispatchProgressEvent):
              (WebCore::EventTargetNode::dispatchStorageEvent):
              * dom/KeyboardEvent.h:
              (WebCore::KeyboardEvent::create):
              * dom/MappedAttribute.cpp:
              (WebCore::MappedAttribute::clone):
              * dom/MappedAttribute.h:
              (WebCore::MappedAttribute::create):
              (WebCore::MappedAttribute::setDecl):
              (WebCore::MappedAttribute::MappedAttribute):
              * dom/MessageEvent.cpp:
              (WebCore::MessageEvent::MessageEvent):
              * dom/MessageEvent.h:
              (WebCore::MessageEvent::create):
              * dom/MouseEvent.cpp:
              (WebCore::MouseEvent::MouseEvent):
              (WebCore::MouseEvent::initMouseEvent):
              * dom/MouseEvent.h:
              (WebCore::MouseEvent::create):
              * dom/MouseRelatedEvent.cpp:
              (WebCore::MouseRelatedEvent::MouseRelatedEvent):
              * dom/MouseRelatedEvent.h:
              * dom/MutationEvent.cpp:
              (WebCore::MutationEvent::MutationEvent):
              (WebCore::MutationEvent::initMutationEvent):
              * dom/MutationEvent.h:
              (WebCore::MutationEvent::create):
              * dom/OverflowEvent.h:
              (WebCore::OverflowEvent::create):
              * dom/ProgressEvent.h:
              (WebCore::ProgressEvent::create):
              * dom/StyledElement.cpp:
              (WebCore::StyledElement::getMappedAttributeDecl):
              (WebCore::StyledElement::setMappedAttributeDecl):
              (WebCore::StyledElement::removeMappedAttributeDecl):
              (WebCore::StyledElement::createAttribute):
              * dom/StyledElement.h:
              * dom/TextEvent.cpp:
              (WebCore::TextEvent::TextEvent):
              (WebCore::TextEvent::initTextEvent):
              * dom/TextEvent.h:
              (WebCore::TextEvent::create):
              * dom/UIEvent.cpp:
              (WebCore::UIEvent::UIEvent):
              (WebCore::UIEvent::initUIEvent):
              * dom/UIEvent.h:
              (WebCore::UIEvent::create):
              * dom/UIEventWithKeyState.h:
              (WebCore::UIEventWithKeyState::ctrlKey):
              (WebCore::UIEventWithKeyState::shiftKey):
              (WebCore::UIEventWithKeyState::altKey):
              (WebCore::UIEventWithKeyState::metaKey):
              (WebCore::UIEventWithKeyState::UIEventWithKeyState):
              * dom/WheelEvent.cpp:
              (WebCore::WheelEvent::WheelEvent):
              (WebCore::WheelEvent::initWheelEvent):
              * dom/WheelEvent.h:
              (WebCore::WheelEvent::create):
              * editing/AppendNodeCommand.cpp:
              (WebCore::AppendNodeCommand::AppendNodeCommand):
              * editing/AppendNodeCommand.h:
              (WebCore::AppendNodeCommand::create):
              * editing/ApplyStyleCommand.cpp:
              (WebCore::ApplyStyleCommand::applyBlockStyle):
              * editing/ApplyStyleCommand.h:
              (WebCore::ApplyStyleCommand::create):
              * editing/BreakBlockquoteCommand.h:
              (WebCore::BreakBlockquoteCommand::create):
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::applyStyle):
              (WebCore::CompositeEditCommand::applyStyledElement):
              (WebCore::CompositeEditCommand::removeStyledElement):
              (WebCore::CompositeEditCommand::insertParagraphSeparator):
              (WebCore::CompositeEditCommand::insertLineBreak):
              (WebCore::CompositeEditCommand::insertNodeBefore):
              (WebCore::CompositeEditCommand::appendNode):
              (WebCore::CompositeEditCommand::removeNode):
              (WebCore::CompositeEditCommand::removeNodePreservingChildren):
              (WebCore::CompositeEditCommand::splitTextNode):
              (WebCore::CompositeEditCommand::splitElement):
              (WebCore::CompositeEditCommand::mergeIdenticalElements):
              (WebCore::CompositeEditCommand::wrapContentsInDummySpan):
              (WebCore::CompositeEditCommand::splitTextNodeContainingElement):
              (WebCore::CompositeEditCommand::joinTextNodes):
              (WebCore::CompositeEditCommand::inputText):
              (WebCore::CompositeEditCommand::insertTextIntoNode):
              (WebCore::CompositeEditCommand::deleteTextFromNode):
              (WebCore::CompositeEditCommand::replaceTextInNode):
              (WebCore::CompositeEditCommand::deleteSelection):
              (WebCore::CompositeEditCommand::removeCSSProperty):
              (WebCore::CompositeEditCommand::removeNodeAttribute):
              (WebCore::CompositeEditCommand::setNodeAttribute):
              (WebCore::CompositeEditCommand::appendBlockPlaceholder):
              (WebCore::CompositeEditCommand::insertBlockPlaceholder):
              (WebCore::CompositeEditCommand::addBlockPlaceholderIfNeeded):
              (WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
              (WebCore::CompositeEditCommand::moveParagraphs):
              (WebCore::CompositeEditCommand::splitTreeToNode):
              * editing/CompositeEditCommand.h:
              (WebCore::CompositeEditCommand::isFirstCommand):
              * editing/CreateLinkCommand.h:
              (WebCore::CreateLinkCommand::create):
              * editing/DeleteButtonController.cpp:
              (WebCore::DeleteButtonController::deleteTarget):
              * editing/DeleteFromTextNodeCommand.cpp:
              (WebCore::DeleteFromTextNodeCommand::DeleteFromTextNodeCommand):
              * editing/DeleteFromTextNodeCommand.h:
              (WebCore::DeleteFromTextNodeCommand::create):
              * editing/DeleteSelectionCommand.h:
              (WebCore::DeleteSelectionCommand::create):
              * editing/EditCommand.h:
              (WebCore::SimpleEditCommand::SimpleEditCommand):
              * editing/Editor.cpp:
              (WebCore::Editor::deleteSelectionWithSmartDelete):
              (WebCore::Editor::replaceSelectionWithFragment):
              (WebCore::Editor::removeFormattingAndStyle):
              (WebCore::Editor::clearLastEditCommand):
              (WebCore::Editor::dispatchCPPEvent):
              (WebCore::Editor::applyStyle):
              (WebCore::Editor::applyParagraphStyle):
              (WebCore::Editor::indent):
              (WebCore::Editor::outdent):
              (WebCore::dispatchEditableContentChangedEvents):
              * editing/Editor.h:
              * editing/EditorCommand.cpp:
              (WebCore::executeInsertFragment):
              (WebCore::executeCreateLink):
              (WebCore::executeFormatBlock):
              (WebCore::executeIndent):
              (WebCore::executeInsertOrderedList):
              (WebCore::executeInsertUnorderedList):
              (WebCore::executeOutdent):
              (WebCore::executeUnlink):
              * editing/FormatBlockCommand.h:
              (WebCore::FormatBlockCommand::create):
              * editing/IndentOutdentCommand.cpp:
              (WebCore::IndentOutdentCommand::indentRegion):
              (WebCore::IndentOutdentCommand::outdentParagraph):
              * editing/IndentOutdentCommand.h:
              (WebCore::IndentOutdentCommand::create):
              * editing/InsertIntoTextNodeCommand.cpp:
              (WebCore::InsertIntoTextNodeCommand::InsertIntoTextNodeCommand):
              * editing/InsertIntoTextNodeCommand.h:
              (WebCore::InsertIntoTextNodeCommand::create):
              * editing/InsertLineBreakCommand.h:
              (WebCore::InsertLineBreakCommand::create):
              * editing/InsertListCommand.cpp:
              (WebCore::InsertListCommand::doApply):
              * editing/InsertListCommand.h:
              (WebCore::InsertListCommand::create):
              * editing/InsertNodeBeforeCommand.cpp:
              (WebCore::InsertNodeBeforeCommand::InsertNodeBeforeCommand):
              * editing/InsertNodeBeforeCommand.h:
              (WebCore::InsertNodeBeforeCommand::create):
              * editing/InsertParagraphSeparatorCommand.cpp:
              (WebCore::InsertParagraphSeparatorCommand::doApply):
              * editing/InsertParagraphSeparatorCommand.h:
              (WebCore::InsertParagraphSeparatorCommand::create):
              * editing/InsertTextCommand.h:
              (WebCore::InsertTextCommand::create):
              * editing/JoinTextNodesCommand.cpp:
              (WebCore::JoinTextNodesCommand::JoinTextNodesCommand):
              * editing/JoinTextNodesCommand.h:
              (WebCore::JoinTextNodesCommand::create):
              * editing/MergeIdenticalElementsCommand.cpp:
              (WebCore::MergeIdenticalElementsCommand::MergeIdenticalElementsCommand):
              * editing/MergeIdenticalElementsCommand.h:
              (WebCore::MergeIdenticalElementsCommand::create):
              * editing/ModifySelectionListLevel.cpp:
              (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevelWithType):
              * editing/MoveSelectionCommand.cpp:
              (WebCore::MoveSelectionCommand::doApply):
              * editing/MoveSelectionCommand.h:
              (WebCore::MoveSelectionCommand::create):
              * editing/RemoveCSSPropertyCommand.cpp:
              (WebCore::RemoveCSSPropertyCommand::RemoveCSSPropertyCommand):
              * editing/RemoveCSSPropertyCommand.h:
              (WebCore::RemoveCSSPropertyCommand::create):
              * editing/RemoveFormatCommand.h:
              (WebCore::RemoveFormatCommand::create):
              * editing/RemoveNodeAttributeCommand.cpp:
              (WebCore::RemoveNodeAttributeCommand::RemoveNodeAttributeCommand):
              * editing/RemoveNodeAttributeCommand.h:
              (WebCore::RemoveNodeAttributeCommand::create):
              * editing/RemoveNodeCommand.cpp:
              (WebCore::RemoveNodeCommand::RemoveNodeCommand):
              * editing/RemoveNodeCommand.h:
              (WebCore::RemoveNodeCommand::create):
              * editing/RemoveNodePreservingChildrenCommand.cpp:
              (WebCore::RemoveNodePreservingChildrenCommand::RemoveNodePreservingChildrenCommand):
              (WebCore::RemoveNodePreservingChildrenCommand::doApply):
              * editing/RemoveNodePreservingChildrenCommand.h:
              (WebCore::RemoveNodePreservingChildrenCommand::create):
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::):
              (WebCore::ReplacementFragment::hasInterchangeNewlineAtStart):
              (WebCore::ReplacementFragment::hasInterchangeNewlineAtEnd):
              (WebCore::ReplacementFragment::ReplacementFragment):
              * editing/ReplaceSelectionCommand.h:
              (WebCore::ReplaceSelectionCommand::create):
              * editing/SetNodeAttributeCommand.cpp:
              (WebCore::SetNodeAttributeCommand::SetNodeAttributeCommand):
              * editing/SetNodeAttributeCommand.h:
              (WebCore::SetNodeAttributeCommand::create):
              * editing/SplitElementCommand.cpp:
              (WebCore::SplitElementCommand::SplitElementCommand):
              * editing/SplitElementCommand.h:
              (WebCore::SplitElementCommand::create):
              * editing/SplitTextNodeCommand.cpp:
              (WebCore::SplitTextNodeCommand::SplitTextNodeCommand):
              * editing/SplitTextNodeCommand.h:
              (WebCore::SplitTextNodeCommand::create):
              * editing/SplitTextNodeContainingElementCommand.cpp:
              (WebCore::SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand):
              * editing/SplitTextNodeContainingElementCommand.h:
              (WebCore::SplitTextNodeContainingElementCommand::create):
              * editing/TypingCommand.cpp:
              (WebCore::TypingCommand::deleteSelection):
              (WebCore::TypingCommand::deleteKeyPressed):
              (WebCore::TypingCommand::forwardDeleteKeyPressed):
              (WebCore::TypingCommand::insertText):
              (WebCore::TypingCommand::insertLineBreak):
              (WebCore::TypingCommand::insertParagraphSeparatorInQuotedContent):
              (WebCore::TypingCommand::insertParagraphSeparator):
              (WebCore::TypingCommand::insertTextRunWithoutNewlines):
              * editing/TypingCommand.h:
              (WebCore::TypingCommand::create):
              (WebCore::TypingCommand::smartDelete):
              * editing/UnlinkCommand.h:
              (WebCore::UnlinkCommand::create):
              * editing/WrapContentsInDummySpanCommand.cpp:
              (WebCore::WrapContentsInDummySpanCommand::WrapContentsInDummySpanCommand):
              * editing/WrapContentsInDummySpanCommand.h:
              (WebCore::WrapContentsInDummySpanCommand::create):
              * html/HTMLTableElement.cpp:
              (WebCore::HTMLTableElement::additionalAttributeStyleDecls):
              (WebCore::HTMLTableElement::addSharedCellBordersDecl):
              (WebCore::HTMLTableElement::addSharedCellPaddingDecl):
              (WebCore::HTMLTableElement::addSharedGroupDecls):
              * html/HTMLTokenizer.cpp:
              (WebCore::Token::addAttribute):
              * html/HTMLViewSourceDocument.cpp:
              (WebCore::HTMLViewSourceDocument::createContainingTable):
              (WebCore::HTMLViewSourceDocument::addSpanWithClassName):
              (WebCore::HTMLViewSourceDocument::addLine):
              (WebCore::HTMLViewSourceDocument::addLink):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::didOpenURL):
              * loader/appcache/DOMApplicationCache.cpp:
              (WebCore::DOMApplicationCache::callListener):
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::contextMenuItemSelected):
              * page/DOMWindow.cpp:
              (WebCore::PostMessageTimer::PostMessageTimer):
              (WebCore::PostMessageTimer::fired):
              (WebCore::DOMWindow::postMessage):
              * page/DragController.cpp:
              (WebCore::DragController::concludeDrag):
              * page/EventHandler.cpp:
              (WebCore::EventHandler::dispatchDragEvent):
              (WebCore::EventHandler::keyEvent):
              (WebCore::EventHandler::handleTextInputEvent):
              * page/Frame.cpp:
              (WebCore::Frame::computeAndSetTypingStyle):
              (WebCore::Frame::shouldClose):
              * page/FrameView.cpp:
              (WebCore::FrameView::updateOverflowStatus):
              * page/mac/EventHandlerMac.mm:
              (WebCore::EventHandler::currentKeyboardEvent):
              * page/mac/FrameMac.mm:
              * platform/DeprecatedValueListImpl.cpp:
              (WebCore::DeprecatedValueListImpl::Private::Private):
              (WebCore::DeprecatedValueListImpl::DeprecatedValueListImpl):
              (WebCore::DeprecatedValueListImpl::copyOnWrite):
              * platform/graphics/FontSelector.h:
              * platform/graphics/GlyphPageTreeNode.cpp:
              (WebCore::GlyphPageTreeNode::initializePage):
              * platform/graphics/GlyphPageTreeNode.h:
              (WebCore::GlyphPage::create):
              (WebCore::GlyphPage::GlyphPage):
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::scrollToOffset):
              (WebCore::RenderLayer::updateOverflowStatus):
              (WebCore::RenderLayer::updateReflectionStyle):
              * rendering/style/RenderStyle.h:
              (WebCore::TransformOperation::~TransformOperation):
              (WebCore::ScaleTransformOperation::create):
              (WebCore::ScaleTransformOperation::ScaleTransformOperation):
              (WebCore::RotateTransformOperation::create):
              (WebCore::RotateTransformOperation::RotateTransformOperation):
              (WebCore::SkewTransformOperation::create):
              (WebCore::SkewTransformOperation::operator==):
              (WebCore::SkewTransformOperation::SkewTransformOperation):
              (WebCore::TranslateTransformOperation::create):
              (WebCore::TranslateTransformOperation::operator==):
              (WebCore::TranslateTransformOperation::TranslateTransformOperation):
              (WebCore::MatrixTransformOperation::create):
              (WebCore::MatrixTransformOperation::MatrixTransformOperation):
              (WebCore::StyleReflection::create):
              (WebCore::StyleReflection::StyleReflection):
              * storage/StorageEvent.cpp:
              (WebCore::StorageEvent::StorageEvent):
              (WebCore::StorageEvent::initStorageEvent):
              * storage/StorageEvent.h:
              (WebCore::StorageEvent::create):
              (WebCore::StorageEvent::StorageEvent):
              * svg/SVGAngle.cpp:
              (WebCore::SVGAngle::SVGAngle):
              * svg/SVGAngle.h:
              (WebCore::SVGAngle::create):
              * svg/SVGAnimatedTemplate.h:
              (WebCore::SVGAnimatedTemplate::SVGAnimatedTemplate):
              (WebCore::lookupOrCreateWrapper):
              * svg/SVGElement.cpp:
              (WebCore::SVGElement::sendSVGLoadEventIfPossible):
              * svg/SVGElement.h:
              * svg/SVGMarkerElement.cpp:
              (WebCore::SVGMarkerElement::SVGMarkerElement):
              (WebCore::SVGMarkerElement::parseMappedAttribute):
              (WebCore::SVGMarkerElement::setOrientToAngle):
              * svg/SVGMarkerElement.h:
              * svg/SVGSVGElement.cpp:
              (WebCore::SVGSVGElement::createSVGAngle):
              * svg/SVGSVGElement.h:
              * svg/SVGZoomEvent.h:
              (WebCore::SVGZoomEvent::create):
              * svg/graphics/SVGImage.cpp:
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::callReadyStateChangeListener):
              (WebCore::XMLHttpRequest::dispatchProgressEvent):
              * xml/XMLHttpRequestProgressEvent.cpp:
              * xml/XMLHttpRequestProgressEvent.h:
              (WebCore::XMLHttpRequestProgressEvent::create):
              (WebCore::XMLHttpRequestProgressEvent::position):
              (WebCore::XMLHttpRequestProgressEvent::totalSize):
              (WebCore::XMLHttpRequestProgressEvent::XMLHttpRequestProgressEvent):
      
      WebKit/mac:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Reviewed by Sam.
      
              - more work on https://bugs.webkit.org/show_bug.cgi?id=17257
                start ref counts at 1 instead of 0 for speed
      
              * WebView/WebFrame.mm:
              (-[WebFrame _replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
              * WebView/WebPDFView.mm:
              (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48ac3c40
  6. 25 Sep, 2007 1 commit
    • ddkilzer's avatar
      JavaScriptCore: · c8eccecd
      ddkilzer authored
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * COPYING.LIB:
              * bindings/testbindings.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/DateMath.cpp:
              * kjs/PropertyNameArray.cpp:
              * kjs/PropertyNameArray.h:
              * kjs/config.h:
      
      WebCore:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * LICENSE-LGPL-2:
              * LICENSE-LGPL-2.1:
              * WebCorePrefix.h:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCondition.h:
              * bindings/js/JSNodeIteratorCustom.cpp:
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGMatrixCustom.cpp:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSSVGPathSegListCustom.cpp:
              * bindings/js/JSSVGPointListCustom.cpp:
              * bindings/js/JSTreeWalkerCustom.cpp:
              * bindings/js/JSXMLHttpRequest.cpp:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.cpp:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.cpp:
              * bindings/objc/DOMImplementationFront.h:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * bindings/scripts/IDLParser.pm:
              * bindings/scripts/IDLStructure.pm:
              * bindings/scripts/generate-bindings.pl:
              * config.h:
              * css/CSSBorderImageValue.cpp:
              * css/CSSBorderImageValue.h:
              * css/CSSCharsetRule.cpp:
              * css/CSSCharsetRule.h:
              * css/CSSCharsetRule.idl:
              * css/CSSComputedStyleDeclaration.cpp:
              * css/CSSComputedStyleDeclaration.h:
              * css/CSSCursorImageValue.cpp:
              * css/CSSCursorImageValue.h:
              * css/CSSFontFaceRule.cpp:
              * css/CSSFontFaceRule.h:
              * css/CSSFontFaceRule.idl:
              * css/CSSGrammar.y:
              * css/CSSHelper.cpp:
              * css/CSSHelper.h:
              * css/CSSImageValue.cpp:
              * css/CSSImageValue.h:
              * css/CSSImportRule.cpp:
              * css/CSSImportRule.h:
              * css/CSSImportRule.idl:
              * css/CSSInheritedValue.cpp:
              * css/CSSInheritedValue.h:
              * css/CSSInitialValue.cpp:
              * css/CSSInitialValue.h:
              * css/CSSMediaRule.cpp:
              * css/CSSMediaRule.h:
              * css/CSSMediaRule.idl:
              * css/CSSMutableStyleDeclaration.cpp:
              * css/CSSMutableStyleDeclaration.h:
              * css/CSSNamespace.h:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/CSSPageRule.idl:
              * css/CSSParser.cpp:
              * css/CSSParser.h:
              * css/CSSPrimitiveValue.cpp:
              * css/CSSPrimitiveValue.h:
              * css/CSSPrimitiveValue.idl:
              * css/CSSProperty.cpp:
              * css/CSSProperty.h:
              * css/CSSQuirkPrimitiveValue.h:
              * css/CSSRule.cpp:
              * css/CSSRule.h:
              * css/CSSRule.idl:
              * css/CSSRuleList.cpp:
              * css/CSSRuleList.h:
              * css/CSSSelector.cpp:
              * css/CSSSelector.h:
              * css/CSSStyleDeclaration.cpp:
              * css/CSSStyleDeclaration.h:
              * css/CSSStyleDeclaration.idl:
              * css/CSSStyleRule.cpp:
              * css/CSSStyleRule.h:
              * css/CSSStyleRule.idl:
              * css/CSSStyleSelector.cpp:
              * css/CSSStyleSelector.h:
              * css/CSSStyleSheet.cpp:
              * css/CSSStyleSheet.h:
              * css/CSSStyleSheet.idl:
              * css/CSSUnknownRule.h:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.h:
              * css/CSSValue.idl:
              * css/CSSValueList.cpp:
              * css/CSSValueList.h:
              * css/Counter.h:
              * css/Counter.idl:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.cpp:
              * css/FontFamilyValue.h:
              * css/FontValue.cpp:
              * css/FontValue.h:
              * css/MediaFeatureNames.cpp:
              * css/MediaFeatureNames.h:
              * css/MediaList.cpp:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RGBColor.idl:
              * css/Rect.h:
              * css/Rect.idl:
              * css/ShadowValue.cpp:
              * css/ShadowValue.h:
              * css/StyleBase.cpp:
              * css/StyleBase.h:
              * css/StyleList.cpp:
              * css/StyleList.h:
              * css/StyleSheet.cpp:
              * css/StyleSheet.h:
              * css/StyleSheet.idl:
              * css/StyleSheetList.cpp:
              * css/StyleSheetList.h:
              * css/StyleSheetList.idl:
              * css/html4.css:
              * css/make-css-file-arrays.pl:
              * css/makegrammar.pl:
              * css/makeprop.pl:
              * css/maketokenizer:
              * css/makevalues.pl:
              * css/quirks.css:
              * dom/AtomicStringList.h:
              * dom/Attr.cpp:
              * dom/Attr.h:
              * dom/Attr.idl:
              * dom/Attribute.cpp:
              * dom/Attribute.h:
              * dom/BeforeUnloadEvent.cpp:
              * dom/BeforeUnloadEvent.h:
              * dom/CDATASection.cpp:
              * dom/CDATASection.h:
              * dom/CDATASection.idl:
              * dom/CSSMappedAttributeDeclaration.cpp:
              * dom/CSSMappedAttributeDeclaration.h:
              * dom/CharacterData.cpp:
              * dom/CharacterData.h:
              * dom/CharacterData.idl:
              * dom/ChildNodeList.cpp:
              * dom/ChildNodeList.h:
              * dom/Clipboard.h:
              * dom/ClipboardEvent.cpp:
              * dom/ClipboardEvent.h:
              * dom/Comment.cpp:
              * dom/Comment.h:
              * dom/Comment.idl:
              * dom/ContainerNode.cpp:
              * dom/ContainerNode.h:
              * dom/DOMImplementation.cpp:
              * dom/DOMImplementation.h:
              * dom/DOMImplementation.idl:
              * dom/DocPtr.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/Document.idl:
              * dom/DocumentFragment.cpp:
              * dom/DocumentFragment.h:
              * dom/DocumentFragment.idl:
              * dom/DocumentMarker.h:
              * dom/DocumentType.cpp:
              * dom/DocumentType.h:
              * dom/DocumentType.idl:
              * dom/EditingText.cpp:
              * dom/EditingText.h:
              * dom/Element.cpp:
              * dom/Element.h:
              * dom/Element.idl:
              * dom/Entity.cpp:
              * dom/Entity.h:
              * dom/Entity.idl:
              * dom/EntityReference.cpp:
              * dom/EntityReference.h:
              * dom/EntityReference.idl:
              * dom/Event.cpp:
              * dom/Event.h:
              * dom/Event.idl:
              * dom/EventListener.h:
              * dom/EventListener.idl:
              * dom/EventNames.cpp:
              * dom/EventNames.h:
              * dom/EventTarget.idl:
              * dom/EventTargetNode.cpp:
              * dom/EventTargetNode.h:
              * dom/ExceptionCode.h:
              * dom/KeyboardEvent.cpp:
              * dom/KeyboardEvent.h:
              * dom/KeyboardEvent.idl:
              * dom/MappedAttribute.cpp:
              * dom/MappedAttribute.h:
              * dom/MappedAttributeEntry.h:
              * dom/MouseEvent.cpp:
              * dom/MouseEvent.h:
              * dom/MouseEvent.idl:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/MutationEvent.cpp:
              * dom/MutationEvent.h:
              * dom/MutationEvent.idl:
              * dom/NameNodeList.cpp:
              * dom/NameNodeList.h:
              * dom/NamedAttrMap.cpp:
              * dom/NamedAttrMap.h:
              * dom/NamedMappedAttrMap.cpp:
              * dom/NamedMappedAttrMap.h:
              * dom/NamedNodeMap.h:
              * dom/NamedNodeMap.idl:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Node.idl:
              * dom/NodeFilter.cpp:
              * dom/NodeFilter.h:
              * dom/NodeFilter.idl:
              * dom/NodeFilterCondition.cpp:
              * dom/NodeFilterCondition.h:
              * dom/NodeIterator.cpp:
              * dom/NodeIterator.h:
              * dom/NodeIterator.idl:
              * dom/NodeList.cpp:
              * dom/NodeList.h:
              * dom/NodeList.idl:
              * dom/Notation.cpp:
              * dom/Notation.h:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.cpp:
              * dom/ProcessingInstruction.h:
              * dom/ProcessingInstruction.idl:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/Range.cpp:
              * dom/Range.h:
              * dom/Range.idl:
              * dom/RangeException.h:
              * dom/RangeException.idl:
              * dom/RegisteredEventListener.cpp:
              * dom/RegisteredEventListener.h:
              * dom/StyleElement.cpp:
              * dom/StyleElement.h:
              * dom/StyledElement.cpp:
              * dom/StyledElement.h:
              * dom/Text.cpp:
              * dom/Text.h:
              * dom/Text.idl:
              * dom/Tokenizer.h:
              * dom/Traversal.cpp:
              * dom/Traversal.h:
              * dom/TreeWalker.cpp:
              * dom/TreeWalker.h:
              * dom/TreeWalker.idl:
              * dom/UIEvent.cpp:
              * dom/UIEvent.h:
              * dom/UIEvent.idl:
              * dom/UIEventWithKeyState.cpp:
              * dom/UIEventWithKeyState.h:
              * dom/WheelEvent.cpp:
              * dom/WheelEvent.h:
              * dom/WheelEvent.idl:
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizer.h:
              * html/FormDataList.cpp:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLAnchorElement.h:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.cpp:
              * html/HTMLAppletElement.h:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.cpp:
              * html/HTMLAreaElement.h:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.cpp:
              * html/HTMLBRElement.h:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.cpp:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.cpp:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.cpp:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.cpp:
              * html/HTMLBodyElement.h:
              * html/HTMLBodyElement.idl:
              * html/HTMLButtonElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLButtonElement.idl:
              * html/HTMLCollection.cpp:
              * html/HTMLCollection.h:
              * html/HTMLCollection.idl:
              * html/HTMLDListElement.cpp:
              * html/HTMLDListElement.h:
              * html/HTMLDListElement.idl:
              * html/HTMLDirectoryElement.cpp:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLDivElement.cpp:
              * html/HTMLDivElement.h:
              * html/HTMLDivElement.idl:
              * html/HTMLDocument.cpp:
              * html/HTMLDocument.h:
              * html/HTMLDocument.idl:
              * html/HTMLElement.cpp:
              * html/HTMLElement.h:
              * html/HTMLElement.idl:
              * html/HTMLElementFactory.cpp:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLEmbedElement.h:
              * html/HTMLEmbedElement.idl:
              * html/HTMLEntityNames.gperf:
              * html/HTMLFieldSetElement.cpp:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFieldSetElement.idl:
              * html/HTMLFontElement.cpp:
              * html/HTMLFontElement.h:
              * html/HTMLFontElement.idl:
              * html/HTMLFormCollection.cpp:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameElement.h:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameElementBase.cpp:
              * html/HTMLFrameElementBase.h:
              * html/HTMLFrameOwnerElement.cpp:
              * html/HTMLFrameOwnerElement.h:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLFrameSetElement.h:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLGenericFormElement.cpp:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.cpp:
              * html/HTMLHRElement.h:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.cpp:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.cpp:
              * html/HTMLHeadingElement.h:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.cpp:
              * html/HTMLHtmlElement.h:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.cpp:
              * html/HTMLIFrameElement.h:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.cpp:
              * html/HTMLImageElement.h:
              * html/HTMLImageElement.idl:
              * html/HTMLImageLoader.cpp:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.cpp:
              * html/HTMLInputElement.h:
              * html/HTMLInputElement.idl:
              * html/HTMLIsIndexElement.cpp:
              * html/HTMLIsIndexElement.h:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.cpp:
              * html/HTMLLIElement.h:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.cpp:
              * html/HTMLLabelElement.h:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.cpp:
              * html/HTMLLegendElement.h:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.cpp:
              * html/HTMLLinkElement.h:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.cpp:
              * html/HTMLMapElement.h:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.cpp:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.cpp:
              * html/HTMLMenuElement.h:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.cpp:
              * html/HTMLMetaElement.h:
              * html/HTMLMetaElement.idl:
              * html/HTMLModElement.cpp:
              * html/HTMLModElement.h:
              * html/HTMLModElement.idl:
              * html/HTMLNameCollection.cpp:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.cpp:
              * html/HTMLOListElement.h:
              * html/HTMLOListElement.idl:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptGroupElement.cpp:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.cpp:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.cpp:
              * html/HTMLOptionsCollection.h:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLParagraphElement.cpp:
              * html/HTMLParagraphElement.h:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.cpp:
              * html/HTMLParamElement.h:
              * html/HTMLParamElement.idl:
              * html/HTMLParser.cpp:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.cpp:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.cpp:
              * html/HTMLPreElement.h:
              * html/HTMLPreElement.idl:
              * html/HTMLQuoteElement.cpp:
              * html/HTMLQuoteElement.h:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.cpp:
              * html/HTMLScriptElement.h:
              * html/HTMLScriptElement.idl:
              * html/HTMLSelectElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLSelectElement.idl:
              * html/HTMLStyleElement.cpp:
              * html/HTMLStyleElement.h:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.cpp:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.cpp:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.cpp:
              * html/HTMLTableColElement.h:
              * html/HTMLTableColElement.idl:
              * html/HTMLTableElement.cpp:
              * html/HTMLTableElement.h:
              * html/HTMLTableElement.idl:
              * html/HTMLTablePartElement.cpp:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.cpp:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableRowElement.idl:
              * html/HTMLTableSectionElement.cpp:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTableSectionElement.idl:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextAreaElement.idl:
              * html/HTMLTitleElement.cpp:
              * html/HTMLTitleElement.h:
              * html/HTMLTitleElement.idl:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * html/HTMLUListElement.cpp:
              * html/HTMLUListElement.h:
              * html/HTMLUListElement.idl:
              * ksvg2/css/SVGCSSParser.cpp:
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              * ksvg2/css/SVGRenderStyle.cpp:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.cpp:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.cpp:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.cpp:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.cpp:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/SVGTimer.cpp:
              * ksvg2/misc/SVGTimer.h:
              * ksvg2/misc/TimeScheduler.cpp:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/scripts/cssmakeprops:
              * ksvg2/scripts/cssmakevalues:
              * ksvg2/svg/ColorDistance.cpp:
              * ksvg2/svg/ColorDistance.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.cpp:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAngle.idl:
              * ksvg2/svg/SVGAnimateColorElement.cpp:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.cpp:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.cpp:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.cpp:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.cpp:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.cpp:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.cpp:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.cpp:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.cpp:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGColor.idl:
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.cpp:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDefsElement.cpp:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.cpp:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.cpp:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGDocument.idl:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElement.idl:
              * ksvg2/svg/SVGElementInstance.cpp:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.cpp:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.cpp:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGException.h:
              * ksvg2/svg/SVGExternalResourcesRequired.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.cpp:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.cpp:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.cpp:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.cpp:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.cpp:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.cpp:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.cpp:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.cpp:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.cpp:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.cpp:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.cpp:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.cpp:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.cpp:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.cpp:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.cpp:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.cpp:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.cpp:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.cpp:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.cpp:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.cpp:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.cpp:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLength.idl:
              * ksvg2/svg/SVGLengthList.cpp:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.cpp:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.cpp:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMPathElement.cpp:
              * ksvg2/svg/SVGMPathElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMatrix.idl:
              * ksvg2/svg/SVGMetadataElement.cpp:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGMetadataElement.idl:
              * ksvg2/svg/SVGNumber.idl:
              * ksvg2/svg/SVGNumberList.cpp:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.cpp:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.cpp:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.cpp:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.cpp:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.cpp:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.cpp:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.cpp:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.cpp:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.cpp:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.cpp:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPoint.idl:
              * ksvg2/svg/SVGPointList.cpp:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.cpp:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.cpp:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.cpp:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.cpp:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRect.idl:
              * ksvg2/svg/SVGRectElement.cpp:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGSVGElement.idl:
              * ksvg2/svg/SVGScriptElement.cpp:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.cpp:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.cpp:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.cpp:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.cpp:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.cpp:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.cpp:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.cpp:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.cpp:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.cpp:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.cpp:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.cpp:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.cpp:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.cpp:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.cpp:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.cpp:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.cpp:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.cpp:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.cpp:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransform.idl:
              * ksvg2/svg/SVGTransformDistance.cpp:
              * ksvg2/svg/SVGTransformDistance.h:
              * ksvg2/svg/SVGTransformList.cpp:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.cpp:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.cpp:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.cpp:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.cpp:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              * loader/CachedImage.h:
              * loader/CachedResource.cpp:
              * loader/CachedResource.h:
              * loader/CachedResourceClient.h:
              * loader/CachedResourceClientWalker.cpp:
              * loader/CachedResourceClientWalker.h:
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/FTPDirectoryParser.cpp:
              * loader/FTPDirectoryParser.h:
              * loader/Request.cpp:
              * loader/Request.h:
              * loader/TextResourceDecoder.cpp:
              * loader/TextResourceDecoder.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/Chrome.cpp:
              * page/Chrome.h:
              * page/ChromeClient.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/FrameTree.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/MouseEventWithHitTestResults.cpp:
              * page/MouseEventWithHitTestResults.h:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * page/mac/ChromeMac.mm:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/AtomicString.cpp:
              * platform/AtomicString.h:
              * platform/AtomicStringImpl.h:
              * platform/BidiContext.cpp:
              * platform/BidiContext.h:
              * platform/BidiResolver.h:
              * platform/Font.cpp:
              * platform/Font.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFallbackList.h:
              * platform/PlatformString.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/SearchPopupMenu.h:
              * platform/SegmentedString.cpp:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/StaticConstructors.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextBreakIterator.h:
              * platform/TextBreakIteratorICU.cpp:
              * platform/TextBreakIteratorInternalICU.h:
              * platform/TextStyle.h:
              * platform/UnicodeRange.cpp:
              * platform/UnicodeRange.h:
              * platform/cf/StringCF.cpp:
              * platform/cf/StringImplCF.cpp:
              * platform/graphics/FloatPoint3D.cpp:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/Icon.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.cpp:
              * platform/graphics/cairo/CairoPath.h:
              * platform/graphics/cairo/PathCairo.cpp:
              * platform/graphics/mac/IconMac.mm:
              * platform/graphics/qt/IconQt.cpp:
              * platform/graphics/svg/SVGResourceFilter.cpp:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.cpp:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.cpp:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.cpp:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.cpp:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.cpp:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.cpp:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.cpp:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.cpp:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.cpp:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.cpp:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm:
              * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm:
              * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFETileCg.mm:
              * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm:
              * platform/graphics/svg/qt/RenderPathQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp:
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
              * platform/graphics/svg/qt/SVGResourceFilterQt.cpp:
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
              * platform/graphics/win/IconWin.cpp:
              * platform/gtk/FontPlatformData.h:
              * platform/gtk/FontPlatformDataGtk.cpp:
              * platform/gtk/PopupMenuGtk.cpp:
              * platform/gtk/RenderThemeGtk.cpp:
              * platform/gtk/RenderThemeGtk.h:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/image-decoders/png/PNGImageDecoder.cpp:
              * platform/mac/FontMac.mm:
              * platform/mac/FontPlatformData.h:
              * platform/mac/LocalCurrentGraphicsContext.h:
              * platform/mac/LocalCurrentGraphicsContext.mm:
              * platform/mac/PopupMenuMac.mm:
              * platform/mac/SearchPopupMenuMac.mm:
              * platform/mac/StringImplMac.mm:
              * platform/mac/StringMac.mm:
              * platform/mac/TextBreakIteratorInternalICUMac.mm:
              * platform/network/FormData.cpp:
              * platform/network/FormData.h:
              * platform/qt/FileChooserQt.cpp:
              * platform/qt/FontQt.cpp:
              * platform/qt/MenuEventProxy.h:
              * platform/qt/PlugInInfoStoreQt.cpp:
              * platform/qt/PopupMenuQt.cpp:
              * platform/qt/QWebPopup.cpp:
              * platform/qt/QWebPopup.h:
              * platform/qt/RenderThemeQt.cpp:
              * platform/qt/RenderThemeQt.h:
              * platform/qt/SearchPopupMenuQt.cpp:
              * platform/qt/TextBreakIteratorQt.cpp:
              * platform/qt/WheelEventQt.cpp:
              * platform/win/FontPlatformData.h:
              * platform/win/FontPlatformDataWin.cpp:
              * platform/win/PopupMenuWin.cpp:
              * platform/win/SearchPopupMenuWin.cpp:
              * platform/win/TextBreakIteratorInternalICUWin.cpp:
              * rendering/AutoTableLayout.cpp:
              * rendering/AutoTableLayout.h:
              * rendering/CounterNode.cpp:
              * rendering/CounterNode.h:
              * rendering/DataRef.h:
              * rendering/EllipsisBox.cpp:
              * rendering/EllipsisBox.h:
              * rendering/FixedTableLayout.cpp:
              * rendering/FixedTableLayout.h:
              * rendering/GapRects.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.cpp:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.cpp:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.cpp:
              * rendering/InlineFlowBox.h:
              * rendering/InlineRunBox.h:
              * rendering/InlineTextBox.cpp:
              * rendering/InlineTextBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.cpp:
              * rendering/ListMarkerBox.h:
              * rendering/RenderApplet.cpp:
              * rendering/RenderApplet.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBR.cpp:
              * rendering/RenderBR.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              * rendering/RenderBox.h:
              * rendering/RenderButton.cpp:
              * rendering/RenderButton.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderContainer.h:
              * rendering/RenderCounter.cpp:
              * rendering/RenderCounter.h:
              * rendering/RenderFieldset.cpp:
              * rendering/RenderFieldset.h:
              * rendering/RenderFileUploadControl.cpp:
              * rendering/RenderFileUploadControl.h:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlexibleBox.h:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFlow.h:
              * rendering/RenderForeignObject.cpp:
              * rendering/RenderForeignObject.h:
              * rendering/RenderFrame.cpp:
              * rendering/RenderFrame.h:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderFrameSet.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderImage.h:
              * rendering/RenderInline.cpp:
              * rendering/RenderInline.h:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderLegend.cpp:
              * rendering/RenderLegend.h:
              * rendering/RenderListItem.cpp:
              * rendering/RenderListItem.h:
              * rendering/RenderListMarker.cpp:
              * rendering/RenderListMarker.h:
              * rendering/RenderMenuList.cpp:
              * rendering/RenderMenuList.h:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPart.cpp:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.cpp:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.cpp:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGBlock.cpp:
              * rendering/RenderSVGBlock.h:
              * rendering/RenderSVGContainer.cpp:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGGradientStop.cpp:
              * rendering/RenderSVGGradientStop.h:
              * rendering/RenderSVGHiddenContainer.cpp:
              * rendering/RenderSVGHiddenContainer.h:
              * rendering/RenderSVGImage.cpp:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.cpp:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.cpp:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.cpp:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.cpp:
              * rendering/RenderSVGText.h:
              * rendering/RenderSlider.cpp:
              * rendering/RenderSlider.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderTable.cpp:
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableCol.h:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableRow.h:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextControl.cpp:
              * rendering/RenderTextControl.h:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTextFragment.h:
              * rendering/RenderTheme.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.h:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderThemeSafari.cpp:
              * rendering/RenderThemeSafari.h:
              * rendering/RenderThemeWin.cpp:
              * rendering/RenderThemeWin.h:
              * rendering/RenderView.cpp:
              * rendering/RenderView.h:
              * rendering/RenderWidget.cpp:
              * rendering/RenderWidget.h:
              * rendering/RootInlineBox.cpp:
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineFlowBox.cpp:
              * rendering/SVGInlineFlowBox.h:
              * rendering/SVGInlineTextBox.cpp:
              * rendering/SVGInlineTextBox.h:
              * rendering/SVGRootInlineBox.cpp:
              * rendering/SVGRootInlineBox.h:
              * rendering/TableLayout.h:
              * rendering/bidi.cpp:
              * rendering/bidi.h:
              * rendering/break_lines.cpp:
              * rendering/break_lines.h:
              * xml/DOMParser.cpp:
              * xml/DOMParser.h:
              * xml/DOMParser.idl:
              * xml/XMLHttpRequest.cpp:
              * xml/XMLHttpRequest.h:
              * xml/XMLSerializer.cpp:
              * xml/XMLSerializer.h:
              * xml/XMLSerializer.idl:
              * xml/XPathEvaluator.idl:
              * xml/XPathExpression.idl:
              * xml/XPathNSResolver.idl:
              * xml/XPathResult.idl:
              * xml/XSLImportRule.cpp:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.cpp:
              * xml/XSLTProcessor.h:
      
      WebKitQt:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Api/qcookiejar.cpp:
              * Api/qcookiejar.h:
              * Api/qwebframe.cpp:
              * Api/qwebframe.h:
              * Api/qwebframe_p.h:
              * Api/qwebhistoryinterface.cpp:
              * Api/qwebhistoryinterface.h:
              * Api/qwebkitglobal.h:
              * Api/qwebnetworkinterface.cpp:
              * Api/qwebnetworkinterface.h:
              * Api/qwebnetworkinterface_p.h:
              * Api/qwebobjectplugin.cpp:
              * Api/qwebobjectplugin.h:
              * Api/qwebobjectpluginconnector.cpp:
              * Api/qwebobjectpluginconnector.h:
              * Api/qwebpage.cpp:
              * Api/qwebpage.h:
              * Api/qwebpage_p.h:
              * Api/qwebpagehistory.cpp:
              * Api/qwebpagehistory.h:
              * Api/qwebsettings.cpp:
              * Api/qwebsettings.h:
              * WebCoreSupport/EditCommandQt.cpp:
              * WebCoreSupport/EditCommandQt.h:
      
      WebKitSite:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * blog/wp-content/plugins/wp-cache/wp-cache.php:
              * blog/wp-includes/class-snoopy.php:
              * blog/wp-includes/gettext.php:
              * blog/wp-includes/js/tinymce/license.html:
              * blog/wp-includes/streams.php:
      
      WebKitTools:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Drosera/config.h:
      
      LayoutTests:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * svg/carto.net/resources/button.js:
              * svg/carto.net/resources/colourPicker.js:
              * svg/carto.net/resources/comboBox.js:
              * svg/carto.net/resources/helper_functions.js:
              * svg/carto.net/resources/mapApp.js:
              * svg/carto.net/resources/scrollbar.js:
              * svg/carto.net/resources/selectionList.js:
              * svg/carto.net/resources/slider.js:
              * svg/carto.net/resources/tabgroup.js:
              * svg/carto.net/resources/textbox.js:
              * svg/carto.net/resources/window.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8eccecd
  7. 20 Sep, 2006 2 commits
    • weinig's avatar
      Build Fix. Adds isHorizontal attribute back to WheelEvent · d92deed5
      weinig authored
              for the Objective-C bindings.  If it is found that isHorizontal
              is not used, we should remove it again but also remove it's
              declaration from PublicDOMInterfaces.h
      
              * dom/WheelEvent.h:
              (WebCore::WheelEvent::isHorizontal):
              * dom/WheelEvent.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d92deed5
    • hyatt's avatar
      Fix for 10945, WheelEvent should support two dimensions at once, since · 4f172f9e
      hyatt authored
              MacBooks allow for diagonal scrolling.  Also enhance the PlatformWheelEvent
              to allow for diagonal scrolling.
      
              Reviewed by Eric
      
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::dispatchWheelEvent):
              * dom/WheelEvent.cpp:
              (WebCore::WheelEvent::WheelEvent):
              (WebCore::WheelEvent::initWheelEvent):
              * dom/WheelEvent.h:
              (WebCore::WheelEvent::wheelDelta):
              (WebCore::WheelEvent::wheelDeltaX):
              (WebCore::WheelEvent::wheelDeltaY):
              * dom/WheelEvent.idl:
              * page/FrameView.cpp:
              (WebCore::FrameView::handleWheelEvent):
              * platform/PlatformWheelEvent.h:
              (WebCore::PlatformWheelEvent::deltaX):
              (WebCore::PlatformWheelEvent::deltaY):
              (WebCore::PlatformWheelEvent::normalize):
              * platform/mac/WheelEventMac.mm:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f172f9e
  8. 15 Aug, 2006 1 commit
    • darin's avatar
      LayoutTests: · c1f6b2b5
      darin authored
              Reviewed by Darin.
      
              - added a test to check keyboard events fired from the ObjC API:
                http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
      
              * fast/events/objc-keyboard-event-creation-expected.txt: Added.
              * fast/events/objc-keyboard-event-creation.html: Added.
      
      WebCore:
      
              Reviewed by Darin.
      
              - added ObjC wrappers for the KeyboardEvent and WheelEvent initializers
                http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
      
              * bindings/objc/DOMEvents.mm:
              (-[DOMKeyboardEvent initKeyboardEvent::::::::::]):
              * bindings/objc/DOMEventsNonstandard.mm:
              (-[DOMWheelEvent initWheelEvent:::::::::::]):
              * bindings/objc/DOMPrivate.h:
      
              - added an initializer for the WheelEvent
      
              * dom/WheelEvent.cpp:
              (WebCore::WheelEvent::initWheelEvent):
              * dom/WheelEvent.h:
      
      WebKitTools:
      
              Reviewed by Darin.
      
              - added a function to create a few DOMKeyboardEvents and dispatch
                them to a specified HTML element
                http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
      
              * DumpRenderTree/EventSendingController.m:
              (+[EventSendingController isSelectorExcludedFromWebScript:]):
              (+[EventSendingController webScriptNameForSelector:]):
              (-[EventSendingController fireKeyboardEventsToElement:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1f6b2b5
  9. 26 Jun, 2006 1 commit
    • darin's avatar
      Reviewed and reworked by Darin. · 8ce13dc1
      darin authored
              Code cleanup, calculate clientX/clientY in one central place.
      
              * dom/EventTargetNode.h:
              * dom/EventTargetNode.cpp: (WebCore::EventTargetNode::dispatchMouseEvent):
              Renamed parameters to pageX/Y since they aren't clientX/Y values.
              Removed code to compute clientX/Y (was a bit confused in naming before),
              because that's now done inside MouseEvent.
      
              * dom/MouseEvent.h:
              * dom/MouseEvent.cpp:
              (WebCore::MouseEvent::MouseEvent): Removed clientX/Y parameters.
              (WebCore::MouseEvent::initMouseEvent): Added comments about problems I noticed.
              (WebCore::MouseEvent::which): Fixed comment that confusingly mentioned KHTML,
              when it was talking about the DOM standard.
      
              * dom/MouseRelatedEvent.h:
              * dom/MouseRelatedEvent.cpp:
              (WebCore::contentsX): Added helper function.
              (WebCore::contentsY): Ditto.
              (WebCore::MouseRelatedEvent::MouseRelatedEvent): Removed clientX/Y parameter,
              and added code to compute clientX/Y based on pageX/Y.
              (WebCore::MouseRelatedEvent::receivedTarget): Fixed comments.
      
              * dom/WheelEvent.h:
              * dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent): Removed clientX/Y
              parameter.
      
              * page/FrameView.cpp: (WebCore::FrameView::dispatchDragEvent): Removed the code
              to compute coordinates, and renamed the confusingly named clientPos (which was
              a page-relative position) to contentsPos.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ce13dc1
  10. 19 Jun, 2006 1 commit
  11. 02 Jun, 2006 1 commit
    • darin's avatar
      Reviewed by Geoff, tweaked a bit by Darin. · b4483824
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9064
                Split dom2_traversalimpl.* into separate files (one class per file).
      
              * WebCore.xcodeproj/project.pbxproj: Updated for new files.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
      
              * bindings/js/kjs_traversal.h:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/objc/DOM.mm:
              * dom/Document.cpp:
              * dom/Document.h:
              Updated includes.
      
              * dom/NodeFilter.cpp: Added.
              * dom/NodeFilter.h: Added.
              * dom/NodeFilterCondition.cpp: Added.
              * dom/NodeFilterCondition.h: Added.
              * dom/NodeIterator.cpp: Added.
              * dom/NodeIterator.h: Added.
              * dom/Traversal.cpp: Added.
              * dom/Traversal.h: Added.
              * dom/TreeWalker.cpp: Added.
              * dom/TreeWalker.h: Added.
      
              * dom/dom2_traversalimpl.cpp: Removed.
              * dom/dom2_traversalimpl.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4483824
  12. 15 May, 2006 1 commit
    • eseidel's avatar
      2006-05-15 Sam Weinig <sam.weinig@gmail.com> · 257eca84
      eseidel authored
              Reviewed by eseidel.
      
              Split render_form.* into separate files (one per class).
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8889
      
              * WebCore.xcodeproj/project.pbxproj:
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::HTMLButtonElement):
              * html/HTMLFieldSetElement.cpp:
              * html/HTMLFormElement.cpp:
              * html/HTMLInputElement.cpp:
              * html/HTMLLabelElement.cpp:
              * html/HTMLLegendElement.cpp:
              (WebCore::HTMLLegendElement::createRenderer):
              * html/HTMLOptionElement.cpp:
              * html/HTMLSelectElement.cpp:
              * html/HTMLTextAreaElement.cpp:
              (WebCore::HTMLTextAreaElement::selectionStart):
              (WebCore::HTMLTextAreaElement::selectionEnd):
              (WebCore::HTMLTextAreaElement::setSelectionStart):
              (WebCore::HTMLTextAreaElement::setSelectionEnd):
              (WebCore::HTMLTextAreaElement::setSelectionRange):
              (WebCore::HTMLTextAreaElement::parseMappedAttribute):
              (WebCore::HTMLTextAreaElement::createRenderer):
              (WebCore::HTMLTextAreaElement::setValue):
              (WebCore::HTMLTextAreaElement::setDefaultValue):
              (WebCore::HTMLTextAreaElement::setAccessKey):
              * kwq/KWQComboBox.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQSlider.mm:
              * platform/mac/WebCoreTextField.mm:
              * rendering/RenderFieldset.cpp: Added.
              (WebCore::RenderFieldset::RenderFieldset):
              (WebCore::RenderFieldset::findLegend):
              (WebCore::RenderFieldset::paintBorderMinusLegend):
              (WebCore::RenderFieldset::setStyle):
              * rendering/RenderFieldset.h: Added.
              (WebCore::RenderFieldset::renderName):
              * rendering/RenderFileButton.cpp: Added.
              (WebCore::RenderFileButton::RenderFileButton):
              (WebCore::RenderFileButton::calcMinMaxWidth):
              (WebCore::RenderFileButton::updateFromElement):
              (WebCore::RenderFileButton::click):
              * rendering/RenderFileButton.h: Added.
              (WebCore::RenderFileButton::renderName):
              (WebCore::RenderFileButton::calcReplacedHeight):
              (WebCore::RenderFileButton::isEditable):
              * rendering/RenderFormElement.cpp: Added.
              (WebCore::RenderFormElement::RenderFormElement):
              (WebCore::RenderFormElement::baselinePosition):
              (WebCore::RenderFormElement::layout):
              * rendering/RenderFormElement.h: Added.
              (WebCore::RenderFormElement::renderName):
              (WebCore::RenderFormElement::isFormElement):
              (WebCore::RenderFormElement::borderTop):
              (WebCore::RenderFormElement::borderBottom):
              (WebCore::RenderFormElement::borderLeft):
              (WebCore::RenderFormElement::borderRight):
              (WebCore::RenderFormElement::paddingTop):
              (WebCore::RenderFormElement::paddingBottom):
              (WebCore::RenderFormElement::paddingLeft):
              (WebCore::RenderFormElement::paddingRight):
              (WebCore::RenderFormElement::canHaveIntrinsicMargins):
              (WebCore::RenderFormElement::intrinsicMargin):
              (WebCore::RenderFormElement::isEditable):
              * rendering/RenderImageButton.cpp: Added.
              (WebCore::RenderImageButton::RenderImageButton):
              * rendering/RenderImageButton.h: Added.
              (WebCore::RenderImageButton::renderName):
              (WebCore::RenderImageButton::isImageButton):
              * rendering/RenderLabel.cpp: Added.
              (WebCore::RenderLabel::RenderLabel):
              * rendering/RenderLabel.h: Added.
              (WebCore::RenderLabel::renderName):
              * rendering/RenderLegend.cpp: Added.
              (WebCore::RenderLegend::RenderLegend):
              * rendering/RenderLegend.h: Added.
              (WebCore::RenderLegend::renderName):
              * rendering/RenderLineEdit.cpp: Added.
              (WebCore::RenderLineEdit::RenderLineEdit):
              * rendering/RenderLineEdit.h: Added.
              (WebCore::RenderLineEdit::renderName):
              (WebCore::RenderLineEdit::calcReplacedHeight):
              (WebCore::RenderLineEdit::canHaveIntrinsicMargins):
              (WebCore::RenderLineEdit::isTextField):
              (WebCore::RenderLineEdit::isEditable):
              * rendering/RenderSelect.cpp: Added.
              (WebCore::RenderSelect::RenderSelect):
              (WebCore::RenderSelect::setWidgetWritingDirection):
              (WebCore::RenderSelect::setStyle):
              (WebCore::RenderSelect::updateFromElement):
              (WebCore::RenderSelect::baselinePosition):
              (WebCore::RenderSelect::calcMinMaxWidth):
              (WebCore::RenderSelect::layout):
              (WebCore::RenderSelect::valueChanged):
              (WebCore::RenderSelect::selectionChanged):
              (WebCore::RenderSelect::updateSelection):
              * rendering/RenderSelect.h: Added.
              (WebCore::RenderSelect::renderName):
              (WebCore::RenderSelect::calcReplacedHeight):
              (WebCore::RenderSelect::canHaveIntrinsicMargins):
              (WebCore::RenderSelect::selectionChanged):
              (WebCore::RenderSelect::setSelectionChanged):
              * rendering/RenderSlider.cpp: Added.
              (WebCore::RenderSlider::calcMinMaxWidth):
              (WebCore::RenderSlider::updateFromElement):
              * rendering/RenderSlider.h: Added.
              (WebCore::RenderSlider::renderName):
              (WebCore::RenderSlider::canHaveIntrinsicMargins):
              * rendering/RenderTextArea.cpp: Added.
              (WebCore::RenderTextArea::RenderTextArea):
              (WebCore::RenderTextArea::calcMinMaxWidth):
              (WebCore::RenderTextArea::setStyle):
              (WebCore::RenderTextArea::updateFromElement):
              (WebCore::RenderTextArea::selectionStart):
              (WebCore::RenderTextArea::selectionEnd):
              (WebCore::RenderTextArea::setSelectionStart):
              (WebCore::RenderTextArea::setSelectionEnd):
              (WebCore::RenderTextArea::select):
              (WebCore::RenderTextArea::setSelectionRange):
              * rendering/RenderTextArea.h: Added.
              (WebCore::RenderTextArea::renderName):
              (WebCore::RenderTextArea::isTextArea):
              (WebCore::RenderTextArea::isEdited):
              (WebCore::RenderTextArea::canHaveIntrinsicMargins):
              (WebCore::RenderTextArea::isEditable):
              * rendering/render_form.cpp: Removed.
              * rendering/render_form.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      257eca84
  13. 20 Mar, 2006 1 commit
    • darin's avatar
      Rubber stamped by Eric. · 98fa8b83
      darin authored
              - moved khtml/html files all into html directory
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for new paths.
              * WebCore.vcproj/WebCore/build-generated-files.sh: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * khtml/html: Removed.
      
              * html/DocTypeStrings.gperf: Moved.
              * html/FormDataList.cpp: Ditto.
              * html/FormDataList.h: Ditto.
              * html/HTMLBaseFontElement.cpp: Ditto.
              * html/HTMLBaseFontElement.h: Ditto.
              * html/HTMLButtonElement.cpp: Ditto.
              * html/HTMLButtonElement.h: Ditto.
              * html/HTMLCanvasElement.cpp: Ditto.
              * html/HTMLCanvasElement.h: Ditto.
              * html/HTMLCollection.cpp: Ditto.
              * html/HTMLCollection.h: Ditto.
              * html/HTMLDocument.cpp: Ditto.
              * html/HTMLDocument.h: Ditto.
              * html/HTMLElement.cpp: Ditto.
              * html/HTMLElement.h: Ditto.
              * html/HTMLElementFactory.cpp: Ditto.
              * html/HTMLElementFactory.h: Ditto.
              * html/HTMLEntityNames.gperf: Ditto.
              * html/HTMLFieldSetElement.cpp: Ditto.
              * html/HTMLFieldSetElement.h: Ditto.
              * html/HTMLFormCollection.cpp: Ditto.
              * html/HTMLFormCollection.h: Ditto.
              * html/HTMLFormElement.cpp: Ditto.
              * html/HTMLFormElement.h: Ditto.
              * html/HTMLGenericFormElement.cpp: Ditto.
              * html/HTMLGenericFormElement.h: Ditto.
              * html/HTMLInputElement.cpp: Ditto.
              * html/HTMLInputElement.h: Ditto.
              * html/HTMLIsIndexElement.cpp: Ditto.
              * html/HTMLIsIndexElement.h: Ditto.
              * html/HTMLKeygenElement.cpp: Ditto.
              * html/HTMLKeygenElement.h: Ditto.
              * html/HTMLLabelElement.cpp: Ditto.
              * html/HTMLLabelElement.h: Ditto.
              * html/HTMLLegendElement.cpp: Ditto.
              * html/HTMLLegendElement.h: Ditto.
              * html/HTMLNameCollection.cpp: Ditto.
              * html/HTMLNameCollection.h: Ditto.
              * html/HTMLNames.cpp: Ditto.
              * html/HTMLNames.h: Ditto.
              * html/HTMLOptGroupElement.cpp: Ditto.
              * html/HTMLOptGroupElement.h: Ditto.
              * html/HTMLOptionElement.cpp: Ditto.
              * html/HTMLOptionElement.h: Ditto.
              * html/HTMLOptionsCollection.cpp: Ditto.
              * html/HTMLOptionsCollection.h: Ditto.
              * html/HTMLParser.cpp: Ditto.
              * html/HTMLParser.h: Ditto.
              * html/HTMLSelectElement.cpp: Ditto.
              * html/HTMLSelectElement.h: Ditto.
              * html/HTMLTextAreaElement.cpp: Ditto.
              * html/HTMLTextAreaElement.h: Ditto.
              * html/HTMLTextFieldInnerElement.cpp: Ditto.
              * html/HTMLTextFieldInnerElement.h: Ditto.
              * html/HTMLTokenizer.cpp: Ditto.
              * html/HTMLTokenizer.h: Ditto.
              * html/html_baseimpl.cpp: Ditto.
              * html/html_baseimpl.h: Ditto.
              * html/html_blockimpl.cpp: Ditto.
              * html/html_blockimpl.h: Ditto.
              * html/html_headimpl.cpp: Ditto.
              * html/html_headimpl.h: Ditto.
              * html/html_imageimpl.cpp: Ditto.
              * html/html_imageimpl.h: Ditto.
              * html/html_inlineimpl.cpp: Ditto.
              * html/html_inlineimpl.h: Ditto.
              * html/html_listimpl.cpp: Ditto.
              * html/html_listimpl.h: Ditto.
              * html/html_objectimpl.cpp: Ditto.
              * html/html_objectimpl.h: Ditto.
              * html/html_tableimpl.cpp: Ditto.
              * html/html_tableimpl.h: Ditto.
      
              * bindings/objc/DOM.mm:
              * bridge/mac/WebCoreEncodings.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/CSSGrammar.y:
              * css/cssstyleselector.cpp:
              * dom/Document.cpp:
              * dom/EventTargetNode.cpp:
              * dom/NameNodeList.cpp:
              * dom/Node.cpp:
              * dom/Position.cpp:
              * dom/dom_elementimpl.cpp:
              * dom/xml_tokenizer.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/CompositeEditCommand.cpp:
              * editing/DeleteSelectionCommand.cpp:
              * editing/InsertLineBreakCommand.cpp:
              * editing/InsertParagraphSeparatorCommand.cpp:
              * editing/JSEditor.cpp:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/TextIterator.cpp:
              * editing/VisiblePosition.cpp:
              * editing/htmlediting.cpp:
              * editing/markup.cpp:
              * editing/visible_units.cpp:
              * html/CanvasRenderingContext2D.cpp:
              * kcanvas/KCanvasTreeDebug.cpp:
              * khtml/ecma/JSDOMParser.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/misc/decoder.cpp:
              * khtml/xsl/XSLStyleSheet.cpp:
              * khtml/xsl/XSLTProcessor.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.cpp:
              * kwq/WebCoreAXObject.mm:
              * page/Frame.cpp:
              * page/FrameView.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderHTMLCanvas.cpp:
              * rendering/RenderImage.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderObject.cpp:
              * rendering/RenderTable.cpp:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTextField.cpp:
              * rendering/RenderTheme.cpp:
              * rendering/render_applet.cpp:
              * rendering/render_button.cpp:
              * rendering/render_frames.cpp:
              * rendering/render_list.cpp:
              Updated includes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13397 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98fa8b83
  14. 19 Mar, 2006 1 commit
  15. 05 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Geoff. · 477dc0b8
      darin authored
              - fix <rdar://problem/4197997> -[DOMHTMLSelectElement options] always returns an empty list
      
              * khtml/html/HTMLOptionsCollectionImpl.h: Changed to be a subclass of HTMLCollectionImpl.
              * khtml/html/HTMLOptionsCollectionImpl.cpp: Added.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Added new source file.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * bindings/objc/DOMHTML.mm:
              (-[DOMHTMLOptionsCollection setLength:]): Handle possible exception. 
              (-[DOMHTMLSelectElement options]): Add get() since this is now a PassRefPtr.
      
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::selectIndexGetter): Call options() instead of optionsHTMLCollection().
              (KJS::HTMLElement::selectGetter): Ditto.
              (KJS::KJS::HTMLElement::put): Ditto.
              (KJS::HTMLElement::selectSetter): Ditto.
              (KJS::KJS::HTMLSelectCollection::put): Ditto.
      
              * khtml/html/HTMLSelectElementImpl.h: Tweaked formatting. Eliminated m_options.
              Changed m_minwidth and m_size to int instead of short. Removed optionsHTMLCollection().
              Changed options() to return a PassRefPtr.
              * khtml/html/HTMLSelectElementImpl.cpp:
              (WebCore::HTMLSelectElementImpl::~HTMLSelectElementImpl): Get rid of code to drop m_options.
              (WebCore::HTMLSelectElementImpl::remove): Remove unnecesssary RefPtr use, since that's
              handled fine by removeChild.
              (WebCore::HTMLSelectElementImpl::options): Change to create a new HTMLOptionsCollectionImpl
              each time, like other collection calls. Maybe we should change this eventually to use a
              HashMap so we can pass out the same collection over and over again, or could have a pointer
              stored in the select element that's managed by the collection itself.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      477dc0b8
  16. 14 Jan, 2006 2 commits
    • hyatt's avatar
      Move shared.h from khtml/misc into the platform directory and move it... · c09304a7
      hyatt authored
              Move shared.h from khtml/misc into the platform directory and move it into the WebCore namespace.
      
              Reviewed by eseidel
      
              * ForwardingHeaders/kdom/Shared.h: Removed.
              * WebCore+SVG/DOMList.h:
              * WebCore+SVG/KDOMHeaders.h:
              * WebCore+SVG/RGBColorImpl.h:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreFrameBridge.mm:
              * kcanvas/KCanvasPath.h:
              * khtml/css/css_base.h:
              * khtml/css/css_ruleimpl.h:
              * khtml/css/css_stylesheetimpl.h:
              * khtml/css/css_valueimpl.h:
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_traversal.h:
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlserializer.cpp:
              (KJS::XMLSerializerProtoFunc::callAsFunction):
              * khtml/editing/SelectionController.h:
              * khtml/editing/edit_command.h:
              * khtml/editing/htmlediting.h:
              * khtml/editing/visible_position.h:
              * khtml/html/HTMLOptionsCollectionImpl.h:
              * khtml/html/html_miscimpl.h:
              * khtml/misc/shared.h: Removed.
              * khtml/rendering/render_line.h:
              * khtml/rendering/render_style.h:
              * khtml/xml/DOMImplementationImpl.h:
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/NamedNodeMapImpl.h:
              * khtml/xml/NodeImpl.h:
              * khtml/xml/NodeListImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_qname.h:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/css/SVGRenderStyle.cpp:
              (SVGRenderStyle::SVGRenderStyle):
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.cpp:
              (StyleFillData::StyleFillData):
              (StyleStrokeData::StyleStrokeData):
              (StyleStopData::StyleStopData):
              (StyleClipData::StyleClipData):
              (StyleMaskData::StyleMaskData):
              (StyleMarkerData::StyleMarkerData):
              (StyleMiscData::StyleMiscData):
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/svg/SVGAngleImpl.cpp:
              (SVGAngleImpl::SVGAngleImpl):
              * ksvg2/svg/SVGAngleImpl.h:
              * ksvg2/svg/SVGAnimatedBooleanImpl.cpp:
              (SVGAnimatedBooleanImpl::SVGAnimatedBooleanImpl):
              * ksvg2/svg/SVGAnimatedBooleanImpl.h:
              * ksvg2/svg/SVGAnimatedEnumerationImpl.cpp:
              (SVGAnimatedEnumerationImpl::SVGAnimatedEnumerationImpl):
              * ksvg2/svg/SVGAnimatedEnumerationImpl.h:
              * ksvg2/svg/SVGAnimatedIntegerImpl.cpp:
              (SVGAnimatedIntegerImpl::SVGAnimatedIntegerImpl):
              * ksvg2/svg/SVGAnimatedIntegerImpl.h:
              * ksvg2/svg/SVGAnimatedLengthListImpl.h:
              * ksvg2/svg/SVGAnimatedNumberImpl.cpp:
              (SVGAnimatedNumberImpl::SVGAnimatedNumberImpl):
              * ksvg2/svg/SVGAnimatedNumberImpl.h:
              * ksvg2/svg/SVGAnimatedNumberListImpl.h:
              * ksvg2/svg/SVGAnimatedPreserveAspectRatioImpl.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              (KSVG::SVGAnimatedTemplate::SVGAnimatedTemplate):
              * ksvg2/svg/SVGAnimatedTransformListImpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              * ksvg2/svg/SVGLengthImpl.cpp:
              (SVGLengthImpl::SVGLengthImpl):
              * ksvg2/svg/SVGLengthImpl.h:
              * ksvg2/svg/SVGMatrixImpl.cpp:
              (SVGMatrixImpl::SVGMatrixImpl):
              * ksvg2/svg/SVGMatrixImpl.h:
              * ksvg2/svg/SVGNumberImpl.cpp:
              (SVGNumberImpl::SVGNumberImpl):
              * ksvg2/svg/SVGNumberImpl.h:
              * ksvg2/svg/SVGPathSegImpl.cpp:
              (SVGPathSegImpl::SVGPathSegImpl):
              * ksvg2/svg/SVGPathSegImpl.h:
              * ksvg2/svg/SVGPointImpl.cpp:
              (SVGPointImpl::SVGPointImpl):
              * ksvg2/svg/SVGPointImpl.h:
              * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
              (SVGPreserveAspectRatioImpl::SVGPreserveAspectRatioImpl):
              * ksvg2/svg/SVGPreserveAspectRatioImpl.h:
              * ksvg2/svg/SVGRectImpl.cpp:
              (SVGRectImpl::SVGRectImpl):
              * ksvg2/svg/SVGRectImpl.h:
              * ksvg2/svg/SVGTransformImpl.cpp:
              (SVGTransformImpl::SVGTransformImpl):
              * ksvg2/svg/SVGTransformImpl.h:
              * kwq/DOM-CSS.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQMapImpl.cpp:
              * kwq/KWQRegExp.cpp:
              * kwq/KWQValueListImpl.cpp:
              (KWQValueListImpl::KWQValueListPrivate::KWQValueListPrivate):
              * kwq/KWQVariant.cpp:
              * platform/ArrayImpl.h:
              * platform/Shared.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c09304a7
    • hyatt's avatar
      Shift the loader-related files out of the khtml/misc directory and... · 193046b1
      hyatt authored
              Shift the loader-related files out of the khtml/misc directory and into a new loader directory.
              Remove the use of paths when including files from misc.
      
              * WebCore+SVG/KDOMHeaders.h:
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/KCanvasPath.h:
              * khtml/css/css_base.h:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_ruleimpl.h:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              * khtml/css/cssstyleselector.cpp:
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_traversal.h:
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_html.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/editing/SelectionController.h:
              * khtml/editing/edit_command.h:
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_units.cpp:
              * khtml/html/HTMLOptionsCollectionImpl.h:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_canvasimpl.h:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_headimpl.h:
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_miscimpl.h:
              * khtml/html/htmltokenizer.h:
              * khtml/misc/Cache.cpp: Removed.
              * khtml/misc/Cache.h: Removed.
              * khtml/misc/CachedCSSStyleSheet.cpp: Removed.
              * khtml/misc/CachedCSSStyleSheet.h: Removed.
              * khtml/misc/CachedImage.cpp: Removed.
              * khtml/misc/CachedImage.h: Removed.
              * khtml/misc/CachedImageCallback.cpp: Removed.
              * khtml/misc/CachedImageCallback.h: Removed.
              * khtml/misc/CachedObject.cpp: Removed.
              * khtml/misc/CachedObject.h: Removed.
              * khtml/misc/CachedObjectClientWalker.cpp: Removed.
              * khtml/misc/CachedObjectClientWalker.h: Removed.
              * khtml/misc/CachedScript.cpp: Removed.
              * khtml/misc/CachedScript.h: Removed.
              * khtml/misc/CachedXBLDocument.cpp: Removed.
              * khtml/misc/CachedXBLDocument.h: Removed.
              * khtml/misc/CachedXSLStyleSheet.cpp: Removed.
              * khtml/misc/CachedXSLStyleSheet.h: Removed.
              * khtml/misc/DocLoader.cpp: Removed.
              * khtml/misc/DocLoader.h: Removed.
              * khtml/misc/Request.cpp: Removed.
              * khtml/misc/Request.h: Removed.
              * khtml/misc/loader.cpp: Removed.
              * khtml/misc/loader.h: Removed.
              * khtml/misc/loader_client.h: Removed.
              * khtml/rendering/render_box.h:
              * khtml/rendering/render_canvasimage.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_line.h:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.h:
              * khtml/rendering/table_layout.h:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding.h:
              * khtml/xml/DOMImplementationImpl.h:
              * khtml/xml/DocumentImpl.cpp:
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_xmlimpl.h:
              * khtml/xml/xml_tokenizer.h:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.h:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQMapImpl.cpp:
              * kwq/KWQRegExp.cpp:
              * kwq/KWQValueListImpl.cpp:
              * kwq/KWQVariant.cpp:
              * loader: Added.
              * loader/Cache.cpp: Added.
              * loader/Cache.h: Added.
              * loader/CachedCSSStyleSheet.cpp: Added.
              * loader/CachedCSSStyleSheet.h: Added.
              * loader/CachedImage.cpp: Added.
              * loader/CachedImage.h: Added.
              * loader/CachedImageCallback.cpp: Added.
              * loader/CachedImageCallback.h: Added.
              * loader/CachedObject.cpp: Added.
              * loader/CachedObject.h: Added.
              * loader/CachedObjectClientWalker.cpp: Added.
              * loader/CachedObjectClientWalker.h: Added.
              * loader/CachedScript.cpp: Added.
              * loader/CachedScript.h: Added.
              * loader/CachedXBLDocument.cpp: Added.
              * loader/CachedXBLDocument.h: Added.
              * loader/CachedXSLStyleSheet.cpp: Added.
              * loader/CachedXSLStyleSheet.h: Added.
              * loader/DocLoader.cpp: Added.
              * loader/DocLoader.h: Added.
              * loader/Request.cpp: Added.
              * loader/Request.h: Added.
              * loader/loader.cpp: Added.
              * loader/loader.h: Added.
              * loader/loader_client.h: Added.
              * page/Frame.cpp:
              * page/FramePrivate.h:
              * page/FrameView.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      193046b1
  17. 10 Jan, 2006 1 commit
    • eseidel's avatar
      2006-01-10 Eric Seidel <eseidel@apple.com> · e0bd2170
      eseidel authored
              Rubber-stamped by mjs.
      
              Split html_formimpl.{cpp,h} into multiple files (one per class)
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6461
      
              * WebCore.xcodeproj/project.pbxproj: added files
              * khtml/ecma/kjs_html.cpp: updated includes
              * khtml/html/FormDataList.h: Added.
              * khtml/html/FormDataList.cpp: Added.
              * khtml/html/HTMLButtonElementImpl.cpp: Added.
              * khtml/html/HTMLButtonElementImpl.h: Added.
              * khtml/html/HTMLFieldSetElementImpl.cpp: Added.
              * khtml/html/HTMLFieldSetElementImpl.h: Added.
              * khtml/html/HTMLFormElementImpl.cpp: Added.
              * khtml/html/HTMLFormElementImpl.h: Added.
              * khtml/html/HTMLGenericFormElementImpl.cpp: Added.
              * khtml/html/HTMLGenericFormElementImpl.h: Added.
              * khtml/html/HTMLInputElementImpl.cpp: Added.
              * khtml/html/HTMLInputElementImpl.h: Added.
              * khtml/html/HTMLIsIndexElementImpl.cpp: Added.
              * khtml/html/HTMLIsIndexElementImpl.h: Added.
              * khtml/html/HTMLKeygenElementImpl.cpp: Added.
              * khtml/html/HTMLKeygenElementImpl.h: Added.
              * khtml/html/HTMLLabelElementImpl.cpp: Added.
              * khtml/html/HTMLLabelElementImpl.h: Added.
              * khtml/html/HTMLLegendElementImpl.cpp: Added.
              * khtml/html/HTMLLegendElementImpl.h: Added.
              * khtml/html/HTMLOptGroupElementImpl.cpp: Added.
              * khtml/html/HTMLOptGroupElementImpl.h: Added.
              * khtml/html/HTMLOptionElementImpl.cpp: Added.
              * khtml/html/HTMLOptionElementImpl.h: Added.
              * khtml/html/HTMLOptionsCollectionImpl.h: Added.
              * khtml/html/HTMLSelectElementImpl.cpp: Added.
              * khtml/html/HTMLSelectElementImpl.h: Added.
              * khtml/html/HTMLTextAreaElementImpl.cpp: Added.
              * khtml/html/HTMLTextAreaElementImpl.h: Added.
              * khtml/html/html_documentimpl.cpp: updated includes
              * khtml/html/html_imageimpl.cpp: updated includes
              * khtml/html/html_miscimpl.cpp: updated includes
              * khtml/html/html_objectimpl.cpp: updated includes
              * khtml/html/htmlfactory.cpp: updated includes
              * khtml/html/htmlparser.cpp: updated includes
              * khtml/khtmlview.cpp: updated includes
              * khtml/rendering/render_block.cpp: updated includes
              * khtml/rendering/render_button.cpp: updated includes
              * khtml/rendering/render_canvasimage.cpp: updated includes
              * khtml/rendering/render_flow.cpp: updated includes
              * khtml/rendering/render_form.cpp: updated includes
              * khtml/rendering/render_form.h: updated includes
              * khtml/rendering/render_image.cpp: updated includes
              * khtml/rendering/render_line.cpp: updated includes
              * khtml/rendering/render_theme.cpp: updated includes
              * khtml/xml/dom_docimpl.cpp: updated includes
              * kwq/DOMHTML.mm: updated includes
              * kwq/KWQAccObject.mm: updated includes
              * kwq/MacFrame.mm: updated includes
              * kwq/WebCoreBridge.mm: updated includes
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0bd2170
  18. 06 Dec, 2005 1 commit
    • hyatt's avatar
      Add support for more methods for exposing more useful style information. · 95ed23fc
      hyatt authored
      	getMatchedCSSRules can be used to obtain the matched sheet rules for an element.  In Obj-C
      	it will also include user/user agent sheet rules.
      
      	Also add support for tracking the original shorthand in which a property was declared, as well
      	as whether the property was just implicitly set rather than explicitly mentioned (e.g., if it was
      	an omitted piece of a shorthand).  The new methods on CSSStyleDeclaration are getPropertyShorthand
      	and isPropertyImplicit.
      
              Reviewed by mjs
      
              Test: fast/inspector/style.html
      
              * khtml/css/css_computedstyle.h:
              (DOM::CSSComputedStyleDeclarationImpl::getPropertyShorthand):
              (DOM::CSSComputedStyleDeclarationImpl::isPropertyImplicit):
              * khtml/css/css_valueimpl.cpp:
              (DOM::CSSStyleDeclarationImpl::getPropertyShorthand):
              (DOM::CSSStyleDeclarationImpl::isPropertyImplicit):
              (DOM::CSSMutableStyleDeclarationImpl::getPropertyPriority):
              (DOM::CSSMutableStyleDeclarationImpl::getPropertyShorthand):
              (DOM::CSSMutableStyleDeclarationImpl::isPropertyImplicit):
              (DOM::CSSProperty::cssText):
              (DOM::operator==):
              * khtml/css/css_valueimpl.h:
              (DOM::CSSProperty::CSSProperty):
              (DOM::CSSProperty::operator=):
              (DOM::CSSProperty::~CSSProperty):
              (DOM::CSSProperty::setValue):
              (DOM::CSSProperty::shorthandID):
              (DOM::CSSProperty::isImportant):
              (DOM::CSSProperty::isImplicit):
              * khtml/css/cssparser.cpp:
              (CSSParser::CSSParser):
              (CSSParser::addProperty):
              (CSSParser::parseValue):
              (CSSParser::parseBackgroundShorthand):
              (CSSParser::parseShorthand):
              (CSSParser::parse4Values):
              (CSSParser::parseBackgroundPosition):
              (CSSParser::parseBackgroundProperty):
              * khtml/css/cssparser.h:
              (DOM::CSSParser::enterShorthand):
              (DOM::CSSParser::exitShorthand):
              (DOM::CSSParser::inShorthand):
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::CSSStyleSelector):
              (khtml::CSSStyleSelector::matchRules):
              (khtml::CSSStyleSelector::matchRulesForList):
              (khtml::CSSStyleSelector::initForStyleResolve):
              (khtml::CSSStyleSelector::styleRulesForElement):
              (khtml::CSSStyleSelector::pseudoStyleRulesForElement):
              * khtml/css/cssstyleselector.h:
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSStyleDeclarationProtoFunc::callAsFunction):
              * khtml/ecma/kjs_css.h:
              (KJS::DOMCSSStyleDeclaration::):
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              * khtml/ecma/kjs_views.h:
              (KJS::DOMAbstractView::):
              * khtml/xml/dom2_viewsimpl.cpp:
              (DOM::AbstractViewImpl::getComputedStyle):
              (DOM::AbstractViewImpl::getMatchedCSSRules):
              * khtml/xml/dom2_viewsimpl.h:
              * kwq/DOM-CSS.mm:
              (-[DOMCSSStyleDeclaration getPropertyShorthand:]):
              (-[DOMCSSStyleDeclaration isPropertyImplicit:]):
              (-[DOMDocument getMatchedCSSRules::]):
              * kwq/DOMPrivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95ed23fc
  19. 20 Nov, 2005 1 commit
    • eseidel's avatar
      Bug #: 5777 · 9af86cac
      eseidel authored
      Submitted by: eseidel
      Reviewed by: none
             	Rolling out the getMatchedCSSRules change, as it caused
              many layout tests to crash on TOT:
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5777
      
              * khtml/css/cssparser.cpp:
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::matchRules):
              (khtml::CSSStyleSelector::matchRulesForList):
              (khtml::CSSStyleSelector::initForStyleResolve):
              * khtml/css/cssstyleselector.h:
              * khtml/css/parser.y:
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              * khtml/ecma/kjs_views.h:
              (KJS::DOMAbstractView::):
              * khtml/xml/dom2_viewsimpl.cpp:
              (DOM::AbstractViewImpl::getComputedStyle):
              * khtml/xml/dom2_viewsimpl.h:
              * kwq/DOM-CSS.mm:
              * kwq/DOMCSS.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9af86cac
  20. 17 Nov, 2005 1 commit
    • hyatt's avatar
      Add support for getMatchedCSSRules, an API that can be used to · a774edeb
      hyatt authored
      	inspect the set of rules that match on an element.  From Obj-C
      	you see all rules (user agent, author, user).  From JS you just
      	see author rules.
      
              Reviewed by darin
      
              * khtml/css/cssparser.cpp:
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::matchRules):
              (khtml::CSSStyleSelector::matchRulesForList):
              (khtml::CSSStyleSelector::initForStyleResolve):
              (khtml::CSSStyleSelector::styleRulesForElement):
              (khtml::CSSStyleSelector::pseudoStyleRulesForElement):
              * khtml/css/cssstyleselector.h:
              * khtml/css/parser.y:
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              * khtml/ecma/kjs_views.h:
              (KJS::DOMAbstractView::):
              * khtml/xml/dom2_viewsimpl.cpp:
              (DOM::AbstractViewImpl::getComputedStyle):
              (DOM::AbstractViewImpl::getMatchedCSSRules):
              * khtml/xml/dom2_viewsimpl.h:
              * kwq/DOM-CSS.mm:
              (-[DOMDocument getMatchedCSSRules::]):
              * kwq/DOMCSS.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a774edeb
  21. 03 Oct, 2005 1 commit
    • mjs's avatar
      JavaScriptCore: · b64c50a2
      mjs authored
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	A number of optimizations to the new threadsafe malloc that make it actually as fast
      	as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc.
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
      	via a private inline operator new that is now included into every file via config.h.
      
      	- tweaked some of the numeric parameters for size classes and amount of wasted memory
      	allowed per allocation - this saves on memory use and consequently improves speed.
      
      	- so long as the allocator is not being used on background threads, get the per-thread
      	cache from a global variable instead of from pthread_getspecific, since the latter is slow.
      
      	- inline more functions, and force the ones GCC refuses to inline with
      	attribute(always_inline), nearly all of these have one call site so inlining them has
      	to be a win.
      
      	- use some tricks to calculate allocation size more efficiently and fewer times for small
      	allocations, to avoid hitting the huge size table array.
      
      	- avoid hitting the per-thread cache on code paths that don't need it.
      
      	- implement inline assembly version of spinlock for PowerPC (was already done for x86)
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_class.cpp:
              * bindings/c/c_instance.cpp:
              * bindings/c/c_runtime.cpp:
              * bindings/c/c_utility.cpp:
              * bindings/jni/jni_class.cpp:
              * bindings/jni/jni_instance.cpp:
              * bindings/jni/jni_jsobject.cpp:
              * bindings/jni/jni_objc.mm:
              * bindings/jni/jni_runtime.cpp:
              * bindings/jni/jni_utility.cpp:
              * bindings/npruntime.cpp:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.cpp:
              * bindings/runtime_array.cpp:
              * bindings/runtime_method.cpp:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.cpp:
              * bindings/testbindings.cpp:
              * bindings/testbindings.mm:
              * kjs/array_object.cpp:
              (ArrayInstanceImp::ArrayInstanceImp):
              (ArrayInstanceImp::~ArrayInstanceImp):
              (ArrayInstanceImp::resizeStorage):
              * kjs/bool_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/config.h:
              * kjs/debugger.cpp:
              * kjs/error_object.cpp:
              * kjs/function.cpp:
              * kjs/function_object.cpp:
              * kjs/identifier.cpp:
              (KJS::Identifier::rehash):
              * kjs/internal.cpp:
              (KJS::Parser::saveNewNode):
              (KJS::clearNewNodes):
              * kjs/interpreter.cpp:
              * kjs/lexer.cpp:
              (Lexer::doneParsing):
              (Lexer::makeIdentifier):
              (Lexer::makeUString):
              * kjs/list.cpp:
              * kjs/math_object.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/number_object.cpp:
              (integer_part_noexp):
              (char_sequence):
              * kjs/object.cpp:
              * kjs/object_object.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/protected_values.cpp:
              (KJS::ProtectedValues::rehash):
              * kjs/reference.cpp:
              * kjs/reference_list.cpp:
              * kjs/regexp.cpp:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/scope_chain.h:
              * kjs/string_object.cpp:
              * kjs/testkjs.cpp:
              * kjs/ustring.h:
              * kjs/value.cpp:
              * kxmlcore/Assertions.mm:
              * kxmlcore/FastMalloc.cpp:
              (KXMLCore::InitSizeClasses):
              (KXMLCore::DLL_IsEmpty):
              (KXMLCore::DLL_Prepend):
              (KXMLCore::TCMalloc_Central_FreeList::Insert):
              (KXMLCore::TCMalloc_Central_FreeList::Remove):
              (KXMLCore::TCMalloc_Central_FreeList::Populate):
              (KXMLCore::TCMalloc_ThreadCache::Allocate):
              (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache):
              (KXMLCore::fastMallocRegisterThread):
              (KXMLCore::TCMalloc_ThreadCache::GetCache):
              (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent):
              (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (KXMLCore::do_malloc):
              (KXMLCore::do_free):
              (KXMLCore::realloc):
              * kxmlcore/FastMalloc.h:
              (operator new):
              (operator delete):
              (operator new[]):
              (operator delete[]):
              * kxmlcore/HashTable.cpp:
              * kxmlcore/TCSpinLock.h:
              (TCMalloc_SpinLock::Lock):
              (TCMalloc_SpinLock::Unlock):
              (TCMalloc_SlowLock):
              * kxmlcore/TCSystemAlloc.cpp:
      
      WebCore:
      
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
              via a private inline operator new that is now included into every file via config.h
      
              * WebCore.xcodeproj/project.pbxproj:
              * WebCorePrefix.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_base.h:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              (ValueList::ValueList):
              (ValueList::~ValueList):
              (ValueList::addValue):
              (CSSParser::CSSParser):
              (CSSParser::~CSSParser):
              (CSSParser::setupParser):
              (CSSParser::addProperty):
              * khtml/css/cssstyleselector.cpp:
              * khtml/css/cssstyleselector.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_misc.cpp:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Gradient::~Gradient):
              (KJS::Gradient::addColorStop):
              (KJS::Gradient::colorStops):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/break_blockquote_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_from_text_node_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/html_interchange.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_into_text_node_command.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/remove_css_property_command.cpp:
              * khtml/editing/remove_node_attribute_command.cpp:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/set_node_attribute_command.cpp:
              * khtml/editing/split_element_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/split_text_node_containing_element.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_range.cpp:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::~CircularSearchBuffer):
              (khtml::CircularSearchBuffer::CircularSearchBuffer):
              * khtml/editing/visible_units.cpp:
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_blockimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_miscimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlnames.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::enlargeBuffer):
              (khtml::HTMLTokenizer::enlargeScriptBuffer):
              * khtml/khtml_events.cpp:
              * khtml/khtml_part.cpp:
              * khtml/khtmlview.cpp:
              * khtml/misc/arena.cpp:
              * khtml/misc/arena.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/formdata.cpp:
              * khtml/misc/helper.cpp:
              * khtml/misc/loader.cpp:
              * khtml/misc/stringit.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/break_lines.cpp:
              * khtml/rendering/font.cpp:
              * khtml/rendering/render_arena.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_canvasimage.cpp:
              (RenderCanvasImage::~RenderCanvasImage):
              (RenderCanvasImage::createDrawingContext):
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flexbox.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_style.cpp:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_text.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/rendering/table_layout.cpp:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding_manager.cpp:
              * khtml/xbl/xbl_docimpl.cpp:
              * khtml/xbl/xbl_protobinding.cpp:
              * khtml/xbl/xbl_protohandler.cpp:
              * khtml/xbl/xbl_protoimplementation.cpp:
              * khtml/xbl/xbl_tokenizer.cpp:
              * khtml/xml/EventNames.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_atomicstring.cpp:
              * khtml/xml/dom_docimpl.cpp:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_qname.cpp:
              * khtml/xml/dom_stringimpl.cpp:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (DOMString::DOMString):
              * kwq/DOMUtility.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQApplication.mm:
              * kwq/KWQArrayImpl.h:
              * kwq/KWQArrayImpl.mm:
              * kwq/KWQBuffer.mm:
              * kwq/KWQButton.mm:
              * kwq/KWQCString.mm:
              * kwq/KWQCharsets.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQCollection.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.mm:
              * kwq/KWQDateTime.mm:
              * kwq/KWQDictImpl.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQEvent.mm:
              * kwq/KWQExceptions.mm:
              * kwq/KWQFile.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQFormData.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQGlobal.mm:
              * kwq/KWQGuardedPtr.mm:
              * kwq/KWQKCharsets.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKCookieJar.mm:
              * kwq/KWQKCursor.mm:
              * kwq/KWQKGlobal.mm:
              * kwq/KWQKGlobalSettings.mm:
              * kwq/KWQKHTMLFactory.mm:
              * kwq/KWQKHTMLPart.cpp:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKHTMLView.mm:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQKJob.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKPartsBrowserInterface.mm:
              * kwq/KWQKPartsEvent.mm:
              * kwq/KWQKPartsPart.mm:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQKStandardDirs.mm:
              * kwq/KWQKStringHandler.mm:
              * kwq/KWQKURL.mm:
              (KURL::KURL):
              (KURL::decode_string):
              (KURL::parse):
              (KURL::encode_string):
              (encodeRelativeString):
              * kwq/KWQKWin.mm:
              * kwq/KWQKWinModule.mm:
              * kwq/KWQLabel.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLoader.mm:
              (KWQIsResponseURLEqualToURL):
              * kwq/KWQMapImpl.h:
              * kwq/KWQMapImpl.mm:
              * kwq/KWQMovie.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPaintDeviceMetrics.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQPalette.mm:
              * kwq/KWQPen.mm:
              * kwq/KWQPixmap.mm:
              * kwq/KWQPoint.mm:
              * kwq/KWQPointArray.mm:
              * kwq/KWQPtrDictImpl.mm:
              * kwq/KWQPushButton.mm:
              * kwq/KWQRect.mm:
              * kwq/KWQRegExp.mm:
              * kwq/KWQRegion.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQScrollBar.mm:
              * kwq/KWQScrollView.mm:
              * kwq/KWQSignal.mm:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQSize.mm:
              * kwq/KWQSlider.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_CHAR):
              (REALLOC_CHAR):
              (DELETE_CHAR):
              (ALLOC_QCHAR):
              (REALLOC_QCHAR):
              (DELETE_QCHAR):
              (_printQStringAllocationStatistics):
              (allocateHandle):
              (KWQStringData::operator new):
              (KWQStringData::operator delete):
              (freeHandle):
              * kwq/KWQStringList.mm:
              * kwq/KWQStyle.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextCodec.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQTextStream.mm:
              * kwq/KWQTextUtilities.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQValueListImpl.h:
              * kwq/KWQValueListImpl.mm:
              * kwq/KWQVariant.mm:
              * kwq/KWQVectorImpl.mm:
              (KWQVectorImpl::KWQVectorImpl):
              (KWQVectorImpl::~KWQVectorImpl):
              (KWQVectorImpl::clear):
              (KWQVectorImpl::resize):
              (KWQVectorImpl::assign):
              * kwq/KWQWMatrix.mm:
              * kwq/KWQWidget.mm:
              * kwq/KWQWindowWidget.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCache.mm:
              * kwq/WebCoreEncodings.mm:
              * kwq/WebCoreJavaScript.mm:
              * kwq/WebCoreScriptDebugger.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/can-convert.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64c50a2
  22. 27 Sep, 2005 1 commit
    • mjs's avatar
      JavaScriptCore: · cff5e5ee
      mjs authored
              Reviewed by John.
      
      	- replace dlmalloc with tcmalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5145
      
      	I also moved SharedPtr and the assertion code from WebCore into a
      	new kxmlcore directory.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/collector.cpp:
              (KJS::Collector::allocate):
              (KJS::Collector::collect):
              * kjs/config.h:
              * kjs/fast_malloc.cpp: Removed.
              * kjs/fast_malloc.h: Removed.
              * kjs/function.cpp:
              * kjs/function.h:
              * kjs/function_object.cpp:
              * kjs/identifier.cpp:
              (KJS::Identifier::add):
              * kjs/internal.cpp:
              * kjs/internal.h:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/property_map.cpp:
              (KJS::PropertyMap::~PropertyMap):
              (KJS::PropertyMap::rehash):
              * kjs/scope_chain.h:
              * kjs/shared_ptr.h: Removed.
              * kjs/string_object.cpp:
              (StringObjectFuncImp::callAsFunction):
              * kjs/ustring.cpp:
              (KJS::UString::Rep::createCopying):
              (KJS::UString::Rep::destroy):
              (KJS::UString::expandCapacity):
              (KJS::UString::expandPreCapacity):
              (KJS::UString::UString):
              (KJS::UString::spliceSubstringsWithSeparators):
              (KJS::UString::append):
              (KJS::UString::operator=):
              (KJS::UString::detach):
              * kjs/ustring.h:
              * kxmlcore/Assertions.h: Added.
              * kxmlcore/Assertions.mm: Added.
              * kxmlcore/FastMalloc.cpp: Added.
              (KXMLCore::LgFloor):
              (KXMLCore::SizeClass):
              (KXMLCore::ByteSizeForClass):
              (KXMLCore::InitSizeClasses):
              (KXMLCore::MetaDataAlloc):
              (KXMLCore::PageHeapAllocator::Init):
              (KXMLCore::PageHeapAllocator::New):
              (KXMLCore::PageHeapAllocator::Delete):
              (KXMLCore::PageHeapAllocator::inuse):
              (KXMLCore::pages):
              (KXMLCore::AllocationSize):
              (KXMLCore::Event):
              (KXMLCore::NewSpan):
              (KXMLCore::DeleteSpan):
              (KXMLCore::DLL_Init):
              (KXMLCore::DLL_Remove):
              (KXMLCore::DLL_IsEmpty):
              (KXMLCore::DLL_Length):
              (KXMLCore::DLL_Print):
              (KXMLCore::DLL_Prepend):
              (KXMLCore::DLL_InsertOrdered):
              (KXMLCore::):
              (KXMLCore::TCMalloc_PageHeap::GetDescriptor):
              (KXMLCore::TCMalloc_PageHeap::SystemBytes):
              (KXMLCore::TCMalloc_PageHeap::FreeBytes):
              (KXMLCore::TCMalloc_PageHeap::RecordSpan):
              (KXMLCore::TCMalloc_PageHeap::TCMalloc_PageHeap):
              (KXMLCore::TCMalloc_PageHeap::New):
              (KXMLCore::TCMalloc_PageHeap::Split):
              (KXMLCore::TCMalloc_PageHeap::Carve):
              (KXMLCore::TCMalloc_PageHeap::Delete):
              (KXMLCore::TCMalloc_PageHeap::RegisterSizeClass):
              (KXMLCore::TCMalloc_PageHeap::Dump):
              (KXMLCore::TCMalloc_PageHeap::GrowHeap):
              (KXMLCore::TCMalloc_PageHeap::Check):
              (KXMLCore::TCMalloc_PageHeap::CheckList):
              (KXMLCore::TCMalloc_ThreadCache_FreeList::Init):
              (KXMLCore::TCMalloc_ThreadCache_FreeList::length):
              (KXMLCore::TCMalloc_ThreadCache_FreeList::empty):
              (KXMLCore::TCMalloc_ThreadCache_FreeList::lowwatermark):
              (KXMLCore::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
              (KXMLCore::TCMalloc_ThreadCache_FreeList::Push):
              (KXMLCore::TCMalloc_ThreadCache_FreeList::Pop):
              (KXMLCore::TCMalloc_ThreadCache::freelist_length):
              (KXMLCore::TCMalloc_ThreadCache::Size):
              (KXMLCore::TCMalloc_Central_FreeList::length):
              (KXMLCore::TCMalloc_Central_FreeList::Init):
              (KXMLCore::TCMalloc_Central_FreeList::Insert):
              (KXMLCore::TCMalloc_Central_FreeList::Remove):
              (KXMLCore::TCMalloc_Central_FreeList::Populate):
              (KXMLCore::TCMalloc_ThreadCache::SampleAllocation):
              (KXMLCore::TCMalloc_ThreadCache::Init):
              (KXMLCore::TCMalloc_ThreadCache::Cleanup):
              (KXMLCore::TCMalloc_ThreadCache::Allocate):
              (KXMLCore::TCMalloc_ThreadCache::Deallocate):
              (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache):
              (KXMLCore::TCMalloc_ThreadCache::ReleaseToCentralCache):
              (KXMLCore::TCMalloc_ThreadCache::Scavenge):
              (KXMLCore::TCMalloc_ThreadCache::GetCache):
              (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent):
              (KXMLCore::TCMalloc_ThreadCache::PickNextSample):
              (KXMLCore::TCMalloc_ThreadCache::InitModule):
              (KXMLCore::TCMalloc_ThreadCache::InitTSD):
              (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (KXMLCore::TCMalloc_ThreadCache::DeleteCache):
              (KXMLCore::TCMalloc_ThreadCache::RecomputeThreadCacheSize):
              (KXMLCore::TCMalloc_ThreadCache::Print):
              (KXMLCore::ExtractStats):
              (KXMLCore::DumpStats):
              (KXMLCore::PrintStats):
              (KXMLCore::DumpStackTraces):
              (KXMLCore::TCMallocImplementation::GetStats):
              (KXMLCore::TCMallocImplementation::ReadStackTraces):
              (KXMLCore::TCMallocImplementation::GetNumericProperty):
              (KXMLCore::TCMallocImplementation::SetNumericProperty):
              (KXMLCore::DoSampledAllocation):
              (KXMLCore::do_malloc):
              (KXMLCore::do_free):
              (KXMLCore::do_memalign):
              (KXMLCore::TCMallocGuard::TCMallocGuard):
              (KXMLCore::TCMallocGuard::~TCMallocGuard):
              (KXMLCore::malloc):
              (KXMLCore::free):
              (KXMLCore::calloc):
              (KXMLCore::cfree):
              (KXMLCore::realloc):
              (KXMLCore::memalign):
              (KXMLCore::posix_memalign):
              (KXMLCore::valloc):
              (KXMLCore::pvalloc):
              (KXMLCore::malloc_stats):
              (KXMLCore::mallopt):
              (KXMLCore::mallinfo):
              * kxmlcore/FastMalloc.h: Added.
              (KXMLCore::FastAllocated::operator new):
              (KXMLCore::FastAllocated::operator delete):
              (KXMLCore::FastAllocated::operator new[]):
              (KXMLCore::FastAllocated::operator delete[]):
              * kxmlcore/SharedPtr.h: Added.
              (KXMLCore::SharedPtr::SharedPtr):
              (KXMLCore::SharedPtr::~SharedPtr):
              (KXMLCore::SharedPtr::isNull):
              (KXMLCore::SharedPtr::notNull):
              (KXMLCore::SharedPtr::reset):
              (KXMLCore::SharedPtr::get):
              (KXMLCore::SharedPtr::operator*):
              (KXMLCore::SharedPtr::operator->):
              (KXMLCore::SharedPtr::operator!):
              (KXMLCore::SharedPtr::operator bool):
              (KXMLCore::::operator):
              (KXMLCore::operator==):
              (KXMLCore::operator!=):
              (KXMLCore::static_pointer_cast):
              (KXMLCore::const_pointer_cast):
              * kxmlcore/TCPageMap.h: Added.
              (TCMalloc_PageMap1::TCMalloc_PageMap1):
              (TCMalloc_PageMap1::Ensure):
              (TCMalloc_PageMap1::get):
              (TCMalloc_PageMap1::set):
              (TCMalloc_PageMap2::TCMalloc_PageMap2):
              (TCMalloc_PageMap2::get):
              (TCMalloc_PageMap2::set):
              (TCMalloc_PageMap2::Ensure):
              (TCMalloc_PageMap3::NewNode):
              (TCMalloc_PageMap3::TCMalloc_PageMap3):
              (TCMalloc_PageMap3::get):
              (TCMalloc_PageMap3::set):
              (TCMalloc_PageMap3::Ensure):
              * kxmlcore/TCSpinLock.h: Added.
              (TCMalloc_SpinLock::Init):
              (TCMalloc_SpinLock::Finalize):
              (TCMalloc_SpinLock::Lock):
              (TCMalloc_SpinLock::Unlock):
              (TCMalloc_SlowLock):
              (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
              (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
              * kxmlcore/TCSystemAlloc.cpp: Added.
              (TrySbrk):
              (TryMmap):
              (TryDevMem):
              (TCMalloc_SystemAlloc):
              * kxmlcore/TCSystemAlloc.h: Added.
      
      WebCore:
      
              Reviewed by John.
      
      	- replace dlmalloc with tcmalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5145
      
      	I also moved SharedPtr and the assertion code from WebCore into a
      	new kxmlcore directory.
      
              * ForwardingHeaders/kjs/shared_ptr.h: Removed.
              * ForwardingHeaders/kxmlcore/Assertions.h: Added.
              * ForwardingHeaders/kxmlcore/FastMalloc.h: Added.
              * ForwardingHeaders/kxmlcore/SharedPtr.h: Added.
              * ForwardingHeaders/misc/main_thread_malloc.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/css/css_base.h:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.h:
              * khtml/css/css_valueimpl.h:
              * khtml/css/cssstyleselector.h:
              * khtml/ecma/domparser.h:
              * khtml/ecma/kjs_css.h:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_html.cpp:
              * khtml/ecma/kjs_html.h:
              * khtml/ecma/kjs_range.h:
              * khtml/ecma/kjs_traversal.h:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_views.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.h:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/break_blockquote_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_from_text_node_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_into_text_node_command.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/remove_css_property_command.cpp:
              * khtml/editing/remove_node_attribute_command.cpp:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/set_node_attribute_command.cpp:
              * khtml/editing/split_element_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/split_text_node_containing_element.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_position.h:
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_tableimpl.h:
              * khtml/html/htmlparser.cpp:
              * khtml/khtmlpart_p.h:
              * khtml/misc/arena.cpp:
              (ArenaAllocate):
              (FreeArenaList):
              (ArenaFinish):
              * khtml/misc/hashtable.h:
              (khtml::HashTable::~HashTable):
              (khtml::::allocateTable):
              (khtml::::rehash):
              (khtml::::clear):
              (khtml::::HashTable):
              * khtml/misc/loader.cpp:
              * khtml/misc/main_thread_malloc.cpp: Removed.
              * khtml/misc/main_thread_malloc.h: Removed.
              * khtml/misc/shared.h:
              * khtml/rendering/render_style.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (NamedAttrMapImpl::clearAttributes):
              (NamedAttrMapImpl::operator=):
              (NamedAttrMapImpl::addAttribute):
              (NamedAttrMapImpl::removeAttribute):
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_stringimpl.h:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQArrayImpl.h:
              * kwq/KWQArrayImpl.mm:
              (KWQArrayImpl::KWQArrayPrivate::KWQArrayPrivate):
              (KWQArrayImpl::KWQArrayPrivate::~KWQArrayPrivate):
              (KWQArrayImpl::resize):
              * kwq/KWQAssertions.h: Removed.
              * kwq/KWQAssertions.m: Removed.
              * kwq/KWQButton.mm:
              * kwq/KWQCString.mm:
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQExceptions.h:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFormData.mm:
              * kwq/KWQKHTMLPart.h:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKPartsBrowserInterface.mm:
              * kwq/KWQKURL.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLogging.h:
              * kwq/KWQLogging.m:
              * kwq/KWQMapImpl.h:
              * kwq/KWQMapImpl.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQSignal.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_QCHAR):
              (QString::setBufferFromCFString):
              (allocatePageNode):
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextCodec.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQValueListImpl.h:
              * kwq/KWQValueListImpl.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCookieAdapter.m:
              * kwq/WebCoreGraphicsBridge.m:
              * kwq/WebCoreImageRendererFactory.m:
              * kwq/WebCoreKeyGenerator.m:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/WebCoreViewFactory.m:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cff5e5ee
  23. 12 May, 2005 1 commit
    • darin's avatar
      Reviewed by Maciej (except for some parts outside the ECMA directory). · 37da08c4
      darin authored
              - switch KJS wrappers over to using the DOM impl. classes rather than using
                the DOM wrappers; will allow us to not even compile the DOM wrappers and
                make the code smaller
      
              * khtml/css/css_valueimpl.h: Added CSSStyleDeclarationImpl::isPropertyName,
              removed CSSStyleDeclarationImpl::propertyID.
              * khtml/css/css_valueimpl.cpp:
              (DOM::propertyID): Added. Gets property ID given a DOM string. Replaces the
              previous version that had hacks that we want to leave in the JS wrapper for now.
              (DOM::CSSStyleDeclarationImpl::isPropertyName): Added.
      
              * khtml/css/cssproperties.in: Fixed up comments.
      
              * khtml/css/makeprop: Added new maxCSSPropertyNameLength constant, used for
              buffer size in the propertyID function.
      
              * khtml/dom/dom2_events.h: Added handleEventImpl, making it easier to call
              handleEvent in a way that works either with or without the C++ DOM wrappers.
              * khtml/dom/dom2_events.cpp: (EventListener::handleEventImpl): Added.
      
              * khtml/dom/dom2_views.cpp: Added now-needed include.
              * khtml/dom/dom_doc.cpp: Added now-needed include.
              * khtml/dom/dom_element.cpp: Tweaked includes.
      
              * khtml/editing/htmlediting.cpp: Removed now-unneeded include.
              * khtml/html/html_baseimpl.cpp: Ditto.
              * khtml/html/html_formimpl.h: Ditto.
              * khtml/rendering/render_form.h: Ditto.
              * khtml/rendering/render_style.h: Ditto.
              * khtml/xml/dom2_eventsimpl.cpp: Ditto.
              * khtml/xml/dom2_viewsimpl.h: Ditto.
              * khtml/xml/dom_elementimpl.h: Ditto.
              * khtml/xml/dom_stringimpl.h: Ditto.
              * kwq/DOM.mm: Ditto.
              * kwq/DOMHTML.mm: Ditto.
      
              * khtml/khtml_part.cpp: Tweaked incluudes.
              * khtml/khtmlpart_p.h: Ditto.
      
              * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::canCachePage): Change to use DOM impl. rather
              than C++ DOM.
      
              * khtml/xml/dom_docimpl.cpp:
              (DOMImplementationImpl::createDocumentType): Disabled the calls to the not-implemented
              name checks in the C++ DOM wrappers. If we add name changes, we'll want them inside the
              impl, not in the wrappers.
              (DOMImplementationImpl::createDocument): Ditto.
              * khtml/xml/dom_nodeimpl.cpp: (NodeImpl::checkSetPrefix): Ditto.
      
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::wasRunByUserGesture):
              (KJS::KJS::ValueToVariant):
              (KJS::setDOMException):
              * khtml/ecma/kjs_binding.h:
              (KJS::ScriptInterpreter::setCurrentEvent):
              (KJS::ScriptInterpreter::getCurrentEvent):
              (KJS::cacheDOMObject):
              (KJS::DOMExceptionTranslator::DOMExceptionTranslator):
              (KJS::DOMExceptionTranslator::~DOMExceptionTranslator):
              (KJS::DOMExceptionTranslator::operator int &):
              (KJS::cacheGlobalObject):
              * khtml/ecma/kjs_css.cpp:
              (KJS::cssPropertyName):
              (KJS::isCSSPropertyName):
              (KJS::DOMCSSStyleDeclaration::DOMCSSStyleDeclaration):
              (KJS::DOMCSSStyleDeclaration::~DOMCSSStyleDeclaration):
              (KJS::DOMCSSStyleDeclaration::hasProperty):
              (KJS::DOMCSSStyleDeclaration::tryGet):
              (KJS::DOMCSSStyleDeclaration::tryPut):
              (KJS::DOMCSSStyleDeclarationProtoFunc::tryCall):
              (KJS::getDOMCSSStyleDeclaration):
              (KJS::DOMStyleSheet::~DOMStyleSheet):
              (KJS::DOMStyleSheet::getValueProperty):
              (KJS::DOMStyleSheet::tryPut):
              (KJS::getDOMStyleSheet):
              (KJS::DOMStyleSheetList::~DOMStyleSheetList):
              (KJS::DOMStyleSheetList::tryGet):
              (KJS::getDOMStyleSheetList):
              (KJS::DOMStyleSheetListFunc::tryCall):
              (KJS::DOMMediaList::DOMMediaList):
              (KJS::DOMMediaList::~DOMMediaList):
              (KJS::DOMMediaList::tryGet):
              (KJS::DOMMediaList::tryPut):
              (KJS::getDOMMediaList):
              (KJS::KJS::DOMMediaListProtoFunc::tryCall):
              (KJS::DOMCSSStyleSheet::DOMCSSStyleSheet):
              (KJS::DOMCSSStyleSheet::tryGet):
              (KJS::DOMCSSStyleSheetProtoFunc::tryCall):
              (KJS::DOMCSSRuleList::~DOMCSSRuleList):
              (KJS::DOMCSSRuleList::tryGet):
              (KJS::DOMCSSRuleListFunc::tryCall):
              (KJS::getDOMCSSRuleList):
              (KJS::DOMCSSRule::~DOMCSSRule):
              (KJS::DOMCSSRule::classInfo):
              (KJS::DOMCSSRule::tryGet):
              (KJS::DOMCSSRule::getValueProperty):
              (KJS::DOMCSSRule::putValue):
              (KJS::DOMCSSRuleFunc::tryCall):
              (KJS::getDOMCSSRule):
              (KJS::DOMCSSValue::~DOMCSSValue):
              (KJS::DOMCSSValue::tryGet):
              (KJS::DOMCSSValue::tryPut):
              (KJS::getDOMCSSValue):
              (KJS::DOMCSSPrimitiveValue::DOMCSSPrimitiveValue):
              (KJS::DOMCSSPrimitiveValue::tryGet):
              (KJS::DOMCSSPrimitiveValueProtoFunc::tryCall):
              (KJS::DOMCSSValueList::DOMCSSValueList):
              (KJS::DOMCSSValueList::tryGet):
              (KJS::DOMCSSValueListFunc::tryCall):
              (KJS::DOMRGBColor::getValueProperty):
              (KJS::getDOMRGBColor):
              (KJS::DOMRect::~DOMRect):
              (KJS::DOMRect::getValueProperty):
              (KJS::getDOMRect):
              (KJS::DOMCounter::~DOMCounter):
              (KJS::DOMCounter::getValueProperty):
              (KJS::getDOMCounter):
              * khtml/ecma/kjs_css.h:
              (KJS::DOMCSSStyleDeclaration::impl):
              (KJS::DOMStyleSheet::DOMStyleSheet):
              (KJS::DOMStyleSheet::impl):
              (KJS::DOMStyleSheetList::DOMStyleSheetList):
              (KJS::DOMStyleSheetList::impl):
              (KJS::DOMMediaList::impl):
              (KJS::DOMCSSStyleSheet::):
              (KJS::DOMCSSRuleList::DOMCSSRuleList):
              (KJS::DOMCSSRuleList::impl):
              (KJS::DOMCSSRule::DOMCSSRule):
              (KJS::DOMCSSRule::impl):
              (KJS::DOMCSSValue::DOMCSSValue):
              (KJS::DOMCSSValue::impl):
              (KJS::DOMCSSValueList::):
              (KJS::DOMRGBColor::DOMRGBColor):
              (KJS::DOMRect::DOMRect):
              (KJS::DOMCounter::DOMCounter):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNodeListFunc::):
              (KJS::DOMNode::DOMNode):
              (KJS::DOMNode::toBoolean):
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValue):
              (KJS::DOMNode::toPrimitive):
              (KJS::DOMNode::toString):
              (KJS::DOMNode::setListener):
              (KJS::DOMNode::getListener):
              (KJS::DOMNodeProtoFunc::tryCall):
              (KJS::toNode):
              (KJS::DOMNodeList::~DOMNodeList):
              (KJS::DOMNodeList::toPrimitive):
              (KJS::DOMNodeList::tryGet):
              (KJS::DOMNodeList::tryCall):
              (KJS::DOMNodeListFunc::tryCall):
              (KJS::DOMAttr::DOMAttr):
              (KJS::DOMAttr::getValueProperty):
              (KJS::DOMAttr::putValue):
              (KJS::toAttr):
              (KJS::DOMDocument::DOMDocument):
              (KJS::DOMDocument::~DOMDocument):
              (KJS::DOMDocument::getValueProperty):
              (KJS::DOMDocument::putValue):
              (KJS::DOMDocumentProtoFunc::tryCall):
              (KJS::DOMElement::DOMElement):
              (KJS::DOMElement::tryGet):
              (KJS::DOMElementProtoFunc::tryCall):
              (KJS::toElement):
              (KJS::DOMDOMImplementation::DOMDOMImplementation):
              (KJS::DOMDOMImplementation::~DOMDOMImplementation):
              (KJS::DOMDOMImplementationProtoFunc::tryCall):
              (KJS::DOMDocumentType::DOMDocumentType):
              (KJS::DOMDocumentType::getValueProperty):
              (KJS::toDocumentType):
              (KJS::DOMNamedNodeMap::DOMNamedNodeMap):
              (KJS::DOMNamedNodeMap::~DOMNamedNodeMap):
              (KJS::DOMNamedNodeMap::tryGet):
              (KJS::DOMNamedNodeMapProtoFunc::tryCall):
              (KJS::DOMProcessingInstruction::DOMProcessingInstruction):
              (KJS::DOMProcessingInstruction::getValueProperty):
              (KJS::DOMProcessingInstruction::tryPut):
              (KJS::DOMNotation::DOMNotation):
              (KJS::DOMNotation::getValueProperty):
              (KJS::DOMEntity::DOMEntity):
              (KJS::DOMEntity::getValueProperty):
              (KJS::getDOMDocumentNode):
              (KJS::checkNodeSecurity):
              (KJS::getDOMNode):
              (KJS::getDOMNamedNodeMap):
              (KJS::getRuntimeObject):
              (KJS::getDOMNodeList):
              (KJS::getDOMDOMImplementation):
              (KJS::getNodeConstructor):
              (KJS::getDOMExceptionConstructor):
              (KJS::DOMNamedNodesCollection::DOMNamedNodesCollection):
              (KJS::DOMNamedNodesCollection::tryGet):
              (KJS::DOMCharacterData::DOMCharacterData):
              (KJS::DOMCharacterData::getValueProperty):
              (KJS::DOMCharacterData::tryPut):
              (KJS::DOMCharacterDataProtoFunc::tryCall):
              (KJS::DOMText::DOMText):
              (KJS::DOMTextProtoFunc::tryCall):
              * khtml/ecma/kjs_dom.h:
              (KJS::DOMNode::impl):
              (KJS::DOMNodeList::DOMNodeList):
              (KJS::DOMNodeList::impl):
              (KJS::DOMDOMImplementation::impl):
              (KJS::DOMNamedNodeMap::impl):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::JSLazyEventListener::handleEvent):
              (KJS::getNodeEventListener):
              (KJS::DOMEvent::DOMEvent):
              (KJS::DOMEvent::~DOMEvent):
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMEvent::putValue):
              (KJS::DOMEventProtoFunc::tryCall):
              (KJS::getDOMEvent):
              (KJS::toEvent):
              (KJS::DOMUIEvent::DOMUIEvent):
              (KJS::DOMUIEvent::getValueProperty):
              (KJS::DOMUIEventProtoFunc::tryCall):
              (KJS::DOMMouseEvent::DOMMouseEvent):
              (KJS::DOMMouseEvent::getValueProperty):
              (KJS::DOMMouseEventProtoFunc::tryCall):
              (KJS::DOMKeyboardEvent::DOMKeyboardEvent):
              (KJS::DOMKeyboardEvent::getValueProperty):
              (KJS::DOMKeyboardEventProtoFunc::tryCall):
              (KJS::DOMMutationEvent::DOMMutationEvent):
              (KJS::DOMMutationEvent::getValueProperty):
              (KJS::DOMMutationEventProtoFunc::tryCall):
              (KJS::DOMWheelEvent::DOMWheelEvent):
              (KJS::DOMWheelEvent::getValueProperty):
              (KJS::ClipboardProtoFunc::tryCall):
              * khtml/ecma/kjs_events.h:
              (KJS::DOMEvent::impl):
              (KJS::DOMUIEvent::):
              (KJS::DOMMouseEvent::):
              (KJS::DOMKeyboardEvent::):
              (KJS::DOMMutationEvent::):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::HTMLDocFunction::tryCall):
              (KJS::HTMLDocument::HTMLDocument):
              (KJS::HTMLDocument::hasProperty):
              (KJS::HTMLDocument::tryGet):
              (KJS::KJS::HTMLDocument::putValue):
              (KJS::KJS::HTMLElement::classInfo):
              (KJS::HTMLElement::HTMLElement):
              (KJS::KJS::HTMLElement::tryGet):
              (KJS::KJS::HTMLElement::implementsCall):
              (KJS::KJS::HTMLElement::call):
              (KJS::KJS::HTMLElement::getValueProperty):
              (KJS::KJS::HTMLElement::hasProperty):
              (KJS::KJS::HTMLElement::toString):
              (KJS::getForm):
              (KJS::KJS::HTMLElement::pushEventHandlerScope):
              (KJS::KJS::HTMLElementFunction::tryCall):
              (KJS::KJS::HTMLElement::tryPut):
              (KJS::HTMLElement::putValue):
              (KJS::toHTMLElement):
              (KJS::toHTMLTableCaptionElement):
              (KJS::toHTMLTableSectionElement):
              (KJS::HTMLCollection::HTMLCollection):
              (KJS::HTMLCollection::~HTMLCollection):
              (KJS::KJS::HTMLCollection::tryGet):
              (KJS::KJS::HTMLCollection::tryCall):
              (KJS::KJS::HTMLCollection::getNamedItems):
              (KJS::KJS::HTMLCollectionProtoFunc::tryCall):
              (KJS::HTMLSelectCollection::HTMLSelectCollection):
              (KJS::KJS::HTMLSelectCollection::tryGet):
              (KJS::KJS::HTMLSelectCollection::tryPut):
              (KJS::OptionConstructorImp::OptionConstructorImp):
              (KJS::OptionConstructorImp::construct):
              (KJS::ImageConstructorImp::ImageConstructorImp):
              (KJS::ImageConstructorImp::construct):
              (KJS::Image::notifyFinished):
              (KJS::Image::Image):
              (KJS::KJS::Context2DFunction::tryCall):
              (KJS::):
              (KJS::colorRefFromValue):
              (KJS::colorFromValue):
              (KJS::Context2D::putValue):
              (KJS::Context2D::Context2D):
              (KJS::Context2D::mark):
              (KJS::GradientFunction::tryCall):
              (KJS::ImagePattern::tryGet):
              (KJS::getHTMLCollection):
              (KJS::getSelectHTMLCollection):
              * khtml/ecma/kjs_html.h:
              (KJS::HTMLDocument::):
              (KJS::HTMLElement::):
              (KJS::HTMLCollection::impl):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::evaluate):
              (KJSProxyImpl::finishedWithEvent):
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_range.cpp:
              (KJS::DOMRange::DOMRange):
              (KJS::DOMRange::~DOMRange):
              (KJS::DOMRange::tryGet):
              (KJS::DOMRange::getValueProperty):
              (KJS::DOMRangeProtoFunc::tryCall):
              (KJS::getDOMRange):
              (KJS::RangeConstructor::tryGet):
              (KJS::getRangeConstructor):
              (KJS::toRange):
              * khtml/ecma/kjs_range.h:
              (KJS::DOMRange::impl):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::DOMNodeIterator::DOMNodeIterator):
              (KJS::DOMNodeIterator::~DOMNodeIterator):
              (KJS::DOMNodeIterator::getValueProperty):
              (KJS::DOMNodeIteratorProtoFunc::tryCall):
              (KJS::getDOMNodeIterator):
              (KJS::DOMNodeFilter::DOMNodeFilter):
              (KJS::DOMNodeFilter::~DOMNodeFilter):
              (KJS::DOMNodeFilterProtoFunc::tryCall):
              (KJS::getDOMNodeFilter):
              (KJS::toNodeFilter):
              (KJS::DOMTreeWalker::DOMTreeWalker):
              (KJS::DOMTreeWalker::~DOMTreeWalker):
              (KJS::DOMTreeWalker::getValueProperty):
              (KJS::DOMTreeWalker::tryPut):
              (KJS::DOMTreeWalkerProtoFunc::tryCall):
              (KJS::getDOMTreeWalker):
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_traversal.h:
              (KJS::DOMNodeIterator::impl):
              (KJS::DOMNodeFilter::impl):
              (KJS::DOMTreeWalker::impl):
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractView::~DOMAbstractView):
              (KJS::DOMAbstractView::tryGet):
              (KJS::DOMAbstractViewFunc::tryCall):
              (KJS::getDOMAbstractView):
              (KJS::toAbstractView):
              * khtml/ecma/kjs_views.h:
              (KJS::DOMAbstractView::DOMAbstractView):
              (KJS::DOMAbstractView::impl):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::get):
              (KJS::Window::hasProperty):
              (KJS::Window::put):
              (KJS::Window::setListener):
              (KJS::Window::getListener):
              (KJS::Window::setCurrentEvent):
              (KJS::WindowFunc::tryCall):
              (KJS::Location::put):
              (KJS::LocationFunc::tryCall):
              (KJS::Selection::get):
              (KJS::SelectionFunc::tryCall):
              * khtml/ecma/kjs_window.h:
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequestConstructorImp::XMLHttpRequestConstructorImp):
              (KJS::XMLHttpRequestConstructorImp::~XMLHttpRequestConstructorImp):
              (KJS::XMLHttpRequestConstructorImp::construct):
              (KJS::XMLHttpRequest::getValueProperty):
              (KJS::XMLHttpRequest::XMLHttpRequest):
              (KJS::XMLHttpRequest::changeState):
              (KJS::XMLHttpRequest::open):
              (KJS::XMLHttpRequestProtoFunc::tryCall):
              * khtml/ecma/xmlhttprequest.h:
              * khtml/ecma/xmlserializer.cpp:
              (KJS::XMLSerializerProtoFunc::tryCall):
              * khtml/ecma/xmlserializer.h:
              * kwq/DOMInternal.mm:
              (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * kwq/DOMUtility.mm:
              (KJS::ScriptInterpreter::createObjcInstanceForValue):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37da08c4
  24. 26 Apr, 2005 1 commit
    • mjs's avatar
      Reviewed by Darin. · 00f41b13
      mjs authored
      	- use single-threaded malloc in places where malloc is hot for an
      	8% speed improvement on cvs-base
      
              * ForwardingHeaders/misc/fast_malloc.h: Added.
              * WebCore.pbproj/project.pbxproj:
              * khtml/css/css_base.h:
              * khtml/css/css_ruleimpl.h:
              * khtml/css/css_valueimpl.h:
              * khtml/css/cssstyleselector.h:
              * khtml/misc/arena.cpp:
              (ArenaAllocate):
              (FreeArenaList):
              (ArenaFinish):
              * khtml/misc/main_thread_malloc.cpp: Added.
              * khtml/misc/main_thread_malloc.h: Added.
              * khtml/rendering/render_style.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (NamedAttrMapImpl::NamedAttrMapImpl):
              (NamedAttrMapImpl::clearAttributes):
              (NamedAttrMapImpl::operator=):
              (NamedAttrMapImpl::addAttribute):
              (NamedAttrMapImpl::removeAttribute):
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_stringimpl.h:
              * kwq/KWQFontFamily.h:
              * kwq/KWQListImpl.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_CHAR):
              (ALLOC_QCHAR):
              (QString::setBufferFromCFString):
              (allocatePageNode):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00f41b13
  25. 10 Jun, 2002 1 commit
    • darin's avatar
      JavaScriptCore: · f028f81b
      darin authored
      	Merged in changes from KDE 3.0.1.
      
      	* kjs/collector.cpp:
      	* kjs/date_object.cpp:
      	* kjs/function.cpp:
      	* kjs/internal.cpp:
      	* kjs/lookup.h:
      	* kjs/object.cpp:
      	* kjs/operations.cpp:
      	* kjs/regexp.cpp:
      	* kjs/regexp_object.cpp:
      	* kjs/regexp_object.h:
      	* kjs/string_object.cpp:
      	* kjs/testkjs.cpp:
      	* kjs/ustring.cpp:
      	* kjs/value.cpp:
      	* kjs/value.h:
      	Do the merge, and add APPLE_CHANGES as needed to make things compile.
      
      	* kjs/date_object.lut.h: Re-generated.
      
      WebCore:
      
      	Merged in changes from KDE 3.0.1.
      
      	* kwq/kdecore/kurl.h:
      	* kwq/KWQKURL.mm: (operator==): New, needed by some 3.0.1 code.
      
      	* kwq/qt/qpalette.h: Add QPalette::NColorGroups and QColorGroup::NColorRoles.
      	* kwq/KWQPalette.mm: Simplify by getting rid of "private" indirection.
      	(QPalette::color): New, needed by some 3.0.1 code.
      	* kwq/KWQColorGroup.mm: Simplify by getting rid of "private" indirection.
      
      	* kwq/qt/qstring.h:
      	* kwq/KWQString.mm: (QConstString::QConstString): Change parameter to const QChar *
      	to match Qt so we compile.
      
      	* kwq/qt/qtextedit.h:
      	* kwq/KWQTextEdit.mm: (QTextEdit::setTabStopWidth): Add unimplemented placeholder,
      	needed by some 3.0.1 code.
      
      	* kwq/qt/qvaluelist.h:
      	* kwq/KWQValueListImpl.h:
      	* kwq/KWQValueListImpl.mm: Simplify implementation.
      
      	* WebCore-tests.exp: Update for changes in QValueList implementation.
      
      	* kwq/kdecore/klibloader.h: Add include of <kio/global.h> to make something compile.
      
      	* kwq/khtml/java/kjavaappletcontext.h: Add JType and constructor that takes DCOPObject*.
      
      	* kwq/kio/global.h: Add KIO::CacheControl.
      
      	* khtml/css/css_ruleimpl.cpp:
      	* khtml/css/css_ruleimpl.h:
      	* khtml/css/css_stylesheetimpl.cpp:
      	* khtml/css/css_stylesheetimpl.h:
      	* khtml/css/css_valueimpl.cpp:
      	* khtml/css/css_valueimpl.h:
      	* khtml/css/cssparser.cpp:
      	* khtml/css/cssparser.h:
      	* khtml/css/cssstyleselector.cpp:
      	* khtml/css/cssstyleselector.h:
      	* khtml/css/html4.css:
      	* khtml/dom/css_rule.cpp:
      	* khtml/dom/css_rule.h:
      	* khtml/dom/css_stylesheet.cpp:
      	* khtml/dom/css_stylesheet.h:
      	* khtml/dom/css_value.cpp:
      	* khtml/dom/dom2_events.cpp:
      	* khtml/dom/dom2_range.cpp:
      	* khtml/dom/dom2_range.h:
      	* khtml/dom/dom2_views.cpp:
      	* khtml/dom/dom_doc.cpp:
      	* khtml/dom/dom_element.cpp:
      	* khtml/dom/dom_exception.h:
      	* khtml/dom/dom_node.cpp:
      	* khtml/dom/dom_string.cpp:
      	* khtml/dom/dom_text.cpp:
      	* khtml/dom/dom_xml.cpp:
      	* khtml/dom/html_base.cpp:
      	* khtml/dom/html_block.cpp:
      	* khtml/dom/html_document.cpp:
      	* khtml/dom/html_element.cpp:
      	* khtml/dom/html_element.h:
      	* khtml/dom/html_form.cpp:
      	* khtml/dom/html_head.cpp:
      	* khtml/dom/html_image.cpp:
      	* khtml/dom/html_inline.cpp:
      	* khtml/dom/html_list.cpp:
      	* khtml/dom/html_misc.cpp:
      	* khtml/dom/html_object.cpp:
      	* khtml/dom/html_table.cpp:
      	* khtml/ecma/kjs_html.cpp:
      	* khtml/ecma/kjs_proxy.cpp:
      	* khtml/ecma/kjs_traversal.cpp:
      	* khtml/ecma/kjs_window.cpp:
      	* khtml/html/html_baseimpl.cpp:
      	* khtml/html/html_formimpl.cpp:
      	* khtml/html/html_miscimpl.h:
      	* khtml/html/html_objectimpl.cpp:
      	* khtml/html/html_objectimpl.h:
      	* khtml/html/htmlparser.cpp:
      	* khtml/html/htmlparser.h:
      	* khtml/html/htmltokenizer.cpp:
      	* khtml/html/htmltokenizer.h:
      	* khtml/khtml_part.cpp:
      	* khtml/khtmlpart_p.h:
      	* khtml/khtmlview.cpp:
      	* khtml/misc/helper.cpp:
      	* khtml/misc/khtmllayout.h:
      	* khtml/misc/loader.cpp:
      	* khtml/misc/loader.h:
      	* khtml/misc/loader_client.h:
      	* khtml/misc/shared.h: Added.
      	* khtml/rendering/bidi.cpp:
      	* khtml/rendering/break_lines.cpp:
      	* khtml/rendering/font.cpp:
      	* khtml/rendering/render_applet.cpp:
      	* khtml/rendering/render_applet.h:
      	* khtml/rendering/render_container.cpp:
      	* khtml/rendering/render_form.cpp:
      	* khtml/rendering/render_form.h:
      	* khtml/rendering/render_frames.cpp:
      	* khtml/rendering/render_image.cpp:
      	* khtml/rendering/render_object.cpp:
      	* khtml/rendering/render_object.h:
      	* khtml/rendering/render_replaced.cpp:
      	* khtml/rendering/render_replaced.h:
      	* khtml/rendering/render_root.cpp:
      	* khtml/rendering/render_style.cpp:
      	* khtml/rendering/render_style.h:
      	* khtml/rendering/render_table.cpp:
      	* khtml/rendering/render_table.h:
      	* khtml/rendering/render_text.cpp:
      	* khtml/rendering/render_text.h:
      	* khtml/xml/dom2_eventsimpl.h:
      	* khtml/xml/dom2_rangeimpl.h:
      	* khtml/xml/dom2_traversalimpl.cpp:
      	* khtml/xml/dom2_traversalimpl.h:
      	* khtml/xml/dom2_viewsimpl.h:
      	* khtml/xml/dom_docimpl.cpp:
      	* khtml/xml/dom_docimpl.h:
      	* khtml/xml/dom_elementimpl.h:
      	* khtml/xml/dom_nodeimpl.cpp:
      	* khtml/xml/dom_nodeimpl.h:
      	* khtml/xml/dom_stringimpl.cpp:
      	* khtml/xml/dom_stringimpl.h:
      	* khtml/xml/xml_tokenizer.h:
      	Merge in 3.0.1 changes and add APPLE_CHANGES as necessary to get it to compile.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f028f81b
  26. 15 Apr, 2002 1 commit
    • darin's avatar
      Merged KDE 3.0 final code in and: · b70665a4
      darin authored
      JavaScriptCore:
      
      	* kjs/internal.cpp:
      	* kjs/property_map.cpp:
      	* kjs/ustring.h:
      	Removed some unneeded <config.h> includes so we are more similar
      	to the real KDE sources.
      
      	Merged changes from KDE 3.0 final and did some build fixes.
      
      	* JavaScriptCore.pbproj/project.pbxproj: Added nodes2string.cpp.
      
      	* kjs/grammar.*: Regenerated.
      	* kjs/*.lut.h: Regenerated.
      
      WebCore:
      
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
      	Remove some minor gratuitous diffs vs. KDE.
      
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
              Richard updated to reflect changes in KDE.
      
      	* src/kdelibs/khtml/css/css_valueimpl.cpp:
      	(FontFamilyValueImpl::FontFamilyValueImpl): Fix comment.
      	* src/kdelibs/khtml/css/cssstyleselector.cpp: Remove some gratuitous diffs vs. KDE.
      	* src/kdelibs/khtml/html/html_objectimpl.cpp:
      	(HTMLEmbedElementImpl::parseAttribute): Remove unneeded copy from KWQ's early days.
      	* src/kdelibs/khtml/html/html_tableimpl.cpp:
      	(HTMLTableElementImpl::parseAttribute),
      	(HTMLTablePartElementImpl::parseAttribute): Remove unneeded copy from KWQ's early days.
      	* src/kdelibs/khtml/html/htmltokenizer.cpp: (HTMLTokenizer::processToken): Redo the
      	APPLE_CHANGES ifdef here.
      	* src/kdelibs/khtml/khtmlpart_p.h: Update to latest kde.
      	* src/kdelibs/khtml/khtmlview.cpp: (KHTMLView::KHTMLView): Add ifdef APPLE_CHANGES.
      	(KHTMLView::~KHTMLView): Add ifdef APPLE_CHANGES.
      	(KHTMLView::print): Remove code left in here during merge process.
      	* src/kwq/KWQKHTMLPart.mm: Remove unused setFontSizes(), fontSizes(), and
      	resetFontSizes(). After the merge is landed, remove more.
      	* src/libwebcore.exp: Export updateStyleSelector() for WebKit.
      
      	Fix text to it displays at the right font size.
      
      	* src/kdelibs/khtml/css/cssstyleselector.cpp:
      	(CSSStyleSelector::computeFontSizes): Apply the same SCREEN_RESOLUTION hack here
      	that we do elsewhere.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::width): Use kMin instead of max (oops).
      	(Font::update): Turn off font database chicanery.
      	* src/kwq/KWQKHTMLPart.mm: (KHTMLPart::zoomFactor): Use zoom factor 100, not 1.
      
      	More fixes so text displays (still at wrong font size).
      
      	* src/kdelibs/khtml/rendering/font.cpp: (max): New helper.
      	(Font::drawText): Simplified implementation for now.
      	(Font::width): Simplified implementation for now.
      	* src/kwq/KWQColorGroup.mm: Reinstated QCOLOR_GROUP_SIZE.
      
      	* src/kwq/qt/qfontmetrics.h: Removed charWidth and changed _width to take QChar *.
      	* src/kwq/KWQFontMetrics.mm: Removed charWidth and changed _width to take QChar *.
      
      	Merged changes from KDE 3.0 final. Other fixes to get things compiling.
      
      	* src/kdelibs/khtml/css/css_valueimpl.cpp:
      	(CSSStyleDeclarationImpl::setProperty): Fix unused variable.
      	* src/kdelibs/khtml/khtmlview.cpp: (KHTMLView::contentsContextMenuEvent):
      	Fix unused variable.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::drawText), (Font::width),
      	(Font::update): Disable special "nsbp" logic for now. We can reenable it
      	if necessary.
      	* src/kdelibs/khtml/rendering/render_replaced.cpp: Fix mismerge.
      	* src/kdelibs/khtml/rendering/render_text.cpp: (RenderText::nodeAtPoint):
      	Fix unused variable.
      	* src/kwq/KWQApplication.mm: (QDesktopWidget::width), (QApplication::desktop):
      	Fix mismerge.
      	* src/kwq/KWQColorGroup.mm: Fix QCOLOR_GROUP_SIZE.
      	* src/kwq/KWQFontMetrics.mm: (QFontMetrics::lineSpacing): New.
      	(QFontMetrics::width): Remove unused optimization.
      	* src/kwq/qt/qfontmetrics.h: Add lineSpacing().
      
              Merged changes from previous merge pass.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
              Last bit of making stuff compile and link. Probably will drop the merge now
              and take it up again when it's time to merge in KDE 3.0 final.
      
      	* src/kwq/KWQEvent.mm: (QFocusEvent::reason): New.
      	* src/kwq/KWQPainter.mm: (QPainter::drawText): New overload.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::width): Make it call _width so we
              don't lose the optimization.
      
      	* src/kwq/KWQApplication.mm: (QDesktopWidget::screenNumber): New.
      	(QDesktopWidget::screenGeometry): New.
              (QApplication::style): New.
      	* src/kwq/KWQColorGroup.mm: (QColorGroup::highlight): New.
      	(QColorGroup::highlightedText): New.
      	* src/kwq/KWQFont.mm: (QFont::setPixelSize): New.
      	* src/kwq/KWQFontMetrics.mm: (QFontMetrics::charWidth): New.
      	* src/kwq/KWQKGlobal.mm: (KGlobal::locale): Implement.
              (KLocale::KLocale): New.
      	(KLocale::languageList): New.
      	* src/kwq/KWQKHTMLPart.mm: (KHTMLPart::sheetUsed): New.
      	(KHTMLPart::setSheetUsed): New.
              (KHTMLPart::zoomFactor): New.
      	* src/kwq/KWQKHTMLSettings.mm: (KHTMLSettings::mediumFontSize): New.
      	* src/kwq/KWQScrollView.mm: (QScrollView::childX): New.
              (QScrollView::childY): New.
      
      	* src/kwq/qt/qapplication.h: style() returns a QStyle &.
      	* src/kwq/qt/qpalette.h: Add Highlight and HighlightedText.
      
              2002-03-24  Darin Adler  <darin@apple.com>
      
              More compiling. Still won't link.
      
      	* src/kdelibs/khtml/khtmlview.cpp: Disable printing and drag and drop code.
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
              Temporarily turn off our smarter underlining since it relies on access to the
              string, and TextSlave doesn't have that any more.
      	(RenderText::nodeAtPoint): Get rid of a workaround we don't need any more for
              a bug that was fixed by KDE folks.
      	* src/kwq/KWQApplication.mm: (QApplication::desktop): Make the desktop be a
              QDesktopWidget.
      	* src/kwq/qt/qnamespace.h: Add MetaButton.
      	* src/kwq/qt/qtooltip.h: Add a maybeTip virtual function member and a virtual
              destructor.
      
              2002-03-24  Darin Adler  <darin@apple.com>
      
              Some fixes to get more stuff to compile.
      
      	* src/kdelibs/khtml/ecma/kjs_dom.cpp: (DOMDocument::getValueProperty):
              Don't try to look at the private m_bComplete to display "complete". Just do
              "loading" and "loaded".
              * src/kdelibs/khtml/khtmlpart_p.h: #ifdef this all out for APPLE_CHANGES.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::update): Add an explicit cast to
              int to avoid float -> int warning.
      	* src/kdelibs/khtml/rendering/render_table.cpp: (RenderTable::calcColMinMax):
              Add an explicit cast to int to avoid uint compared with int warning.
      	* src/kdelibs/khtml/xml/dom_docimpl.cpp: (DocumentImpl::recalcStyleSelector):
              Use sheetUsed() and setSheetUsed() functions on KHTMLPart intead of getting
              at private fields the way the real KDE code does.
      
              * src/kwq/KWQKHTMLPart.h: Declare zoomFactor(), sheetUsed(), and setSheetUsed().
      	* src/kwq/KWQStyle.h: Add PM_DefaultFramWidth as another metric.
      	* src/kwq/kdecore/klocale.h: Add languageList().
      	* src/kwq/khtml/khtml_settings.h: Add mediumFontSize().
      	* src/kwq/qt/qapplication.h: Add style() and QDesktopWidget.
      	* src/kwq/qt/qevent.h: Add reason().
      	* src/kwq/qt/qfont.h: Add setPixelSize(int).
      	* src/kwq/qt/qfontmetrics.h: Add charWidth() and _charWidth() functions.
      	* src/kwq/qt/qpainter.h: Add drawText() overload with position parameter.
      	* src/kwq/qt/qpalette.h: Add highlight() and highlightedText().
      	* src/kwq/qt/qscrollview.h: Add childX() and childY().
      
      	* src/kwq/KWQApplication.mm: Change KWQDesktopWidget to QDesktopWidget.
      
      WebKit:
      
      	* WebView.subproj/IFPreferences.h:
      	* WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Remove the old
      	WebKitFontSizes preference.
      	(-[IFPreferences mediumFontSize]), (-[IFPreferences setMediumFontSize:]): New.
      
      	* WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]): Call
      	updateStyleSelector() instead of recalcStyle().
      
              Merged changes from previous merge branch.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
      	* WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
              Add WebKitMediumFontSizePreferenceKey.
      
      WebBrowser:
      
      	* Preferences.subproj/TextPreferences.m: (-[TextPreferences defaultFontSize]),
      	(-[TextPreferences setDefaultFontSize:]): Just get and set the new mediumFontSize
      	preference rather than doing the whole fontSizes preference dance.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b70665a4
  27. 21 Mar, 2002 1 commit
  28. 24 Aug, 2001 1 commit