WebKit-https.git
11 years agoUpdated change log
mitz@apple.com [Thu, 7 Jul 2011 17:33:06 +0000 (17:33 +0000)]
Updated change log

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

11 years agoThe return value of SharedBuffer::createWithContentsOfFile must have valid m_size.
commit-queue@webkit.org [Thu, 7 Jul 2011 17:29:20 +0000 (17:29 +0000)]
The return value of SharedBuffer::createWithContentsOfFile must have valid m_size.
https://bugs.webkit.org/show_bug.cgi?id=63313

Patch by Kyusun Kim <maniagoon@company100.net> on 2011-07-07
Reviewed by Eric Seidel.

* platform/posix/SharedBufferPOSIX.cpp:
(WebCore::SharedBuffer::createWithContentsOfFile):

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

11 years ago<rdar://problem/9737435> Re-enable -webkit-column-break-inside: avoid
mitz@apple.com [Thu, 7 Jul 2011 17:27:46 +0000 (17:27 +0000)]
<rdar://problem/9737435> Re-enable -webkit-column-break-inside: avoid
https://bugs.webkit.org/show_bug.cgi?id=64102

Reviewed by Simon Fraser.

Source/WebCore:

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::adjustForUnsplittableChild): Treat the child as unsplittable if
'-webkit-column-break-inside: avoid' was specified.

LayoutTests:

* fast/multicol/break-properties-expected.txt:
* fast/multicol/break-properties.html:

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

11 years ago[Qt][WK2] Views should know about WebProcess crash/relaunch.
andreas.kling@nokia.com [Thu, 7 Jul 2011 17:27:33 +0000 (17:27 +0000)]
[Qt][WK2] Views should know about WebProcess crash/relaunch.
https://bugs.webkit.org/show_bug.cgi?id=64093

Reviewed by Benjamin Poulain.

Add processDidCrash() and didRelaunchProcess() to ViewInterface.

QDesktopWebView now displays a simple sad smiley ":(" when the
web process crashes.

* UIProcess/API/qt/qdesktopwebview.cpp:
(QDesktopWebViewPrivate::QDesktopWebViewPrivate):
(paintCrashedPage):
(QDesktopWebView::paint):
(QDesktopWebViewPrivate::processDidCrash):
(QDesktopWebViewPrivate::didRelaunchProcess):
* UIProcess/API/qt/qdesktopwebview_p.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::QtWebPageProxy):
(QtWebPageProxy::didRelaunchProcess):
(QtWebPageProxy::processDidCrash):
* UIProcess/qt/QtWebPageProxy.h:
* UIProcess/qt/TouchViewInterface.cpp:
(WebKit::TouchViewInterface::showContextMenu):
(WebKit::TouchViewInterface::hideContextMenu):
(WebKit::TouchViewInterface::processDidCrash):
(WebKit::TouchViewInterface::didRelaunchProcess):
* UIProcess/qt/TouchViewInterface.h:
* UIProcess/qt/ViewInterface.h:

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

11 years agoCompletely ignore too-many-failures builds in TestFailures in most circumstances
aroben@apple.com [Thu, 7 Jul 2011 17:18:09 +0000 (17:18 +0000)]
Completely ignore too-many-failures builds in TestFailures in most circumstances

Because a semi-arbitrary subset of tests are run in a too-many-failures build, we can't
really use them to perform regression analysis. The only time we want to pay attention to
too-many-failures builds is when we're trying to explain when the current bout of
too-many-failures started.

Fixes <http://webkit.org/b/64106> TestFailures page sometimes claims a test started failing
in a build that didn't even run it (because it exited early due to too many failues)

Reviewed by David Kilzer.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
(LayoutTestHistoryAnalyzer.prototype._incorporateBuildHistory): Removed old, broken
too-many-failures handling that would cause us to blame builds that didn't even run a given
test for breaking it. Instead, skip over all too-many-failures builds unless the most recent
build was itself a too-many-failures build.

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

11 years ago[Qt]REGRESSION(r90471): It made 4 fast/notifications tests fail on Qt
abecsi@webkit.org [Thu, 7 Jul 2011 17:17:18 +0000 (17:17 +0000)]
[Qt]REGRESSION(r90471): It made 4 fast/notifications tests fail on Qt
https://bugs.webkit.org/show_bug.cgi?id=63255

Unreviewed gardening.

* platform/qt/Skipped: Skip tests.

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

11 years agoWeb Inspector: visual regressions in network panel
caseq@chromium.org [Thu, 7 Jul 2011 17:15:20 +0000 (17:15 +0000)]
Web Inspector: visual regressions in network panel
https://bugs.webkit.org/show_bug.cgi?id=64089

Reviewed by Pavel Feldman.

* inspector/front-end/networkPanel.css:
(.data-grid.network-log-grid tr.filler td):
(.network.panel .sidebar):

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

11 years agoPatch by Julien Chaffraix <jchaffraix@webkit.org> on 2011-07-07
jchaffraix@webkit.org [Thu, 7 Jul 2011 17:05:25 +0000 (17:05 +0000)]
Patch by Julien Chaffraix <jchaffraix@webkit.org> on 2011-07-07
Reviewed by David Hyatt.

Partial layout when a flex-box has visibility: collapse
https://bugs.webkit.org/show_bug.cgi?id=63776

Source/WebCore:

Tests: fast/flexbox/crash-button-input-autofocus.html
       fast/flexbox/crash-button-keygen.html
       fast/flexbox/crash-button-relayout.html

The issue is that FlexBoxIterator would skip any child if it has visibility: collapsed.
However if one of the child is anonymous, it may wrap some other child that would be skipped.
Now FlexBoxIterator is called during the layout phase and thus some nodes would not relayouted
as expected.

* rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::FlexBoxIterator::next): When iterating, don't skip anonymous content as there may
be real content hiding below.

LayoutTests:

Those tests checks some variation of the same underlying issue.

* fast/flexbox/crash-button-input-autofocus-expected.txt: Added.
* fast/flexbox/crash-button-input-autofocus.html: Added.
* fast/flexbox/crash-button-keygen-expected.txt: Added.
* fast/flexbox/crash-button-keygen.html: Added.
* fast/flexbox/crash-button-relayout-expected.txt: Added.
* fast/flexbox/crash-button-relayout.html: Added.

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

11 years ago2011-07-07 Vsevolod Vlasov <vsevik@chromium.org>
vsevik@chromium.org [Thu, 7 Jul 2011 16:53:51 +0000 (16:53 +0000)]
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: URL links in styles open new tab instead of showing resources panel.
        https://bugs.webkit.org/show_bug.cgi?id=64090

        Reviewed by Pavel Feldman.

        * inspector/styles/styles-url-linkify-expected.txt:
        * inspector/styles/styles-url-linkify.html:
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: URL links in styles open new tab instead of showing resources panel.
        https://bugs.webkit.org/show_bug.cgi?id=64090

        Reviewed by Pavel Feldman.

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):

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

11 years agoREGRESSION(90557) http/tests/inspector/network/network-embed.html fails
abecsi@webkit.org [Thu, 7 Jul 2011 16:52:27 +0000 (16:52 +0000)]
REGRESSION(90557) http/tests/inspector/network/network-embed.html fails
https://bugs.webkit.org/show_bug.cgi?id=64103

Unreviewed gardening.

* platform/qt/Skipped: Skip test.

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

11 years ago2011-07-07 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 7 Jul 2011 16:48:27 +0000 (16:48 +0000)]
2011-07-07  Andrey Kosyakov  <caseq@chromium.org>

        Web Inspector: active panel does not receive resize event when drawer is resized
        https://bugs.webkit.org/show_bug.cgi?id=64094

        Reviewed by Pavel Feldman.

        * inspector/front-end/Drawer.js:
        (WebInspector.Drawer.prototype._statusBarDragging):

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

11 years agoTeach webkitpy's Checkout class to use commit-log-editor to create commit messages
aroben@apple.com [Thu, 7 Jul 2011 16:36:32 +0000 (16:36 +0000)]
Teach webkitpy's Checkout class to use commit-log-editor to create commit messages

Fixes <http://webkit.org/b/26755> webkit-patch's commit messages are less readable than
commit-log-editor's

Reviewed by David Kilzer.

* Scripts/webkitpy/common/checkout/checkout.py:
(Checkout.commit_message_for_this_commit): Run commit-log-editor, passing it the paths of
the modified ChangeLogs, to generate the commit message, rather than trying to generate one
ourselves.

* Scripts/webkitpy/common/checkout/checkout_unittest.py: Updated the expected commit message
to match commit-log-editor's format.
(CommitMessageForThisCommitTest.setUp): Write the ChangeLogs into Tools and LayoutTests
directories so we can see how the various entries get labeled in the commit message.
(CommitMessageForThisCommitTest.test_commit_message_for_this_commit): Create a mock SCM
instance that knows how to find commit-log-editor and pass it to our Checkout instance.
Don't bother capturing output, since there shouldn't be any.

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

11 years agoAdd a --print-log option to commit-log-editor
aroben@apple.com [Thu, 7 Jul 2011 16:36:23 +0000 (16:36 +0000)]
Add a --print-log option to commit-log-editor

When specified, commit-log-editor takes a set of ChangeLog paths on the command line,
generates a commit message from those ChangeLogs, prints it to stdout, and exits.

Prep work for fixing <http://webkit.org/b/26755> webkit-patch's commit messages are less
readable than commit-log-editor's

Reviewed by David Kilzer.

* Scripts/commit-log-editor: Changed to use Getopt::Long to parse options. Added --print-log
option, which calls through to createCommitMessage, prints the result, and exits.
(printUsageAndExit): Renamed from "usage" for clarity. Beefed up the usage statement to
explain commit-log-editor's 2.5 (normal, --print-log, and --help) modes of operation.

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

11 years agoExtract commit-log-editor's commit-message-generation code into a separate function
aroben@apple.com [Thu, 7 Jul 2011 16:35:33 +0000 (16:35 +0000)]
Extract commit-log-editor's commit-message-generation code into a separate function

As a bonus, we now skip a bunch of work in the case where we are generating a commit message
for staged git changes.

Prep work for fixing <http://webkit.org/b/26755> webkit-patch's commit messages are less
readable than commit-log-editor's

Reviewed by David Kilzer.

* Scripts/commit-log-editor: Moved the default definition of $endl up toward the top of the
file so that it will be defined even if we aren't operating on an existing log message.
Moved a bunch of top-level code to generate the commit message from here...
(createCommitMessage): ...to here.

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

11 years ago2011-07-07 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 7 Jul 2011 16:20:12 +0000 (16:20 +0000)]
2011-07-07  Pavel Feldman  <pfeldman@chromium.org>

        Web Inspector: prevent default action during drag'n'drop in the Elements panel.
        https://bugs.webkit.org/show_bug.cgi?id=64081

        Reviewed by Yury Semikhatsky.

        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeOutline):
        (WebInspector.ElementsTreeOutline.prototype._ondragstart):
        (WebInspector.ElementsTreeOutline.prototype._ondragover):
        (WebInspector.ElementsTreeOutline.prototype._ondragend):
        * inspector/front-end/treeoutline.js:
        (TreeOutline.prototype.treeElementFromPoint):

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

11 years ago2011-07-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 7 Jul 2011 14:18:01 +0000 (14:18 +0000)]
2011-07-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Move remaining enums out of SVG*Element classes
        https://bugs.webkit.org/show_bug.cgi?id=64075

        Reviewed by Dirk Schulze.

        Move remaining enums out of SVG*Element classes. This is a preparation patch for bug 63797.
        Also move the SVGPropertyTraits template specializations for enum types before the class
        definition in the header, otherwhise we can't use SVGPropertyTraits<FooType>::fromString/toString
        in the DECLARE_ANIMATED* macros, which is needed soon.

        No new tests, just refactoring.

        * rendering/svg/RenderSVGResourceGradient.cpp:
        (WebCore::RenderSVGResourceGradient::applyResource):
        * rendering/svg/RenderSVGResourceGradient.h:
        * rendering/svg/RenderSVGResourceMarker.cpp:
        (WebCore::RenderSVGResourceMarker::angle):
        (WebCore::RenderSVGResourceMarker::markerTransformation):
        * rendering/svg/RenderSVGResourceMarker.h:
        (WebCore::RenderSVGResourceMarker::markerUnits):
        * rendering/svg/RenderSVGTextPath.cpp:
        (WebCore::RenderSVGTextPath::RenderSVGTextPath):
        (WebCore::RenderSVGTextPath::exactAlignment):
        (WebCore::RenderSVGTextPath::stretchMethod):
        * rendering/svg/SVGRenderTreeAsText.cpp:
        (WebCore::operator<<):
        (WebCore::writeCommonGradientProperties):
        * rendering/svg/SVGTextChunkBuilder.cpp:
        (WebCore::SVGTextChunkBuilder::addTextChunk):
        * rendering/svg/SVGTextLayoutEngine.cpp:
        (WebCore::SVGTextLayoutEngine::parentDefinesTextLength):
        (WebCore::SVGTextLayoutEngine::beginTextPathLayout):
        * svg/GradientAttributes.h:
        (WebCore::GradientAttributes::GradientAttributes):
        (WebCore::GradientAttributes::spreadMethod):
        (WebCore::GradientAttributes::setSpreadMethod):
        * svg/SVGComponentTransferFunctionElement.h:
        * svg/SVGFEBlendElement.h:
        * svg/SVGFEColorMatrixElement.h:
        * svg/SVGFECompositeElement.h:
        * svg/SVGFEConvolveMatrixElement.h:
        * svg/SVGFEDisplacementMapElement.h:
        * svg/SVGFEMorphologyElement.h:
        * svg/SVGFETurbulenceElement.h:
        * svg/SVGGradientElement.cpp:
        (WebCore::SVGGradientElement::SVGGradientElement):
        * svg/SVGGradientElement.h:
        * svg/SVGMarkerElement.cpp:
        (WebCore::SVGMarkerElement::SVGMarkerElement):
        (WebCore::SVGMarkerElement::parseMappedAttribute):
        (WebCore::SVGMarkerElement::setOrientToAuto):
        (WebCore::SVGMarkerElement::setOrientToAngle):
        (WebCore::SVGMarkerElement::synchronizeOrientType):
        (WebCore::SVGMarkerElement::orientTypeAnimated):
        * svg/SVGMarkerElement.h:
        * svg/SVGTextContentElement.cpp:
        (WebCore::SVGTextContentElement::SVGTextContentElement):
        * svg/SVGTextContentElement.h:
        * svg/SVGTextPathElement.cpp:
        (WebCore::SVGTextPathElement::SVGTextPathElement):
        * svg/SVGTextPathElement.h:

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

11 years ago2011-07-07 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 7 Jul 2011 13:47:24 +0000 (13:47 +0000)]
2011-07-07  Xan Lopez  <xlopez@igalia.com>

        Unreviewed.

        Enable inspector tests again (they should work now), and skip test
        that is timing out in all GTK+ bots.

        * platform/gtk/Skipped:

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

11 years ago2011-07-07 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 7 Jul 2011 13:44:55 +0000 (13:44 +0000)]
2011-07-07  Ilya Tikhonovsky  <loislo@chromium.org>

        Web Inspector: Protocol: pointers to optional "in" parameters passing to the
        backend methods should be NULL if they are not specified in the message.
        https://bugs.webkit.org/show_bug.cgi?id=64083

        Reviewed by Pavel Feldman.

        * inspector/CodeGeneratorInspector.pm:
        (generateBackendFunction):
        (generateArgumentGetters):
        * inspector/InspectorCSSAgent.cpp:
        (WebCore::InspectorCSSAgent::getStylesForNode):

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

11 years ago2011-07-07 Vsevolod Vlasov <vsevik@chromium.org>
vsevik@chromium.org [Thu, 7 Jul 2011 13:12:26 +0000 (13:12 +0000)]
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Move resetting NetworkResourcesData out of tests unrelated to replacement testing.
        https://bugs.webkit.org/show_bug.cgi?id=64078

        Reviewed by Pavel Feldman.

        * http/tests/inspector/network-test.js:
        (initialize_NetworkTest.InspectorTest.resetInspectorResourcesData.nextStep):
        (initialize_NetworkTest.InspectorTest.resetInspectorResourcesData):
        (resetInspectorResourcesData):
        * http/tests/inspector/network/network-clear-cache-expected.txt:
        * http/tests/inspector/network/network-clear-cache.html-disabled:
        * http/tests/inspector/network/network-clear-cookies-expected.txt:
        * http/tests/inspector/network/network-clear-cookies.html-disabled:
        * http/tests/inspector/network/network-embed-expected.txt:
        * http/tests/inspector/network/network-embed.html:
        * http/tests/inspector/network/network-xhr-async-expected.txt:
        * http/tests/inspector/network/network-xhr-async.html:
        * http/tests/inspector/network/network-xhr-sync-expected.txt:
        * http/tests/inspector/network/network-xhr-sync.html:

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

11 years ago2011-07-07 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 7 Jul 2011 12:06:29 +0000 (12:06 +0000)]
2011-07-07  Ilya Tikhonovsky  <loislo@chromium.org>

        Web Inspector: Searching on the Network panel doesn't do anything?
        https://bugs.webkit.org/show_bug.cgi?id=55489

        This is initial implementation of search in Network panel.
        It is pretty simple search only for names and paths.

        Reviewed by Pavel Feldman.

        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype.refresh):
        (WebInspector.NetworkPanel.prototype._reset):
        (WebInspector.NetworkPanel.prototype._updateOffscreenRows):
        (WebInspector.NetworkPanel.prototype._matchResource):
        (WebInspector.NetworkPanel.prototype._clearSearchMatchedList):
        (WebInspector.NetworkPanel.prototype._highlightNthMatchedResource):
        (WebInspector.NetworkPanel.prototype.performSearch):
        (WebInspector.NetworkDataGridNode.prototype.createCells):
        * inspector/front-end/utilities.js:
        (String.prototype.escapeHTML):
        ():

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

11 years ago2011-07-07 Vsevolod Vlasov <vsevik@chromium.org>
vsevik@chromium.org [Thu, 7 Jul 2011 11:33:41 +0000 (11:33 +0000)]
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Resources panel shows only one resource when multiple resources have the same url.
        https://bugs.webkit.org/show_bug.cgi?id=63936

        Reviewed by Pavel Feldman.

        * http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt: Added.
        * http/tests/inspector/resource-tree/resource-tree-non-unique-url.html: Added.
        * http/tests/inspector/resource-tree/resource-tree-test.js:
        (initialize_ResourceTreeTest.InspectorTest.dumpResourcesTree):
        * http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html: Added.
        * http/tests/inspector/resource-tree/resources/styles-non-unique-url.css: Added.
        (body):
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Resources panel shows only one resource when multiple resources have the same url.
        https://bugs.webkit.org/show_bug.cgi?id=63936

        Reviewed by Pavel Feldman.

        Test: http/tests/inspector/resource-tree/resource-tree-non-unique-url.html

        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.FrameTreeElement.prototype.appendResource):

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

11 years ago Reviewed by Eric Carlson.
philn@webkit.org [Thu, 7 Jul 2011 11:18:01 +0000 (11:18 +0000)]
    Reviewed by Eric Carlson.

        GTK: media/video-src-invalid-poster.html Failed
        https://bugs.webkit.org/show_bug.cgi?id=61160

        Wait for loadstart event to check the poster dimensions and avoid a
        potential timeout of the test.

        * media/video-src-invalid-poster-expected.txt:
        * media/video-src-invalid-poster.html:
        * platform/gtk/Skipped:

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

11 years ago2011-07-07 Vsevolod Vlasov <vsevik@chromium.org>
vsevik@chromium.org [Thu, 7 Jul 2011 10:47:03 +0000 (10:47 +0000)]
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Add support for clearing cache and cookies from network panel.
        https://bugs.webkit.org/show_bug.cgi?id=63999

        Added clear cache and cookies tests. Since no port currently supports
        this functionality, the tests are disabled.

        Reviewed by Pavel Feldman.

        * http/tests/inspector/network/network-clear-cache-expected.txt: Added.
        * http/tests/inspector/network/network-clear-cache.html-disabled: Added.
        * http/tests/inspector/network/network-clear-cookies-expected.txt: Added.
        * http/tests/inspector/network/network-clear-cookies.html-disabled: Added.
        * http/tests/inspector/network/resources/random-cached.php: Added.
        * http/tests/inspector/network/resources/set-cookie.php: Added.
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Add support for clearing cache and cookies from network panel.
        https://bugs.webkit.org/show_bug.cgi?id=63999

        Reviewed by Pavel Feldman.

        * English.lproj/localizedStrings.js:
        * inspector/Inspector.json:
        * inspector/InspectorClient.h:
        (WebCore::InspectorClient::clearBrowserCache):
        (WebCore::InspectorClient::clearBrowserCookies):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::clearBrowserCache):
        (WebCore::InspectorResourceAgent::clearBrowserCookies):
        (WebCore::InspectorResourceAgent::InspectorResourceAgent):
        * inspector/InspectorResourceAgent.h:
        (WebCore::InspectorResourceAgent::create):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._contextMenu):
        (WebInspector.NetworkPanel.prototype._clearBrowserCache):
        (WebInspector.NetworkPanel.prototype._clearBrowserCookies):
        * inspector/front-end/Settings.js:
2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>

        Web Inspector: Add support for clearing cache and cookies from network panel.
        https://bugs.webkit.org/show_bug.cgi?id=63999

        Reviewed by Pavel Feldman.

        * public/WebDevToolsAgentClient.h:
        (WebKit::WebDevToolsAgentClient::clearBrowserCache):
        (WebKit::WebDevToolsAgentClient::clearBrowserCookies):
        * src/InspectorClientImpl.cpp:
        (WebKit::InspectorClientImpl::clearBrowserCache):
        (WebKit::InspectorClientImpl::clearBrowserCookies):
        * src/InspectorClientImpl.h:
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::clearBrowserCache):
        (WebKit::WebDevToolsAgentImpl::clearBrowserCookies):
        * src/WebDevToolsAgentImpl.h:

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

11 years ago2011-07-07 Shinya Kawanaka <shinyak@google.com>
commit-queue@webkit.org [Thu, 7 Jul 2011 10:37:41 +0000 (10:37 +0000)]
2011-07-07  Shinya Kawanaka  <shinyak@google.com>

        Added more key bindings for input[type=range].
        https://bugs.webkit.org/show_bug.cgi?id=52262

        Added PageUp/PageDown/Home/End key bindings tests for input[type=range].

        Reviewed by Kent Tamura.

        * fast/forms/range-keyoperation-expected.txt: Regenerated.
        * fast/forms/range-keyoperation.html: Added more key bindings tests.
2011-07-07  Shinya Kawanaka  <shinyak@google.com>

        Added more key bindings for input[type=range].
        https://bugs.webkit.org/show_bug.cgi?id=52262

        Added PageUp/PageDown/Home/End key bindings for input[type=range].
        PageUp/PageDown change value by about 10%.
        Home/End change value to minimum/maximum.

        Reviewed by Kent Tamura.

        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::handleKeydownEvent):
          Added key bindings.

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

11 years ago2011-07-07 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 7 Jul 2011 10:29:19 +0000 (10:29 +0000)]
2011-07-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        [GTK] Open links in a new window when clicking with the middle button in MiniBrowser
        https://bugs.webkit.org/show_bug.cgi?id=63988

        Reviewed by Martin Robinson.

        * MiniBrowser/gtk/BrowserWindow.c:
        (browserWindowConstructed):
        (decidePolicyForNavigationAction): Ignore the action if a link is
        clicked with the middle buttonm and open the link in a new window.
        (browserWindowPolicyClientInit):

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

11 years ago2011-07-07 Benjamin Poulain <benjamin@webkit.org>
commit-queue@webkit.org [Thu, 7 Jul 2011 09:06:37 +0000 (09:06 +0000)]
2011-07-07  Benjamin Poulain  <benjamin@webkit.org>

        [Qt] [WK2] Improve the handling of touch events to use them as main input
        https://bugs.webkit.org/show_bug.cgi?id=63991

        Reviewed by Kenneth Rohde Christiansen.

        Promote touch event for use as primary input.

        The touch events now use the responsiveness timer like the other input events.

        The touch events also have a callback to the UI signaling if the event was used
        or not: PageClient::doneWithTouchEvent().
        This is similar to what is done with key events (PageClient::doneWithKeyEvent()).

        * Shared/NativeWebTouchEvent.h: Copied from Source/WebKit2/Shared/qt/WebEventFactoryQt.h.
        (WebKit::NativeWebTouchEvent::nativeEvent):
        * Shared/qt/NativeWebTouchEventQt.cpp: Copied from Source/WebKit2/Shared/qt/WebEventFactoryQt.h.
        (WebKit::NativeWebTouchEvent::NativeWebTouchEvent):
        * Shared/qt/WebEventFactoryQt.cpp:
        (WebKit::webEventTypeForEvent):
        (WebKit::WebEventFactory::createWebTouchEvent):
        * Shared/qt/WebEventFactoryQt.h:
        * UIProcess/PageClient.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::handleTouchEvent):
        (WebKit::WebPageProxy::didReceiveEvent):
        * UIProcess/WebPageProxy.h:
        * UIProcess/qt/qdesktopwebpageproxy.cpp:
        (QDesktopWebPageProxy::doneWithTouchEvent):
        * UIProcess/qt/qdesktopwebpageproxy.h:
        * UIProcess/qt/qtouchwebpageproxy.cpp:
        (QTouchWebPageProxy::doneWithTouchEvent):
        (QTouchWebPageProxy::touchEvent):
        * UIProcess/qt/qtouchwebpageproxy.h:
        * WebKit2.pro:

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

11 years ago2011-07-07 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 08:03:58 +0000 (08:03 +0000)]
2011-07-07  Adam Barth  <abarth@webkit.org>

        Remove style_references.py
        https://bugs.webkit.org/show_bug.cgi?id=64070

        Reviewed by Eric Seidel.

        We never really adopted the _references design, and this file is a bit
        of an orphan at this point.

        * Scripts/check-webkit-style:
        * Scripts/webkitpy/style/checker.py:
        * Scripts/webkitpy/style/checker_unittest.py:
        * Scripts/webkitpy/style/checkers/python.py:
        * Scripts/webkitpy/style/checkers/test_expectations.py:
        * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
        * Scripts/webkitpy/style/main_unittest.py:
        * Scripts/webkitpy/style_references.py: Removed.

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

11 years ago2011-07-07 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 7 Jul 2011 07:44:42 +0000 (07:44 +0000)]
2011-07-07  Eric Seidel  <eric@webkit.org>

        Fix WebKit2 expected results search paths for Mac and Qt under new-run-webkit-tests
        https://bugs.webkit.org/show_bug.cgi?id=64056

        Unreviewed.

        I had written this unittest prior to landing my change, but
        had named it qt_unitest.py, so it wasn't running (nor was
        it added to my git repo).

        Once I fixe the name of the unittest file, it was very easy
        to fix the error in webkit.py (which already had a FIXME).

        * Scripts/webkitpy/layout_tests/port/qt_unittest.py: Added.
        * Scripts/webkitpy/layout_tests/port/webkit.py:

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

11 years ago2011-07-07 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 7 Jul 2011 07:26:52 +0000 (07:26 +0000)]
2011-07-07  Eric Seidel  <eric@webkit.org>

        Unreviewed.  Add more debug logging about which test expectations we're using.

        * Scripts/webkitpy/layout_tests/models/test_expectations.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 07:25:18 +0000 (07:25 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Remove unexpected_results.json
        https://bugs.webkit.org/show_bug.cgi?id=64065

        Reviewed by Eric Seidel.

        No one should be using this file any more.  This patch removes it from
        the face of the earth.  This patch also removes two NRWT-specific
        command line options that were implemented using
        unexpected_results.json.

        * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
        * Scripts/webkitpy/layout_tests/controllers/manager.py:
        * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
        * Scripts/webkitpy/tool/commands/rebaselineserver.py:
        * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:

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

11 years ago2011-07-07 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 07:16:48 +0000 (07:16 +0000)]
2011-07-07  Adam Barth  <abarth@webkit.org>

        REGRESSION(90520): chromium GPU tests produce output in the LayoutTests directory
        https://bugs.webkit.org/show_bug.cgi?id=64067

        Reviewed by Eric Seidel.

        The author of r90520 forgot to change the chromium_gpu.py implemenation
        of this method as well.

        * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:

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

11 years ago2011-07-07 Oleg Romashin <romaxa@gmail.com>
commit-queue@webkit.org [Thu, 7 Jul 2011 07:07:59 +0000 (07:07 +0000)]
2011-07-07  Oleg Romashin  <romaxa@gmail.com>

        Fix InspectorInstrumentation compilation.
        https://bugs.webkit.org/show_bug.cgi?id=64033

        Reviewed by Yury Semikhatsky.

        No new tests. just compile fix.

        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::didInvalidateStyleAttrImpl):

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

11 years ago2011-07-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 7 Jul 2011 06:56:45 +0000 (06:56 +0000)]
2011-07-06  Eric Seidel  <eric@webkit.org>

        Fix WebKit2 expected results search paths for Mac and Qt under new-run-webkit-tests
        https://bugs.webkit.org/show_bug.cgi?id=64056

        Reviewed by Adam Barth.

        This fixes the MacPort's version of baseline_search_path to include
        wk2 fallback like WebKitPort's does.  This also re-works the QtPort
        to set self._name (as other ports do) so that WebKitPort's default
        implementations will understand Qt operating system flavors correctly
        (including when running wk2 tests).

        In trying to test this, I realized that nearly all of our port-tests
        use the default FileSystem(), User() and Executive() objects, which
        is really bad, because they expose details of your system in the unittest results!

        Once I fixed many of the Port() calls to pass MockFileSystem(), then
        MacPort.test_tests_for_other_platforms started failing, and I had to
        teach MockFileSystem.glob how to handle directories to make it work again.

        I removed the useless PortTestCase.test_baseline_search_path and replaced
        it with more useful test_baseline_search_path tests in MacPortTest and QtPortTest.

        * Scripts/webkitpy/common/config/ports.py:
        * Scripts/webkitpy/common/system/filesystem_mock.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mac.py:
        * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/port/qt.py:
        * Scripts/webkitpy/layout_tests/port/test_files.py:
        * Scripts/webkitpy/layout_tests/port/win.py:
        * Scripts/webkitpy/to_be_moved/deduplicate_tests.py:
        * Scripts/webkitpy/tool/mocktool.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 06:19:21 +0000 (06:19 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Wean rebaseline-server off unexpected_results.json
        https://bugs.webkit.org/show_bug.cgi?id=64063

        Reviewed by Eric Seidel.

        In the process of changing this code to use full_results.json, I
        noticed that the code was broken (because it wasn't tested).  This
        patch also adds test coverage for the broken code.

        * Scripts/webkitpy/tool/commands/rebaselineserver.py:
        * Scripts/webkitpy/tool/servers/rebaselineserver.py:
        * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:

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

11 years ago2011-07-06 Mihnea Ovidenie <mihnea@adobe.com>
commit-queue@webkit.org [Thu, 7 Jul 2011 05:36:13 +0000 (05:36 +0000)]
2011-07-06  Mihnea Ovidenie  <mihnea@adobe.com>

        Reviewed by David Hyatt.

        [CSSRegions] Parse flow property
        https://bugs.webkit.org/show_bug.cgi?id=61730

        * fast/regions/script-tests/TEMPLATE.html: Added.
        * fast/regions/script-tests/webkit-flow-parsing.js: Added.
        (test):
        (testComputedStyle):
        (testNotInherited):
        * fast/regions/webkit-flow-parsing-expected.txt: Added.
        * fast/regions/webkit-flow-parsing.html: Added.
2011-07-06  Mihnea Ovidenie  <mihnea@adobe.com>

        Reviewed by David Hyatt.

        [CSSRegions] Parse flow property
        https://bugs.webkit.org/show_bug.cgi?id=61730

        Test: fast/regions/webkit-flow-parsing.html

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseValue):
        (WebCore::CSSParser::parseFlowThread):
        * css/CSSParser.h:
        * css/CSSPropertyNames.in:
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * rendering/style/RenderStyle.cpp:
        (WebCore::RenderStyle::diff):
        * rendering/style/RenderStyle.h:
        (WebCore::InheritedFlags::flowThread):
        (WebCore::InheritedFlags::setFlowThread):
        (WebCore::InheritedFlags::initialFlowThread):
        * rendering/style/StyleRareNonInheritedData.cpp:
        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
        (WebCore::StyleRareNonInheritedData::operator==):
        * rendering/style/StyleRareNonInheritedData.h:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 05:24:28 +0000 (05:24 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Unreviewed.  Rolled DEPS.

        * DEPS:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 05:24:07 +0000 (05:24 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Wean resultsjsonparser off unexpected_results.json
        https://bugs.webkit.org/show_bug.cgi?id=64061

        Reviewed by Eric Seidel.

        We're about to delete unexpected_results.json, so we need to remove all
        the users.

        * Scripts/webkitpy/common/config/ports.py:
        * Scripts/webkitpy/common/net/resultsjsonparser.py:
        * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
        * Scripts/webkitpy/layout_tests/models/test_expectations.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 04:42:54 +0000 (04:42 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Cleanup result_summary.py
        https://bugs.webkit.org/show_bug.cgi?id=64057

        Reviewed by Eric Seidel.

        This class had a bunch of out-of-date docstrings that no longer make
        any sense.

        * Scripts/webkitpy/layout_tests/models/result_summary.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 04:33:00 +0000 (04:33 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Tweak the ChangeLog for DEPS rolls to say "Unreviewed" so that the
        patches can be landed by the commit-queue.

        * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py:

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

11 years ago2011-07-06 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 7 Jul 2011 04:22:17 +0000 (04:22 +0000)]
2011-07-06  MORITA Hajime  <morrita@google.com>

        [ShadowContentElement] Redundant RenderText objects are created on the content boundaries.
        https://bugs.webkit.org/show_bug.cgi?id=63977

        Reviewed by Dimitri Glazkov.

        This test have two set of fixture DOM tree:
        One is for shadow tree which has one content element,
        another is for light DOM tree, whose root is to have a shadow DOM.

        Then the test makes 2 complete DOM trees (DOM tree with shadow and
        flattened dom) for each combination of the fixture items. And
        compare their layout result.

        * fast/dom/shadow/content-element-renderers-expected.txt: Added.
        * fast/dom/shadow/content-element-renderers.html: Added.
2011-07-06  MORITA Hajime  <morrita@google.com>

        [ShadowContentElement] Redundant RenderText objects are created on the content boundaries.
        https://bugs.webkit.org/show_bug.cgi?id=63977

        Reviewed by Dimitri Glazkov.

        NodeRenderingContext::nextRenderer() and previousRenderer() didn't work well
        when it crosses content elements:
        - It doesn't step into forwarded children of ShadowContentElement.
        - It doesn't step out from traversing forwarded children to
          neighbors of the content element of that forwarded chidren.

        This change makes it to step into and out from content element.

        Test: fast/dom/shadow/content-element-renderers.html

        * dom/NodeRenderingContext.cpp:
        (WebCore::firstRendererOf): Added
        (WebCore::lastRendererOf): Added
        (WebCore::NodeRenderingContext::nextRenderer):
        (WebCore::NodeRenderingContext::previousRenderer):

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

11 years ago2011-07-06 Juan C. Montemayor <jmont@apple.com>
commit-queue@webkit.org [Thu, 7 Jul 2011 04:20:06 +0000 (04:20 +0000)]
2011-07-06  Juan C. Montemayor  <jmont@apple.com>

        ASSERT_NOT_REACHED running test 262
        https://bugs.webkit.org/show_bug.cgi?id=63951

        Added a test to check compliance with reserved words in strict mode.
        Updated test results.

        Reviewed by Gavin Barraclough.

        * fast/js/kde/parse-expected.txt:
        * fast/js/reserved-words-as-property-expected.txt:
        * fast/js/reserved-words-strict-expected.txt: Added.
        * fast/js/reserved-words-strict.html: Added.
        * fast/js/script-tests/reserved-words-strict.js: Added.
        (isReserved):
        * platform/chromium/fast/js/reserved-words-strict-expected.txt: Added.
        * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt:
        * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt:
        * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt:
2011-07-06  Juan C. Montemayor  <jmont@apple.com>

        ASSERT_NOT_REACHED running test 262
        https://bugs.webkit.org/show_bug.cgi?id=63951

        Added a case to the switch statement where the code was failing. Fixed
        some logic as well that gave faulty error messages.

        Reviewed by Gavin Barraclough.

        * parser/JSParser.cpp:
        (JSC::JSParser::getTokenName):
        (JSC::JSParser::updateErrorMessageSpecialCase):
        (JSC::JSParser::updateErrorMessage):

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 04:11:33 +0000 (04:11 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Normalize callers of logging.getLogger to use __name__
        https://bugs.webkit.org/show_bug.cgi?id=64054

        Reviewed by Eric Seidel.

        Most callers were already using __name__.  This patch makes everyone
        consistent.

        * Scripts/webkitpy/common/checkout/diff_parser.py:
        * Scripts/webkitpy/common/checkout/scm/svn.py:
        * Scripts/webkitpy/common/net/statusserver.py:
        * Scripts/webkitpy/common/system/executive.py:
        * Scripts/webkitpy/common/system/file_lock.py:
        * Scripts/webkitpy/common/system/user.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
        * Scripts/webkitpy/layout_tests/models/result_summary.py:
        * Scripts/webkitpy/layout_tests/models/test_expectations.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win.py:
        * Scripts/webkitpy/layout_tests/port/gtk.py:
        * Scripts/webkitpy/layout_tests/port/http_lock.py:
        * Scripts/webkitpy/layout_tests/port/mac.py:
        * Scripts/webkitpy/layout_tests/port/qt.py:
        * Scripts/webkitpy/layout_tests/port/server_process.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:
        * Scripts/webkitpy/layout_tests/port/win.py:
        * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
        * Scripts/webkitpy/layout_tests/servers/http_server.py:
        * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
        * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
        * Scripts/webkitpy/layout_tests/views/printing.py:
        * Scripts/webkitpy/python24/versioning.py:
        * Scripts/webkitpy/style/checker.py:
        * Scripts/webkitpy/style/checkers/test_expectations.py:
        * Scripts/webkitpy/style/patchreader.py:
        * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:

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

11 years ago2011-07-06 Filip Pizlo <fpizlo@apple.com>
commit-queue@webkit.org [Thu, 7 Jul 2011 04:04:29 +0000 (04:04 +0000)]
2011-07-06  Filip Pizlo  <fpizlo@apple.com>

        DFG JIT implementation of op_call results in regressions on sunspider
        controlflow-recursive.
        https://bugs.webkit.org/show_bug.cgi?id=64039

        Reviewed by Gavin Barraclough.

        * dfg/DFGByteCodeParser.cpp:
        (JSC::DFG::ByteCodeParser::isSmallInt32Constant):
        (JSC::DFG::ByteCodeParser::parseBlock):
        * dfg/DFGSpeculativeJIT.h:
        (JSC::DFG::SpeculativeJIT::isInteger):

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 03:55:20 +0000 (03:55 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Move model classes out of layout_package and into models
        https://bugs.webkit.org/show_bug.cgi?id=64053

        Reviewed by Eric Seidel.

        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
        * Scripts/webkitpy/common/net/layouttestresults.py:
        * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
        * Scripts/webkitpy/common/net/resultsjsonparser.py:
        * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
        * Scripts/webkitpy/layout_tests/controllers/manager.py:
        * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
        * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
        * Scripts/webkitpy/layout_tests/controllers/worker.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/result_summary.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_input.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_results.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/models: Added.
        * Scripts/webkitpy/layout_tests/models/__init__.py: Added.
        * Scripts/webkitpy/layout_tests/models/result_summary.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/result_summary.py.
        * Scripts/webkitpy/layout_tests/models/test_expectations.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_expectations.py.
        * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py.
        * Scripts/webkitpy/layout_tests/models/test_failures.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_failures.py.
        * Scripts/webkitpy/layout_tests/models/test_failures_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py.
        * Scripts/webkitpy/layout_tests/models/test_input.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_input.py.
        * Scripts/webkitpy/layout_tests/models/test_results.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_results.py.
        * Scripts/webkitpy/layout_tests/models/test_results_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py.
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/views/printing.py:
        * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
        * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
        * Scripts/webkitpy/style_references.py:
        * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
        * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:
        * Scripts/webkitpy/tool/commands/rebaseline.py:

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

11 years ago2011-07-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Thu, 7 Jul 2011 03:49:37 +0000 (03:49 +0000)]
2011-07-06  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        [EFL] Add Fullscreen API feature
        https://bugs.webkit.org/show_bug.cgi?id=63975

        This is just to add disabled ENABLE_FULLSCREEN_API to OptionEFl.cmake.
        ENABLE_FULLSCREEN_API will be enabled after finishing missing implementations.

        Reviewed by Adam Barth.

        * Source/cmake/OptionsEfl.cmake: Add disabled ENABLE_FULLSCREEN_API feature.
        * Source/cmakeconfig.h.cmake: ditto.
2011-07-06  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        [EFL] Add Fullscreen API feature
        https://bugs.webkit.org/show_bug.cgi?id=63975

        Add needed files for enabling ENABLE_FULLSCREEN_API feature.

        Reviewed by Adam Barth.

        * CMakeLists.txt: Add RenderFullScreen.cpp, fullscreen.css

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

11 years ago2011-07-06 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Thu, 7 Jul 2011 03:48:15 +0000 (03:48 +0000)]
2011-07-06  Emil A Eklund  <eae@chromium.org>

        Switch absoluteRects to to new layout types
        https://bugs.webkit.org/show_bug.cgi?id=64035

        Reviewed by Eric Seidel.

        Move absoluteRects over to new layout unit abstraction.
        Add flooredLayoutPoint, mapped to flooredIntPoint.

        No new tests, no functionality changes.

        * rendering/LayoutTypes.h:
        (WebCore::flooredLayoutPoint):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::absoluteRects):
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::absoluteRects):
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::absoluteRects):
        * rendering/RenderInline.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::absoluteBoundingBoxRect):
        * rendering/RenderObject.h:
        (WebCore::RenderObject::absoluteRects):
        * rendering/RenderText.cpp:
        (WebCore::RenderText::absoluteRects):
        * rendering/RenderText.h:
        * rendering/RenderView.cpp:
        (WebCore::RenderView::absoluteRects):
        * rendering/RenderView.h:
        * rendering/svg/RenderSVGBlock.cpp:
        (WebCore::RenderSVGBlock::absoluteRects):
        * rendering/svg/RenderSVGBlock.h:
        * rendering/svg/RenderSVGModelObject.cpp:
        (WebCore::RenderSVGModelObject::absoluteRects):
        * rendering/svg/RenderSVGModelObject.h:

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

11 years ago2011-07-06 Filip Pizlo <fpizlo@apple.com>
commit-queue@webkit.org [Thu, 7 Jul 2011 03:42:02 +0000 (03:42 +0000)]
2011-07-06  Filip Pizlo  <fpizlo@apple.com>

        DFG JIT does not support method_check
        https://bugs.webkit.org/show_bug.cgi?id=63972

        Reviewed by Gavin Barraclough.

        * assembler/CodeLocation.h:
        (JSC::CodeLocationPossiblyNearCall::CodeLocationPossiblyNearCall):
        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::visitAggregate):
        * bytecode/CodeBlock.h:
        (JSC::MethodCallLinkInfo::MethodCallLinkInfo):
        (JSC::MethodCallLinkInfo::seenOnce):
        (JSC::MethodCallLinkInfo::setSeen):
        * dfg/DFGAliasTracker.h:
        (JSC::DFG::AliasTracker::recordGetMethod):
        * dfg/DFGByteCodeParser.cpp:
        (JSC::DFG::ByteCodeParser::parseBlock):
        * dfg/DFGJITCodeGenerator.cpp:
        (JSC::DFG::JITCodeGenerator::cachedGetById):
        (JSC::DFG::JITCodeGenerator::cachedGetMethod):
        * dfg/DFGJITCodeGenerator.h:
        * dfg/DFGJITCompiler.cpp:
        (JSC::DFG::JITCompiler::compileFunction):
        * dfg/DFGJITCompiler.h:
        (JSC::DFG::JITCompiler::addMethodGet):
        (JSC::DFG::JITCompiler::MethodGetRecord::MethodGetRecord):
        * dfg/DFGNode.h:
        (JSC::DFG::Node::hasIdentifier):
        * dfg/DFGNonSpeculativeJIT.cpp:
        (JSC::DFG::NonSpeculativeJIT::compile):
        * dfg/DFGOperations.cpp:
        * dfg/DFGOperations.h:
        * dfg/DFGRepatch.cpp:
        (JSC::DFG::dfgRepatchGetMethodFast):
        (JSC::DFG::tryCacheGetMethod):
        (JSC::DFG::dfgRepatchGetMethod):
        * dfg/DFGRepatch.h:
        * dfg/DFGSpeculativeJIT.cpp:
        (JSC::DFG::SpeculativeJIT::compile):
        * jit/JITWriteBarrier.h:
        (JSC::JITWriteBarrier::set):

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

11 years ago2011-07-06 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 7 Jul 2011 03:18:51 +0000 (03:18 +0000)]
2011-07-06  Dirk Pranke  <dpranke@chromium.org>

        nrwt: fix typo preventing http startup on windows
        https://bugs.webkit.org/show_bug.cgi?id=64050

        Reviewed by Eric Siedel.

        NRWT checks whether it needs to start the servers by looking
        for "/http/" in the test names. After r90520, the leading slash
        is not present, so the check isn't quite right.

        * Scripts/webkitpy/layout_tests/controllers/manager.py:
        * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:

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

11 years ago2011-07-06 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 7 Jul 2011 02:49:47 +0000 (02:49 +0000)]
2011-07-06  Dirk Pranke  <dpranke@chromium.org>

        nrwt: remove --use-apache from the command line
        https://bugs.webkit.org/show_bug.cgi?id=63358

        Reviewed by Adam Barth.

        Re-land the fix in bug 63358 - the prior fix was flawed in that
        we were trying to start the http server during check_sys_deps()
        but not actually setting up the environment properly. This
        broken prior to this change, but exposed by it, since the patch
        changes the chromium port to call the base class's checks.

        * Scripts/webkitpy/common/system/executive.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 02:45:58 +0000 (02:45 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Move view-related code out of layout_package and into views
        https://bugs.webkit.org/show_bug.cgi?id=64051

        Reviewed by Eric Seidel.

        * Scripts/webkitpy/layout_tests/controllers/manager.py:
        * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
        * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
        * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/printing.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/views: Added.
        * Scripts/webkitpy/layout_tests/views/__init__.py: Added.
        * Scripts/webkitpy/layout_tests/views/metered_stream.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/metered_stream.py.
        * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py.
        * Scripts/webkitpy/layout_tests/views/printing.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/printing.py.
        * Scripts/webkitpy/layout_tests/views/printing_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py.

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

11 years ago2011-07-06 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Thu, 7 Jul 2011 02:32:26 +0000 (02:32 +0000)]
2011-07-06  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Switch offsetFromContainer and related to to new layout types
        https://bugs.webkit.org/show_bug.cgi?id=63659

        Switch offsetFromContainer and related mapping methods to new layout unit
        abstraction.

        No new tests, no functionality changes.

        * rendering/LayoutTypes.h:
        (WebCore::enclosingLayoutRect):
        (WebCore::roundedLayoutPoint):
        (WebCore::roundedLayoutUnit):
        Add LayoutUnit versions of enclosingIntRect, roundedIntPoint and lroundf.
        For now these map to their int counterpart but once we switch to float or
        fixed point they'll be no-ops and eventually will be removed.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::mapLocalToContainer):
        (WebCore::RenderBox::mapAbsoluteToLocalPoint):
        (WebCore::RenderBox::offsetFromContainer):
        * rendering/RenderBox.h:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::linesBoundingBox):
        (WebCore::RenderInline::offsetFromContainer):
        (WebCore::RenderInline::mapLocalToContainer):
        (WebCore::RenderInline::mapAbsoluteToLocalPoint):
        (WebCore::RenderInline::relativePositionedInlineOffset):
        * rendering/RenderInline.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::offsetFromContainer):
        (WebCore::RenderObject::offsetFromAncestorContainer):
        * rendering/RenderObject.h:
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::offsetFromContainer):
        * rendering/RenderTableCell.h:
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::convertToPaintingRect):

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 02:24:02 +0000 (02:24 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Add goofy comments to explain why we have these files.

        * Scripts/webkitpy/layout_tests/controllers/__init__.py:
        * Scripts/webkitpy/layout_tests/layout_package/__init__.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 02:16:12 +0000 (02:16 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Move a bunch of classes out of layout_tests.layout_package and into layout_tests.controllers
        https://bugs.webkit.org/show_bug.cgi?id=64048

        Reviewed by Eric Seidel.

        * Scripts/webkitpy/layout_tests/controllers: Added.
        * Scripts/webkitpy/layout_tests/controllers/__init__.py: Added.
        * Scripts/webkitpy/layout_tests/controllers/manager.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager.py.
        * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py.
        * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py.
        * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py.
        * Scripts/webkitpy/layout_tests/controllers/message_broker.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/message_broker.py.
        * Scripts/webkitpy/layout_tests/controllers/message_broker_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py.
        * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py.
        * Scripts/webkitpy/layout_tests/controllers/worker.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/worker.py.
        * Scripts/webkitpy/layout_tests/layout_package/manager.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/message_broker.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/worker.py: Removed.
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

11 years ago2011-07-06 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 7 Jul 2011 02:10:42 +0000 (02:10 +0000)]
2011-07-06  Levi Weintraub  <leviw@chromium.org>

        Switch FrameSelection to new Layout Types
        https://bugs.webkit.org/show_bug.cgi?id=64043

        Reviewed by Eric Seidel.

        Switching the selection classes to the new layout types. Changing
        NoXPosForVerticalArrowNavigation to a static inline since as it stood it violated
        our global initializer rule when converted to numeric_limits from INT_MIN.

        No new tests, no functionality changes.

        * editing/FrameSelection.cpp:
        (WebCore::FrameSelection::modify):
        (WebCore::absoluteCaretY):
        (WebCore::FrameSelection::lineDirectionPointForBlockDirectionNavigation):
        (WebCore::CaretBase::clearCaretRect):
        (WebCore::CaretBase::updateCaretRect):
        (WebCore::FrameSelection::localCaretRect):
        (WebCore::CaretBase::absoluteBoundsForLocalRect):
        (WebCore::FrameSelection::absoluteCaretBounds):
        (WebCore::repaintRectForCaret):
        (WebCore::CaretBase::caretRepaintRect):
        (WebCore::FrameSelection::recomputeCaretRect):
        (WebCore::FrameSelection::paintCaret):
        (WebCore::CaretBase::paintCaret):
        (WebCore::FrameSelection::contains):
        (WebCore::DragCaretController::paintDragCaret):
        (WebCore::FrameSelection::bounds):
        (WebCore::FrameSelection::revealSelection):
        * editing/FrameSelection.h:
        (WebCore::CaretBase::localCaretRectWithoutUpdate):

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Jul 2011 01:50:17 +0000 (01:50 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Attempt to fix unittest on Leopard.  Let's enumerate the keys in sorted
        order so the test results are predictable.

        * Scripts/webkitpy/tool/bot/irc_command.py:
        * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:

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

11 years ago2011-07-06 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 7 Jul 2011 01:22:31 +0000 (01:22 +0000)]
2011-07-06  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Siedel.

        nrwt: make the code be consistent about using test names instead of filenames or paths

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

        It can be hard to figure out where in the code we're assuming
        test names are listed as unix-style relative filenames and where
        they are either absolute paths or relative paths following the
        host filesystem convention.

        This patch changes things so that everything outside of the
        Port object uses (and must assume) unix-style relative
        filenames (with one exception, which is specifying host-local
        filenames as a list of test arguments on the command line).

        This should make things clearer and more consistent, and also
        removes a lot of path conversion calls.

        The changes in this patch outside of port/base.py are largely
        cosmetic changes of "filename" to "test". We add a few routines
        to the base Port implementation to manipulate test names to
        split them, figure out if we're referring to a directory of
        tests, etc.

        * Scripts/webkitpy/common/net/layouttestresults.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/manager.py:
        * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/printing.py:
        * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
        * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_input.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/worker.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/base_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
        * Scripts/webkitpy/layout_tests/port/dryrun.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
        * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
        * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
        * Scripts/webkitpy/tool/bot/flakytestreporter.py:
        * Scripts/webkitpy/tool/commands/rebaseline.py:
        * Scripts/webkitpy/tool/commands/rebaselineserver.py:

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

11 years ago2011-07-06 Chris Guillory <ctguil@chromium.org>
ctguil@chromium.org [Thu, 7 Jul 2011 00:36:26 +0000 (00:36 +0000)]
2011-07-06  Chris Guillory  <ctguil@chromium.org>

        No review necessary.

        Adding myself to committers list in committers.py.
        https://bugs.webkit.org/show_bug.cgi?id=63478

        * Scripts/webkitpy/common/config/committers.py:

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

11 years ago2011-07-06 Johnny Ding <jnd@chromium.org>
jnd@chromium.org [Thu, 7 Jul 2011 00:09:35 +0000 (00:09 +0000)]
2011-07-06  Johnny Ding  <jnd@chromium.org>

        https://bugs.webkit.org/show_bug.cgi?id=63857
        Remove some crash expectation after implementing "createPopupMenu"

        Reviewed by Tony Chang.

        * platform/chromium/test_expectations.txt:
2011-07-06  Johnny Ding  <jnd@chromium.org>

        https://bugs.webkit.org/show_bug.cgi?id=63857
        Check WebWidgetClient before calling it to close widget.

        Reviewed by Tony Chang.

        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::popupClosed):
2011-07-06  Johnny Ding  <jnd@chromium.org>

        https://bugs.webkit.org/show_bug.cgi?id=63857
        Implement createPopupMenu for Chromium DRT.

        Reviewed by Tony Chang.

        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::createPopupMenu):
        (WebViewHost::~WebViewHost):
        * DumpRenderTree/chromium/WebViewHost.h:

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

11 years ago2011-07-06 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Wed, 6 Jul 2011 23:55:06 +0000 (23:55 +0000)]
2011-07-06  Levi Weintraub  <leviw@chromium.org>

        Switch Overflow and FrameRect methods in InlineBox to Layout Units
        https://bugs.webkit.org/show_bug.cgi?id=64034

        Reviewed by Eric Seidel.

        Switching Overflow and FrameRect methods on InlineBox to new Layout Unit abstraction and
        cleaning up some compilation errors that crop up when building with floating point layout units.

        No new tests, no functionality changes.

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::sizingBox):
        * dom/Document.h:
        * editing/DeleteButtonController.cpp:
        (WebCore::isDeletableElement):
        * inspector/DOMNodeHighlighter.cpp:
        (WebCore::DOMNodeHighlighter::drawNodeHighlight):
        * page/animation/AnimationBase.cpp:
        (WebCore::blendFunc):
        * platform/ScrollView.h:
        (WebCore::ScrollView::visibleWidth):
        (WebCore::ScrollView::visibleHeight):
        * platform/ScrollableArea.h:
        (WebCore::ScrollableArea::visibleHeight):
        (WebCore::ScrollableArea::visibleWidth):
        * platform/graphics/FloatPoint.h: Adding FloatPoint and FloatSize move[By] functions
        (WebCore::FloatPoint::move):
        (WebCore::FloatPoint::moveBy):
        * rendering/AutoTableLayout.cpp:
        (WebCore::AutoTableLayout::computePreferredLogicalWidths):
        (WebCore::AutoTableLayout::layout):
        * rendering/InlineFlowBox.h:
        (WebCore::InlineFlowBox::layoutOverflowRect):
        (WebCore::InlineFlowBox::logicalLeftLayoutOverflow):
        (WebCore::InlineFlowBox::logicalRightLayoutOverflow):
        (WebCore::InlineFlowBox::logicalTopLayoutOverflow):
        (WebCore::InlineFlowBox::logicalBottomLayoutOverflow):
        (WebCore::InlineFlowBox::logicalLayoutOverflowRect):
        (WebCore::InlineFlowBox::visualOverflowRect):
        (WebCore::InlineFlowBox::logicalLeftVisualOverflow):
        (WebCore::InlineFlowBox::logicalRightVisualOverflow):
        (WebCore::InlineFlowBox::logicalTopVisualOverflow):
        (WebCore::InlineFlowBox::logicalBottomVisualOverflow):
        (WebCore::InlineFlowBox::logicalVisualOverflowRect):
        (WebCore::InlineFlowBox::frameRectIncludingLineHeight):
        (WebCore::InlineFlowBox::logicalFrameRectIncludingLineHeight):
        * rendering/RenderBlock.h:
        (WebCore::RenderBlock::RenderBlockRareData::positiveMarginBeforeDefault):
        (WebCore::RenderBlock::RenderBlockRareData::negativeMarginBeforeDefault):
        (WebCore::RenderBlock::RenderBlockRareData::positiveMarginAfterDefault):
        (WebCore::RenderBlock::RenderBlockRareData::negativeMarginAfterDefault):

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

11 years ago2011-07-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 6 Jul 2011 23:49:25 +0000 (23:49 +0000)]
2011-07-06  Mihai Parparita  <mihaip@chromium.org>

        Update Chromium GPU expectations with downstream changes
        (http://crrev.com/91625/).

        * platform/chromium/test_expectations.txt:

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

11 years ago2011-07-06 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Wed, 6 Jul 2011 23:38:32 +0000 (23:38 +0000)]
2011-07-06  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Switch nodeAtPoint to to new layout types
        https://bugs.webkit.org/show_bug.cgi?id=63663

        No new tests, no functionality changes.

        * rendering/EllipsisBox.cpp:
        (WebCore::EllipsisBox::nodeAtPoint):
        * rendering/EllipsisBox.h:
        * rendering/InlineBox.cpp:
        (WebCore::InlineBox::nodeAtPoint):
        * rendering/InlineBox.h:
        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::nodeAtPoint):
        * rendering/InlineFlowBox.h:
        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::nodeAtPoint):
        * rendering/InlineTextBox.h:
        * rendering/LayoutTypes.h:
        (WebCore::toLayoutSize):
        (WebCore::toLayoutPoint):
        (WebCore::roundedLayoutPoint):
        (WebCore::roundedLayoutUnit):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::nodeAtPoint):
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::nodeAtPoint):
        * rendering/RenderBox.h:
        * rendering/RenderFrameSet.cpp:
        (WebCore::RenderFrameSet::nodeAtPoint):
        * rendering/RenderFrameSet.h:
        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::nodeAtPoint):
        * rendering/RenderImage.h:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::nodeAtPoint):
        * rendering/RenderInline.h:
        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::nodeAtPoint):
        * rendering/RenderListBox.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::nodeAtPoint):
        * rendering/RenderObject.h:
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::nodeAtPoint):
        * rendering/RenderTable.h:
        * rendering/RenderTableRow.cpp:
        (WebCore::RenderTableRow::nodeAtPoint):
        * rendering/RenderTableRow.h:
        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::nodeAtPoint):
        * rendering/RenderTableSection.h:
        * rendering/RenderText.h:
        (WebCore::RenderText::nodeAtPoint):
        * rendering/RenderTextControlMultiLine.cpp:
        (WebCore::RenderTextControlMultiLine::nodeAtPoint):
        * rendering/RenderTextControlMultiLine.h:
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::nodeAtPoint):
        * rendering/RenderTextControlSingleLine.h:
        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::nodeAtPoint):
        * rendering/RenderWidget.h:
        * rendering/RootInlineBox.cpp:
        (WebCore::RootInlineBox::nodeAtPoint):
        * rendering/RootInlineBox.h:
        * rendering/svg/RenderSVGForeignObject.cpp:
        (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
        (WebCore::RenderSVGForeignObject::nodeAtPoint):
        * rendering/svg/RenderSVGForeignObject.h:
        * rendering/svg/RenderSVGModelObject.cpp:
        (WebCore::RenderSVGModelObject::nodeAtPoint):
        * rendering/svg/RenderSVGModelObject.h:
        * rendering/svg/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::nodeAtPoint):
        * rendering/svg/RenderSVGRoot.h:
        * rendering/svg/RenderSVGText.cpp:
        (WebCore::RenderSVGText::nodeAtPoint):
        * rendering/svg/RenderSVGText.h:
        * rendering/svg/SVGInlineTextBox.cpp:
        (WebCore::SVGInlineTextBox::nodeAtPoint):
        * rendering/svg/SVGInlineTextBox.h:

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

11 years ago2011-07-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 6 Jul 2011 23:37:12 +0000 (23:37 +0000)]
2011-07-06  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, rolling out r90503.
        http://trac.webkit.org/changeset/90503
        https://bugs.webkit.org/show_bug.cgi?id=63358

        Makes Chromium Windows canary bots hang.

        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 6 Jul 2011 23:34:21 +0000 (23:34 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Move buildbot URL in webkitpy to config.urls
        https://bugs.webkit.org/show_bug.cgi?id=64041

        Reviewed by Eric Seidel.

        This patch prepares for using the buildbot class to talk to the
        Chromium buildbots.

        * Scripts/webkitpy/common/config/urls.py:
        * Scripts/webkitpy/common/net/buildbot/buildbot.py:
        * Scripts/webkitpy/tool/commands/download_unittest.py:
        * Scripts/webkitpy/tool/commands/queries.py:
        * Scripts/webkitpy/tool/mocktool.py:
        * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:

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

11 years ago2011-07-06 Sreeram Ramachandran <sreeram@chromium.org>
commit-queue@webkit.org [Wed, 6 Jul 2011 23:25:47 +0000 (23:25 +0000)]
2011-07-06  Sreeram Ramachandran  <sreeram@chromium.org>

        Fix fast/loader/page-dismissal-modal-dialogs.html.
        https://bugs.webkit.org/show_bug.cgi?id=64020

        Fix by removing an unnecessary call to setPopupBlockingEnabled() (which
        doesn't seem to be implemented in WebKit2's layoutTestController).

        Reviewed by Adam Roben.

        * fast/loader/page-dismissal-modal-dialogs.html:

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

11 years ago[wx] Unreviewed build fix, add the correct path to the waf build settings.
kevino@webkit.org [Wed, 6 Jul 2011 23:14:35 +0000 (23:14 +0000)]
[wx] Unreviewed build fix, add the correct path to the waf build settings.

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

11 years ago[wx] Unreviewed build fix. Don't expose the kit function to the swig wrappers.
kevino@webkit.org [Wed, 6 Jul 2011 23:13:00 +0000 (23:13 +0000)]
[wx] Unreviewed build fix. Don't expose the kit function to the swig wrappers.

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 6 Jul 2011 23:09:02 +0000 (23:09 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Add missing include.

        * Scripts/webkitpy/tool/bot/irc_command.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 6 Jul 2011 22:49:48 +0000 (22:49 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Add roll-chromium-deps command to sheriff-bot
        https://bugs.webkit.org/show_bug.cgi?id=64037

        Reviewed by Eric Seidel.

        Lo, and the DEPS were rolled on command.

        * Scripts/webkitpy/tool/bot/irc_command.py:
        * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
        * Scripts/webkitpy/tool/bot/sheriff.py:
        * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
        * Scripts/webkitpy/tool/commands/roll.py:
        * Scripts/webkitpy/tool/commands/roll_unittest.py:
        * Scripts/webkitpy/tool/steps/updatechromiumdeps.py:

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

11 years ago2011-07-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 6 Jul 2011 22:34:58 +0000 (22:34 +0000)]
2011-07-06  Eric Seidel  <eric@webkit.org>

        Split Driver, DriverOutput and DriverInput out into a new driver.py file
        https://bugs.webkit.org/show_bug.cgi?id=64031

        Reviewed by Adam Barth.

        This ended up kinda large and I'm happy to break it up if desired.

        As part of cleaning up the Port module, I split Driver, DriverInput and DriverOutput
        out into its own driver.py file.

        I also cleaned up how we import Port objects, by making port/__init__.py
        expose Port, Driver, DriverInput, and DriverOutput.  I removed exposure of
        some various test objects as they were causing circular dependencies.
        base.py is now an implementation detail of port.  No longer is "base" referenced
        anywhere in the code.

        I also made Driver.__init__ non-virtual so that sub-classers could all share
        the data storage on Driver.  This more closely matches how other subclasses
        work throughout our python code.

        Standard line-unwrapping and doc-string removal as I went through the code.

        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
        * Scripts/webkitpy/layout_tests/port/__init__.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/base_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/driver.py: Added.
        * Scripts/webkitpy/layout_tests/port/dryrun.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
        * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
        * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:

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

11 years ago2011-07-06 Adrienne Walker <enne@google.com>
enne@google.com [Wed, 6 Jul 2011 22:33:24 +0000 (22:33 +0000)]
2011-07-06  Adrienne Walker  <enne@google.com>

        [chromium] Add compositor texture manager soft limits and lost focus reclaiming
        https://bugs.webkit.org/show_bug.cgi?id=64009

        Reviewed by James Robinson.

        Add a soft limit for texture memory. Unprotected textures will get
        reclaimed when above this limit. Increase the hard limit for maximum
        texture memory as well, now that there is a better heuristic and
        textures are reclaimed from tabs without focus.

        Landing this for vangelis@chromium.org.

        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::releaseTextures):
        (WebCore::LayerRendererChromium::initializeSharedObjects):
        * platform/graphics/chromium/LayerRendererChromium.h:
        * platform/graphics/chromium/LayerTilerChromium.cpp:
        (WebCore::LayerTilerChromium::protectTileTextures):
        * platform/graphics/chromium/LayerTilerChromium.h:
        * platform/graphics/chromium/TextureManager.cpp:
        (WebCore::TextureManager::TextureManager):
        (WebCore::TextureManager::requestTexture):
        * platform/graphics/chromium/TextureManager.h:
        (WebCore::TextureManager::create):
2011-07-06  Adrienne Walker  <enne@google.com>

        [chromium] Add compositor texture manager soft limits and lost focus reclaiming
        https://bugs.webkit.org/show_bug.cgi?id=64009

        Reviewed by James Robinson.

        Reclaim textures when the tab loses focus.

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::setVisibilityState):

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

11 years agoClear TestFailures's getNumberOfFailingTests cache
aroben@apple.com [Wed, 6 Jul 2011 21:57:56 +0000 (21:57 +0000)]
Clear TestFailures's getNumberOfFailingTests cache

Now that we support NRWT, we need to clear out old zero values for the NRWT bots that might
have been cached by old versions of TestFailures.

Fixes <http://webkit.org/b/64029> TestFailures page still doesn't show NRWT bots if you've
used it recently

Reviewed by Adam Barth.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
(Builder.prototype.getNumberOfFailingTests): Added a .version property to the cache data
that must match the current version. Otherwise we'll ignore the cached data.

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

11 years ago2011-06-24 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 6 Jul 2011 21:46:17 +0000 (21:46 +0000)]
2011-06-24  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Adam Barth.

        nrwt: remove --use-apache from the command line
        https://bugs.webkit.org/show_bug.cgi?id=63358

        This change removes the --use-apache command line argument. It
        was initially put in when we were trying to get the cygwin
        apache instance to work with Chromium win, but that code has
        bitrotted and doesn't work at all now.

        Arguably we should remove all of the code to allow for a choice
        of web servers, but since we may still want to switch off of
        LigHTTPd at some point on Windows, I'll leave the rest in for
        now (or at least yank it in a different change.)

        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

11 years ago2011-07-06 Filip Pizlo <fpizlo@apple.com>
commit-queue@webkit.org [Wed, 6 Jul 2011 21:40:11 +0000 (21:40 +0000)]
2011-07-06  Filip Pizlo  <fpizlo@apple.com>

        DFG JIT op_call implementation will flush registers even when those registers are dead
        https://bugs.webkit.org/show_bug.cgi?id=64023

        Reviewed by Gavin Barraclough.

        * dfg/DFGJITCodeGenerator.cpp:
        (JSC::DFG::JITCodeGenerator::emitCall):
        * dfg/DFGJITCodeGenerator.h:
        (JSC::DFG::JITCodeGenerator::integerResult):
        (JSC::DFG::JITCodeGenerator::noResult):
        (JSC::DFG::JITCodeGenerator::cellResult):
        (JSC::DFG::JITCodeGenerator::jsValueResult):
        (JSC::DFG::JITCodeGenerator::doubleResult):
        * dfg/DFGNonSpeculativeJIT.cpp:
        (JSC::DFG::NonSpeculativeJIT::compile):
        * dfg/DFGSpeculativeJIT.cpp:
        (JSC::DFG::SpeculativeJIT::compile):

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

11 years ago2011-07-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 6 Jul 2011 21:39:19 +0000 (21:39 +0000)]
2011-07-06  Mihai Parparita  <mihaip@chromium.org>

        Fix duplicate Chromium expectations from r90500 and add additional flakiness
        expectations.

        * platform/chromium/test_expectations.txt:

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

11 years ago2011-07-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 6 Jul 2011 21:20:17 +0000 (21:20 +0000)]
2011-07-06  Mihai Parparita  <mihaip@chromium.org>

        Add Chromium Windows 7 timeout expectations.

        * platform/chromium/test_expectations.txt:

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

11 years ago2011-07-06 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 6 Jul 2011 21:19:22 +0000 (21:19 +0000)]
2011-07-06  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: Web Inspector: fixing typo introduced in the r90397.

        * inspector/front-end/StylesSidebarPane.js:

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

11 years ago2011-07-06 Mike Reed <reed@google.com>
commit-queue@webkit.org [Wed, 6 Jul 2011 21:16:18 +0000 (21:16 +0000)]
2011-07-06  Mike Reed  <reed@google.com>

        [skia] don't include deprecated header
        https://bugs.webkit.org/show_bug.cgi?id=64025

        Reviewed by James Robinson.

        No new tests. Just removing #include of an unused header that will be gone soon

        * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
        * platform/graphics/skia/PlatformContextSkia.cpp:

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

11 years ago2011-06-30 Cris Neckar <cdn@chromium.org>
cdn@chromium.org [Wed, 6 Jul 2011 21:13:19 +0000 (21:13 +0000)]
2011-06-30  Cris Neckar  <cdn@chromium.org>

        Reviewed by Darin Fisher.

        Add versioning to Chromium clipboard and prevent polling from inside events.
        https://bugs.webkit.org/show_bug.cgi?id=63738

        * public/WebClipboard.h:
        (WebKit::WebClipboard::getSequenceNumber):
        * src/PlatformBridge.cpp:
        (WebCore::PlatformBridge::clipboardGetSequenceNumber):
2011-06-30  Cris Neckar  <cdn@chromium.org>

        Reviewed by Darin Fisher.

        Add versioning to Chromium clipboard and prevent polling from inside events.
        https://bugs.webkit.org/show_bug.cgi?id=63738

        * platform/chromium/ChromiumDataObject.cpp:
        (WebCore::ChromiumDataObject::getSequenceNumber):
        * platform/chromium/ChromiumDataObject.h:
        * platform/chromium/ClipboardChromium.cpp:
        (WebCore::ClipboardChromium::ClipboardChromium):
        (WebCore::ClipboardChromium::getData):
        (WebCore::ClipboardChromium::platformClipboardChanged):
        * platform/chromium/ClipboardChromium.h:
        * platform/chromium/DataTransferItemChromium.cpp:
        (WebCore::DataTransferItemChromium::getAsString):
        (WebCore::DataTransferItemChromium::getAsFile):
        * platform/chromium/PlatformBridge.h:
        * svg/SVGAnimationElement.cpp:
        (WebCore::SVGAnimationElement::setTargetAttributeAnimatedValue):

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

11 years ago2011-07-06 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 6 Jul 2011 21:10:43 +0000 (21:10 +0000)]
2011-07-06  Dimitri Glazkov  <dglazkov@chromium.org>

        garden-o-matic should use a favicon to indicate current state.
        https://bugs.webkit.org/show_bug.cgi?id=64027

        Reviewed by Adam Barth.

        * Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-green.png: Added.
        * Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-red.png: Added.
        * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html: Added blurb about icons.
        * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js: Added setting icon state.
        * Scripts/webkitpy/tool/servers/gardeningserver.py: Allowed the use of favicons.

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

11 years ago2011-07-06 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Wed, 6 Jul 2011 21:09:28 +0000 (21:09 +0000)]
2011-07-06  Daniel Bates  <dbates@rim.com>

        Fix webkitpy error after changeset 90483 <http://trac.webkit.org/changeset/90483>; Add missing
        parameter to _fetch_file_from_results lamdba function.

        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

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

11 years ago2011-07-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 6 Jul 2011 20:58:58 +0000 (20:58 +0000)]
2011-07-06  Mihai Parparita  <mihaip@chromium.org>

        Add Chromium flaky expectations.

        * platform/chromium/test_expectations.txt:

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

11 years ago[wx] Unreviewed build fix. Generate the proper install_name for dylibs on Mac.
kevino@webkit.org [Wed, 6 Jul 2011 20:58:17 +0000 (20:58 +0000)]
[wx] Unreviewed build fix. Generate the proper install_name for dylibs on Mac.

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

11 years ago2011-07-01 James Robinson <jamesr@chromium.org>
jamesr@google.com [Wed, 6 Jul 2011 20:56:28 +0000 (20:56 +0000)]
2011-07-01  James Robinson  <jamesr@chromium.org>

        Reviewed by Stephen White.

        [chromium] Externalize layer visibility calculation
        https://bugs.webkit.org/show_bug.cgi?id=63847

        This moves the layer visibility calculation from the layer itself out to LayerRendererChromium, like the other
        calculated properties.  Previously, we were doing this calculating at paint time and again at draw time and
        relying on the fact that this produced the same value.  This avoids the redundant calculation.

        Covered by existing compositing/ layout tests.

        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::ContentLayerChromium):
        (WebCore::ContentLayerChromium::paintContentsIfDirty):
        (WebCore::ContentLayerChromium::tilingTransform):
        (WebCore::ContentLayerChromium::contentBounds):
        (WebCore::ContentLayerChromium::updateLayerSize):
        (WebCore::ContentLayerChromium::draw):
        (WebCore::ContentLayerChromium::setTilingOption):
        (WebCore::ContentLayerChromium::setIsMask):
        * platform/graphics/chromium/ContentLayerChromium.h:
        * platform/graphics/chromium/ImageLayerChromium.cpp:
        (WebCore::ImageLayerChromium::paintContentsIfDirty):
        (WebCore::ImageLayerChromium::contentBounds):
        * platform/graphics/chromium/ImageLayerChromium.h:
        * platform/graphics/chromium/LayerChromium.cpp:
        (WebCore::LayerChromium::pushPropertiesTo):
        * platform/graphics/chromium/LayerChromium.h:
        (WebCore::LayerChromium::contentBounds):
        (WebCore::LayerChromium::visibleLayerRect):
        (WebCore::LayerChromium::setVisibleLayerRect):
        (WebCore::LayerChromium::draw):
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::calculateVisibleLayerRect):
        (WebCore::LayerRendererChromium::paintLayerContents):
        (WebCore::LayerRendererChromium::drawLayer):
        * platform/graphics/chromium/RenderSurfaceChromium.cpp:
        (WebCore::RenderSurfaceChromium::draw):
        * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
        (WebCore::CCCanvasLayerImpl::draw):
        * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
        * platform/graphics/chromium/cc/CCLayerImpl.cpp:
        (WebCore::CCLayerImpl::draw):
        * platform/graphics/chromium/cc/CCLayerImpl.h:
        (WebCore::CCLayerImpl::contentBounds):
        (WebCore::CCLayerImpl::setContentBounds):
        (WebCore::CCLayerImpl::visibleLayerRect):
        (WebCore::CCLayerImpl::setVisibleLayerRect):
        (WebCore::CCLayerImpl::doubleSided):
        (WebCore::CCLayerImpl::setDoubleSided):
        * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
        (WebCore::CCPluginLayerImpl::draw):
        * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
        * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
        (WebCore::CCVideoLayerImpl::draw):
        * platform/graphics/chromium/cc/CCVideoLayerImpl.h:

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

11 years ago2011-07-06 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 6 Jul 2011 20:50:46 +0000 (20:50 +0000)]
2011-07-06  Xan Lopez  <xlopez@igalia.com>

        [GTK] Only set env. variables in start when strictly needed
        https://bugs.webkit.org/show_bug.cgi?id=64026

        Reviewed by Eric Seidel.

        * Scripts/webkitpy/layout_tests/port/gtk.py: add a
        setup_environ_for_server method in GtkPort and set as many
        env. variables as possible there.

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

11 years ago2011-07-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 6 Jul 2011 20:49:21 +0000 (20:49 +0000)]
2011-07-06  Ryosuke Niwa  <rniwa@webkit.org>

        REGRESSION (r90275): 18 editing tests failing on Windows 7 Release (WebKit2 Tests)
        https://bugs.webkit.org/show_bug.cgi?id=64019

        These tests just need rebaselines. While Windows WebKit port ignores editing delegate dumps, Windows WebKit2 does not.
        Since rebaselined in r90275 should only affect Mac port, we need to undo rebaselines done in r90275 for Windows port.

        * platform/win/editing/deleting/delete-br-002-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-br-002-expected.txt.
        * platform/win/editing/deleting/delete-br-004-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-br-004-expected.txt.
        * platform/win/editing/deleting/delete-br-005-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-br-005-expected.txt.
        * platform/win/editing/deleting/delete-br-006-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-br-006-expected.txt.
        * platform/win/editing/deleting/delete-br-009-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-br-009-expected.txt.
        * platform/win/editing/deleting/delete-br-010-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-br-010-expected.txt.
        * platform/win/editing/inserting/insert-3800346-fix-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-3800346-fix-expected.txt.
        * platform/win/editing/inserting/insert-at-end-01-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-at-end-01-expected.txt.
        * platform/win/editing/inserting/insert-at-end-02-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-at-end-02-expected.txt.
        * platform/win/editing/inserting/insert-div-010-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-div-010-expected.txt.
        * platform/win/editing/inserting/insert-div-013-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-div-013-expected.txt.
        * platform/win/editing/inserting/insert-div-015-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-div-015-expected.txt.
        * platform/win/editing/inserting/insert-div-019-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-div-019-expected.txt.
        * platform/win/editing/inserting/insert-paragraph-03-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-paragraph-03-expected.txt.
        * platform/win/editing/selection/4932260-1-expected.txt: Copied from LayoutTests/platform/mac/editing/selection/4932260-1-expected.txt.
        * platform/win/editing/selection/move-by-word-001-expected.txt: Copied from LayoutTests/platform/mac/editing/selection/move-by-word-001-expected.txt.
        * platform/win/editing/selection/triple-click-in-pre-expected.txt: Copied from LayoutTests/platform/mac/editing/selection/triple-click-in-pre-expected.txt.
        * platform/win/editing/style: Added.
        * platform/win/editing/style/create-block-for-style-008-expected.txt: Copied from LayoutTests/platform/mac/editing/style/create-block-for-style-008-expected.txt.

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

11 years agoTeach TestFailures how to load, parse, and interpret NRWT test results
aroben@apple.com [Wed, 6 Jul 2011 20:42:14 +0000 (20:42 +0000)]
Teach TestFailures how to load, parse, and interpret NRWT test results

Fixes <http://webkit.org/b/61877> TestFailures page doesn't show testers that use
new-run-webkit-tests

Reviewed by Adam Barth.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
(Builder.prototype.failureDiagnosisTextAndURL): Added support for the new 'flaky' failure
type. For now we don't account for image-only flakes (but TestFailures doesn't deal with
pixel tests at all currently).
(Builder.prototype.getNumberOfFailingTests): Relaxed the regex used for parsing the number
of failing tests from the buildbot output. Make sure not to count "new passes" (a new
category introduced by NRWT) as failures.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
(LayoutTestResultsLoader.prototype.start): Moved a bunch of code from here to
_fetchAndParseORWTResults. This function now attempts to load NRWT results, then falls back
to loading ORWT results.
(LayoutTestResultsLoader.prototype._fetchAndParseNRWTResults): Added. Tries to load and
parse the full_results.json file for the given build.
(LayoutTestResultsLoader.prototype._fetchAndParseORWTResults): Added. Code came from start.
Fixed a bug along the way where we were sometimes calling the error callback instead of the
success callback when all tests passed.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NRWTResultsParser.js: Added.
(NRWTResultsParser): Do-nothing constructor.
(NRWTResultsParser.prototype.parse): Uses eval() (eww!) to get the test results out of the
JS string, then iterates over all the tests in the results data and builds up a data
structure matching what ORWTResultsParser returns.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
(Array.prototype.contains):
(String.prototype.contains):
Added these simple helper functions.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
NRWTResultsParser.js.

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

11 years agoExtract code to parse ORWT's results.html file into its own class
aroben@apple.com [Wed, 6 Jul 2011 20:42:02 +0000 (20:42 +0000)]
Extract code to parse ORWT's results.html file into its own class

Prep work for fixing <http://webkit.org/b/61877> TestFailures page doesn't show testers that
use new-run-webkit-tests

Reviewed by Adam Barth.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
(LayoutTestResultsLoader.prototype.start): Moved a bunch of code from here...

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ORWTResultsParser.js: Added.
(ORWTResultsParser):
(ORWTResultsParser.prototype.parse):
...to here.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
ORWTResultsParser.js.

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

11 years ago2011-07-06 Filip Pizlo <fpizlo@apple.com>
commit-queue@webkit.org [Wed, 6 Jul 2011 20:40:21 +0000 (20:40 +0000)]
2011-07-06  Filip Pizlo  <fpizlo@apple.com>

        DFG speculative JIT may crash when speculating int on a non-int JSConstant.
        https://bugs.webkit.org/show_bug.cgi?id=64017

        Reviewed by Gavin Barraclough.

        * dfg/DFGSpeculativeJIT.cpp:
        (JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
        (JSC::DFG::SpeculativeJIT::compile):

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

11 years agoIconDatabase::synchronousIconForPageURL() has inconsistent API when no custom icon...
sullivan@apple.com [Wed, 6 Jul 2011 20:27:32 +0000 (20:27 +0000)]
IconDatabase::synchronousIconForPageURL() has inconsistent API when no custom icon is available
<https://bugs.webkit.org/show_bug.cgi?id=64015>
<rdar://problem/9706277>

For some URLs it would return a particular size of default icon; for other
URLs it would return 0.

Reviewed by Ada Chan.

* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::synchronousIconForPageURL):
Return 0 in all cases where there is no custom icon.

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

11 years ago2011-07-06 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Wed, 6 Jul 2011 20:20:05 +0000 (20:20 +0000)]
2011-07-06  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Switch RenderLayer::hitTest* to to new layout types
        https://bugs.webkit.org/show_bug.cgi?id=63640

        Switch hit testing and supporting methods for RenderLayer over to the new
        layout unit abstraction.

        No new tests, no functionality changes.

        * rendering/LayoutTypes.h:
        (WebCore::roundedLayoutPoint):
        Add roundedLayoutPoint abstraction, calls roundedIntPoint now but will be a
        no-op (and eventually go away) once we switch to float or fixed point.

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::createLocalTransformState):
        (WebCore::RenderLayer::hitTestLayer):
        (WebCore::RenderLayer::hitTestList):
        (WebCore::RenderLayer::hitTestPaginatedChildLayer):
        (WebCore::RenderLayer::hitTestChildLayerColumns):
        (WebCore::RenderLayer::calculateRects):
        * rendering/RenderLayer.h:

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

11 years ago2011-07-06 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 6 Jul 2011 20:15:07 +0000 (20:15 +0000)]
2011-07-06  Simon Fraser  <simon.fraser@apple.com>

        Have RenderLayerCompositor take care of clearing backing store when entering the page cache
        https://bugs.webkit.org/show_bug.cgi?id=64018

        Reviewed by Joseph Pecoraro.

        Move responsibility for tearing down all RenderLayer backing stores from
        RenderLayer itself to RenderLayerCompositor, since RenderLayerCompositor
        manages backing store creation and destruction in general.

        * page/FrameView.cpp:
        (WebCore::FrameView::clearBackingStores):
        * rendering/RenderLayer.cpp:
        * rendering/RenderLayer.h:
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::clearBackingForLayerIncludingDescendants):
        (WebCore::RenderLayerCompositor::clearBackingForAllLayers):
        * rendering/RenderLayerCompositor.h:

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

11 years ago2011-07-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 6 Jul 2011 19:52:20 +0000 (19:52 +0000)]
2011-07-06  Eric Seidel  <eric@webkit.org>

        Unreviewed.  Fix a unittest from hitting the network. :)

        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

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

11 years ago2011-07-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 6 Jul 2011 19:45:49 +0000 (19:45 +0000)]
2011-07-06  Eric Seidel  <eric@webkit.org>

        Unreviewed.  Fixing an exception in test-webkitpy, caused by bug 64006.

        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

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

11 years ago2011-07-06 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
kov@webkit.org [Wed, 6 Jul 2011 19:21:24 +0000 (19:21 +0000)]
2011-07-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>

        Run an Xvfb instance to run the API tests on, like we do for the
        layout tests.

        Reviewed by Xan Lopez.

        * Scripts/run-gtk-tests:

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

11 years ago2011-07-06 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Wed, 6 Jul 2011 19:10:25 +0000 (19:10 +0000)]
2011-07-06  Daniel Bates  <dbates@webkit.org>

        Make SCM unit tests faster
        https://bugs.webkit.org/show_bug.cgi?id=63883

        Speeds up the SCM unit tests by a factor of 4. Currently, we create a
        mock SVN repo for each test_ method in SVNTest and GitTest and creating
        this repo is expensive.

        Instead, it is significantly faster to create the mock SVN repo once
        and then perform a filesystem copy of it for each test_ method.

        Note, Python 2.7's unittest module implements support for per class and
        per module setup and tear down methods which could be used to implement
        similar functionality. At the time of writing, test-webkitpy is designed
        to support Python 2.5. So, we can't take advantage of these Python 2.7
        features :(

        Reviewed by Eric Seidel.

        * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 6 Jul 2011 19:07:39 +0000 (19:07 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Remove unused parameter from _add_test in test_expectations.py
        https://bugs.webkit.org/show_bug.cgi?id=64008

        Reviewed by Eric Seidel.

        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:

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

11 years ago2011-07-06 Ryuan Choi <ryuan.choi@samsung.com>
ryuan.choi@samsung.com [Wed, 6 Jul 2011 19:04:47 +0000 (19:04 +0000)]
2011-07-06  Ryuan Choi  <ryuan.choi@samsung.com>

        [Performance] Only call sendContentResizeNotification when the scrollbar actually did change
        https://bugs.webkit.org/show_bug.cgi?id=47320

        Reviewed by Eric Seidel.

        Move avoidScrollbarCreation checking code from setHasHorizontalScrollbar
        and setHasVerticalScrollbar to their caller in order to keep sendContentResizedNotification
        false in case scrollbar is not really changed.
        As a result, it will remove unnecessary relayout in the above case.

        No new tests as this is very hard to write tests for. The bug only
        occured when scrolling the sites which contain frame in browser with
        frameFlattening. This should not change functionality in other case.

        * platform/ScrollView.cpp:
        (WebCore::ScrollView::setHasHorizontalScrollbar):
        (WebCore::ScrollView::setHasVerticalScrollbar):
        (WebCore::ScrollView::updateScrollbars):

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

11 years ago2011-07-06 Dmitriy Vyukov <dvyukov@google.com>
commit-queue@webkit.org [Wed, 6 Jul 2011 18:58:47 +0000 (18:58 +0000)]
2011-07-06  Dmitriy Vyukov  <dvyukov@google.com>

        Reviewed by David Levin.

        Allow substitution of dynamic annotations and prevent identical code folding by the linker.
        https://bugs.webkit.org/show_bug.cgi?id=62443

        * wtf/DynamicAnnotations.cpp:
        (WTFAnnotateBenignRaceSized):
        (WTFAnnotateHappensBefore):
        (WTFAnnotateHappensAfter):

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

11 years ago2011-07-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 6 Jul 2011 18:58:06 +0000 (18:58 +0000)]
2011-07-06  Adam Barth  <abarth@webkit.org>

        Use old-run-webkit-tests when --leaks is present
        https://bugs.webkit.org/show_bug.cgi?id=64012

        Reviewed by Adam Roben.

        We'll remove this branch once support of --leaks is added to
        new-run-webkit-tests.

        * Scripts/run-webkit-tests:

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

11 years ago[Qt] [WK2] Add touch mocking to Qt's MiniBrowser
benjamin.poulain@nokia.com [Wed, 6 Jul 2011 18:41:45 +0000 (18:41 +0000)]
[Qt] [WK2] Add touch mocking to Qt's MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=63995

Reviewed by Andreas Kling.

The mouse events are intercepted through QCoreApplication::notify(),
and fake touch events are generated for mouse events when necessary.

If touch events are received from the platform, we assume the current
hardware has a touch screen and we stop generating fake events.

* MiniBrowser/qt/MiniBrowserApplication.cpp:
(isTouchEvent):
(isMouseEvent):
(MiniBrowserApplication::MiniBrowserApplication):
(MiniBrowserApplication::notify):
* MiniBrowser/qt/MiniBrowserApplication.h:

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