1. 16 Mar, 2006 1 commit
    • darin's avatar
      Reviewed by Eric. · 8a2a58fd
      darin authored
              - removed KWQWindowWidget
              - changed most event handling to use references instead of pointers
              - chagned PageMac to no longer be a subclass of Page
      
              Yes, I know there's no detail in this ChangeLog entry.
              No, I don't plan to make a habit of doing things this way.
              Yes, this will probably break the Windows build again.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow):
              * bridge/mac/FrameViewMac.mm:
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::MacFrame):
              (WebCore::MacFrame::~MacFrame):
              (WebCore::MacFrame::wheelEvent):
              (WebCore::MacFrame::keyEvent):
              (WebCore::MacFrame::khtmlMousePressEvent):
              (WebCore::MacFrame::khtmlMouseMoveEvent):
              (WebCore::MacFrame::khtmlMouseReleaseEvent):
              (WebCore::MacFrame::mouseDown):
              (WebCore::MacFrame::mouseDragged):
              (WebCore::MacFrame::mouseUp):
              (WebCore::MacFrame::mouseMoved):
              (WebCore::MacFrame::sendContextMenuEvent):
              (WebCore::MacFrame::setBridge):
              (WebCore::MacFrame::dragSourceMovedTo):
              (WebCore::MacFrame::dragSourceEndedAt):
              (WebCore::MacFrame::dispatchDragSrcEvent):
              * bridge/mac/PageMac.h: Removed.
              * bridge/mac/PageMac.mm: Added.
              (WebCore::Page::Page):
              (WebCore::Page::windowRect):
              (WebCore::Page::setWindowRect):
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge page]):
              (-[WebCoreFrameBridge initializeSettings:]):
              (globalPoint):
              (createMouseEventFromDraggingInfo):
              (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
              (-[WebCoreFrameBridge dragExitedWithDraggingInfo:]):
              (-[WebCoreFrameBridge concludeDragForDraggingInfo:]):
              (-[WebCoreFrameBridge dragSourceMovedTo:]):
              (-[WebCoreFrameBridge dragSourceEndedAt:operation:]):
              * bridge/mac/WebCoreFrameNamespaces.mm:
              (WebCore::):
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              (-[WebCorePageBridge init]):
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::prepareMouseEvent):
              (WebCore::DocumentImpl::defaultEventHandler):
              * dom/DocumentImpl.h:
              * dom/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchMouseEvent):
              (WebCore::NodeImpl::dispatchKeyEvent):
              (WebCore::NodeImpl::dispatchWheelEvent):
              * dom/NodeImpl.h:
              * dom/dom2_eventsimpl.cpp:
              (WebCore::KeyboardEventImpl::KeyboardEventImpl):
              * dom/dom2_eventsimpl.h:
              (WebCore::KeyboardEventImpl::keyEvent):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              (KJS::WindowFunc::callAsFunction):
              * khtml/html/html_inlineimpl.cpp:
              (WebCore::HTMLAnchorElementImpl::defaultEventHandler):
              * ksvg2/svg/SVGDocumentImpl.cpp:
              * ksvg2/svg/SVGDocumentImpl.h:
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm: Removed.
              * page/Frame.cpp:
              (WebCore::Frame::selectClosestWordFromMouseEvent):
              (WebCore::Frame::handleMousePressEventDoubleClick):
              (WebCore::Frame::handleMousePressEventTripleClick):
              (WebCore::Frame::handleMousePressEventSingleClick):
              (WebCore::Frame::khtmlMousePressEvent):
              (WebCore::Frame::handleMouseMoveEventSelection):
              (WebCore::Frame::khtmlMouseMoveEvent):
              (WebCore::Frame::khtmlMouseReleaseEvent):
              (WebCore::Frame::khtmlMouseDoubleClickEvent):
              (WebCore::Frame::passWidgetMouseDownEventToWidget):
              * page/Frame.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::viewportMousePressEvent):
              (WebCore::FrameView::viewportMouseDoubleClickEvent):
              (WebCore::FrameView::viewportMouseMoveEvent):
              (WebCore::FrameView::viewportMouseReleaseEvent):
              (WebCore::FrameView::dispatchDragEvent):
              (WebCore::FrameView::updateDragAndDrop):
              (WebCore::FrameView::cancelDragAndDrop):
              (WebCore::FrameView::performDragAndDrop):
              (WebCore::FrameView::dispatchMouseEvent):
              (WebCore::FrameView::viewportWheelEvent):
              * page/FrameView.h:
              * page/MouseEventWithHitTestResults.h:
              (WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults):
              (WebCore::MouseEventWithHitTestResults::event):
              * page/Page.cpp:
              (WebCore::Page::init):
              * page/Page.h:
              (WebCore::Page::bridge):
              * platform/KeyEvent.h:
              (WebCore::KeyEvent::isAutoRepeat):
              * platform/MouseEvent.h:
              (WebCore::MouseEvent::MouseEvent):
              * platform/mac/KeyEventMac.mm:
              (WebCore::KeyEvent::KeyEvent):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameView::isFrameView):
              * rendering/render_form.cpp:
              (WebCore::RenderFormElement::clicked):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a2a58fd
  2. 15 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-15 Eric Seidel <eseidel@apple.com> · 44effa7e
      eseidel authored
              Reviewed by mjs.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7790
              addEventListener does not work with "dblclick" event.
              Renamed khtmlDblclickEvent to dblclickEvent to fix.
      
              Test: fast/events/dblclick-addEventListener.html
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::mouseUp):
              (WebCore::MacFrame::mouseMoved):
              (WebCore::MacFrame::shouldDragAutoNode):
              (WebCore::MacFrame::sendContextMenuEvent):
              * dom/EventNames.h:
              * dom/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchMouseEvent):
              * dom/NodeImpl.h:
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::wasRunByUserGesture):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValueProperty):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              (KJS::Window::put):
        ...
      44effa7e
  3. 05 Mar, 2006 1 commit
    • ap's avatar
      Fix by Mitz Pettel, reviewed by Darin. · 39bfd518
      ap authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4840
              Frames only resize wider, can't make them narrower
      
              * khtml/html/html_baseimpl.cpp:
              (WebCore::HTMLFrameSetElementImpl::HTMLFrameSetElementImpl): Removed unused m_resizing flag.
              * khtml/html/html_baseimpl.h:
              * manual-tests/bugzilla-4840.html: Added.
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::reset):
              (WebCore::FrameView::viewportMouseMoveEvent):
              (WebCore::FrameView::viewportMouseReleaseEvent):
              (WebCore::FrameView::setResizingFrameSet): New method. When a resizing frameset is set,
              mouse move and mouse release events target it instead of hit-testing.
              * page/FrameView.h:
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::setResizing): Inform the FrameView that we are resizing (or not).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39bfd518
  4. 01 Mar, 2006 1 commit
    • darin's avatar
      Reviewed by Eric. · 9d0a628e
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7444
                move QPainter to platform directory and name it GraphicsContext
      
              * platform/GraphicsContext.h: Added.
              * platform/TextDirection.h: Added.
              * platform/cg/GraphicsContextCG.cpp: Added.
              * platform/mac/GraphicsContextMac.mm: Added.
      
              * kwq/KWQPainter.h: Removed.
              * kwq/KWQPainter.mm: Removed.
              * ForwardingHeaders/qpainter.h: Removed.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for moved files.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for moved files.
              * platform/win/TemporaryLinkStubs.cpp: Updated.
      
              * bridge/mac/MacFrame.mm: (WebCore::MacFrame::setDisplaysWithFocusAttributes):
              * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge drawRect:]):
              * editing/SelectionController.h:
              * editing/SelectionController.cpp: (WebCore::SelectionController::paintCaret):
              * kcanvas/KCanvasResources.cpp: (WebCore::KCanvasMarker::draw):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Context2D::putValueProperty):
              (KJS::drawPattern):
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::paintCaret):
              (WebCore::Frame::paintDragCaret):
              (WebCore::Frame::paint):
              (WebCore::Frame::adjustPageHeight):
              * page/FrameView.h:
              * platform/Font.h:
              * platform/Font.cpp:
              (WebCore::Font::selectionRectForText):
              (WebCore::Font::drawHighlightForText):
              (WebCore::Font::drawText):
              * platform/Widget.h:
              * platform/mac/WidgetMac.mm: (WebCore::Widget::paint):
              * rendering/InlineTextBox.h:
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::paint):
              (WebCore::InlineTextBox::paintSelection):
              (WebCore::InlineTextBox::paintMarkedTextBackground):
              (WebCore::InlineTextBox::paintDecoration):
              (WebCore::InlineTextBox::paintSpellingMarker):
              (WebCore::InlineTextBox::paintTextMatchMarker):
              (WebCore::InlineTextBox::paintAllMarkersOfType):
              (WebCore::InlineTextBox::paintMarkedTextUnderline):
              (WebCore::InlineTextBox::offsetForPosition):
              * rendering/RenderTableCell.cpp:
              (WebCore::outlineBox):
              (WebCore::RenderTableCell::paintCollapsedBorder):
              (WebCore::RenderTableCell::paintBoxDecorations):
              * rendering/RenderTableCell.h:
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintBackgrounds):
              (WebCore::RenderBox::paintBackground):
              (WebCore::RenderBox::paintBackgroundExtended):
              (WebCore::RenderBox::outlineBox):
              * rendering/render_box.h:
              * rendering/render_button.cpp:
              (WebCore::RenderButton::RenderButton):
              (WebCore::RenderButton::paintObject):
              * rendering/render_button.h:
              (WebCore::RenderButton::removeLeftoverAnonymousBoxes):
              * rendering/render_canvas.cpp:
              * rendering/render_canvasimage.cpp:
              (WebCore::RenderCanvasImage::paint):
              * rendering/render_flow.cpp:
              (WebCore::RenderFlow::addFocusRingRects):
              (WebCore::RenderFlow::paintFocusRing):
              (WebCore::RenderFlow::paintOutlines):
              (WebCore::RenderFlow::paintOutlineForLine):
              * rendering/render_flow.h:
              * rendering/render_form.cpp:
              (WebCore::RenderLineEdit::setStyle):
              (WebCore::RenderFieldset::paintBorderMinusLegend):
              (WebCore::RenderSelect::setWidgetWritingDirection):
              (WebCore::RenderTextArea::setStyle):
              * rendering/render_form.h:
              (WebCore::RenderFieldset::renderName):
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::userResize):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::paint):
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::beginTransparencyLayers):
              (WebCore::RenderLayer::paintScrollbars):
              (WebCore::RenderLayer::paint):
              (WebCore::setClip):
              (WebCore::restoreClip):
              (WebCore::RenderLayer::paintLayer):
              (WebCore::Marquee::direction):
              * rendering/render_layer.h:
              * rendering/render_line.cpp:
              (WebCore::InlineFlowBox::paintBackgrounds):
              (WebCore::InlineFlowBox::paintBackground):
              (WebCore::InlineFlowBox::paintBackgroundAndBorder):
              (WebCore::InlineFlowBox::paintDecorations):
              (WebCore::EllipsisBox::paint):
              * rendering/render_line.h:
              * rendering/render_list.cpp:
              (WebCore::RenderListMarker::paint):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::drawBorder):
              (WebCore::RenderObject::paintBorderImage):
              (WebCore::RenderObject::paintBorder):
              (WebCore::RenderObject::addFocusRingRects):
              (WebCore::RenderObject::paintOutline):
              (WebCore::RenderObject::selectionColor):
              * rendering/render_object.h:
              (WebCore::RenderObject::element):
              (WebCore::RenderObject::document):
              (WebCore::RenderObject::setNode):
              (WebCore::RenderObject::node):
              (WebCore::RenderObject::PaintInfo::PaintInfo):
              (WebCore::RenderObject::paintBoxDecorations):
              (WebCore::RenderObject::paintBackgroundExtended):
              (WebCore::RenderObject::printBoxDecorations):
              * rendering/render_replaced.cpp: (WebCore::RenderReplaced::selectionColor):
              * rendering/render_replaced.h:
              Updated to use GraphicsContext instead of QPainter.
      
              * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
              * kwq/KWQComboBox.h:
              * kwq/KWQComboBox.mm: (QComboBox::setWritingDirection):
              * kwq/KWQLineEdit.h:
              * kwq/KWQLineEdit.mm: (QLineEdit::setWritingDirection):
              * kwq/KWQListBox.h:
              * kwq/KWQListBox.mm: (QListBox::setWritingDirection):
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm: (QTextEdit::setWritingDirection):
              * rendering/bidi.cpp:
              (khtml::bidiNext):
              (khtml::bidiFirst):
              Updated to use TextDirection instead of QPainter::TextDirection and EDirection.
      
              * kcanvas/device/KRenderingDevice.h: Added renderingDevice here to
              replace QPainter::renderingDevice for now.
      
              * khtml/ecma/kjs_html.h: Fixed comments to mention GraphicsContext.
      
              * khtml/html/html_imageimpl.h:
              * page/FrameView.cpp:
              * rendering/RenderBlock.cpp:
              Added include needed since I reduced includes elsewhere.
      
              * kwq/KWQFontMetrics.h:
              * kwq/KWQFontMetrics.mm: (QFontMetrics::checkSelectionPoint):
              Changed QChar* to be const QChar*.
      
              * platform/FontDescription.h: Added include that was missing.
              * rendering/render_theme.cpp: Ditto.
      
              * platform/Image.h: Removed unnecessary forward declaration of QPainter.
      
              * rendering/RenderText.h: Clean up types, use const.
      
              * rendering/render_style.h: Removed EDirection and replaced it with TextDirection.
      
              * kcanvas/KCanvasCreator.cpp:
              (WebCore::KCanvasCreator::createRoundedRectangle):
              (WebCore::KCanvasCreator::createRectangle):
              (WebCore::KCanvasCreator::createEllipse):
              (WebCore::KCanvasCreator::createLine):
              * kcanvas/KCanvasPath.cpp: (WebCore::operator<<):
              * kcanvas/KCanvasTreeDebug.cpp: (WebCore::operator<<):
              * kcanvas/RenderForeignObject.cpp: (WebCore::RenderForeignObject::paint):
              * kcanvas/RenderPath.cpp: (WebCore::RenderPath::paint):
              * kcanvas/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              (WebCore::RenderSVGImage::translateForAttributes):
              * kcanvas/RenderSVGText.cpp:
              (WebCore::RenderSVGText::paint):
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (WebCore::KCanvasFilterQuartz::prepareFilter):
              (WebCore::KCanvasFilterQuartz::applyFilter):
              * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
              (WebCore::KCanvasMaskerQuartz::applyMask):
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              (WebCore::KCanvasContainerQuartz::paint):
              (WebCore::KCanvasClipperQuartz::applyClip):
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (WebCore::KRenderingDeviceQuartz::pushContext):
              (WebCore::KRenderingDeviceQuartz::popContext):
              (WebCore::renderingDevice):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (WebCore::KRenderingPaintServerGradientQuartz::setup):
              (WebCore::KRenderingPaintServerGradientQuartz::renderPath):
              (WebCore::KRenderingPaintServerGradientQuartz::teardown):
              * ksvg2/misc/KCanvasRenderingStyle.cpp: (WebCore::sharedSolidPaintServer):
              * ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::createRenderer):
              * ksvg2/svg/SVGClipPathElementImpl.cpp: (SVGClipPathElementImpl::canvasResource):
              * ksvg2/svg/SVGFEBlendElementImpl.cpp: (SVGFEBlendElementImpl::filterEffect):
              * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp: (SVGFEColorMatrixElementImpl::filterEffect):
              * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp: (SVGFEComponentTransferElementImpl::filterEffect):
              * ksvg2/svg/SVGFECompositeElementImpl.cpp: (SVGFECompositeElementImpl::filterEffect):
              * ksvg2/svg/SVGFEDiffuseLightingElementImpl.cpp: (WebCore::SVGFEDiffuseLightingElementImpl::filterEffect):
              * ksvg2/svg/SVGFEDisplacementMapElementImpl.cpp: (SVGFEDisplacementMapElementImpl::filterEffect):
              * ksvg2/svg/SVGFEFloodElementImpl.cpp: (SVGFEFloodElementImpl::filterEffect):
              * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp: (SVGFEGaussianBlurElementImpl::filterEffect):
              * ksvg2/svg/SVGFEImageElementImpl.cpp: (SVGFEImageElementImpl::filterEffect):
              * ksvg2/svg/SVGFEMergeElementImpl.cpp: (SVGFEMergeElementImpl::filterEffect):
              * ksvg2/svg/SVGFEOffsetElementImpl.cpp: (SVGFEOffsetElementImpl::filterEffect):
              * ksvg2/svg/SVGFESpecularLightingElementImpl.cpp: (SVGFESpecularLightingElementImpl::filterEffect):
              * ksvg2/svg/SVGFETileElementImpl.cpp: (SVGFETileElementImpl::filterEffect):
              * ksvg2/svg/SVGFETurbulenceElementImpl.cpp: (SVGFETurbulenceElementImpl::filterEffect):
              * ksvg2/svg/SVGFilterElementImpl.cpp: (SVGFilterElementImpl::canvasResource):
              * ksvg2/svg/SVGGElementImpl.cpp: (SVGGElementImpl::createRenderer):
              * ksvg2/svg/SVGGradientElementImpl.cpp: (SVGGradientElementImpl::canvasResource):
              * ksvg2/svg/SVGMarkerElementImpl.cpp:
              (WebCore::SVGMarkerElementImpl::canvasResource):
              (WebCore::SVGMarkerElementImpl::createRenderer):
              * ksvg2/svg/SVGMaskElementImpl.cpp:
              (WebCore::SVGMaskElementImpl::drawMaskerContent):
              (WebCore::SVGMaskElementImpl::createRenderer):
              (WebCore::SVGMaskElementImpl::canvasResource):
              * ksvg2/svg/SVGPathElementImpl.cpp: (WebCore::SVGPathElementImpl::toPathData):
              * ksvg2/svg/SVGPatternElementImpl.cpp:
              (WebCore::SVGPatternElementImpl::drawPatternContentIntoTile):
              (WebCore::SVGPatternElementImpl::createRenderer):
              (WebCore::SVGPatternElementImpl::canvasResource):
              * ksvg2/svg/SVGPolygonElementImpl.cpp: (SVGPolygonElementImpl::toPathData):
              * ksvg2/svg/SVGPolylineElementImpl.cpp: (SVGPolylineElementImpl::toPathData):
              * ksvg2/svg/SVGSVGElementImpl.cpp: (WebCore::SVGSVGElementImpl::createRenderer):
              * ksvg2/svg/SVGStyledElementImpl.cpp: (WebCore::SVGStyledElementImpl::createRenderer):
              * ksvg2/svg/SVGSwitchElementImpl.cpp: (SVGSwitchElementImpl::createRenderer):
              * ksvg2/svg/SVGUseElementImpl.cpp: (SVGUseElementImpl::createRenderer):
              Updated to use renderingDevice instead of QPainter::renderingDevice.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d0a628e
  5. 24 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · 6fb0fdcd
      darin authored
              - moved QScrollView from kwq to platform directory
      
              * kwq/KWQScrollView.h: Removed.
              * kwq/KWQScrollView.mm: Removed.
      
              * platform/ScrollBarMode.h: Added. Just the enum for scroll bar mode.
              * platform/ScrollView.h: Added. The rest of the former QScrollView.
              * platform/mac/ScrollViewMac.mm: Added.
      
              * WebCore.xcodeproj/project.pbxproj: Updated.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
              * platform/win/TemporaryLinkStubs.cpp: Updated.
      
              * bridge/mac/MacFrame.mm: (WebCore::MacFrame::createFrame):
              * khtml/html/html_baseimpl.cpp:
              (WebCore::HTMLFrameElementImpl::init):
              (WebCore::HTMLFrameElementImpl::parseMappedAttribute):
              * page/Frame.cpp: (WebCore::Frame::scrollbarsVisible):
              Changed scrolling constants to use new names.
      
              * khtml/ecma/kjs_html.cpp: (KJS::HTMLElement::bodySetter):
              Use FrameView instead of QScrollView for a local variable.
      
              * khtml/html/html_baseimpl.h: Use ScrollBarMode instead of
              QScrollView::ScrollBarMode.
      
              * kwq/KWQListBox.h: Use WebCore::ScrollView instead of
              QScrollView and WebCore::ScrollBarMode instead of QScrollView::ScrollBarMode.
              * kwq/KWQTextEdit.h: Ditto.
              * kwq/KWQTextEdit.mm:
              (QTextEdit::setScrollBarModes): Ditto.
              (QTextEdit::focusPolicy): Ditto.
      
              * page/FrameView.h:
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate): Use ScrollBarMode
              instead of QScrollView::ScrollBarMode.
              (WebCore::FrameView::FrameView): Remove mention of QScrollView.
              (WebCore::FrameView::resetScrollBars): Rename QScrollView to ScrollView.
              (WebCore::FrameView::applyOverflowToViewport): Use newly-named constants.
              (WebCore::FrameView::layout): Ditto.
              (WebCore::FrameView::setScrollBarsMode): Rename QScrollView to ScrollView.
              (WebCore::FrameView::setVScrollBarMode): Ditto.
              (WebCore::FrameView::setHScrollBarMode): Ditto.
              (WebCore::FrameView::restoreScrollBar): Ditto.
      
              * platform/mac/MouseEventMac.mm: (WebCore::positionForEvent): Fixed comment.
              * platform/mac/WheelEventMac.mm: (WebCore::positionForEvent): Ditto.
              * platform/mac/WidgetMac.mm: (WebCore::Widget::getOuterView): Ditto.
      
              * rendering/render_form.cpp: (WebCore::RenderTextArea::setStyle):
              Use ScrollBarMode instead of QScrollView::ScrollBarMode, and new constants.
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::userResize): Changed to use an IntRect to pass to
              updateContents so we can remove the overload.
              (WebCore::RenderPart::updateWidgetPosition): Remove unnecessary of QScrollView.
      
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::scrollRectToVisible): Use FrameView instead of QScrollView.
              (WebCore::RenderLayer::setHasHorizontalScrollbar): Ditto.
              (WebCore::RenderLayer::setHasVerticalScrollbar): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fb0fdcd
  6. 23 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by John Sullivan. · 947a31b6
      darin authored
              - moved QMouseEvent, QKeyEvent, QWheelEvent, and "Foundation extras"
                from kwq to platform directory
              - moved history function from kwq to bridge directory
              - eliminated QEvent, MousePressEvent, MouseDoubleClickEvent, MouseMoveEvent,
                MoveReleaseEvent, and DrawContents classes
              - merged NodeImpl::MouseEvent and the MouseEvent from khtml_events.h into
                a single class in the page directory
              - broke khtmllayout.h out into a file for the Length structure in the css
                directory and a file for the GapRects structure in the rendering directory
              - redid the Length structure to work more portably by not relying on bitfield
                layout and improve the names to no longer explicitly mention "width"
              - reduced use of QGuardedPtr and other uses of the QObject "destroyed" signal
      
              * ForwardingHeaders/kparts: Removed.
              * ForwardingHeaders/qevent.h: Removed.
              * khtml/khtml_events.cpp: Removed.
              * khtml/khtml_events.h: Removed.
              * khtml/misc/khtmllayout.h: Removed.
              * kwq/KWQEvent.h: Removed.
              * kwq/KWQEvent.mm: Removed.
              * kwq/KWQFoundationExtras.h: Removed.
              * kwq/KWQKHistoryProvider.mm: Removed.
              * kwq/KWQKPartsHistoryProvider.h: Removed.
      
              * bridge/History.h: Added.
              * bridge/mac/HistoryMac.mm: Added.
              * css/Length.h: Added.
              * page/MouseEventWithHitTestResults.h: Added.
              * platform/KeyEvent.h: Added.
              * platform/MouseEvent.h: Added.
              * platform/WheelEvent.h: Added.
              * platform/mac/FoundationExtras.h: Added.
              * platform/mac/KeyEventMac.mm: Added.
              * platform/mac/MouseEventMac.mm: Added.
              * platform/mac/WheelEventMac.mm: Added.
              * rendering/GapRects.h: Added.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for above changes.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for above changes.
      
              * bridge/mac/MacFrame.h: Removed unused parameters from urlSelected functions.
              Replaced MouseEvent, MousePressEvent, MouseMoveEvent, and MouseReleaseEvent
              with MouseEventWithHitTestResults.
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::urlSelected): Removed unused parameters.
              (WebCore::MacFrame::wheelEvent): Changed to use WheelEvent.
              (WebCore::MacFrame::keyEvent): Changed to use KeyEvent.
              (WebCore::MacFrame::khtmlMousePressEvent): Changed parameter type.
              (WebCore::MacFrame::khtmlMouseMoveEvent): Ditto.
              (WebCore::MacFrame::khtmlMouseReleaseEvent): Ditto.
              (WebCore::MacFrame::passSubframeEventToSubframe): Ditto.
              (WebCore::MacFrame::mouseDown): Changed to use MouseEvent.
              (WebCore::MacFrame::mouseDragged): Ditto.
              (WebCore::MacFrame::mouseUp): Ditto.
              (WebCore::MacFrame::mouseMoved): Ditto.
              (WebCore::MacFrame::sendContextMenuEvent): Ditto.
      
              * css/csshelper.h: Removed a bunch of unused declarations.
      
              * dom/DocumentImpl.h:
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::prepareMouseEvent): Changed to take a MouseEvent
              and return a MouseEventWithHitTestResults.
              (WebCore::DocumentImpl::defaultEventHandler): Changed to use KeyEvent.
      
              * dom/NodeImpl.h: Removed NodeImpl::MouseEvent and NodeImpl::MouseEventType.
              * dom/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchMouseEvent): Changed to always get the type and
              detail values from the caller, never from the event. Changed to use MouseEvent.
              (WebCore::NodeImpl::dispatchKeyEvent): Changed to use KeyEvent.
              (WebCore::NodeImpl::dispatchWheelEvent): Changed to use WheelEvent.
      
              * dom/dom2_eventsimpl.h:
              * dom/dom2_eventsimpl.cpp:
              (WebCore::KeyboardEventImpl::KeyboardEventImpl): Changed to use KeyEvent.
              (WebCore::KeyboardEventImpl::charCode): Ditto.
      
              * dom/dom_elementimpl.h: Removed unused mouseEventHandler function.
      
              * khtml/ecma/domparser.h: Use RefPtr instead of QGuardedPtr to hold the reference
              to the document.
      
              * khtml/ecma/kjs_proxy.h: (WebCore::KJSProxyImpl::haveInterpreter): Added. For
              use in the Frame destructor so we can get an existing KJS::Window object without
              creating a new interpreter and window object.
      
              * khtml/ecma/kjs_window.h: Merged WindowQObject into Window. Changed all the
              guarded pointers to Frame to use plain old pointers that are cleared by the
              Frame explicitly (by the function disconnectFrame). Made the pointers to all
              the sub-objects of KJS::Window be mutable so we don't have to const_cast in
              the functions to get (and lazily create) them.
              * khtml/ecma/kjs_window.cpp:
              (KJS::DOMWindowTimer::DOMWindowTimer): Use Window* instead of WindowQObject*.
              (KJS::History::disconnectFrame): Added. Clears m_frame.
              (KJS::FrameArray::disconnectFrame): Added. Clears m_frame.
              (KJS::Window::Window): Removed code to create a WindowQObject.
              (KJS::Window::~Window): Removed code to delete a WindowQObject.
              (KJS::Window::location): Remove now-unneeded const_cast.
              (KJS::Window::selection): Ditto.
              (KJS::Window::locationbar): Ditto.
              (KJS::Window::menubar): Ditto.
              (KJS::Window::personalbar): Ditto.
              (KJS::Window::statusbar): Ditto.
              (KJS::Window::toolbar): Ditto.
              (KJS::Window::scrollbars): Ditto.
              (KJS::Window::getValueProperty): Update since m_frame is now a raw pointer.
              (KJS::Window::getOwnPropertySlot): Ditto.
              (KJS::Window::toBoolean): Ditto.
              (KJS::Window::scheduleClose): Remove assert that WindowQObject* is not null.
              (KJS::Window::isSafeScript): Update since m_frame is now a raw pointer.
              (KJS::Window::clear): Remove code to delete a WindowQObject. Added a call
              to clearAllTimeouts instead.
              (KJS::Window::clearAllTimeouts): Added. Does equivalent of the WindowQObject
              destructor.
              (KJS::Window::installTimeout): Moved to Window from WindowQObject.
              (KJS::Window::pauseTimeouts): Ditto.
              (KJS::Window::resumeTimeouts): Ditto.
              (KJS::Window::clearTimeout): Ditto.
              (KJS::Window::timerFired): Ditto.
              (KJS::Window::disconnectFrame): Added. Sets all the frame pointers to 0.
              (KJS::FrameArray::getOwnPropertySlot): Update since m_frame is now a raw pointer.
              (KJS::Location::getOwnPropertySlot): Ditto.
              (KJS::Location::put): Ditto.
              (KJS::Selection::getOwnPropertySlot): Ditto.
              (KJS::BarInfo::getOwnPropertySlot): Ditto.
      
              * khtml/html/html_baseimpl.h: Forward-declare Length instead of including khtmllayout.h.
              * khtml/html/html_imageimpl.h: Ditto.
      
              * khtml/html/html_inlineimpl.cpp: (WebCore::HTMLAnchorElementImpl::defaultEventHandler):
              Changed to use KeyEvent and removed the code to extract the button and state from the
              DOM even to pass to urlSelected.
              * ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::defaultEventHandler): Ditto.
      
              * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::timerFired): Change to use
              a RefPtr instead of a QGuardedPtr.
      
              * khtml/misc/helper.h:
              * khtml/misc/helper.cpp: Removed printpainter and setPrintPainter.
      
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp: (WebCore::SVGDocumentImpl::dispatchKeyEvent):
              Change to use KeyEvent.
      
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButton becomeFirstResponder]):
              (-[KWQPopUpButton resignFirstResponder]):
              * kwq/KWQFileButton.mm:
              (KWQFileButton::focusChanged):
              * kwq/KWQListBox.mm:
              (-[KWQTableView becomeFirstResponder]):
              (-[KWQTableView resignFirstResponder]):
              * kwq/KWQSlider.mm:
              (-[KWQSlider becomeFirstResponder]):
              (-[KWQSlider resignFirstResponder]):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView becomeFirstResponder]):
              (-[KWQTextAreaTextView resignFirstResponder]):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController setHasFocus:]):
              Updated to use new eventFilterFocusIn/Out instead of the general purpose
              eventFilter function. This allows us to remove QEvent and the focus events.
      
              * kwq/KWQNamespace.h: Removed ButtonState.
      
              * kwq/KWQObject.h:
              * kwq/KWQObject.cpp: Replaced eventFilter function with eventFilterFocusIn and
              eventFilterFocusOut, allowing us to remove QEvent. Removed event function.
      
              * kwq/KWQSlot.cpp:
              (KWQSlot::KWQSlot): Removed the parentDestroyed slot.
              (KWQSlot::call): Ditto.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::UserStyleSheetLoader::UserStyleSheetLoader): Renamed from
              PartStyleSheetLoader. Removed a lot of unneeded null checks. Use a
              raw Frame pointer instead of a QGuardedPtr, and count on the Frame
              to delete us when it's being deleted.
              (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader): No longer
              a virtual function. This is not a polymorphic class.
              (WebCore::UserStyleSheetLoader::setStyleSheet): Remove code to delete
              ourselves -- that's now the frame's responsibility.
              (WebCore::Frame::~Frame): Call disconnectFrame on the KJS::Window and
              delete m_userStyleSheetLoader.
              (WebCore::Frame::changeLocation): Update since urlSelected no longer takes
              button and state parameters.
              (WebCore::Frame::setUserStyleSheet): Delete existing loader to stop a load
              in progress before starting a new load. Store reference to loader.
              (WebCore::Frame::urlSelected): Remove button and state parameters and unused
              local variable hasTarget.
              (WebCore::Frame::selectClosestWordFromMouseEvent): Change from QMouseEvent
              to MouseEvent.
              (WebCore::Frame::handleMousePressEventDoubleClick): Change from MousePressEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::handleMousePressEventTripleClick): Ditto.
              (WebCore::Frame::handleMousePressEventSingleClick): Ditto.
              (WebCore::Frame::khtmlMousePressEvent): Ditto.
              (WebCore::Frame::handleMouseMoveEventSelection): Change from MouseMoveEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::khtmlMouseMoveEvent): Ditto.
              (WebCore::Frame::khtmlMouseReleaseEvent): Change from MouseReleaseEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::khtmlMouseDoubleClickEvent): Change from
              MouseReleaseDoubleClickEvent to MouseEventWithHitTestResults.
              (WebCore::Frame::passWidgetMouseDownEventToWidget): Change from
              NodeImpl::MouseEvent to MouseEventWithHitTestResults.
      
              * page/FramePrivate.h: Added m_userStyleSheetLoader.
      
              * page/FrameView.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::viewportMousePressEvent): Change from QMouseEvent to
              MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults.
              (WebCore::FrameView::viewportMouseDoubleClickEvent): Ditto.
              (WebCore::selectCursor): Ditto.
              (WebCore::FrameView::viewportMouseMoveEvent): Ditto.
              (WebCore::FrameView::viewportMouseReleaseEvent): Ditto.
              (WebCore::FrameView::keyPressEvent): Change from QKeyEvent to KeyEvent.
              (WebCore::FrameView::dispatchMouseEvent): Change from QMouseEvent to
              MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults.
              (WebCore::FrameView::viewportWheelEvent): Change from QWheelEvent to
              WheelEvent.
              (WebCore::FrameView::hoverTimerFired): Update for change to prepareMouseEvent
              parameters.
      
              * platform/Widget.h:
              * platform/Widget.cpp: Removed event function.
      
              * rendering/render_form.h: Removed LineEditWidget, ComboBoxWidget, TextAreaWidget.
              * rendering/render_form.cpp:
              (WebCore::RenderFormElement::slotClicked): Changed from QMouseEvent to MouseEvent.
              (WebCore::RenderFormElement::addIntrinsicMarginsIfAllowed): Updated for changes
              to the Length class.
              (WebCore::RenderSelect::setWidgetWritingDirection): Updated for removal of
              ComboBoxWidget.
              (WebCore::RenderSelect::slotSelected): Ditto.
              (WebCore::RenderSelect::createComboBox): Ditto.
      
              * rendering/render_replaced.h:
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::destroy): Updated since removeEventFilter no longer takes
              a parameter.
              (WebCore::RenderWidget::setQWidget): Ditto.
              (WebCore::RenderWidget::eventFilterFocusIn): Added. Replaces eventFilter.
              (WebCore::RenderWidget::eventFilterFocusOut): Ditto.
      
              * css/css_computedstyle.cpp:
              (WebCore::valueForLength):
              (WebCore::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
              * css/cssstyleselector.cpp:
              (WebCore::checkPseudoState):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::getComputedSizeFromSpecifiedSize):
              * khtml/html/html_imageimpl.cpp:
              (WebCore::HTMLAreaElementImpl::getRegion):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::MarginInfo::MarginInfo):
              (WebCore::RenderBlock::isSelfCollapsingBlock):
              (WebCore::RenderBlock::layoutBlock):
              (WebCore::RenderBlock::determineHorizontalPosition):
              (WebCore::RenderBlock::leftRelOffset):
              (WebCore::RenderBlock::rightRelOffset):
              (WebCore::RenderBlock::calcMinMaxWidth):
              (WebCore::getBPMWidth):
              (WebCore::RenderBlock::calcInlineMinMaxWidth):
              (WebCore::RenderBlock::calcBlockMinMaxWidth):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::calcWidth):
              (WebCore::RenderTable::layout):
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::calcMinMaxWidth):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::addChild):
              (WebCore::RenderTableSection::addCell):
              (WebCore::RenderTableSection::calcRowHeight):
              (WebCore::RenderTableSection::layoutRows):
              * rendering/RenderText.h:
              (khtml::RenderText::marginLeft):
              (khtml::RenderText::marginRight):
              * rendering/bidi.cpp:
              (khtml::getBPMWidth):
              * rendering/render_applet.cpp:
              (WebCore::RenderApplet::createWidgetIfNecessary):
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintBackgroundExtended):
              (WebCore::RenderBox::getClipRect):
              (WebCore::RenderBox::relativePositionOffset):
              (WebCore::RenderBox::calcWidth):
              (WebCore::RenderBox::calcWidthUsing):
              (WebCore::RenderBox::sizesToIntrinsicWidth):
              (WebCore::RenderBox::calcHorizontalMargins):
              (WebCore::RenderBox::calcHeight):
              (WebCore::RenderBox::calcHeightUsing):
              (WebCore::RenderBox::calcPercentageHeight):
              (WebCore::RenderBox::calcReplacedWidth):
              (WebCore::RenderBox::calcReplacedWidthUsing):
              (WebCore::RenderBox::calcReplacedHeight):
              (WebCore::RenderBox::calcReplacedHeightUsing):
              (WebCore::RenderBox::availableHeightUsing):
              (WebCore::RenderBox::calcVerticalMargins):
              (WebCore::RenderBox::calcAbsoluteHorizontal):
              (WebCore::RenderBox::calcAbsoluteHorizontalValues):
              (WebCore::RenderBox::calcAbsoluteVertical):
              (WebCore::RenderBox::calcAbsoluteVerticalValues):
              * rendering/render_br.cpp:
              (WebCore::RenderBR::lineHeight):
              * rendering/render_flexbox.cpp:
              (khtml::RenderFlexibleBox::calcHorizontalMinMaxWidth):
              (khtml::RenderFlexibleBox::calcVerticalMinMaxWidth):
              (khtml::RenderFlexibleBox::calcMinMaxWidth):
              (khtml::RenderFlexibleBox::allowedChildFlex):
              * rendering/render_flow.cpp:
              (WebCore::RenderFlow::lineHeight):
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::layout):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::isWidthSpecified):
              (WebCore::RenderImage::isHeightSpecified):
              * rendering/render_layer.cpp:
              (WebCore::Marquee::direction):
              (WebCore::Marquee::start):
              (WebCore::Marquee::updateMarqueeStyle):
              (WebCore::Marquee::timerFired):
              * rendering/render_line.cpp:
              (WebCore::InlineFlowBox::marginLeft):
              (WebCore::InlineFlowBox::marginRight):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::mustRepaintBackgroundOrBorder):
              (WebCore::RenderObject::paintBorderImage):
              (WebCore::RenderObject::paddingTop):
              (WebCore::RenderObject::paddingBottom):
              (WebCore::RenderObject::paddingLeft):
              (WebCore::RenderObject::paddingRight):
              (WebCore::RenderObject::getVerticalPosition):
              (WebCore::RenderObject::lineHeight):
              (WebCore::RenderObject::addDashboardRegions):
              * rendering/render_style.h:
              * rendering/render_theme_mac.mm:
              (WebCore::RenderThemeMac::addIntrinsicMargins):
              * rendering/table_layout.cpp:
              (WebCore::FixedTableLayout::calcWidthArray):
              (WebCore::FixedTableLayout::calcMinMaxWidth):
              (WebCore::FixedTableLayout::layout):
              (WebCore::AutoTableLayout::recalcColumn):
              (WebCore::AutoTableLayout::fullRecalc):
              (WebCore::AutoTableLayout::calcMinMaxWidth):
              (WebCore::AutoTableLayout::calcEffectiveWidth):
              (WebCore::AutoTableLayout::layout):
              (WebCore::AutoTableLayout::calcPercentages):
              Updated for changes to the Length class.
              Also removed a check of the printpainter global, never used in WebCore.
      
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMHTML.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/csshelper.cpp:
              * editing/SelectionController.cpp:
              * khtml/ecma/kjs_html.h:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKURL.mm:
              * kwq/KWQLoader.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPainter.mm:
              * kwq/WebCoreSettings.mm:
              * platform/StringImpl.cpp:
              * platform/mac/CursorMac.mm:
              * platform/mac/WidgetMac.mm:
              * rendering/RenderBlock.h:
              * rendering/render_canvas.cpp:
              * rendering/render_line.h:
              * rendering/render_style.cpp:
              * rendering/table_layout.h:
              Updated includes.
      
              * bindings/js/JSDOMCore.cpp: Touched, because I got strange failures if this
              didn't rebuild.
              * bindings/js/JSDOMEvents.cpp: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      947a31b6
  7. 20 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · 644b75ef
      darin authored
              - moved Cursor into the platform directory from KWQ
              - removed a lot of other unneeded stuff from KWQ
      
              * platform/Cursor.h: Added.
              * platform/mac/CursorMac.mm: Added.
              * platform/mac/CursorWin.cpp: Added.
      
              * kwq/KWQBuffer.cpp: Removed.
              * kwq/KWQBuffer.h: Removed.
              * kwq/KWQCursor.h: Removed.
              * kwq/KWQCursor.mm: Removed.
              * kwq/KWQIODevice.h: Removed.
              * kwq/KWQKCursor.h: Removed.
              * kwq/KWQKCursor.mm: Removed.
              * kwq/KWQKDebug.h: Removed.
              * kwq/KWQSignalStubs.cpp: Removed.
      
              * ForwardingHeaders/kcursor.h: Removed.
              * ForwardingHeaders/kdebug.h: Removed.
              * ForwardingHeaders/qbuffer.h: Removed.
      
              * kwq/KWQEvent.h: Removed unused constants and types QCustomEvent,
              QFocusEvent, QHideEvent, QShowEvent, QContextMenuEvent, and QResizeEvent.
      
              * kwq/KWQLoader.h: Removed KWQLoader class since signals are no longer needed.
              * kwq/KWQLoader.mm: Ditto.
      
              * kwq/KWQNamespace.h: Removed DontClip, ShowPrefix, WordBreak, LayoutDirection,
              LeftToRight, RightToLeft, RasterOp, CopyROP, OrROP, and XorROP.
      
              * kwq/KWQObject.h: Removed blockSignals, sender, _signalsBlocked, _sender,
              and KWQObjectSenderScope.
              * kwq/KWQObject.cpp:
              (QObject::QObject): Removed _signalsBlocked.
              (QObject::connect): Removed special-case signals to not complain about.
              All of them were either unused, converted to non-signal functions, or in one
              case (slotScrollBarMoved) turned into a FIXME.
      
              * kwq/KWQPainter.h: Removed rasterOp and setRasterOp.
              * kwq/KWQPainter.mm: Ditto.
      
              * kwq/KWQSignal.h:
              * kwq/KWQSignal.cpp: (KWQSignal::disconnect): Removed special cases for
              various signals; all are now using plain function calls instead.
      
              * kwq/KWQSlot.h:
              * kwq/KWQSlot.cpp: Removed slots that are no longer needed because they
              are using plain function calls instead of signals.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              Updated for changed files.
      
              * bridge/mac/FrameViewMac.mm: Moved the contents of KWQKHTMLView.cpp in here.
              * bridge/mac/KWQKHTMLView.cpp: Removed.
      
              * bridge/mac/MacFrame.h: Removed signals, changed setStatusBarText to take
              String instead of QString.
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::MacFrame): Removed signals.
              (WebCore::MacFrame::setStatusBarText): Changed parameter type.
              (WebCore::MacFrame::openURLFromPageCache): Removed parameter from started function.
              (WebCore::MacFrame::khtmlMouseMoveEvent): Changed from QCursor() to pointerCursor().
      
              * dom/DocumentImpl.h:
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl): Removed signals.
              (WebCore::DocumentImpl::implicitOpen): Ditto.
              (WebCore::DocumentImpl::determineParseMode): Removed a use of kdDebug.
              (WebCore::DocumentImpl::finishedParsing): Added. Does a setParsing(false) and then
              calls finishedParsing on the frame. Replaces the old finishedParsing signal.
      
              * dom/xml_tokenizer.h:
              * dom/xml_tokenizer.cpp: Removed the finishedParsing signal since it's not just
              a function on the document.
              (WebCore::XMLTokenizer::finish): Call the function instead of emitting the signal.
      
              * khtml/html/htmlparser.h:
              * khtml/html/htmlparser.cpp: Moved the parser inside the WebCore namespace.
      
              * khtml/html/htmltokenizer.h:
              * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::end): Updated
              to call finishedParsing function on document rather than emitting a signal.
      
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButton becomeFirstResponder]): Use QEvent instead of QFocusEvent.
              (-[KWQPopUpButton resignFirstResponder]): Ditto.
              * kwq/KWQFileButton.mm: (KWQFileButton::focusChanged): Ditto.
              * kwq/KWQListBox.mm:
              (-[KWQTableView becomeFirstResponder]): Ditto.
              (-[KWQTableView resignFirstResponder]): Ditto.
              * kwq/KWQSlider.mm:
              (-[KWQSlider becomeFirstResponder]): Ditto.
              (-[KWQSlider resignFirstResponder]): Ditto.
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView becomeFirstResponder]): Ditto.
              (-[KWQTextAreaTextView resignFirstResponder]): Ditto.
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController setHasFocus:]): Ditto.
      
              * kwq/KWQTextStream.h: Removed the mode parameter from the QTextStream constructor.
              Removed the QTextIStream and QTextOStream classes.
              * kwq/KWQTextStream.cpp: (QTextStream::QTextStream): Removed the mode parameter.
      
              * loader/CachedCSSStyleSheet.h: Changed to take a ByteArray instead of a QBuffer.
              * loader/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::data): Ditto.
              * loader/CachedImage.h: Ditto.
              * loader/CachedImage.cpp: (WebCore::CachedImage::data): Ditto.
              * loader/CachedObject.h: Ditto.
              * loader/CachedScript.h: Ditto.
              * loader/CachedScript.cpp: (WebCore::CachedScript::data): Ditto.
              * loader/CachedXBLDocument.h: Ditto.
              * loader/CachedXBLDocument.cpp: (WebCore::CachedXBLDocument::data): Ditto.
              * loader/CachedXSLStyleSheet.h:
              * loader/CachedXSLStyleSheet.cpp: (WebCore::CachedXSLStyleSheet::data): Ditto.
      
              * loader/DocLoader.cpp: (WebCore::DocLoader::setLoadInProgress): Added a call
              to loadDone on the frame. Replaces the requestFailed and requestDone signals.
      
              * loader/DocLoader.h: Removed include of <qbuffer.h>.
      
              * loader/Request.h:
              * loader/Request.cpp: Updated to use ByteArray instead of QBuffer.
      
              * loader/loader.h: Removed unused signals.
              * loader/loader.cpp:
              (WebCore::Loader::Loader): Removed use of KWQLoader.
              (WebCore::Loader::~Loader): Ditto.
              (WebCore::Loader::load): Removed code to emit unused requestStarted signal.
              (WebCore::Loader::slotFinished): Removed code to emit requestFailed and
              requestDone signals, now handled by DocLoader::setLoadInProgress(false).
              (WebCore::Loader::slotReceivedResponse): Use ByteArray instead of QBuffer.
              (WebCore::Loader::slotData): Ditto.
      
              * page/Frame.h: Removed setURLCursor, urlCursor, slotRestoreData, slotIncZoom,
              slotDecZoom, slotLoadImages, slotPartRemoved, slotActiveFrameChanged,
              slotChildURLRequest, slotShowDocument, slotAutoScroll, slotPrintFrame, slotSelectAll,
              slotProgressUpdate, slotJobPercent, slotJobSpeed.connectChild, disconnectChild,
              and changed a number of others from slots to plain old functions.
              * page/Frame.cpp:
              (WebCore::Frame::Frame): Don't connect to loader signals.
              (WebCore::Frame::~Frame): Don't disconnect from loader signals.
              (WebCore::Frame::didOpenURL): Call started function instead of emitting
              started signal. Don't connect to speed and percent signals (which never
              existed in WebCore anyway).
              (WebCore::Frame::stopLoading): Call finishedParsing function instead of
              calling slotFinishedParsing.
              (WebCore::Frame::executeScript): Removed redundant checks and let
              submitFormAgain do the checking.
              (WebCore::Frame::clear): Removed code to disconnect from finishedParsing
              signal; we now use a function. Also removed loop that calls disconnectChild,
              becase again we use functions now instead of signals.
              (WebCore::Frame::setDocument): Remove code to disconnect and connect to the
              finishedParsing signal.
              (WebCore::Frame::begin): Remove code to connect to the finishedParsing signal.
              (WebCore::Frame::finishedParsing): Moved code that does setParsing(false) into
              the document class. Also renamed from slotFinishedParsing.
              (WebCore::Frame::loadDone): Renamed from slotLoaderRequestDone.
              (WebCore::Frame::checkCompleted): Changed to call the completed function instead
              of emitting one of the two completed signals.
              (WebCore::Frame::loadSubframe): Removed call to connectChild because we now use
              functions instead of signals. Also change the call to completed to pass false
              instead of true.
              (WebCore::Frame::submitFormAgain): Change function around so we are less likely
              to leak if something strange happens inside submitForm.
              (WebCore::Frame::submitForm): Remove code to connect signal. We now call
              submitFormAgain from inside the completed function.
              (WebCore::Frame::parentCompleted): Renamed from slotParentCompleted. No longer
              a slot, now called from completed.
              (WebCore::Frame::childCompleted): Renamed from slotChildCompleted.
              (WebCore::Frame::setJSStatusBarText): Removed "emit" from function call. Changed
              to use String instead of QString.
              (WebCore::Frame::setJSDefaultStatusBarText): Ditto.
              (WebCore::Frame::sendResizeEvent): Changed to send DOM event directly instead of
              creating a QResizeEvent to send along to the FrameView.
              (WebCore::Frame::scrollToAnchor): Changed to not pass a parameter to the started
              function, which no longer takes one.
              (WebCore::Frame::frameDetached): Removed code that calls disconnectChild, since
              we no longer use signals.
              (WebCore::Frame::completed): Added. Calls childCompleted, parentCompleted, and
              submitFormAgain.
              (WebCore::Frame::setStatusBarText): Added.
              (WebCore::Frame::started): Added. Sets the complete flag to false for the frame
              and all its ancestors, which is what slotChildStarted did recursively.
      
              * page/FramePrivate.h: Removed m_activeFrame and changed m_kjsStatusBarText and
              m_kjsDefaultStatusBarText to String from QString.
      
              * page/FrameView.h: Removed resizeEvent, focusInEvent, focusOutEvent, and
              slotPaletteChanged. Changed cleared from a signal to a private function and
              slotScrollBarMoved to a private function named scrollBarMoved.
              * page/FrameView.cpp:
              (WebCore::FrameView::FrameView): Removed connect call here that was connecting
              a signal that's nonexistent in WebCore; we'll want to rig it up later.
              (WebCore::FrameView::~FrameView): Added a call to setQWidget(0) here to replace
              something that was done with a signal before.
              (WebCore::FrameView::clear): Call cleared as a function rather than a signal.
              (WebCore::selectCursor): Changed to use Cursor instead of QCursor.
              (WebCore::FrameView::scrollBarMoved): Renamed this function, which is never called.
              Added a FIXME about calling it.
              (WebCore::FrameView::cleared): Added. Calls viewCleared on the owner part, which
              used to be done with a signal.
      
              * platform/Widget.h: Changed to Cursor from QCursor.
              * platform/mac/WidgetMac.mm: (WebCore::Widget::setCursor): Ditto.
      
              * rendering/render_frames.h:
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::userResize): Removed cursor-setting code here. We might
              want to use resize cursors for frames again, but it was mostly disabled anyway and
              it's not clear which cursors to use.
              (WebCore::RenderPart::setWidget): Removed code to connect to the cleared signal.
              Instead, FrameView takes care of it directly.
              (WebCore::RenderPart::viewCleared): Renamed from slotViewCleared.
              (WebCore::RenderFrame::viewCleared): Ditto.
              (WebCore::RenderPartObject::viewCleared): Ditto.
      
              * rendering/render_image.cpp:
              (WebCore::RenderImage::imageChanged): Removed use of WordBreak, which doesn't exist
              in WebCore text rendering.
              (WebCore::RenderImage::paint): Ditto.
      
              * rendering/render_list.cpp: (RenderListMarker::paint): Removed use of DontClip, which
              doesn't exist in WebCore text rendering. Also removed incorrect use of references to
              temporaries for the ". " and " ." strings.
      
              * rendering/render_object.cpp:
              (WebCore::RenderObject::drawBorder): Removed call to setRasterOp since it is a no-op
              in WebCore's painter. Added a FIXME.
              (WebCore::RenderObject::information): Remove mode parameter to QTextStream.
      
              * rendering/render_replaced.h: Removed slotWidgetDestructed, made setQWidget public,
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::setQWidget): Removed code to connect slotWidgetDestructed to
              the destroyed signal. Instead FrameView calls setQWidget(0) on us.
              (WebCore::RenderWidget::eventFilter): Removed use of QFocusEvent::reason, which is
              never "popup" in WebCore.
      
              * WebCore+SVG/kdom.h:
              * css/css_stylesheetimpl.cpp:
              * css/css_valueimpl.cpp:
              * css/cssparser.cpp:
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/RenderPath.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * ksvg2/svg/SVGPathSegLinetoImpl.cpp:
              * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
              * ksvg2/svg/SVGTransformImpl.cpp:
              * platform/StringImpl.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/render_box.cpp:
              * rendering/render_canvas.cpp:
              * rendering/render_flow.cpp:
              * rendering/render_form.cpp:
              * rendering/render_layer.cpp:
              * rendering/render_style.cpp:
              Removed includes of <kdebug.h>.
      
              * css/css_base.cpp: (CSSSelector::selectorText):
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::wasRunByUserGesture):
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSRule::putValueProperty):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValueProperty):
              (KJS::DOMDocument::getValueProperty):
              * khtml/ecma/kjs_events.cpp:
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMUIEvent::getValueProperty):
              (KJS::DOMMouseEvent::getValueProperty):
              (KJS::DOMKeyboardEvent::getValueProperty):
              (KJS::Clipboard::getValueProperty):
              (KJS::Clipboard::putValueProperty):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLDocument::getValueProperty):
              (KJS::KJS::HTMLDocument::putValueProperty):
              (KJS::HTMLElement::anchorGetter):
              (KJS::HTMLElement::areaGetter):
              (KJS::KJS::HTMLElementFunction::callAsFunction):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::DOMNodeIterator::getValueProperty):
              (KJS::DOMTreeWalker::getValueProperty):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Screen::getValueProperty):
              (KJS::Window::scheduleClose):
              (KJS::Window::isSafeScript):
              (KJS::Window::clear):
              (KJS::LocationFunc::callAsFunction):
              (KJS::History::getValueProperty):
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              (SVGAnimateColorElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateElementImpl.cpp:
              (SVGAnimateElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
              (SVGAnimateTransformElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              (SVGAnimationElementImpl::parseMappedAttribute):
              * ksvg2/svg/SVGCursorElementImpl.cpp:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (WebCore::SVGDocumentImpl::finishedParsing):
              * ksvg2/svg/SVGLengthImpl.cpp:
              (SVGLengthImpl::updateValueInSpecifiedUnits):
              Removed use of kdWarning, kdDebug, etc.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      644b75ef
  8. 16 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · d85b585f
      darin authored
              - eliminate QFrame and QObject::inherits, fix some strange stuff
                in RenderCanvas that showed up when I tested that change
      
              * kwq/KWQFrame.h: Removed.
              * kwq/KWQFrame.mm: Removed.
      
              * bridge/mac/FrameViewMac.mm: Added.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for adds and removes.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for removes.
      
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge RenderObject::nodeInfoAtPoint:]):
              * khtml/ecma/kjs_window.cpp:
              (KJS::FrameArray::indexGetter):
              (KJS::FrameArray::nameGetter):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject doAXTextMarkerForPosition:]):
              * kwq/KWQRenderTreeDebug.cpp:
              (write):
              * page/Frame.cpp:
              (WebCore::isFrameElement):
              * page/FramePrivate.h:
              (WebCore::FramePrivate::FramePrivate):
              Change QObject::inherits callers to call the "is" functions directly.
      
              * kwq/KWQObject.h:
              * kwq/KWQObject.cpp: Removed QObject::inherits, QObject::isQFrame,
              and QObject::isQScrollView.
      
              * kwq/KWQScrollView.h: Inherit from Widget instead of QFrame.
              Remove isQScrollView.
              * kwq/KWQScrollView.mm: Remove isQScrollView.
      
              * page/FrameView.h:
              * page/FrameView.cpp: Changed underMouse and clickNode to be RefPtr.
              Added m_hasBorder.
              (WebCore::FrameViewPrivate::FrameViewPrivate):
              (WebCore::FrameViewPrivate::~FrameViewPrivate):
              (WebCore::FrameViewPrivate::reset):
              (WebCore::FrameView::layout):
              (WebCore::FrameView::viewportMousePressEvent):
              (WebCore::FrameView::invalidateClick):
              (WebCore::FrameView::viewportMouseReleaseEvent):
              (WebCore::FrameView::keyPressEvent):
              (WebCore::FrameView::dispatchDragEvent): Use RefPtr for MouseEventImpl.
              (WebCore::FrameView::nodeUnderMouse):
              (WebCore::FrameView::dispatchMouseEvent):
              (WebCore::FrameView::setHasBorder): Added.
              (WebCore::FrameView::hasBorder): Added.
              (WebCore::FrameView::borderWidth): Added.
      
              * rendering/render_canvas.h: Eliminated unneeded setWidth/Height overrides.
              Eliminated viewportWidth(), viewportHeight(), m_rootWidth, m_rootHeight,
              m_viewportWidth, and m_viewportHeight.
              * rendering/render_canvas.cpp:
              (RenderCanvas::calcHeight): Remove unneeded code to set height when there's
              no view.
              (RenderCanvas::calcWidth): Fix code to set width to visibleWidth(). Removed
              incorrect old width setting, and removed unneeded code to set width when
              there's no view. Also removed incorrect margin-setting code.
              (RenderCanvas::layout): Removed incorrect code to set width and height.
              Instead letting calcWidth and calcHeight do the job.
              (RenderCanvas::repaintViewRectangle): Use new FrameView::hasBorder instead
              of QFrame::frameStyle.
              (RenderCanvas::viewRect): Removed unneeded "root width" feature for a canvas
              without a view.
      
              * rendering/render_frames.cpp:
              (WebCore::RenderFrame::slotViewCleared): Use new setHasBorder.
              (WebCore::RenderPartObject::slotViewCleared): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d85b585f
  9. 13 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · d47a9034
      darin authored
              - moved QWidget to platform directory, renamed to Widget,
                split into cross-platform and platform-specific parts,
                removed some of the unused bits
      
              * ForwardingHeaders/qwidget.h: Removed.
              * kwq/KWQWidget.h: Removed.
              * kwq/KWQWidget.mm: Removed.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Update for file removals and adds.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * platform/Widget.h: Moved code here, fixed it up.
              * platform/Widget.cpp: Ditto.
              * platform/mac/WidgetMac.mm: Added.
      
              * bindings/objc/DOMHTML.mm:
              (viewForElement):
              * bridge/mac/KWQKHTMLView.cpp:
              (WebCore::FrameView::topLevelWidget):
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::createPlugin):
              (WebCore::MacFrame::nextKeyViewInFrame):
              (WebCore::MacFrame::nextKeyViewForWidget):
              (WebCore::MacFrame::currentEventIsMouseDownInWidget):
              (WebCore::MacFrame::bridgeForWidget):
              (WebCore::MacFrame::passMouseDownEventToWidget):
              (WebCore::MacFrame::passSubframeEventToSubframe):
              (WebCore::MacFrame::passWheelEventToChildWidget):
              (WebCore::MacFrame::getAppletInstanceForWidget):
              (WebCore::MacFrame::getEmbedInstanceForWidget):
              (WebCore::MacFrame::getObjectInstanceForWidget):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge createFrameViewWithNSView:marginWidth:marginHeight:]):
              (-[WebCoreFrameBridge copyRenderNode:copier:]):
              (-[WebCoreFrameBridge elementForView:]):
              (-[WebCoreFrameBridge RenderObject::nodeInfoAtPoint:]):
              * dom/DocumentImpl.cpp:
              (WebCore::widgetForNode):
              (WebCore::DocumentImpl::setFocusNode):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Screen::getValueProperty):
              (KJS::WindowFunc::callAsFunction):
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              (WebCore::HTMLGenericFormElementImpl::isKeyboardFocusable):
              (WebCore::HTMLGenericFormElementImpl::isMouseFocusable):
              * khtml/html/html_objectimpl.cpp:
              (WebCore::HTMLEmbedElementImpl::getEmbedInstance):
              (WebCore::HTMLObjectElementImpl::getObjectInstance):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject addChildrenToArray:]):
              (-[KWQAccObject attachmentView]):
              (-[KWQAccObject doAXTextMarkerForPosition:]):
              * kwq/KWQComboBox.h:
              * kwq/KWQComboBox.mm:
              (QComboBox::frameGeometry):
              (QComboBox::setFrameGeometry):
              (QComboBox::setFont):
              (QComboBox::focusPolicy):
              (-[KWQPopUpButtonCell widget]):
              (-[KWQPopUpButton widget]):
              (-[KWQPopUpButton mouseDown:]):
              (-[KWQPopUpButton becomeFirstResponder]):
              (-[KWQPopUpButton resignFirstResponder]):
              (-[KWQPopUpButton nextKeyView]):
              (-[KWQPopUpButton previousKeyView]):
              * kwq/KWQFileButton.h:
              * kwq/KWQFileButton.mm:
              (KWQFileButton::focusPolicy):
              * kwq/KWQFrame.h:
              * kwq/KWQKCursor.h:
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQKJavaAppletWidget.mm:
              (KJavaAppletWidget::KJavaAppletWidget):
              * kwq/KWQLineEdit.h:
              * kwq/KWQLineEdit.mm:
              (QLineEdit::setFont):
              (QLineEdit::setPalette):
              (QLineEdit::focusPolicy):
              * kwq/KWQListBox.h:
              * kwq/KWQListBox.mm:
              (QListBox::QListBox):
              (QListBox::focusPolicy):
              (QListBox::setFont):
              (-[KWQListBoxScrollView widget]):
              (-[KWQListBoxScrollView becomeFirstResponder]):
              (-[KWQTableView mouseDown:]):
              (-[KWQTableView widget]):
              * kwq/KWQPainter.h:
              * kwq/KWQRenderTreeDebug.cpp:
              (write):
              * kwq/KWQScrollBar.h:
              * kwq/KWQScrollBar.mm:
              (-[KWQScrollBar widget]):
              (-[KWQScrollBar mouseDown:]):
              (QScrollBar::QScrollBar):
              (QScrollBar::~QScrollBar):
              * kwq/KWQScrollView.h:
              (QScrollView::QScrollView):
              * kwq/KWQScrollView.mm:
              (QScrollView::viewport):
              (QScrollView::childX):
              (QScrollView::childY):
              (QScrollView::addChild):
              (QScrollView::removeChild):
              * kwq/KWQSlider.h:
              * kwq/KWQSlider.mm:
              (-[KWQSlider mouseDown:]):
              (-[KWQSlider widget]):
              (QSlider::setFont):
              (QSlider::focusPolicy):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView widget]):
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm:
              (QTextEdit::QTextEdit):
              (QTextEdit::setFont):
              (QTextEdit::focusPolicy):
              (QTextEdit::setPalette):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController widget]):
              (-[KWQTextFieldController textView:shouldHandleEvent:]):
              (-[KWQTextFieldController textView:didHandleEvent:]):
              (-[KWQTextField widget]):
              (-[KWQTextField nextKeyView]):
              (-[KWQTextField previousKeyView]):
              (-[KWQSecureTextField widget]):
              (-[KWQSecureTextField nextKeyView]):
              (-[KWQSecureTextField previousKeyView]):
              (-[KWQSearchField widget]):
              (-[KWQSearchField nextKeyView]):
              (-[KWQSearchField previousKeyView]):
              * kwq/KWQView.h:
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::topLevelWidget):
              * page/Frame.cpp:
              (WebCore::isFrameElement):
              (WebCore::Frame::frameForWidget):
              (WebCore::Frame::nodeForWidget):
              (WebCore::Frame::setDocumentFocus):
              (WebCore::Frame::clearDocumentFocus):
              (WebCore::Frame::passWidgetMouseDownEventToWidget):
              * page/Frame.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::FrameView):
              (WebCore::FrameView::init):
              * page/FrameView.h:
              * page/Plugin.h:
              (WebCore::Plugin::Plugin):
              (WebCore::Plugin::view):
              * platform/Screen.h:
              * platform/mac/ScreenMac.mm:
              (WebCore::screen):
              (WebCore::screenDepth):
              (WebCore::screenRect):
              (WebCore::usableScreenRect):
              * rendering/render_applet.cpp:
              (WebCore::RenderApplet::layout):
              * rendering/render_form.cpp:
              (WebCore::ComboBoxWidget::ComboBoxWidget):
              (WebCore::RenderSelect::createListBox):
              * rendering/render_form.h:
              * rendering/render_frames.cpp:
              (WebCore::RenderPart::setWidget):
              * rendering/render_frames.h:
              * rendering/render_object.cpp:
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::resizeWidget):
              (WebCore::RenderWidget::setQWidget):
              * rendering/render_replaced.h:
              (WebCore::RenderWidget::widget):
              Change name from QWidget to Widget, a few other changes to get compiling.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d47a9034
  10. 11 Feb, 2006 1 commit
    • adele's avatar
      Reviewed by Hyatt. · efc7cf59
      adele authored
       
               - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6821
                 Fix for 5983 will not always update hover correctly.
       
               * khtml/xml/DocumentImpl.cpp:
               (WebCore::DocumentImpl::hoveredNodeDetached): Added this method. Moved the hover logic from
               NodeImpl::detach here, modified to use the DOM tree instead of hoverAncestor,
               to handle the case that the hover node is a text node, and to schedule an update
               of hover state.
               (WebCore::DocumentImpl::activeChainNodeDetached): Added this method to trim the
               active chain above the node being detached.
               * khtml/xml/DocumentImpl.h:
               * khtml/xml/NodeImpl.cpp:
               (WebCore::NodeImpl::detach): Moved most of the hover logic out of here into
               DocumentImpl. Reset m_active and m_inActiveChain and call activeChainNodeDetached
               when detaching an active node. 
               * manual-tests/bugzilla-6821.html: Added.
               * page/FrameView.cpp:
               (WebCore::FrameViewPrivate::FrameViewPrivate): Added hover-state update timer.
               (WebCore::FrameViewPrivate::reset):
               (WebCore::FrameView::~FrameView):
               (WebCore::FrameView::viewportMouseMoveEvent):
               (WebCore::FrameView::hoverTimerFired): Call DocumentImpl::prepareMouseEvent
               when the timer fires to cause hover state to update.
               (WebCore::FrameView::scheduleHoverStateUpdate): Added.
               * page/FrameView.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efc7cf59
  11. 01 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · a52f4e12
      darin authored
              - use Timer for everything, kill timer features of QObject, QTimer, QTimerEvent
      
              * ForwardingHeaders/kxmlcore/Noncopyable.h: Added.
              * ForwardingHeaders/kxmlcore/OwnArrayPtr.h: Added.
              * ForwardingHeaders/kxmlcore/OwnPtr.h: Added.
              * ForwardingHeaders/qtimer.h: Removed.
              * kwq/KWQTimer.cpp: Removed.
              * kwq/KWQTimer.h: Removed.
      
              * kwq/KWQObject.h:
              * kwq/KWQObject.cpp: Remove timer-related features.
      
              * kwq/KWQEvent.h: Remove QTimerEvent.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for file changes.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
      
              * platform/Timer.h: Change to use nextFireInterval rather than nextFireTime.
              More convenient and also no need to define what the epoch is. Change TimerBase
              to use a virtual function rather than a function pointer. Added setDeferringTimers
              function to ensure timers don't fire while handling an event.
              * platform/mac/Timer.cpp:
              (WebCore::timerFired): Added deferral support.
              (WebCore::fireDeferred): Added.
              (WebCore::TimerBase::TimerBase): Simplify to remove function pointer.
              (WebCore::TimerBase::~TimerBase): Put in here, no longer inline.
              (WebCore::TimerBase::start): Change to use interval.
              (WebCore::TimerBase::startRepeating): Change since we use interval now.
              (WebCore::TimerBase::startOneShot): Ditto.
              (WebCore::TimerBase::stop): Added deferral support.
              (WebCore::TimerBase::nextFireInterval): Added.
              (WebCore::TimerBase::fire): Added.
              (WebCore::isDeferringTimers): Added.
              (WebCore::setDeferringTimers): Added.
      
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::startRedirectionTimer): Update for change to Timer class.
              (WebCore::MacFrame::passMouseDownEventToWidget): Update to use setDeferringTimers
              instead of QObject::setDefersTimers.
      
              * khtml/ecma/kjs_window.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::DOMWindowTimer): Added. Class for JavaScript "timeout".
              (KJS::WindowQObject::parentDestroyed): Update to use DOMWindowTimer.
              (KJS::WindowQObject::installTimeout): Ditto.
              (KJS::WindowQObject::pauseTimeouts): Ditto.
              (KJS::WindowQObject::resumeTimeouts): Ditto.
              (KJS::WindowQObject::clearTimeout): Ditto.
              (KJS::WindowQObject::timerFired): Ditto.
              (KJS::DOMWindowTimer::fired): Added.
      
              * khtml/html/htmltokenizer.h:
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::HTMLTokenizer): Use Timer instead of timer ID.
              (WebCore::HTMLTokenizer::reset): Ditto.
              (WebCore::HTMLTokenizer::continueProcessing): Ditto.
              (WebCore::HTMLTokenizer::write): Ditto.
              (WebCore::HTMLTokenizer::stopParsing): Ditto.
              (WebCore::HTMLTokenizer::processingData): Ditto.
              (WebCore::HTMLTokenizer::timerFired): Ditto.
              (WebCore::HTMLTokenizer::end): Ditto.
              (WebCore::HTMLTokenizer::finish): Ditto.
      
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl): Updated for changes to use RefPtr
              more cases, and not use it for m_svgExtensions.
              (WebCore::DocumentImpl::~DocumentImpl): Delete m_svgExtensions instead of
              just deref'ing it since it's no longer shared.
              (WebCore::DocumentImpl::implementation): Update for RefPtr.
              (WebCore::DocumentImpl::elementSheet): Ditto.
              (WebCore::DocumentImpl::styleSheets): Ditto.
              (WebCore::DocumentImpl::recalcStyleSelector): Ditto.
              (WebCore::DocumentImpl::dispatchImageLoadEventSoon): Update to use new style timer.
              (WebCore::DocumentImpl::removeImage): Ditto.
              (WebCore::DocumentImpl::dispatchImageLoadEventsNow): Ditto.
              (WebCore::DocumentImpl::imageLoadEventTimerFired): Ditto.
              (WebCore::DocumentImpl::svgExtensions): Update for RefPtr.
              (WebCore::DocumentImpl::accessSVGExtensions): Ditto.
      
              * ksvg2/misc/KSVGTimeScheduler.h:
              (WebCore::TimeScheduler::document):
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              (WebCore::SVGTimer::downcast):
              (WebCore::SVGTimer::SVGTimer):
              (WebCore::SVGTimer::start):
              (WebCore::SVGTimer::calculateTimePercentage):
              (WebCore::SVGTimer::notifyAll):
              (WebCore::SVGTimer::addNotify):
              (WebCore::SVGTimer::removeNotify):
              (WebCore::TimeScheduler::TimeScheduler):
              (WebCore::TimeScheduler::~TimeScheduler):
              (WebCore::TimeScheduler::addTimer):
              (WebCore::TimeScheduler::connectIntervalTimer):
              (WebCore::TimeScheduler::disconnectIntervalTimer):
              (WebCore::TimeScheduler::startAnimations):
              (WebCore::TimeScheduler::toggleAnimations):
              (WebCore::TimeScheduler::timerFired):
              Rework to use new timer.
      
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              Make SVGDocumentExtensions no longer be shared, be solely owned by the document.
      
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (WebCore::SVGDocumentImpl::createStyleSelector): Update for RefPtr use.
      
              * kwq/KWQSlot.cpp: Remove endLifeSupport and timerNotify slots.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::selectionLayoutChanged): Update to use new style timer.
              (WebCore::Frame::caretBlinkTimerFired): Ditto.
              * page/FramePrivate.h: (WebCore::FramePrivate::FramePrivate): Ditto.
      
              * page/FrameView.h:
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate): Update to use new style timer.
              (WebCore::FrameView::clear): Ditto.
              (WebCore::FrameView::layout): Ditto.
              (WebCore::FrameView::layoutTimerFired): Ditto.
              (WebCore::FrameView::scheduleRelayout): Ditto.
              (WebCore::FrameView::layoutPending): Ditto.
              (WebCore::FrameView::haveDelayedLayoutScheduled): Ditto.
              (WebCore::FrameView::unscheduleRelayout): Ditto.
      
              * page/ObjectContents.h: Remove unneeded includes.
      
              * rendering/render_frames.cpp: Removed include of <qtimer.h>.
      
              * rendering/render_layer.h:
              * rendering/render_layer.cpp:
              (WebCore::Marquee::Marquee): Use new style timers.
              (WebCore::Marquee::start): Ditto.
              (WebCore::Marquee::suspend): Ditto.
              (WebCore::Marquee::stop): Ditto.
              (WebCore::Marquee::updateMarqueeStyle): Ditto.
              (WebCore::Marquee::timerFired): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a52f4e12
  12. 31 Jan, 2006 1 commit
    • darin's avatar
      WebCore: · ffd93c32
      darin authored
              Reviewed by Hyatt.
      
              - added a Timer class
              - used the Timer class for the redirection timer
              - moved Frame, FrameView, MacFrame, and FrameNodeTree into WebCore namespace
              - removed more KWQ
      
              * ForwardingHeaders/khtml_factory.h: Removed.
              * kwq/KWQKHTMLFactory.cpp: Removed.
              * kwq/KWQKHTMLFactory.h: Removed.
      
              * platform/Timer.h: Added.
              * platform/mac/Timer.cpp: Added.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for added and removed files.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::init): Remove code to set up slotRedirect.
              (WebCore::Frame::checkCompleted): Call start/stopRedirectionTimer instead of using
              the redirection timer directly.
              (WebCore::Frame::scheduleRedirection): Ditto.
              (WebCore::Frame::scheduleLocationChange): Ditto.
              (WebCore::Frame::scheduleHistoryNavigation): Ditto.
              (WebCore::Frame::cancelRedirection): Ditto.
              (WebCore::Frame::redirectionTimerFired): Renamed from slotRedirect.
              (WebCore::Frame::slotParentCompleted): More startRedirectionTimer.
              (WebCore::Frame::startRedirectionTimer): Added. Virtual bottleneck to start the
              redirection timer.
              (WebCore::Frame::stopRedirectionTimer): Added. Virtual bottleneck to stop the
              redirection timer.
      
              * page/FramePrivate.h: Changed m_redirectionTimer from a QTimer to a Timer.
      
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::startRedirectionTimer): Added. Avoids the need for the QTimer
              "monitor" feature that I had added a while back to implement the client-redirected
              callback.
              (WebCore::MacFrame::stopRedirectionTimer): Ditto.
      
              * kwq/KWQSlot.cpp: Removed slotRedirected.
      
              * ForwardingHeaders/ksvg2/KSVGPart.h: Removed using to put Frame into various
              namespaces (all of which are WebCore now anyway).
      
              * bindings/objc/DOMInternal.mm:
              * bridge/mac/BrowserExtensionMac.h:
              * bridge/mac/KWQKHTMLView.cpp:
              * bridge/mac/MacFrame.h:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_navigator.h:
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_window.h:
              * khtml/editing/SelectionController.h:
              * khtml/editing/jsediting.h:
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_headimpl.h:
              * khtml/html/htmlparser.h:
              * khtml/html/htmltokenizer.h:
              * khtml/xml/DOMImplementationImpl.h:
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/xml_tokenizer.h:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              * kwq/KWQClipboard.h:
              * kwq/KWQComboBox.mm:
              * kwq/KWQFileButton.h:
              * kwq/KWQFrame.mm:
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQListBox.mm:
              * kwq/KWQSignalStubs.cpp:
              * kwq/KWQSlider.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQWidget.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * loader/DocLoader.h:
              * page/FrameTreeNode.cpp:
              * page/FrameTreeNode.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/Page.cpp:
              * page/Page.h:
              * rendering/InlineTextBox.h:
              * rendering/font.cpp:
              * rendering/render_canvas.h:
              * rendering/render_frames.h:
              * rendering/render_object.h:
              * rendering/render_replaced.h:
              Updated for namespace and header changes.
      
      WebKit:
      
              Reviewed by Hyatt.
      
              * WebCoreSupport.subproj/WebFrameBridge.m:
              (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
              Updated for name change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffd93c32
  13. 30 Jan, 2006 1 commit
    • darin's avatar
      Reviewed by Maciej. · 5630e07f
      darin authored
              - killed more KWQ, KWinModule and QVariant
      
              * ForwardingHeaders/kwinmodule.h: Removed.
              * ForwardingHeaders/qvariant.h: Removed.
      
              * kwq/KWQKWinModule.h: Removed.
              * kwq/KWQKWinModule.mm: Removed.
              * kwq/KWQVariant.cpp: Removed.
              * kwq/KWQVariant.h: Removed.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for removal.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_binding.cpp: Remove QVariant stuff.
      
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              * khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_proxy.cpp: (WebCore::KJSProxyImpl::evaluate):
              * page/Frame.h:
              * page/Frame.cpp:
              (getString):
              (Frame::replaceContentsWithScriptResult):
              (Frame::executeScript):
              (Frame::executeScheduledScript):
              (Frame::changeLocation):
              (Frame::urlSelected):
              (Frame::submitForm):
              Changed to use JSValue instead of QVariant for result of executing JavaScript.
      
              * kwq/KWQObject.h: Removed a bunch of unneeded includes and forward declarations.
      
              * bridge/mac/MacFrame.mm:
              * khtml/ecma/kjs_window.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/htmltokenizer.cpp:
              * khtml/xml/DocumentImpl.cpp:
              * khtml/xml/NodeImpl.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * kwq/KWQComboBox.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQObject.cpp:
              * kwq/KWQSlider.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextField.mm:
              * loader/CachedImage.h:
              * page/FrameView.h:
              * page/FrameView.cpp:
              * rendering/render_form.cpp:
              Updated includes, since KWQObject.h now includes less.
              Also updated callers to executeScript since one overload was removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5630e07f
  14. 27 Jan, 2006 1 commit
    • hyatt's avatar
      Fix for 6867. Rename QPixmap to Image and move it to platform/. · b9443599
      hyatt authored
              Eliminate QPaintDevice and QPaintDeviceMetrics completely, since
              they aren't necessary.
      
              Reviewed by anders
      
              * ForwardingHeaders/q3paintdevicemetrics.h: Removed.
              * ForwardingHeaders/qpaintdevice.h: Removed.
              * ForwardingHeaders/qpaintdevicemetrics.h: Removed.
              * ForwardingHeaders/qpixmap.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              (MacFrame::fileWrapperForElement):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge reapplyStylesForDeviceType:]):
              (nowPrinting):
              (-[WebCoreFrameBridge elementAtPoint:]):
              * css/css_valueimpl.cpp:
              (WebCore::CSSPrimitiveValueImpl::computeLength):
              (WebCore::CSSPrimitiveValueImpl::computeLengthFloat):
              * css/css_valueimpl.h:
              * css/csshelper.cpp:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              (WebCore::CSSStyleSelector::init):
              (WebCore::CSSStyleSelector::initForStyleResolve):
              (WebCore::CSSStyleSelector::styleForElement):
              (WebCore::CSSStyleSelector::pseudoStyleForElement):
              (WebCore::convertToLength):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::mapBackgroundXPosition):
              (WebCore::CSSStyleSelector::mapBackgroundYPosition):
              * css/cssstyleselector.h:
              * kcanvas/KCanvasFilters.h:
              (KCanvasFEImage::image):
              (KCanvasFEImage::setImage):
              * kcanvas/KCanvasImage.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (KCanvasFEImageQuartz::getCIFilter):
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              (KCanvasImageQuartz::init):
              * khtml/ecma/kjs_events.cpp:
              (KJS::ClipboardProtoFunc::callAsFunction):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::drawPattern):
              (KJS::_rh):
              (KJS::ImagePattern::createPattern):
              * khtml/ecma/kjs_html.h:
              (KJS::ImagePattern::image):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Screen::getValueProperty):
              * khtml/editing/SelectionController.h:
              * khtml/html/html_imageimpl.h:
              (WebCore::HTMLImageElementImpl::image):
              * khtml/misc/helper.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl):
              (WebCore::DocumentImpl::~DocumentImpl):
              (WebCore::DocumentImpl::recalcStyle):
              (WebCore::DocumentImpl::attach):
              (WebCore::DocumentImpl::detach):
              * khtml/xml/DocumentImpl.h:
              (WebCore::DocumentImpl::printing):
              (WebCore::DocumentImpl::setPrinting):
              * khtml/xml/dom2_eventsimpl.h:
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::KSVGPainterFactory::cssPrimitiveToLength):
              (WebCore::KSVGPainterFactory::strokePainter):
              * ksvg2/svg/SVGCursorElementImpl.cpp:
              (SVGCursorElementImpl::notifyFinished):
              * ksvg2/svg/SVGCursorElementImpl.h:
              (KSVG::SVGCursorElementImpl::image):
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (SVGDocumentImpl::SVGDocumentImpl):
              * ksvg2/svg/SVGFEImageElementImpl.cpp:
              (SVGFEImageElementImpl::notifyFinished):
              * ksvg2/svg/SVGMaskElementImpl.cpp:
              (KSVG::SVGMaskElementImpl::drawMaskerContent):
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * kwq/KWQApplication.h:
              * kwq/KWQApplication.mm:
              (QDesktopWidget::screenDepth):
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              (WebCore::KWQClipboard::dragImage):
              (WebCore::KWQClipboard::setDragImage):
              (WebCore::KWQClipboard::setDragImageElement):
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.h:
              * kwq/KWQCursor.mm:
              (WebCore::createCustomCursor):
              (WebCore::QCursor::QCursor):
              * kwq/KWQKPartsEvent.h:
              * kwq/KWQObject.h:
              * kwq/KWQPaintDevice.h: Removed.
              * kwq/KWQPaintDeviceMetrics.h: Removed.
              * kwq/KWQPaintDeviceMetrics.mm: Removed.
              * kwq/KWQPainter.h:
              (WebCore::QPainter::printing):
              * kwq/KWQPainter.mm:
              (WebCore::QPainter::drawImage):
              (WebCore::QPainter::drawFloatImage):
              (WebCore::QPainter::drawTiledImage):
              (WebCore::QPainter::drawScaledAndTiledImage):
              * kwq/KWQPixmap.h: Removed.
              * kwq/KWQPixmap.mm: Removed.
              * kwq/KWQPrinter.h:
              (QPrinter::QPrinter):
              * kwq/KWQWidget.h:
              * loader/Cache.cpp:
              (khtml::Cache::init):
              (khtml::Cache::clear):
              (khtml::Cache::requestImage):
              (khtml::Cache::getStatistics):
              * loader/Cache.h:
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::CachedImage):
              (WebCore::CachedImage::ref):
              (WebCore::CachedImage::tiled_image):
              (WebCore::CachedImage::image):
              (WebCore::CachedImage::image_size):
              (WebCore::CachedImage::do_notify):
              (WebCore::CachedImage::data):
              (WebCore::CachedImage::error):
              * loader/CachedImage.h:
              * loader/CachedImageCallback.cpp:
              (WebCore::CachedImageCallback::notifyUpdate):
              (WebCore::CachedImageCallback::notifyFinished):
              (WebCore::CachedImageCallback::handleError):
              * loader/CachedObject.h:
              (WebCore::CachedObject::):
              * loader/CachedObjectClient.h:
              (WebCore::CachedObjectClient::setImage):
              * loader/DocLoader.cpp:
              (khtml::DocLoader::setAutoloadImages):
              (khtml::DocLoader::setShowAnimations):
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::slotFinished):
              * page/Frame.cpp:
              (Frame::paint):
              * page/Frame.h:
              * page/FrameView.cpp:
              (selectCursor):
              * page/FrameView.h:
              * platform/Image.h: Added.
              * platform/mac/Image.mm: Added.
              (WebCore::Image::loadResource):
              (WebCore::Image::Image):
              (WebCore::Image::~Image):
              (WebCore::Image::imageRef):
              (WebCore::Image::resetAnimation):
              (WebCore::Image::setAnimationRect):
              (-[WebImageCallback initWithCallback:WebCore::]):
              (WebCore::Image::shouldUseThreadedDecoding):
              (WebCore::Image::receivedData):
              (WebCore::Image::mask):
              (WebCore::Image::isNull):
              (WebCore::Image::size):
              (WebCore::Image::rect):
              (WebCore::Image::width):
              (WebCore::Image::height):
              (WebCore::Image::resize):
              (WebCore::Image::operator=):
              (WebCore::Image::increaseUseCount):
              (WebCore::Image::decreaseUseCount):
              (WebCore::Image::stopAnimations):
              (WebCore::Image::flushRasterCache):
              * rendering/InlineTextBox.cpp:
              (khtml::InlineTextBox::paint):
              * rendering/InlineTextBox.h:
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paintChildren):
              (WebCore::RenderBlock::paintObject):
              * rendering/RenderText.h:
              * rendering/font.cpp:
              (khtml::Font::update):
              * rendering/font.h:
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintBackgroundExtended):
              * rendering/render_canvasimage.cpp:
              (WebCore::RenderCanvasImage::paint):
              * rendering/render_flow.cpp:
              (RenderFlow::paintLines):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::RenderImage):
              (WebCore::RenderImage::~RenderImage):
              (WebCore::RenderImage::setContentObject):
              (WebCore::RenderImage::setImage):
              (WebCore::RenderImage::paint):
              (WebCore::RenderImage::layout):
              (WebCore::RenderImage::calcReplacedWidth):
              (WebCore::RenderImage::calcReplacedHeight):
              * rendering/render_image.h:
              (WebCore::RenderImage::image):
              (WebCore::RenderImage::getImage):
              * rendering/render_line.cpp:
              (WebCore::InlineFlowBox::paintBackground):
              (WebCore::InlineFlowBox::paintBackgroundAndBorder):
              * rendering/render_list.cpp:
              (RenderListItem::getAbsoluteRepaintRect):
              (RenderListMarker::paint):
              (RenderListMarker::setImage):
              (RenderListMarker::calcMinMaxWidth):
              * rendering/render_list.h:
              * rendering/render_object.cpp:
              (WebCore::RenderObject::mustRepaintBackgroundOrBorder):
              (WebCore::RenderObject::paintBorderImage):
              (WebCore::RenderObject::paintBorder):
              (WebCore::RenderObject::setImage):
              * rendering/render_object.h:
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::paint):
              * rendering/render_replaced.h:
              * rendering/render_theme_mac.mm:
              (khtml::RenderThemeMac::setFontFromControlSize):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9443599
  15. 18 Jan, 2006 2 commits
  16. 14 Jan, 2006 1 commit
    • hyatt's avatar
      Convert QRect/QRectF -> IntRect/FloatRect. Same drill as point · 673184e2
      hyatt authored
              and size.
      
              Reviewed by mjs
      
              * ForwardingHeaders/qrect.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              (MacFrame::snapshotDragImage):
              (MacFrame::setDisplaysWithFocusAttributes):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge drawRect:withPainter:]):
              (-[WebCoreFrameBridge firstRectForDOMRange:]):
              (-[WebCoreFrameBridge ensureSelectionVisible]):
              * kcanvas/KCanvasContainer.cpp:
              (KCanvasContainer::relativeBBox):
              (KCanvasContainer::getAspectRatio):
              * kcanvas/KCanvasContainer.h:
              * kcanvas/KCanvasFilters.cpp:
              (KCanvasFilterEffect::subRegion):
              (KCanvasFilterEffect::setSubRegion):
              * kcanvas/KCanvasFilters.h:
              (KCanvasFilter::filterRect):
              (KCanvasFilter::setFilterRect):
              * kcanvas/KCanvasItem.cpp:
              (RenderPath::relativeBBox):
              * kcanvas/KCanvasItem.h:
              * kcanvas/KCanvasResources.cpp:
              (KCanvasMarker::draw):
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              (operator<<):
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderSVGImage.cpp:
              (RenderSVGImage::paint):
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              (KRenderingPaintServerPattern::setBbox):
              (KRenderingPaintServerPattern::bbox):
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (KCanvasFilterQuartz::prepareFilter):
              (KCanvasFilterQuartz::applyFilter):
              * kcanvas/device/quartz/KCanvasItemQuartz.h:
              (KCanvasItemQuartz::getAbsoluteRepaintRect):
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              (drawMarkerWithData):
              (KCanvasItemQuartz::drawMarkersIfNeeded):
              (KCanvasItemQuartz::bboxForPath):
              * kcanvas/device/quartz/KCanvasMaskerQuartz.h:
              * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
              (KCanvasMaskerQuartz::applyMask):
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              (KCanvasContainerQuartz::getAbsoluteRepaintRect):
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              (KCanvasContainerQuartz::layout):
              (KCanvasContainerQuartz::paint):
              (KCanvasContainerQuartz::setViewport):
              (KCanvasContainerQuartz::viewport):
              (KCanvasContainerQuartz::setViewBox):
              (KCanvasContainerQuartz::viewBox):
              (KCanvasContainerQuartz::absoluteTransform):
              (KCanvasClipperQuartz::applyClip):
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (KRenderingDeviceContextQuartz::mapFromVisual):
              (KRenderingDeviceContextQuartz::mapToVisual):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (KRenderingPaintServerImageQuartz::draw):
              * kcanvas/device/quartz/QuartzSupport.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::Screen::getValueProperty):
              (KJS::showModalDialog):
              (KJS::Window::getValueProperty):
              (KJS::constrainToVisible):
              (KJS::WindowFunc::callAsFunction):
              * khtml/editing/SelectionController.cpp:
              (khtml::caretY):
              (khtml::SelectionController::layout):
              (khtml::SelectionController::caretRect):
              (khtml::SelectionController::caretRepaintRect):
              (khtml::SelectionController::paintCaret):
              * khtml/editing/SelectionController.h:
              * khtml/html/html_imageimpl.cpp:
              (DOM::HTMLAreaElementImpl::getRect):
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::isFocusable):
              * khtml/misc/CachedImage.cpp:
              (khtml::CachedImage::valid_rect):
              (khtml::CachedImage::do_notify):
              (khtml::CachedImage::error):
              * khtml/misc/CachedImage.h:
              * khtml/misc/khtmllayout.h:
              (khtml::GapRects::left):
              (khtml::GapRects::center):
              (khtml::GapRects::right):
              (khtml::GapRects::uniteLeft):
              (khtml::GapRects::uniteCenter):
              (khtml::GapRects::uniteRight):
              (khtml::GapRects::operator IntRect):
              * khtml/misc/loader_client.h:
              (khtml::CachedObjectClient::setPixmap):
              * khtml/rendering/InlineTextBox.cpp:
              (khtml::InlineTextBox::selectionRect):
              (khtml::InlineTextBox::nodeAtPoint):
              * khtml/rendering/InlineTextBox.h:
              * khtml/rendering/RenderText.cpp:
              (khtml::RenderText::absoluteRects):
              (khtml::RenderText::caretRect):
              (khtml::RenderText::getAbsoluteRepaintRect):
              (khtml::RenderText::selectionRect):
              * khtml/rendering/RenderText.h:
              * khtml/rendering/bidi.cpp:
              (khtml::RenderBlock::layoutInlineChildren):
              * khtml/rendering/font.cpp:
              (khtml::Font::selectionRectForText):
              * khtml/rendering/font.h:
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::overflowRect):
              (khtml::RenderBlock::layoutBlock):
              (khtml::RenderBlock::getAbsoluteRepaintRectIncludingFloats):
              (khtml::RenderBlock::paint):
              (khtml::RenderBlock::fillHorizontalSelectionGap):
              (khtml::RenderBlock::fillVerticalSelectionGap):
              (khtml::RenderBlock::fillLeftSelectionGap):
              (khtml::RenderBlock::fillRightSelectionGap):
              (khtml::RenderBlock::floatRect):
              (khtml::RenderBlock::isPointInScrollbar):
              (khtml::RenderBlock::nodeAtPoint):
              * khtml/rendering/render_block.h:
              (khtml::RenderBlock::selectionRect):
              * khtml/rendering/render_box.cpp:
              (RenderBox::nodeAtPoint):
              (RenderBox::paintBoxDecorations):
              (RenderBox::paintBackgroundExtended):
              (RenderBox::getOverflowClipRect):
              (RenderBox::getClipRect):
              (RenderBox::getAbsoluteRepaintRect):
              (RenderBox::computeAbsoluteRepaintRect):
              (RenderBox::caretRect):
              * khtml/rendering/render_box.h:
              (khtml::RenderBox::borderBox):
              * khtml/rendering/render_br.cpp:
              (khtml::RenderBR::caretRect):
              * khtml/rendering/render_br.h:
              (khtml::RenderBR::selectionRect):
              * khtml/rendering/render_button.cpp:
              (khtml::RenderButton::paintObject):
              * khtml/rendering/render_canvas.cpp:
              (RenderCanvas::repaintViewRectangle):
              (RenderCanvas::getAbsoluteRepaintRect):
              (RenderCanvas::computeAbsoluteRepaintRect):
              (RenderCanvas::absoluteRects):
              (RenderCanvas::selectionRect):
              (RenderCanvas::viewRect):
              * khtml/rendering/render_canvas.h:
              (khtml::RenderCanvas::printRect):
              (khtml::RenderCanvas::setPrintRect):
              * khtml/rendering/render_canvasimage.cpp:
              (RenderCanvasImage::paint):
              (RenderCanvasImage::layout):
              * khtml/rendering/render_flexbox.cpp:
              (khtml::RenderFlexibleBox::layoutBlock):
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::getAbsoluteRepaintRect):
              (RenderFlow::caretRect):
              (RenderFlow::paintOutlines):
              (RenderFlow::paintOutlineForLine):
              * khtml/rendering/render_flow.h:
              * khtml/rendering/render_frames.cpp:
              (RenderFrameSet::userResize):
              (RenderPart::updateWidgetPosition):
              * khtml/rendering/render_image.cpp:
              (RenderImage::setImage):
              (RenderImage::setPixmap):
              (RenderImage::paint):
              (RenderImage::layout):
              * khtml/rendering/render_image.h:
              * khtml/rendering/render_inline.cpp:
              (RenderInline::absoluteRects):
              * khtml/rendering/render_inline.h:
              * khtml/rendering/render_layer.cpp:
              (khtml::RenderLayer::updateLayerPositions):
              (khtml::RenderLayer::scrollRectToVisible):
              (khtml::RenderLayer::getRectToExpose):
              (khtml::RenderLayer::positionScrollbars):
              (khtml::RenderLayer::updateScrollInfoAfterLayout):
              (khtml::RenderLayer::paintScrollbars):
              (khtml::RenderLayer::paint):
              (khtml::setClip):
              (khtml::restoreClip):
              (khtml::RenderLayer::paintLayer):
              (khtml::RenderLayer::hitTest):
              (khtml::RenderLayer::hitTestLayer):
              (khtml::RenderLayer::calculateClipRects):
              (khtml::RenderLayer::calculateRects):
              (khtml::mustExamineRenderer):
              (khtml::RenderLayer::intersectsDamageRect):
              (khtml::RenderLayer::containsPoint):
              * khtml/rendering/render_layer.h:
              (khtml::ClipRects::m_refCnt):
              (khtml::ClipRects::overflowClipRect):
              (khtml::ClipRects::fixedClipRect):
              (khtml::ClipRects::posClipRect):
              (khtml::RenderLayer::repaintRect):
              * khtml/rendering/render_line.cpp:
              (khtml::InlineBox::canAccommodateEllipsis):
              (khtml::InlineFlowBox::nodeAtPoint):
              (khtml::InlineFlowBox::paintBackground):
              (khtml::InlineFlowBox::paintBackgroundAndBorder):
              (khtml::EllipsisBox::nodeAtPoint):
              * khtml/rendering/render_list.cpp:
              (RenderListItem::getAbsoluteRepaintRect):
              (RenderListMarker::setPixmap):
              * khtml/rendering/render_list.h:
              * khtml/rendering/render_object.cpp:
              (RenderObject::paintBorderImage):
              (RenderObject::paintBorder):
              (RenderObject::absoluteRects):
              (RenderObject::absoluteBoundingBoxRect):
              (RenderObject::addAbsoluteRectForLayer):
              (RenderObject::paintingRootRect):
              (RenderObject::repaintRectangle):
              (RenderObject::repaintAfterLayoutIfNeeded):
              (RenderObject::getAbsoluteRepaintRectWithOutline):
              (RenderObject::getAbsoluteRepaintRect):
              (RenderObject::getAbsoluteRepaintRectIncludingFloats):
              (RenderObject::computeAbsoluteRepaintRect):
              (RenderObject::viewRect):
              (RenderObject::caretRect):
              (RenderObject::addDashboardRegions):
              (RenderObject::setPixmap):
              * khtml/rendering/render_object.h:
              (khtml::RenderObject::getOverflowClipRect):
              (khtml::RenderObject::getClipRect):
              (khtml::RenderObject::relativeBBox):
              (khtml::RenderObject::PaintInfo::PaintInfo):
              (khtml::RenderObject::RepaintInfo::m_repaintRect):
              (khtml::RenderObject::borderBox):
              (khtml::RenderObject::overflowRect):
              (khtml::RenderObject::floatRect):
              (khtml::RenderObject::selectionRect):
              (khtml::RenderObject::SelectionInfo::rect):
              * khtml/rendering/render_replaced.cpp:
              (RenderReplaced::selectionRect):
              (RenderWidget::paint):
              (RenderWidget::updateWidgetPosition):
              * khtml/rendering/render_replaced.h:
              * khtml/rendering/render_table.cpp:
              (RenderTable::layout):
              (RenderTableRow::getAbsoluteRepaintRect):
              (RenderTableCell::computeAbsoluteRepaintRect):
              (RenderTableCell::getAbsoluteRepaintRect):
              (RenderTableCell::paintBoxDecorations):
              * khtml/rendering/render_table.h:
              * khtml/rendering/render_theme.cpp:
              (khtml::RenderTheme::paint):
              * khtml/rendering/render_theme.h:
              (khtml::RenderTheme::adjustRepaintRect):
              * khtml/rendering/render_theme_mac.h:
              * khtml/rendering/render_theme_mac.mm:
              (khtml::RenderThemeMac::adjustRepaintRect):
              (khtml::RenderThemeMac::inflateRect):
              (khtml::RenderThemeMac::paintCheckbox):
              (khtml::RenderThemeMac::setCheckboxCellState):
              (khtml::RenderThemeMac::paintRadio):
              (khtml::RenderThemeMac::setRadioCellState):
              (khtml::RenderThemeMac::setButtonCellState):
              (khtml::RenderThemeMac::paintButton):
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::scrollIntoView):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::getRect):
              (DOM::ContainerNodeImpl::getRect):
              * khtml/xml/dom_nodeimpl.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/svg/SVGFilterElementImpl.cpp:
              (SVGFilterElementImpl::canvasResource):
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.cpp:
              (SVGFilterPrimitiveStandardAttributesImpl::setStandardAttributes):
              * ksvg2/svg/SVGLengthImpl.cpp:
              (SVGLengthImpl::value):
              * ksvg2/svg/SVGLocatableImpl.cpp:
              (SVGLocatableImpl::getBBox):
              * ksvg2/svg/SVGMaskElementImpl.cpp:
              (KSVG::SVGMaskElementImpl::drawMaskerContent):
              * ksvg2/svg/SVGPatternElementImpl.cpp:
              (SVGPatternElementImpl::drawPatternContentIntoTile):
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              (SVGSVGElementImpl::checkIntersection):
              (SVGSVGElementImpl::checkEnclosure):
              (SVGSVGElementImpl::createRenderer):
              * kwq/KWQAccObject.mm:
              (boundingBoxRect):
              (-[KWQAccObject position]):
              (-[KWQAccObject size]):
              (-[KWQAccObject doAXBoundsForTextMarkerRange:]):
              * kwq/KWQApplication.h:
              * kwq/KWQApplication.mm:
              (QDesktopWidget::screenGeometry):
              (QDesktopWidget::availableGeometry):
              * kwq/KWQComboBox.h:
              * kwq/KWQComboBox.mm:
              (QComboBox::frameGeometry):
              (QComboBox::setFrameGeometry):
              * kwq/KWQFileButton.h:
              * kwq/KWQFileButton.mm:
              (KWQFileButton::frameGeometry):
              (KWQFileButton::setFrameGeometry):
              * kwq/KWQFontMetrics.h:
              * kwq/KWQFontMetrics.mm:
              (QFontMetrics::selectionRectForText):
              (QFontMetrics::boundingRect):
              * kwq/KWQKWinModule.h:
              * kwq/KWQKWinModule.mm:
              (KWinModule::workArea):
              * kwq/KWQObject.h:
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              (QPainter::xForm):
              (QPainter::drawPixmap):
              (QPainter::fillRect):
              (QPainter::addClip):
              (QPainter::addRoundedRectClip):
              * kwq/KWQPixmap.h:
              * kwq/KWQPixmap.mm:
              (QPixmap::setAnimationRect):
              (QPixmap::rect):
              * kwq/KWQRect.h: Removed.
              * kwq/KWQRect.mm: Removed.
              * kwq/KWQRectF.h: Removed.
              * kwq/KWQRectF.mm: Removed.
              * kwq/KWQRegion.cpp:
              (QRegion::QRegion):
              (QRegion::boundingRect):
              * kwq/KWQRegion.h:
              * kwq/KWQRenderTreeDebug.cpp:
              (operator<<):
              (write):
              (writeLayers):
              (externalRepresentation):
              * kwq/KWQScrollView.h:
              * kwq/KWQScrollView.mm:
              (QScrollView::updateContents):
              * kwq/KWQWMatrix.cpp:
              (QWMatrix::mapRect):
              * kwq/KWQWMatrix.h:
              * kwq/KWQWidget.h:
              * kwq/KWQWidget.mm:
              (QWidget::resize):
              (QWidget::move):
              (QWidget::frameGeometry):
              (QWidget::setFrameGeometry):
              (QWidget::paint):
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::frameGeometry):
              (KWQWindowWidget::setFrameGeometry):
              * page/Frame.cpp:
              (Frame::gotoAnchor):
              (Frame::paintCaret):
              (Frame::paintDragCaret):
              (Frame::selectionRect):
              (Frame::revealSelection):
              (Frame::paint):
              (Frame::adjustPageHeight):
              (Frame::centerSelectionInVisibleArea):
              * page/Frame.h:
              * page/FrameView.cpp:
              (KHTMLView::addRepaintInfo):
              (KHTMLView::scrollTo):
              (KHTMLView::focusNextPrevNode):
              (KHTMLView::repaintRectangle):
              * page/FrameView.h:
              * platform/FloatRect.cpp: Added.
              (WebCore::FloatRect::FloatRect):
              (WebCore::FloatRect::isNull):
              (WebCore::FloatRect::isValid):
              (WebCore::FloatRect::isEmpty):
              (WebCore::FloatRect::right):
              (WebCore::FloatRect::bottom):
              (WebCore::FloatRect::topLeft):
              (WebCore::FloatRect::topRight):
              (WebCore::FloatRect::bottomRight):
              (WebCore::FloatRect::bottomLeft):
              (WebCore::FloatRect::size):
              (WebCore::FloatRect::unite):
              (WebCore::FloatRect::normalize):
              (WebCore::FloatRect::intersects):
              (WebCore::FloatRect::intersect):
              (WebCore::FloatRect::inflate):
              (WebCore::operator==):
              (WebCore::operator!=):
              * platform/FloatRect.h: Added.
              (WebCore::FloatRect::contains):
              (WebCore::FloatRect::operator&):
              (WebCore::enclosingIntRect):
              * platform/IntPointArray.cpp:
              (IntPointArray::IntPointArray):
              (IntPointArray::boundingRect):
              * platform/IntPointArray.h:
              * platform/IntRect.cpp: Added.
              (WebCore::IntRect::IntRect):
              (WebCore::IntRect::isNull):
              (WebCore::IntRect::isValid):
              (WebCore::IntRect::isEmpty):
              (WebCore::IntRect::right):
              (WebCore::IntRect::bottom):
              (WebCore::IntRect::topLeft):
              (WebCore::IntRect::topRight):
              (WebCore::IntRect::bottomRight):
              (WebCore::IntRect::bottomLeft):
              (WebCore::IntRect::size):
              (WebCore::IntRect::unite):
              (WebCore::IntRect::normalize):
              (WebCore::IntRect::intersects):
              (WebCore::IntRect::intersect):
              (WebCore::IntRect::inflate):
              (WebCore::operator==):
              (WebCore::operator!=):
              * platform/IntRect.h: Added.
              (WebCore::IntRect::contains):
              (WebCore::IntRect::operator&):
              * platform/mac/FloatRect.mm: Added.
              (WebCore::FloatRect::FloatRect):
              (WebCore::FloatRect::operator NSRect):
              (WebCore::FloatRect::operator CGRect):
              * platform/mac/IntRect.mm: Added.
              (WebCore::IntRect::IntRect):
              (WebCore::IntRect::operator NSRect):
              (WebCore::IntRect::operator CGRect):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      673184e2
  17. 13 Jan, 2006 2 commits
    • hyatt's avatar
      Convert QPoint and QPointArray to IntPoint and IntPointArray. · 85fa3d50
      hyatt authored
              Factor out the Objective-C-specific logic into a .mm file
              for IntPoint.
              
              * ForwardingHeaders/qpoint.h: Removed.
              * ForwardingHeaders/qpointarray.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/KWQKHTMLView.cpp:
              (KHTMLView::viewportToGlobal):
              * bridge/mac/KWQKPartsBrowserExtension.h:
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (MacFrame::khtmlMouseMoveEvent):
              (MacFrame::dragSourceMovedTo):
              (MacFrame::dragSourceEndedAt):
              (MacFrame::dispatchDragSrcEvent):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge elementAtPoint:]):
              (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
              (-[WebCoreFrameBridge dragExitedWithDraggingInfo:]):
              (-[WebCoreFrameBridge concludeDragForDraggingInfo:]):
              (-[WebCoreFrameBridge dragSourceMovedTo:]):
              (-[WebCoreFrameBridge dragSourceEndedAt:operation:]):
              * kcanvas/KCanvasItem.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              (operator<<):
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::ClipboardProtoFunc::callAsFunction):
              * khtml/ecma/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction):
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::layout):
              (khtml::SelectionController::caretRect):
              * khtml/editing/SelectionController.h:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              (DOM::HTMLAreaElementImpl::mapMouseEvent):
              (DOM::HTMLAreaElementImpl::getRegion):
              * khtml/rendering/render_image.cpp:
              (RenderImage::paint):
              * khtml/rendering/render_list.cpp:
              (RenderListMarker::paint):
              * khtml/rendering/render_object.cpp:
              (RenderObject::drawBorder):
              * khtml/xml/dom2_eventsimpl.h:
              * ksvg2/svg/SVGPointImpl.cpp:
              (SVGPointImpl::SVGPointImpl):
              * ksvg2/svg/SVGPointImpl.h:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              (SVGSVGElementImpl::createSVGPoint):
              * ksvg2/svg/SVGSVGElementImpl.h:
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              (KWQClipboard::dragLocation):
              (KWQClipboard::setDragImage):
              (KWQClipboard::setDragImageElement):
              * kwq/KWQCursor.h:
              * kwq/KWQEvent.h:
              (QMouseEvent::pos):
              (QWheelEvent::QWheelEvent):
              (QWheelEvent::pos):
              (QWheelEvent::globalPos):
              * kwq/KWQEvent.mm:
              (positionForEvent):
              (globalPositionForEvent):
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              (QPainter::drawConvexPolygon):
              (QPainter::drawPixmap):
              * kwq/KWQPixmap.mm:
              (QPixmap::rect):
              * kwq/KWQPoint.mm: Removed.
              * kwq/KWQPointArray.cpp: Removed.
              * kwq/KWQPointArray.h: Removed.
              * kwq/KWQPointF.h:
              * kwq/KWQPointF.mm:
              (yCoord):
              * kwq/KWQRect.h:
              (QRect::moveTopLeft):
              (QRect::contains):
              * kwq/KWQRect.mm:
              (QRect::QRect):
              (QRect::topLeft):
              (QRect::topRight):
              (QRect::bottomRight):
              (QRect::bottomLeft):
              * kwq/KWQRegion.cpp:
              (QRegion::QRegion):
              (QRegion::contains):
              * kwq/KWQRegion.h:
              * kwq/KWQScrollView.h:
              * kwq/KWQScrollView.mm:
              (QScrollView::contentsToViewport):
              * kwq/KWQWidget.h:
              * kwq/KWQWidget.mm:
              (QWidget::pos):
              (QWidget::move):
              (QWidget::mapFromGlobal):
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::mapFromGlobal):
              (KWQWindowWidget::viewportToGlobal):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameView.cpp:
              (KHTMLView::dispatchDragEvent):
              (KHTMLView::updateDragAndDrop):
              (KHTMLView::cancelDragAndDrop):
              (KHTMLView::performDragAndDrop):
              * page/FrameView.h:
              * platform/IntPoint.cpp: Added.
              (WebCore::IntPoint::IntPoint):
              (WebCore::operator+):
              (WebCore::operator-):
              (WebCore::operator*):
              * platform/IntPoint.h: Added.
              (WebCore::IntPoint::x):
              (WebCore::IntPoint::y):
              (WebCore::IntPoint::setX):
              (WebCore::IntPoint::setY):
              (WebCore::IntPoint::isNull):
              (WebCore::IntPoint::operator -=):
              * platform/IntPointArray.cpp: Added.
              (IntPointArray::IntPointArray):
              (IntPointArray::copy):
              (IntPointArray::boundingRect):
              (IntPointArray::point):
              (IntPointArray::setPoint):
              (IntPointArray::setPoints):
              * platform/IntPointArray.h: Added.
              (WebCore::IntPointArray::IntPointArray):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85fa3d50
    • darin's avatar
      - Replaced tabs with spaces in source files that had less than 10 lines with tabs. · d7d82ce1
      darin authored
              - Set allow-tabs Subversion property in source files that have more than 10 lines with tabs.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7d82ce1
  18. 11 Jan, 2006 1 commit
    • mjs's avatar
      Reviewed by Anders. · d4145d12
      mjs authored
              - renamed KHTMLPartPrivate to FramePrivate and KHTMLView to FrameView
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6490
      
              (also corresponding header renames, remove headers where not
              needed, and a few substantive changes to allow more header removal)
      
              * khtml/xml/dom_docimpl.h: moved m_selectedStylesheetSet here from
              KHTMLPartPrivate, since this was the only class using it.
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::processHttpEquiv): ditto
              (DocumentImpl::selectedStylesheetSet): ditto
              (DocumentImpl::setSelectedStylesheetSet): ditto
              (DocumentImpl::recalcStyleSelector): ditto
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMDocument::getValueProperty): Use new isCompleted method
              on Frame instead of accessing private field directly.
              (KJS::getDOMDocumentNode): remove gratuitous use of view()
              
              Just the renames:
              
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/KWQKHTMLView.cpp:
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              * bridge/mac/WebCoreBridge.mm:
              * khtml/css/cssstyleselector.cpp:
              * khtml/ecma/kjs_html.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::defaultEventHandler):
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/render_applet.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/KWQAccObject.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQWidget.mm:
              * page/Frame.cpp:
              (Frame::init):
              (Frame::submitForm):
              (Frame::isComplete):
              * page/Frame.h:
              * page/FramePrivate.h: Added.
              (FramePrivate::FramePrivate):
              (FramePrivate::~FramePrivate):
              * page/FrameView.cpp: Added.
              * page/FrameView.h: Added.
              * page/khtmlpart_p.h: Removed.
              * page/khtmlview.cpp: Removed.
              * page/khtmlview.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4145d12
  19. 10 Jan, 2006 1 commit
    • mjs's avatar
      Reviewed by Darin. · 5477f33b
      mjs authored
              - moved files related to the Frame class and the forthcoming Page class
              to WebCore/page
              
              - moved files related to the MacFrame class and other bridging-related classes
              to WebCore/bridge/mac
      
              * ForwardingHeaders/ksvg2/KSVGPart.h:
              * ForwardingHeaders/ksvg2/KSVGView.h:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge: Added.
              * bridge/mac: Added.
              * bridge/mac/KWQKHTMLPartBrowserExtension.h: Added.
              * bridge/mac/KWQKHTMLPartBrowserExtension.mm: Added.
              * bridge/mac/KWQKHTMLView.cpp: Added.
              * bridge/mac/KWQKPartsBrowserExtension.h: Added.
              * bridge/mac/KWQKPartsBrowserInterface.mm: Added.
              * bridge/mac/MacFrame.h: Added.
              * bridge/mac/MacFrame.mm: Added.
              * bridge/mac/WebCoreBridge.h: Added.
              * bridge/mac/WebCoreBridge.mm: Added.
              * khtml/Frame.cpp: Removed.
              * khtml/Frame.h: Removed.
              * khtml/khtmlpart_p.h: Removed.
              * khtml/khtmlview.cpp: Removed.
              * khtml/khtmlview.h: Removed.
              * kwq/KWQKHTMLPartBrowserExtension.h: Removed.
              * kwq/KWQKHTMLPartBrowserExtension.mm: Removed.
              * kwq/KWQKHTMLView.cpp: Removed.
              * kwq/KWQKPartsBrowserExtension.h: Removed.
              * kwq/KWQKPartsBrowserInterface.mm: Removed.
              * kwq/MacFrame.h: Removed.
              * kwq/MacFrame.mm: Removed.
              * kwq/WebCoreBridge.h: Removed.
              * kwq/WebCoreBridge.mm: Removed.
              * page: Added.
              * page/Frame.cpp: Added.
              * page/Frame.h: Added.
              * page/khtmlpart_p.h: Added.
              * page/khtmlview.cpp: Added.
              * page/khtmlview.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5477f33b
  20. 09 Jan, 2006 1 commit
    • mjs's avatar
      Reviewed by Darin. · 810e9764
      mjs authored
              - renamed KHTMLPart to Frame (and KWQKHTMLPart to MacFrame for now)
      
              * ForwardingHeaders/ksvg2/KSVGPart.h:
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/Frame.cpp: Added.
              (khtml::PartStyleSheetLoader::PartStyleSheetLoader):
              (khtml::PartStyleSheetLoader::setStyleSheet):
              (Frame::Frame):
              (Frame::init):
              (Frame::~Frame):
              (Frame::restoreURL):
              (Frame::didOpenURL):
              (Frame::didExplicitOpen):
              (Frame::stopLoading):
              (Frame::closeURL):
              (Frame::browserExtension):
              (Frame::view):
              (Frame::setJScriptEnabled):
              (Frame::jScriptEnabled):
              (Frame::setMetaRefreshEnabled):
              (Frame::metaRefreshEnabled):
              (Frame::jScript):
              (Frame::replaceContentsWithScriptResult):
              (Frame::executeScript):
              (Frame::scheduleScript):
              (Frame::executeScheduledScript):
              (Frame::setJavaEnabled):
              (Frame::javaEnabled):
              (Frame::setPluginsEnabled):
              (Frame::pluginsEnabled):
              (Frame::slotDebugDOMTree):
              (Frame::slotDebugRenderTree):
              (Frame::setAutoloadImages):
              (Frame::autoloadImages):
              (Frame::clear):
              (Frame::openFile):
              (Frame::xmlDocImpl):
              (Frame::replaceDocImpl):
              (Frame::receivedFirstData):
              (Frame::slotFinished):
              (Frame::childBegin):
              (Frame::begin):
              (Frame::write):
              (Frame::end):
              (Frame::endIfNotLoading):
              (Frame::stop):
              (Frame::stopAnimations):
              (Frame::gotoAnchor):
              (Frame::slotFinishedParsing):
              (Frame::slotLoaderRequestStarted):
              (Frame::slotLoaderRequestDone):
              (Frame::checkCompleted):
              (Frame::checkEmitLoadEvent):
              (Frame::settings):
              (Frame::baseURL):
              (Frame::baseTarget):
              (Frame::completeURL):
              (Frame::scheduleRedirection):
              (Frame::scheduleLocationChange):
              (Frame::isScheduledLocationChangePending):
              (Frame::scheduleHistoryNavigation):
              (Frame::cancelRedirection):
              (Frame::changeLocation):
              (Frame::slotRedirect):
              (Frame::slotRedirection):
              (Frame::encoding):
              (Frame::setUserStyleSheet):
              (Frame::setStandardFont):
              (Frame::setFixedFont):
              (Frame::urlCursor):
              (Frame::onlyLocalReferences):
              (Frame::setOnlyLocalReferences):
              (Frame::selectedText):
              (Frame::hasSelection):
              (Frame::selection):
              (Frame::selectionGranularity):
              (Frame::setSelectionGranularity):
              (Frame::dragCaret):
              (Frame::mark):
              (Frame::setMark):
              (Frame::setSelection):
              (Frame::setDragCaret):
              (Frame::clearSelection):
              (Frame::invalidateSelection):
              (Frame::setCaretVisible):
              (Frame::clearCaretRectIfNeeded):
              (isFrameElement):
              (Frame::setFocusNodeIfNeeded):
              (Frame::selectionLayoutChanged):
              (Frame::setXPosForVerticalArrowNavigation):
              (Frame::xPosForVerticalArrowNavigation):
              (Frame::timerEvent):
              (Frame::paintCaret):
              (Frame::paintDragCaret):
              (Frame::urlSelected):
              (Frame::requestFrame):
              (Frame::requestFrameName):
              (Frame::requestObject):
              (Frame::processObjectRequest):
              (Frame::submitFormAgain):
              (Frame::submitForm):
              (Frame::slotParentCompleted):
              (Frame::slotChildStarted):
              (Frame::slotChildCompleted):
              (Frame::childFrame):
              (Frame::findFrame):
              (Frame::frameExists):
              (Frame::parentFrame):
              (Frame::zoomFactor):
              (Frame::slotIncZoom):
              (Frame::slotDecZoom):
              (Frame::setZoomFactor):
              (Frame::setJSStatusBarText):
              (Frame::setJSDefaultStatusBarText):
              (Frame::jsStatusBarText):
              (Frame::jsDefaultStatusBarText):
              (Frame::referrer):
              (Frame::lastModified):
              (Frame::reparseConfiguration):
              (Frame::frameNames):
              (Frame::frames):
              (Frame::childFrameNamed):
              (Frame::setDNDEnabled):
              (Frame::dndEnabled):
              (Frame::shouldDragAutoNode):
              (Frame::customEvent):
              (Frame::isPointInsideSelection):
              (Frame::selectClosestWordFromMouseEvent):
              (Frame::handleMousePressEventDoubleClick):
              (Frame::handleMousePressEventTripleClick):
              (Frame::handleMousePressEventSingleClick):
              (Frame::khtmlMousePressEvent):
              (Frame::khtmlMouseDoubleClickEvent):
              (Frame::handleMouseMoveEventSelection):
              (Frame::khtmlMouseMoveEvent):
              (Frame::khtmlMouseReleaseEvent):
              (Frame::khtmlDrawContentsEvent):
              (Frame::startAutoScroll):
              (Frame::stopAutoScroll):
              (Frame::selectAll):
              (Frame::selectContentsOfNode):
              (Frame::shouldChangeSelection):
              (Frame::shouldBeginEditing):
              (Frame::shouldEndEditing):
              (Frame::isContentEditable):
              (Frame::lastEditCommand):
              (Frame::appliedEditing):
              (Frame::unappliedEditing):
              (Frame::reappliedEditing):
              (Frame::typingStyle):
              (Frame::setTypingStyle):
              (Frame::clearTypingStyle):
              (Frame::slotPartRemoved):
              (Frame::createHTMLEventListener):
              (Frame::opener):
              (Frame::setOpener):
              (Frame::openedByJS):
              (Frame::setOpenedByJS):
              (Frame::preloadStyleSheet):
              (Frame::preloadScript):
              (Frame::restored):
              (Frame::incrementFrameCount):
              (Frame::decrementFrameCount):
              (Frame::topLevelFrameCount):
              (Frame::tabsToLinks):
              (Frame::tabsToAllControls):
              (Frame::copyToPasteboard):
              (Frame::cutToPasteboard):
              (Frame::pasteFromPasteboard):
              (Frame::pasteAndMatchStyle):
              (Frame::transpose):
              (Frame::redo):
              (Frame::undo):
              (Frame::computeAndSetTypingStyle):
              (Frame::applyStyle):
              (Frame::applyParagraphStyle):
              (updateState):
              (Frame::selectionHasStyle):
              (Frame::selectionStartHasStyle):
              (Frame::selectionStartStylePropertyValue):
              (Frame::selectionComputedStyle):
              (Frame::applyEditingStyleToBodyElement):
              (Frame::removeEditingStyleFromBodyElement):
              (Frame::applyEditingStyleToElement):
              (Frame::removeEditingStyleFromElement):
              (Frame::isCharacterSmartReplaceExempt):
              (Frame::connectChild):
              (Frame::disconnectChild):
              (Frame::keepAlive):
              (Frame::slotEndLifeSupport):
              (Frame::selectFrameElementInParentIfFullySelected):
              (Frame::handleFallbackContent):
              * khtml/Frame.h: Added.
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::CSSStyleSelector):
              (khtml::CSSStyleSelector::initForStyleResolve):
              (khtml::CSSStyleSelector::checkOneSelector):
              (khtml::CSSStyleSelector::applyProperty):
              (khtml::CSSStyleSelector::getComputedSizeFromSpecifiedSize):
              * khtml/css/cssstyleselector.h:
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::ScriptInterpreter):
              (KJS::ScriptInterpreter::~ScriptInterpreter):
              * khtml/ecma/kjs_binding.h:
              (KJS::ScriptInterpreter::frame):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMDocument::getValueProperty):
              (KJS::getDOMDocumentNode):
              (KJS::checkNodeSecurity):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::JSLazyEventListener::parseCode):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::HTMLDocFunction::callAsFunction):
              (KJS::HTMLDocument::namedItemGetter):
              (KJS::HTMLDocument::getValueProperty):
              (KJS::KJS::HTMLDocument::putValueProperty):
              (KJS::HTMLElement::framesetNameGetter):
              (KJS::HTMLElement::frameWindowPropertyGetter):
              (KJS::HTMLElement::getOwnPropertySlot):
              (KJS::KJS::HTMLElement::implementsCall):
              (KJS::Image::notifyFinished):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Navigator::Navigator):
              (KJS::Navigator::getValueProperty):
              (KJS::NavigatorFunc::callAsFunction):
              * khtml/ecma/kjs_navigator.h:
              (KJS::Navigator::frame):
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::KJSProxyImpl):
              (KJSProxyImpl::evaluate):
              (KJSProxyImpl::clear):
              (KJSProxyImpl::createHTMLEventHandler):
              (KJSProxyImpl::interpreter):
              (KJSProxyImpl::initScript):
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_window.cpp:
              (KJS::History::History):
              (KJS::FrameArray::FrameArray):
              (KJS::Screen::getValueProperty):
              (KJS::Window::Window):
              (KJS::Window::interpreter):
              (KJS::Window::retrieveWindow):
              (KJS::Window::retrieve):
              (KJS::Window::location):
              (KJS::Window::selection):
              (KJS::Window::locationbar):
              (KJS::Window::menubar):
              (KJS::Window::personalbar):
              (KJS::Window::statusbar):
              (KJS::Window::toolbar):
              (KJS::Window::scrollbars):
              (KJS::allowPopUp):
              (KJS::createNewWindow):
              (KJS::canShowModalDialog):
              (KJS::canShowModalDialogNow):
              (KJS::showModalDialog):
              (KJS::Window::getValueProperty):
              (KJS::Window::childFrameGetter):
              (KJS::Window::namedFrameGetter):
              (KJS::Window::indexGetter):
              (KJS::Window::namedItemGetter):
              (KJS::Window::getOwnPropertySlot):
              (KJS::Window::put):
              (KJS::Window::toBoolean):
              (KJS::Window::scheduleClose):
              (KJS::Window::isSafeScript):
              (KJS::Window::setListener):
              (KJS::Window::getListener):
              (KJS::Window::setCurrentEvent):
              (KJS::WindowFunc::callAsFunction):
              (KJS::Window::updateLayout):
              (KJS::ScheduledAction::execute):
              (KJS::WindowQObject::WindowQObject):
              (KJS::FrameArray::getValueProperty):
              (KJS::FrameArray::indexGetter):
              (KJS::FrameArray::nameGetter):
              (KJS::FrameArray::getOwnPropertySlot):
              (KJS::Location::Location):
              (KJS::Location::getValueProperty):
              (KJS::Location::getOwnPropertySlot):
              (KJS::Location::put):
              (KJS::Location::toString):
              (KJS::LocationFunc::callAsFunction):
              (KJS::Selection::Selection):
              (KJS::Selection::getValueProperty):
              (KJS::Selection::getOwnPropertySlot):
              (KJS::Selection::toString):
              (KJS::SelectionFunc::callAsFunction):
              (KJS::BarInfo::BarInfo):
              (KJS::BarInfo::getValueProperty):
              (KJS::BarInfo::getOwnPropertySlot):
              (KJS::History::getValueProperty):
              (KJS::HistoryFunc::callAsFunction):
              * khtml/ecma/kjs_window.h:
              (KJS::Window::frame):
              (KJS::Location::frame):
              (KJS::Selection::frame):
              (KJS::BarInfo::frame):
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequest::changeState):
              (KJS::XMLHttpRequestProtoFunc::callAsFunction):
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::modify):
              (khtml::SelectionController::xPosForVerticalArrowNavigation):
              * khtml/editing/SelectionController.h:
              (khtml::SelectionController::frame):
              * khtml/editing/delete_selection_command.cpp:
              (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
              * khtml/editing/edit_command.cpp:
              (khtml::EditCommand::EditCommand):
              (khtml::EditCommand::apply):
              (khtml::EditCommand::unapply):
              (khtml::EditCommand::reapply):
              (khtml::EditCommand::styleAtPosition):
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              (khtml::InsertLineBreakCommand::doApply):
              * khtml/editing/insert_text_command.cpp:
              (khtml::InsertTextCommand::input):
              * khtml/editing/jsediting.cpp:
              (DOM::JSEditor::execCommand):
              (DOM::JSEditor::queryCommandEnabled):
              (DOM::JSEditor::queryCommandIndeterm):
              (DOM::JSEditor::queryCommandState):
              (DOM::JSEditor::queryCommandValue):
              * khtml/editing/jsediting.h:
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplaceSelectionCommand::doApply):
              * khtml/editing/text_granularity.h:
              * khtml/editing/typing_command.cpp:
              (khtml::TypingCommand::deleteKeyPressed):
              (khtml::TypingCommand::forwardDeleteKeyPressed):
              (khtml::TypingCommand::insertText):
              (khtml::TypingCommand::insertLineBreak):
              (khtml::TypingCommand::insertParagraphSeparatorInQuotedContent):
              (khtml::TypingCommand::insertParagraphSeparator):
              (khtml::TypingCommand::markMisspellingsAfterTyping):
              (khtml::TypingCommand::typingAddedToOpenCommand):
              (khtml::TypingCommand::insertTextRunWithoutNewlines):
              * khtml/html/html_baseimpl.cpp:
              (HTMLFrameElementImpl::isURLAllowed):
              (HTMLFrameElementImpl::openURL):
              (HTMLFrameElementImpl::attach):
              (HTMLFrameElementImpl::close):
              (HTMLFrameElementImpl::contentPart):
              (HTMLFrameElementImpl::contentDocument):
              (HTMLIFrameElementImpl::attach):
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              (DOM::HTMLDocumentImpl::lastModified):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::isContentEditable):
              (HTMLElementImpl::setContentEditable):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::formData):
              (DOM::HTMLFormElementImpl::prepareSubmit):
              (DOM::HTMLFormElementImpl::submit):
              (DOM::HTMLFormElementImpl::reset):
              (DOM::HTMLGenericFormElementImpl::isKeyboardFocusable):
              (DOM::HTMLKeygenElementImpl::appendFormData):
              * khtml/html/html_headimpl.cpp:
              (HTMLBaseElementImpl::process):
              (HTMLLinkElementImpl::process):
              (HTMLScriptElementImpl::parseMappedAttribute):
              (HTMLScriptElementImpl::insertedIntoDocument):
              (HTMLScriptElementImpl::evaluateScript):
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::isKeyboardFocusable):
              (DOM::HTMLAnchorElementImpl::defaultEventHandler):
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLAppletElementImpl::createRenderer):
              (DOM::HTMLAppletElementImpl::getAppletInstance):
              (DOM::HTMLEmbedElementImpl::getEmbedInstance):
              (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
              (DOM::HTMLObjectElementImpl::getObjectInstance):
              (DOM::HTMLObjectElementImpl::rendererIsNeeded):
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlparser.cpp:
              (HTMLParser::noscriptCreateErrorCheck):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::scriptHandler):
              (khtml::HTMLTokenizer::scriptExecution):
              (khtml::HTMLTokenizer::parseTag):
              (khtml::HTMLTokenizer::write):
              (khtml::HTMLTokenizer::stopParsing):
              (khtml::HTMLTokenizer::timerEvent):
              (khtml::HTMLTokenizer::processToken):
              * khtml/khtml_part.cpp: Removed.
              * khtml/khtml_part.h: Removed.
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              * khtml/khtmlview.cpp:
              (KHTMLView::KHTMLView):
              (KHTMLView::~KHTMLView):
              (KHTMLView::clearPart):
              (KHTMLView::clear):
              (KHTMLView::resizeEvent):
              (KHTMLView::adjustViewSize):
              (KHTMLView::layout):
              (KHTMLView::updateDashboardRegions):
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::viewportMouseDoubleClickEvent):
              (selectCursor):
              (KHTMLView::viewportMouseMoveEvent):
              (KHTMLView::viewportMouseReleaseEvent):
              (KHTMLView::keyPressEvent):
              (KHTMLView::dispatchDragEvent):
              (KHTMLView::updateDragAndDrop):
              (KHTMLView::focusNextPrevNode):
              (KHTMLView::mediaType):
              (KHTMLView::dispatchMouseEvent):
              (KHTMLView::viewportWheelEvent):
              (KHTMLView::focusInEvent):
              (KHTMLView::focusOutEvent):
              (KHTMLView::timerEvent):
              (KHTMLView::scheduleRelayout):
              (KHTMLView::unscheduleRelayout):
              * khtml/khtmlview.h:
              (KHTMLView::frame):
              * khtml/misc/CachedImageCallback.cpp:
              (khtml::CachedImageCallback::notifyUpdate):
              (khtml::CachedImageCallback::notifyFinished):
              (khtml::CachedImageCallback::clear):
              * khtml/misc/CachedObject.h:
              * khtml/misc/DocLoader.cpp:
              (khtml::DocLoader::DocLoader):
              (khtml::DocLoader::requestImage):
              (khtml::DocLoader::requestStyleSheet):
              (khtml::DocLoader::requestScript):
              (khtml::DocLoader::requestXSLStyleSheet):
              (khtml::DocLoader::requestXBLDocument):
              * khtml/misc/DocLoader.h:
              (khtml::DocLoader::frame):
              * khtml/misc/loader.cpp:
              (khtml::Loader::slotReceivedResponse):
              * khtml/rendering/InlineTextBox.cpp:
              (khtml::InlineTextBox::paint):
              (khtml::InlineTextBox::paintMarkedTextUnderline):
              * khtml/rendering/InlineTextBox.h:
              * khtml/rendering/render_applet.cpp:
              (RenderApplet::createWidgetIfNecessary):
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::paintCaret):
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_form.cpp:
              (RenderFileButton::RenderFileButton):
              * khtml/rendering/render_frames.cpp:
              (isURLAllowed):
              (RenderPartObject::updateWidget):
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_object.cpp:
              (RenderObject::draggableNode):
              * khtml/rendering/render_replaced.cpp:
              (RenderWidget::eventFilter):
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::DocumentImpl):
              (DocumentImpl::updateTitle):
              (DocumentImpl::frame):
              (DocumentImpl::recalcStyle):
              (DocumentImpl::updateSelection):
              (DocumentImpl::open):
              (DocumentImpl::close):
              (DocumentImpl::implicitClose):
              (DocumentImpl::processHttpEquiv):
              (DocumentImpl::selectedStylesheetSet):
              (DocumentImpl::setSelectedStylesheetSet):
              (DocumentImpl::recalcStyleSelector):
              (DocumentImpl::relinquishesEditingFocus):
              (DocumentImpl::acceptsEditingFocus):
              (DocumentImpl::clearSelectionIfNeeded):
              (DocumentImpl::createHTMLEventListener):
              (DocumentImpl::ownerElement):
              (DocumentImpl::referrer):
              (DocumentImpl::parentDocument):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::focus):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::dispatchEvent):
              * khtml/xml/dom_xmlimpl.cpp:
              (DOM::ProcessingInstructionImpl::checkStyleSheet):
              * khtml/xml/xml_tokenizer.cpp:
              (khtml::XMLTokenizer::processingInstruction):
              (khtml::XMLTokenizer::executeScripts):
              (khtml::XMLTokenizer::notifyFinished):
              * khtml/xsl/xslt_processorimpl.cpp:
              (DOM::XSLTProcessorImpl::createDocumentFromSource):
              * ksvg2/svg/SVGAElementImpl.cpp:
              (SVGAElementImpl::defaultEventHandler):
              * ksvg2/svg/SVGImageElementImpl.cpp:
              (SVGImageElementImpl::notifyFinished):
              * kwq/DOM.mm:
              (-[DOMNode KJS::Bindings::]):
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject textUnderElement]):
              (-[KWQAccObject value]):
              (-[KWQAccObject accessibilityPerformAction:]):
              (-[KWQAccObject accessibilityAttributeValue:]):
              (-[KWQAccObject doAXTextMarkerForPosition:]):
              (-[KWQAccObject rendererForView:]):
              (-[KWQAccObject doSetAXSelectedTextMarkerRange:]):
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              (KWQClipboard::KWQClipboard):
              (KWQClipboard::dragNSImage):
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:]):
              (-[KWQPopUpButton becomeFirstResponder]):
              (-[KWQPopUpButton resignFirstResponder]):
              (-[KWQPopUpButton nextKeyView]):
              (-[KWQPopUpButton previousKeyView]):
              * kwq/KWQFileButton.h:
              * kwq/KWQFileButton.mm:
              (KWQFileButton::KWQFileButton):
              (KWQFileButton::focusPolicy):
              (KWQFileButton::focusChanged):
              * kwq/KWQFrame.mm:
              (QFrame::setFrameStyle):
              * kwq/KWQKHTMLFactory.h:
              * kwq/KWQKHTMLPart.cpp: Removed.
              * kwq/KWQKHTMLPart.h: Removed.
              * kwq/KWQKHTMLPart.mm: Removed.
              * kwq/KWQKHTMLPartBrowserExtension.h:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              (KHTMLPartBrowserExtension::KHTMLPartBrowserExtension):
              (KHTMLPartBrowserExtension::openURLRequest):
              (KHTMLPartBrowserExtension::createNewWindow):
              (KHTMLPartBrowserExtension::setIconURL):
              (KHTMLPartBrowserExtension::setTypedIconURL):
              (KHTMLPartBrowserExtension::canRunModal):
              (KHTMLPartBrowserExtension::canRunModalNow):
              (KHTMLPartBrowserExtension::runModal):
              * kwq/KWQKHTMLView.cpp:
              (KHTMLView::topLevelWidget):
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQKJavaAppletWidget.mm:
              (KJavaAppletWidget::KJavaAppletWidget):
              * kwq/KWQKPartsBrowserInterface.h:
              (KParts::BrowserInterface::BrowserInterface):
              * kwq/KWQKPartsBrowserInterface.mm:
              (KParts::BrowserInterface::property):
              (KParts::BrowserInterface::callMethod):
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              (-[KWQListBoxScrollView becomeFirstResponder]):
              (-[KWQTableView keyDown:]):
              (-[KWQTableView keyUp:]):
              (-[KWQTableView becomeFirstResponder]):
              (-[KWQTableView resignFirstResponder]):
              (-[KWQTableView nextKeyView]):
              (-[KWQTableView previousKeyView]):
              * kwq/KWQLoader.mm:
              (KWQServeRequest):
              (KWQServeSynchronousRequest):
              (KWQCheckIfReloading):
              (KWQCheckCacheObjectStatus):
              (KWQCacheObjectExpiresTime):
              * kwq/KWQObject.cpp:
              (QObject::inherits):
              (QObject::isFrame):
              * kwq/KWQObject.h:
              * kwq/KWQPageState.mm:
              (-[KWQPageState dealloc]):
              (-[KWQPageState finalize]):
              * kwq/KWQRegExp.cpp:
              (QRegExp::KWQRegExpPrivate::compile):
              * kwq/KWQRenderTreeDebug.cpp:
              (write):
              (writeSelection):
              * kwq/KWQSlider.mm:
              (-[KWQSlider becomeFirstResponder]):
              (-[KWQSlider resignFirstResponder]):
              (-[KWQSlider nextKeyView]):
              (-[KWQSlider previousKeyView]):
              (-[KWQSlider canBecomeKeyView]):
              (QSlider::focusPolicy):
              * kwq/KWQSlot.mm:
              (KWQSlot::KWQSlot):
              (KWQSlot::call):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView textDidChange:]):
              (-[KWQTextAreaTextView _isResizableByUser]):
              (-[KWQTextAreaTextView becomeFirstResponder]):
              (-[KWQTextAreaTextView nextKeyView]):
              (-[KWQTextAreaTextView previousKeyView]):
              (-[KWQTextAreaTextView _trackResizeFromMouseDown:]):
              (-[KWQTextAreaTextView drawRect:]):
              (-[KWQTextAreaTextView insertTab:]):
              (-[KWQTextAreaTextView insertBacktab:]):
              (-[KWQTextAreaTextView resignFirstResponder]):
              (-[KWQTextAreaTextView shouldDrawInsertionPoint]):
              (-[KWQTextAreaTextView selectedTextAttributes]):
              (-[KWQTextAreaTextView keyDown:]):
              (-[KWQTextAreaTextView keyUp:]):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController controlTextDidBeginEditing:]):
              (-[KWQTextFieldController controlTextDidEndEditing:]):
              (-[KWQTextFieldController controlTextDidChange:]):
              (-[KWQTextFieldController control:textView:doCommandBySelector:]):
              (-[KWQTextFieldController textView:shouldHandleEvent:]):
              (-[KWQTextFieldController setHasFocus:]):
              (-[KWQTextField nextKeyView]):
              (-[KWQTextField previousKeyView]):
              (-[KWQSecureTextField nextKeyView]):
              (-[KWQSecureTextField previousKeyView]):
              (-[KWQSearchField nextKeyView]):
              (-[KWQSearchField previousKeyView]):
              * kwq/KWQTimer.h:
              * kwq/KWQWidget.mm:
              (QWidget::setActiveWindow):
              (QWidget::hasFocus):
              (QWidget::setFocus):
              (QWidget::clearFocus):
              (QWidget::isVisible):
              (QWidget::mapFromGlobal):
              (QWidget::setIsSelected):
              * kwq/MacFrame.cpp: Added.
              (MacFrame::isFrameSet):
              * kwq/MacFrame.h: Added.
              (MacFrame::instances):
              (Mac):
              * kwq/MacFrame.mm: Added.
              (Frame::completed):
              (Frame::openURL):
              (Frame::onURL):
              (Frame::setStatusBarText):
              (Frame::started):
              (redirectionTimerMonitor):
              (MacFrame::MacFrame):
              (MacFrame::~MacFrame):
              (MacFrame::freeClipboard):
              (MacFrame::setSettings):
              (MacFrame::generateFrameName):
              (MacFrame::provisionalLoadStarted):
              (MacFrame::userGestureHint):
              (MacFrame::openURL):
              (MacFrame::openURLRequest):
              (MacFrame::didNotOpenURL):
              (MacFrame::currentForm):
              (MacFrame::searchForLabelsAboveCell):
              (MacFrame::searchForLabelsBeforeElement):
              (MacFrame::matchLabelsAgainstElement):
              (MacFrame::findString):
              (MacFrame::clearRecordedFormValues):
              (MacFrame::recordFormValue):
              (MacFrame::submitForm):
              (MacFrame::setEncoding):
              (MacFrame::addData):
              (Frame::frameDetached):
              (MacFrame::urlSelected):
              (MacFrame::createPart):
              (MacFrame::setView):
              (MacFrame::view):
              (MacFrame::setTitle):
              (MacFrame::setStatusBarText):
              (MacFrame::scheduleClose):
              (MacFrame::unfocusWindow):
              (MacFrame::revealSelection):
              (MacFrame::advanceToNextMisspelling):
              (MacFrame::scrollOverflow):
              (MacFrame::wheelEvent):
              (MacFrame::redirectionTimerStartedOrStopped):
              (MacFrame::paint):
              (MacFrame::adjustPageHeight):
              (MacFrame::renderer):
              (MacFrame::userAgent):
              (MacFrame::mimeTypeForFileName):
              (MacFrame::nextKeyViewInFrame):
              (MacFrame::nextKeyViewInFrameHierarchy):
              (MacFrame::nextKeyView):
              (MacFrame::nextKeyViewForWidget):
              (MacFrame::currentEventIsMouseDownInWidget):
              (MacFrame::currentEventIsKeyboardOptionTab):
              (MacFrame::handleKeyboardOptionTabInView):
              (MacFrame::tabsToLinks):
              (MacFrame::tabsToAllControls):
              (MacFrame::executionContextForDOM):
              (MacFrame::bindingRootObject):
              (MacFrame::windowScriptObject):
              (MacFrame::windowScriptNPObject):
              (MacFrame::partClearedInBegin):
              (MacFrame::pauseTimeouts):
              (MacFrame::resumeTimeouts):
              (MacFrame::canCachePage):
              (MacFrame::saveWindowProperties):
              (MacFrame::saveLocationProperties):
              (MacFrame::restoreWindowProperties):
              (MacFrame::restoreLocationProperties):
              (MacFrame::saveInterpreterBuiltins):
              (MacFrame::restoreInterpreterBuiltins):
              (MacFrame::openURLFromPageCache):
              (MacFrame::frameForWidget):
              (MacFrame::bridgeForWidget):
              (MacFrame::frameForNode):
              (MacFrame::documentViewForNode):
              (MacFrame::nodeForWidget):
              (MacFrame::setDocumentFocus):
              (MacFrame::clearDocumentFocus):
              (MacFrame::saveDocumentState):
              (MacFrame::restoreDocumentState):
              (MacFrame::mutableInstances):
              (MacFrame::updatePolicyBaseURL):
              (MacFrame::setPolicyBaseURL):
              (MacFrame::requestedURLString):
              (MacFrame::incomingReferrer):
              (MacFrame::forceLayout):
              (MacFrame::forceLayoutWithPageWidthRange):
              (MacFrame::sendResizeEvent):
              (MacFrame::sendScrollEvent):
              (MacFrame::runJavaScriptAlert):
              (MacFrame::runJavaScriptConfirm):
              (MacFrame::runJavaScriptPrompt):
              (MacFrame::locationbarVisible):
              (MacFrame::menubarVisible):
              (MacFrame::personalbarVisible):
              (MacFrame::scrollbarsVisible):
              (MacFrame::statusbarVisible):
              (MacFrame::toolbarVisible):
              (MacFrame::addMessageToConsole):
              (MacFrame::createEmptyDocument):
              (MacFrame::addMetaData):
              (MacFrame::keyEvent):
              (MacFrame::scrollToAnchor):
              (MacFrame::closeURL):
              (MacFrame::canMouseDownStartSelect):
              (MacFrame::khtmlMousePressEvent):
              (MacFrame::khtmlMouseDoubleClickEvent):
              (MacFrame::passWidgetMouseDownEventToWidget):
              (MacFrame::lastEventIsMouseUp):
              (MacFrame::mouseDownViewIfStillGood):
              (MacFrame::dragHysteresisExceeded):
              (MacFrame::dispatchDragSrcEvent):
              (MacFrame::eventMayStartDrag):
              (MacFrame::khtmlMouseMoveEvent):
              (MacFrame::dragSourceMovedTo):
              (MacFrame::dragSourceEndedAt):
              (MacFrame::dispatchCPPEvent):
              (MacFrame::mayCut):
              (MacFrame::mayCopy):
              (MacFrame::mayPaste):
              (MacFrame::tryCut):
              (MacFrame::tryCopy):
              (MacFrame::tryPaste):
              (MacFrame::khtmlMouseReleaseEvent):
              (MacFrame::clearTimers):
              (MacFrame::passSubframeEventToSubframe):
              (MacFrame::passWheelEventToChildWidget):
              (MacFrame::mouseDown):
              (MacFrame::mouseDragged):
              (MacFrame::mouseUp):
              (MacFrame::sendFakeEventsAfterWidgetTracking):
              (MacFrame::mouseMoved):
              (MacFrame::shouldDragAutoNode):
              (MacFrame::sendContextMenuEvent):
              (MacFrame::fileWrapperForElement):
              (MacFrame::attributedString):
              (MacFrame::selectionRect):
              (MacFrame::visibleSelectionRect):
              (MacFrame::centerSelectionInVisibleArea):
              (MacFrame::imageFromRect):
              (MacFrame::selectionImage):
              (MacFrame::snapshotDragImage):
              (MacFrame::styleForSelectionStart):
              (MacFrame::fontForSelection):
              (MacFrame::fontAttributesForSelectionStart):
              (MacFrame::baseWritingDirectionForSelectionStart):
              (MacFrame::topLevelWidget):
              (MacFrame::tokenizerProcessedData):
              (MacFrame::selectionStartOffset):
              (MacFrame::selectionEndOffset):
              (MacFrame::selectionStart):
              (MacFrame::selectionEnd):
              (MacFrame::setBridge):
              (MacFrame::overrideMediaType):
              (MacFrame::setMediaType):
              (MacFrame::setSelectionFromNone):
              (MacFrame::setDisplaysWithFocusAttributes):
              (MacFrame::displaysWithFocusAttributes):
              (MacFrame::setWindowHasFocus):
              (MacFrame::backslashAsCurrencySymbol):
              (MacFrame::bodyBackgroundColor):
              (MacFrame::keyboardUIMode):
              (MacFrame::setName):
              (MacFrame::didTellBridgeAboutLoad):
              (MacFrame::haveToldBridgeAboutLoad):
              (MacFrame::clear):
              (Frame::print):
              (MacFrame::getAppletInstanceForWidget):
              (MacFrame::getEmbedInstanceForWidget):
              (MacFrame::getObjectInstanceForWidget):
              (MacFrame::addPluginRootObject):
              (MacFrame::cleanupPluginRootObjects):
              (MacFrame::registerCommandForUndoOrRedo):
              (MacFrame::registerCommandForUndo):
              (MacFrame::registerCommandForRedo):
              (MacFrame::clearUndoRedoOperations):
              (MacFrame::issueUndoCommand):
              (MacFrame::issueRedoCommand):
              (MacFrame::issueCutCommand):
              (MacFrame::issueCopyCommand):
              (MacFrame::issuePasteCommand):
              (MacFrame::issuePasteAndMatchStyleCommand):
              (MacFrame::issueTransposeCommand):
              (Frame::canUndo):
              (Frame::canRedo):
              (Frame::canPaste):
              (MacFrame::markMisspellingsInAdjacentWords):
              (MacFrame::markMisspellings):
              (MacFrame::respondToChangedSelection):
              (MacFrame::shouldChangeSelection):
              (MacFrame::respondToChangedContents):
              (MacFrame::isContentEditable):
              (MacFrame::shouldBeginEditing):
              (MacFrame::shouldEndEditing):
              (convertAttributesToUnderlines):
              (MacFrame::setMarkedTextRange):
              (MacFrame::markedTextUsesUnderlines):
              (MacFrame::markedTextUnderlines):
              (MacFrame::canGoBackOrForward):
              (MacFrame::prepareForUserAction):
              (MacFrame::didFirstLayout):
              (MacFrame::dashboardRegionsDictionary):
              (MacFrame::dashboardRegionsChanged):
              (MacFrame::isCharacterSmartReplaceExempt):
              (MacFrame::isFrame):
              (MacFrame::mousePressNode):
              (MacFrame::handledOnloadEvents):
              (MacFrame::shouldClose):
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (updateRenderingForBindings):
              (frameHasSelection):
              (+[WebCoreBridge bridgeForDOMDocument:]):
              (-[WebCoreBridge init]):
              (-[WebCoreBridge initializeSettings:]):
              (-[WebCoreBridge dealloc]):
              (-[WebCoreBridge finalize]):
              (-[WebCoreBridge part]):
              (-[WebCoreBridge setParent:]):
              (-[WebCoreBridge parent]):
              (-[WebCoreBridge provisionalLoadStarted]):
              (-[WebCoreBridge openURL:reload:contentType:refresh:lastModified:pageCache:]):
              (-[WebCoreBridge setEncoding:userChosen:]):
              (-[WebCoreBridge addData:]):
              (-[WebCoreBridge closeURL]):
              (-[WebCoreBridge stopLoading]):
              (-[WebCoreBridge didNotOpenURL:pageCache:]):
              (-[WebCoreBridge saveDocumentState]):
              (-[WebCoreBridge restoreDocumentState]):
              (-[WebCoreBridge scrollToAnchorWithURL:]):
              (-[WebCoreBridge scrollOverflowInDirection:granularity:]):
              (-[WebCoreBridge sendScrollWheelEvent:]):
              (-[WebCoreBridge saveDocumentToPageCache]):
              (-[WebCoreBridge canCachePage]):
              (-[WebCoreBridge clear]):
              (-[WebCoreBridge end]):
              (-[WebCoreBridge stop]):
              (-[WebCoreBridge handleFallbackContent]):
              (-[WebCoreBridge createKHTMLViewWithNSView:marginWidth:marginHeight:]):
              (-[WebCoreBridge scrollToAnchor:]):
              (-[WebCoreBridge isSelectionEditable]):
              (-[WebCoreBridge selectionState]):
              (-[WebCoreBridge _documentTypeString]):
              (-[WebCoreBridge selectedString]):
              (-[WebCoreBridge stringForRange:]):
              (-[WebCoreBridge selectAll]):
              (-[WebCoreBridge deselectAll]):
              (-[WebCoreBridge deselectText]):
              (-[WebCoreBridge isFrameSet]):
              (-[WebCoreBridge reapplyStylesForDeviceType:]):
              (nowPrinting):
              (-[WebCoreBridge _setupRootForPrinting:]):
              (-[WebCoreBridge forceLayoutAdjustingViewSize:]):
              (-[WebCoreBridge forceLayoutWithMinimumPageWidth:maximumPageWidth:adjustingViewSize:]):
              (-[WebCoreBridge sendResizeEvent]):
              (-[WebCoreBridge sendScrollEvent]):
              (-[WebCoreBridge drawRect:withPainter:]):
              (-[WebCoreBridge drawRect:]):
              (-[WebCoreBridge computePageRectsWithPrintWidthScaleFactor:printHeight:]):
              (-[WebCoreBridge adjustPageHeightNew:top:bottom:limit:]):
              (-[WebCoreBridge copyDOMTree:]):
              (-[WebCoreBridge copyRenderTree:]):
              (-[WebCoreBridge removeFromFrame]):
              (-[WebCoreBridge installInFrame:]):
              (-[WebCoreBridge setActivationEventNumber:]):
              (-[WebCoreBridge mouseDown:]):
              (-[WebCoreBridge mouseDragged:]):
              (-[WebCoreBridge mouseUp:]):
              (-[WebCoreBridge mouseMoved:]):
              (-[WebCoreBridge sendContextMenuEvent:]):
              (-[WebCoreBridge currentForm]):
              (-[WebCoreBridge searchForLabels:beforeElement:]):
              (-[WebCoreBridge matchLabels:againstElement:]):
              (-[WebCoreBridge elementAtPoint:]):
              (-[WebCoreBridge URLWithAttributeString:]):
              (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]):
              (-[WebCoreBridge advanceToNextMisspelling]):
              (-[WebCoreBridge advanceToNextMisspellingStartingJustBeforeSelection]):
              (-[WebCoreBridge unmarkAllMisspellings]):
              (-[WebCoreBridge setTextSizeMultiplier:]):
              (-[WebCoreBridge textEncoding]):
              (-[WebCoreBridge nextKeyView]):
              (-[WebCoreBridge previousKeyView]):
              (-[WebCoreBridge nextKeyViewInsideWebFrameViews]):
              (-[WebCoreBridge previousKeyViewInsideWebFrameViews]):
              (-[WebCoreBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              (-[WebCoreBridge windowScriptObject]):
              (-[WebCoreBridge windowScriptNPObject]):
              (-[WebCoreBridge DOMDocument]):
              (-[WebCoreBridge selectedAttributedString]):
              (-[WebCoreBridge attributedStringFrom:startOffset:to:endOffset:]):
              (-[WebCoreBridge selectionRect]):
              (-[WebCoreBridge visibleSelectionRect]):
              (-[WebCoreBridge centerSelectionInVisibleArea]):
              (-[WebCoreBridge selectionImage]):
              (-[WebCoreBridge setName:]):
              (-[WebCoreBridge name]):
              (-[WebCoreBridge URL]):
              (-[WebCoreBridge baseURL]):
              (-[WebCoreBridge referrer]):
              (-[WebCoreBridge domain]):
              (-[WebCoreBridge opener]):
              (-[WebCoreBridge setOpener:]):
              (-[WebCoreBridge needsLayout]):
              (-[WebCoreBridge setNeedsLayout]):
              (-[WebCoreBridge interceptKeyEvent:toView:]):
              (-[WebCoreBridge renderTreeAsExternalRepresentation]):
              (-[WebCoreBridge setSelectionFromNone]):
              (-[WebCoreBridge setDisplaysWithFocusAttributes:]):
              (-[WebCoreBridge setWindowHasFocus:]):
              (-[WebCoreBridge numPendingOrLoadingRequests]):
              (-[WebCoreBridge doneProcessingData]):
              (-[WebCoreBridge shouldClose]):
              (-[WebCoreBridge bodyBackgroundColor]):
              (-[WebCoreBridge selectionColor]):
              (-[WebCoreBridge adjustViewSize]):
              (-[WebCoreBridge accessibilityTree]):
              (-[WebCoreBridge setDrawsBackground:]):
              (-[WebCoreBridge rangeByExpandingSelectionWithGranularity:]):
              (-[WebCoreBridge rangeByAlteringCurrentSelection:direction:granularity:]):
              (-[WebCoreBridge alterCurrentSelection:direction:granularity:]):
              (-[WebCoreBridge rangeByAlteringCurrentSelection:verticalDistance:]):
              (-[WebCoreBridge alterCurrentSelection:verticalDistance:]):
              (-[WebCoreBridge selectionGranularity]):
              (-[WebCoreBridge setSelectedDOMRange:affinity:closeTyping:]):
              (-[WebCoreBridge selectedDOMRange]):
              (-[WebCoreBridge convertToNSRange:DOM::]):
              (-[WebCoreBridge convertToDOMRange:]):
              (-[WebCoreBridge selectNSRange:]):
              (-[WebCoreBridge selectedNSRange]):
              (-[WebCoreBridge selectionAffinity]):
              (-[WebCoreBridge setMarkDOMRange:]):
              (-[WebCoreBridge markDOMRange]):
              (-[WebCoreBridge setMarkedTextDOMRange:customAttributes:ranges:]):
              (-[WebCoreBridge markedTextDOMRange]):
              (-[WebCoreBridge markedTextNSRange]):
              (-[WebCoreBridge replaceMarkedTextWithText:]):
              (-[WebCoreBridge smartDeleteRangeForProposedRange:]):
              (-[WebCoreBridge smartInsertForString:replacingRange:beforeString:afterString:]):
              (-[WebCoreBridge documentFragmentWithMarkupString:baseURLString:]):
              (-[WebCoreBridge documentFragmentWithText:]):
              (-[WebCoreBridge documentFragmentWithNodesAsParagraphs:]):
              (-[WebCoreBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
              (-[WebCoreBridge insertLineBreak]):
              (-[WebCoreBridge insertParagraphSeparator]):
              (-[WebCoreBridge insertParagraphSeparatorInQuotedContent]):
              (-[WebCoreBridge insertText:selectInsertedText:]):
              (-[WebCoreBridge setSelectionToDragCaret]):
              (-[WebCoreBridge moveSelectionToDragCaret:smartMove:]):
              (-[WebCoreBridge _visiblePositionForPoint:]):
              (-[WebCoreBridge moveDragCaretToPoint:]):
              (-[WebCoreBridge removeDragCaret]):
              (-[WebCoreBridge dragCaretDOMRange]):
              (-[WebCoreBridge deleteSelectionWithSmartDelete:]):
              (-[WebCoreBridge deleteKeyPressedWithSmartDelete:]):
              (-[WebCoreBridge forwardDeleteKeyPressedWithSmartDelete:]):
              (-[WebCoreBridge typingStyle]):
              (-[WebCoreBridge setTypingStyle:withUndoAction:]):
              (-[WebCoreBridge applyStyle:withUndoAction:]):
              (-[WebCoreBridge applyParagraphStyle:withUndoAction:]):
              (-[WebCoreBridge selectionStartHasStyle:]):
              (-[WebCoreBridge selectionHasStyle:]):
              (-[WebCoreBridge applyEditingStyleToBodyElement]):
              (-[WebCoreBridge removeEditingStyleFromBodyElement]):
              (-[WebCoreBridge applyEditingStyleToElement:]):
              (-[WebCoreBridge removeEditingStyleFromElement:]):
              (-[WebCoreBridge fontForSelection:]):
              (-[WebCoreBridge fontAttributesForSelectionStart]):
              (-[WebCoreBridge baseWritingDirectionForSelectionStart]):
              (-[WebCoreBridge ensureSelectionVisible]):
              (-[WebCoreBridge eventMayStartDrag:]):
              (-[WebCoreBridge dragOperationForDraggingInfo:]):
              (-[WebCoreBridge dragExitedWithDraggingInfo:]):
              (-[WebCoreBridge concludeDragForDraggingInfo:]):
              (-[WebCoreBridge dragSourceMovedTo:]):
              (-[WebCoreBridge dragSourceEndedAt:operation:]):
              (-[WebCoreBridge mayDHTMLCut]):
              (-[WebCoreBridge mayDHTMLCopy]):
              (-[WebCoreBridge mayDHTMLPaste]):
              (-[WebCoreBridge tryDHTMLCut]):
              (-[WebCoreBridge tryDHTMLCopy]):
              (-[WebCoreBridge tryDHTMLPaste]):
              (-[WebCoreBridge rangeOfCharactersAroundCaret]):
              (-[WebCoreBridge dashboardRegions]):
              (-[WebCoreBridge executionContextForView:]):
              * kwq/WebCoreSettings.mm:
              (-[WebCoreSettings _updateAllViews]):
              * kwq/WebCoreTextRendererFactory.mm:
              (-[WebCoreTextRendererFactory clearCaches]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      810e9764
  21. 15 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: 6091 · eedc541f
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              Remove more legacy code from khtml/kwq
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6091
      
              No tests needed, no functionality changes.
      
              * ForwardingHeaders/kapplication.h: Removed.
              * ForwardingHeaders/kcompletionbox.h: Removed.
              * ForwardingHeaders/kdatastream.h: Removed.
              * ForwardingHeaders/kfiledialog.h: Removed.
              * ForwardingHeaders/kfileitem.h: Removed.
              * ForwardingHeaders/khtml_iface.h: Removed.
              * ForwardingHeaders/khtml_pagecache.h: Removed.
              * ForwardingHeaders/khtml_printsettings.h: Removed.
              * ForwardingHeaders/khtml_run.h: Removed.
              * ForwardingHeaders/kiconloader.h: Removed.
              * ForwardingHeaders/kio/kprotocolmanager.h: Removed.
              * ForwardingHeaders/kio/netaccess.h: Removed.
              * ForwardingHeaders/kmessagebox.h: Removed.
              * ForwardingHeaders/kmimetype.h: Removed.
              * ForwardingHeaders/kmultipledrag.h: Removed.
              * ForwardingHeaders/kparts/partmanager.h: Removed.
              * ForwardingHeaders/kprinter.h: Removed.
              * ForwardingHeaders/kprotocolmanager.h: Removed.
              * ForwardingHeaders/ksimpleconfig.h: Removed.
              * ForwardingHeaders/ksslcertchain.h: Removed.
              * ForwardingHeaders/ksslinfodlg.h: Removed.
              * ForwardingHeaders/kstdaction.h: Removed.
              * ForwardingHeaders/ktempfile.h: Removed.
              * ForwardingHeaders/ktrader.h: Removed.
              * ForwardingHeaders/kurldrag.h: Removed.
              * ForwardingHeaders/kxmlguifactory.h: Removed.
              * ForwardingHeaders/netaccess.h: Removed.
              * ForwardingHeaders/private/qucomextra_p.h: Removed.
              * ForwardingHeaders/qasyncimageio.h: Removed.
              * ForwardingHeaders/qbitmap.h: Removed.
              * ForwardingHeaders/qclipboard.h: Removed.
              * ForwardingHeaders/qdir.h: Removed.
              * ForwardingHeaders/qdrawutil.h: Removed.
              * ForwardingHeaders/qfontdatabase.h: Removed.
              * ForwardingHeaders/qfontinfo.h: Removed.
              * ForwardingHeaders/qglobal.h: Removed.
              * ForwardingHeaders/qhbox.h: Removed.
              * ForwardingHeaders/qinputdialog.h: Removed.
              * ForwardingHeaders/qintcache.h: Removed.
              * ForwardingHeaders/qmetaobject.h: Removed.
              * ForwardingHeaders/qmovie.h: Removed.
              * ForwardingHeaders/qobjectlist.h: Removed.
              * ForwardingHeaders/qtooltip.h: Removed.
              * ForwardingHeaders/scheduler.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/css/cssstyleselector.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::KJSProxyImpl):
              (KJSProxyImpl::initScript):
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/kjs_window.moc: Removed.
              * khtml/html/html_documentimpl.cpp:
              (DOM::HTMLDocumentImpl::HTMLDocumentImpl):
              * khtml/html/html_documentimpl.moc: Removed.
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_formimpl.h:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_objectimpl.h:
              * khtml/html/htmltokenizer.moc: Removed.
              * khtml/khtml_part.cpp:
              (KHTMLPart::didOpenURL):
              (KHTMLPart::stopLoading):
              (KHTMLPart::createJavaContext):
              (KHTMLPart::begin):
              (KHTMLPart::slotRedirection):
              (KHTMLPart::setSelection):
              (KHTMLPart::handleFallbackContent):
              * khtml/khtml_part.h:
              * khtml/khtml_part.moc: Removed.
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              (KHTMLPartPrivate::~KHTMLPartPrivate):
              * khtml/khtmlview.cpp:
              (KHTMLViewPrivate::KHTMLViewPrivate):
              (KHTMLViewPrivate::~KHTMLViewPrivate):
              (KHTMLView::KHTMLView):
              (KHTMLView::init):
              (KHTMLView::resizeEvent):
              (KHTMLView::layout):
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::viewportMouseDoubleClickEvent):
              (KHTMLView::viewportMouseReleaseEvent):
              (KHTMLView::scrollTo):
              (KHTMLView::focusNextPrevNode):
              (KHTMLView::focusInEvent):
              (KHTMLView::focusOutEvent):
              * khtml/khtmlview.h:
              * khtml/khtmlview.moc: Removed.
              * khtml/misc/loader.cpp:
              (CachedImage::CachedImage):
              (CachedImage::ref):
              (CachedImage::deref):
              (CachedImage::pixmap_size):
              (CachedImage::valid_rect):
              (CachedImage::clear):
              (CachedXSLStyleSheet::CachedXSLStyleSheet):
              (Cache::clear):
              (Cache::flush):
              (Cache::getStatistics):
              (Cache::setCacheDisabled):
              * khtml/misc/loader.h:
              * khtml/misc/loader.moc: Removed.
              * khtml/rendering/render_form.cpp:
              (ComboBoxWidget::ComboBoxWidget):
              (RenderSelect::createListBox):
              (RenderSlider::slotClicked):
              * khtml/rendering/render_form.h:
              * khtml/rendering/render_form.moc: Removed.
              * khtml/rendering/render_frames.cpp:
              (RenderFrameSet::userResize):
              (RenderPart::updateWidgetPosition):
              * khtml/rendering/render_frames.moc: Removed.
              * khtml/rendering/render_layer.cpp:
              (khtml::RenderLayer::isTransparent):
              * khtml/rendering/render_replaced.cpp:
              (RenderWidget::destroy):
              (RenderWidget::setSelectionState):
              * khtml/rendering/render_replaced.moc: Removed.
              * khtml/xml/dom_docimpl.cpp:
              (DocumentTypeImpl::cloneNode):
              * khtml/xml/dom_docimpl.moc: Removed.
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xml/xml_tokenizer.moc: Removed.
              * ksvg2/svg/SVGImageElementImpl.cpp:
              * kwq/KWQApplication.h:
              (QApplication::sendEvent):
              * kwq/KWQComboBox.h:
              * kwq/KWQKApplication.h: Removed.
              * kwq/KWQKHTMLPageCache.h: Removed.
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::openURLFromPageCache):
              * kwq/KWQKHTMLPartBrowserExtension.h:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletContext.h:
              (KJavaAppletContext::KJavaAppletContext):
              * kwq/KWQKPartsHistoryProvider.h:
              * kwq/KWQKPartsPartManager.h: Removed.
              * kwq/KWQMovie.h: Removed.
              * kwq/KWQMovie.mm: Removed.
              * kwq/KWQObject.h:
              * kwq/KWQScrollView.h:
              * kwq/KWQScrollView.mm:
              * kwq/KWQWidget.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eedc541f
  22. 20 Nov, 2005 1 commit
    • eseidel's avatar
      Bug #: 5711 · 7811b780
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              Remove #if !APPLE_CHANGES and #if 0 blocks.  No functional changes.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5711
      
              * khtml/css/css_computedstyle.cpp:
              (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
              * khtml/css/css_valueimpl.cpp:
              (DOM::CSSMutableStyleDeclarationImpl::setProperty):
              (DOM::CSSPrimitiveValueImpl::computeLength):
              (DOM::CSSPrimitiveValueImpl::computeLengthFloat):
              (DOM::CSSPrimitiveValueImpl::cssText):
              (DOM::FontFamilyValueImpl::FontFamilyValueImpl):
              * khtml/css/css_valueimpl.h:
              * khtml/css/cssparser.cpp:
              (qFatal):
              (CSSParser::parseValue):
              (CSSParser::parseDashboardRegions):
              * khtml/css/cssstyleselector.cpp:
              (khtml::):
              (khtml::colorForCSSValue):
              (khtml::CSSStyleSelector::applyDeclarations):
              (khtml::CSSStyleSelector::applyProperty):
              (khtml::CSSStyleSelector::checkForTextSizeAdjust):
              * khtml/css/cssstyleselector.h:
              * khtml/dom/dom_node.h:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMStyleSheetList::getOwnPropertySlot):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::getValueProperty):
              (KJS::NodeConstructor::getValueProperty):
              (KJS::DOMExceptionConstructor::getValueProperty):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::getOwnPropertySlot):
              (KJS::KJS::HTMLElementFunction::callAsFunction):
              (KJS::KJS::HTMLElement::put):
              * khtml/ecma/kjs_html.h:
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              (KJS::PluginBase::refresh):
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::evaluate):
              (KJSProxyImpl::initScript):
              * khtml/ecma/kjs_window.cpp:
              (KJS::allowPopUp):
              (KJS::Window::getValueProperty):
              (KJS::Window::put):
              (KJS::Window::resumeTimeouts):
              (KJS::Window::scheduleClose):
              (KJS::Window::isSafeScript):
              (KJS::WindowFunc::callAsFunction):
              (KJS::WindowQObject::hasTimeouts):
              (KJS::Location::put):
              (KJS::LocationFunc::callAsFunction):
              (KJS::BarInfo::getValueProperty):
              * khtml/ecma/kjs_window.h:
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequestQObject::slotData):
              (KJS::XMLHttpRequest::send):
              (KJS::XMLHttpRequest::processSyncLoadResults):
              (KJS::XMLHttpRequest::slotData):
              * khtml/ecma/xmlhttprequest.h:
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::debugPosition):
              * 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/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/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_documentimpl.cpp:
              (DOM::HTMLDocumentImpl::referrer):
              (DOM::HTMLDocumentImpl::cookie):
              (DOM::HTMLDocumentImpl::setCookie):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::attach):
              (DOM::HTMLFormElementImpl::formData):
              (DOM::HTMLFormElementImpl::submit):
              (DOM::HTMLFormElementImpl::parseMappedAttribute):
              (DOM::HTMLGenericFormElementImpl::isMouseFocusable):
              (DOM::HTMLGenericFormElementImpl::defaultEventHandler):
              (DOM::HTMLInputElementImpl::setInputType):
              (DOM::HTMLInputElementImpl::type):
              (DOM::HTMLInputElementImpl::canHaveSelection):
              (DOM::HTMLInputElementImpl::selectionStart):
              (DOM::HTMLInputElementImpl::selectionEnd):
              (DOM::HTMLInputElementImpl::setSelectionStart):
              (DOM::HTMLInputElementImpl::setSelectionEnd):
              (DOM::HTMLInputElementImpl::select):
              (DOM::HTMLInputElementImpl::setSelectionRange):
              (DOM::HTMLInputElementImpl::click):
              (DOM::HTMLInputElementImpl::accessKeyAction):
              (DOM::HTMLInputElementImpl::rendererIsNeeded):
              (DOM::HTMLInputElementImpl::createRenderer):
              (DOM::HTMLInputElementImpl::attach):
              (DOM::HTMLInputElementImpl::altText):
              (DOM::HTMLInputElementImpl::appendFormData):
              (DOM::HTMLInputElementImpl::valueWithDefault):
              (DOM::HTMLInputElementImpl::storesValueSeparateFromAttribute):
              (DOM::HTMLInputElementImpl::defaultEventHandler):
              (DOM::HTMLSelectElementImpl::state):
              (DOM::HTMLSelectElementImpl::restoreState):
              (DOM::HTMLKeygenElementImpl::appendFormData):
              * khtml/html/html_formimpl.h:
              (DOM::HTMLInputElementImpl::):
              * khtml/html/html_imageimpl.cpp:
              (HTMLImageLoader::updateFromElement):
              (HTMLImageElementImpl::parseMappedAttribute):
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::isMouseFocusable):
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLAppletElementImpl::getMember):
              (DOM::HTMLAppletElementImpl::callMember):
              (DOM::HTMLAppletElementImpl::allParamsAvailable):
              (DOM::HTMLEmbedElementImpl::getEmbedInstance):
              (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
              (DOM::HTMLObjectElementImpl::getObjectInstance):
              (DOM::HTMLObjectElementImpl::rendererIsNeeded):
              * khtml/html/html_objectimpl.h:
              (DOM::HTMLObjectElementImpl::isDocNamedItem):
              * khtml/html/html_tableimpl.cpp:
              (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
              (DOM::HTMLTableElementImpl::parseMappedAttribute):
              * khtml/html/htmlparser.cpp:
              (HTMLParser::handleIsindex):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::scriptExecution):
              * khtml/html/htmltokenizer.h:
              * khtml/khtml_part.cpp:
              (KHTMLPart::KHTMLPart):
              (KHTMLPart::init):
              (KHTMLPart::~KHTMLPart):
              (KHTMLPart::restoreURL):
              (KHTMLPart::didOpenURL):
              (KHTMLPart::stopLoading):
              (KHTMLPart::createJavaContext):
              (KHTMLPart::setAutoloadImages):
              (KHTMLPart::clear):
              (KHTMLPart::receivedFirstData):
              (KHTMLPart::slotFinished):
              (KHTMLPart::childBegin):
              (KHTMLPart::begin):
              (KHTMLPart::write):
              (KHTMLPart::gotoAnchor):
              (KHTMLPart::slotLoaderRequestStarted):
              (KHTMLPart::slotLoaderRequestDone):
              (KHTMLPart::checkCompleted):
              (KHTMLPart::completeURL):
              (KHTMLPart::scheduleHistoryNavigation):
              (KHTMLPart::urlCursor):
              (KHTMLPart::text):
              (KHTMLPart::selectedText):
              (KHTMLPart::hasSelection):
              (KHTMLPart::setSelection):
              (KHTMLPart::urlSelected):
              (KHTMLPart::requestFrameName):
              (KHTMLPart::requestObject):
              (KHTMLPart::processObjectRequest):
              (KHTMLPart::submitForm):
              (KHTMLPart::slotChildStarted):
              (KHTMLPart::slotChildCompleted):
              (KHTMLPart::childFrame):
              (KHTMLPart::findFrame):
              (KHTMLPart::frameExists):
              (KHTMLPart::parentPart):
              (KHTMLPart::emitSelectionChanged):
              (KHTMLPart::setZoomFactor):
              (KHTMLPart::reparseConfiguration):
              (KHTMLPart::khtmlMousePressEvent):
              (KHTMLPart::khtmlMouseMoveEvent):
              (KHTMLPart::startAutoScroll):
              (KHTMLPart::stopAutoScroll):
              (KHTMLPart::shouldChangeSelection):
              (KHTMLPart::appliedEditing):
              (KHTMLPart::unappliedEditing):
              (KHTMLPart::reappliedEditing):
              (KHTMLPart::copyToPasteboard):
              (KHTMLPart::cutToPasteboard):
              (KHTMLPart::pasteFromPasteboard):
              (KHTMLPart::pasteAndMatchStyle):
              (KHTMLPart::transpose):
              (KHTMLPart::redo):
              (KHTMLPart::undo):
              * khtml/khtml_part.h:
              (KHTMLPart::didFirstLayout):
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              (KHTMLPartPrivate::~KHTMLPartPrivate):
              * khtml/khtmlview.cpp:
              (KHTMLViewPrivate::KHTMLViewPrivate):
              (KHTMLViewPrivate::~KHTMLViewPrivate):
              (KHTMLViewPrivate::reset):
              (KHTMLView::KHTMLView):
              (KHTMLView::~KHTMLView):
              (KHTMLView::resetScrollBars):
              (KHTMLView::init):
              (KHTMLView::clear):
              (KHTMLView::resizeEvent):
              (KHTMLView::initScrollBars):
              (KHTMLView::layout):
              (KHTMLView::updateDashboardRegions):
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::viewportMouseDoubleClickEvent):
              (KHTMLView::viewportMouseMoveEvent):
              (KHTMLView::viewportMouseReleaseEvent):
              (KHTMLView::keyPressEvent):
              (KHTMLView::contentsContextMenuEvent):
              (KHTMLView::dispatchDragEvent):
              (KHTMLView::focusNextPrevNode):
              (KHTMLView::mediaType):
              (KHTMLView::setScrollBarsMode):
              (KHTMLView::restoreScrollBar):
              (KHTMLView::viewportWheelEvent):
              * khtml/khtmlview.h:
              * khtml/misc/decoder.cpp:
              (Decoder::setEncoding):
              (Decoder::decode):
              (Decoder::flush):
              * khtml/misc/decoder.h:
              * khtml/misc/helper.cpp:
              (khtml::findWordBoundary):
              (khtml::nextWordFromIndex):
              (khtml::findSentenceBoundary):
              (khtml::nextSentenceFromIndex):
              * khtml/misc/helper.h:
              * khtml/misc/loader.cpp:
              (CachedObject::~CachedObject):
              (CachedImageCallback::clear):
              (CachedImage::CachedImage):
              (CachedImage::tiled_pixmap):
              (CachedImage::pixmap):
              (CachedImage::setShowAnimations):
              (CachedImage::clear):
              (CachedImage::data):
              (CachedImage::error):
              (DocLoader::DocLoader):
              (DocLoader::requestImage):
              (DocLoader::requestStyleSheet):
              (DocLoader::requestScript):
              (DocLoader::requestXSLStyleSheet):
              (DocLoader::requestXBLDocument):
              (Loader::Loader):
              (Loader::~Loader):
              (Loader::servePendingRequests):
              (Loader::slotFinished):
              (Loader::slotData):
              (Loader::numRequests):
              (Loader::cancelRequests):
              (Loader::removeBackgroundDecodingRequest):
              (Cache::init):
              (Cache::requestImage):
              (Cache::requestStyleSheet):
              (Cache::requestScript):
              (Cache::requestXSLStyleSheet):
              (Cache::requestXBLDocument):
              * khtml/misc/loader.h:
              (khtml::CachedObject::CachedObject):
              * khtml/misc/stringit.h:
              (khtml::TokenizerSubstring::TokenizerSubstring):
              * khtml/rendering/render_applet.cpp:
              (RenderApplet::RenderApplet):
              (RenderApplet::layout):
              (RenderEmptyApplet::RenderEmptyApplet):
              (RenderEmptyApplet::layout):
              * khtml/rendering/render_applet.h:
              * khtml/rendering/render_canvas.cpp:
              (RenderCanvas::setBestTruncatedAt):
              * khtml/rendering/render_canvas.h:
              (khtml::RenderCanvas::printImages):
              * khtml/rendering/render_container.cpp:
              (RenderContainer::addChild):
              (RenderContainer::removeChildNode):
              (RenderContainer::appendChildNode):
              (RenderContainer::insertChildNode):
              * khtml/rendering/render_flexbox.cpp:
              (khtml::RenderFlexibleBox::layoutVerticalBox):
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::paintLines):
              (RenderFlow::paintFocusRing):
              * khtml/rendering/render_flow.h:
              * khtml/rendering/render_form.cpp:
              (RenderFormElement::baselinePosition):
              (RenderFormElement::setStyle):
              (RenderFormElement::updateFromElement):
              (RenderFormElement::layout):
              (RenderLineEdit::RenderLineEdit):
              (RenderLineEdit::slotReturnPressed):
              (RenderLineEdit::addSearchResult):
              (RenderLineEdit::calcMinMaxWidth):
              (RenderLineEdit::setStyle):
              (RenderLineEdit::updateFromElement):
              (RenderFileButton::RenderFileButton):
              (RenderFileButton::calcMinMaxWidth):
              (RenderFileButton::slotClicked):
              (RenderFileButton::updateFromElement):
              (RenderFileButton::select):
              (ComboBoxWidget::event):
              (ComboBoxWidget::eventFilter):
              (RenderSelect::updateFromElement):
              (RenderSelect::layout):
              (RenderTextArea::RenderTextArea):
              (RenderTextArea::calcMinMaxWidth):
              (RenderTextArea::setStyle):
              (RenderTextArea::updateFromElement):
              (RenderTextArea::text):
              (RenderTextArea::selectionStart):
              (RenderTextArea::selectionEnd):
              (RenderTextArea::setSelectionStart):
              (RenderTextArea::setSelectionEnd):
              (RenderTextArea::setSelectionRange):
              * khtml/rendering/render_form.h:
              (khtml::RenderFormElement::intrinsicMargin):
              (khtml::RenderLineEdit::canHaveIntrinsicMargins):
              (khtml::RenderSelect::canHaveIntrinsicMargins):
              (khtml::RenderTextArea::canHaveIntrinsicMargins):
              * khtml/rendering/render_frames.cpp:
              (RenderFrameSet::userResize):
              (RenderFrame::slotViewCleared):
              (RenderPartObject::layout):
              (RenderPartObject::slotViewCleared):
              * khtml/rendering/render_image.cpp:
              (RenderImage::setPixmap):
              (RenderImage::resetAnimation):
              (RenderImage::paint):
              (RenderImage::layout):
              * khtml/rendering/render_image.h:
              * khtml/rendering/render_layer.cpp:
              (khtml::RenderLayer::scrollToOffset):
              (khtml::RenderLayer::updateScrollInfoAfterLayout):
              (khtml::RenderLayer::paintScrollbars):
              (khtml::setClip):
              (khtml::RenderLayer::paintLayer):
              (khtml::RenderLayer::hitTest):
              * khtml/rendering/render_layer.h:
              * khtml/rendering/render_line.cpp:
              (khtml::InlineFlowBox::paintDecorations):
              * khtml/rendering/render_list.cpp:
              (RenderListMarker::paint):
              * khtml/rendering/render_list.h:
              (khtml::RenderListItem::markerStringValue):
              * khtml/rendering/render_object.cpp:
              (RenderObject::addFocusRingRects):
              (RenderObject::paintOutline):
              (RenderObject::setStyle):
              (RenderObject::removeFromObjectLists):
              (RenderObject::remove):
              (RenderObject::backslashAsCurrencySymbol):
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_replaced.cpp:
              (RenderWidget::resizeWidget):
              (RenderWidget::sendConsumedMouseUp):
              (RenderWidget::setStyle):
              * khtml/rendering/render_replaced.h:
              * khtml/rendering/render_style.cpp:
              (StyleVisualData::StyleVisualData):
              (StyleCSS3NonInheritedData::operator==):
              (textSizeAdjust):
              (StyleCSS3InheritedData):
              (StyleCSS3InheritedData::operator==):
              (RenderStyle::diff):
              * khtml/rendering/render_style.h:
              (khtml::StyleVisualData::operator==):
              (khtml::RenderStyle::textSizeAdjust):
              (khtml::RenderStyle::setDashboardRegion):
              (khtml::RenderStyle::setTextSizeAdjust):
              * khtml/rendering/render_text.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::DocumentImpl):
              (DocumentImpl::~DocumentImpl):
              (DocumentImpl::updateTitle):
              (DocumentImpl::recalcStyle):
              (DocumentImpl::updateRendering):
              (DocumentImpl::attach):
              (DocumentImpl::detach):
              (DocumentImpl::getAccObjectCache):
              (DocumentImpl::updateSelection):
              (DocumentImpl::implicitClose):
              (DocumentImpl::processHttpEquiv):
              (DocumentImpl::updateStyleSelector):
              (DocumentImpl::setFocusNode):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::recalcStyle):
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::dispatchKeyEvent):
              (DOM::NodeImpl::createRendererIfNeeded):
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_textimpl.h:
              * khtml/xml/dom_xmlimpl.h:
              * khtml/xml/xml_tokenizer.cpp:
              (khtml::Tokenizer::Tokenizer):
              (khtml::Tokenizer::finishedParsing):
              (khtml::XMLTokenizer::error):
              * khtml/xml/xml_tokenizer.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7811b780
  23. 30 Aug, 2005 1 commit
    • darin's avatar
      Reviewed by Maciej. · d4d4de73
      darin authored
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4540
                event handlers for all custom events called when any custom event is set
      
              * layout-tests/dom/html/level2/events/dispatchEvent12-expected.txt: Updated results
              to expect success.
      
              * khtml/xml/EventNames.h: Added.
              * khtml/xml/EventNames.cpp: Added.
              * ForwardingHeaders/xml/EventNames.h: Added.
              * WebCore.xcodeproj/project.pbxproj: Added EventNames.h and EventNames.cpp.
      
              * khtml/xml/dom2_eventsimpl.h: Removed EventId type. Made a few more functions inline.
              * khtml/xml/dom2_eventsimpl.cpp:
              (DOM::EventImpl::EventImpl):
              (DOM::EventImpl::~EventImpl):
              (DOM::EventImpl::initEvent):
              (DOM::UIEventImpl::UIEventImpl):
              (DOM::UIEventImpl::initUIEvent):
              (DOM::MouseRelatedEventImpl::MouseRelatedEventImpl):
              (DOM::MouseEventImpl::MouseEventImpl):
              (DOM::MouseEventImpl::initMouseEvent):
              (DOM::MouseEventImpl::isDragEvent):
              (DOM::KeyboardEventImpl::KeyboardEventImpl):
              (DOM::KeyboardEventImpl::initKeyboardEvent):
              (DOM::KeyboardEventImpl::keyCode):
              (DOM::MutationEventImpl::MutationEventImpl):
              (DOM::MutationEventImpl::initMutationEvent):
              (DOM::ClipboardEventImpl::ClipboardEventImpl):
              (DOM::WheelEventImpl::WheelEventImpl):
              (DOM::RegisteredEventListener::RegisteredEventListener):
              (DOM::RegisteredEventListener::~RegisteredEventListener):
              Updated to use the new AtomicString type rather than a type string and separate ID.
      
              * khtml/xml/dom_atomicstring.h: Implemented the constructor that takes an NSString.
      
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::wasRunByUserGesture):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValueProperty):
              (KJS::DOMNode::setListener):
              (KJS::DOMNode::getListener):
              (KJS::DOMNodeProtoFunc::callAsFunction):
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::getNodeEventListener):
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMEventProtoFunc::callAsFunction):
              (KJS::DOMUIEventProtoFunc::callAsFunction):
              (KJS::DOMMouseEvent::getValueProperty):
              (KJS::DOMMouseEventProtoFunc::callAsFunction):
              (KJS::DOMKeyboardEventProtoFunc::callAsFunction):
              (KJS::DOMMutationEventProtoFunc::callAsFunction):
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              (KJS::Window::put):
              (KJS::Window::setListener):
              (KJS::Window::getListener):
              (KJS::WindowFunc::callAsFunction):
              * khtml/ecma/kjs_window.h:
              * khtml/html/html_baseimpl.cpp:
              (HTMLBodyElementImpl::parseMappedAttribute):
              (HTMLFrameElementImpl::parseMappedAttribute):
              (HTMLFrameSetElementImpl::parseMappedAttribute):
              (HTMLFrameSetElementImpl::detach):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::parseMappedAttribute):
              (HTMLElementImpl::click):
              (inlineTagList):
              (blockTagList):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::prepareSubmit):
              (DOM::HTMLFormElementImpl::reset):
              (DOM::HTMLFormElementImpl::parseMappedAttribute):
              (DOM::HTMLGenericFormElementImpl::onSelect):
              (DOM::HTMLGenericFormElementImpl::onChange):
              (DOM::HTMLGenericFormElementImpl::defaultEventHandler):
              (DOM::HTMLButtonElementImpl::parseMappedAttribute):
              (DOM::HTMLButtonElementImpl::defaultEventHandler):
              (DOM::HTMLInputElementImpl::parseMappedAttribute):
              (DOM::HTMLInputElementImpl::setValueFromRenderer):
              (DOM::HTMLInputElementImpl::preDispatchEventHandler):
              (DOM::HTMLInputElementImpl::defaultEventHandler):
              (DOM::HTMLLabelElementImpl::parseMappedAttribute):
              (DOM::HTMLSelectElementImpl::parseMappedAttribute):
              (DOM::HTMLSelectElementImpl::defaultEventHandler):
              (DOM::HTMLTextAreaElementImpl::parseMappedAttribute):
              * khtml/html/html_imageimpl.cpp:
              (HTMLImageLoader::dispatchLoadEvent):
              (HTMLImageElementImpl::parseMappedAttribute):
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::defaultEventHandler):
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLObjectElementImpl::parseMappedAttribute):
              (DOM::HTMLObjectElementImpl::attach):
              (DOM::HTMLObjectElementImpl::detach):
              (DOM::HTMLObjectElementImpl::recalcStyle):
              * khtml/khtml_part.cpp:
              (KHTMLPart::init):
              (KHTMLPart::stopLoading):
              * khtml/khtmlview.cpp:
              (KHTMLView::resizeEvent):
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::viewportMouseDoubleClickEvent):
              (KHTMLView::viewportMouseMoveEvent):
              (KHTMLView::viewportMouseReleaseEvent):
              (KHTMLView::dispatchDragEvent):
              (KHTMLView::updateDragAndDrop):
              (KHTMLView::cancelDragAndDrop):
              (KHTMLView::performDragAndDrop):
              (KHTMLView::dispatchMouseEvent):
              * khtml/khtmlview.h:
              * khtml/rendering/render_form.cpp:
              (RenderFormElement::slotClicked):
              (RenderLineEdit::slotPerformSearch):
              (RenderSlider::slotSliderValueChanged):
              * khtml/rendering/render_frames.cpp:
              (RenderFrameSet::userResize):
              * khtml/rendering/render_layer.cpp:
              (khtml::RenderLayer::scrollToOffset):
              * khtml/rendering/render_object.cpp:
              (RenderObject::shouldSelect):
              * khtml/rendering/render_replaced.cpp:
              (RenderWidget::sendConsumedMouseUp):
              (RenderWidget::eventFilter):
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::implicitClose):
              (DocumentImpl::setFocusNode):
              (DocumentImpl::defaultEventHandler):
              (DocumentImpl::setHTMLWindowEventListener):
              (DocumentImpl::getHTMLWindowEventListener):
              (DocumentImpl::removeHTMLWindowEventListener):
              (DocumentImpl::addWindowEventListener):
              (DocumentImpl::removeWindowEventListener):
              (DocumentImpl::hasWindowEventListener):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::dispatchAttrRemovalEvent):
              (ElementImpl::dispatchAttrAdditionEvent):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::addEventListener):
              (DOM::NodeImpl::removeEventListener):
              (DOM::NodeImpl::removeHTMLEventListener):
              (DOM::NodeImpl::setHTMLEventListener):
              (DOM::NodeImpl::getHTMLEventListener):
              (DOM::NodeImpl::dispatchHTMLEvent):
              (DOM::NodeImpl::dispatchWindowEvent):
              (DOM::NodeImpl::dispatchMouseEvent):
              (DOM::NodeImpl::dispatchUIEvent):
              (DOM::NodeImpl::dispatchSubtreeModifiedEvent):
              (DOM::NodeImpl::handleLocalEvents):
              (DOM::ContainerNodeImpl::removeChild):
              (DOM::ContainerNodeImpl::dispatchChildInsertedEvents):
              (DOM::ContainerNodeImpl::dispatchChildRemovalEvents):
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_textimpl.cpp:
              (CharacterDataImpl::dispatchModifiedEvent):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject mouseButtonListener]):
              * kwq/KWQKHTMLPart.h:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::canCachePage):
              (KWQKHTMLPart::sendScrollEvent):
              (KWQKHTMLPart::dispatchDragSrcEvent):
              (KWQKHTMLPart::khtmlMouseMoveEvent):
              (KWQKHTMLPart::dragSourceMovedTo):
              (KWQKHTMLPart::dragSourceEndedAt):
              (KWQKHTMLPart::dispatchCPPEvent):
              (KWQKHTMLPart::mayCut):
              (KWQKHTMLPart::mayCopy):
              (KWQKHTMLPart::mayPaste):
              (KWQKHTMLPart::tryCut):
              (KWQKHTMLPart::tryCopy):
              (KWQKHTMLPart::tryPaste):
              (KWQKHTMLPart::sendContextMenuEvent):
              (KWQKHTMLPart::setWindowHasFocus):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView dispatchHTMLEvent:]):
              (-[KWQTextAreaTextView cut:]):
              (-[KWQTextAreaTextView copy:]):
              (-[KWQTextAreaTextView paste:]):
              (-[KWQTextAreaTextView pasteAsPlainText:]):
              (-[KWQTextAreaTextView pasteAsRichText:]):
              Use the new namespace, types, and use AtomicString instead of event ID.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4d4de73
  24. 13 May, 2005 1 commit
    • darin's avatar
      Reviewed by Chris Blumenberg. · 1a76dc44
      darin authored
              - more "getting off the C++ DOM wrappers" changes
                This pass involves replacing uses of DOM::Range with use of DOM::RangeImpl
                plus some more use of DOM::DocumentImpl instead of DOM::Document.
      
              * khtml/dom/dom2_range.cpp:
              * khtml/dom/dom2_range.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::get):
              (KJS::WindowFunc::tryCall):
              (KJS::Window::updateLayout):
              (KJS::ScheduledAction::execute):
              (KJS::Selection::toString):
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequestProtoFunc::tryCall):
              * khtml/editing/htmlediting.cpp:
              (khtml::InsertLineBreakCommand::doApply):
              * khtml/editing/selection.cpp:
              (khtml::Selection::Selection):
              (khtml::Selection::moveTo):
              (khtml::Selection::toRange):
              * khtml/editing/selection.h:
              * khtml/editing/visible_position.cpp:
              (khtml::makeRange):
              (khtml::startVisiblePosition):
              (khtml::endVisiblePosition):
              (khtml::setStart):
              (khtml::setEnd):
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_range.h:
              * khtml/editing/visible_text.cpp:
              (khtml::TextIterator::TextIterator):
              (khtml::TextIterator::range):
              (khtml::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
              (khtml::SimplifiedBackwardsTextIterator::range):
              (khtml::CharacterIterator::CharacterIterator):
              (khtml::CharacterIterator::range):
              (khtml::WordAwareIterator::WordAwareIterator):
              (khtml::WordAwareIterator::advance):
              (khtml::TextIterator::rangeLength):
              (khtml::TextIterator::rangeFromLocationAndLength):
              (khtml::plainText):
              (khtml::findPlainText):
              * khtml/editing/visible_text.h:
              (khtml::WordAwareIterator::range):
              * khtml/editing/visible_units.cpp:
              (khtml::previousBoundary):
              (khtml::nextBoundary):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::innerText):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::scriptExecution):
              * khtml/khtml_part.cpp:
              (KHTMLPart::text):
              (KHTMLPart::selectedText):
              (KHTMLPart::shouldBeginEditing):
              (KHTMLPart::shouldEndEditing):
              (KHTMLPart::selectionComputedStyle):
              * khtml/khtml_part.h:
              * khtml/khtmlview.h:
              * khtml/rendering/render_text.cpp:
              (InlineTextBox::paint):
              * khtml/xml/dom2_rangeimpl.cpp:
              (DOM::operator==):
              (DOM::rangeOfContents):
              * khtml/xml/dom2_rangeimpl.h:
              (DOM::operator!=):
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::relinquishesEditingFocus):
              (DocumentImpl::acceptsEditingFocus):
              (DocumentImpl::addMarker):
              (DocumentImpl::removeMarker):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_position.cpp:
              (DOM::startPosition):
              * khtml/xml/dom_position.h:
              * kwq/DOMHTML.mm:
              (-[DOMHTMLLinkElement href]):
              (-[DOMHTMLBaseElement href]):
              (-[DOMHTMLInputElement src]):
              (-[DOMHTMLAnchorElement href]):
              (-[DOMHTMLImageElement src]):
              (-[DOMHTMLAreaElement href]):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject textUnderElement]):
              (-[KWQAccObject value]):
              (-[KWQAccObject doAXStringForTextMarkerRange:]):
              (-[KWQAccObject doAXAttributedStringForTextMarkerRange:]):
              * kwq/KWQKHTMLPart.h:
              (KWQKHTMLPart::markedTextRange):
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::findString):
              (KWQKHTMLPart::advanceToNextMisspelling):
              (KWQKHTMLPart::fontForSelection):
              (KWQKHTMLPart::markMisspellings):
              (KWQKHTMLPart::respondToChangedSelection):
              (KWQKHTMLPart::shouldBeginEditing):
              (KWQKHTMLPart::shouldEndEditing):
              (convertAttributesToUnderlines):
              (KWQKHTMLPart::setMarkedTextRange):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge elementAtPoint:]):
              (-[WebCoreBridge rangeByExpandingSelectionWithGranularity:]):
              (-[WebCoreBridge rangeByAlteringCurrentSelection:direction:granularity:]):
              (-[WebCoreBridge rangeByAlteringCurrentSelection:verticalDistance:]):
              (-[WebCoreBridge selectedDOMRange]):
              (-[WebCoreBridge convertToNSRange:DOM::]):
              (-[WebCoreBridge convertToDOMRange:]):
              (-[WebCoreBridge convertToObjCDOMRange:]):
              (-[WebCoreBridge selectNSRange:]):
              (-[WebCoreBridge selectedNSRange]):
              (-[WebCoreBridge markDOMRange]):
              (-[WebCoreBridge markedTextDOMRange]):
              (-[WebCoreBridge markedTextNSRange]):
              (-[WebCoreBridge replaceMarkedTextWithText:]):
              (-[WebCoreBridge smartDeleteRangeForProposedRange:]):
              (-[WebCoreBridge dragCaretDOMRange]):
              (-[WebCoreBridge editableDOMRangeForPoint:]):
              (-[WebCoreBridge rangeOfCharactersAroundCaret]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a76dc44
  25. 15 Apr, 2005 1 commit
  26. 13 Dec, 2004 1 commit
    • darin's avatar
      Reviewed by Ken. · ee6da9d3
      darin authored
              - moved markup-related functions into new sources files in the editing directory
              - removed all of the uses of dynamic_cast, preparing to turn off RTTI to make our code smaller and slightly faster
      
              * ForwardingHeaders/editing/markup.h: Added.
              * khtml/editing/markup.h: Added.
              * khtml/editing/markup.cpp: Added.
      
              * WebCore.pbproj/project.pbxproj: Added markup.h/cpp.
      
              * khtml/dom/dom_node.cpp: (Node::toHTML): Call createMarkup since there's no toHTML in NodeImpl any more.
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::innerHTML): Changed to call createMarkup.
              (HTMLElementImpl::outerHTML): Ditto.
      
              * khtml/ecma/kjs_window.cpp:
              (Window::retrieveWindow): Comment out assert that uses dynamic_cast.
              (Window::retrieveActive): Ditto.
      
              * khtml/editing/htmlediting.h: Added forward class declaration needed now that I removed one elsewhere.
              * khtml/xml/dom_docimpl.h: Ditto.
      
              * khtml/khtml_part.cpp:
              (KHTMLPart::slotDebugDOMTree): Use createMarkup instead of toHTML.
              (KHTMLPart::processObjectRequest): Use inherits instead of dynamic_cast.
      
              * khtml/rendering/render_image.cpp: (RenderImage::paint): Add an explicit QChar conversion so this code
              still works even with the additional replace overloads added to QString.
              * kwq/KWQTextCodec.mm: (QTextCodec::fromUnicode): Ditto.
      
              * khtml/rendering/render_object.h: Removed the version of arenaDelete that does not take an object
              base pointer, because it used dynamic_cast in its implementation. Made the other version public.
              * khtml/rendering/render_object.cpp: Ditto.
              * khtml/rendering/render_replaced.cpp: (RenderWidget::deref): Pass object base pointer to arenaDelete.
      
              * khtml/xml/dom2_rangeimpl.h: Removed extra parameters from toHTML, and unneeded includes and declarations.
              * khtml/xml/dom2_rangeimpl.cpp: (DOM::RangeImpl::toHTML): Changed to call createMarkup, and moved all
              the support code into markup.cpp.
      
              * khtml/xml/dom_nodeimpl.h: Moved toHTML and related functions into markup.cpp.
              * khtml/xml/dom_nodeimpl.cpp: Ditto.
      
              * khtml/xml/dom_position.cpp:
              (DOM::startPosition): Implemented the version of this that takes a RangeImpl. Also added null checks
              so these return null positions rather than raising exceptions.
              (DOM::endPosition): Ditto.
      
              * khtml/khtmlview.h: Added an APPLE_CHANGES function so inherits can detect this class without dynamic_cast.
              * kwq/KWQFrame.h: Ditto.
              * kwq/KWQFrame.mm: (QFrame::isQFrame): Ditto.
              * kwq/KWQKPartsPart.h: Ditto.
              * kwq/KWQKPartsPart.mm: (KParts::ReadOnlyPart::isKPartsReadOnlyPart): Ditto.
              * kwq/KWQScrollView.h: Ditto.
              * kwq/KWQScrollView.mm: (QScrollView::isQScrollView): Ditto.
              * kwq/KWQKHTMLPart.h: Ditto.
              * kwq/KWQKHTMLPart.mm:
              (KHTMLView::isKHTMLView): Ditto.
              (KWQKHTMLPart::setTitle): Added an explicit QChar conversion so this code still works even with the additional
              replace overloads added to QString.
              (KWQKHTMLPart::setStatusBarText): Ditto.
              (KWQKHTMLPart::runJavaScriptAlert): Ditto.
              (KWQKHTMLPart::runJavaScriptConfirm): Ditto.
              (KWQKHTMLPart::runJavaScriptPrompt): Ditto.
              (KWQKHTMLPart::attributedString): Ditto.
              (KWQKHTMLPart::isCharacterSmartReplaceExempt): Ditto.
              (KWQKHTMLPart::isKHTMLPart): That dynamic_cast thing (see above).
      
              * kwq/KWQObject.h: Added virtual methods for the few cases where we need dynamic_cast-like behavior.
              * kwq/KWQObject.mm:
              (QObject::inherits): Changed to not use dynamic cast.
              (QObject::isKHTMLPart): Added. Returns false.
              (QObject::isKHTMLView): Ditto.
              (QObject::isKPartsReadOnlyPart): Ditto.
              (QObject::isQFrame): Ditto.
              (QObject::isQScrollView): Ditto.
      
              * kwq/KWQRenderTreeDebug.cpp:
              (write): Changed to use inherits rather than dynamic_cast.
              (writeSelection): Ditto.
      
              * kwq/KWQSlot.mm: (KWQSlot::call): Call through to the version with just a job pointer parameter rather
              than going straight on to the "no parameters at all" version.
      
              * kwq/KWQString.h:
              * kwq/KWQString.mm: (QString::replace): Added overloads.
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge markupStringFromNode:nodes:]): Changed to call functions in markup.h.
              (-[WebCoreBridge markupStringFromRange:nodes:]): Ditto.
              (-[WebCoreBridge selectedString]): Added an explicit QChar conversion so this code still works even with
              the additional replace overloads added to QString.
              (-[WebCoreBridge stringForRange:]): Ditto.
              (-[WebCoreBridge copyDOMNode:copier:]): Changed to call functions in markup.h.
              (-[WebCoreBridge elementAtPoint:]): QChar conversion.
              (-[WebCoreBridge documentFragmentWithMarkupString:baseURLString:]): Changed to call functions in markup.h.
              (-[WebCoreBridge documentFragmentWithText:]): Changed to call functions in markup.h.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@8198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee6da9d3
  27. 17 Nov, 2004 1 commit
    • hyatt's avatar
      Improve responsiveness by being willing to break out of the tokenizer. (This... · effa5726
      hyatt authored
      	Improve responsiveness by being willing to break out of the tokenizer.  (This patch was landed already
      	and subsequently backed out).
      
              Reviewed by kocienda
      
              * khtml/html/html_baseimpl.cpp:
              (HTMLBodyElementImpl::insertedIntoDocument):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::reset):
              (khtml::HTMLTokenizer::scriptHandler):
              (khtml::HTMLTokenizer::scriptExecution):
              (khtml::HTMLTokenizer::write):
              (khtml::HTMLTokenizer::continueProcessing):
              (khtml::HTMLTokenizer::timerEvent):
              (khtml::HTMLTokenizer::notifyFinished):
              * khtml/html/htmltokenizer.h:
              * khtml/khtmlview.cpp:
              (KHTMLViewPrivate::KHTMLViewPrivate):
              (KHTMLViewPrivate::reset):
              (KHTMLView::clear):
              (KHTMLView::layout):
              (KHTMLView::timerEvent):
              (KHTMLView::scheduleRelayout):
              (KHTMLView::layoutPending):
              (KHTMLView::haveDelayedLayoutScheduled):
              (KHTMLView::unscheduleRelayout):
              * khtml/khtmlview.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::DocumentImpl):
              (DocumentImpl::close):
              (DocumentImpl::setParsing):
              (DocumentImpl::shouldScheduleLayout):
              (DocumentImpl::minimumLayoutDelay):
              (DocumentImpl::write):
              (DocumentImpl::finishParsing):
              (DocumentImpl::stylesheetLoaded):
              (DocumentImpl::updateStyleSelector):
              * khtml/xml/dom_docimpl.h:
              (DOM::DocumentImpl::parsing):
              * kwq/KWQDateTime.mm:
              (KWQUIEventTime::uiEventPending):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@8031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      effa5726
  28. 23 Sep, 2004 1 commit
    • rjw's avatar
      Fixed <rdar://problem/3813271> dashboard-region-circle and... · fad119dc
      rjw authored
      	Fixed <rdar://problem/3813271> dashboard-region-circle and dashboard-region-rectangle should be collapsed into dashboard-region
      	Fixed <rdar://problem/3813289> dashboard regions need to correctly account for overflow/scrolling
      
              Reviewed by Chris.
      
              * khtml/css/css_valueimpl.cpp:
              (CSSPrimitiveValueImpl::cssText):
              * khtml/css/css_valueimpl.h:
              * khtml/css/cssparser.cpp:
              (CSSParser::parseValue):
              (skipCommaInDashboardRegion):
              (CSSParser::parseDashboardRegions):
              * khtml/khtmlview.cpp:
              (KHTMLView::layout):
              (KHTMLView::updateDashboardRegions):
              * khtml/khtmlview.h:
              * khtml/rendering/render_layer.cpp:
              (RenderLayer::scrollToOffset):
              * khtml/rendering/render_object.cpp:
              (RenderObject::addDashboardRegions):
              * khtml/rendering/render_object.h:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::dashboardRegionsChanged):
              * kwq/WebDashboardRegion.h:
              * kwq/WebDashboardRegion.m:
              (-[WebDashboardRegion initWithRect:clip:type:]):
              (-[WebDashboardRegion dashboardRegionClip]):
              (-[WebDashboardRegion description]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fad119dc
  29. 16 Aug, 2004 1 commit
    • hyatt's avatar
      Land initial support for XSLT using xml-stylesheet PIs. · 2d69434e
      hyatt authored
              * WebCore.pbproj/project.pbxproj:
              * khtml/khtml_part.cpp:
              (KHTMLPart::replaceDocImpl):
              * khtml/khtml_part.h:
              * khtml/khtmlview.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::DocumentImpl):
              (DocumentImpl::~DocumentImpl):
              (DocumentImpl::recalcStyleSelector):
              (DocumentImpl::applyXSLTransform):
              (DocumentImpl::setTransformSourceDocument):
              * khtml/xml/dom_docimpl.h:
              (DOM::DocumentImpl::setTransformSource):
              (DOM::DocumentImpl::transformSource):
              (DOM::DocumentImpl::transformSourceDocument):
              * khtml/xml/dom_xmlimpl.cpp:
              (DOM::ProcessingInstructionImpl::checkStyleSheet):
              * khtml/xml/dom_xmlimpl.h:
              (DOM::ProcessingInstructionImpl::isXSL):
              * khtml/xml/xml_tokenizer.cpp:
              (khtml::matchFunc):
              (khtml::openFunc):
              (khtml::createQStringParser):
              (khtml::XMLTokenizer::processingInstruction):
              (khtml::XMLTokenizer::finish):
              (khtml::XMLTokenizer::setTransformSource):
              * khtml/xml/xml_tokenizer.h:
              (khtml::Tokenizer::setTransformSource):
              * khtml/xml/xsl_stylesheetimpl.cpp: Removed.
              * khtml/xml/xsl_stylesheetimpl.h: Removed.
              * khtml/xsl/xsl_stylesheetimpl.cpp: Added.
              (DOM::XSLStyleSheetImpl::XSLStyleSheetImpl):
              (DOM::XSLStyleSheetImpl::~XSLStyleSheetImpl):
              (DOM::XSLStyleSheetImpl::isLoading):
              (DOM::XSLStyleSheetImpl::checkLoaded):
              (DOM::XSLStyleSheetImpl::docLoader):
              (DOM::XSLStyleSheetImpl::parseString):
              * khtml/xsl/xsl_stylesheetimpl.h: Added.
              (DOM::XSLStyleSheetImpl::isXSLStyleSheet):
              (DOM::XSLStyleSheetImpl::type):
              (DOM::XSLStyleSheetImpl::ownerDocument):
              (DOM::XSLStyleSheetImpl::document):
              (DOM::XSLStyleSheetImpl::clearDocument):
              * khtml/xsl/xslt_processorimpl.cpp: Added.
              (DOM::m_sourceDocument):
              (DOM::XSLTProcessorImpl::~XSLTProcessorImpl):
              (DOM::XSLTProcessorImpl::transformDocument):
              (DOM::bufferWrite):
              (DOM::XSLTProcessorImpl::addToResult):
              (DOM::XSLTProcessorImpl::documentFromXMLDocPtr):
              * khtml/xsl/xslt_processorimpl.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d69434e
  30. 24 Jun, 2004 1 commit
    • trey's avatar
      3679986 - screenX and screenY are flipped and relative to the bottom left of... · 45ab4654
      trey authored
      	3679986 - screenX and screenY are flipped and relative to the bottom left of the WebView, rather than the screen
      	3699510 - synthesized click events have bogus screen coords
      
              Reviewed by Darin.
      
              * khtml/khtmlview.cpp:
              (KHTMLView::dispatchDragEvent):  Generate screen coords for drag events using new func.
              (KHTMLView::dispatchMouseEvent):   Ditto.
              * khtml/khtmlview.h:
              * khtml/xml/dom_nodeimpl.cpp:
              (NodeImpl::dispatchMouseEvent):  Comment tricky semantics.
      	Calc screen coords in apple-specific way.
              * kwq/KWQKHTMLView.mm:
              (KHTMLView::viewportToGlobal):  Passthrough to window widget.
              * kwq/KWQScrollView.mm:
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::mapToGlobal):  Call former code factored to new method below.
              (KWQWindowWidget::viewportToGlobal):  New method to convert "viewport" (which for us
      	really means NSWindow coords) to screen coords.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45ab4654
  31. 27 May, 2004 1 commit
    • trey's avatar
      WebCore: · 1790581e
      trey authored
       	First cut at DHTML dragging, destination side.  Dragging text, files
              and URLs onto elements works.  Type conversion from NSPasteboard to
      	MIME types is hardwired.  No JS access yet to modifier keys, or
      	drag operations mask.
      
      	Per IE's dragging API, we have the new DOM events ondragenter,
      	ondragover, ondragleave and ondrop.
      	We also have an event.dataTransfer object providing access to the
      	NSPasteboard bearing the incoming data.
      
              Reviewed by rjw.
      
              * WebCore.pbproj/project.pbxproj:  add 2 new files.
              * khtml/ecma/kjs_dom.cpp:
              (DOMNode::getValueProperty):  JS access to ondragenter and pals
              (DOMNode::putValue):  Ditto
              * khtml/ecma/kjs_dom.h:
              (KJS::DOMNode::):  New attr enum values.
              * khtml/ecma/kjs_dom.lut.h:
              (KJS::):
              * khtml/ecma/kjs_events.cpp:
              (DOMMouseEvent::mark):  Pass along mark to dataTransfer we hold.
              (DOMMouseEvent::getValueProperty):  Create and return dataTransfer.
              (Clipboard::Clipboard):  New class exposed in JS.
              (Clipboard::~Clipboard):
              (Clipboard::tryGet):  Boilerplate.
              (Clipboard::getValueProperty):  Return the clipboard's props.
              (Clipboard::tryPut):  Boilerplate.
              (Clipboard::putValue):  Set the clipboard's props.
              (ClipboardProtoFunc::tryCall): Implement clipboard's funcs.
              * khtml/ecma/kjs_events.h:
              (KJS::DOMMouseEvent::DOMMouseEvent):  Init clipboard ptr.
              (KJS::DOMMouseEvent::):
              (KJS::Clipboard::toBoolean):
              (KJS::Clipboard::classInfo):
              (KJS::Clipboard::):
              * khtml/ecma/kjs_events.lut.h:
              (KJS::):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::parseHTMLAttribute):  Enable setting ondragenter
      	and friends as html attributes.
              * khtml/khtmlview.cpp:
              (KHTMLView::dispatchDragEvent):  Send a drag related event to the DOM.
              (KHTMLView::updateDragAndDrop):  Handle a dragenter or dragupdate.
              (KHTMLView::cancelDragAndDrop):  Handle a dragexit.
              (KHTMLView::performDragAndDrop):  Handle an actual drop.
              * khtml/khtmlview.h:
              * khtml/misc/htmlattrs.c:  Generated code.
              * khtml/misc/htmlattrs.h:  Generated code.
              * khtml/misc/htmlattrs.in:  Add ondragenter, etc
              * khtml/xml/dom2_eventsimpl.cpp:
              (EventImpl::typeToId):  Handle new event types for dragging.
              (EventImpl::idToType):  Ditto.
              (MouseEventImpl::MouseEventImpl):  Init new clipboard ptr.
              (MouseEventImpl::~MouseEventImpl):  Deref clipboard.
              (ClipboardImpl::ClipboardImpl):
              (ClipboardImpl::~ClipboardImpl):
              * khtml/xml/dom2_eventsimpl.h:
              (DOM::EventImpl::):  New event enums.
              (DOM::MouseEventImpl::clipboard):
              * kwq/KWQClipboard.h: Added.
              * kwq/KWQClipboard.mm: Added.
              (KWQClipboard::KWQClipboard):
              (KWQClipboard::~KWQClipboard):
              (KWQClipboard::isForDragging): Trivial getter/setters.
              (KWQClipboard::dropEffect):
              (KWQClipboard::setDropEffect):
              (KWQClipboard::dropAllowed):
              (KWQClipboard::setDropAllowed):
              (cocoaTypeFromMIMEType):  Convert MIME pboard type to Cocoa type.
              (KWQClipboard::clearData):  OSX specific clipboard impl. of IE func
              (KWQClipboard::clearAllData):   Ditto
              (KWQClipboard::getData): Ditto
              (KWQClipboard::setData): Ditto
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge dragOperationForDraggingInfo:]):  Passthrough from WebKit to khtmlpart
              (-[WebCoreBridge dragExitedWithDraggingInfo:]):  Ditto
              (-[WebCoreBridge concludeDragForDraggingInfo:]): Ditto
      
      WebKit:
      
      	First cut at DHTML dragging, destination side.  Dragging text, files and URLs onto
      	elements works.  Type conversion from NSPasteboard to MIME types is hardwired.
      	No JS access yet to modifier keys, or operations mask.
      
              Reviewed by Chris.
      
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView draggingUpdatedWithDraggingInfo:]): Call DHTML dragging via bridge.
              (-[WebHTMLView draggingCancelledWithDraggingInfo:]): Ditto.
              (-[WebHTMLView concludeDragForDraggingInfo:]): Ditto.
              * WebView.subproj/WebHTMLViewPrivate.h:
              * WebView.subproj/WebView.m:
              (-[WebView _setWebKitDragRespondsToDragging:]):  New SPI for finer grained control than the
      	delegate currently has.
              (-[WebView _webKitDragRespondsToDragging]): Ditto.
              (-[WebView _commonInitializationWithFrameName:groupName:]):  Init new flag.
              (-[WebView _dragOperationForDraggingInfo:]):  Comment.
              * WebView.subproj/WebViewPrivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1790581e
  32. 23 May, 2004 1 commit
    • darin's avatar
      Reviewed by Ken. · fb958e8b
      darin authored
              - went through things marked "unimplemented" or "not implemented" and removed
                or implemented as many as possible
      
              * kwq/DOM.mm: (-[DOMNode dispatchEvent:]): Implemented.
              Also moved DOMAbstractView and DOMDocumentView into DOMViews.mm.
              * kwq/DOM-CSS.mm: (-[DOMDocument getComputedStyle::]): Implemented.
      
              * kwq/DOMEventsInternal.h: Added.
              * kwq/DOMEvents.mm:
              (-[DOMEvent type]): Implemented.
              (-[DOMEvent target]): Implemented.
              (-[DOMEvent currentTarget]): Implemented.
              (-[DOMEvent eventPhase]): Implemented.
              (-[DOMEvent bubbles]): Implemented.
              (-[DOMEvent cancelable]): Implemented.
              (-[DOMEvent timeStamp]): Implemented.
              (-[DOMEvent stopPropagation]): Implemented.
              (-[DOMEvent preventDefault]): Implemented.
              (-[DOMEvent initEvent:::]): Implemented.
              (-[DOMEvent _eventImpl]): Added.
              (-[DOMEvent _initWithEventImpl:]): Added.
              (+[DOMEvent _eventWithImpl:]): Added.
              (-[DOMMouseEvent _mouseEventImpl]): Added.
              (-[DOMMouseEvent screenX]): Implemented.
              (-[DOMMouseEvent screenY]): Implemented.
              (-[DOMMouseEvent clientX]): Implemented.
              (-[DOMMouseEvent clientY]): Implemented.
              (-[DOMMouseEvent ctrlKey]): Implemented.
              (-[DOMMouseEvent shiftKey]): Implemented.
              (-[DOMMouseEvent altKey]): Implemented.
              (-[DOMMouseEvent metaKey]): Implemented.
              (-[DOMMouseEvent button]): Implemented.
              (-[DOMMouseEvent relatedTarget]): Implemented.
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]): Implemented.
              (-[DOMMutationEvent _mutationEventImpl]): Added.
              (-[DOMMutationEvent relatedNode]): Implemented.
              (-[DOMMutationEvent prevValue]): Implemented.
              (-[DOMMutationEvent newValue]): Implemented.
              (-[DOMMutationEvent attrName]): Implemented.
              (-[DOMMutationEvent attrChange]): Implemented.
              (-[DOMMutationEvent initMutationEvent::::::::]):
              (-[DOMUIEvent _UIEventImpl]): Added.
              (-[DOMUIEvent view]): Implemented.
              (-[DOMUIEvent detail]): Implemented.
              (-[DOMUIEvent initUIEvent:::::]): Implemented.
              (-[DOMDocument createEvent:]): Implemented.
      
              * kwq/DOMHTMLInternal.h: Added.
              * kwq/DOMHTML.mm:
              (+[DOMHTMLOptionsCollection _optionsCollectionWithImpl:]): Added.
              (-[DOMHTMLOptionsCollection length]): Implemented.
              (-[DOMHTMLOptionsCollection setLength:]): Implemented.
              (-[DOMHTMLOptionsCollection item:]): Implemented.
              (-[DOMHTMLOptionsCollection namedItem:]): Implemented.
              (-[DOMHTMLSelectElement options]): Implemented.
      
              * kwq/DOMViews.h: Changed DOMDocumentView to be a category on DOMDocument
              rather than a separate class.
              * kwq/DOMViewsInternal.h: Added.
              * kwq/DOMViews.mm: Added.
              (-[DOMAbstractView document]): Implemnted.
              (-[DOMAbstractView _abstractViewImpl]): Added.
              (-[DOMAbstractView _initWithAbstractViewImpl:]): Added.
              (+[DOMAbstractView _abstractViewWithImpl:]): Added.
              (-[DOMDocument defaultView]): Implemented.
      
              * khtml/dom/dom2_views.h: Made AbstractView constructor public to allow creation in
              the bindings. Would not be necessary if the impl classes were used consistently.
      
              * khtml/html/html_formimpl.h: Added options() function to HTMLSelectElementImpl.
              Added HTMLOptionsCollectionImpl class.
              * khtml/html/html_formimpl.cpp:
              (HTMLSelectElementImpl::~HTMLSelectElementImpl): Added code to detach and deref the
              options collection.
              (HTMLSelectElementImpl::options): Create an options collection if needed.
              (HTMLOptionsCollectionImpl::length): Added. Not yet implemented.
              (HTMLOptionsCollectionImpl::setLength): Ditto.
              (HTMLOptionsCollectionImpl::item): Ditto.
              (HTMLOptionsCollectionImpl::namedItem): Ditto.
      
              * khtml/khtmlview.h: Move unused focusNextPrevChild virtual function inside !APPLE_CHANGES.
              * khtml/khtmlview.cpp: Put the tp, paintBuffer, and formCompletions fields entirely
              inside !APPLE_CHANGES. Also made QT_NO_TOOLTIP entirely disable the tooltip field.
              Also put focusNextPrevChild and formCompletionItems functions inside !APPLE_CHANGES.
      
              * khtml/rendering/render_text.h: Removed unused isFixedWidthFont member function.
              * khtml/rendering/render_text.cpp: Ditto.
      
              * kwq/KWQCursor.h: Removed unused pos member function.
              * kwq/KWQCursor.mm: Ditto.
      
              * kwq/KWQFontMetrics.h: Removed unused rightBearing and leftBearing member functions.
              * kwq/KWQFontMetrics.mm: Ditto.
      
              * kwq/KWQKComboBox.h: Removed KCompletionBase as a base class.
      
              * kwq/KWQKConfigBase.h: Removed unused readBoolEntry, writeEntry, and readListEntry
              member functions.
              * kwq/KWQKConfigBase.mm: Ditto.
              (KConfig::readEntry): Improved "not implemented" message to indicate which key is uinimplemented.
              (KConfig::readNumEntry): Ditto.
              (KConfig::readUnsignedNumEntry): Ditto.
      
              * kwq/KWQKLineEdit.h: Removed everything, since all the KLineEdit stuff was unused.
              Changed KLineEdit to just be a typedef for QLineEdit.
      
              * kwq/KWQSlot.mm: Removed slotAutoScroll.
              (KWQSlot::KWQSlot): And from here.
              (KWQSlot::call): And from here.
      
              * kwq/KWQTextStream.h: Removed unused QTextOStream and QTextIStream.
              * kwq/KWQTextStream.mm: Removed unused QTextIStream function. Also made buffer sizes larger
              so we don't have any problems on 64-bit systems. 10 bytes might not be long enough to sprintf an
              integer or a long or a pointer, but 100 bytes surely will.
      
              * kwq/KWQWidget.h: Removed unused focusNextPrevChild.
              * kwq/KWQWidget.mm: Ditto.
      
              * WebCore.pbproj/project.pbxproj: Removed some files, added others.
      
              * ForwardingHeaders/kcompletionbox.h: Emptied out, no KWQKCompletionBox.h any more.
              * ForwardingHeaders/kiconloader.h: Emptied out, no KWQKIconLoader.h any more.
              * ForwardingHeaders/kmimetype.h: Emptied out, no KWQKMimeType.h any more.
              * ForwardingHeaders/ksimpleconfig.h: Emptied out, no KWQKSimpleConfig.h any more.
              * ForwardingHeaders/qfontinfo.h: Emptied out, no KWQFontInfo.h any more.
              * ForwardingHeaders/qtooltip.h: Replaced with define of QT_NO_TOOLTIP, no
              KWQToolTip.h any more.
      
              * kwq/KWQCompletion.h: Removed.
              * kwq/KWQCompletion.mm: Removed.
              * kwq/KWQFontInfo.h: Removed.
              * kwq/KWQFontInfo.mm: Removed.
              * kwq/KWQKCompletionBox.h: Removed.
              * kwq/KWQKIconLoader.h: Removed.
              * kwq/KWQKIconLoader.mm: Removed.
              * kwq/KWQKMimeType.h: Removed.
              * kwq/KWQKMimeType.mm: Removed.
              * kwq/KWQKSimpleConfig.h: Removed.
              * kwq/KWQKSimpleConfig.mm: Removed.
              * kwq/KWQToolTip.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb958e8b
  33. 20 May, 2004 1 commit
    • darin's avatar
      WebCore: · 849ae734
      darin authored
              Reviewed by Chris.
      
              - fixed <rdar://problem/3662383>: (REGRESSION: drag slide-back sometimes causes link to load)
              - fixed <rdar://problem/3662556>: (REGRESSION: letting up mouse while dragging over link activates the link)
      
              * khtml/khtmlview.h: Added invalidateClick.
              * khtml/khtmlview.cpp: (KHTMLView::invalidateClick): Added. Sets clickCount to 0.
      
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::matchLabelsAgainstElement): Changed a string replace to a character replace for slightly
              faster code and smaller code size.
              (KWQKHTMLPart::khtmlMouseMoveEvent): Call invalidateClick at the appropriate times. To do this correctly,
              had to add a boolean result to handleMouseDragged: so I can tell if a drag started or not (due to hysteresis).
              (KWQKHTMLPart::attributedString): Changed a string append to a character append for slightly faster code
              and smaller code size.
      
              * kwq/WebCoreBridge.h: Added BOOL result to handleMouseDragged:.
      
              Reviewed by Dave.
      
              - handle rules with empty bodies properly
      
              * khtml/css/parser.y: Remove bogus check for empty body that prevents the rule
              from being created.
              * khtml/css/parser.cpp: Regenerated.
      
      WebKit:
      
              Reviewed by Chris.
      
              - fixed <rdar://problem/3662383>: (REGRESSION: drag slide-back sometimes causes link to load)
      
              * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge handleMouseDragged:]):
              Added BOOL result to handleMouseDragged:.
              * WebView.subproj/WebHTMLViewPrivate.h: Added BOOL result to _handleMouseDragged:.
      
              * WebView.subproj/WebHTMLView.m: (-[WebHTMLView _handleMouseDragged:]): Added BOOL result,
              returning YES when the drag started, and no when the hysteresis has not yet been overcome.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      849ae734
  34. 18 May, 2004 2 commits
    • hyatt's avatar
      Add two new attributes for accessibility that can be polled by the screen... · 5621ca53
      hyatt authored
      	Add two new attributes for accessibility that can be polled by the screen reader.  AXLayoutCount indicates
      	the number of layouts that have occurred, and AXLoaded indicates whether or not a page has finished loading.
      
              * khtml/khtmlview.cpp:
              (KHTMLViewPrivate::reset):
              (KHTMLView::layoutCount):
              (KHTMLView::layout):
              * khtml/khtmlview.h:
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject roleDescription]):
              (-[KWQAccObject accessibilityAttributeNames]):
              (-[KWQAccObject accessibilityAttributeValue:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5621ca53
    • hyatt's avatar
      WebCore: · b478f409
      hyatt authored
      	Improve layout scheduling and add instrumentation for debugging layout scheduling
      
              Reviewed by kocienda
      
              * khtml/khtml_part.cpp:
              (KHTMLPart::slotFinishedParsing):
              (KHTMLPart::checkCompleted):
              * khtml/khtmlview.cpp:
              (KHTMLViewPrivate::KHTMLViewPrivate):
              (KHTMLViewPrivate::reset):
              (KHTMLView::layout):
              (KHTMLView::scheduleRelayout):
              (KHTMLView::haveDelayedLayoutScheduled):
              (KHTMLView::unscheduleRelayout):
              * khtml/khtmlview.h:
              * khtml/rendering/render_object.cpp:
              (RenderObject::repaintAfterLayoutIfNeeded):
              * khtml/rendering/render_replaced.cpp:
              (RenderWidget::updateWidgetPositions):
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::DocumentImpl):
              (DocumentImpl::close):
              (DocumentImpl::setParsing):
              (DocumentImpl::shouldScheduleLayout):
              (DocumentImpl::minimumLayoutDelay):
              (DocumentImpl::elapsedTime):
              (DocumentImpl::finishParsing):
              (DocumentImpl::updateStyleSelector):
              * khtml/xml/dom_docimpl.h:
              (DOM::DocumentImpl::allDataReceived):
              * kwq/KWQDateTime.h:
              * kwq/KWQDateTime.mm:
              (QTime::elapsed):
              * kwq/KWQWidget.mm:
              (QWidget::setFrameGeometry):
      
      WebKit:
      
      	Improve layout scheduling.
      
              Reviewed by kocienda
      
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _transitionToLayoutAcceptable]):
              (-[WebFrame _checkLoadCompleteForThisFrame]):
              * WebView.subproj/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation finishedLoadingWithDataSource:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b478f409
  35. 09 Apr, 2004 1 commit
    • darin's avatar
      WebCore: · c607fd45
      darin authored
              Reviewed by Ken.
      
              - added "transparent mode"
      
              * khtml/khtmlview.h: Added isTransparent and setTransparent functions.
              * khtml/khtmlview.cpp:
              (KHTMLViewPrivate::KHTMLViewPrivate): Initialize isTransparent to false.
              (KHTMLView::isTransparent): Return isTransparent.
              (KHTMLView::setTransparent): Set isTransparent.
      
              * khtml/rendering/render_box.cpp:
              (RenderBox::paintRootBoxDecorations): Use slow repaints for the top frame when the view
              is transparent; also don't draw a background. This is the same thing we do for subframes.
              (RenderBox::paintBackgroundExtended): Don't do the extra draw so we can blend with the
              background color for the top frame when the view is transparent.
              * khtml/rendering/render_canvas.cpp: (RenderCanvas::paintBoxDecorations): More of the same.
      
              * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::paint): Make "fill with red" debug mode work only
              when the view is not transparent.
      
              * kwq/WebCoreBridge.h: Added setDrawsBackground: method.
              * kwq/WebCoreBridge.mm: (-[WebCoreBridge setDrawsBackground:]): If told NO
              (don't draw background), then set isTransparent to true on the KHTMLView.
      
      WebKit:
      
              Reviewed by Ken.
      
              - added "transparent mode"
      
              * WebView.subproj/WebFrameInternal.h: Added. Contains _updateDrawsBackground.
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _makeDocumentView]): Call _updateDrawsBackground to tell the newly created
              KHTMLView whether to draw a background or not.
              (-[WebFrame _setState:]): Don't tell the scroll view to start drawing background if the
              WebView is not supposed to draw a background.
              (-[WebFrame _updateDrawsBackground]): Call setDrawsBackground: on the bridge, and do the
              same for all subframes.
      
              * WebView.subproj/WebFrameView.m: (-[WebFrameView setFrameSize:]): Only call setDrawsBackground:YES
              on the scroll view if the WebView has drawsBackground set to YES.
      
              * WebView.subproj/WebViewPrivate.h: Added new proposed API, setDrawsBackground and drawsBackground.
              Also added drawsBackground boolean to private structure.
              * WebView.subproj/WebView.m:
              (-[WebView _commonInitializationWithFrameName:groupName:]): Set drawsBackground to YES by default.
              (-[WebView setDrawsBackground:]): Added. Sets boolean and calls _updateDrawsBackground to update
              the flag for each frame.
              (-[WebView drawsBackground]): Added. Returns value of boolean.
              (-[WebView _bridgeForCurrentSelection]): Tweaked comment for no good reason.
      
              * WebView.subproj/WebViewInternal.h: Added, but empty for the moment.
              * WebView.subproj/WebFramePrivate.h: Tweaked a bit.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c607fd45
  36. 23 Feb, 2004 1 commit
    • hyatt's avatar
      Fix for 3558717, make sure that form elements that are removed from a... · 0c3a9867
      hyatt authored
      	Fix for 3558717, make sure that form elements that are removed from a document also remove themselves
      	from the form.
      
      	Reviewed by darin.
      
              * khtml/html/html_formimpl.cpp:
              (HTMLGenericFormElementImpl::removedFromDocument):
              * khtml/html/html_formimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
      
      	Implement smarter line layout for faster typing and repainting when individual lines change.
      
      	Reviewed by kocienda.
      
      	* khtml/khtmlview.cpp:
              (KHTMLViewPrivate::KHTMLViewPrivate):
              (KHTMLViewPrivate::~KHTMLViewPrivate):
              (KHTMLViewPrivate::reset):
              (KHTMLView::addRepaintInfo):
              (KHTMLView::layout):
              * khtml/khtmlview.h:
              * khtml/rendering/bidi.cpp:
              (khtml::Bidinext):
              (khtml::appendRun):
              (khtml::embed):
              (khtml::RenderBlock::constructLine):
              (khtml::RenderBlock::computeHorizontalPositionsForLine):
              (khtml::RenderBlock::computeVerticalPositionsForLine):
              (khtml::RenderBlock::bidiReorderLine):
              (khtml::buildCompactRuns):
              (khtml::RenderBlock::layoutInlineChildren):
              (khtml::RenderBlock::determineStartPosition):
              (khtml::RenderBlock::determineEndPosition):
              (khtml::RenderBlock::matchedEndLine):
              (khtml::RenderBlock::findNextLineBreak):
              * khtml/rendering/render_block.cpp:
              (khtml:::RenderFlow):
              (khtml::RenderBlock::layoutBlock):
              (khtml::RenderBlock::layoutBlockChildren):
              (khtml::RenderBlock::positionNewFloats):
              (khtml::RenderBlock::lowestPosition):
              (khtml::RenderBlock::rightmostPosition):
              (khtml::RenderBlock::leftmostPosition):
              * khtml/rendering/render_block.h:
              (khtml::RenderBlock::firstRootBox):
              (khtml::RenderBlock::lastRootBox):
              (khtml::RenderBlock::setLinesAppended):
              (khtml::RenderBlock::linesAppended):
              * khtml/rendering/render_box.cpp:
              (RenderBox::dirtyLineBoxes):
              (RenderBox::deleteLineBoxWrapper):
              (RenderBox::setInlineBoxWrapper):
              * khtml/rendering/render_box.h:
              * khtml/rendering/render_br.cpp:
              (RenderBR::createInlineBox):
              (RenderBR::position):
              * khtml/rendering/render_br.h:
              * khtml/rendering/render_container.cpp:
              (RenderContainer::appendChildNode):
              (RenderContainer::insertChildNode):
              * khtml/rendering/render_flexbox.cpp:
              (khtml::RenderFlexibleBox::placeChild):
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::extractLineBox):
              (RenderFlow::attachLineBox):
              (RenderFlow::removeLineBox):
              (RenderFlow::dirtyLinesFromChangedChild):
              (RenderFlow::dirtyLineBoxes):
              (RenderFlow::createInlineBox):
              * khtml/rendering/render_flow.h:
              * khtml/rendering/render_line.cpp:
              (InlineBox::dirtyLineBoxes):
              (InlineBox::deleteLine):
              (InlineBox::extractLine):
              (InlineBox::attachLine):
              (InlineBox::adjustVerticalPosition):
              (InlineBox::root):
              (InlineBox::nextOnLineExists):
              (InlineBox::prevOnLineExists):
              (InlineFlowBox::removeChild):
              (InlineFlowBox::deleteLine):
              (InlineFlowBox::extractLine):
              (InlineFlowBox::attachLine):
              (InlineFlowBox::adjustVerticalPosition):
              (InlineFlowBox::verticallyAlignBoxes):
              (InlineFlowBox::adjustMaxAscentAndDescent):
              (RootInlineBox::adjustVerticalPosition):
              (RootInlineBox::childRemoved):
              * khtml/rendering/render_line.h:
              (khtml::InlineBox::m_extracted):
              (khtml::InlineBox::setExtracted):
              (khtml::InlineBox::object):
              (khtml::InlineBox::parent):
              (khtml::InlineBox::isDirty):
              (khtml::InlineBox::markDirty):
              (khtml::InlineFlowBox::prevFlowBox):
              (khtml::InlineFlowBox::nextFlowBox):
              (khtml::RootInlineBox::RootInlineBox):
              (khtml::RootInlineBox::nextRootBox):
              (khtml::RootInlineBox::prevRootBox):
              (khtml::RootInlineBox::setLineBreakInfo):
              (khtml::RootInlineBox::setLineBreakPos):
              (khtml::RootInlineBox::setBlockHeight):
              (khtml::RootInlineBox::setEndsWithBreak):
              (khtml::RootInlineBox::blockHeight):
              (khtml::RootInlineBox::endsWithBreak):
              (khtml::RootInlineBox::lineBreakObj):
              (khtml::RootInlineBox::lineBreakPos):
              * khtml/rendering/render_object.cpp:
              (RenderObject::repaintAfterLayoutIfNeeded):
              (RenderObject::repaintObjectsBeforeLayout):
              (RenderObject::dirtyLinesFromChangedChild):
              (RenderObject::createInlineBox):
              (RenderObject::dirtyLineBoxes):
              (RenderObject::setInlineBoxWrapper):
              (RenderObject::deleteLineBoxWrapper):
              * khtml/rendering/render_object.h:
              (khtml::RenderObject::RepaintInfo::m_repaintRect):
              * khtml/rendering/render_table.cpp:
              (RenderTableSection::layoutRows):
              * khtml/rendering/render_text.cpp:
              (InlineTextBox::deleteLine):
              (InlineTextBox::extractLine):
              (InlineTextBox::attachLine):
              (RenderText::RenderText):
              (RenderText::detach):
              (RenderText::extractTextBox):
              (RenderText::attachTextBox):
              (RenderText::removeTextBox):
              (RenderText::setTextWithOffset):
              (RenderText::setText):
              (RenderText::dirtyLineBoxes):
              (RenderText::createInlineBox):
              * khtml/rendering/render_text.h:
              (khtml::InlineTextBox::start):
              (khtml::InlineTextBox::end):
              (khtml::InlineTextBox::offsetRun):
              * khtml/xml/dom_textimpl.cpp:
              (CharacterDataImpl::setData):
              (CharacterDataImpl::appendData):
              (CharacterDataImpl::insertData):
              (CharacterDataImpl::deleteData):
              (CharacterDataImpl::replaceData):
              (TextImpl::splitText):
              * kwq/KWQRenderTreeDebug.cpp:
              (write):
      
      	RenderBlock contains two other fixes.  The first is a fix to rightmost/lowestPosition to properly add in
      	margins to floats.
      
      	Reviewed by mjs
      
      	The second fix is to repair a bug in block-level replaced elements with margins.  If the floats they moved to
      	dodge can fit in their margins, then they don't technically have to move at all.
      
      	Reviewed by john
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c3a9867
  37. 26 Jan, 2004 1 commit
    • hyatt's avatar
      Remove incremental repainting ifdef. · 83e9da81
      hyatt authored
              * khtml/khtmlview.h:
              * khtml/rendering/bidi.cpp:
              (khtml::RenderBlock::layoutInlineChildren):
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::layoutBlock):
              (khtml::RenderBlock::layoutBlockChildren):
              (khtml::RenderBlock::repaintObjectsBeforeLayout):
              (khtml::RenderBlock::positionNewFloats):
              * khtml/rendering/render_block.h:
              * khtml/rendering/render_box.cpp:
              (RenderBox::computeAbsoluteRepaintRect):
              (RenderBox::repaintDuringLayoutIfMoved):
              * khtml/rendering/render_box.h:
              * khtml/rendering/render_container.cpp:
              (RenderContainer::removeChildNode):
              * khtml/rendering/render_flexbox.cpp:
              (khtml::RenderFlexibleBox::layoutBlock):
              (khtml::RenderFlexibleBox::placeChild):
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::getAbsoluteRepaintRect):
              * khtml/rendering/render_image.cpp:
              (RenderImage::layout):
              * khtml/rendering/render_layer.cpp:
              (RenderLayer::RenderLayer):
              (RenderLayer::computeRepaintRects):
              (RenderLayer::updateLayerPositions):
              (RenderLayer::updateLayerPosition):
              (RenderLayer::paintLayer):
              * khtml/rendering/render_layer.h:
              (khtml::RenderLayer::relativePositionOffset):
              * khtml/rendering/render_object.cpp:
              (RenderObject::setNeedsLayout):
              (RenderObject::setChildNeedsLayout):
              (RenderObject::markContainingBlocksForLayout):
              (RenderObject::getAbsoluteRepaintRectIncludingFloats):
              (RenderObject::detach):
              (RenderObject::scheduleRelayout):
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_table.cpp:
              (RenderTable::layout):
              (RenderTableSection::layoutRows):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83e9da81