WebKit-https.git
10 years ago2011-01-07 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 23:07:44 +0000 (23:07 +0000)]
2011-01-07  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Use new wkCACFLayerGetContextUserData function

        * platform/graphics/ca/win/PlatformCALayerWin.cpp:

2011-01-07  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Minor change to check for null context

        * win/lib/WebKitSystemInterface.lib:
        * win/lib/WebKitSystemInterface_debug.lib:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75280 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebKit2: Need WKBundleFrameCopyProvisionalURL
jberlin@webkit.org [Fri, 7 Jan 2011 22:58:29 +0000 (22:58 +0000)]
WebKit2: Need WKBundleFrameCopyProvisionalURL
https://bugs.webkit.org/show_bug.cgi?id=52083

Reviewed by Dan Bernstein.

* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
(WKBundleFrameCopyProvisionalURL):
* WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::provisionalURL):
Grab the URL from the provisional document loader.
* WebProcess/WebPage/WebFrame.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75279 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 James Robinson <jamesr@chromium.org>
jamesr@google.com [Fri, 7 Jan 2011 22:51:30 +0000 (22:51 +0000)]
2011-01-07  James Robinson  <jamesr@chromium.org>

        Fix compile bustage due to bad merge in 75276.

        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75278 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: Implement WebKit Full Screen support.
jer.noble@apple.com [Fri, 7 Jan 2011 22:45:47 +0000 (22:45 +0000)]
WebCore: Implement WebKit Full Screen support.
https://bugs.webkit.org/show_bug.cgi?id=49481
rdar://problem/8247444

Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17
Reviewed by Simon Fraser.

Mark for export all those WebCore functions needed by WebFullscreenController.

* WebCore.exp.in:

WebCore: Implement WebKit Full Screen support.
https://bugs.webkit.org/show_bug.cgi?id=49481
rdar://problem/8247444

Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17
Reviewed by Simon Fraser.

screenRect is useful for more than just HTMLMediaElements.  Promote it into
Element.

* dom/Element.cpp: Moved into Element from HTMLMediaElement.
* dom/Element.h: Ditto.
* dom/Node.cpp:
* html/HTMLMediaElement.cpp: Moved screenRect into Element.
* html/HTMLMediaElement.h: Ditto.
* WebCore.exp.in: Modify the exports list to reflect the new symbol name.

WebCore: Implement WebKit Full Screen support.
https://bugs.webkit.org/show_bug.cgi?id=49481
rdar://problem/8247444

Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17
Reviewed by Simon Fraser.

The RenderFullScreen is intended to be used by clients of that API to allow a DOM subtree to
be rendered outside its original Frame. Because of this, there are a few areas of the
rendering code which need to be special cased: RenderFullScreen layers should not be clipped
to the viewport, as they will almost always be rendering outside the viewport area;
RenderFullScreen graphics layers should not be reparented by the RenderLayerCompositor, as
the client will likely want to reparent the platformLayer into their own fullscreen platform
window; the FrameView must update the RenderFullScreen graphics layer tree separately from
the root layer, as the two trees are disconnected.

* page/FrameView.cpp:
(WebCore::FrameView::updateCompositingLayers):  Special treatment for fullscreen renderer.
(WebCore::FrameView::syncCompositingStateRecursive): Ditto.
(WebCore::FrameView::paintContents): Ditto.
* rendering/RenderLayer.h: Add a new ContentChangeType enum entry for FullScreen.
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::contentChanged): Add support for above.
* rendering/RenderLayerBacking.cpp:
(WebCore::layerOrAncestorIsFullScreen): New function.
(WebCore::RenderLayerBacking::updateCompositedBounds): Do not clip if the layerOrAncestorIsFullScreen.
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::rebuildCompositingLayerTree): Special treatment for fullscreen renderer.
(WebCore::RenderLayerCompositor::requiresCompositingLayer): Ditto.
(WebCore::RenderLayerCompositor::requiresCompositingForFullScreen): Ditto.
* rendering/RenderLayerCompositor.h:

WebCore: Implement WebKit Full Screen support.
https://bugs.webkit.org/show_bug.cgi?id=49481
rdar://problem/8247444

Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17
Reviewed by Simon Fraser.

Implemented non-accelerated fullscreen support.  The Document will now vend a RenderFullScreen object for clients to
use to relocate the fullscreen element subtree.

* css/CSSStyleSelector.cpp:
(WebCore::loadFullScreenRulesIfNeeded): Change webkitFullScreen -> webkitIsFullScreen.
(WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Ditto.
* dom/Document.cpp:
(WebCore::Document::Document): Initialize m_fullScreenRenderer.
(WebCore::Document::detach): Call setFullScreenRenderer(0).
(WebCore::Document::nodeWillBeRemoved): Replicate the logic in webkitWillEnterFullScreenForElement.
(WebCore::Document::webkitWillEnterFullScreenForElement):  Detach the fullscreen element to cause
    a new RenderFullScreen renderer to be created with the new fullscreen element.
(WebCore::Document::webkitDidEnterFullScreenForElement):  Notify clients of a fullscreen change
    here, rather in "willEnter", to avoid reentrancy problems when clients remove nodes in response
    to webkitfullscreenchange events.
(WebCore::Document::webkitWillExitFullScreenForElement): Recalculate the fullscreen element's style.
(WebCore::Document::webkitDidExitFullScreenForElement): Ditto.
(WebCore::Document::setFullScreenRenderer): Accessor for m_fullScreenRenderer.
(WebCore::Document::setFullScreenRendererSize): Set the style on the m_fullScreenRenderer with a new
    size; this keeps clients from having to access the renderer's style directly.
(WebCore::Document::setFullScreenRendererBackgroundColor): Ditto.
* dom/Document.h:
(WebCore::Document::webkitIsFullScreen): Change webkitFullScreen -> webkitIsFullScreen.
(WebCore::Document::fullScreenRenderer): Accessor.
* dom/Document.idl:
* dom/Node.cpp:
(WebCore::Node::createRendererIfNeeded): If the document is in fullscreen mode, create a RenderFullScreen
    object to insert between the fullscreen element and its parent.
* page/ChromeClient.h:
(WebCore::ChromeClient::fullScreenRendererChanged): Added.
* rendering/MediaControlElements.cpp:
(WebCore::MediaControlFullscreenButtonElement::defaultEventHandler): Change webkitFullScreen -> webkitIsFullScreen.

WebCore: Implement WebKit Full Screen support.
https://bugs.webkit.org/show_bug.cgi?id=49481
rdar://problem/8247444

Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17
Reviewed by Simon Fraser.

This patch introduces a new RenderObject type: RenderFullScreen.  The RenderFullScreen renderer
will be used to implement new FullScreen APIs.  Because the RenderFullScreen object will be the
parent of the current fullscreen element, the style rules for fullscreen objects must change to
match.

* WebCore.xcodeproj/project.pbxproj:
* rendering/RenderFullScreen.cpp: Added.
(RenderFullScreen::setAnimating): Sets the m_isAnimating flag.
(RenderFullScreen::createFullScreenStyle): Returns a new RenderStyle containing the default stye
    for RenderFullScreen objects.
* rendering/RenderFullScreen.h: Added.
(WebCore::RenderFullScreen::isRenderFullScreen): Added.  Overrides the RenderObject version.
* rendering/RenderObject.h:
(WebCore::RenderObject::isRenderFullScreen): Added.  Used for type-checking RenderFullScreen objects.
* css/fullscreen.css:  Modified the contained fullscreen styles.

WebKit/mac: Implement WebKit Full Screen support.
https://bugs.webkit.org/show_bug.cgi?id=49481
rdar://problem/8247444

Patch by Jer Noble <jer@kokode.apple.com> on 2011-01-05
Reviewed by Simon Fraser.

Support the new fullscreen Chrome client requests.  WebView will pass
through these requests to a WebFullscreenController.

* WebCoreSupport/WebChromeClient.h: Add fullScreenRendererChanged().
* WebView/WebView.mm:
(-[WebView _supportsFullScreenForElement:WebCore::]): Check to see if the fullscreen pref has been enabled.
(-[WebView _enterFullScreenForElement:WebCore::]): Create a WebFullScreenController.
(-[WebView _exitFullScreenForElement:WebCore::]): Request that the WebFullScreenController exit fullscreen.
(-[WebView _fullScreenRendererChanged:WebCore::]): Notify the WebFullScreenController that its renderer has changed.
* WebView/WebViewData.h: Add ivar newFullscreenController.

Patch by Jer Noble <jer@kokode.apple.com> on 2011-01-05
Reviewed by Simon Fraser.

This patch implements the FullScreen APIs using the new RenderFullScreen renderer and the new
Document client APIs. The RenderFullScreen renderer's CALayer is hosted in a new, fullscreen
window, and a custom CAAnimation animates that layer between the initial screen rect of the
full screen element, to its final value. WebFullscreenController will swap the WebView out of
its original window, and into the fullscreen window. The controller will replace the WebView
with a placeholder view, so that if the placeholder moves or resized while the WebView is
absent, the WebView will move back to the correct location when exiting fullscreen.

* WebView/WebFullscreenController.h: Added.
* WebView/WebFullscreenController.mm: Added.
(-[WebFullscreenController windowDidExitFullscreen:]):  Close the fullscreen window.
(-[WebFullscreenController windowDidEnterFullscreen:]): Swap the webView back into the fullscreen window.
(-[WebFullscreenController animationDidStop:finished:]): Call windowDid{Exit|Enter}FullScreen as appropriate.
(-[WebFullscreenController applicationDidResignActive:]):
(-[WebFullscreenController applicationDidChangeScreenParameters:]): Resize the fullscreen window to match
    the new screen parameters.
(-[WebFullscreenController enterFullscreen:]):  Set up the animation that will take the fullscreen element
    from its original screen rect into fullscreen.
(-[WebFullscreenController exitFullscreen]): Swap the webView back into its original window.
    Set up the animation that will take the fullscreen element back into its original screen
    rect.
(-[WebFullscreenController _updatePowerAssertions]): Now checks _isAnyMoviePlaying to determine
    whether to disable screensaver and sleep.
(-[WebFullscreenController _isAnyMoviePlaying]): Walks through the sub-tree starting at the fullscreen element
    looking for HTMLVideoElements; returns whether any are found to be playing.
(-[WebFullscreenController _animationDuration]): Returns the current animation duration, affected by control
    and shift keys.
(-[WebFullscreenWindow canBecomeKeyWindow]): Allow the window to become key.
(-[WebFullscreenWindow keyDown:]): Handle the 'Esc' key.
(-[WebFullscreenWindow cancelOperation:]): Request to exit fullscreen.
(-[WebFullscreenWindow rendererLayer]): Convenience accessor.
(-[WebFullscreenWindow setRendererLayer:]): Ditto.
(-[WebFullscreenWindow backgroundLayer]): Ditto.
(-[WebFullscreenWindow animationView]): Ditto.
(MediaEventListener::MediaEventListener): Implements the EventListener protocol.
(MediaEventListener::handleEvent): Tells its delegate to _updatePowerAssertions.

LayoutTests: Implement WebKit Full Screen support.
https://bugs.webkit.org/show_bug.cgi?id=49481
rdar://problem/8247444

Patch by Jer Noble <jer@kokode.apple.com> on 2011-01-05
Reviewed by Simon Fraser.

Update the tests with new API names and spec values.

* fullscreen/full-screen-api-expected.txt:
* fullscreen/full-screen-api.html:
* fullscreen/full-screen-css.html:
* fullscreen/full-screen-request-expected.txt:
* fullscreen/full-screen-request.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75277 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 James Robinson <jamesr@chromium.org>
jamesr@google.com [Fri, 7 Jan 2011 22:32:26 +0000 (22:32 +0000)]
2011-01-07  James Robinson  <jamesr@chromium.org>

        Revert "Implement mozilla's animationTime property"
        https://bugs.webkit.org/show_bug.cgi?id=51952

        This approach isn't quite right.

        * animations/animation-time-expected.txt: Removed.
        * animations/animation-time.html: Removed.
        * animations/script-tests/animation-time.js: Removed.
        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/gtk/fast/dom/Window/window-properties-expected.txt:
        * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/qt/fast/dom/Window/window-properties-expected.txt:
        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
2011-01-07  James Robinson  <jamesr@chromium.org>

        Revert "Implement mozilla's animationTime property"
        https://bugs.webkit.org/show_bug.cgi?id=51952

        This approach isn't quite right.

        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::paintInvalidatedRegion):
2011-01-07  James Robinson  <jamesr@chromium.org>

        Revert "Implement mozilla's animationTime property"
        https://bugs.webkit.org/show_bug.cgi?id=51952

        This approach isn't quite right.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.exp.in:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * page/DOMWindow.cpp:
        * page/DOMWindow.h:
        * page/DOMWindow.idl:
        * page/Frame.cpp:
        * page/Frame.h:
        * page/Page.cpp:
        (WebCore::Page::Page):
        * page/Page.h:
        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
        * page/animation/AnimationTimeController.cpp: Removed.
        * page/animation/AnimationTimeController.h: Removed.
2011-01-07  James Robinson  <jamesr@chromium.org>

        Revert "Implement mozilla's animationTime property"
        https://bugs.webkit.org/show_bug.cgi?id=51952

        This approach isn't quite right.

        * public/WebWidget.h:
        * src/WebPopupMenuImpl.cpp:
        * src/WebPopupMenuImpl.h:
        * src/WebViewImpl.cpp:
        * src/WebViewImpl.h:
2011-01-07  James Robinson  <jamesr@chromium.org>

        Revert "Implement mozilla's animationTime property"
        https://bugs.webkit.org/show_bug.cgi?id=51952

        This approach isn't quite right.

        * WebView/WebHTMLView.mm:
        (-[WebHTMLView drawRect:]):
        * WebView/WebView.mm:
        (layerSyncRunLoopObserverCallBack):
2011-01-07  James Robinson  <jamesr@chromium.org>

        Revert "Implement mozilla's animationTime property"
        https://bugs.webkit.org/show_bug.cgi?id=51952

        This approach isn't quite right.

        * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
        (WebKit::ChunkedUpdateDrawingArea::display):
        (WebKit::ChunkedUpdateDrawingArea::setSize):
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::drawRect):
        * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
        (WebKit::LayerBackedDrawingArea::syncCompositingLayers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75276 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 22:19:26 +0000 (22:19 +0000)]
2011-01-07  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Added one more API to WKSI to get the user data
        out of the CACFContext.

        * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
        * win/lib/WebKitSystemInterface.lib:
        * win/lib/WebKitSystemInterface_debug.lib:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75275 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 22:13:22 +0000 (22:13 +0000)]
2011-01-07  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        * platform/chromium-gpu/test_expectations.txt:
        Removed some no-longer-failing tests; moved some lines around to
        match the CPU results.
        * platform/chromium/test_expectations.txt:
        Bug assignment and cleanup.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75274 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 22:06:11 +0000 (22:06 +0000)]
2011-01-07  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] Black text on black buttons using a dark theme
        https://bugs.webkit.org/show_bug.cgi?id=35024

        Implement RenderThemeQt::systemColor to apply the correct colors from the current Qt style.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::systemColor):
        * platform/qt/RenderThemeQt.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75273 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Amruth Raj <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla ...
commit-queue@webkit.org [Fri, 7 Jan 2011 21:53:51 +0000 (21:53 +0000)]
2011-01-07 Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com>

        Reviewed by Martin Robinson.

        [GTK] WebKit2 GNUmakefile is out of date from trunk
        Adding new stub files for compiling on latest revision
        https://bugs.webkit.org/show_bug.cgi?id=51883

        * UIProcess/gtk: Added.
        * UIProcess/gtk/TextCheckerGtk.cpp: Added.
        (WebKit::TextChecker::state):
        (WebKit::TextChecker::isContinuousSpellCheckingAllowed):
        (WebKit::TextChecker::setContinuousSpellCheckingEnabled):
        (WebKit::TextChecker::setGrammarCheckingEnabled):
        (WebKit::TextChecker::uniqueSpellDocumentTag):
        (WebKit::TextChecker::closeSpellDocumentWithTag):
        (WebKit::TextChecker::checkTextOfParagraph):
        (WebKit::TextChecker::updateSpellingUIWithMisspelledWord):
        (WebKit::TextChecker::getGuessesForWord):
        (WebKit::TextChecker::learnWord):
        (WebKit::TextChecker::ignoreWord):
        * UIProcess/gtk/WebInspectorGtk.cpp: Added.
        (WebKit::WebInspectorProxy::platformCreateInspectorPage):
        (WebKit::WebInspectorProxy::platformOpen):
        (WebKit::WebInspectorProxy::platformClose):
        (WebKit::WebInspectorProxy::inspectorPageURL):
        * UIProcess/gtk/WebPageProxyGtk.cpp: Added.
        (WebKit::WebPageProxy::standardUserAgent):
        * UIProcess/gtk/WebPreferencesGtk.cpp: Added.
        (WebKit::WebPreferences::platformInitializeStore):
        (WebKit::WebPreferences::platformUpdateStringValueForKey):
        (WebKit::WebPreferences::platformUpdateBoolValueForKey):
        (WebKit::WebPreferences::platformUpdateUInt32ValueForKey):
        * WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp: Added.
        (WebKit::WebContextMenuClient::lookUpInDictionary):
        (WebKit::WebContextMenuClient::isSpeaking):
        (WebKit::WebContextMenuClient::speak):
        (WebKit::WebContextMenuClient::stopSpeaking):
        * WebProcess/WebCoreSupport/gtk/WebDatabaseManagerGtk.cpp: Added.
        (WebKit::WebDatabaseManager::databaseDirectory):
        * WebProcess/WebCoreSupport/gtk/WebPopupMenuGtk.cpp: Added.
        (WebKit::WebPopupMenu::setUpPlatformData):
        * WebProcess/WebPage/gtk: Added.
        * WebProcess/WebPage/gtk/WebInspectorGtk.cpp: Added.
        (WebKit::WebInspector::localizedStringsURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75272 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-05 Adrienne Walker <enne@google.com>
enne@google.com [Fri, 7 Jan 2011 21:41:37 +0000 (21:41 +0000)]
2011-01-05  Adrienne Walker  <enne@google.com>

        Reviewed by Kenneth Russell.

        Add tests for WebGL's lost context events.
        https://bugs.webkit.org/show_bug.cgi?id=51492

        * fast/canvas/webgl/context-lost-expected.txt: Added.
        * fast/canvas/webgl/context-lost-restored-expected.txt: Added.
        * fast/canvas/webgl/context-lost-restored.html: Added.
        * fast/canvas/webgl/context-lost.html: Added.
2011-01-05  Adrienne Walker  <enne@google.com>

        Reviewed by Kenneth Russell.

        Add WEBKIT_lose_context WebGL extension.
        https://bugs.webkit.org/show_bug.cgi?id=51492

        Tests: fast/canvas/webgl/context-lost-restored.html
               fast/canvas/webgl/context-lost.html

        * CMakeLists.txt:
        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebGLRenderingContextCustom.cpp:
        (WebCore::toJS):
        (WebCore::JSWebGLRenderingContext::getSupportedExtensions):
        * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
        (WebCore::toV8Object):
        (WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallback):
        * html/canvas/WebGLExtension.h:
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::fired):
        (WebCore::WebGLRenderingContext::getExtension):
        (WebCore::WebGLRenderingContext::getSupportedExtensions):
        (WebCore::WebGLRenderingContext::forceLostContext):
        (WebCore::WebGLRenderingContext::onLostContext):
        (WebCore::WebGLRenderingContext::getNumberOfExtensions):
        (WebCore::WebGLRenderingContext::getExtensionNumber):
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebKitLoseContext.cpp: Copied from WebCore/html/canvas/WebGLExtension.h.
        (WebCore::WebKitLoseContext::WebKitLoseContext):
        (WebCore::WebKitLoseContext::~WebKitLoseContext):
        (WebCore::WebKitLoseContext::getName):
        (WebCore::WebKitLoseContext::create):
        (WebCore::WebKitLoseContext::loseContext):
        * html/canvas/WebKitLoseContext.h: Copied from WebCore/html/canvas/WebGLExtension.h.
        * html/canvas/WebKitLoseContext.idl: Copied from WebCore/html/canvas/WebGLExtension.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75271 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 21:28:36 +0000 (21:28 +0000)]
2011-01-07  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Build fix for Chromium. Missing include.

        * page/animation/AnimationBase.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75270 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate react-to-vsprops-changes.py after r74855
aroben@apple.com [Fri, 7 Jan 2011 21:21:01 +0000 (21:21 +0000)]
Update react-to-vsprops-changes.py after r74855

* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75269 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoDon't ever call ::SetCursor(0)
aroben@apple.com [Fri, 7 Jan 2011 21:20:30 +0000 (21:20 +0000)]
Don't ever call ::SetCursor(0)

Doing so makes the cursor disappear from the screen.

Fixes <http://webkit.org/b/52024> Mouse cursor flashes when moving it
around a WKView before the web process has finished launching

Reviewed by Jon Honeycutt.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onSetCursor): If we don't have a cursor to set, just
let Windows do its default thing (which is to set the cursor to the
window class's cursor, which in our case is the arrow cursor).
(WebKit::WebView::cursorToShow): Just return 0 when the page has
crashed so that we'll show the default cursor (which is the arrow
cursor). This change has no visible effect, but seems slightly better
conceptually.
(WebKit::WebView::updateNativeCursor): Don't do anything if we don't
have a cursor to set.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75268 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFill the WKView with white when the web process hasn't drawn anything yet
aroben@apple.com [Fri, 7 Jan 2011 21:19:58 +0000 (21:19 +0000)]
Fill the WKView with white when the web process hasn't drawn anything yet

Fixes <http://webkit.org/b/52023> WKView accumulates pixel garbage
before web process has had a chance to draw anything (if Aero is
disabled)

Reviewed by Jon Honeycutt.

* UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::paint):
* UIProcess/ChunkedUpdateDrawingAreaProxy.h:
* UIProcess/DrawingAreaProxy.h:
* UIProcess/LayerBackedDrawingAreaProxy.cpp:
(WebKit::LayerBackedDrawingAreaProxy::paint):
* UIProcess/LayerBackedDrawingAreaProxy.h:
* UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::paint):
* UIProcess/TiledDrawingAreaProxy.h:
* UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:
(WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint):
* UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint):
* UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint):
* UIProcess/win/LayerBackedDrawingAreaProxyWin.cpp:
(WebKit::LayerBackedDrawingAreaProxy::paint):
Changed these functions to return a boolean indicating whether we
actually painted anything.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onPaintEvent): Fill with white (and don't call
didDraw) when the DrawingAreaProxy isn't able to paint.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75267 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 21:08:29 +0000 (21:08 +0000)]
2011-01-07  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Build fix.

        * platform/graphics/ca/win/PlatformCALayerWin.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75266 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoSource/JavaScriptCore: [GTK] Port scrollbar painting to GtkStyleContext
barraclough@apple.com [Fri, 7 Jan 2011 21:04:21 +0000 (21:04 +0000)]
Source/JavaScriptCore: [GTK] Port scrollbar painting to GtkStyleContext
https://bugs.webkit.org/show_bug.cgi?id=52051

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2011-01-07
Reviewed by Martin Robinson.

* wtf/gobject/GTypedefs.h: Add GtkStyleContext forward
declaration.

WebCore: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe

Reviewed by Geoff Garen.

The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
destructor early, in order to release wrappers once we know we no longer intend to use them.
Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
A sequence of events that triggers the bug would look like this:

(1) Create a DOMWrapperWorld.
(2) Register a timer in the world.
(3) Call unregisterWorld() on the world.
(4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
(5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
    called forgetWorld() none exists.
(6) Attempt to add a wrapper to a NULL map.

Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.

* WebCore.exp.in:
* bindings/js/DOMWrapperWorld.cpp:
(WebCore::DOMWrapperWorld::DOMWrapperWorld):
(WebCore::DOMWrapperWorld::~DOMWrapperWorld):
(WebCore::DOMWrapperWorld::clearWrappers):
* bindings/js/DOMWrapperWorld.h:

WebKit/mac: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe

Reviewed by Geoff Garen.

The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
destructor early, in order to release wrappers once we know we no longer intend to use them.
Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
A sequence of events that triggers the bug would look like this:

(1) Create a DOMWrapperWorld.
(2) Register a timer in the world.
(3) Call unregisterWorld() on the world.
(4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
(5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
    called forgetWorld() none exists.
(6) Attempt to add a wrapper to a NULL map.

Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.

* WebView/WebScriptWorld.mm:
(-[WebScriptWorld unregisterWorld]):

WebKit/win: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe

Reviewed by Geoff Garen.

The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
destructor early, in order to release wrappers once we know we no longer intend to use them.
Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
A sequence of events that triggers the bug would look like this:

(1) Create a DOMWrapperWorld.
(2) Register a timer in the world.
(3) Call unregisterWorld() on the world.
(4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
(5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
    called forgetWorld() none exists.
(6) Attempt to add a wrapper to a NULL map.

Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.

* WebScriptWorld.cpp:
(WebScriptWorld::unregisterWorld):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75265 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 20:44:01 +0000 (20:44 +0000)]
2011-01-07  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Adding updated WKSI files missed in http://trac.webkit.org/changeset/75262

        * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
        * win/lib/WebKitSystemInterface.lib:
        * win/lib/WebKitSystemInterface_debug.lib:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75264 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 20:43:46 +0000 (20:43 +0000)]
2011-01-07  Stephen White  <senorblanco@chromium.org>

        Unreviewed; new test baselines and updated chromium expectations.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium-linux/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added.
        * platform/chromium-linux/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75263 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 20:00:22 +0000 (20:00 +0000)]
2011-01-07  Chris Marrin  <cmarrin@apple.com>

        Rubber-stamped by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Final step in unifying GraphicsLayer logic across Win and Mac. This
        implements the Windows side classes for PlatformCALayer and supporting
        classes. Also changed MediaPlayer to use new PlatformCALayerClient
        so it can use PlatformCALayer directly rather than a dummy GraphicsLayer.
        WKCACFLayerRenderer now does the task of notifying animations of their
        start time. Also commented out an assert in AnimationBase because
        AnimationController's frame time is not in sync with the new
        AnimationTimeController. I've opened a new bug for that issue:

            https://bugs.webkit.org/show_bug.cgi?id=52037

        This also includes the Mac side changes backed out in
        http://trac.webkit.org/changeset/75227.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75262 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Fri, 7 Jan 2011 19:46:17 +0000 (19:46 +0000)]
2011-01-07  Nate Chapin  <japhet@chromium.org>

        Reviewed by Darin Fisher.

        Let PingLoader send cookies if FrameLoaderClient permits it.
        https://bugs.webkit.org/show_bug.cgi?id=51898

        Test: http/tests/navigation/ping-cookie.html

        * loader/PingLoader.cpp:
        (WebCore::PingLoader::PingLoader): Set m_shouldUseCredentialStorage
            at load start time, since we won't be able to call
            FrameLoaderClient::shouldUseCredentialStorage() later.
        * loader/PingLoader.h:
        (WebCore::PingLoader::shouldUseCredentialStorage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75261 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Fri, 7 Jan 2011 19:41:30 +0000 (19:41 +0000)]
2011-01-07  Xan Lopez  <xlopez@igalia.com>

        Unreviewed, rolling out r75256.
        http://trac.webkit.org/changeset/75256
        https://bugs.webkit.org/show_bug.cgi?id=50869

        Broke GTK+ canvas tests

        * platform/gtk/Skipped:
2011-01-07  Xan Lopez  <xlopez@igalia.com>

        Unreviewed, rolling out r75256.
        http://trac.webkit.org/changeset/75256
        https://bugs.webkit.org/show_bug.cgi?id=50869

        Broke GTK+ canvas tests

        * platform/graphics/cairo/PathCairo.cpp:
        (WebCore::Path::addArc):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75260 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Fri, 7 Jan 2011 19:32:53 +0000 (19:32 +0000)]
2011-01-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port scrollbar painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=52051

        * wtf/gobject/GTypedefs.h: Add GtkStyleContext forward
        declaration.
2011-01-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port scrollbar painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=52051

        Use GtkStyleContext API to paint scrollbars when building with
        GTK+ 3.x.

        No new tests. This should not change functionality.

        * platform/gtk/RenderThemeGtk.h:
        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::RenderThemeGtk::gtkScrollbarStyle):
        * platform/gtk/ScrollbarThemeGtk.cpp:
        * platform/gtk/ScrollbarThemeGtk.h:
        * platform/gtk/ScrollbarThemeGtk2.cpp:
        (WebCore::gtkStyleSetCallback):
        (WebCore::ScrollbarThemeGtk::ScrollbarThemeGtk):
        * platform/gtk/ScrollbarThemeGtk3.cpp:
        (WebCore::gtkStyleChangedCallback):
        (WebCore::ScrollbarThemeGtk::ScrollbarThemeGtk):
        (WebCore::ScrollbarThemeGtk::updateThemeProperties):
        (WebCore::ScrollbarThemeGtk::paintTrackBackground):
        (WebCore::ScrollbarThemeGtk::paintScrollbarBackground):
        (WebCore::ScrollbarThemeGtk::paintThumb):
        (WebCore::ScrollbarThemeGtk::paintButton):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75259 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed, rolling out r75205.
jberlin@webkit.org [Fri, 7 Jan 2011 19:31:28 +0000 (19:31 +0000)]
Unreviewed, rolling out r75205.
http://trac.webkit.org/changeset/75205
https://bugs.webkit.org/show_bug.cgi?id=52026
https://bugs.webkit.org/show_bug.cgi?id=52028
https://bugs.webkit.org/show_bug.cgi?id=52029

The Windows 7 Release Test Bots are fixed.

* platform/win/animations: Removed.
* platform/win/animations/animation-time-expected.txt: Removed.
* platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Removed.
* platform/win/fast/css/css3-nth-tokens-script-expected.txt: Removed.
* platform/win/fast/css/css3-nth-tokens-style-expected.txt: Removed.
* platform/win/fast/dom/Window/window-property-descriptors-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75258 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago<rdar://problem/8783318> Text emphasis marks should not appear over characters that...
mitz@apple.com [Fri, 7 Jan 2011 19:27:18 +0000 (19:27 +0000)]
<rdar://problem/8783318> Text emphasis marks should not appear over characters that have ruby annotations
https://bugs.webkit.org/show_bug.cgi?id=51267

Reviewed by Darin Adler.

WebCore:

Test: fast/text/emphasis-avoid-ruby.html

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInBlockDirection): Use getEmphasisMarkPosition() to check if
there are text emphasis marks.
(WebCore::InlineFlowBox::addTextBoxVisualOverflow): Ditto.
(WebCore::InlineFlowBox::computeOverAnnotationAdjustment): Ditto.
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::getEmphasisMarkPosition): Added. Returns true and sets the emphasis mark
position if the text is style with emphasis marks and there isn’t a ruby annotation that should
suppress them. Otherwise returns false.
(WebCore::InlineTextBox::paint): Use getEmphasisMarkPosition() to check if emphasis marks should
be painted.
* rendering/InlineTextBox.h:

LayoutTests:

* fast/text/emphasis-avoid-ruby-expected.checksum: Added.
* fast/text/emphasis-avoid-ruby-expected.png: Added.
* fast/text/emphasis-avoid-ruby-expected.txt: Added.
* fast/text/emphasis-avoid-ruby.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75257 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Fri, 7 Jan 2011 19:05:18 +0000 (19:05 +0000)]
2011-01-07  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [cairo] Rendering a lot of arcs on top of each other causes time
        outs in some tests
        https://bugs.webkit.org/show_bug.cgi?id=50869

        We avoid the situation where we have to render the same arc
        multiple times over itself. Now it renders just one oval and
        moves to the end angle.

        * platform/graphics/cairo/PathCairo.cpp:
        (WebCore::Path::addArc):

2011-01-07  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [cairo] Rendering a lot of arcs on top of each other causes time
        outs in some tests
        https://bugs.webkit.org/show_bug.cgi?id=50869

        Unskip canvas-largedraws.html after improving the performance for
        big angles.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75256 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Fri, 7 Jan 2011 18:58:33 +0000 (18:58 +0000)]
2011-01-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port buttons painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=51812

        Use GtkStyleContext API to paint buttons when building with GTK+
        3.x.

        No new tests. This should not change functionality.

        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::adjustRectForFocus):
        (WebCore::RenderThemeGtk::adjustRepaintRect):
        (WebCore::RenderThemeGtk::paintButton):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75255 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 18:52:53 +0000 (18:52 +0000)]
2011-01-07  Zhenyao Mo  <zmo@google.com>

        Unreviewed, build fix.

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::copyTexSubImage2D):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75254 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebKit2: Need WKBundlePagePrivate equivalent of WebKit1's WebViewPrivate's setDefersC...
jberlin@webkit.org [Fri, 7 Jan 2011 18:43:36 +0000 (18:43 +0000)]
WebKit2: Need WKBundlePagePrivate equivalent of WebKit1's WebViewPrivate's setDefersCallbacks
https://bugs.webkit.org/show_bug.cgi?id=52038

Reviewed by Jon Honeycutt.

The implementation of WebKit1's WebViewPrivate's setDefersCallbacks on both Windows and Mac
calls WebCore::Page::setDefersLoading.

* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageSetDefersLoading):
* WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setDefersLoading):
* WebProcess/WebPage/WebPage.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75253 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 18:19:54 +0000 (18:19 +0000)]
2011-01-06  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        copyTexSubImage2D shouldn't have undefined pixels
        https://bugs.webkit.org/show_bug.cgi?id=51559

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::copyTexImage2D): Refactor to share some code with copyTexSubImage2D through helper function clip2D.
        (WebCore::WebGLRenderingContext::copyTexSubImage2D): Initialize undefined pixels to 0.
        (WebCore::WebGLRenderingContext::validateTexFuncLevel): Seperate the validation of level from validateTexFuncParameters.
        (WebCore::WebGLRenderingContext::validateTexFuncParameters): Ditto.
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebGLTexture.cpp:
        (WebCore::WebGLTexture::getType): Expose the type of a texture.
        * html/canvas/WebGLTexture.h:
2011-01-06  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        copyTexSubImage2D shouldn't have undefined pixels
        https://bugs.webkit.org/show_bug.cgi?id=51559

        * fast/canvas/webgl/uninitialized-test-expected.txt:
        * fast/canvas/webgl/uninitialized-test.html: Add test cases for copyTexSubImage2D.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75252 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Takashi Toyoshima <toyoshim@google.com>
zmo@google.com [Fri, 7 Jan 2011 17:51:36 +0000 (17:51 +0000)]
2011-01-07  Takashi Toyoshima  <toyoshim@google.com>

        Reviewed by Kenneth Russell.

        cleanupAfterGraphicsCall() is never called in
        WebGLRenderingContext::checkFramebufferStatus()
        https://bugs.webkit.org/show_bug.cgi?id=51668

        No new tests. This is a trivial bug.

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::checkFramebufferStatus):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75251 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 7 Jan 2011 17:34:02 +0000 (17:34 +0000)]
2011-01-07  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        GTK: AX: atk tests need to be updated after recent changes
        https://bugs.webkit.org/show_bug.cgi?id=51932

        Make sure we can always get the right accesssible parent for an
        AtkObject when traversing the hierarchy bottom up.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (isRootObject): New function to check whether an
        AccessibilityObject is the root one or not, according to the
        latest changes in the hierarchy.
        (atkParentOfRootObject): Gets the appropriate AtkObject from GTK's
        GAIL as the parent of the root AtkObject from WebCore.
        (webkit_accessible_get_parent): Use atkParentOfRootObject.
        (webkit_accessible_get_index_in_parent): Ditto.
        (atkRole): Expose AccessibilityObjects with ScrollAreaRole as
        AtkObject's of role ATK_ROLE_SCROLLED_PANE.
2011-01-07  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        GTK: AX: atk tests need to be updated after recent changes
        https://bugs.webkit.org/show_bug.cgi?id=51932

        Fix gtk_widget_get_accessible() in WebKitWebView to keep returning
        the AtkObject of role ATK_ROLE_DOCUMENT_FRAME.

        With the change to support WK2 accessibility, the root object of
        the AX hierarchy is different from what GTK expects as the current
        hirarchy right now includes a new accessible object as the parent
        of the accessible web area (AXScrollView).

        * webkit/webkitwebview.cpp:
        (webkit_web_view_get_accessible): Return the first child of the
        wrapper associated to the root accessible object in the document,
        to keep everything in the GTK port working as it used to be.

        Re-enable skipped ATK unit tests now they are passing again.

        * tests/testatk.c:
        (main): Re-enable skipped tests.
        * tests/testatkroles.c:
        (main): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75250 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 17:32:02 +0000 (17:32 +0000)]
2011-01-07  Zhenyao Mo  <zmo@google.com>

        Unreviewed, Mac 32-bit build fix.
        Use float instead of double in GL function arguments to avoid implicit type down casting.

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::blendColor):
        (WebCore::WebGLRenderingContext::clearColor):
        (WebCore::WebGLRenderingContext::clearDepth):
        (WebCore::WebGLRenderingContext::depthRange):
        (WebCore::WebGLRenderingContext::lineWidth):
        (WebCore::WebGLRenderingContext::polygonOffset):
        (WebCore::WebGLRenderingContext::sampleCoverage):
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebGLRenderingContext.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75249 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoSet svn:ignore on Visual Studio .user files inside directories that can contain them.
sfalken@apple.com [Fri, 7 Jan 2011 17:26:16 +0000 (17:26 +0000)]
Set svn:ignore on Visual Studio .user files inside directories that can contain them.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75248 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Fri, 7 Jan 2011 17:07:44 +0000 (17:07 +0000)]
2011-01-07  Daniel Bates  <dbates@rim.com>

        Reviewed by Martin Robinson.

        Enable PCRE computed gotos when compiling with RCVT 4.0 or greater in GNU mode
        https://bugs.webkit.org/show_bug.cgi?id=52034

        Derived from a patch by Eli Fidler.

        RVCT 4 or greater in GNU mode supports the computed goto GNU language extension
        as per <http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0348c/ch03s07s12.html>.

        * pcre/pcre_exec.cpp: Modified to check for feature, HAVE(COMPUTED_GOTO), instead
        of hardcoding the GCC compiler.
        * wtf/Platform.h: Define WTF_COMPILER_RVCT4_OR_GREATER if __ARMCC_VERSION >= 400000.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75247 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago<rdar://problem/8261624> and https://bugs.webkit.org/show_bug.cgi?id=47355
beidson@apple.com [Fri, 7 Jan 2011 16:56:49 +0000 (16:56 +0000)]
<rdar://problem/8261624> and https://bugs.webkit.org/show_bug.cgi?id=47355
Change WebKit2 session restoring to restore the full back/forward list.

Reviewed by Darin Adler.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::registerNewWebBackForwardListItem): Let the UIProcess register its own
  WebBackForwardListItems in its ID map upon creation.
* UIProcess/WebProcessProxy.h:

* UIProcess/cf/WebPageProxyCF.cpp:
(WebKit::WebPageProxy::restoreFromSessionStateData): Register each new list entry in the
  UIProcess ID map.

* WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::WebBackForwardListProxy::addItemFromUIProcess): Add this method to register UIProcess
  created items without doing any of the other work normally associated with adding a new back/forward item
  (such as notifying the UIProcess).
* WebProcess/WebPage/WebBackForwardListProxy.h:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::restoreSession): Map all of the back/forward list entries from the UIProcess then
  cause a load of the current entry.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75246 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 16:44:03 +0000 (16:44 +0000)]
2011-01-07  Stephen White  <senorblanco@chromium.org>

        Unreviewed; new test results and expectations updates.

        Created new results for tests which do not fail on chrome win (failing
        Safari results were recently checked in).  Also assigned bugs to many
        of my recent test_expectations updates.

        * platform/chromium-win/animations/animation-time-expected.txt: Added.
        * platform/chromium-win/fast/css/css3-nth-tokens-script-expected.txt: Added.
        * platform/chromium-win/fast/css/css3-nth-tokens-style-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75245 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild master fix
aroben@apple.com [Fri, 7 Jan 2011 16:02:46 +0000 (16:02 +0000)]
Build master fix

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunWebKitTests.start): Don't try to concatenate a list and a string.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75244 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 15:55:07 +0000 (15:55 +0000)]
2011-01-07  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        A few tests that were flaky before are failing more frequently now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75243 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Fri, 7 Jan 2011 13:59:20 +0000 (13:59 +0000)]
2011-01-07  Andreas Kling  <kling@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Add selectedHtml function to QWebView
        https://bugs.webkit.org/show_bug.cgi?id=35028

        Add QWebView::selectedHtml() and QWebPage::selectedHtml()
        which return the current selection range's HTML representation.

        * Api/qwebpage.cpp:
        (QWebPage::selectedHtml):
        * Api/qwebpage.h:
        * Api/qwebview.cpp:
        (QWebView::selectedText):
        (QWebView::selectedHtml):
        * Api/qwebview.h:
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::cursorMovements):
        (tst_QWebPage::textSelection):
        (tst_QWebPage::crashTests_LazyInitializationOfMainFrame):
        (tst_QWebPage::findText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75242 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Carlos Garcia Campos <cgarcia@igalia.com> and Martin Robinson <mrobinso...
carlosgc@webkit.org [Fri, 7 Jan 2011 13:58:53 +0000 (13:58 +0000)]
2011-01-07  Carlos Garcia Campos  <cgarcia@igalia.com> and Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Port slider painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=51874

        Use GtkStyleContext API to paint sliders when building with GTK+
        3.x. Also move the code to adjust media slider to its own method
        in RenderThemeGtk.cpp since it's common to both gtk 2 and 3.

        No new tests. This should not change functionality.

        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::adjustMediaSliderThumbSize):
        * platform/gtk/RenderThemeGtk.h:
        * platform/gtk/RenderThemeGtk2.cpp:
        (WebCore::RenderThemeGtk::adjustSliderThumbSize):
        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::RenderThemeGtk::paintSliderTrack):
        (WebCore::RenderThemeGtk::paintSliderThumb):
        (WebCore::RenderThemeGtk::adjustSliderThumbSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75241 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 13:07:21 +0000 (13:07 +0000)]
2011-01-07  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Csaba Osztrogonác.

        run-qtwebkit-tests should be able to kill a testsuite.

        Add new option in the script that can setup a timeout for a test.
        If the test execution takes more then specified time then the test
        would be terminated.

        [Qt] run-qtwebkit-tests needs timeout
        https://bugs.webkit.org/show_bug.cgi?id=51894

        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
        * Scripts/run-qtwebkit-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75240 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed fix after r75233.
ossy@webkit.org [Fri, 7 Jan 2011 12:31:27 +0000 (12:31 +0000)]
Unreviewed fix after r75233.

Based on idea from Eric Seidel.

Add remote zip file handling to webkitpy.
https://bugs.webkit.org/show_bug.cgi?id=50901

* Scripts/webkitpy/common/system/fileset.py: Make python 2.5 happy.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75239 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Fri, 7 Jan 2011 11:26:41 +0000 (11:26 +0000)]
2011-01-07  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] [WK2] QtWebKit does not build in debug, FileReader.cpp does not compile
        https://bugs.webkit.org/show_bug.cgi?id=51992

        Add the missing header. CString is used in debug by the calls to LOG().

        * fileapi/FileReader.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75238 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Fri, 7 Jan 2011 10:25:29 +0000 (10:25 +0000)]
2011-01-07  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Cairo's ContextShadow may mis-render some box shadows
        https://bugs.webkit.org/show_bug.cgi?id=51374

        The space required for the internal shadow of the corners was not
        correctly considered.

        * platform/graphics/cairo/ContextShadowCairo.cpp:
        (WebCore::ContextShadow::drawRectShadow):

2011-01-07  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Cairo's ContextShadow may mis-render some box shadows
        https://bugs.webkit.org/show_bug.cgi?id=51374

        Added new test to check rectangular tiled shadows.

        * platform/gtk/fast/css/rect-shadow-tiled-expected.checksum: Added.
        * platform/gtk/fast/css/rect-shadow-tiled-expected.png: Added.
        * platform/gtk/fast/css/rect-shadow-tiled-expected.txt: Added.
        * platform/gtk/fast/css/rect-shadow-tiled.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75237 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Fri, 7 Jan 2011 09:49:35 +0000 (09:49 +0000)]
2011-01-07  Kinuko Yasuda  <kinuko@chromium.org>

        Unreviewed; an attempt to fix chromium bot failures by removing failing test line (they must be failing due to modificationTime accuracy error).

        * fast/filesystem/op-get-metadata-expected.txt:
        * fast/filesystem/resources/op-tests-helper.js:
        (runOperationTest.OperationTestHelper.this.testMetadataSuccessCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75236 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-07 Shane Stephens <shanestephens@google.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 09:46:42 +0000 (09:46 +0000)]
2011-01-07  Shane Stephens  <shanestephens@google.com>

        Reviewed by Eric Seidel.

        svn-apply: should support git binary delta diffs
        https://bugs.webkit.org/show_bug.cgi?id=38864

        * Scripts/VCSUtils.pm:
        * Scripts/svn-apply:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75235 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Julie Parent <jparent@chromium.org>
jparent@chromium.org [Fri, 7 Jan 2011 07:31:14 +0000 (07:31 +0000)]
2011-01-06  Julie Parent  <jparent@chromium.org>

        Reviewed by Eric Seidel.

        Test Result Server not removing old results.
        https://bugs.webkit.org/show_bug.cgi?id=52012

        * TestResultServer/model/jsonresults.py:
        Fix off-by-one: Truncate if >= num_runs, not just >.
        * TestResultServer/model/jsonresults_unittest.py:
        Add unit test to test that merging in a new result with the same value
        as the last result causes previous result to fall off.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75234 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 James Kozianski <koz@chromium.org>
commit-queue@webkit.org [Fri, 7 Jan 2011 07:13:57 +0000 (07:13 +0000)]
2011-01-06  James Kozianski  <koz@chromium.org>

        Reviewed by Mihai Parparita.

        Add classes to provide a consistent interface to a set of files.
        https://bugs.webkit.org/show_bug.cgi?id=50901

        These classes allow us to write code that is agnostic to whether a
        particular set of files resides in a local directory or in a zip file
        on a remote machine.

        * Scripts/webkitpy/common/system/directoryfileset.py: Added.
        * Scripts/webkitpy/common/system/directoryfileset_unittest.py: Added.
        * Scripts/webkitpy/common/system/fileset.py: Added.
        * Scripts/webkitpy/common/system/filesystem.py:
        * Scripts/webkitpy/common/system/filesystem_mock.py:
        * Scripts/webkitpy/common/system/zipfileset.py: Added.
        * Scripts/webkitpy/common/system/zipfileset_unittest.py: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75233 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Fri, 7 Jan 2011 07:07:32 +0000 (07:07 +0000)]
2011-01-06  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by David Levin.

        Add layout tests for Entry.getMetadata (FileSystem API)
        https://bugs.webkit.org/show_bug.cgi?id=47311

        * fast/filesystem/op-get-metadata-expected.txt: Added.
        * fast/filesystem/op-get-metadata.html: Added.
        * fast/filesystem/resources/op-get-metadata.js: Added.
        * fast/filesystem/resources/op-tests-helper.js: Updated getMetadata
        implementation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75232 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 7 Jan 2011 06:05:14 +0000 (06:05 +0000)]
2011-01-06  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed; chromium test expectations update.

        Remove failing expectations for tests that started to pass after
        rebaselining in r75215.

        Make failing expectations added by r75213 more specific (failures are
        only on Windows and Linux).

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75231 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 7 Jan 2011 05:32:26 +0000 (05:32 +0000)]
2011-01-06  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        NetworkTransaction should log the url it is retrying
        https://bugs.webkit.org/show_bug.cgi?id=52043

        * Scripts/webkitpy/common/net/networktransaction.py:
        * Scripts/webkitpy/common/net/networktransaction_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75230 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWindows build fix.
sfalken@apple.com [Fri, 7 Jan 2011 05:24:37 +0000 (05:24 +0000)]
Windows build fix.
Import os before using it.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75229 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 7 Jan 2011 05:14:30 +0000 (05:14 +0000)]
2011-01-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION (r74663): ASSERTION FAILED: m_tokenizer->lineNumber() == line.zeroBasedInt()
        https://bugs.webkit.org/show_bug.cgi?id=52013

        This test case used to trigger an ASSERT.  It's unclear to me whether
        there's a more direct way to test this fix.

        * fast/parser/line-number-composite-segmented-string-expected.txt: Added.
        * fast/parser/line-number-composite-segmented-string.html: Added.
2011-01-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION (r74663): ASSERTION FAILED: m_tokenizer->lineNumber() == line.zeroBasedInt()
        https://bugs.webkit.org/show_bug.cgi?id=52013

        When excluding line numbers for composite strings, we forgot to exclude
        the line number for the current string!

        Test: fast/parser/line-number-composite-segmented-string.html

        * platform/text/SegmentedString.cpp:
        (WebCore::SegmentedString::setExcludeLineNumbers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75228 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 04:53:08 +0000 (04:53 +0000)]
2011-01-06  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Back out changes in http://trac.webkit.org/changeset/75199
        This breaks the Windows build. Fixing it on that side. Until
        then I'll back this out.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75227 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 04:32:59 +0000 (04:32 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        New test fast/frames/iframe-reparenting-plugins.html failing on windows.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75226 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 7 Jan 2011 04:22:35 +0000 (04:22 +0000)]
2011-01-06  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        StyleQueue fails to report errors when patches have many files
        https://bugs.webkit.org/show_bug.cgi?id=52042

        This is one of at least two errors preventing style error reporting at the moment.
        When we moved to passing the list of files to check explicitly,
        we started to exceed the 500 character TEXT field limit for our AppEngine model object.
        We could change the type of the QueueStatus.message type, or we could
        just teach statusserver.py how to clamp values (and warn when it does).
        I chose the latter path.

        * Scripts/webkitpy/common/net/statusserver.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75225 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 03:37:03 +0000 (03:37 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Add new expected results for GTK+. Skip viewport tests which
        have results differing from Opera.

        * fast/dom/left-overflow-in-ltr-expected.txt: Added.
        * fast/dom/right-overflow-in-rtl-expected.txt: Added.
        * fast/viewport/viewport-126-expected.txt: Added.
        * fast/viewport/viewport-127-expected.txt: Added.
        * fast/viewport/viewport-65-expected.txt: Added.
        * fast/viewport/viewport-82-expected.txt: Added.
        * fast/viewport/viewport-84-expected.txt: Added.
        * fast/viewport/viewport-87-expected.txt: Added.
        * platform/gtk/Skipped:
        * platform/gtk/css2.1/t040105-import-10-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040105-import-10-b-expected.png: Added.
        * platform/gtk/css2.1/t040105-import-10-b-expected.txt: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-expected.checksum: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-expected.png: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-expected.txt: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-inline-block-expected.checksum: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-inline-block-expected.png: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-inline-block-expected.txt: Added.
        * platform/gtk/fast/block/positioning/table-cell-static-position-expected.checksum: Added.
        * platform/gtk/fast/block/positioning/table-cell-static-position-expected.png: Added.
        * platform/gtk/fast/block/positioning/table-cell-static-position-expected.txt: Added.
        * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Added.
        * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.png: Added.
        * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: Added.
        * platform/gtk/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
        * platform/gtk/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
        * platform/gtk/fast/blockflow/japanese-rl-text-with-broken-font-expected.txt: Added.
        * platform/gtk/fast/blockflow/vertical-align-table-baseline-expected.checksum: Added.
        * platform/gtk/fast/blockflow/vertical-align-table-baseline-expected.png: Added.
        * platform/gtk/fast/blockflow/vertical-align-table-baseline-expected.txt: Added.
        * platform/gtk/fast/blockflow/vertical-baseline-alignment-expected.checksum: Added.
        * platform/gtk/fast/blockflow/vertical-baseline-alignment-expected.png: Added.
        * platform/gtk/fast/blockflow/vertical-baseline-alignment-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-cell-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-cell-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-cell-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-row-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-row-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-row-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-table-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-table-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-table-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css/box-shadow-expected.checksum: Added.
        * platform/gtk/fast/css/box-shadow-expected.png: Added.
        * platform/gtk/fast/css/box-shadow-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-detached-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-detached-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-detached-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-multiline-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-multiline-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-multiline-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-outline-color-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-outline-color-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-outline-color-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-outline-offset-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-outline-offset-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-outline-offset-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-outline-width-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-outline-width-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-outline-width-expected.txt: Added.
        * platform/gtk/fast/forms/placeholder-position-expected.checksum: Added.
        * platform/gtk/fast/forms/placeholder-position-expected.png: Added.
        * platform/gtk/fast/forms/placeholder-position-expected.txt: Added.
        * platform/gtk/fast/html/marquee-scrollamount-expected.checksum: Added.
        * platform/gtk/fast/html/marquee-scrollamount-expected.png: Added.
        * platform/gtk/fast/html/marquee-scrollamount-expected.txt: Added.
        * platform/gtk/fast/images/gray-scale-jpeg-with-color-profile-expected.checksum: Added.
        * platform/gtk/fast/images/gray-scale-jpeg-with-color-profile-expected.png: Added.
        * platform/gtk/fast/images/gray-scale-jpeg-with-color-profile-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.checksum: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-zoom-expected.txt: Added.
        * platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
        * platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
        * platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt: Added.
        * platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
        * platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
        * platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.
        * platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.checksum: Added.
        * platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png: Added.
        * platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt: Added.
        * platform/gtk/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
        * platform/gtk/fast/overflow/overflow-rtl-vertical-expected.png: Added.
        * platform/gtk/fast/overflow/overflow-rtl-vertical-expected.txt: Added.
        * platform/gtk/fast/overflow/overflow-update-transform-expected.checksum: Added.
        * platform/gtk/fast/overflow/overflow-update-transform-expected.png: Added.
        * platform/gtk/fast/overflow/overflow-update-transform-expected.txt: Added.
        * platform/gtk/fast/ruby/nested-ruby-expected.checksum: Added.
        * platform/gtk/fast/ruby/nested-ruby-expected.png: Added.
        * platform/gtk/fast/ruby/nested-ruby-expected.txt: Added.
        * platform/gtk/fast/text/emphasis-expected.checksum: Added.
        * platform/gtk/fast/text/emphasis-expected.png: Added.
        * platform/gtk/fast/text/emphasis-expected.txt: Added.
        * platform/gtk/fast/text/emphasis-vertical-expected.checksum: Added.
        * platform/gtk/fast/text/emphasis-vertical-expected.png: Added.
        * platform/gtk/fast/text/emphasis-vertical-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Added.
        * platform/gtk/svg/custom/image-rescale-clip-expected.checksum: Added.
        * platform/gtk/svg/custom/image-rescale-clip-expected.png: Added.
        * platform/gtk/svg/custom/image-rescale-clip-expected.txt: Added.
        * platform/gtk/svg/custom/image-rescale-scroll-expected.checksum: Added.
        * platform/gtk/svg/custom/image-rescale-scroll-expected.png: Added.
        * platform/gtk/svg/custom/image-rescale-scroll-expected.txt: Added.
        * platform/gtk/svg/dom/SVGPathSegList-cloning-expected.checksum: Added.
        * platform/gtk/svg/dom/SVGPathSegList-cloning-expected.png: Added.
        * platform/gtk/svg/dom/SVGPathSegList-cloning-expected.txt: Added.
        * platform/gtk/svg/dom/SVGPathSegList-segment-modification-expected.checksum: Added.
        * platform/gtk/svg/dom/SVGPathSegList-segment-modification-expected.png: Added.
        * platform/gtk/svg/dom/SVGPathSegList-segment-modification-expected.txt: Added.
        * platform/gtk/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.checksum: Added.
        * platform/gtk/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png: Added.
        * platform/gtk/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.txt: Added.
        * platform/gtk/svg/filters/feColorMatrix-offset-expected.checksum: Added.
        * platform/gtk/svg/filters/feColorMatrix-offset-expected.png: Added.
        * platform/gtk/svg/filters/feColorMatrix-offset-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75224 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 02:59:20 +0000 (02:59 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; yet another test expectations update.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75223 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 7 Jan 2011 02:52:42 +0000 (02:52 +0000)]
2011-01-06  Ojan Vafai  <ojan@chromium.org>

        Fix line context when replying to comments.

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75222 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 02:35:14 +0000 (02:35 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        Add new results for new tests introduced in r75097.

        * platform/chromium-mac/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added.
        * platform/chromium-mac/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
        * platform/chromium-win/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added.
        * platform/chromium-win/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75221 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Fri, 7 Jan 2011 02:25:15 +0000 (02:25 +0000)]
2011-01-06  Robert Hogan  <robert@webkit.org>

        [Qt] Update expected results after r75177

        Unreviewed, update expected results.

        * platform/qt/fast/dom/prototype-inheritance-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75220 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 02:11:29 +0000 (02:11 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Adam Barth.

        fast/dom/Window/window-postmessage-clone.html may fail on platforms with larger fonts
        https://bugs.webkit.org/show_bug.cgi?id=52027

        Move the console output div after the file input control in
        fast/dom/Window/window-postmessage-clone.html so that console
        text does not push it outside of the viewport.

        * fast/dom/Window/window-postmessage-clone-expected.txt: Updated results
        to match new text output.
        * fast/dom/Window/window-postmessage-clone.html: Moved console div.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75219 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 02:06:32 +0000 (02:06 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Update GTK+-specific results after r75177.

        * platform/gtk/fast/dom/prototype-inheritance-expected.txt: Update results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75218 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Jenn Braithwaite <jennb@chromium.org>
commit-queue@webkit.org [Fri, 7 Jan 2011 01:58:47 +0000 (01:58 +0000)]
2011-01-06  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        When a live frame is moved between pages, some plug-in DOM methods cease to function
        https://bugs.webkit.org/show_bug.cgi?id=45770

        * fast/frames/iframe-reparenting-plugins-expected.txt: Added.
        * fast/frames/iframe-reparenting-plugins.html: Added.
        * fast/frames/resources/iframe-reparenting-plugins-iframe-content.html: Added.
        * fast/frames/resources/iframe-reparenting-plugins-new-page.html: Added.
2011-01-06  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        When a live frame is moved between pages, some plug-in DOM methods cease to function
        https://bugs.webkit.org/show_bug.cgi?id=45770

        Test: fast/frames/iframe-reparenting-plugins.html

        * page/Frame.cpp:
        (WebCore::Frame::~Frame):
        (WebCore::Frame::addObserver):
        (WebCore::Frame::removeObserver):
        * page/Frame.h:
        (WebCore::FrameDestructionObserver::~FrameDestructionObserver):
        Added observer to be notified when frame is destroyed.
        * page/Page.cpp:
        (WebCore::Page::~Page):
        (WebCore::Page::refreshPlugins):
        PluginData no longer stores page pointer.
        * plugins/DOMMimeType.cpp:
        (WebCore::DOMMimeType::DOMMimeType):
        (WebCore::DOMMimeType::~DOMMimeType):
        (WebCore::DOMMimeType::enabledPlugin):
        * plugins/DOMMimeType.h:
        (WebCore::DOMMimeType::create):
        (WebCore::DOMMimeType::frameDestroyed):
        Store frame instead of page pointer in DOMMimeType.
        * plugins/DOMMimeTypeArray.cpp:
        (WebCore::DOMMimeTypeArray::item):
        (WebCore::DOMMimeTypeArray::namedItem):
        Provide frame to create DOMMimeType.
        * plugins/DOMPlugin.cpp:
        (WebCore::DOMPlugin::DOMPlugin):
        (WebCore::DOMPlugin::~DOMPlugin):
        (WebCore::DOMPlugin::item):
        (WebCore::DOMPlugin::namedItem):
        * plugins/DOMPlugin.h:
        (WebCore::DOMPlugin::create):
        (WebCore::DOMPlugin::frameDestroyed):
        Store frame instead of page pointer in DOMPlugin.
        * plugins/DOMPluginArray.cpp:
        (WebCore::DOMPluginArray::item):
        (WebCore::DOMPluginArray::namedItem):
        Provide frame to create DOMPlugin.
        * plugins/PluginData.cpp:
        (WebCore::PluginData::PluginData):
        (WebCore::PluginData::initPlugins):
        * plugins/PluginData.h:
        No longer stores a pointer to the page.
        Added page parameter to initPlugins.
        * plugins/PluginDataNone.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/chromium/PluginDataChromium.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/gtk/PluginDataGtk.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/wx/PluginDataWx.cpp:
        (WebCore::PluginData::initPlugins):
        Updated platforms to add (unused) page parameter to initPlugins.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75217 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 01:55:27 +0000 (01:55 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        * platform/chromium-gpu/test_expectations.txt:
        Remove duplicate expectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75216 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 7 Jan 2011 01:45:53 +0000 (01:45 +0000)]
2011-01-06  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, test expectation update.

        Add mac-leopard baselines for tests that currently have Snow Leopard
        baselines in platform/mac.

        * platform/mac-leopard/fast/multicol/client-rects-expected.checksum:
        * platform/mac-leopard/fast/multicol/client-rects-expected.png: Added.
        * platform/mac-leopard/fast/multicol/column-break-with-balancing-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/column-break-with-balancing-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-multicol-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-multicol-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-complex-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-complex-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-expected.png: Added.
        * platform/mac-leopard/fast/multicol/layers-in-multicol-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/layers-in-multicol-expected.png: Added.
        * platform/mac-leopard/fast/multicol/layers-split-across-columns-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/layers-split-across-columns-expected.png: Added.
        * platform/mac-leopard/fast/multicol/paginate-block-replaced-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/paginate-block-replaced-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-expected.png: Added.
        * platform/mac-leopard/fast/multicol/table-vertical-align-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/table-vertical-align-expected.png: Added.
        * platform/mac-leopard/fast/repaint/overflow-scroll-body-appear-expected.checksum: Added.
        * platform/mac-leopard/fast/repaint/overflow-scroll-body-appear-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75215 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-05 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 01:43:29 +0000 (01:43 +0000)]
2011-01-05  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Define GC3D types to match GL types and use them in GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=45557

        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::bindAttribLocation):
        (WebCore::GraphicsContext3DInternal::bufferData):
        (WebCore::GraphicsContext3DInternal::bufferSubData):
        (WebCore::GraphicsContext3DInternal::getActiveAttrib):
        (WebCore::GraphicsContext3DInternal::getActiveUniform):
        (WebCore::GraphicsContext3DInternal::getAttribLocation):
        (WebCore::GraphicsContext3DInternal::getString):
        (WebCore::GraphicsContext3DInternal::getUniformLocation):
        (WebCore::GraphicsContext3DInternal::texImage2D):
        (WebCore::GraphicsContext3DInternal::texSubImage2D):
        (WebCore::GraphicsContext3DInternal::uniform1fv):
        (WebCore::GraphicsContext3DInternal::uniform1iv):
        (WebCore::GraphicsContext3DInternal::uniform2fv):
        (WebCore::GraphicsContext3DInternal::uniform2iv):
        (WebCore::GraphicsContext3DInternal::uniform3fv):
        (WebCore::GraphicsContext3DInternal::uniform3iv):
        (WebCore::GraphicsContext3DInternal::uniform4fv):
        (WebCore::GraphicsContext3DInternal::uniform4iv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
        * src/GraphicsContext3DInternal.h:
2011-01-05  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Define GC3D types to match GL types and use them in GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=45557

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::readPixels):
        (WebCore::WebGLRenderingContext::validateTexFuncData):
        * platform/graphics/GraphicsContext3D.cpp:
        (WebCore::GraphicsContext3D::texImage2DResourceSafe):
        (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
        (WebCore::GraphicsContext3D::extractImageData):
        (WebCore::GraphicsContext3D::extractTextureData):
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/cg/GraphicsContext3DCG.cpp:
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
        (WebCore::SharedGraphicsContext3D::enable):
        (WebCore::SharedGraphicsContext3D::disable):
        (WebCore::SharedGraphicsContext3D::clear):
        (WebCore::SharedGraphicsContext3D::drawArrays):
        (WebCore::SharedGraphicsContext3D::getError):
        (WebCore::SharedGraphicsContext3D::getIntegerv):
        (WebCore::SharedGraphicsContext3D::createFramebuffer):
        (WebCore::SharedGraphicsContext3D::createTexture):
        (WebCore::SharedGraphicsContext3D::deleteFramebuffer):
        (WebCore::SharedGraphicsContext3D::deleteTexture):
        (WebCore::SharedGraphicsContext3D::framebufferTexture2D):
        (WebCore::SharedGraphicsContext3D::texParameteri):
        (WebCore::SharedGraphicsContext3D::texImage2D):
        (WebCore::SharedGraphicsContext3D::texSubImage2D):
        (WebCore::SharedGraphicsContext3D::readPixels):
        (WebCore::SharedGraphicsContext3D::setActiveTexture):
        (WebCore::SharedGraphicsContext3D::bindTexture):
        (WebCore::SharedGraphicsContext3D::bindFramebuffer):
        * platform/graphics/gpu/SharedGraphicsContext3D.h:
        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::attachShader):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindFramebuffer):
        (WebCore::GraphicsContext3D::bindRenderbuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::blendColor):
        (WebCore::GraphicsContext3D::blendEquation):
        (WebCore::GraphicsContext3D::blendEquationSeparate):
        (WebCore::GraphicsContext3D::blendFunc):
        (WebCore::GraphicsContext3D::blendFuncSeparate):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::checkFramebufferStatus):
        (WebCore::GraphicsContext3D::clearColor):
        (WebCore::GraphicsContext3D::clear):
        (WebCore::GraphicsContext3D::clearDepth):
        (WebCore::GraphicsContext3D::clearStencil):
        (WebCore::GraphicsContext3D::colorMask):
        (WebCore::GraphicsContext3D::compileShader):
        (WebCore::GraphicsContext3D::copyTexImage2D):
        (WebCore::GraphicsContext3D::copyTexSubImage2D):
        (WebCore::GraphicsContext3D::cullFace):
        (WebCore::GraphicsContext3D::depthFunc):
        (WebCore::GraphicsContext3D::depthMask):
        (WebCore::GraphicsContext3D::depthRange):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::disable):
        (WebCore::GraphicsContext3D::disableVertexAttribArray):
        (WebCore::GraphicsContext3D::drawArrays):
        (WebCore::GraphicsContext3D::drawElements):
        (WebCore::GraphicsContext3D::enable):
        (WebCore::GraphicsContext3D::enableVertexAttribArray):
        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
        (WebCore::GraphicsContext3D::framebufferTexture2D):
        (WebCore::GraphicsContext3D::frontFace):
        (WebCore::GraphicsContext3D::generateMipmap):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttachedShaders):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::getError):
        (WebCore::GraphicsContext3D::getString):
        (WebCore::GraphicsContext3D::hint):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isEnabled):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::lineWidth):
        (WebCore::GraphicsContext3D::linkProgram):
        (WebCore::GraphicsContext3D::pixelStorei):
        (WebCore::GraphicsContext3D::polygonOffset):
        (WebCore::GraphicsContext3D::readPixels):
        (WebCore::GraphicsContext3D::renderbufferStorage):
        (WebCore::GraphicsContext3D::sampleCoverage):
        (WebCore::GraphicsContext3D::scissor):
        (WebCore::GraphicsContext3D::stencilFunc):
        (WebCore::GraphicsContext3D::stencilFuncSeparate):
        (WebCore::GraphicsContext3D::stencilMask):
        (WebCore::GraphicsContext3D::stencilMaskSeparate):
        (WebCore::GraphicsContext3D::stencilOp):
        (WebCore::GraphicsContext3D::stencilOpSeparate):
        (WebCore::GraphicsContext3D::texParameterf):
        (WebCore::GraphicsContext3D::texParameteri):
        (WebCore::GraphicsContext3D::uniform1f):
        (WebCore::GraphicsContext3D::uniform1fv):
        (WebCore::GraphicsContext3D::uniform2f):
        (WebCore::GraphicsContext3D::uniform2fv):
        (WebCore::GraphicsContext3D::uniform3f):
        (WebCore::GraphicsContext3D::uniform3fv):
        (WebCore::GraphicsContext3D::uniform4f):
        (WebCore::GraphicsContext3D::uniform4fv):
        (WebCore::GraphicsContext3D::uniform1i):
        (WebCore::GraphicsContext3D::uniform1iv):
        (WebCore::GraphicsContext3D::uniform2i):
        (WebCore::GraphicsContext3D::uniform2iv):
        (WebCore::GraphicsContext3D::uniform3i):
        (WebCore::GraphicsContext3D::uniform3iv):
        (WebCore::GraphicsContext3D::uniform4i):
        (WebCore::GraphicsContext3D::uniform4iv):
        (WebCore::GraphicsContext3D::uniformMatrix2fv):
        (WebCore::GraphicsContext3D::uniformMatrix3fv):
        (WebCore::GraphicsContext3D::uniformMatrix4fv):
        (WebCore::GraphicsContext3D::useProgram):
        (WebCore::GraphicsContext3D::validateProgram):
        (WebCore::GraphicsContext3D::vertexAttrib1f):
        (WebCore::GraphicsContext3D::vertexAttrib1fv):
        (WebCore::GraphicsContext3D::vertexAttrib2f):
        (WebCore::GraphicsContext3D::vertexAttrib2fv):
        (WebCore::GraphicsContext3D::vertexAttrib3f):
        (WebCore::GraphicsContext3D::vertexAttrib3fv):
        (WebCore::GraphicsContext3D::vertexAttrib4f):
        (WebCore::GraphicsContext3D::vertexAttrib4fv):
        (WebCore::GraphicsContext3D::vertexAttribPointer):
        (WebCore::GraphicsContext3D::viewport):
        (WebCore::GraphicsContext3D::getBooleanv):
        (WebCore::GraphicsContext3D::getBufferParameteriv):
        (WebCore::GraphicsContext3D::getFloatv):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
        (WebCore::GraphicsContext3D::getIntegerv):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getTexParameterfv):
        (WebCore::GraphicsContext3D::getTexParameteriv):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getVertexAttribfv):
        (WebCore::GraphicsContext3D::getVertexAttribiv):
        (WebCore::GraphicsContext3D::getVertexAttribOffset):
        (WebCore::GraphicsContext3D::texImage2D):
        (WebCore::GraphicsContext3D::texSubImage2D):
        (WebCore::GraphicsContext3D::createBuffer):
        (WebCore::GraphicsContext3D::createFramebuffer):
        (WebCore::GraphicsContext3D::createProgram):
        (WebCore::GraphicsContext3D::createRenderbuffer):
        (WebCore::GraphicsContext3D::createShader):
        (WebCore::GraphicsContext3D::createTexture):
        (WebCore::GraphicsContext3D::deleteBuffer):
        (WebCore::GraphicsContext3D::deleteFramebuffer):
        (WebCore::GraphicsContext3D::deleteProgram):
        (WebCore::GraphicsContext3D::deleteRenderbuffer):
        (WebCore::GraphicsContext3D::deleteShader):
        (WebCore::GraphicsContext3D::deleteTexture):
        (WebCore::GraphicsContext3D::sizeInBytes):
        (WebCore::GraphicsContext3D::synthesizeGLError):
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::attachShader):
        (WebCore::GraphicsContext3D::getAttachedShaders):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindFramebuffer):
        (WebCore::GraphicsContext3D::bindRenderbuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::blendColor):
        (WebCore::GraphicsContext3D::blendEquation):
        (WebCore::GraphicsContext3D::blendEquationSeparate):
        (WebCore::GraphicsContext3D::blendFunc):
        (WebCore::GraphicsContext3D::blendFuncSeparate):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::checkFramebufferStatus):
        (WebCore::GraphicsContext3D::clearColor):
        (WebCore::GraphicsContext3D::clear):
        (WebCore::GraphicsContext3D::clearDepth):
        (WebCore::GraphicsContext3D::clearStencil):
        (WebCore::GraphicsContext3D::colorMask):
        (WebCore::GraphicsContext3D::compileShader):
        (WebCore::GraphicsContext3D::copyTexImage2D):
        (WebCore::GraphicsContext3D::copyTexSubImage2D):
        (WebCore::GraphicsContext3D::cullFace):
        (WebCore::GraphicsContext3D::depthFunc):
        (WebCore::GraphicsContext3D::depthMask):
        (WebCore::GraphicsContext3D::depthRange):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::disable):
        (WebCore::GraphicsContext3D::disableVertexAttribArray):
        (WebCore::GraphicsContext3D::drawArrays):
        (WebCore::GraphicsContext3D::drawElements):
        (WebCore::GraphicsContext3D::enable):
        (WebCore::GraphicsContext3D::enableVertexAttribArray):
        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
        (WebCore::GraphicsContext3D::framebufferTexture2D):
        (WebCore::GraphicsContext3D::frontFace):
        (WebCore::GraphicsContext3D::generateMipmap):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::getError):
        (WebCore::GraphicsContext3D::getString):
        (WebCore::GraphicsContext3D::hint):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isEnabled):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::linkProgram):
        (WebCore::GraphicsContext3D::pixelStorei):
        (WebCore::GraphicsContext3D::polygonOffset):
        (WebCore::GraphicsContext3D::readPixels):
        (WebCore::GraphicsContext3D::renderbufferStorage):
        (WebCore::GraphicsContext3D::sampleCoverage):
        (WebCore::GraphicsContext3D::scissor):
        (WebCore::GraphicsContext3D::stencilFunc):
        (WebCore::GraphicsContext3D::stencilFuncSeparate):
        (WebCore::GraphicsContext3D::stencilMask):
        (WebCore::GraphicsContext3D::stencilMaskSeparate):
        (WebCore::GraphicsContext3D::stencilOp):
        (WebCore::GraphicsContext3D::stencilOpSeparate):
        (WebCore::GraphicsContext3D::texParameterf):
        (WebCore::GraphicsContext3D::texParameteri):
        (WebCore::GraphicsContext3D::uniform1f):
        (WebCore::GraphicsContext3D::uniform1fv):
        (WebCore::GraphicsContext3D::uniform2f):
        (WebCore::GraphicsContext3D::uniform2fv):
        (WebCore::GraphicsContext3D::uniform3f):
        (WebCore::GraphicsContext3D::uniform3fv):
        (WebCore::GraphicsContext3D::uniform4f):
        (WebCore::GraphicsContext3D::uniform4fv):
        (WebCore::GraphicsContext3D::uniform1i):
        (WebCore::GraphicsContext3D::uniform1iv):
        (WebCore::GraphicsContext3D::uniform2i):
        (WebCore::GraphicsContext3D::uniform2iv):
        (WebCore::GraphicsContext3D::uniform3i):
        (WebCore::GraphicsContext3D::uniform3iv):
        (WebCore::GraphicsContext3D::uniform4i):
        (WebCore::GraphicsContext3D::uniform4iv):
        (WebCore::GraphicsContext3D::uniformMatrix2fv):
        (WebCore::GraphicsContext3D::uniformMatrix3fv):
        (WebCore::GraphicsContext3D::uniformMatrix4fv):
        (WebCore::GraphicsContext3D::useProgram):
        (WebCore::GraphicsContext3D::validateProgram):
        (WebCore::GraphicsContext3D::vertexAttrib1f):
        (WebCore::GraphicsContext3D::vertexAttrib1fv):
        (WebCore::GraphicsContext3D::vertexAttrib2f):
        (WebCore::GraphicsContext3D::vertexAttrib2fv):
        (WebCore::GraphicsContext3D::vertexAttrib3f):
        (WebCore::GraphicsContext3D::vertexAttrib3fv):
        (WebCore::GraphicsContext3D::vertexAttrib4f):
        (WebCore::GraphicsContext3D::vertexAttrib4fv):
        (WebCore::GraphicsContext3D::vertexAttribPointer):
        (WebCore::GraphicsContext3D::viewport):
        (WebCore::GraphicsContext3D::getBooleanv):
        (WebCore::GraphicsContext3D::getBufferParameteriv):
        (WebCore::GraphicsContext3D::getFloatv):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
        (WebCore::GraphicsContext3D::getIntegerv):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getShaderSource):
        (WebCore::GraphicsContext3D::getTexParameterfv):
        (WebCore::GraphicsContext3D::getTexParameteriv):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getVertexAttribfv):
        (WebCore::GraphicsContext3D::getVertexAttribiv):
        (WebCore::GraphicsContext3D::getVertexAttribOffset):
        (WebCore::GraphicsContext3D::texImage2D):
        (WebCore::GraphicsContext3D::texSubImage2D):
        (WebCore::GraphicsContext3D::createBuffer):
        (WebCore::GraphicsContext3D::createFramebuffer):
        (WebCore::GraphicsContext3D::createProgram):
        (WebCore::GraphicsContext3D::createRenderbuffer):
        (WebCore::GraphicsContext3D::createShader):
        (WebCore::GraphicsContext3D::createTexture):
        (WebCore::GraphicsContext3D::deleteBuffer):
        (WebCore::GraphicsContext3D::deleteFramebuffer):
        (WebCore::GraphicsContext3D::deleteProgram):
        (WebCore::GraphicsContext3D::deleteRenderbuffer):
        (WebCore::GraphicsContext3D::deleteShader):
        (WebCore::GraphicsContext3D::deleteTexture):
        (WebCore::GraphicsContext3D::sizeInBytes):
        (WebCore::GraphicsContext3D::synthesizeGLError):
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/skia/GraphicsContext3DSkia.cpp:
        (WebCore::GraphicsContext3D::getImageData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75214 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 01:03:18 +0000 (01:03 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Add some expected "failing" tests post-r75205.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75213 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 00:47:25 +0000 (00:47 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Remove duplicate expectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75212 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Fri, 7 Jan 2011 00:39:04 +0000 (00:39 +0000)]
2011-01-06  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Stephanie Lewis.

        Fix syntax error in script.

        Windows bots need to archive/unarchive builds to/from configuration-specific directories
        https://bugs.webkit.org/show_bug.cgi?id=51996

        * BuildSlaveSupport/build.webkit.org-config/master.cfg:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75211 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBug 52021 - zeroDouble broken on ARMv7
barraclough@apple.com [Fri, 7 Jan 2011 00:38:37 +0000 (00:38 +0000)]
Bug 52021 - zeroDouble broken on ARMv7

Reviewed by Darin Adler.

The bug here is that zeroDouble was working incorrectly,
leading to op_loop_if_true failing - specifically in the
case where the value being checked is 0.0 encoded as a
double (rather than an integer immediate).

Additionally this patch removes a redundant duplicate compare
in some (many) case.

* assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::vcmp_F64):
(JSC::ARMv7Assembler::vcmpz_F64):
* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::branchDoubleNonZero):
(JSC::MacroAssemblerARM::branchDoubleZeroOrNaN):
* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::branchDouble):
(JSC::MacroAssemblerARMv7::branchDoubleNonZero):
(JSC::MacroAssemblerARMv7::branchDoubleZeroOrNaN):
(JSC::MacroAssemblerARMv7::compare32):
* assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::branchDoubleNonZero):
(JSC::MacroAssemblerMIPS::branchDoubleZeroOrNaN):
* assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::branchDoubleNonZero):
(JSC::MacroAssemblerX86Common::branchDoubleZeroOrNaN):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_jfalse):
(JSC::JIT::emit_op_jtrue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75210 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 00:24:05 +0000 (00:24 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Initial build support for WebGL
        https://bugs.webkit.org/show_bug.cgi?id=51716

        * configure.ac: Add a configure option for WebGL.
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Initial build support for WebGL
        https://bugs.webkit.org/show_bug.cgi?id=51716

        Add initial build support for WebGL and insert bits of implementation
        necessary for clean compilation into GraphicsContext3D.

        No new tests. This is just a build change.

        * GNUmakefile.am: Add missing files to the source lists.
        * platform/graphics/GraphicsContext3D.h: Include IntSize.h as it's used below.
        Include typedefs necessary for WebGL on GTK+ and consolidate typdefs which are the
        same across different platforms. X11 headers define the VERSION symbol, so it's
        necessary to undefine it, since it's used as an enum value.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75209 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Fri, 7 Jan 2011 00:17:23 +0000 (00:17 +0000)]
2011-01-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Gavin Barraclough.

        Enhancement: Add Regexp Debug Compare between JIT and Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=51834

        * JavaScriptCore: Copied from JavaScriptCore.
2011-01-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Gavin Barraclough.

        Added debug code to compare the results of JIT regexp with
        interpreted regexp and displays discrepencies.  This debug code is
        controlled by the ENABLE_YARR_JIT_DEBUG macro in wtf/Platform.h and
        is only valid if ENABLE_YARR_JIT is enabled.

        Fixed a discovered problem in RegExp::printTraceData, changing
        m_pattern to the getter pattern().
        Also deleted an extraneous semicolon.

        Enhancement: Add Regexp Debug Compare between JIT and Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=51834

        * runtime/RegExp.cpp:
        (JSC::RegExp::compile):
        (JSC::RegExp::match):
        (JSC::RegExp::printTraceData):
        * wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75208 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 00:08:32 +0000 (00:08 +0000)]
2011-01-06  Helder Correia  <helder@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsContext::drawConvexPolygon() has unnecessary code for shadow
        https://bugs.webkit.org/show_bug.cgi?id=52014

        The function is only used by RenderObject to draw box sides.
        The shadow branch is never used and thus can be removed.

        No new tests are necessary.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::drawConvexPolygon):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75207 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 23:39:50 +0000 (23:39 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Make sure touch is disabled in the minimal configuration
        https://bugs.webkit.org/show_bug.cgi?id=51316

        No new tests as there is no new functionality.

        * features.pri:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75206 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd/update Windows-specific test results for recent regressions
aroben@apple.com [Thu, 6 Jan 2011 23:29:50 +0000 (23:29 +0000)]
Add/update Windows-specific test results for recent regressions

Bugs:
    http://webkit.org/b/52026
    http://webkit.org/b/52028
    http://webkit.org/b/52029

* platform/win/animations/animation-time-expected.txt: Added.
* platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
* platform/win/fast/css/css3-nth-tokens-script-expected.txt: Added.
* platform/win/fast/css/css3-nth-tokens-style-expected.txt: Added.
* platform/win/fast/dom/Window/window-property-descriptors-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75205 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate Windows results after r75177
aroben@apple.com [Thu, 6 Jan 2011 23:29:09 +0000 (23:29 +0000)]
Update Windows results after r75177

* platform/win/fast/dom/prototype-inheritance-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75204 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 23:07:47 +0000 (23:07 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Unreviewed, fixing WinCE build after r75196.

        WinCE port does not (yet) support NPAPI.

        * Scripts/build-webkit:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75203 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 22:55:56 +0000 (22:55 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Freetype backend does not support WOFF
        https://bugs.webkit.org/show_bug.cgi?id=51904

        * platform/gtk/Skipped: Unskip passing WOFF test. Add results.
        * platform/gtk/fast/css/font-face-woff-expected.checksum: Added.
        * platform/gtk/fast/css/font-face-woff-expected.png: Added.
        * platform/gtk/fast/css/font-face-woff-expected.txt: Added.
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Freetype backend does not support WOFF
        https://bugs.webkit.org/show_bug.cgi?id=51904

        * CMakeListsEfl.txt: Add WOFF support to the sources list.
        * GNUmakefile.am: Add WOFF support to the sources list.
        * platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp:
        (WebCore::createFontCustomPlatformData): Call the WOFF decoder when appropriate.
        (WebCore::FontCustomPlatformData::supportsFormat): Advertise support for WOFF.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75202 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 22:51:10 +0000 (22:51 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        GTK: AX: atk tests need to be updated after recent changes
        https://bugs.webkit.org/show_bug.cgi?id=51932

        Skip ATK unit tests until we can look into what is causing these failures.

        * tests/testatk.c:
        (main): Skip all tests.
        * tests/testatkroles.c:
        (main): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Thu, 6 Jan 2011 22:39:29 +0000 (22:39 +0000)]
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * fast/dom/Window/window-properties-performance-expected.txt: Test replaceability.
        * fast/dom/Window/window-properties-performance.html: Ditto.
        * fast/dom/Window/window-properties.html: Rename to performance.
        * fast/dom/resources/navigation-type-matches-querystring.html: Ditto.
        * fast/dom/script-tests/prototype-inheritance.js: Ditto.
        * fast/dom/script-tests/webtiming-document-open.js: Ditto.
        * fast/dom/script-tests/webtiming-navigate-within-document.js: Ditto.
        * fast/dom/script-tests/webtiming.js: Ditto.
        * http/tests/misc/resources/webtiming-one-redirect.html: Ditto.
        * http/tests/misc/resources/webtiming-two-redirects.html: Ditto.
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::performance): Rename to performance.
        * page/DOMWindow.h:
        * page/DOMWindow.idl: Rename to performance and make replaceable.
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::performance): Rename to performance.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75200 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Thu, 6 Jan 2011 22:26:35 +0000 (22:26 +0000)]
2011-01-06  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Changed PlatformCALayer API. Added PlatformCALayerClient abstract class which is
        used to communicate from PlatformCALayer to the owner. This replaces passing
        GraphicsLayerCA pointer when creating PlatformCALayer. It also includes the
        API that used to be in PlatformCALayerLayout. GraphicsLayerCA now implements
        the PlatformCALayerClient API.

        This change has little impact on the Mac side but makes the Windows
        interface simpler, especially when handling video layers on Windows.

        * WebCore.xcodeproj/project.pbxproj:
        * config.h:
        * platform/graphics/GraphicsLayer.h:
        (WebCore::GraphicsLayer::layerDidDisplay):
        (WebCore::GraphicsLayer::showDebugBorders):
        (WebCore::GraphicsLayer::showRepaintCounter):
        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::platformCALayerAnimationStarted):
        (WebCore::GraphicsLayerCA::setContentsToImage):
        (WebCore::GraphicsLayerCA::setContentsToMedia):
        (WebCore::GraphicsLayerCA::layerDidDisplay):
        (WebCore::GraphicsLayerCA::updateSublayerList):
        * platform/graphics/ca/GraphicsLayerCA.h:
        (WebCore::GraphicsLayerCA::platformCALayerLayoutSublayersOfLayer):
        (WebCore::GraphicsLayerCA::platformCALayerRespondsToLayoutChanges):
        (WebCore::GraphicsLayerCA::platformCALayerContentsOrientation):
        (WebCore::GraphicsLayerCA::platformCALayerPaintContents):
        (WebCore::GraphicsLayerCA::platformCALayerShowDebugBorders):
        (WebCore::GraphicsLayerCA::platformCALayerShowRepaintCounter):
        (WebCore::GraphicsLayerCA::platformCALayerIncrementRepaintCount):
        (WebCore::GraphicsLayerCA::platformCALayerContentsOpaque):
        (WebCore::GraphicsLayerCA::platformCALayerDrawsContent):
        (WebCore::GraphicsLayerCA::platformCALayerLayerDidDisplay):
        (WebCore::GraphicsLayerCA::platformCALayer):
        * platform/graphics/ca/PlatformCALayer.h:
        (WebCore::PlatformCALayer::owner):
        (WebCore::PlatformCALayer::animationStarted):
        * platform/graphics/ca/PlatformCALayerClient.h: Added.
        (WebCore::PlatformCALayerClient::~PlatformCALayerClient):
        * platform/graphics/ca/mac/PlatformCALayerMac.mm:
        (PlatformCALayer::setOwner):
        (PlatformCALayer::create):
        (PlatformCALayer::PlatformCALayer):
        (PlatformCALayer::contents):
        (PlatformCALayer::setContents):
        * platform/graphics/mac/WebGLLayer.mm:
        (-[WebGLLayer display]):
        * platform/graphics/mac/WebLayer.h:
        * platform/graphics/mac/WebLayer.mm:
        (drawLayerContents):
        (setLayerNeedsDisplayInRect):
        (-[WebLayer setNeedsDisplay]):
        (-[WebLayer display]):
        * platform/graphics/mac/WebTiledLayer.mm:
        (-[WebTiledLayer setNeedsDisplay]):
        (-[WebTiledLayer display]):
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::showDebugBorders):
        (WebCore::RenderLayerBacking::showRepaintCounter):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::ensureRootPlatformLayer):
        * rendering/RenderLayerCompositor.h:
        (WebCore::RenderLayerCompositor::compositorShowDebugBorders):
        (WebCore::RenderLayerCompositor::compositorShowRepaintCounter):
        (WebCore::RenderLayerCompositor::notifyAnimationStarted):
        (WebCore::RenderLayerCompositor::notifySyncRequired):
        (WebCore::RenderLayerCompositor::paintContents):
        (WebCore::RenderLayerCompositor::showDebugBorders):
        (WebCore::RenderLayerCompositor::showRepaintCounter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75199 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Thu, 6 Jan 2011 22:07:41 +0000 (22:07 +0000)]
2011-01-06  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Allow framesets after hidden inputs
        https://bugs.webkit.org/show_bug.cgi?id=51998

        * html5lib/resources/webkit01.dat: Demonstrate that the value of the type attribute matters. An input with no type is tested in tests19.dat.
2011-01-06  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Allow framesets after hidden inputs
        https://bugs.webkit.org/show_bug.cgi?id=51998

        This implements the HTML5 spec update in response to:
        http://www.w3.org/Bugs/Public/show_bug.cgi?id=11156

        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processStartTagForInBody):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75198 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 6 Jan 2011 22:01:35 +0000 (22:01 +0000)]
2011-01-06  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Darin Adler.

        File::Spec->rel2abs in sunspider-compare-results mangles parameters
        https://bugs.webkit.org/show_bug.cgi?id=52015

        * Scripts/sunspider-compare-results: call rel2abs on our arguments
        after the platform has been detected, otherwise the script will
        mangle things like '--gtk' into '/a/path/--gtk', breaking the
        detection.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75197 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 21:49:39 +0000 (21:49 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Eric Seidel.

        Add ENABLE_NETSCAPE_PLUGIN_API, ENABLE_ORIENTATION_EVENTS and ENABLE_TOUCH_EVENTS flags to build-webkit
        https://bugs.webkit.org/show_bug.cgi?id=51346

        * Scripts/build-webkit:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75196 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-29 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 21:49:11 +0000 (21:49 +0000)]
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        vertexAttribPointer should raise INVALID_OPERATION if stride/offset is not multiple of the type size
        https://bugs.webkit.org/show_bug.cgi?id=51725

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::vertexAttribPointer):
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        vertexAttribPointer should raise INVALID_OPERATION if stride/offset is not multiple of the type size
        https://bugs.webkit.org/show_bug.cgi?id=51725

        * fast/canvas/webgl/gl-vertexattribpointer-expected.txt:
        * fast/canvas/webgl/gl-vertexattribpointer.html: Sync with khronos.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75195 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 21:42:16 +0000 (21:42 +0000)]
2011-01-06  Zhenyao Mo  <zmo@google.com>

        Unreviewed, add glsl-conformance.html to test_expectations.txt temporarily.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75194 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Thu, 6 Jan 2011 21:32:44 +0000 (21:32 +0000)]
2011-01-06  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Windows bots need to archive/unarchive builds to/from configuration-specific directories
        https://bugs.webkit.org/show_bug.cgi?id=51996

        After the configuration directory change, we were archiving the incorrect directory for
        build product, so we were running tests on the wrong binaries.

        This change archives the correct directory, and also unarchives it into a configuration-
        specific directory.

        * BuildSlaveSupport/build.webkit.org-config/master.cfg: Use a configuration-specific directory on Windows.
        * BuildSlaveSupport/built-product-archive: Unarchive/archive to/from proper directory.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75192 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 6 Jan 2011 21:30:15 +0000 (21:30 +0000)]
2011-01-06  Eric Seidel  <eric@webkit.org>

        Reviewed by Mihai Parparita.

        commit-queue mentions "Text diff mismatch" 4 times instead of once per failure
        https://bugs.webkit.org/show_bug.cgi?id=52002

        See an example of this here:
        https://bugs.webkit.org/show_bug.cgi?id=51314#c2

        It's due to the fact that we pass around TestFailure() instance
        objects and yet expect them to all compare to be the same.

        This is bad.  We should either have shared instances of these values
        or we should just pass around the class names.  There are already hacks
        in place to make TestFailure objects pass equality tests, I just added
        a __hash__ implementation so they can be used in sets as expected.

        * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75191 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 21:19:24 +0000 (21:19 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        [WINCE] Remove JSC::g_stackBase
        https://bugs.webkit.org/show_bug.cgi?id=51779

        * wtf/StackBounds.cpp:
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        [WINCE] Remove JSC::g_stackBase
        https://bugs.webkit.org/show_bug.cgi?id=51779

        * platform/wince/SharedTimerWinCE.cpp:
        (WebCore::TimerWindowWndProc):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75190 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Thu, 6 Jan 2011 20:54:44 +0000 (20:54 +0000)]
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

        https://bugs.webkit.org/show_bug.cgi?id=48957

        * fast/dom/nodesFromRect-inner-documents-expected.txt:
        * fast/dom/nodesFromRect-inner-documents.html:
        * fast/dom/nodesFromRect-links-and-text-expected.txt:
        * fast/dom/nodesFromRect-links-and-text.html:
        * fast/dom/resources/nodesFromRect.js:
        (check):
        (getTopFor):
        (getBottomFor):
        * platform/qt/Skipped:
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

        https://bugs.webkit.org/show_bug.cgi?id=48957

        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::QtDRTNodeRuntime::create):
        (JSC::Bindings::QtDRTNodeRuntime::get):
        (JSC::Bindings::convertValueToQVariant):
        (JSC::Bindings::convertQVariantToValue):
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

        https://bugs.webkit.org/show_bug.cgi?id=48957

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (QDRTNode::QDRTNode):
        (QDRTNode::~QDRTNode):
        (DumpRenderTreeSupportQt::nodesFromRect):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75189 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Joone Hur <joone.hur@collabora.co.uk>
commit-queue@webkit.org [Thu, 6 Jan 2011 20:53:25 +0000 (20:53 +0000)]
2011-01-06  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Eric Seidel.

        WML Parser should treat line/column number in a consistent way
        https://bugs.webkit.org/show_bug.cgi?id=51601

        Add the equality operators to TextPosition class.

        * wtf/text/TextPosition.h:
        (WTF::TextPosition::operator==): Added.
        (WTF::TextPosition::operator!=): Added.
        (WTF::TextPosition::belowRangePosition): Use belowBase() instead of base().
        (WTF::ZeroBasedNumber::operator==): Added.
        (WTF::ZeroBasedNumber::operator!=): Added.
        (WTF::OneBasedNumber::operator==): Added.
        (WTF::OneBasedNumber::operator!=): Added.
2011-01-06  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Eric Seidel.

        WML Parser should treat line/column number in a consistent way
        https://bugs.webkit.org/show_bug.cgi?id=51601

        XML Parser treats line/column number as 1-based values, but WML ErrorHandler treat them as 0-based.
        Therefore, this patch allows WML ErrorHandler to use 1-based values.

        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::handleError): Treat line/column number as 1 based values.
        * dom/XMLDocumentParser.h: Make textPositionOneBased public and Add TextPosition1(m_lastErrorPosition) to keep error line/column number.
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser): Initialize m_lastErrorPosition.
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser): Initialize m_lastErrorPosition.
        * wml/WMLErrorHandling.cpp:
        (WebCore::reportWMLError): Use 1 based value instead of 0 based value to report error line/column number.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75188 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAlways show the arrow cursor when the web process has crashed
aroben@apple.com [Thu, 6 Jan 2011 20:49:30 +0000 (20:49 +0000)]
Always show the arrow cursor when the web process has crashed

Fixes <http://webkit.org/b/52006> WKView shows a stale cursor when the
web process crashes

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::processDidCrash):
(WebKit::WebView::didRelaunchProcess):
Update the cursor to reflect the new state.

(WebKit::WebView::cursorToShow): Always show the arrow cursor when the
web process has crashed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75187 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoReduce code duplication in WebView::updateNativeCursor
aroben@apple.com [Thu, 6 Jan 2011 20:49:02 +0000 (20:49 +0000)]
Reduce code duplication in WebView::updateNativeCursor

Fixes <http://webkit.org/b/52005> It's not easy to add new behavior to
WebView::updateNativeCursor

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::cursorToShow): Moved code to choose a cursor here...
(WebKit::WebView::updateNativeCursor): ...from here.

* UIProcess/win/WebView.h: Added cursorToShow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75186 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoMake WKView fill with white when the web process has crashed
aroben@apple.com [Thu, 6 Jan 2011 20:48:33 +0000 (20:48 +0000)]
Make WKView fill with white when the web process has crashed

Previously we would just draw whatever we had last drawn into the
WKView (i.e., a stale picture of the web page), which was confusing
(because the web page would mysteriously not respond to input) and ugly
(because it wouldn't behave properly if the window was resized).

Fixes <http://webkit.org/b/52004> WKView keeps painting a stale
picture of the web page when the web process crashes

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onPaintEvent): Ported code from -[WKView drawRect:]
to fill with white if the page is invalid or has no DrawingArea. As a
bonus, also ported the call to WebPageProxy::didDraw from that method.

(WebKit::WebView::processDidCrash):
(WebKit::WebView::didRelaunchProcess):
Invalidate our window so that we'll redraw with white or the new page.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75185 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoMake WKViews work on Windows after a crashed web process gets relaunched
aroben@apple.com [Thu, 6 Jan 2011 20:48:06 +0000 (20:48 +0000)]
Make WKViews work on Windows after a crashed web process gets relaunched

Fixes <http://webkit.org/b/52001> Relaunching the web process fails to
revivify WKViews on Windows

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::didRelaunchProcess): Implemented by porting code from
-[WKView _didRelaunchProcess].

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove WebView::m_rect
aroben@apple.com [Thu, 6 Jan 2011 20:47:38 +0000 (20:47 +0000)]
Remove WebView::m_rect

It was only used in the constructor, and wasn't even kept up-to-date as
the WebView's size changed.

Fixes <http://webkit.org/b/52000> WebView::m_rect is unnecessary

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
* UIProcess/win/WebView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove some dead code from WKCACFLayerRenderer
aroben@apple.com [Thu, 6 Jan 2011 20:46:49 +0000 (20:46 +0000)]
Remove some dead code from WKCACFLayerRenderer

Fixes <http://webkit.org/b/51954> WKCACFLayerRenderer has dead and
redundant code for reacting to changes to the layer tree

Reviewed by Sam Weinig.

* platform/graphics/win/WKCACFLayerRenderer.cpp:
* platform/graphics/win/WKCACFLayerRenderer.h:
Removed didFlushContext and the HashMap it depended on. We react to
changes to the layer tree in layerTreeDidChange instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 6 Jan 2011 20:44:24 +0000 (20:44 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        Update test_expectations.txt files to reflect reality on the canaries.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75181 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 20:39:55 +0000 (20:39 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Gavin Barraclough.

        [WINCE] Determine stack extent
        https://bugs.webkit.org/show_bug.cgi?id=26276

        Scan the stack for writeable pages and use the limits.

        * wtf/StackBounds.cpp:
        (WTF::detectGrowingDownward):
        (WTF::isPageWritable):
        (WTF::getLowerStackBound):
        (WTF::getUpperStackBound):
        (WTF::StackBounds::initialize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75180 268f45cc-cd09-0410-ab3c-d52691b4dbfc