1. 27 Mar, 2011 18 commits
    • paroga@webkit.org's avatar
      2011-03-27 Patrick Gansterer <paroga@webkit.org> · 5516cb31
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              [CMake] Generate WebKitVersion.h
              https://bugs.webkit.org/show_bug.cgi?id=57128
      
              This file will be used for the user agent string by the CMake based ports.
      
              * CMakeLists.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82069 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5516cb31
    • yutak@chromium.org's avatar
      2011-03-27 Yuta Kitamura <yutak@chromium.org> · d4e6bed3
      yutak@chromium.org authored
              Unreviewed, add new Chromium test result and expectations.
      
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82068 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d4e6bed3
    • commit-queue@webkit.org's avatar
      2011-03-27 Ben Taylor <bentaylor.solx86@gmail.com> · daaac9c7
      commit-queue@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=57170  Fix last elements
              in an enum to remove a trailing comma. Sun Studio 12 CC errors out.
      
              Compile fix only, no actual code change.
      
              * wtf/MessageQueue.h:
      2011-03-27  Ben Taylor  <bentaylor.solx86@gmail.com>
      
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=57170  Fix last elements
              in an enum to remove a trailing comma. Sun Studio 12 CC errors out.
      
              Compile fix only, no actual code change.
      
              * dom/ExceptionCode.h:
              * editing/EditorInsertAction.h:
              * loader/FrameLoaderTypes.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/ScrollTypes.h:
              * platform/graphics/BitmapImage.h:
              * platform/image-decoders/ImageDecoder.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceHandleClient.h:
              * platform/network/ResourceRequestBase.h:
              * platform/text/TextCodec.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82067 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      daaac9c7
    • rwlbuis@webkit.org's avatar
      2011-03-27 Rob Buis <rwlbuis@gmail.com> · 755f315e
      rwlbuis@webkit.org authored
              Unreviewed, update improve test result.
      
              * platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-08-t-expected.checksum:
              * platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/animate-elem-08-t-expected.checksum:
              * platform/mac/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82066 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      755f315e
    • andreas.kling@nokia.com's avatar
      2011-03-27 Andreas Kling <kling@webkit.org> · b64d19a1
      andreas.kling@nokia.com authored
              Reviewed by Benjamin Poulain.
      
              REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
              https://bugs.webkit.org/show_bug.cgi?id=57183
      
              The convenience <QtWebKit> header would include \<QtNetwork/QtNetwork\>
              which was due to the outputting code previously being wrapped in eval().
      
              * Api/DerivedSources.pro:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82065 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b64d19a1
    • yutak@chromium.org's avatar
      2011-03-27 Yuta Kitamura <yutak@chromium.org> · 7d8eaac2
      yutak@chromium.org authored
              Unreviewed, update Chromium test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82064 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7d8eaac2
    • yutak@chromium.org's avatar
      2011-03-27 Yuta Kitamura <yutak@chromium.org> · 4001aea9
      yutak@chromium.org authored
              Unreviewed, add new Chromium test results.
      
              * platform/chromium-linux/svg/text/text-path-middle-align-expected.checksum: Added.
              * platform/chromium-linux/svg/text/text-path-middle-align-expected.png: Added.
              * platform/chromium-win/fast/blockflow/fallback-orientation-expected.checksum: Added.
              * platform/chromium-win/fast/blockflow/fallback-orientation-expected.png: Added.
              * platform/chromium-win/fast/blockflow/fallback-orientation-expected.txt: Added.
              * platform/chromium-win/svg/text/text-path-middle-align-expected.checksum: Added.
              * platform/chromium-win/svg/text/text-path-middle-align-expected.png: Added.
              * platform/chromium-win/svg/text/text-path-middle-align-expected.txt: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82063 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4001aea9
    • yutak@chromium.org's avatar
      2011-03-27 Yuta Kitamura <yutak@chromium.org> · 5c8c9379
      yutak@chromium.org authored
              Unreviewed, fix Chromium text expectation.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82062 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5c8c9379
    • rwlbuis@webkit.org's avatar
      2011-03-27 Rob Buis <rwlbuis@gmail.com> · 24d72357
      rwlbuis@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              Text on path positioning at zero startOffset
              https://bugs.webkit.org/show_bug.cgi?id=56245
      
              Since for length 0 no previous point is set, choose epsilon
              length to get normal at starting point of the path.
      
              Test: svg/text/text-path-middle-align.svg
      
              * platform/graphics/Path.cpp:
              (WebCore::Path::normalAngleAtLength):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82061 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      24d72357
    • commit-queue@webkit.org's avatar
      2011-03-27 Ben Taylor <bentaylor.solx86@gmail.com> · 07efa2f3
      commit-queue@webkit.org authored
              Reviewed by Oliver Hunt.
      
              https://bugs.webkit.org/show_bug.cgi?id=57151, patch derived from set
              created by Thiago Macieria in bug https://bugs.webkit.org/show_bug.cgi?id=24932
      
              Fix compile issue on Solaris 10/Sun Studio 12 regarding ambiguity on ?: functions
      
              * bindings/js/JSJavaScriptCallFrameCustom.cpp:
              (WebCore::JSJavaScriptCallFrame::thisObject):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82060 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      07efa2f3
    • benjamin.poulain@nokia.com's avatar
      2011-03-27 Benjamin Poulain <benjamin.poulain@nokia.com> · 37964ee5
      benjamin.poulain@nokia.com authored
              Reviewed by Andreas Kling.
      
              [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
              https://bugs.webkit.org/show_bug.cgi?id=57087
      
              Use explicit conversion for string to avoid depending on the default codec
              installed by the user code.
      
              * Api/qwebkitversion.cpp:
              (qWebKitVersion):
              * Api/qwebpage.cpp:
              (QWebPagePrivate::dynamicPropertyChangeEvent):
              (QWebPage::javaScriptConsoleMessage):
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (convertToPropertyName):
              (DumpRenderTreeSupportQt::setEditingBehavior):
              (DumpRenderTreeSupportQt::plainText):
              * WebCoreSupport/EditorClientQt.cpp:
              (dumpRange):
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (drtDescriptionSuitableForTestResult):
              (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
              * WebCoreSupport/InspectorClientQt.cpp:
              (WebCore::InspectorClientQt::openInspectorFrontend):
              * WebCoreSupport/InspectorServerQt.cpp:
              (WebCore::parseWebSocketChallengeNumber):
              (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82059 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      37964ee5
    • jeffm@apple.com's avatar
      2011-03-26 Jeff Miller <jeffm@apple.com> · 427c63a4
      jeffm@apple.com authored
              Reviewed by Sam Weinig.
      
              WKErrorCopyCFError() doesn&apos;t actually return a copy of the CFErrorRef
              https://bugs.webkit.org/show_bug.cgi?id=57172
      
              * Shared/API/c/cf/WKErrorCF.cpp:
              (WKErrorCopyCFError): Use RetainPtr<> and leakRef() to return a real copy.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82058 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      427c63a4
    • jer.noble@apple.com's avatar
      Unreviewed build fix. · 11b363e6
      jer.noble@apple.com authored
      Fix a bug which was causing the "skip back" button to be missing, causing
      the media layout tests to fail.
      
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::shouldRenderMediaControlPart):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82057 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      11b363e6
    • mitz@apple.com's avatar
      <rdar://problem/9180716> REGRESSION (r80582): Angle bracket rendered upright in vertical mode · af85e311
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=57169
      
      Reviewed by Maciej Stachowiak.
      
      Source/WebCore: 
      
      Test: fast/blockflow/fallback-orientation.html
      
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::glyphDataForCharacter): If the font has vertical glyphs, use it, rather
      than continuing down the fallback list.
      
      LayoutTests: 
      
      * fast/blockflow/fallback-orientation.html: Added.
      * platform/mac/fast/blockflow/fallback-orientation-expected.checksum: Added.
      * platform/mac/fast/blockflow/fallback-orientation-expected.png: Added.
      * platform/mac/fast/blockflow/fallback-orientation-expected.txt: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82056 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      af85e311
    • mjs@apple.com's avatar
      Source/WebKit2: Revert inadvertantly commited changes. · 4968f9ae
      mjs@apple.com authored
      * WebProcess/com.apple.WebProcess.sb:
      
      Tools: Revert inadvertantly committed changes.
      
      * Scripts/old-run-webkit-tests:
      * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82055 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4968f9ae
    • mjs@apple.com's avatar
      2011-03-26 Maciej Stachowiak <mjs@apple.com> · d35d5ca5
      mjs@apple.com authored
              Reviewed by Darin Adler.
      
              Follow-up fix for crash with giant inline stylesheets - actually don't crash, and add test
              https://bugs.webkit.org/show_bug.cgi?id=56150
      
              Test: fast/css/giant-stylesheet-crash.html
      
              * dom/StyleElement.cpp:
              (WebCore::StyleElement::process):
      2011-03-26  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Darin Adler.
      
              Follow-up fix for crash with giant inline stylesheets - actually don't crash, and add test
              https://bugs.webkit.org/show_bug.cgi?id=56150
      
              * fast/css/giant-stylesheet-crash-expected.txt: Added.
              * fast/css/giant-stylesheet-crash.html: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82054 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d35d5ca5
    • jer.noble@apple.com's avatar
      2011-03-22 Jer Noble <jer.noble@apple.com> · 1effa9fd
      jer.noble@apple.com authored
              Reviewed by Eric Carlson.
      
              Media controls must use full screen style when in new full screen mode.
              https://bugs.webkit.org/show_bug.cgi?id=56851
      
              Add new full screen styles for the full screen media elements.
      
              * DerivedSources.make: Add fullScreenQuickTime.css.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
              * css/CSSStyleSelector.cpp: Removed loadFullScreenRulesIfNeeded().
              (WebCore::CSSStyleSelector::CSSStyleSelector): Ditto.
              (WebCore::CSSStyleSelector::styleForElement): Load full screen rules
                  if needed.
              * css/fullscreenQuickTime.css: Added.
              * css/mediaControls.css:
              * html/shadow/MediaControls.cpp:
              (WebCore::isFullScreen): Added.
              (WebCore::MediaControls::create): Add new full screen volume controls.
              (WebCore::MediaControls::updateStyle): Ditto.
              (WebCore::MediaControls::update): Ditto.
              (WebCore::MediaControls::updateVolumeSliderContainer): Ditto.
              (WebCore::MediaControls::forwardEvent): Ditto.
              * rendering/MediaControlElements.cpp:
              (WebCore::MediaControlFullscreenVolumeSliderElement::MediaControlFullscreenVolumeSliderElement): Added.
              (WebCore::MediaControlFullscreenVolumeSliderElement::create): Added.
              (WebCore::MediaControlFullscreenVolumeSliderElement::shadowPseudoId): Added.
              (WebCore::MediaControlFullscreenVolumeMinButtonElement::MediaControlFullscreenVolumeMinButtonElement): Addet
              (WebCore::MediaControlFullscreenVolumeMinButtonElement::create): Added.
              (WebCore::MediaControlFullscreenVolumeMinButtonElement::defaultEventHandler): Added.
              (WebCore::MediaControlFullscreenVolumeMinButtonElement::shadowPseudoId): Added.
              (WebCore::MediaControlFullscreenVolumeMaxButtonElement::MediaControlFullscreenVolumeMaxButtonElement): Added.
              (WebCore::MediaControlFullscreenVolumeMaxButtonElement::create): Added.
              (WebCore::MediaControlFullscreenVolumeMaxButtonElement::defaultEventHandler): Added.
              (WebCore::MediaControlFullscreenVolumeMaxButtonElement::shadowPseudoId): Added.
              * rendering/MediaControlElements.h:
                  Added m_overridePosition.
              (WebCore::MediaControlVolumeSliderContainerElement::setOverridesPosition): Added.
              * rendering/MediaControlElements.h:
              (WebCore::MediaControlVolumeSliderContainerElement::overridesPosition): Added.
              * rendering/RenderTheme.h:
              (WebCore::RenderTheme::extraFullScreenStyleSheet): Added.
              * rendering/RenderThemeMac.h:
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::extraFullScreenStyleSheet): Added.
              (WebCore::RenderThemeMac::shouldRenderMediaControlPart): Render seek forward and backward
                  buttons.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82053 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1effa9fd
    • jer.noble@apple.com's avatar
      2011-03-26 Jer Noble <jer.noble@apple.com> · 4a313063
      jer.noble@apple.com authored
              Reviewed by Eric Carlson.
      
              Enable the Full Screen API by default in WebKit/mac and WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=56956
      
              * WebView/WebPreferences.mm:
              (+[WebPreferences initialize]): Default the WebKitFullScreenEnabled preference to true.
      2011-03-26  Jer Noble  <jer.noble@apple.com>
      
              Reviewed by Eric Carlson.
      
              Enable the Full Screen API by default in WebKit/mac and WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=56956
      
              * Shared/WebPreferencesStore.h: Default the fullScreenEnabled preference to true.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82052 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4a313063
  2. 26 Mar, 2011 22 commits
    • jer.noble@apple.com's avatar
      2011-03-26 Jer Noble <jer.noble@apple.com> · f071eb10
      jer.noble@apple.com authored
              Reviewed by Dan Bernstein.
      
              RenderMedia should obey the view's flattening bit.
              https://bugs.webkit.org/show_bug.cgi?id=57156
      
              Paint the current frame in software when the associated FrameView
              has its flattening bit set.
      
              * rendering/RenderVideo.cpp:
              (WebCore::RenderVideo::paintReplaced):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82051 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f071eb10
    • paroga@webkit.org's avatar
      2011-03-26 Patrick Gansterer <paroga@webkit.org> · 1b5950b5
      paroga@webkit.org authored
              Unreviewed build fix for !ENABLE(DOM_STORAGE).
      
              * storage/StorageTracker.cpp:
                  Added #if ENABLE(DOM_STORAGE) like in the other storage files.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82050 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1b5950b5
    • jeffm@apple.com's avatar
      Add PlatformCertificateInfo::PlatformCertificateInfo(PCCERT_CONTEXT) constructor on Windows · 5ce21734
      jeffm@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=57152
              
      Reviewed by Steve Falkenburg.
      
      We're going to need to create a PlatformCertificateInfo with a single certificate on Windows to support client certificates.
      Also, stop relying on the fact that the Win32 API CertDuplicateCertificateContext() currently returns the same PCCERT_CONTEXT that you pass to it, since that may change in the future.
      
      * Shared/win/PlatformCertificateInfo.cpp:
      (WebKit::PlatformCertificateInfo::PlatformCertificateInfo): Added PlatformCertificateInfo(PCCERT_CONTEXT) construtor. Use return value from CertDuplicateCertificateContext().
      (WebKit::PlatformCertificateInfo::operator=): Use return value from CertDuplicateCertificateContext().
      * Shared/win/PlatformCertificateInfo.h: Added PlatformCertificateInfo(PCCERT_CONTEXT) construtor.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82049 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5ce21734
    • andersca@apple.com's avatar
      2011-03-26 Anders Carlsson <andersca@apple.com> · a207da3a
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Graphic corruption appeared with Silverlight contents while resizing window
              https://bugs.webkit.org/show_bug.cgi?id=57167
              <rdar://problem/9094052>
      
              Pass DispatchMessageEvenWhenWaitingForSyncReply when sending GeometryDidChange messages since that will guarantee
              that those messages will be handled before PaintEntirePlugin messages which prevents the PaintEntirePlugin handler from
              painting into the wrong backing store.
      
              * WebProcess/Plugins/PluginProxy.cpp:
              (WebKit::PluginProxy::geometryDidChange):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82048 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a207da3a
    • weinig@apple.com's avatar
      2011-03-26 Sam Weinig <sam@webkit.org> · d56a6098
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
      
              Web process considered unresponsive (SPOD shown) when displaying a JavaScript alert() as a result of a click
              <rdar://problem/9067557>
              https://bugs.webkit.org/show_bug.cgi?id=57166
      
              * UIProcess/WebPageProxy.cpp:
              (WebKit::WebPageProxy::runJavaScriptAlert):
              (WebKit::WebPageProxy::runJavaScriptConfirm):
              (WebKit::WebPageProxy::runJavaScriptPrompt):
              Invalidate the responsiveness timer before calling out to the client.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82047 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d56a6098
    • commit-queue@webkit.org's avatar
      2011-03-26 Andreas Kling <kling@webkit.org> · 657c6f79
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Show page icons (favicons) in QtTestBrowser location bar.
              https://bugs.webkit.org/show_bug.cgi?id=57162
      
              * QtTestBrowser/QtTestBrowser.qrc:
              * QtTestBrowser/favicon.png: Added.
              * QtTestBrowser/locationedit.cpp:
              (defaultPageIcon):
              (LocationEdit::LocationEdit):
              (LocationEdit::setPageIcon):
              (LocationEdit::resizeEvent):
              (LocationEdit::updateInternalGeometry):
              * QtTestBrowser/locationedit.h:
              * QtTestBrowser/mainwindow.cpp:
              (MainWindow::buildUI):
              (MainWindow::onIconChanged):
              (MainWindow::onLoadStarted):
              * QtTestBrowser/mainwindow.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82046 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      657c6f79
    • andersca@apple.com's avatar
      2011-03-26 Anders Carlsson <andersca@apple.com> · ee63dac3
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              ASSERTION FAILED: m_operationInProgress == NoOperation loading nytimes.com
              https://bugs.webkit.org/show_bug.cgi?id=57165
              <rdar://problem/9024311>
      
              The assertion fired because during GC, the web process sends a synchronous NPObjectMessageReceiver::Deallocate
              message to the plug-in process. Since this is a synchronous message, the web process needs to process incoming synchronous
              messages. While waiting, we get an incoming PluginProxy::Evaluate message from the plug-in. This causes JavaScript to run
              during GC which is very bad.
      
              The fix for this is to add a flag on the connection that will cause synchronous messages sent by the connection (in this case the
              plug-in process) to not be processed while the other side (the web process) is waiting for a synchronous reply _unless_ the connection
              is actually processing a synchronous message. (The last part is to avoid deadlocks).
      
              Since the call to NPN_Evaluate by the plug-in (that ends up sending the PluginProxy::Evaluate message) comes from a run loop timer firing,
              it's OK to wait for it to be processed by the web process when it returns to the run loop.
      
              * Platform/CoreIPC/Connection.cpp:
              (CoreIPC::Connection::Connection):
              Initialize m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage and m_inDispatchMessageMarkedDispatchWhenWaitingForSyncReplyCount.
      
              (CoreIPC::Connection::setOnlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage):
              Set m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage.
      
              (CoreIPC::Connection::sendMessage):
              Don't add the MessageID::DispatchMessageWhenWaitingForSyncReply flag when the right flags has been set on the connection, and it's not processing a synchronous message.
      
              (CoreIPC::Connection::dispatchMessage):
              Increment and decrement m_inDispatchMessageMarkedDispatchWhenWaitingForSyncReplyCount accordingly.
      
              * PluginProcess/WebProcessConnection.cpp:
              (WebKit::WebProcessConnection::WebProcessConnection):
              Call setOnlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage on the connection.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82045 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ee63dac3
    • commit-queue@webkit.org's avatar
      2011-03-26 Kwang Yul Seo <skyul@company100.net> · 8fa9d46a
      commit-queue@webkit.org authored
              Reviewed by Benjamin Poulain.
      
              [Qt] Remove GraphicsLayerTextureMapper::nativeLayer
              https://bugs.webkit.org/show_bug.cgi?id=57141
      
              GraphicsLayer::nativeLayer was removed in r73380.
      
              * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
              * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82044 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8fa9d46a
    • weinig@apple.com's avatar
      Rollout r82042 (If a user doesn't have a Database/LocalStorage directory, it... · 829e1edb
      weinig@apple.com authored
      Rollout r82042 (If a user doesn't have a Database/LocalStorage directory, it can't be created (sandbox violations))
      
      -[NSString stringByResolvingSymlinksInPath] does not do what we needed for paths within /private.
      This caused all SSL sites to stop working.
      
      * WebProcess/mac/WebProcessMac.mm:
      (WebKit::appendSandboxParameterPath):
      (WebKit::initializeSandbox):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82043 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      829e1edb
    • weinig@apple.com's avatar
      2011-03-26 Sam Weinig <sam@webkit.org> · 63d489e7
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
      
              If a user doesn't have a Database/LocalStorage directory, it can't be created (sandbox violations)
              <rdar://problem/9127411>
              https://bugs.webkit.org/show_bug.cgi?id=57164
      
              * WebProcess/mac/WebProcessMac.mm:
              (WebKit::appendSandboxParameterPath):
              (WebKit::initializeSandbox):
              Use -[NSString stringByResolvingSymlinksInPath] instead of realpath to ensure we can resolve
              symlinks even if the file/directory doesn't exist yet.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82042 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      63d489e7
    • andersca@apple.com's avatar
      2011-03-26 Anders Carlsson <andersca@apple.com> · e99e5322
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Factor processing of incoming sync replies out into processIncomingSyncReply
              https://bugs.webkit.org/show_bug.cgi?id=57161
      
              * Platform/CoreIPC/Connection.cpp:
              (CoreIPC::Connection::sendSyncMessage):
              Pass DispatchMessageEvenWhenWaitingForSyncReply to sendMessage.
      
              (CoreIPC::Connection::processIncomingSyncReply):
              Move code from processIncomingMessage to here.
      
              (CoreIPC::Connection::processIncomingMessage):
              Call processIncomingSyncReply.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82041 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e99e5322
    • mrobinson@webkit.org's avatar
      2011-03-26 Martin Robinson <mrobinson@igalia.com> · b67658d8
      mrobinson@webkit.org authored
              [GTK] layoutTestController.overridePreference("WebKitDefaultFontSize"...) does not take into account screen DPI
              https://bugs.webkit.org/show_bug.cgi?id=57160
      
              Skip failing test. This bug was uncovered by r82033.
      
              * platform/gtk/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82040 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b67658d8
    • mrobinson@webkit.org's avatar
      2011-03-26 Martin Robinson <mrobinson@igalia.com> · c852fa10
      mrobinson@webkit.org authored
              Remove a test from the GTK+ skipped list that no longer exists.
      
              * platform/gtk/Skipped: Update the skipped list.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82039 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c852fa10
    • mrobinson@webkit.org's avatar
      2011-03-26 Martin Robinson <mrobinson@igalia.com> · eab826f5
      mrobinson@webkit.org authored
              Rebaseline a few more GTK+ tests after r82033.
      
              * platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.checksum:
              * platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png:
              * platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt:
              * platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.checksum:
              * platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.png:
              * platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.txt:
              * platform/gtk/fast/forms/input-appearance-spinbutton-visibility-expected.checksum:
              * platform/gtk/fast/forms/input-appearance-spinbutton-visibility-expected.png:
              * platform/gtk/fast/forms/input-appearance-spinbutton-visibility-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82038 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      eab826f5
    • abarth@webkit.org's avatar
      2011-03-26 Adam Barth <abarth@webkit.org> · 24690317
      abarth@webkit.org authored
              Remove the JavaScriptGlue GYP build.  We're not going to use GYP for
              JavaScriptGlue because JavaScriptGlue is used only by one port.
      
              * gyp: Removed.
              * gyp/JavaScriptGlue.gyp: Removed.
              * gyp/JavaScriptGlue.gypi: Removed.
              * gyp/remove-headers-if-needed.sh: Removed.
              * gyp/run-if-exists.sh: Removed.
              * gyp/update-info-plist.sh: Removed.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      24690317
    • weinig@apple.com's avatar
      2011-03-26 Sam Weinig <sam@webkit.org> · 156be54b
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
      
              WebKit2: Assert in CoreIPC::typeFromCFTypeRef() when loading a site with an invalid certificate
              <rdar://problem/9188041>
              https://bugs.webkit.org/show_bug.cgi?id=57159
      
              * Shared/cf/ArgumentCodersCF.cpp:
              (CoreIPC::typeFromCFTypeRef):
              (CoreIPC::encode):
              (CoreIPC::decode):
              * Shared/cf/ArgumentCodersCF.h:
              Add encoding/decoding for SecCertificateRef type.
      
              * Shared/mac/PlatformCertificateInfo.mm:
              (WebKit::PlatformCertificateInfo::encode):
              (WebKit::PlatformCertificateInfo::decode):
              Use ArgumentCodersCF now that it knows how to encode/decode SecCertificateRefs.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82036 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      156be54b
    • andersca@apple.com's avatar
      2011-03-26 Anders Carlsson <andersca@apple.com> · b8f9df08
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Handle synchronous replies coming in out of order
              https://bugs.webkit.org/show_bug.cgi?id=57158
      
              When processing an incoming reply, don't assume that it belongs to the last sent synchronous request.
              Instead, iterate over the m_pendingSyncReplies vector backwards looking for the corresponding request.
      
              * Platform/CoreIPC/Connection.cpp:
              (CoreIPC::Connection::processIncomingMessage):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82035 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b8f9df08
    • andreas.kling@nokia.com's avatar
      2011-03-26 Andreas Kling <kling@webkit.org> · 5f667538
      andreas.kling@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] QWebFrame::iconChanged() not emitted when icon is cached but not yet loaded
              https://bugs.webkit.org/show_bug.cgi?id=57157
      
              Add an IconDatabaseClient for the Qt port to ensure that QWebFrame::iconChanged()
              is always emitted when appropriate.
      
              * QtWebKit.pro: Add new files.
      
              * WebCoreSupport/IconDatabaseClientQt.h: Added.
              * WebCoreSupport/IconDatabaseClientQt.cpp: Added.
              (WebCore::IconDatabaseClientQt::instance):
              (WebCore::IconDatabaseClientQt::IconDatabaseClientQt):
              (WebCore::IconDatabaseClientQt::~IconDatabaseClientQt):
              (WebCore::IconDatabaseClientQt::performImport):
              (WebCore::IconDatabaseClientQt::didRemoveAllIcons):
              (WebCore::IconDatabaseClientQt::didImportIconURLForPageURL):
              (WebCore::IconDatabaseClientQt::didImportIconDataForPageURL):
              (WebCore::IconDatabaseClientQt::didChangeIconForPageURL):
              (WebCore::IconDatabaseClientQt::didFinishURLImport):
      
              * WebCoreSupport/FrameLoaderClientQt.h:
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::registerForIconNotification):
              (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL): New slot connected
              to the IconDatabaseClientQt::iconLoadedForPageURL() signal. This emits the
              QWebFrame::iconChanged() signal when the IconDatabases finishes loading
              a cached favicon for the frame's URL.
      
              * Api/qwebsettings.cpp:
              (QWebSettings::setIconDatabasePath): Make sure that IconDatabaseClientQt is
              instantiated. An IconDatabaseClient has to be registered before the IconDatabase
              spawns its reader thread.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82034 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5f667538
    • mrobinson@webkit.org's avatar
      2011-03-26 Martin Robinson <mrobinson@igalia.com> · 29644f8b
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Force DumpRenderTree to use 96 DPI
              https://bugs.webkit.org/show_bug.cgi?id=56866
      
              Update GTK+ test results which now have differ.
      
              * platform/gtk/editing/pasteboard/4641033-expected.checksum:
              * platform/gtk/editing/pasteboard/4641033-expected.png:
              * platform/gtk/editing/pasteboard/4641033-expected.txt:
              * platform/gtk/editing/pasteboard/4944770-1-expected.checksum:
              * platform/gtk/editing/pasteboard/4944770-1-expected.png:
              * platform/gtk/editing/pasteboard/4944770-1-expected.txt:
              * platform/gtk/editing/pasteboard/4944770-2-expected.checksum:
              * platform/gtk/editing/pasteboard/4944770-2-expected.png:
              * platform/gtk/editing/pasteboard/4944770-2-expected.txt:
              * platform/gtk/editing/selection/caret-before-select-expected.checksum:
              * platform/gtk/editing/selection/caret-before-select-expected.png:
              * platform/gtk/editing/selection/caret-before-select-expected.txt:
              * platform/gtk/editing/selection/replaced-boundaries-3-expected.checksum:
              * platform/gtk/editing/selection/replaced-boundaries-3-expected.png:
              * platform/gtk/editing/selection/replaced-boundaries-3-expected.txt:
              * platform/gtk/editing/selection/select-box-expected.checksum:
              * platform/gtk/editing/selection/select-box-expected.png:
              * platform/gtk/editing/selection/select-box-expected.txt:
              * platform/gtk/editing/selection/select-element-paragraph-boundary-expected.checksum:
              * platform/gtk/editing/selection/select-element-paragraph-boundary-expected.png:
              * platform/gtk/editing/selection/select-element-paragraph-boundary-expected.txt:
              * platform/gtk/fast/block/float/float-avoidance-expected.checksum:
              * platform/gtk/fast/block/float/float-avoidance-expected.png:
              * platform/gtk/fast/block/margin-collapse/103-expected.checksum:
              * platform/gtk/fast/block/margin-collapse/103-expected.png:
              * platform/gtk/fast/forms/001-expected.checksum:
              * platform/gtk/fast/forms/001-expected.png:
              * platform/gtk/fast/forms/001-expected.txt:
              * platform/gtk/fast/forms/003-expected.checksum:
              * platform/gtk/fast/forms/003-expected.png:
              * platform/gtk/fast/forms/003-expected.txt:
              * platform/gtk/fast/forms/004-expected.checksum:
              * platform/gtk/fast/forms/004-expected.png:
              * platform/gtk/fast/forms/004-expected.txt:
              * platform/gtk/fast/forms/HTMLOptionElement_label01-expected.checksum:
              * platform/gtk/fast/forms/HTMLOptionElement_label01-expected.png:
              * platform/gtk/fast/forms/HTMLOptionElement_label01-expected.txt:
              * platform/gtk/fast/forms/HTMLOptionElement_label02-expected.checksum:
              * platform/gtk/fast/forms/HTMLOptionElement_label02-expected.png:
              * platform/gtk/fast/forms/HTMLOptionElement_label02-expected.txt:
              * platform/gtk/fast/forms/HTMLOptionElement_label03-expected.checksum:
              * platform/gtk/fast/forms/HTMLOptionElement_label03-expected.png:
              * platform/gtk/fast/forms/HTMLOptionElement_label03-expected.txt:
              * platform/gtk/fast/forms/HTMLOptionElement_label04-expected.checksum:
              * platform/gtk/fast/forms/HTMLOptionElement_label04-expected.png:
              * platform/gtk/fast/forms/HTMLOptionElement_label04-expected.txt:
              * platform/gtk/fast/forms/HTMLOptionElement_label06-expected.checksum:
              * platform/gtk/fast/forms/HTMLOptionElement_label06-expected.png:
              * platform/gtk/fast/forms/HTMLOptionElement_label06-expected.txt:
              * platform/gtk/fast/forms/HTMLOptionElement_label07-expected.checksum:
              * platform/gtk/fast/forms/HTMLOptionElement_label07-expected.png:
              * platform/gtk/fast/forms/HTMLOptionElement_label07-expected.txt:
              * platform/gtk/fast/forms/basic-selects-expected.checksum:
              * platform/gtk/fast/forms/basic-selects-expected.png:
              * platform/gtk/fast/forms/basic-selects-expected.txt:
              * platform/gtk/fast/forms/control-clip-overflow-expected.checksum:
              * platform/gtk/fast/forms/control-clip-overflow-expected.png:
              * platform/gtk/fast/forms/control-restrict-line-height-expected.checksum:
              * platform/gtk/fast/forms/control-restrict-line-height-expected.png:
              * platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
              * platform/gtk/fast/forms/disabled-select-change-index-expected.checksum:
              * platform/gtk/fast/forms/disabled-select-change-index-expected.png:
              * platform/gtk/fast/forms/disabled-select-change-index-expected.txt:
              * platform/gtk/fast/forms/form-element-geometry-expected.checksum:
              * platform/gtk/fast/forms/form-element-geometry-expected.png:
              * platform/gtk/fast/forms/form-element-geometry-expected.txt:
              * platform/gtk/fast/forms/menulist-deselect-update-expected.checksum:
              * platform/gtk/fast/forms/menulist-deselect-update-expected.png:
              * platform/gtk/fast/forms/menulist-deselect-update-expected.txt:
              * platform/gtk/fast/forms/menulist-narrow-width-expected.checksum:
              * platform/gtk/fast/forms/menulist-narrow-width-expected.png:
              * platform/gtk/fast/forms/menulist-narrow-width-expected.txt:
              * platform/gtk/fast/forms/menulist-no-overflow-expected.checksum:
              * platform/gtk/fast/forms/menulist-no-overflow-expected.png:
              * platform/gtk/fast/forms/menulist-no-overflow-expected.txt:
              * platform/gtk/fast/forms/menulist-restrict-line-height-expected.checksum:
              * platform/gtk/fast/forms/menulist-restrict-line-height-expected.png:
              * platform/gtk/fast/forms/menulist-restrict-line-height-expected.txt:
              * platform/gtk/fast/forms/menulist-separator-painting-expected.checksum:
              * platform/gtk/fast/forms/menulist-separator-painting-expected.png:
              * platform/gtk/fast/forms/menulist-separator-painting-expected.txt:
              * platform/gtk/fast/forms/menulist-style-color-expected.checksum:
              * platform/gtk/fast/forms/menulist-style-color-expected.png:
              * platform/gtk/fast/forms/menulist-style-color-expected.txt:
              * platform/gtk/fast/forms/menulist-width-change-expected.checksum:
              * platform/gtk/fast/forms/menulist-width-change-expected.png:
              * platform/gtk/fast/forms/menulist-width-change-expected.txt:
              * platform/gtk/fast/forms/option-script-expected.checksum:
              * platform/gtk/fast/forms/option-script-expected.png:
              * platform/gtk/fast/forms/option-script-expected.txt:
              * platform/gtk/fast/forms/option-strip-whitespace-expected.checksum:
              * platform/gtk/fast/forms/option-strip-whitespace-expected.png:
              * platform/gtk/fast/forms/option-strip-whitespace-expected.txt:
              * platform/gtk/fast/forms/option-text-clip-expected.checksum:
              * platform/gtk/fast/forms/option-text-clip-expected.png:
              * platform/gtk/fast/forms/select-align-expected.checksum:
              * platform/gtk/fast/forms/select-align-expected.png:
              * platform/gtk/fast/forms/select-baseline-expected.checksum:
              * platform/gtk/fast/forms/select-baseline-expected.png:
              * platform/gtk/fast/forms/select-baseline-expected.txt:
              * platform/gtk/fast/forms/select-change-listbox-to-popup-expected.checksum:
              * platform/gtk/fast/forms/select-change-listbox-to-popup-expected.png:
              * platform/gtk/fast/forms/select-change-listbox-to-popup-expected.txt:
              * platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.checksum:
              * platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.png:
              * platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.txt:
              * platform/gtk/fast/forms/select-disabled-appearance-expected.checksum:
              * platform/gtk/fast/forms/select-disabled-appearance-expected.png:
              * platform/gtk/fast/forms/select-disabled-appearance-expected.txt:
              * platform/gtk/fast/forms/select-initial-position-expected.checksum:
              * platform/gtk/fast/forms/select-initial-position-expected.png:
              * platform/gtk/fast/forms/select-initial-position-expected.txt:
              * platform/gtk/fast/forms/select-selected-expected.checksum:
              * platform/gtk/fast/forms/select-selected-expected.png:
              * platform/gtk/fast/forms/select-selected-expected.txt:
              * platform/gtk/fast/forms/select-size-expected.checksum:
              * platform/gtk/fast/forms/select-size-expected.png:
              * platform/gtk/fast/forms/select-size-expected.txt:
              * platform/gtk/fast/forms/select-style-expected.checksum:
              * platform/gtk/fast/forms/select-style-expected.png:
              * platform/gtk/fast/forms/select-style-expected.txt:
              * platform/gtk/fast/forms/select-visual-hebrew-expected.checksum:
              * platform/gtk/fast/forms/select-visual-hebrew-expected.png:
              * platform/gtk/fast/forms/select-visual-hebrew-expected.txt:
              * platform/gtk/fast/forms/select-writing-direction-natural-expected.checksum:
              * platform/gtk/fast/forms/select-writing-direction-natural-expected.png:
              * platform/gtk/fast/forms/select-writing-direction-natural-expected.txt:
              * platform/gtk/fast/forms/stuff-on-my-optgroup-expected.checksum:
              * platform/gtk/fast/forms/stuff-on-my-optgroup-expected.png:
              * platform/gtk/fast/forms/stuff-on-my-optgroup-expected.txt:
              * platform/gtk/fast/html/keygen-expected.checksum:
              * platform/gtk/fast/html/keygen-expected.png:
              * platform/gtk/fast/html/keygen-expected.txt:
              * platform/gtk/fast/invalid/014-expected.checksum:
              * platform/gtk/fast/invalid/014-expected.png:
              * platform/gtk/fast/invalid/014-expected.txt:
              * platform/gtk/fast/invalid/residual-style-expected.txt:
              * platform/gtk/fast/parser/document-write-option-expected.checksum:
              * platform/gtk/fast/parser/document-write-option-expected.png:
              * platform/gtk/fast/parser/document-write-option-expected.txt:
              * platform/gtk/fast/replaced/replaced-breaking-expected.checksum:
              * platform/gtk/fast/replaced/replaced-breaking-expected.png:
              * platform/gtk/fast/replaced/replaced-breaking-expected.txt:
              * platform/gtk/fast/replaced/replaced-breaking-mixture-expected.checksum:
              * platform/gtk/fast/replaced/replaced-breaking-mixture-expected.png:
              * platform/gtk/fast/replaced/replaced-breaking-mixture-expected.txt:
              * platform/gtk/fast/replaced/three-selects-break-expected.checksum:
              * platform/gtk/fast/replaced/three-selects-break-expected.png:
              * platform/gtk/fast/replaced/three-selects-break-expected.txt:
              * platform/gtk/fast/replaced/width100percent-menulist-expected.checksum:
              * platform/gtk/fast/replaced/width100percent-menulist-expected.png:
              * platform/gtk/fast/replaced/width100percent-menulist-expected.txt:
              * platform/gtk/fast/text/international/bidi-menulist-expected.checksum:
              * platform/gtk/fast/text/international/bidi-menulist-expected.png:
              * platform/gtk/fast/text/international/bidi-menulist-expected.txt:
              * platform/gtk/fast/text/international/pop-up-button-text-alignment-and-direction-expected.checksum:
              * platform/gtk/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png:
              * platform/gtk/fast/text/international/pop-up-button-text-alignment-and-direction-expected.txt:
              * platform/gtk/http/tests/navigation/javascriptlink-frames-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug1188-expected.checksum:
              * platform/gtk/tables/mozilla/bugs/bug1188-expected.png:
              * platform/gtk/tables/mozilla/bugs/bug1188-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug18359-expected.checksum:
              * platform/gtk/tables/mozilla/bugs/bug18359-expected.png:
              * platform/gtk/tables/mozilla/bugs/bug18359-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug2479-3-expected.checksum:
              * platform/gtk/tables/mozilla/bugs/bug2479-3-expected.png:
              * platform/gtk/tables/mozilla/bugs/bug2479-3-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug2479-4-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug29326-expected.checksum:
              * platform/gtk/tables/mozilla/bugs/bug29326-expected.png:
              * platform/gtk/tables/mozilla/bugs/bug29326-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug33855-expected.checksum:
              * platform/gtk/tables/mozilla/bugs/bug33855-expected.png:
              * platform/gtk/tables/mozilla/bugs/bug33855-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug4382-expected.checksum:
              * platform/gtk/tables/mozilla/bugs/bug4382-expected.png:
              * platform/gtk/tables/mozilla/bugs/bug4382-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug96334-expected.checksum:
              * platform/gtk/tables/mozilla/bugs/bug96334-expected.png:
              * platform/gtk/tables/mozilla/bugs/bug96334-expected.txt:
              * platform/gtk/tables/mozilla/core/margins-expected.checksum:
              * platform/gtk/tables/mozilla/core/margins-expected.png:
              * platform/gtk/tables/mozilla/core/margins-expected.txt:
              * platform/gtk/tables/mozilla/dom/tableDom-expected.checksum:
              * platform/gtk/tables/mozilla/dom/tableDom-expected.png:
              * platform/gtk/tables/mozilla/dom/tableDom-expected.txt:
              * platform/gtk/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum:
              * platform/gtk/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
              * platform/gtk/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
              * platform/gtk/transforms/2d/zoom-menulist-expected.checksum:
              * platform/gtk/transforms/2d/zoom-menulist-expected.png:
              * platform/gtk/transforms/2d/zoom-menulist-expected.txt:
      2011-03-23  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] Force DumpRenderTree to use 96 DPI
              https://bugs.webkit.org/show_bug.cgi?id=56866
      
              Make sure that GTK+ is set to use 96 DPI when running tests. This ensures
              broader compatibility with WebKit2 and makes setting font sizes more straightforward.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (initializeGtkFontSettings): Set the screen resolution and GTK+ xft property to 96 DPI.
              (resetDefaultsToConsistentValues):Remove the call which repeatedly set the GDK screen resolution.
              (setDefaultsToConsistentStateValuesForTesting): Update the font sizes to reflect the new DPI.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82033 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      29644f8b
    • andersca@apple.com's avatar
      2011-03-26 Anders Carlsson <andersca@apple.com> · 0fd1534a
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Fix a possible deadlock when two synchronous messages are sent at the same time
              https://bugs.webkit.org/show_bug.cgi?id=57155
      
              Simplify code and fix a possible (although highly improbable) dead lock.
      
              * Platform/CoreIPC/Connection.cpp:
              Make SyncMessageState atomically ref counted since it can be ref()'ed from the connection queue.
              Get rid of m_waitForSyncReplyCount and add m_didScheduleDispatchMessagesWork.
      
              (CoreIPC::Connection::SyncMessageState::SyncMessageState):
              Initialize m_didScheduleDispatchMessagesWork to false.
      
              (CoreIPC::Connection::SyncMessageState::processIncomingMessage):
              if m_didScheduleDispatchMessagesWork is false, schedule a call to dispatchMessageAndResetDidScheduleDispatchMessagesWork
              on the client run loop.
      
              (CoreIPC::Connection::SyncMessageState::dispatchMessageAndResetDidScheduleDispatchMessagesWork):
              Dispatch messages and set m_didScheduleDispatchMessagesWork back to false.
      
              (CoreIPC::Connection::sendSyncMessage):
              Remove calls to beginWaitForSyncReply and endWaitForSyncReply.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82032 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0fd1534a
    • mrobinson@webkit.org's avatar
      2011-03-26 Martin Robinson <mrobinson@igalia.com> · 059df433
      mrobinson@webkit.org authored
              Rebaseline many GTK+ tests after r81994.
      
              * platform/gtk/fast/block/positioning/056-expected.txt:
              * platform/gtk/fast/block/positioning/auto/005-expected.checksum:
              * platform/gtk/fast/block/positioning/auto/005-expected.png:
              * platform/gtk/fast/block/positioning/auto/005-expected.txt:
              * platform/gtk/fast/block/positioning/auto/006-expected.checksum:
              * platform/gtk/fast/block/positioning/auto/006-expected.png:
              * platform/gtk/fast/block/positioning/auto/006-expected.txt:
              * platform/gtk/fast/block/positioning/auto/vertical-lr/005-expected.checksum:
              * platform/gtk/fast/block/positioning/auto/vertical-lr/005-expected.png:
              * platform/gtk/fast/block/positioning/auto/vertical-lr/005-expected.txt:
              * platform/gtk/fast/block/positioning/auto/vertical-lr/006-expected.checksum:
              * platform/gtk/fast/block/positioning/auto/vertical-lr/006-expected.png:
              * platform/gtk/fast/block/positioning/auto/vertical-lr/006-expected.txt:
              * platform/gtk/fast/block/positioning/auto/vertical-rl/005-expected.checksum:
              * platform/gtk/fast/block/positioning/auto/vertical-rl/005-expected.png:
              * platform/gtk/fast/block/positioning/auto/vertical-rl/005-expected.txt:
              * platform/gtk/fast/block/positioning/auto/vertical-rl/006-expected.checksum:
              * platform/gtk/fast/block/positioning/auto/vertical-rl/006-expected.png:
              * platform/gtk/fast/block/positioning/auto/vertical-rl/006-expected.txt:
              * platform/gtk/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt:
              * platform/gtk/fast/block/positioning/inline-block-relposition-expected.checksum:
              * platform/gtk/fast/block/positioning/inline-block-relposition-expected.png:
              * platform/gtk/fast/block/positioning/inline-block-relposition-expected.txt:
              * platform/gtk/fast/block/positioning/relative-overflow-block-expected.txt:
              * platform/gtk/fast/clip/001-expected.txt:
              * platform/gtk/fast/clip/004-expected.txt:
              * platform/gtk/fast/clip/006-expected.txt:
              * platform/gtk/fast/clip/007-expected.txt:
              * platform/gtk/fast/clip/008-expected.txt:
              * platform/gtk/fast/clip/009-expected.txt:
              * platform/gtk/fast/clip/010-expected.txt:
              * platform/gtk/fast/clip/011-expected.txt:
              * platform/gtk/fast/clip/012-expected.txt:
              * platform/gtk/fast/clip/013-expected.txt:
              * platform/gtk/fast/clip/014-expected.txt:
              * platform/gtk/fast/clip/nestedTransparencyClip-expected.txt:
              * platform/gtk/fast/clip/outline-overflowClip-expected.txt:
              * platform/gtk/fast/forms/input-appearance-preventDefault-expected.txt:
              * platform/gtk/fast/invalid/014-expected.txt:
              * platform/gtk/fast/layers/layer-visibility-expected.txt:
              * platform/gtk/fast/repaint/layout-state-scrolloffset-expected.txt:
              * platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.txt:
              * platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.txt:
              * platform/gtk/tables/mozilla/bugs/bug51140-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82031 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      059df433
    • abarth@webkit.org's avatar
      2011-03-26 Adam Barth <abarth@webkit.org> · 079ea4cf
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              We shouldn't bother running GYP if the generated files are newer than the GYP files
              https://bugs.webkit.org/show_bug.cgi?id=57146
      
              In the common case, this check will avoid any overhead from processing
              the GYP files.  Another approach to doing this is to add the feature to
              GYP directly, but GYP's approach to this problem is to compute the
              output in its entirety and compare it byte-for-byte against the output
              file.  In the future, it might make sense to add this approach as an
              alternative approach for GYP itself.
      
              I also removed JavaScriptGlue from the script because we're not really
              going to change JavaScriptGlue over to GYP.  We were using
              JavaScriptGlue as a learning experience.
      
              * Source/gyp/configure:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82030 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      079ea4cf