1. 01 Mar, 2006 3 commits
    • eseidel's avatar
      2006-03-01 Eric Seidel <eseidel@apple.com> · 8b133a92
      eseidel authored
              Reviewed by mjs.
      
              Fix win32 build, add IntRectWin and GraphicsContextCairo stub.
      
              * Viewer/ImageDocument.cpp:
              * Viewer/ImageMainFrame.cpp:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * platform/IntRect.h:
              * platform/cairo/GraphicsContextCairo.cpp: Added.
              * platform/win/TemporaryLinkStubs.cpp:
              (GraphicsContext::drawLineForText):
              (WebCore::GraphicsContext::fillRect):
              (WebCore::TransferJob::TransferJob):
              (GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::~GraphicsContext):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b133a92
    • mjs's avatar
      Rubber stamped by Hyatt. · e477fd62
      mjs authored
              - fix win32 build (and make dumprendertree run)
      
              * kwq/KWQComboBox.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (QTextEdit::selectionEnd):
              (Widget::~Widget):
              (GraphicsContext::beginTransparencyLayer):
              (QComboBox::populate):
              (GraphicsContext::drawConvexPolygon):
              (QFontMetrics::selectionRectForText):
              (GraphicsContext::setShadow):
              (GraphicsContext::clearFocusRing):
              (GraphicsContext::drawImageInRect):
              (KWQFileButton::setFilename):
              (KWQFileButton::focusPolicy):
              (KWQFileButton::frameGeometry):
              (QSlider::focusPolicy):
              (WebCore::GraphicsContext::font):
              (QTextEdit::setWritingDirection):
              (QFontMetrics::checkSelectionPoint):
              (QFontMetrics::isFixedPitch):
              (WebCore::TransferJob::addMetaData):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e477fd62
    • 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
  2. 28 Feb, 2006 3 commits
    • eseidel's avatar
      2006-02-28 Eric Seidel <eseidel@apple.com> · 69e537ce
      eseidel authored
              Reviewed by mjs.
      
              Fix spacing/style on several of the stubs.
              Reorganize stubs, separating empty stubs.
              Remove the abort from certain stubs blocking DRT.
              Add a virtual setView call to Frame baseclass.
      
              * bridge/mac/MacFrame.h: mark setView virtual
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::attach): remove no-renderer hack
              * page/Frame.cpp:
              (WebCore::Frame::view): fix spacing
              (WebCore::Frame::setView): added.
              * page/Frame.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (notImplemented): make break directly into debugger.
              Moved, modified several other stubs not mentioned here.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69e537ce
    • mjs's avatar
      Reviewed by Darin. · d5ce6095
      mjs authored
              - make win32 DumpRenderTree run without crashing
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7511
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/BrowserExtensionWin.h: Added.
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::FrameWin): Initialize browser
              extension and settings.
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::attach): Don't create renderers 
              for now.
              * dom/EventNames.cpp:
              (WebCore::EventNames::init): use placement new even when
              not avoiding static constructors.
              * khtml/html/htmlnames.cpp:
              (WebCore::HTMLNames::init): ditto
              * dom/QualifiedName.cpp:
              (WebCore::QualifiedName::init): ditto
              * dom/QualifiedName.h:
              (WebCore::QualifiedName::QualifiedName): Added default
              constructor but only in ifdef.
              * page/Frame.h:
              * platform/AtomicString.cpp:
              (WebCore::AtomicString::init): use placement new even when
              not avoiding static constructors
              * platform/StaticConstructors.h: don't initialize when
              not avoiding static constructors, just default construct
              and let initialization happen normally
              * platform/win/TemporaryLinkStubs.cpp: Stub out some more things
              (Cursor::~Cursor):
              (QFont::~QFont):
              (QFontMetrics::~QFontMetrics):
              (WebCore::FrameWin::restoreDocumentState):
              (WebCore::FrameWin::partClearedInBegin):
              (WebCore::FrameWin::createEmptyDocument):
              (WebCore::BrowserExtensionWin::getHistoryLength):
              (WebCore::BrowserExtensionWin::canRunModal):
              (WebCore::BrowserExtensionWin::openURLNotify):
              (WebCore::BrowserExtensionWin::canRunModalNow):
              (WebCore::BrowserExtensionWin::runModal):
              (WebCore::BrowserExtensionWin::goBackOrForward):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5ce6095
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 628e4cff
      eseidel authored
              Reviewed by mjs.
      
              Remove abort() from constructors to allow DRT to run.
      
              * platform/win/TemporaryLinkStubs.cpp:
              (QFont::QFont):
              (QFontMetrics::QFontMetrics):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      628e4cff
  3. 27 Feb, 2006 11 commits
    • mjs's avatar
      Reviewed by Darin. · b114cebb
      mjs authored
              - write a portable ICU version of TextEncoding::fromUnicode for use on win32
      
              * platform/StreamingTextDecoder.h:
              * platform/TextEncoding.cpp:
              (WebCore::TextEncoding::fromUnicode): added
              (WebCore::getConverter): helper
              (WebCore::cacheConverter): ditto
              (WebCore::effectiveEncoding): ditto
              * platform/mac/TextEncodingMac.cpp: Add comment
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::TextEncoding::fromUnicode): remove
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b114cebb
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 81bb3dc6
      eseidel authored
              Reviewed by darin.
      
              Add stub to make DRT link.
              Make WebCore copy libxml.dll into build directory when building.
      
              * WebCore.vcproj/WebCore/build-generated-files.sh:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::TextEncoding::fromUnicode):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81bb3dc6
    • mjs's avatar
      Rubber stamped by Eric. · 453ea90e
      mjs authored
              - add stubs for FrameWin overrides of pure virtual Frame methods
      
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::FrameWin::respondToChangedContents):
              (WebCore::FrameWin::unfocusWindow):
              (WebCore::FrameWin::locationbarVisible):
              (WebCore::FrameWin::respondToChangedSelection):
              (WebCore::FrameWin::clearUndoRedoOperations):
              (WebCore::FrameWin::issueRedoCommand):
              (WebCore::FrameWin::canRedo):
              (WebCore::FrameWin::restoreDocumentState):
              (WebCore::FrameWin::canUndo):
              (WebCore::FrameWin::overrideMediaType):
              (WebCore::FrameWin::saveDocumentState):
              (WebCore::FrameWin::print):
              (WebCore::FrameWin::issueCutCommand):
              (WebCore::FrameWin::issueCopyCommand):
              (WebCore::FrameWin::partClearedInBegin):
              (WebCore::FrameWin::issueUndoCommand):
              (WebCore::FrameWin::clearRecordedFormValues):
              (WebCore::FrameWin::issuePasteCommand):
              (WebCore::FrameWin::markedTextRange):
              (WebCore::FrameWin::shouldChangeSelection):
              (WebCore::FrameWin::scheduleClose):
              (WebCore::FrameWin::menubarVisible):
              (WebCore::FrameWin::personalbarVisible):
              (WebCore::FrameWin::createEmptyDocument):
              (WebCore::FrameWin::lastEventIsMouseUp):
              (WebCore::FrameWin::statusbarVisible):
              (WebCore::FrameWin::toolbarVisible):
              (WebCore::FrameWin::issueTransposeCommand):
              (WebCore::FrameWin::userAgent):
              (WebCore::FrameWin::canPaste):
              (WebCore::FrameWin::incomingReferrer):
              (WebCore::FrameWin::canGoBackOrForward):
              (WebCore::FrameWin::issuePasteAndMatchStyleCommand):
              (WebCore::FrameWin::handledOnloadEvents):
              (WebCore::FrameWin::generateFrameName):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      453ea90e
    • mjs's avatar
      Rubber stamped by Eric (sorta). · a8c585c2
      mjs authored
              - add return values where needed
      
              * platform/win/TemporaryLinkStubs.cpp:
              (KWQServeRequest):
              (KWQServeSynchronousRequest):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8c585c2
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 4bb56f32
      eseidel authored
              Reviewed by mjs.
      
              Add a couple more stubs to make Win32 link.
      
              * platform/win/TemporaryLinkStubs.cpp:
              (KWQServeSynchronousRequest):
              (WebCore::FrameView::topLevelWidget):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bb56f32
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 2b1ca654
      eseidel authored
              Rubber-stamped by mjs.
      
              Fix FrameWin.h to use consistant line endings.
              Fix TemporaryLinkStubs to better match style guidelines.
      
              * bridge/win/FrameWin.h:
              (WebCore::Win):
              * platform/win/TemporaryLinkStubs.cpp:
              (QLineEdit::selectAll):
              (QPainter::save):
              (Widget::enableFlushDrawing):
              (QPainter::drawHighlightForText):
              (QFont::setPrinterFont):
              (QTextEdit::textWithHardLineBreaks):
              (Widget::mapFromGlobal):
              (QPainter::addClip):
              (QLineEdit::cursorPosition):
              (QPainter::setPen):
              (QPainter::selectedTextBackgroundColor):
              (QPainter::fontMetrics):
              (Widget::show):
              (QFont::setItalic):
              (QSlider::setValue):
              (QLineEdit::addSearchResult):
              (KWQFileButton::click):
              (QLineEdit::setWritingDirection):
              (QPainter::drawFocusRing):
              (KWQFileButton::sizeForCharacterWidth):
              (QTextEdit::sizeWithColumnsAndRows):
              (QComboBox::clear):
              (QPainter::misspellingLineThickness):
              (QComboBox::setFrameGeometry):
              (QLineEdit::maxLength):
              (Widget::isEnabled):
              (KWQServeRequest):
              (QTextEdit::setText):
              (Widget::paint):
              (QPainter::addRoundedRectClip):
              (FrameView::viewportToGlobal):
              (QTextEdit::selectionEnd):
              (QFont::determinePitch):
              (QTextEdit::setScrollBarModes):
              (QPainter::drawEllipse):
              (QTextEdit::setReadOnly):
              (QListBox::appendItem):
              (QLineEdit::setPlaceholderString):
              (Cursor::Cursor):
              (Widget::focusPolicy):
              (ScrollView::removeChild):
              (QTextEdit::selectAll):
              (QPainter::fillRect):
              (QPainter::endTransparencyLayer):
              (QFont::QFont):
              (ScrollView::addChild):
              (QTextEdit::setDisabled):
              (QScrollBar::scroll):
              (Widget::~Widget):
              (QPainter::xForm):
              (QListBox::sizeForNumberOfLines):
              (ScrollView::resizeContents):
              (QLineEdit::selectionStart):
              (QLineEdit::QLineEdit):
              (FrameView::updateBorder):
              (QLineEdit::hasSelectedText):
              (QScrollBar::QScrollBar):
              (QListBox::doneAppendingItems):
              (QTextEdit::QTextEdit):
              (ScrollView::inWindow):
              (QScrollBar::setValue):
              (QFont::setFirstFamily):
              (QTextEdit::hasSelectedText):
              (QTextEdit::selectionStart):
              (QFont::setWeight):
              (ScrollView::scrollXOffset):
              (QListBox::isSelected):
              (QLineEdit::setReadOnly):
              (QPainter::drawLineForText):
              (QPainter::QPainter):
              (QComboBox::~QComboBox):
              (QComboBox::focusPolicy):
              (QPainter::drawImageAtPoint):
              (QPainter::clearShadow):
              (QTextEdit::setLineHeight):
              (QScrollBar::setKnobProportion):
              (KWQFileButton::KWQFileButton):
              (QFontMetrics::boundingRect):
              (QTextEdit::setSelectionStart):
              (QPainter::beginTransparencyLayer):
              (QFontMetrics::setFont):
              (QComboBox::setFont):
              (Widget::frameGeometry):
              (QListBox::setSelected):
              (QPainter::addFocusRingRect):
              (QTextEdit::setCursorPosition):
              (QPainter::restore):
              (QFontMetrics::width):
              (Widget::setEnabled):
              (QTextEdit::setSelectionEnd):
              (QComboBox::populate):
              (ScrollView::setStaticBackground):
              (QPainter::font):
              (QTextEdit::setAlignment):
              (QLineEdit::setCursorPosition):
              (QPainter::drawText):
              (QPainter::pen):
              (KJavaAppletWidget::KJavaAppletWidget):
              (QFontMetrics::descent):
              (QListBox::QListBox):
              (QFontMetrics::ascent):
              (QLineEdit::selectedText):
              (Widget::setIsSelected):
              (QLineEdit::text):
              (Widget::unlockDrawingFocus):
              (QLineEdit::setLiveSearch):
              (QPainter::paintingDisabled):
              (QComboBox::QComboBox):
              (QPainter::drawConvexPolygon):
              (Widget::setFont):
              (QSlider::setMaxValue):
              (Widget::lockDrawingFocus):
              (QPainter::drawLine):
              (QPainter::setBrush):
              (QTextEdit::setSelectionRange):
              (ScrollView::scrollPointRecursively):
              (QLineEdit::sizeForCharacterWidth):
              (Cursor::~Cursor):
              (QFontMetrics::selectionRectForText):
              (ScrollView::suppressScrollBars):
              (QFontMetrics::checkSelectionPoint):
              (QTextEdit::getCursorPosition):
              (FrameView::isFrameView):
              (QScrollBar::setSteps):
              (QLineEdit::setMaxLength):
              (Widget::setCursor):
              (QLineEdit::setAutoSaveName):
              (QComboBox::baselinePosition):
              (QComboBox::appendItem):
              (QPainter::setShadow):
              (QTextEdit::setWritingDirection):
              (Widget::setDrawingAlpha):
              (QSlider::QSlider):
              (ScrollView::setVScrollBarMode):
              (QPainter::drawScaledAndTiledImage):
              (ScrollView::scrollYOffset):
              (QPainter::drawImage):
              (QComboBox::setCurrentItem):
              (QFontMetrics::height):
              (QComboBox::setWritingDirection):
              (ScrollView::setScrollBarsMode):
              (QComboBox::sizeHint):
              (QPainter::drawRect):
              (QFont::setPixelSize):
              (Widget::setFrameGeometry):
              (QLineEdit::setSelection):
              (QLineEdit::setMaxResults):
              (QListBox::clear):
              (QLineEdit::edited):
              (QPainter::drawTiledImage):
              (QPainter::clearFocusRing):
              (QFont::operator==):
              (Widget::Widget):
              (QTextEdit::text):
              (QPainter::drawImageInRect):
              (QPainter::setFont):
              (Widget::disableFlushDrawing):
              (QPainter::initFocusRing):
              (QSlider::setMinValue):
              (QTextEdit::setWordWrap):
              (QPainter::drawLineForMisspelling):
              (QLineEdit::setText):
              (QSlider::value):
              (QListBox::setSelectionMode):
              (KWQFileButton::setFilename):
              (QFontMetrics::QFontMetrics):
              (QFontMetrics::lineSpacing):
              (QLineEdit::setEdited):
              (QComboBox::frameGeometry):
              (QListBox::setWritingDirection):
              (QLineEdit::setAlignment):
              (ScrollView::updateContents):
              (QFontMetrics::floatWidth):
              (ScrollView::setHScrollBarMode):
              (KWQFileButton::focusPolicy):
              (QListBox::setFont):
              (QLineEdit::checksDescendantsForFocus):
              (KWQFileButton::baselinePosition):
              (QSlider::~QSlider):
              (KWQFileButton::setFrameGeometry):
              (QListBox::~QListBox):
              (KWQFileButton::frameGeometry):
              (QTextEdit::setFont):
              (QLineEdit::setFont):
              (KWQFileButton::~KWQFileButton):
              (QTextEdit::focusPolicy):
              (QSlider::focusPolicy):
              (QSlider::setFont):
              (QListBox::setEnabled):
              (QListBox::checksDescendantsForFocus):
              (QListBox::focusPolicy):
              (QLineEdit::baselinePosition):
              (QSlider::sizeHint):
              (QLineEdit::~QLineEdit):
              (QTextEdit::~QTextEdit):
              (QTextEdit::checksDescendantsForFocus):
              (QLineEdit::focusPolicy):
              (QScrollBar::~QScrollBar):
              (Path::operator=):
              (QLineEdit::setColors):
              (QTextEdit::setColors):
              (searchableIndexIntroduction):
              (KWQKCookieJar::setCookie):
              (KWQKCookieJar::cookie):
              (WebCore::screenRect):
              (WebCore::Widget::clearFocus):
              (WebCore::historyContains):
              (KWQFindNextSentenceFromIndex):
              (KWQFindSentenceBoundary):
              (KWQFindNextWordFromIndex):
              (KWQFindWordBoundary):
              (submitButtonDefaultLabel):
              (inputElementAltText):
              (resetButtonDefaultLabel):
              (KWQKCookieJar::cookieEnabled):
              (WebCore::Widget::setFocus):
              (WebCore::QPainter::fillRect):
              (WebCore::QPainter::~QPainter):
              (WebCore::ScrollView::viewportToContents):
              (WebCore::TransferJob::kill):
              (WebCore::TransferJob::addMetaData):
              (WebCore::TransferJob::queryMetaData):
              (WebCore::TransferJob::error):
              (WebCore::TransferJob::errorText):
              (WebCore::TransferJob::isErrorPage):
              (WebCore::TransferJob::TransferJob):
              (WebCore::Widget::hide):
              (KLocale::language):
              (PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (WebCore::screenDepth):
              (QFont::italic):
              (QFontMetrics::operator=):
              (QFontMetrics::xHeight):
              (WebCore::usableScreenRect):
              (QFont::operator=):
              (Widget::setActiveWindow):
              (KWQCheckIfReloading):
              (WebCore::ScrollView::contentsX):
              (WebCore::ScrollView::contentsY):
              (WebCore::ScrollView::contentsHeight):
              (WebCore::ScrollView::contentsWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::hScrollBarMode):
              (WebCore::ScrollView::vScrollBarMode):
              (KWQCheckCacheObjectStatus):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b1ca654
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 18f16d8b
      eseidel authored
              Reviewed by timo.
      
              Move KWQLogging to platform and rename as Logging.*, fix headers.
              This will break the mac build, which I will fix on my next commit.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * dom/DocumentImpl.cpp:
              * dom/dom_position.cpp:
              * editing/DeleteSelectionCommand.cpp:
              * editing/InsertLineBreakCommand.cpp:
              * editing/InsertParagraphSeparatorCommand.cpp:
              * editing/InsertTextCommand.cpp:
              * editing/VisiblePosition.cpp:
              * editing/markup.cpp:
              * khtml/ecma/kjs_window.cpp:
              * kwq/KWQLogging.h: Removed.
              * kwq/KWQLogging.m: Removed.
              * kwq/KWQRegExp.cpp:
              * kwq/KWQTextStream.cpp:
              * platform/Logging.cpp: Added.
              * platform/Logging.h: Added.
              * platform/QString.cpp:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ScrollView::vScrollBarMode):
              (WebCore::theme):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18f16d8b
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 4927d4b9
      eseidel authored
              Reviewed by hyatt.
      
              Fix a bunch more link errors in the win32 build, mostly by adding stubs.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: add JSXMLHttpRequest and PlugInInfoStore
              * WebCore.vcproj/WebCore/build-generated-files.sh: update for JSXMLHttpRequest
              * khtml/ecma/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequest::getValueProperty): fix switch to compile
              * platform/PlugInInfoStore.h:
              * platform/mac/PlugInInfoStoreMac.mm:
              * platform/win/TemporaryLinkStubs.cpp: add a bunch of stubs.
              (WebCore::TransferJob::errorText):
              (WebCore::TransferJob::isErrorPage):
              (WebCore::Widget::hide):
              (PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (PlugInInfoStore::pluginCount):
              (WebCore::refreshPlugins):
              (QFont::QFont):
              (QFont::~QFont):
              (QFont::italic):
              (QFont::weight):
              (QFontMetrics::QFontMetrics):
              (QFontMetrics::~QFontMetrics):
              (QFontMetrics::xHeight):
              (Widget::setActiveWindow):
              (WebCore::ScrollView::contentsX):
              (WebCore::ScrollView::contentsY):
              (WebCore::ScrollView::contentsHeight):
              (WebCore::ScrollView::contentsWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::hScrollBarMode):
              (WebCore::ScrollView::vScrollBarMode):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4927d4b9
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · de63e678
      eseidel authored
              Reviewed by timo.
      
              Add missing include to fix build.
      
              * platform/win/TemporaryLinkStubs.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de63e678
    • darin's avatar
      Reviewed by Eric. · d5f933d8
      darin authored
              * platform/win/TemporaryLinkStubs.cpp: Added more stubs.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5f933d8
    • darin's avatar
      - fix Windows build · f516d4b0
      darin authored
              * platform/win/TemporaryLinkStubs.cpp: Change KIO::TransferJob to WebCore::TransferJob.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f516d4b0
  4. 26 Feb, 2006 5 commits
  5. 24 Feb, 2006 5 commits
    • eseidel's avatar
      2006-02-24 Eric Seidel <eseidel@apple.com> · dd1c709a
      eseidel authored
              Reviewed by beth.
      
              Made a few methods on frame pure virtual.
              Added a bunch of stub functions for win32 linking.
      
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::print):
              (WebCore::MacFrame::canUndo):
              (WebCore::MacFrame::canRedo):
              (WebCore::MacFrame::canPaste):
              * bridge/win/FrameWin.h:
              * page/Frame.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (QTextEdit::sizeWithColumnsAndRows):
              (QLineEdit::maxLength):
              (QPainter::drawEllipse):
              (QTextEdit::setLineHeight):
              (QPainter::beginTransparencyLayer):
              (QLineEdit::selectedText):
              (Widget::setIsSelected):
              (QPainter::paintingDisabled):
              (QFontMetrics::selectionRectForText):
              (QTextEdit::getCursorPosition):
              (QSlider::QSlider):
              (WebCore::crossCursor):
              (WebCore::handCursor):
              (WebCore::moveCursor):
              (WebCore::iBeamCursor):
              (WebCore::waitCursor):
              (WebCore::helpCursor):
              (WebCore::eastResizeCursor):
              (WebCore::northResizeCursor):
              (WebCore::northEastResizeCursor):
              (WebCore::northWestResizeCursor):
              (WebCore::southResizeCursor):
              (WebCore::southEastResizeCursor):
              (WebCore::southWestResizeCursor):
              (WebCore::westResizeCursor):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd1c709a
    • eseidel's avatar
      2006-02-24 Eric Seidel <eseidel@apple.com> · 0a5c4e11
      eseidel authored
              Reviewed by mjs.
      
              Add Path stubs for Win32 build.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * platform/win/TemporaryLinkStubs.cpp:
              (Path::Path):
              (Path::~Path):
              (Path::operator=):
              (Path::contains):
              (Path::translate):
              (Path::boundingRect):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a5c4e11
    • mjs's avatar
      Reviewed by Eric. · 5f101cc5
      mjs authored
              - add link stubs for symbols only referenced from the link stubs file
      
              * platform/win/TemporaryLinkStubs.cpp:
              (KWQFileButton::focusPolicy):
              (QLineEdit::checksDescendantsForFocus):
              (KWQFileButton::baselinePosition):
              (QSlider::~QSlider):
              (QListBox::~QListBox):
              (KWQFileButton::frameGeometry):
              (KWQFileButton::~KWQFileButton):
              (QTextEdit::focusPolicy):
              (QSlider::focusPolicy):
              (QListBox::setEnabled):
              (QListBox::checksDescendantsForFocus):
              (QListBox::focusPolicy):
              (QLineEdit::baselinePosition):
              (QSlider::sizeHint):
              (QLineEdit::~QLineEdit):
              (QTextEdit::~QTextEdit):
              (QTextEdit::checksDescendantsForFocus):
              (QLineEdit::focusPolicy):
              (QScrollBar::~QScrollBar):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f101cc5
    • eseidel's avatar
      2006-02-24 Eric Seidel <eseidel@apple.com> · 3bc58845
      eseidel authored
              Reviewed by beth.
      
              Removed WebCore:: prefixes added using namespace WebCore, fixes win32 build.
      
              * platform/win/TemporaryLinkStubs.cpp:
              (QPainter::save):
              (Widget::enableFlushDrawing):
              (QPainter::drawHighlightForText):
              (QTextEdit::textWithHardLineBreaks):
              (QPainter::setPen):
              (QPainter::selectedTextBackgroundColor):
              (QPainter::fontMetrics):
              (Widget::show):
              (QLineEdit::setWritingDirection):
              (KWQFileButton::sizeForCharacterWidth):
              (QTextEdit::sizeWithColumnsAndRows):
              (iBeamCursor):
              (QPainter::misspellingLineThickness):
              (westResizeCursor):
              (Widget::isEnabled):
              (northWestResizeCursor):
              (QPainter::drawEllipse):
              (southWestResizeCursor):
              (Widget::focusPolicy):
              (waitCursor):
              (QPainter::endTransparencyLayer):
              (ScrollView::addChild):
              (Widget::~Widget):
              (QListBox::sizeForNumberOfLines):
              (FrameView::updateBorder):
              (QPainter::drawLineForText):
              (QPainter::QPainter):
              (QComboBox::focusPolicy):
              (QPainter::drawImageAtPoint):
              (QPainter::clearShadow):
              (eastResizeCursor):
              (QFontMetrics::boundingRect):
              (QPainter::beginTransparencyLayer):
              (northEastResizeCursor):
              (Widget::frameGeometry):
              (QPainter::addFocusRingRect):
              (QPainter::restore):
              (Widget::setEnabled):
              (QPainter::font):
              (QPainter::pen):
              (crossCursor):
              (Widget::setIsSelected):
              (handCursor):
              (QLineEdit::text):
              (Widget::unlockDrawingFocus):
              (QPainter::paintingDisabled):
              (northResizeCursor):
              (Widget::lockDrawingFocus):
              (QPainter::drawLine):
              (QPainter::setBrush):
              (QPainter::drawText):
              (QLineEdit::sizeForCharacterWidth):
              (Cursor::~Cursor):
              (QFontMetrics::selectionRectForText):
              (southResizeCursor):
              (moveCursor):
              (FrameView::isFrameView):
              (helpCursor):
              (QTextEdit::setWritingDirection):
              (Widget::setDrawingAlpha):
              (southEastResizeCursor):
              (QPainter::drawScaledAndTiledImage):
              (QPainter::drawImage):
              (QComboBox::setWritingDirection):
              (QComboBox::sizeHint):
              (QPainter::drawRect):
              (QPainter::drawTiledImage):
              (QPainter::clearFocusRing):
              (Widget::Widget):
              (QTextEdit::text):
              (QPainter::drawImageInRect):
              (Widget::disableFlushDrawing):
              (QPainter::initFocusRing):
              (QPainter::drawLineForMisspelling):
              (QComboBox::frameGeometry):
              (QListBox::setWritingDirection):
              (ScrollView::updateContents):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bc58845
    • 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 3 commits
    • darin's avatar
      - try to fix Windows build · 83f99d9b
      darin authored
              * platform/win/TemporaryLinkStubs.cpp: Removed childX/Y stubs.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83f99d9b
    • darin's avatar
      - fix Windows build · 11cc9b0d
      darin authored
              * platform/win/TemporaryLinkStubs.cpp: Removed QPalette-related stubs
      
              - remove unused forwarding headers
      
              * ForwardingHeaders/kurl.h: Removed.
              * ForwardingHeaders/qlist.h: Removed.
              * ForwardingHeaders/qregion.h: Removed.
              * ForwardingHeaders/qsortedlist.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11cc9b0d
    • mjs's avatar
      Reviewed by Eric. · 3bd09266
      mjs authored
              - add temporary stubs that call abort() for functions only called from render and editing code 
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7429
      
              This gets rid of a couple hundred link errors.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * kwq/KWQFontMetrics.h:
              * kwq/KWQSignal.h:
              (KWQSignal::KWQSignal):
              * platform/win/TemporaryLinkStubs.cpp: Added.
              (notImplemented):
              (QLineEdit::selectAll):
              (WebCore::QPainter::save):
              (WebCore::Widget::enableFlushDrawing):
              (WebCore::QPainter::drawHighlightForText):
              (QFont::setPrinterFont):
              (QTextEdit::textWithHardLineBreaks):
              (QLineEdit::cursorPosition):
              (WebCore::QPainter::setPen):
              (WebCore::QPainter::selectedTextBackgroundColor):
              (WebCore::QPainter::fontMetrics):
              (WebCore::Widget::show):
              (QFont::setItalic):
              (QSlider::setValue):
              (QLineEdit::addSearchResult):
              (KWQFileButton::click):
              (QLineEdit::setWritingDirection):
              (KWQFileButton::sizeForCharacterWidth):
              (QTextEdit::sizeWithColumnsAndRows):
              (WebCore::iBeamCursor):
              (QComboBox::clear):
              (WebCore::QPainter::misspellingLineThickness):
              (QLineEdit::maxLength):
              (WebCore::westResizeCursor):
              (WebCore::Widget::isEnabled):
              (WebCore::northWestResizeCursor):
              (QTextEdit::selectionEnd):
              (QFont::determinePitch):
              (QTextEdit::setScrollBarModes):
              (WebCore::QPainter::drawEllipse):
              (WebCore::southWestResizeCursor):
              (QTextEdit::setReadOnly):
              (QListBox::appendItem):
              (WebCore::Widget::focusPolicy):
              (QTextEdit::selectAll):
              (WebCore::waitCursor):
              (WebCore::QPainter::endTransparencyLayer):
              (QScrollView::addChild):
              (QTextEdit::setDisabled):
              (QScrollBar::scroll):
              (WebCore::Widget::~Widget):
              (QListBox::sizeForNumberOfLines):
              (QScrollView::resizeContents):
              (QLineEdit::selectionStart):
              (QLineEdit::QLineEdit):
              (WebCore::FrameView::updateBorder):
              (QLineEdit::hasSelectedText):
              (QListBox::doneAppendingItems):
              (QScrollView::inWindow):
              (QScrollBar::setValue):
              (QTextEdit::hasSelectedText):
              (QTextEdit::selectionStart):
              (QFont::setWeight):
              (QScrollView::scrollXOffset):
              (QListBox::isSelected):
              (QLineEdit::setReadOnly):
              (WebCore::QPainter::drawLineForText):
              (QObject::disconnect):
              (WebCore::QPainter::QPainter):
              (QComboBox::~QComboBox):
              (QComboBox::focusPolicy):
              (WebCore::QPainter::drawImageAtPoint):
              (WebCore::QPainter::clearShadow):
              (QTextEdit::setLineHeight):
              (QMouseEvent::QMouseEvent):
              (WebCore::eastResizeCursor):
              (QScrollBar::setKnobProportion):
              (QFontMetrics::boundingRect):
              (QTextEdit::setSelectionStart):
              (WebCore::QPainter::beginTransparencyLayer):
              (WebCore::northEastResizeCursor):
              (WebCore::Widget::frameGeometry):
              (QListBox::setSelected):
              (WebCore::QPainter::addFocusRingRect):
              (QTextEdit::setCursorPosition):
              (WebCore::QPainter::restore):
              (QFontMetrics::width):
              (WebCore::Widget::setEnabled):
              (QTextEdit::setSelectionEnd):
              (QComboBox::populate):
              (QScrollView::setStaticBackground):
              (WebCore::QPainter::font):
              (QTextEdit::setAlignment):
              (QLineEdit::setCursorPosition):
              (WebCore::Widget::palette):
              (WebCore::QPainter::pen):
              (QFontMetrics::descent):
              (QListBox::QListBox):
              (QFontMetrics::ascent):
              (QLineEdit::selectedText):
              (WebCore::crossCursor):
              (WebCore::Widget::setIsSelected):
              (WebCore::handCursor):
              (QLineEdit::text):
              (WebCore::Widget::unlockDrawingFocus):
              (QLineEdit::setLiveSearch):
              (WebCore::QPainter::paintingDisabled):
              (WebCore::northResizeCursor):
              (QComboBox::QComboBox):
              (QSlider::setMaxValue):
              (WebCore::Widget::lockDrawingFocus):
              (WebCore::QPainter::drawLine):
              (WebCore::QPainter::setBrush):
              (QTextEdit::setSelectionRange):
              (WebCore::QPainter::drawText):
              (QScrollView::scrollPointRecursively):
              (QLineEdit::sizeForCharacterWidth):
              (WebCore::Cursor::~Cursor):
              (QFontMetrics::selectionRectForText):
              (WebCore::southResizeCursor):
              (QScrollView::suppressScrollBars):
              (QFontMetrics::checkSelectionPoint):
              (QTextEdit::getCursorPosition):
              (WebCore::moveCursor):
              (WebCore::FrameView::isFrameView):
              (QScrollBar::setSteps):
              (QLineEdit::setMaxLength):
              (QComboBox::baselinePosition):
              (QComboBox::appendItem):
              (WebCore::helpCursor):
              (QTextEdit::setWritingDirection):
              (WebCore::Widget::setDrawingAlpha):
              (QSlider::QSlider):
              (WebCore::southEastResizeCursor):
              (QScrollView::setVScrollBarMode):
              (WebCore::QPainter::drawScaledAndTiledImage):
              (QScrollView::scrollYOffset):
              (WebCore::QPainter::drawImage):
              (QComboBox::setCurrentItem):
              (QFontMetrics::height):
              (QComboBox::setWritingDirection):
              (QScrollView::setScrollBarsMode):
              (QComboBox::sizeHint):
              (WebCore::QPainter::drawRect):
              (QFont::setPixelSize):
              (QLineEdit::setSelection):
              (QLineEdit::setMaxResults):
              (QListBox::clear):
              (QLineEdit::edited):
              (WebCore::QPainter::drawTiledImage):
              (WebCore::QPainter::clearFocusRing):
              (WebCore::Widget::Widget):
              (QTextEdit::text):
              (WebCore::QPainter::drawImageInRect):
              (WebCore::Widget::disableFlushDrawing):
              (WebCore::QPainter::initFocusRing):
              (QSlider::setMinValue):
              (QTextEdit::setWordWrap):
              (WebCore::QPainter::drawLineForMisspelling):
              (QSlider::value):
              (QListBox::setSelectionMode):
              (QFontMetrics::lineSpacing):
              (QLineEdit::setEdited):
              (QComboBox::frameGeometry):
              (QListBox::setWritingDirection):
              (QLineEdit::setAlignment):
              (QScrollView::updateContents):
              (QFontMetrics::floatWidth):
              (QScrollView::setHScrollBarMode):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12955 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bd09266