1. 17 Nov, 2006 1 commit
  2. 03 Nov, 2006 1 commit
    • mjs's avatar
      Reviewed by Hyatt. Landed by Maciej. · 7d01044b
      mjs authored
              Adding setPlatformPen/setPlatformFont/setPlatformFillColor
              to graphics context to be able to set consistant state
              on the platform specific painter without having to change
              fill/stroke/font on every operation. This fixes color/stroke/fill
              and font handling in the Qt port.
      
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::setFont):
              (WebCore::GraphicsContext::setPen):
              (WebCore::GraphicsContext::setFillColor):
              (WebCore::GraphicsContext::setPlatformPen):
              (WebCore::GraphicsContext::setPlatformFillColor):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/GraphicsContext.h:
              * platform/qt/GraphicsContextQt.cpp:
              (WebCore::toQtCompositionMode):
              (WebCore::toQtLineCap):
              (WebCore::toQtLineJoin):
              (WebCore::toQPenStyle):
              (WebCore::penToQPen):
              (WebCore::TransparencyLayer::TransparencyLayer):
              (WebCore::GraphicsContext::addRoundedRectClip):
              (WebCore::GraphicsContext::setPlatformFont):
              (WebCore::GraphicsContext::setPlatformPen):
              (WebCore::GraphicsContext::setPlatformFillColor):
              * platform/qt/ScrollViewCanvasQt.cpp:
              (WebCore::ScrollViewCanvasQt::ScrollViewCanvasQt):
              (WebCore::ScrollViewCanvasQt::paintEvent):
              (WebCore::ScrollViewCanvasQt::handleKeyEvent):
              * platform/qt/ScrollViewCanvasQt.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d01044b
  3. 21 Oct, 2006 1 commit
  4. 06 Sep, 2006 1 commit
    • ap's avatar
      2006-09-06 Nikolas Zimmermann <zimmermann@kde.org> · c5efe7e2
      ap authored
              Reviewed and landed by ap.
      
              Fix Qt/Linux build.
      
              * CMakeLists.txt: Take out CharacterData.cpp from build / add new Text* files to build.
              * platform/qt/BrowserExtensionQt.cpp: Add wtf/Platform.h include.
              * platform/qt/FontCacheQt.cpp: Add FontData.h include.
              * platform/qt/FontQt.cpp:
              (WebCore::Font::drawGlyphs): Fix constness in reinterpret_cast.
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::markMisspellings): Change "SelectionController" param type to "Selection".
              (WebCore::FrameQt::respondToChangedSelection): Ditto.
              (WebCore::FrameQt::respondToChangedContents): Ditto.
              (WebCore::FrameQt::shouldChangeSelection): Ditto.
              * platform/qt/FrameQt.h: Ditto.
              * platform/qt/ImageQt.cpp:
              (WebCore::Image::supportsType): Fix String->QString conversion.
              * platform/qt/ResourceLoaderManager.cpp:
              (WebCore::ResourceLoaderManager::add): Fix String->DeprecatedString conversion.
              * platform/qt/ScrollViewCanvasQt.cpp:
              (WebCore::ScrollViewCanvasQt::handleKeyEvent): Adapt to SelectionController signature changes.
              * platform/qt/qt-encodings.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5efe7e2
  5. 24 Aug, 2006 2 commits
    • aroben's avatar
      Reviewed/landed by Adam. · 8c8a13e4
      aroben authored
              Final cleanup to conform to WebKit coding style!
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c8a13e4
    • andersca's avatar
      2006-08-24 Nikolas Zimmermann <zimmermann@kde.org> · 34bc8e06
      andersca authored
              Reviewed and landed by Anders.
      
              Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
              WebKit should have Qt platform support
      
              * CMakeLists.txt:
              * platform/qt/FrameQt.cpp: Added.
              (WebCore::doScroll):
              (WebCore::FrameView::isFrameView):
              (WebCore::FrameQt::FrameQt):
              (WebCore::FrameQt::init):
              (WebCore::FrameQt::~FrameQt):
              (WebCore::FrameQt::openURL):
              (WebCore::FrameQt::submitForm):
              (WebCore::FrameQt::urlSelected):
              (WebCore::FrameQt::userAgent):
              (WebCore::FrameQt::runJavaScriptAlert):
              (WebCore::FrameQt::runJavaScriptConfirm):
              (WebCore::FrameQt::locationbarVisible):
              (WebCore::FrameQt::setTitle):
              (WebCore::FrameQt::createFrame):
              (WebCore::FrameQt::passWheelEventToChildWidget):
              (WebCore::FrameQt::passSubframeEventToSubframe):
              (WebCore::FrameQt::objectContentType):
              (WebCore::FrameQt::createPlugin):
              (WebCore::FrameQt::passMouseDownEventToWidget):
              (WebCore::FrameQt::menubarVisible):
              (WebCore::FrameQt::personalbarVisible):
              (WebCore::FrameQt::statusbarVisible):
              (WebCore::FrameQt::toolbarVisible):
              (WebCore::FrameQt::createEmptyDocument):
              (WebCore::FrameQt::markedTextRange):
              (WebCore::FrameQt::incomingReferrer):
              (WebCore::FrameQt::mimeTypeForFileName):
              (WebCore::FrameQt::markMisspellingsInAdjacentWords):
              (WebCore::FrameQt::markMisspellings):
              (WebCore::FrameQt::lastEventIsMouseUp):
              (WebCore::FrameQt::saveDocumentState):
              (WebCore::FrameQt::restoreDocumentState):
              (WebCore::FrameQt::openURLRequest):
              (WebCore::FrameQt::scheduleClose):
              (WebCore::FrameQt::unfocusWindow):
              (WebCore::FrameQt::focusWindow):
              (WebCore::FrameQt::overrideMediaType):
              (WebCore::FrameQt::addMessageToConsole):
              (WebCore::FrameQt::runJavaScriptPrompt):
              (WebCore::FrameQt::getEmbedInstanceForWidget):
              (WebCore::FrameQt::getObjectInstanceForWidget):
              (WebCore::FrameQt::getAppletInstanceForWidget):
              (WebCore::FrameQt::registerCommandForUndo):
              (WebCore::FrameQt::registerCommandForRedo):
              (WebCore::FrameQt::clearUndoRedoOperations):
              (WebCore::FrameQt::issueUndoCommand):
              (WebCore::FrameQt::issueRedoCommand):
              (WebCore::FrameQt::issueCutCommand):
              (WebCore::FrameQt::issueCopyCommand):
              (WebCore::FrameQt::issuePasteCommand):
              (WebCore::FrameQt::issuePasteAndMatchStyleCommand):
              (WebCore::FrameQt::issueTransposeCommand):
              (WebCore::FrameQt::respondToChangedSelection):
              (WebCore::FrameQt::respondToChangedContents):
              (WebCore::FrameQt::shouldChangeSelection):
              (WebCore::FrameQt::partClearedInBegin):
              (WebCore::FrameQt::canGoBackOrForward):
              (WebCore::FrameQt::handledOnloadEvents):
              (WebCore::FrameQt::canPaste):
              (WebCore::FrameQt::canRedo):
              (WebCore::FrameQt::canUndo):
              (WebCore::FrameQt::print):
              (WebCore::FrameQt::shouldInterruptJavaScript):
              (WebCore::FrameQt::keyEvent):
              (WebCore::FrameQt::receivedResponse):
              (WebCore::FrameQt::receivedData):
              (WebCore::FrameQt::receivedAllData):
              (WebCore::FrameQt::setFrameGeometry):
              * platform/qt/FrameQt.h: Added.
              * platform/qt/ScrollViewCanvasQt.cpp: Added.
              (WebCore::ScrollViewCanvasQt::ScrollViewCanvasQt):
              (WebCore::ScrollViewCanvasQt::paintEvent):
              (WebCore::ScrollViewCanvasQt::sizeHint):
              (WebCore::ScrollViewCanvasQt::mouseMoveEvent):
              (WebCore::ScrollViewCanvasQt::mousePressEvent):
              (WebCore::ScrollViewCanvasQt::mouseReleaseEvent):
              (WebCore::ScrollViewCanvasQt::keyPressEvent):
              (WebCore::ScrollViewCanvasQt::keyReleaseEvent):
              (WebCore::ScrollViewCanvasQt::handleKeyEvent):
              * platform/qt/ScrollViewCanvasQt.h: Added.
              * platform/qt/ScrollViewQt.cpp:
              (WebCore::ScrollView::setParentWidget):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34bc8e06