1. 29 Sep, 2006 1 commit
  2. 21 Sep, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 0de1f3e4
      ggaren authored
              Reviewed by Maciej.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              Updated to include the right path.
              * wtf/FastMalloc.h: #include Platform.h, since we use Platform macros.
      
      WebCore:
      
              Reviewed by Maciej.
              
              Some Widget refactoring.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/mac/FrameMac.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::runJavaScriptAlert):
              (WebCore::FrameWin::runJavaScriptConfirm):
              * bridge/win/PageWin.cpp:
              (WebCore::Page::Page):
              (WebCore::rootWindowForFrame):
              * html/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::translate):
              * page/FrameView.cpp:
              (WebCore::FrameView::isFrameView):
              * page/Page.h:
              (WebCore::Page::setInstanceHandle):
              (WebCore::Page::instanceHandle):
              * platform/GraphicsContext.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::translate):
              (WebCore::GraphicsContext::origin):
              * platform/mac/WidgetMac.mm:
              (WebCore::Widget::clearFocus):
              * platform/win/ResourceLoaderWin.cpp:
              (WebCore::initializeOffScreenResourceLoaderWindow):
              * platform/win/ScreenWin.cpp:
              (WebCore::monitorInfo):
              * platform/win/ScrollViewWin.cpp:
              (WebCore::ScrollView::updateContents):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::visibleContentRect):
              (WebCore::ScrollView::viewportToContents):
              (WebCore::ScrollView::contentsToViewport):
              (WebCore::ScrollView::scrollBy):
              (WebCore::ScrollView::updateScrollInfo):
              (WebCore::ScrollView::updateScrollBars):
              * platform/win/SharedTimerWin.cpp:
              (WebCore::initializeOffScreenTimerWindow):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameView::updateBorder):
              (ScrollView::paint):
              (GraphicsContext::clip):
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::Widget):
              (WebCore::Widget::parentWindow):
              (WebCore::Widget::setParentWindow):
              (WebCore::Widget::frameGeometry):
              (WebCore::Widget::hasFocus):
              (WebCore::Widget::setFocus):
              (WebCore::Widget::show):
              (WebCore::Widget::hide):
              (WebCore::Widget::setFrameGeometry):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0de1f3e4
  3. 01 Sep, 2006 1 commit
  4. 03 Jun, 2006 1 commit
    • bdakin's avatar
      Reviewed by Darin. · 45edb34c
      bdakin authored
              Fix for <rdar://problem/4537274> HiDPI: <canvas> needs to apply a 
              scale. <canvas> needs to scale itself along with whatever scale 
              factor is set on the window.
      
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::createDrawingContext): Get the scale 
              factor and use it to create a larger buffer and to scale the 
              CGContext.
              * platform/Widget.h: Provide a new function that returns the user 
              space scale factor.
              * platform/mac/WidgetMac.mm:
              (WebCore::Widget::scaleFactor): Get the scale factor from the 
              window and return it.
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::scaleFactor): Just return 1.0f for now.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45edb34c
  5. 31 May, 2006 1 commit
    • hyatt's avatar
      WebCore: · c45a6f84
      hyatt authored
              Fix for the gmail tab-focus-stealing bug.
      
              Reviewed by darin
      
              * bindings/js/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction):
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::focusWindow):
              (WebCore::FrameMac::unfocusWindow):
              * bridge/mac/WebCoreFrameBridge.h:
              * page/Frame.h:
              * platform/Widget.h:
              * platform/mac/WidgetMac.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameWin::focusWindow):
              * platform/win/WidgetWin.cpp:
      
      WebKit:
      
              Make programmatic focus/blur actually work on sub-frames.  Make the
              top-level UI delegate get called for deactivation of windows.
      
              Reviewed by darin
      
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge activateWindow]):
              (-[WebFrameBridge deactivateWindow]):
              (-[WebFrameBridge loadURL:referrer:reload:userGesture:target:triggeringEvent:form:formValues:]):
              (-[WebFrameBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]):
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c45a6f84
  6. 10 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-10 Eric Seidel <eseidel@apple.com> · 9a8ebeb3
      eseidel authored
              Reviewed by darin.
      
              Add real ScrollViewWin implementation (fixes redraw bugs, adds ScrollBar support.)
      
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/win/FontWin.cpp:
              (WebCore::getCairoFont): Fix crasher.
              * platform/win/ScrollViewWin.cpp:
              (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
              (WebCore::ScrollView::ScrollView):
              (WebCore::ScrollView::~ScrollView):
              (WebCore::ScrollView::updateContents):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::setContentsPos):
              (WebCore::ScrollView::resizeContents):
              (WebCore::ScrollView::contentsX):
              (WebCore::ScrollView::contentsY):
              (WebCore::ScrollView::contentsWidth):
              (WebCore::ScrollView::contentsHeight):
              (WebCore::ScrollView::viewportToContents):
              (WebCore::ScrollView::contentsToViewport):
              (WebCore::ScrollView::scrollXOffset):
              (WebCore::ScrollView::scrollYOffset):
              (WebCore::ScrollView::scrollBy):
              (WebCore::ScrollView::hScrollBarMode):
              (WebCore::ScrollView::vScrollBarMode):
              (WebCore::ScrollView::suppressScrollBars):
              (WebCore::ScrollView::setHScrollBarMode):
              (WebCore::ScrollView::setVScrollBarMode):
              (WebCore::ScrollView::setScrollBarsMode):
              (WebCore::ScrollView::setStaticBackground):
              (WebCore::ScrollView::updateScrollInfo):
              (WebCore::ScrollView::updateScrollBars):
              * platform/win/TemporaryLinkStubs.cpp:
              (BrowserExtensionWin::goBackOrForward):
              (BrowserExtensionWin::setIconURL):
              (ScrollView::scrollPointRecursively):
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::windowHandle): mark as const
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a8ebeb3
  7. 09 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-09 Eric Seidel <eseidel@apple.com> · cf6d2c27
      eseidel authored
              Reviewed by mjs.
      
              Add support for Timers under 10ms.
              Fix random crashers due to multi-threaded loading.
      
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              (WebCore::TransferJobInternal::TransferJobInternal):
              * platform/Widget.h:
              * platform/win/SharedTimerWin.cpp:
              (WebCore::TimerWindowWndProc):
              (WebCore::initializeOffScreenTimerWindow):
              (WebCore::setSharedTimerFireTime):
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::TransferJob::assembleResponseHeaders):
              (WebCore::TransferJob::retrieveCharset):
              * platform/win/TransferJobWin.cpp:
              (WebCore::addToOutstandingJobs):
              (WebCore::removeFromOutstandingJobs):
              (WebCore::lookupTransferJob):
              (WebCore::TransferJobWndProc):
              (WebCore::initializeOffScreenTransferJobWindow):
              (WebCore::TransferJob::~TransferJob):
              (WebCore::transferJobStatusCallback):
              (WebCore::TransferJob::start):
              (WebCore::TransferJob::cancel):
              * platform/win/WidgetWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf6d2c27
  8. 07 Mar, 2006 1 commit
  9. 06 Mar, 2006 1 commit
  10. 05 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-04 Eric Seidel <eseidel@apple.com> · ab13a43d
      eseidel authored
              Reviewed by hyatt.
      
              Re-work ImageViewer to use GraphicsContext.
              Add GraphicsContext(cairo_t*) constructor to make double-buffering easier.
              Add one more stub to prevent slashdot from crashing.
              Also fixed win32 build after Font change.
      
              * Viewer.vcproj:
              * Viewer/ImageView.cpp:
              * platform/Color.h:
              * platform/GraphicsContext.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::GraphicsContext):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameWin::createPlugin):
              (BrowserExtensionWin::setTypedIconURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab13a43d
  11. 03 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-03 Eric Seidel <eseidel@apple.com> · 2e3cbd9a
      eseidel authored
              Reviewed by mjs.
      
              Wire up WidgetWin, CursorWin, ScrollViewWin.
              Stub out methods for selection and cursors.
      
              * Viewer/ImageDocument.h:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/FrameWin.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxyImpl::initScriptIfNeeded):
              * platform/IntRect.h:
              (WebCore::IntRect::IntRect):
              * platform/Widget.h:
              * platform/win/CursorWin.cpp:
              (WebCore::eastResizeCursor):
              (WebCore::northResizeCursor):
              (WebCore::northEastResizeCursor):
              (WebCore::northWestResizeCursor):
              (WebCore::southResizeCursor):
              (WebCore::southEastResizeCursor):
              (WebCore::southWestResizeCursor):
              (WebCore::westResizeCursor):
              * platform/win/IntRectWin.cpp:
              (WebCore::IntRect::IntRect):
              (WebCore::IntRect::operator RECT):
              * platform/win/MouseEventWin.cpp:
              * platform/win/ScrollViewWin.cpp: Added.
              (WebCore::ScrollView::updateContents):
              * platform/win/TemporaryLinkStubs.cpp:
              (QTextEdit::textWithHardLineBreaks):
              (QLineEdit::setPlaceholderString):
              (QScrollBar::scroll):
              (GraphicsContext::beginTransparencyLayer):
              (Widget::setIsSelected):
              (QLineEdit::selectedText):
              (QComboBox::sizeHint):
              (KWQFileButton::focusPolicy):
              (QTextEdit::focusPolicy):
              (QSlider::focusPolicy):
              (QListBox::focusPolicy):
              (QLineEdit::focusPolicy):
              (WebCore::moveCursor):
              (ScrollView::scrollBy):
              (KWQKCookieJar::cookieEnabled):
              (WebCore::TransferJob::TransferJob):
              (WebCore::screenDepth):
              (WebCore::usableScreenRect):
              (FrameWin::getObjectInstanceForWidget):
              (FrameWin::getEmbedInstanceForWidget):
              (FrameWin::getAppletInstanceForWidget):
              (FrameWin::passMouseDownEventToWidget):
              (FrameWin::issuePasteCommand):
              (FrameWin::issueTransposeCommand):
              (QSlider::setFont):
              (QLineEdit::setFont):
              (QListBox::setFont):
              (QFontMetrics::QFontMetrics):
              (QComboBox::setFont):
              (QTextEdit::setFont):
              (QTextEdit::setWritingDirection):
              (QFontMetrics::setFontDescription):
              (QFontMetrics::checkSelectionPoint):
              (FrameWin::addMessageToConsole):
              (FrameWin::shouldChangeSelection):
              (ScrollView::resizeContents):
              (ScrollView::visibleHeight):
              (ScrollView::visibleWidth):
              (ScrollView::setContentsPos):
              (ScrollView::contentsX):
              (ScrollView::contentsY):
              (ScrollView::contentsHeight):
              (ScrollView::contentsWidth):
              (ScrollView::viewportToContents):
              * platform/win/WidgetWin.cpp: Added.
              (WebCore::Widget::Widget):
              (WebCore::Widget::~Widget):
              (WebCore::Widget::windowHandle):
              (WebCore::Widget::setWindowHandle):
              (WebCore::Widget::setActiveWindow):
              (WebCore::Widget::frameGeometry):
              (WebCore::Widget::hasFocus):
              (WebCore::Widget::setFocus):
              (WebCore::Widget::clearFocus):
              (WebCore::Widget::font):
              (WebCore::Widget::setFont):
              (WebCore::Widget::setCursor):
              (WebCore::Widget::show):
              (WebCore::Widget::hide):
              (WebCore::Widget::setFrameGeometry):
              (WebCore::Widget::mapFromGlobal):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e3cbd9a