WebKit.git
9 years agoCorrected Radar links
mitz@apple.com [Thu, 12 May 2011 22:29:06 +0000 (22:29 +0000)]
Corrected Radar links

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

9 years agoSource/WebCore: <rdar://problem/8970549> WebFindOptionsAtWordStarts still fails with...
mitz@apple.com [Thu, 12 May 2011 22:28:09 +0000 (22:28 +0000)]
Source/WebCore: <rdar://problem/8970549> WebFindOptionsAtWordStarts still fails with some Japanese words
https://bugs.webkit.org/show_bug.cgi?id=60730

Reviewed by Sam Weinig.

* editing/TextIterator.cpp:
(WebCore::SearchBuffer::isWordStartMatch): Consider all positions before a CJK ideograph as
word starts.

LayoutTests: Updated results for <rdar://problem/8970549> WebFindOptionsAtWordStarts still fails with some Japanese words
https://bugs.webkit.org/show_bug.cgi?id=60730

Reviewed by Sam Weinig.

* editing/text-iterator/findString-expected.txt:
* editing/text-iterator/findString.html:

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

9 years ago2011-05-12 Lucas Forschler <lforschler@apple.com>
lforschler@apple.com [Thu, 12 May 2011 22:20:10 +0000 (22:20 +0000)]
2011-05-12  Lucas Forschler  <lforschler@apple.com>

        Reviewed by Stephanie Lewis.

        Add SnowLeopard Debug builder and Test bot.
        apple-xserve-8 = SL Debug Tester.
        apple-xserve-9 = SL Debug Builder.

        * BuildSlaveSupport/build.webkit.org-config/config.json:

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

9 years ago2011-05-12 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 12 May 2011 22:15:26 +0000 (22:15 +0000)]
2011-05-12  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintBoxDecorationWithSize to IntRect
        https://bugs.webkit.org/show_bug.cgi?id=60679

        Switching paintBoxDecorationWithSize to take an IntRect instead of 4 ints.

        No new tests as this is simple refactoring.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintBoxDecorations): Cleaning up amazingly confusing logic.
        (WebCore::RenderBox::paintBoxDecorationsWithSize):
        * rendering/RenderBox.h:
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::paintBoxDecorations):

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

9 years ago2011-05-12 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 12 May 2011 22:00:39 +0000 (22:00 +0000)]
2011-05-12  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintBoxShadow to use IntRect
        https://bugs.webkit.org/show_bug.cgi?id=60713

        Switching paintBoxShadow from taking four ints to taking an IntRect.

        No new tests since this is refactoring.

        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::paintBoxShadow):
        (WebCore::InlineFlowBox::paintBoxDecorations):
        * rendering/InlineFlowBox.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintBoxDecorationsWithSize):
        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintBoxShadow):
        * rendering/RenderBoxModelObject.h:
        * rendering/RenderFieldset.cpp:
        (WebCore::RenderFieldset::paintBoxDecorations):
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paintBoxDecorations):
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::paintBoxDecorations):

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

9 years ago2011-05-12 Maciej Stachowiak <mjs@apple.com>
paroga@webkit.org [Thu, 12 May 2011 21:56:45 +0000 (21:56 +0000)]
2011-05-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Darin Adler.

        XMLDocumentParserLibxml2 should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59394

        This portion of the change introduces a PassTraits template, which
        is used to enable takeFirst() to work for a Deque holding OwnPtrs,
        and optimize it for a Deque holding RefPtrs. In the future it can
        be deployed elsewhere to make our data structures work better with
        our smart pointers.

        * GNUmakefile.list.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * wtf/CMakeLists.txt:
        * wtf/Deque.h:
        (WTF::::takeFirst):
        * wtf/PassTraits.h: Added.
        (WTF::PassTraits::transfer):
2011-05-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Darin Adler.

        XMLDocumentParserLibxml2 should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59394

        Properly fix this (formerly rolled out for breaking the build). I think the original
        failure had nothing to do with Deque<OwnPtr>, which in fact appears to work fine.

        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::PendingCallbacks::~PendingCallbacks):
        (WebCore::PendingCallbacks::create):
        (WebCore::PendingCallbacks::appendStartElementNSCallback):
        (WebCore::PendingCallbacks::appendEndElementNSCallback):
        (WebCore::PendingCallbacks::appendCharactersCallback):
        (WebCore::PendingCallbacks::appendProcessingInstructionCallback):
        (WebCore::PendingCallbacks::appendCDATABlockCallback):
        (WebCore::PendingCallbacks::appendCommentCallback):
        (WebCore::PendingCallbacks::appendInternalSubsetCallback):
        (WebCore::PendingCallbacks::appendErrorCallback):
        (WebCore::PendingCallbacks::PendingCallbacks):
        (WebCore::XMLDocumentParser::XMLDocumentParser):

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

9 years ago2011-05-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 12 May 2011 21:50:39 +0000 (21:50 +0000)]
2011-05-12  Adam Barth  <abarth@webkit.org>

        This patch disables sheriffbot's bug postings.  He's just been way too
        spammy recently due to test flakiness.

        * Scripts/webkitpy/tool/commands/sheriffbot.py:
        * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:

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

9 years ago2011-05-12 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Thu, 12 May 2011 21:43:13 +0000 (21:43 +0000)]
2011-05-12  Daniel Bates  <dbates@rim.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] fast/events/fire-mousedown-while-pressing-mouse-button.html failing
        https://bugs.webkit.org/show_bug.cgi?id=58863

        Fixes an issue where a platform mouse event corresponding to mouse button A
        may be associated with the wrong WebCore mouse button when the event occurs
        while pressing and holding a mouse button B, where A != B.

        For example, a person clicks the middle mouse button while pressing and holding
        the left mouse button. Then we dispatch the following DOM events: mouse down for
        left button, mouse down for left button, mouse up for left button. But, we should
        have dispatched: mouse down for left button, mouse down for middle button, mouse up
        for middle button.

        * platform/qt/PlatformMouseEventQt.cpp:
        (WebCore::mouseEventTypeAndMouseButtonFromQEvent): Added.
        (WebCore::PlatformMouseEvent::PlatformMouseEvent): Modified to call mouseEventTypeAndMouseButtonFromQEvent()
        to determine the WebCore mouse event type and button from the platform-specific event.
2011-05-12  Daniel Bates  <dbates@rim.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] fast/events/fire-mousedown-while-pressing-mouse-button.html failing
        https://bugs.webkit.org/show_bug.cgi?id=58863

        Remove test case fast/events/fire-mousedown-while-pressing-mouse-button.html
        from the Skipped list since it now passes.

        * platform/qt/Skipped:

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

9 years agoWebKit2: Implement plugin quirk for Mozilla user agent for older Flash
bweinstein@apple.com [Thu, 12 May 2011 21:17:06 +0000 (21:17 +0000)]
WebKit2: Implement plugin quirk for Mozilla user agent for older Flash
https://bugs.webkit.org/show_bug.cgi?id=60726
<rdar://problem/8470824>

Reviewed by Adam Roben.

Implement the quirk for versions of Flash before v10 that only request windowless plugins
if we use a Mozilla user agent.

* Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp:
(WebKit::NetscapePluginModule::determineQuirks): If we have a plugin that handles the
    "application/x-shockwave-flash" MIME type with a version less than 10, tell it to use
    the Mozilla user agent.
* Shared/Plugins/PluginQuirks.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::userAgent): Add an early return if the plugin uses the Mozilla user
    agent.
* win/WebKit2.vcproj: Add PluginQuirks.h.

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

9 years ago2011-05-12 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 12 May 2011 21:13:22 +0000 (21:13 +0000)]
2011-05-12  Anders Carlsson  <andersca@apple.com>

        Reviewed by Simon Fraser.

        PluginView::invalidateRect doesn't work for transformed plug-ins
        https://bugs.webkit.org/show_bug.cgi?id=60727
        <rdar://problem/9331244>

        Ask the RenderObject to repaint the plug-in instead of using invalidateContentsAndWindow.
        This matches what we do in WebKit1.

        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::invalidateRect):

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

9 years agoUnreviewed expectations update for Chromium.
atwilson@chromium.org [Thu, 12 May 2011 21:12:55 +0000 (21:12 +0000)]
Unreviewed expectations update for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years ago2011-05-12 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 12 May 2011 21:05:13 +0000 (21:05 +0000)]
2011-05-12  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintMask and paintMaskImages off of ints
        https://bugs.webkit.org/show_bug.cgi?id=60578

        Primarily switching paintMask and paintMaskImages to use IntSize and IntRect respectively.
        In the process of that:
         - added an "expand" function to IntRect that allows you to add an IntSize or pair of
           integers to the size portion of an IntRect.
         - changed borderFitAdjust to take an IntRect. It modifies only the x and width attributes.

        No new tests since this refactoring.

        * platform/graphics/IntRect.h:
        (WebCore::IntRect::expand): Added for convenience.
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::paintObject):
        (WebCore::RenderBlock::borderFitAdjust):
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintBoxDecorationsWithSize):
        (WebCore::RenderBox::paintMask):
        (WebCore::RenderBox::paintMaskImages):
        * rendering/RenderBox.h:
        (WebCore::RenderBox::borderFitAdjust):
        * rendering/RenderFieldset.cpp:
        (WebCore::RenderFieldset::paintMask):
        * rendering/RenderFieldset.h:
        * rendering/RenderReplaced.cpp:
        (WebCore::RenderReplaced::paint):
        * rendering/RenderReplica.cpp:
        (WebCore::RenderReplica::paint):
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paintObject):
        (WebCore::RenderTable::paintMask):
        * rendering/RenderTable.h:
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::paintMask):
        * rendering/RenderTableCell.h:
        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::paint):

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

9 years ago2011-05-12 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Thu, 12 May 2011 20:56:40 +0000 (20:56 +0000)]
2011-05-12  Chang Shu  <cshu@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt] Rebaseline editing/execCommand tests that are working
        https://bugs.webkit.org/show_bug.cgi?id=60717

        Also based on digging of Zsolt Fehér.

        * platform/qt/Skipped:
        * platform/qt/editing/execCommand/4580583-1-expected.png: Added.
        * platform/qt/editing/execCommand/4580583-1-expected.txt:
        * platform/qt/editing/execCommand/4580583-2-expected.png: Added.
        * platform/qt/editing/execCommand/4580583-2-expected.txt:
        * platform/qt/editing/execCommand/4641880-1-expected.png: Added.
        * platform/qt/editing/execCommand/4641880-1-expected.txt:
        * platform/qt/editing/execCommand/4641880-2-expected.png: Added.
        * platform/qt/editing/execCommand/4641880-2-expected.txt:
        * platform/qt/editing/execCommand/4747450-expected.png: Added.
        * platform/qt/editing/execCommand/4747450-expected.txt:
        * platform/qt/editing/execCommand/4786404-1-expected.png: Added.
        * platform/qt/editing/execCommand/4786404-2-expected.png: Added.
        * platform/qt/editing/execCommand/4916402-expected.png: Added.
        * platform/qt/editing/execCommand/4916402-expected.txt:
        * platform/qt/editing/execCommand/4916541-expected.png: Added.
        * platform/qt/editing/execCommand/4916541-expected.txt:
        * platform/qt/editing/execCommand/4924441-expected.png: Added.
        * platform/qt/editing/execCommand/4924441-expected.txt:
        * platform/qt/editing/execCommand/5049671-expected.png: Added.
        * platform/qt/editing/execCommand/5062376-expected.png: Added.
        * platform/qt/editing/execCommand/5062376-expected.txt:
        * platform/qt/editing/execCommand/5080333-1-expected.png: Added.
        * platform/qt/editing/execCommand/5080333-1-expected.txt:
        * platform/qt/editing/execCommand/5080333-2-expected.png: Added.
        * platform/qt/editing/execCommand/5080333-2-expected.txt:
        * platform/qt/editing/execCommand/5136770-expected.png: Added.
        * platform/qt/editing/execCommand/5136770-expected.txt:
        * platform/qt/editing/execCommand/5138441-expected.png: Added.
        * platform/qt/editing/execCommand/5138441-expected.txt:
        * platform/qt/editing/execCommand/5142012-1-expected.png: Added.
        * platform/qt/editing/execCommand/5142012-1-expected.txt:
        * platform/qt/editing/execCommand/5142012-2-expected.png: Added.
        * platform/qt/editing/execCommand/5142012-2-expected.txt:
        * platform/qt/editing/execCommand/5190926-expected.png: Added.
        * platform/qt/editing/execCommand/5190926-expected.txt:
        * platform/qt/editing/execCommand/5481523-expected.png: Added.
        * platform/qt/editing/execCommand/5481523-expected.txt: Added.
        * platform/qt/editing/execCommand/5482023-expected.png: Added.
        * platform/qt/editing/execCommand/5482023-expected.txt: Added.
        * platform/qt/editing/execCommand/5569741-expected.png: Added.
        * platform/qt/editing/execCommand/5569741-expected.txt: Added.
        * platform/qt/editing/execCommand/create-list-with-hr-expected.png: Added.
        * platform/qt/editing/execCommand/create-list-with-hr-expected.txt:
        * platform/qt/editing/execCommand/find-after-replace-expected.png: Added.
        * platform/qt/editing/execCommand/find-after-replace-expected.txt:
        * platform/qt/editing/execCommand/findString-2-expected.png: Added.
        * platform/qt/editing/execCommand/findString-2-expected.txt:
        * platform/qt/editing/execCommand/findString-expected.png: Added.
        * platform/qt/editing/execCommand/findString-expected.txt:
        * platform/qt/editing/execCommand/format-block-with-trailing-br-expected.png: Added.
        * platform/qt/editing/execCommand/format-block-with-trailing-br-expected.txt:
        * platform/qt/editing/execCommand/indent-empty-root-expected.png: Added.
        * platform/qt/editing/execCommand/indent-empty-root-expected.txt:
        * platform/qt/editing/execCommand/indent-list-item-expected.png: Added.
        * platform/qt/editing/execCommand/indent-list-item-expected.txt:
        * platform/qt/editing/execCommand/indent-selection-expected.png: Added.
        * platform/qt/editing/execCommand/indent-selection-expected.txt:
        * platform/qt/editing/execCommand/insert-list-and-stitch-expected.png: Added.
        * platform/qt/editing/execCommand/insert-list-and-stitch-expected.txt:
        * platform/qt/editing/execCommand/insert-list-with-id-expected.png: Added.
        * platform/qt/editing/execCommand/insert-list-with-id-expected.txt:
        * platform/qt/editing/execCommand/insertHorizontalRule-expected.png: Added.
        * platform/qt/editing/execCommand/insertHorizontalRule-expected.txt:
        * platform/qt/editing/execCommand/insertImage-expected.png: Added.
        * platform/qt/editing/execCommand/insertImage-expected.txt:
        * platform/qt/editing/execCommand/nsresponder-indent-expected.png: Added.
        * platform/qt/editing/execCommand/nsresponder-indent-expected.txt: Added.
        * platform/qt/editing/execCommand/nsresponder-outdent-expected.png: Added.
        * platform/qt/editing/execCommand/nsresponder-outdent-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test1-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test1-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test2-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test2-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test3-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test3-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test4-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test4-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-selection-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-selection-expected.txt:
        * platform/qt/editing/execCommand/paste-1-expected.png: Added.
        * platform/qt/editing/execCommand/paste-1-expected.txt:
        * platform/qt/editing/execCommand/paste-2-expected.png: Added.
        * platform/qt/editing/execCommand/paste-2-expected.txt:
        * platform/qt/editing/execCommand/print-expected.png: Added.
        * platform/qt/editing/execCommand/print-expected.txt:
        * platform/qt/editing/execCommand/remove-list-from-range-selection-expected.png: Added.
        * platform/qt/editing/execCommand/remove-list-from-range-selection-expected.txt:
        * platform/qt/editing/execCommand/remove-list-item-1-expected.png: Added.
        * platform/qt/editing/execCommand/remove-list-item-1-expected.txt:
        * platform/qt/editing/execCommand/selectAll-expected.png: Added.
        * platform/qt/editing/execCommand/selectAll-expected.txt:

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

9 years ago2011-05-12 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 12 May 2011 20:50:23 +0000 (20:50 +0000)]
2011-05-12  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        SimpleFontData::scaledFontData should return a PassOwnPtr
        https://bugs.webkit.org/show_bug.cgi?id=60657

        Let scaledFontData return a PassOwnPtr instead of a raw pointer
        to make SimpleFontData build without LOOSE_PASS_OWN_PTR.

        * platform/graphics/SimpleFontData.h:
        * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/chromium/SimpleFontDataLinux.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/freetype/SimpleFontDataFreeType.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/haiku/SimpleFontDataHaiku.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/mac/SimpleFontDataMac.mm:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/pango/SimpleFontDataPango.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/qt/SimpleFontDataQt.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/win/SimpleFontDataWin.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/wince/SimpleFontDataWinCE.cpp:
        (WebCore::SimpleFontData::scaledFontData):
        * platform/graphics/wx/SimpleFontDataWx.cpp:
        (WebCore::SimpleFontData::scaledFontData):

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

9 years ago2011-05-12 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Thu, 12 May 2011 20:39:53 +0000 (20:39 +0000)]
2011-05-12  Chang Shu  <cshu@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt] Rebaseline editing/pasteboard tests that are working
        https://bugs.webkit.org/show_bug.cgi?id=60707

        * platform/qt/Skipped:
        * platform/qt/editing/pasteboard/4076267-2-expected.png: Added.
        * platform/qt/editing/pasteboard/4076267-2-expected.txt: Added.
        * platform/qt/editing/pasteboard/4076267-expected.png: Added.
        * platform/qt/editing/pasteboard/4076267-expected.txt: Added.
        * platform/qt/editing/pasteboard/4806874-expected.png: Added.
        * platform/qt/editing/pasteboard/4806874-expected.txt:
        * platform/qt/editing/pasteboard/5387578-expected.png: Added.
        * platform/qt/editing/pasteboard/5387578-expected.txt:
        * platform/qt/editing/pasteboard/bad-placeholder-expected.png: Added.
        * platform/qt/editing/pasteboard/bad-placeholder-expected.txt:
        * platform/qt/editing/pasteboard/block-wrappers-necessary-expected.png: Added.
        * platform/qt/editing/pasteboard/block-wrappers-necessary-expected.txt:
        * platform/qt/editing/pasteboard/input-field-1-expected.png: Added.
        * platform/qt/editing/pasteboard/input-field-1-expected.txt:
        * platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.png: Added.
        * platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.txt:
        * platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.png: Added.
        * platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.txt:
        * platform/qt/editing/pasteboard/paste-text-008-expected.png: Added.
        * platform/qt/editing/pasteboard/paste-text-008-expected.txt: Added.
        * platform/qt/editing/pasteboard/smart-paste-008-expected.png: Added.
        * platform/qt/editing/pasteboard/smart-paste-008-expected.txt: Added.

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

9 years agoUnreviewed expectations update for Chromium.
atwilson@chromium.org [Thu, 12 May 2011 20:05:42 +0000 (20:05 +0000)]
Unreviewed expectations update for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed expectations update for Chromium.
atwilson@chromium.org [Thu, 12 May 2011 20:01:05 +0000 (20:01 +0000)]
Unreviewed expectations update for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years agoAssertion failure when requesting that storage be deleted for an origin without storage.
jberlin@webkit.org [Thu, 12 May 2011 19:14:49 +0000 (19:14 +0000)]
Assertion failure when requesting that storage be deleted for an origin without storage.
https://bugs.webkit.org/show_bug.cgi?id=60709

Reviewed by Darin Adler.

* storage/StorageTracker.cpp:
(WebCore::StorageTracker::syncDeleteOrigin):
If the path to the storage location for the givin origin is empty, return early instead of
asserting.

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

9 years ago2011-05-12 Lucas De Marchi <lucas.demarchi@profusion.mobi>
demarchi@webkit.org [Thu, 12 May 2011 19:12:07 +0000 (19:12 +0000)]
2011-05-12  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Antonio Gomes.

        [CMAKE] Add option to unconditionally enable/disable a feature
        https://bugs.webkit.org/show_bug.cgi?id=60643

        Create an argument to be used in WEBKIT_FEATURE macro, allowing a port
        to enable a feature without showing to user that it can be disabled.
        This is useful if a port needs an option to be always ON/OFF and
        changing it will break the build.

        This way it's possible to add mandatory features to each port without
        touching the cmakeconfig.cmake file.

        * Source/cmake/WebKitFeatures.cmake:

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

9 years ago[Windows WebKit2] Use cookies set in WebKit1
jberlin@webkit.org [Thu, 12 May 2011 19:10:08 +0000 (19:10 +0000)]
[Windows WebKit2] Use cookies set in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=60274

Reviewed by Darin Adler.

Source/WebCore:

Make sure any Private Browsing session is based off the default session.

* platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::createPrivateBrowsingStorageSession):

Source/WebKit2:

Properly handle the case where there is no serialized default storage session by not trying
to encode or decode 0, while still making sure to decode any valid storage session.

* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::WebProcessCreationParameters):
(WebKit::WebProcessCreationParameters::encode):
Only encode the storage session if there is one to encode.
(WebKit::WebProcessCreationParameters::decode):
Only decode the storage session there is one to decode.
* Shared/WebProcessCreationParameters.h:

WebKitLibraries:

Update WKSI with the changes to wkCreatePrivateStorageSession.

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

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

9 years agoUnreviewed expectations update for Chromium.
atwilson@chromium.org [Thu, 12 May 2011 18:53:52 +0000 (18:53 +0000)]
Unreviewed expectations update for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed expectations update for chromium.
atwilson@chromium.org [Thu, 12 May 2011 18:45:23 +0000 (18:45 +0000)]
Unreviewed expectations update for chromium.

* platform/chromium/test_expectations.txt:

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

9 years agoIgnore Visual Studio *.user files.
jeffm@apple.com [Thu, 12 May 2011 18:34:24 +0000 (18:34 +0000)]
Ignore Visual Studio *.user files.

* gtest/msvc: Added property svn:ignore.

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

9 years ago2011-05-12 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Thu, 12 May 2011 18:33:00 +0000 (18:33 +0000)]
2011-05-12  Rob Buis  <rbuis@rim.com>

        Reviewed by Eric Seidel.

        SVGStyledElement::resolveStyle(RenderStyle*) must be removed/fixed!
        https://bugs.webkit.org/show_bug.cgi?id=15479

        Finally remove resolveStyle, it is not used anymore.

        * svg/SVGStyledElement.cpp:
        (WebCore::SVGStyledElement::childrenChanged):
        * svg/SVGStyledElement.h:

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

9 years ago2011-05-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 12 May 2011 18:29:01 +0000 (18:29 +0000)]
2011-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION (r65868): createContextualFragment does not work with <style>
        https://bugs.webkit.org/show_bug.cgi?id=60155

        These test results match Firefox.

        * fast/parser/style-in-create-contextual-fragment-expected.txt: Added.
        * fast/parser/style-in-create-contextual-fragment-head-expected.txt: Added.
        * fast/parser/style-in-create-contextual-fragment-head.html: Added.
        * fast/parser/style-in-create-contextual-fragment.html: Added.
2011-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION (r65868): createContextualFragment does not work with <style>
        https://bugs.webkit.org/show_bug.cgi?id=60155

        createContextualFragment doesn't have a spec, so it's hard to tell what
        we're supposed to do exactly.  This patch appears to make our behavior
        more like Firefox and should fix the compat issue with this site.

        Tests: fast/parser/style-in-create-contextual-fragment-head.html
               fast/parser/style-in-create-contextual-fragment.html

        * dom/Element.cpp:
        (WebCore::Element::deprecatedCreateContextualFragment):

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

9 years ago2011-05-12 David Grogan <dgrogan@chromium.org>
commit-queue@webkit.org [Thu, 12 May 2011 18:28:09 +0000 (18:28 +0000)]
2011-05-12  David Grogan  <dgrogan@chromium.org>

        Reviewed by Nate Chapin.

        IndexedDB: fix up database-quota.html layout test
        https://bugs.webkit.org/show_bug.cgi?id=60519

        Remove commitAndContinue idiom; translate some missed instances of
        event.code to event.target.errorCode from bug 54331

        * storage/indexeddb/database-quota-expected.txt:
        * storage/indexeddb/database-quota.html:

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

9 years agoFix mismatched virtual function from previous checkin
jam@chromium.org [Thu, 12 May 2011 18:25:13 +0000 (18:25 +0000)]
Fix mismatched virtual function from previous checkin

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

9 years ago2011-05-12 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 12 May 2011 18:24:47 +0000 (18:24 +0000)]
2011-05-12  Martin Robinson  <mrobinson@igalia.com>

        Attempt to fix the GTK+ unit test testwebview on the 32-bit Release
        bot which appears to be more sensitive to timing issues than the
        other bots.

        * tests/testwebview.c: Add another short pause waiting for adjustments to update.

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

9 years ago2011-05-12 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 12 May 2011 18:21:57 +0000 (18:21 +0000)]
2011-05-12  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        WebKit inserts base, link, meta, style, and title elements into an editable region
        when pasting table cells from Excel
        https://bugs.webkit.org/show_bug.cgi?id=60644

        Added a test to ensure WebKit strips the said elements prior to inserting HTML.

        * editing/pasteboard/paste-head-contents-expected.txt: Added.
        * editing/pasteboard/paste-head-contents.html: Added.
2011-05-12  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        WebKit inserts base, link, meta, style, and title elements into an editable region
        when pasting table cells from Excel
        https://bugs.webkit.org/show_bug.cgi?id=60644

        Strip base, link, meta, style, and tile elements from the fragment to be pasted prior
        to the merge. We don't have to strip these elements in performTrivialReplace because
        the function only handles a fragment that consists of exactly one text node.

        Test: editing/pasteboard/paste-head-contents.html

        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::removeHeadContents): Added.
        (WebCore::ReplaceSelectionCommand::doApply): Calls removeHeadContents before handing
        style spans.

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

9 years ago2011-05-12 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 12 May 2011 18:06:04 +0000 (18:06 +0000)]
2011-05-12  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Simon Fraser.

        Switch calculateBackgroundImageGeometry to use IntRect
        https://bugs.webkit.org/show_bug.cgi?id=60671

        Replacing the four ints passed into calculateBackgroundImageGeometry with an IntRect.

        No new tests since this is just refactoring.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::maskClipRect):
        (WebCore::RenderBox::repaintLayerRectsForImage):
        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintFillLayerExtended):
        (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
        * rendering/RenderBoxModelObject.h:

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

9 years ago2011-05-12 Carol Szabo <carol@webkit.org>
inferno@chromium.org [Thu, 12 May 2011 17:56:30 +0000 (17:56 +0000)]
2011-05-12  Carol Szabo  <carol@webkit.org>

        Reviewed by David Hyatt.

        Fix reparenting and destruction of counter nodes.
        https://bugs.webkit.org/show_bug.cgi?id=57929

        Fixed several issues related to not met assertions.
        See below in the per file description.

        Test: fast/css/counters/element-removal-crash.xhtml

        * dom/ContainerNode.cpp:
        (WebCore::ContainerNode::removeChildren):
        Fixed the fact that Node::detach() used to be called
        while the DOM tree was in an inconsistent state.
        * rendering/RenderCounter.cpp:
        (WebCore::RenderCounter::rendererRemovedFromTree):
        Introduced this function to remove counters from
        descendents of renderers removed from the renderer
        tree not only from the removed renderers themselves.
        * rendering/RenderCounter.h:
        * rendering/RenderObjectChildList.cpp:
        (WebCore::RenderObjectChildList::removeChildNode):
        Changed to call RenderCounter::rendererRemovedFromTree
        instead of RenderCounter::destroyCounters.
2011-05-08 Abhishek Arya <inferno@chromium.org> and Carol Szabo  <carol@webkit.org>

        Reviewed by David Hyatt.

        Fix reparenting and destruction of counter nodes.
        https://bugs.webkit.org/show_bug.cgi?id=57929

        * fast/css/counters/element-removal-crash-expected.txt: Added.
        * fast/css/counters/element-removal-crash.xhtml: Added.

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

9 years ago2011-05-12 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Thu, 12 May 2011 17:35:34 +0000 (17:35 +0000)]
2011-05-12  Chang Shu  <cshu@webkit.org>

        Reviewed by Darin Adler.

        Rebaseline editing/inserting tests that work
        https://bugs.webkit.org/show_bug.cgi?id=60702

        * platform/qt/Skipped:
        * platform/qt/editing/inserting/4278698-expected.png: Added.
        * platform/qt/editing/inserting/4278698-expected.txt:
        * platform/qt/editing/inserting/editable-html-element-expected.png: Added.
        * platform/qt/editing/inserting/editable-html-element-expected.txt:
        * platform/qt/editing/inserting/editing-empty-divs-expected.png: Added.
        * platform/qt/editing/inserting/editing-empty-divs-expected.txt:
        * platform/qt/editing/inserting/insert-div-023-expected.png: Added.
        * platform/qt/editing/inserting/insert-div-023-expected.txt:
        * platform/qt/editing/inserting/multiple-lines-selected-expected.png: Added.
        * platform/qt/editing/inserting/multiple-lines-selected-expected.txt: Added.

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

9 years ago2011-05-11 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Thu, 12 May 2011 17:33:49 +0000 (17:33 +0000)]
2011-05-11  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by James Robinson.

        [chromium] Make openFileSystem check for permission first
        https://bugs.webkit.org/show_bug.cgi?id=60683

        * public/WebCommonWorkerClient.h:
        (WebKit::WebCommonWorkerClient::allowFileSystem):
        * public/WebPermissionClient.h:
        (WebKit::WebPermissionClient::allowFileSystem):
        * src/LocalFileSystemChromium.cpp:
        (WebCore::openFileSystemNotAllowed):
        (WebCore::openFileSystemHelper):
        * src/WebWorkerBase.cpp:
        (WebKit::WebWorkerBase::allowFileSystem):
        * src/WebWorkerBase.h:
        * src/WebWorkerClientImpl.h:
        (WebKit::WebWorkerClientImpl::allowFileSystem):

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

9 years ago2011-05-12 Luke Macpherson <macpherson@chromium.org>
commit-queue@webkit.org [Thu, 12 May 2011 17:19:02 +0000 (17:19 +0000)]
2011-05-12  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Dimitri Glazkov.

        Merge ApplyPropertyExpanding and ApplyPropertyExpandingSuppressValue classes using template.
        https://bugs.webkit.org/show_bug.cgi?id=60691

        No new tests - refactoring only.

        * css/CSSStyleApplyProperty.cpp:
        (WebCore::ApplyPropertyExpanding::applyValue):
        Use new template parameter to early exit if needed.
        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
        Specify template parameters for ApplyPropertyExpanding.

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

9 years agoSource/WebKit2: After relaunching an unresponsive web process, web page stops respond...
bweinstein@apple.com [Thu, 12 May 2011 17:07:28 +0000 (17:07 +0000)]
Source/WebKit2: After relaunching an unresponsive web process, web page stops responding to mouse movement
https://bugs.webkit.org/show_bug.cgi?id=60669
<rdar://problem/9409934>

Reviewed by Anders Carlsson.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::processDidCrash): Set m_processingMouseMoveEvent to false when the WebProcess
    crashes.

Tools: After relaunching an unresponsive web process, web page stops responding to mouse movement
https://bugs.webkit.org/show_bug.cgi?id=60669
<rdar://problem/9409934>

Reviewed by Anders Carlsson.

This test follows the steps needed to reproduce this bug:
1) Hang the web process
2) While the web process is hung, move the mouse (so WebPageProxy thinks it is processing a mouse move event)
3) Kill and restart the WebProcess
4) Move the mouse

We are testing that we receive mouse move events after the WebProcess has restarted.

* TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp: Added.
(TestWebKitAPI::didFinishLoadForFrame): Set a flag that we finished loading.
(TestWebKitAPI::processDidBecomeUnresponsive): Kill the web process once we become unresponsive.
(TestWebKitAPI::processDidCrash): Reload the page when the process crashes, which restarts the web process.
(TestWebKitAPI::setPageLoaderClient):
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp: Added.
(TestWebKitAPI::MouseMoveAfterCrashTest::MouseMoveAfterCrashTest):
(TestWebKitAPI::MouseMoveAfterCrashTest::didReceiveMessage):
* TestWebKitAPI/Tests/WebKit2/mouse-move-listener.html: Added.

* TestWebKitAPI/PlatformWebView.h:
* TestWebKitAPI/mac/PlatformWebViewMac.mm:
(TestWebKitAPI::PlatformWebView::simulateMouseMove): Sends the messages that simulate a mouse move.
* TestWebKitAPI/win/PlatformWebViewWin.cpp:
(TestWebKitAPI::PlatformWebView::simulateMouseMove): Ditto.

Add new files.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/win/TestWebKitAPI.vcproj:
* TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
* TestWebKitAPI/win/copy-resources.cmd:

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

9 years ago2011-05-12 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 12 May 2011 17:03:25 +0000 (17:03 +0000)]
2011-05-12  Simon Fraser  <simon.fraser@apple.com>

        Followup to r86351; give the vectors some inline capacity
        to avoid heap allocations in most cases.

        * page/animation/AnimationBase.cpp:
        (WebCore::PropertyWrapperShadow::blendMismatchedShadowLists):

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

9 years ago2011-05-12 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Thu, 12 May 2011 16:57:18 +0000 (16:57 +0000)]
2011-05-12  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Darin Adler.

        REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
        https://bugs.webkit.org/show_bug.cgi?id=59941

        Improve test to not need a click. Offer a stroke-opacity variant as well.

        * platform/mac/svg/custom/fill-opacity-update-expected.png:
        * platform/mac/svg/custom/fill-opacity-update-expected.txt:
        * platform/mac/svg/custom/stroke-opacity-update-expected.png: Added.
        * platform/mac/svg/custom/stroke-opacity-update-expected.txt: Added.
        * svg/custom/fill-opacity-update.svg:
        * svg/custom/stroke-opacity-update.svg: Added.

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

9 years ago2011-05-12 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 12 May 2011 16:38:22 +0000 (16:38 +0000)]
2011-05-12  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Mismatched multiple box-shadows do not transition as expected
        https://bugs.webkit.org/show_bug.cgi?id=60137

        When animating between two sets of shadows of different lengths, we need
        to walk the ShadowData list backwards, since it stores the shadows in
        reverse order relative to the CSS (so that painting is back-to-front).

        This progresses the behavior of the transitions/multiple-shadow-transitions.html
        test, which is given new expected results.

        Test: transitions/mismatched-shadow-transitions.html

        * page/animation/AnimationBase.cpp:
        (WebCore::shadowListLength): Utility to walk the list of ShadowData and count the number
        of shadows.
        (WebCore::shadowForBlending): Return a ShadowData* that is useful as a blending target,
        based on the shadow type, and whether it's a -webkit-box-shadow.
        (WebCore::PropertyWrapperShadow::blend): Call one of the specialized blend methods.
        (WebCore::PropertyWrapperShadow::blendSimpleOrMatchedShadowLists): Fast path
        for shadow blending, when the list lengths match, or both are single or null shadows.
        (WebCore::PropertyWrapperShadow::blendMismatchedShadowLists): Slower path that builds
        vectors for each list to reverse them.

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

9 years ago2011-05-12 Anton Muhin <antonnm@chromium.org>
antonm@chromium.org [Thu, 12 May 2011 16:11:12 +0000 (16:11 +0000)]
2011-05-12  Anton Muhin  <antonnm@chromium.org>

        Unreviewed.

        Chromium expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-05-12 Tomasz Morawski <t.morawski@samsung.com>
commit-queue@webkit.org [Thu, 12 May 2011 16:03:14 +0000 (16:03 +0000)]
2011-05-12  Tomasz Morawski  <t.morawski@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Added initialization/shutdown for ecore_file library
        https://bugs.webkit.org/show_bug.cgi?id=60457

        Added initialization and shuthown for ecore_file library and replaced
        realpath function to ecore_file_realpath.

        * EWebLauncher/main.c:
        (quit):
        (findThemePath):
        (main):

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

9 years ago2011-05-12 Anton Muhin <antonnm@chromium.org>
antonm@chromium.org [Thu, 12 May 2011 16:02:29 +0000 (16:02 +0000)]
2011-05-12  Anton Muhin  <antonnm@chromium.org>

        Unreviewed.

        Chromium expectations.

        * platform/chromium/test_expectations.txt:

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

9 years agoWindows production build fix
aroben@apple.com [Thu, 12 May 2011 15:45:47 +0000 (15:45 +0000)]
Windows production build fix

* gtest/msvc/gtest-md.vcproj: Fix the OutputDirectory and IntermediateDirectory attributes
for all configurations.

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

9 years ago2011-05-12 Anton Muhin <antonnm@chromium.org>
antonm@chromium.org [Thu, 12 May 2011 15:41:44 +0000 (15:41 +0000)]
2011-05-12  Anton Muhin  <antonnm@chromium.org>

        Unreviewed.

        Fixed typo.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-05-12 Anton Muhin <antonnm@chromium.org>
antonm@chromium.org [Thu, 12 May 2011 15:40:01 +0000 (15:40 +0000)]
2011-05-12  Anton Muhin  <antonnm@chromium.org>

        Unreviewed.

        Chromium expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-05-12 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 12 May 2011 15:33:30 +0000 (15:33 +0000)]
2011-05-12  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK baselines for new tests.

        * platform/gtk/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png: Added.
        * platform/gtk/fast/block/positioning/hiding-inside-relpositioned-inline-expected.txt: Added.
        * platform/gtk/fast/borders/outline-alpha-block-expected.png: Added.
        * platform/gtk/fast/borders/outline-alpha-block-expected.txt: Added.
        * platform/gtk/fast/borders/outline-alpha-inline-expected.png: Added.
        * platform/gtk/fast/borders/outline-alpha-inline-expected.txt: Added.
        * platform/gtk/fast/inline/nested-top-alignment-expected.png: Added.
        * platform/gtk/fast/inline/nested-top-alignment-expected.txt: Added.
        * platform/gtk/scrollbars/scrollbars-on-positioned-content-expected.png: Added.
        * platform/gtk/scrollbars/scrollbars-on-positioned-content-expected.txt: Added.
        * platform/gtk/svg/custom/fill-opacity-update-expected.png: Added.
        * platform/gtk/svg/custom/fill-opacity-update-expected.txt: Added.

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

9 years agoAttempted WinCairo build fix after r86169, part II
aroben@apple.com [Thu, 12 May 2011 15:19:57 +0000 (15:19 +0000)]
Attempted WinCairo build fix after r86169, part II

* platform/network/curl/CredentialStorageCurl.cpp: Added a missing #include.

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

9 years ago2011-05-12 Anton Muhin <antonnm@chromium.org>
antonm@chromium.org [Thu, 12 May 2011 15:08:57 +0000 (15:08 +0000)]
2011-05-12  Anton Muhin  <antonnm@chromium.org>

        Unreviewed.

        Chromium GPU suppressions.

        * platform/chromium/test_expectations.txt:

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

9 years agoUpdate Windows results after r86315
aroben@apple.com [Thu, 12 May 2011 15:03:19 +0000 (15:03 +0000)]
Update Windows results after r86315

* platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
* platform/win/fast/dom/prototype-inheritance-expected.txt:
* platform/win/fast/js/global-constructors-expected.txt:

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

9 years agoFix linker warnings in Production builds
aroben@apple.com [Thu, 12 May 2011 14:46:44 +0000 (14:46 +0000)]
Fix linker warnings in Production builds

* WebCore.vcproj/WebCore.vcproj: Exclude JSSVGFEDropShadowElement.cpp from the build in the
Production configuration, just like in the other configurations. Let VS resort some files
(again).

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

9 years ago2011-05-12 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 12 May 2011 14:36:29 +0000 (14:36 +0000)]
2011-05-12  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Adam Roben.

        Autocorrection persists after deleting and retyping the same word at same location.
        https://bugs.webkit.org/show_bug.cgi?id=60555

        Follow-up fix for the 3 editing/deleting tests crashing on GTK,
        Leopard and Windows XP. Don't create the Range if the start of the
        selection has no next position.

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::originalStringForAutocorrectionAtBeginningOfSelection):

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

9 years agoAttempted WinCairo build fix after r86169
aroben@apple.com [Thu, 12 May 2011 14:20:56 +0000 (14:20 +0000)]
Attempted WinCairo build fix after r86169

* WebCore.vcproj/WebCore.vcproj: Added CredentialStorageCurl.cpp. Also let VS do what it
wants.

* platform/network/curl/CredentialStorageCurl.cpp: Added.
(WebCore::CredentialStorage::getFromPersistentStorage): Stubbed out.

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

9 years agoBuild fixes after r86325
aroben@apple.com [Thu, 12 May 2011 14:13:57 +0000 (14:13 +0000)]
Build fixes after r86325

* editing/SpellingCorrectionController.cpp:
* editing/SpellingCorrectionController.h:
Added missing declarations/#includes.

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

9 years agoA little gtest cleanup after r86287
aroben@apple.com [Thu, 12 May 2011 14:10:09 +0000 (14:10 +0000)]
A little gtest cleanup after r86287

Source/ThirdParty:

* gtest/msvc/gtest-md.vcproj: Added Debug_All and Production configurations to match our
other projects. (At some point all the settings should be moved into .vsprops files to match
our other projects, too.)

Source/WebKit/win:

* WebKit.vcproj/WebKit.sln:
    - Move gtest into the Tools folder
    - Make gtest build just before TestWebKitAPIGenerated
    - Use gtest's new Debug_All and Production configurations as appropriate

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

9 years ago2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 12 May 2011 13:58:56 +0000 (13:58 +0000)]
2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        Revert r86334, it broke the win build. WinCE build is fixed even without this patch. WinCairo remains broken atm, everything else works.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:

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

9 years ago2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 12 May 2011 13:51:50 +0000 (13:51 +0000)]
2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        String operator+ reallocates unnecessarily when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Try to fix WinCE/WinCairo linking by exporting three symbols, not sure whether it's correct though. Win worked just fine before.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:

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

9 years ago2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 12 May 2011 13:49:27 +0000 (13:49 +0000)]
2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        String operator+ reallocates unnecessary when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Attempt to fix the WinCE build. WinCE/WinCairo still won't link because of unresolved symbols, hmm. If we had EWS for those, I would have caught the problem earlier.

        * platform/wince/FileSystemWinCE.cpp:
        (WebCore::listDirectory):

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

9 years ago2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 12 May 2011 13:30:02 +0000 (13:30 +0000)]
2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        String operator+ reallocates unnecessary when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Fix fast/forms/input-image-submit.html regression, seens on the bots - by removing a last-minute typo: s/!!/!/

        * html/ImageInputType.cpp:
        (WebCore::ImageInputType::appendFormData):

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

9 years ago2011-05-12 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Thu, 12 May 2011 12:32:38 +0000 (12:32 +0000)]
2011-05-12  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Eric Seidel.

        REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
        https://bugs.webkit.org/show_bug.cgi?id=59941

        Also consider fill-opacity when determining whether StyleDifferenceRepaint is needed.

        Test: svg/custom/fill-opacity-update.svg

        * rendering/style/SVGRenderStyle.cpp:
        (WebCore::SVGRenderStyle::diff):

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

9 years ago2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 12 May 2011 12:07:24 +0000 (12:07 +0000)]
2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Darin Adler.

        String operator+ reallocates unnecessarily when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Provide a faster String append operator.
        Up until now, "String operator+(const String& a, const String& b)" copied String a into a temporary
        object, and used a.append(b), which reallocates a new buffer of aLength+bLength. When concatting
        N strings using operator+, this leads to N-1 reallocations.

        Replace this with a flexible operator+ implementation, that avoids these reallocations.
        When concatting a 'String' with any string type (char*, UChar, Vector<char>, String, AtomicString, etc..)
        a StringAppend<String, T> object is created, which holds the intermediate string objects, and delays
        creation of the final string, until operator String() is invoked.

        template<typename T>
        StringAppend<String, T> operator+(const String& string1, T string2)
        {
            return StringAppend<String, T>(string1, string2);
        }

        template<typename U, typename V, typename W>
        StringAppend<U, StringAppend<V, W> > operator+(U string1, const StringAppend<V, W>& string2)
        {
            return StringAppend<U, StringAppend<V, W> >(string1, string2);
        }

        When concatting three strings - "String a, b, c; String result = a + b + c;" following happens:
        first a StringAppend<String, String> object is created by operator+(const String& string1, String string2).
        Then operator+(String string1, const StringAppend<String, String>& string2) is invoked, which returns
        a StringAppend<String, StringAppend<String, String> > object.
        Then operator String() is invoked, which allocates a StringImpl object, once, large enough to hold the
        final string - it uses tryMakeString provided by StringConcatenate.h under the hoods, which guards us
        against too big string allocations, etc.

        Note that the second template, defines a recursive way to concat an arbitary number of strings
        into a single String with just one allocation.

        * GNUmakefile.list.am: Add StringOperators.h to build.
        * JavaScriptCore.exp: Export WTF::emptyString(). Remove no longer needed symbols.
        * JavaScriptCore.gypi: Add StringOperators.h to build.
        * JavaScriptCore.vcproj/WTF/WTF.vcproj: Ditto.
        * JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
        * wtf/text/AtomicString.h: Pull in StringConcatenate.h at the end of the file.
        * wtf/text/StringConcatenate.h: Conditionally include AtomicString.h to avoid a cyclic dependency. Pull in StringOperators.h at the end of the file.
        * wtf/text/StringOperators.h: Added. This is never meant to be included directly, including either WTFString.h or AtomicString.h automatically pulls in this file.
        (WTF::StringAppend::StringAppend):
        (WTF::StringAppend::operator String):
        (WTF::StringAppend::operator AtomicString):
        (WTF::StringAppend::writeTo):
        (WTF::StringAppend::length):
        (WTF::operator+):
        * wtf/text/WTFString.cpp: Remove operator+ implementations that use String::append().
        (WTF::emptyString): Add new shared empty string free function.
        * wtf/text/WTFString.h: Replace operator+ implementations by StringAppend template solution. Pull in AtomicString.h at the end of the file.

2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Darin Adler.

        String operator+ reallocates unnecessary when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.

        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::handleElementAttributes):
        * editing/MarkupAccumulator.cpp:
        (WebCore::MarkupAccumulator::shouldAddNamespaceElement):
        * html/HTMLAnchorElement.cpp:
        (WebCore::HTMLAnchorElement::hash):
        (WebCore::HTMLAnchorElement::search):
        * html/ImageInputType.cpp:
        (WebCore::ImageInputType::appendFormData):
        * html/parser/HTMLTreeBuilder.cpp:
        * loader/CrossOriginAccessControl.cpp:
        (WebCore::passesAccessControlCheck):
        * page/Location.cpp:
        (WebCore::Location::search):
        (WebCore::Location::hash):
        * page/NavigatorBase.cpp:
        (WebCore::NavigatorBase::platform):
        * platform/chromium/ClipboardChromium.cpp:
        (WebCore::writeImageToDataObject):
        * platform/gtk/PasteboardHelper.cpp:
        (WebCore::PasteboardHelper::fillSelectionData):
        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::encodeBasicAuthorization):
        * platform/network/cf/SocketStreamHandleCFNet.cpp:
        (WebCore::SocketStreamHandle::copyCFStreamDescription):
        * platform/network/mac/ResourceHandleMac.mm:
        (WebCore::encodeBasicAuthorization):
        * workers/WorkerLocation.cpp:
        (WebCore::WorkerLocation::search):
        (WebCore::WorkerLocation::hash):

2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Darin Adler.

        String operator+ reallocates unnecessarily when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.

        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::keyboardShortcut): Cast to String first, before trying to convert to platform dependant type.
        * src/WebHTTPLoadInfo.cpp:
        (WebKit::addHeader): Don't pass WebString to makeString, explicit cast to String first.
        * tests/IDBLevelDBCodingTest.cpp: Cast to String first, to avoid conflicting with gtests global templatified operator+.
        (IDBLevelDBCoding::TEST):

2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Darin Adler.

        String operator+ reallocates unnecessarily when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.

        * WebView/WebFrame.mm: Explicitely cast to Strings first, so operator NSString*() can be invoked.
        (-[WebFrame _stringWithDocumentTypeStringAndMarkupString:]):

2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Darin Adler.

        String operator+ reallocates unnecessarily when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.

        * AccessibleBase.cpp:
        (AccessibleBase::get_accKeyboardShortcut): Explicitely cast to Strings first, so operator BString() can be invoked.

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

9 years ago2011-05-12 Young Han Lee <joybro@company100.net>
commit-queue@webkit.org [Thu, 12 May 2011 11:15:41 +0000 (11:15 +0000)]
2011-05-12  Young Han Lee  <joybro@company100.net>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Implement layoutTestController.layerTreeAsText()
        https://bugs.webkit.org/show_bug.cgi?id=60367

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::layerTreeAsText):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-05-12  Young Han Lee  <joybro@company100.net>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Implement layoutTestController.layerTreeAsText()
        https://bugs.webkit.org/show_bug.cgi?id=60367

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::layerTreeAsText):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

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

9 years ago2011-05-10 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 12 May 2011 10:51:19 +0000 (10:51 +0000)]
2011-05-10  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: test that eval can access scoped variables in console
        https://bugs.webkit.org/show_bug.cgi?id=60547

        * inspector/console/console-eval-scoped-expected.txt: Added.
        * inspector/console/console-eval-scoped.html: Added.

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

9 years ago2011-05-06 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 12 May 2011 10:48:09 +0000 (10:48 +0000)]
2011-05-06  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: move agents from InspectorAgent to InspectorController
        https://bugs.webkit.org/show_bug.cgi?id=60359

        All inspector agents are now created and owned by InspectorController which
        in turned is owned by the inspected Page. InspectorInstrumentation gets access
        to the instrumenting agents by means of InspectorAgent::instrumentingAgents().

        In addition to managing inspector agents lifetime InspectorController sets
        InspectorFronted on the agents when the front-end is connected.

        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::InspectorAgent):
        (WebCore::InspectorAgent::~InspectorAgent):
        (WebCore::InspectorAgent::inspectedPageDestroyed):
        (WebCore::InspectorAgent::restore):
        (WebCore::InspectorAgent::setFrontend):
        (WebCore::InspectorAgent::clearFrontend):
        * inspector/InspectorAgent.h: all accessors to other agents were removed along with
        the agents themselves from InspectorAgent. Every agent that depends on some other agents
        receives pointers to them explicitely in its constructor. All access to the agents
        from WebCore should go through InspectorInstrumentation which retrieves corresponding
        agents using InstrumentingAgents structure which represents the set of active agents.
        (WebCore::InspectorAgent::instrumentingAgents):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        (WebCore::InspectorController::~InspectorController):
        (WebCore::InspectorController::inspectedPageDestroyed):
        (WebCore::InspectorController::startTimelineProfiler):
        (WebCore::InspectorController::stopTimelineProfiler):
        (WebCore::InspectorController::connectFrontend):
        (WebCore::InspectorController::disconnectFrontend):
        (WebCore::InspectorController::restoreInspectorStateFromCookie):
        (WebCore::InspectorController::drawNodeHighlight):
        (WebCore::InspectorController::inspect):
        (WebCore::InspectorController::timelineProfilerEnabled):
        (WebCore::InspectorController::hideHighlight):
        (WebCore::InspectorController::highlightedNode):
        (WebCore::InspectorController::enableProfiler):
        (WebCore::InspectorController::disableProfiler):
        (WebCore::InspectorController::profilerEnabled):
        (WebCore::InspectorController::debuggerEnabled):
        (WebCore::InspectorController::disableDebugger):
        (WebCore::InspectorController::startUserInitiatedProfiling):
        (WebCore::InspectorController::stopUserInitiatedProfiling):
        (WebCore::InspectorController::isRecordingUserInitiatedProfile):
        (WebCore::InspectorController::resume):
        * inspector/InspectorController.h:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl):
        (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl):
        (WebCore::InspectorInstrumentation::didModifyDOMAttrImpl):
        (WebCore::InspectorInstrumentation::didInvalidateStyleAttrImpl):
        (WebCore::InspectorInstrumentation::characterDataModifiedImpl):
        (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
        (WebCore::InspectorInstrumentation::didFailLoadingImpl):
        (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequestImpl):
        (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
        (WebCore::InspectorInstrumentation::consoleCountImpl):
        (WebCore::InspectorInstrumentation::startConsoleTimingImpl):
        (WebCore::InspectorInstrumentation::stopConsoleTimingImpl):
        (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsoleImpl):
        (WebCore::InspectorInstrumentation::addProfileImpl):
        (WebCore::InspectorInstrumentation::getCurrentUserInitiatedProfileNameImpl):
        (WebCore::InspectorInstrumentation::profilerEnabledImpl):
        (WebCore::InspectorInstrumentation::cancelPauseOnNativeEvent):
        * page/Page.cpp:
        (WebCore::Page::~Page): we send two notifications when inspected Page is being
        destroyed: one to the inspector instrumentation and another one to the InspectorController
        which is owned by the Page.

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

9 years ago2011-05-12 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Thu, 12 May 2011 10:38:28 +0000 (10:38 +0000)]
2011-05-12  Tony Gentilcore  <tonyg@chromium.org>

        Build fix: include ExceptionCode.h
        https://bugs.webkit.org/show_bug.cgi?id=60694

        * dom/Range.cpp:

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

9 years ago2011-05-10 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Thu, 12 May 2011 10:31:51 +0000 (10:31 +0000)]
2011-05-10  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Perform some forward declarations suggested by include-what-you-use
        https://bugs.webkit.org/show_bug.cgi?id=60545

        * accessibility/AccessibilityObject.cpp:
        * accessibility/AccessibilityRenderObject.cpp:
        * accessibility/mac/AccessibilityObjectWrapper.mm:
        * dom/DocumentMarkerController.cpp:
        * dom/Position.cpp:
        * dom/PositionIterator.cpp:
        * dom/Range.cpp:
        * editing/ApplyBlockElementCommand.cpp:
        * editing/ApplyStyleCommand.cpp:
        * editing/Editor.cpp:
        * editing/EditorCommand.cpp:
        * editing/FrameSelection.cpp:
        * editing/HTMLInterchange.cpp:
        * editing/IndentOutdentCommand.cpp:
        * editing/ReplaceSelectionCommand.cpp:
        * editing/SpellChecker.h:
        * editing/SpellingCorrectionCommand.cpp:
        * editing/SpellingCorrectionController.h:
        * editing/TextCheckingHelper.cpp:
        * editing/TextIterator.h:
        * editing/htmlediting.h:
        * editing/markup.cpp:
        * editing/visible_units.cpp:
        * editing/visible_units.h:
        * fileapi/DOMFileSystem.cpp:
        * fileapi/DirectoryReaderSync.cpp:
        * fileapi/DirectoryReaderSync.h:
        * fileapi/FileEntry.h:
        * fileapi/FileWriter.h:
        * fileapi/FileWriterBase.h:
        * fileapi/FileWriterSync.h:
        * history/CachedFrame.cpp:
        * history/CachedPage.cpp:
        * history/HistoryItem.cpp:
        * history/HistoryItem.h:
        * history/PageCache.h:
        * loader/HistoryController.h:
        * loader/PingLoader.h:
        * loader/ResourceLoader.h:
        * loader/appcache/DOMApplicationCache.h:
        * loader/cache/CachedCSSStyleSheet.h:
        * loader/cache/CachedFont.cpp:
        * loader/cache/CachedFont.h:
        * loader/cache/CachedResourceRequest.cpp:
        * loader/cache/CachedResourceRequest.h:
        * loader/cache/MemoryCache.h:
        * notifications/Notification.cpp:
        * notifications/Notification.h:
        * notifications/NotificationCenter.cpp:
        * notifications/NotificationCenter.h:
        * page/Chrome.cpp:
        * page/Chrome.h:
        * page/DOMSelection.cpp:
        * page/DOMTimer.h:
        * page/DOMWindow.cpp:
        * page/EventHandler.cpp:
        * page/FocusController.h:
        * page/Geolocation.cpp:
        * page/Geolocation.h:
        * page/History.cpp:
        * rendering/RenderListBox.cpp:
        * workers/WorkerContext.cpp:
2011-05-10  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Perform some forward declarations suggested by include-what-you-use
        https://bugs.webkit.org/show_bug.cgi?id=60545

        * src/WebHistoryItem.cpp:
        * src/WebNotification.cpp:
        * src/WebTextCheckingCompletionImpl.cpp:
        * src/mac/WebSubstringUtil.mm:
2011-05-10  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Perform some forward declarations suggested by include-what-you-use
        https://bugs.webkit.org/show_bug.cgi?id=60545

        * Plugins/Hosted/WebHostedNetscapePluginView.mm:
        * WebView/WebFrame.mm:
2011-05-10  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Perform some forward declarations suggested by include-what-you-use
        https://bugs.webkit.org/show_bug.cgi?id=60545

        * WebProcess/WebPage/mac/WebPageMac.mm:

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

9 years agoAdd new expected files after r86313.
ossy@webkit.org [Thu, 12 May 2011 09:54:06 +0000 (09:54 +0000)]
Add new expected files after r86313.

* platform/qt-arm/fast/transforms/transform-positioned-ancestor-expected.txt: Added.
* platform/qt-arm/transforms/2d/transform-borderbox-expected.txt: Added.
* platform/qt-arm/transforms/2d/transform-origin-borderbox-expected.txt: Added.
* platform/qt-arm/transforms/2d/zoom-menulist-expected.txt: Added.
* platform/qt-arm/transforms/no_transform_hit_testing-expected.txt: Added.
* platform/qt-arm/transforms/svg-vs-css-expected.txt: Added.
* platform/qt-mac/Skipped: Add plugins/get-targeted-javascript-url.html because of missing plugin.getURLNotify() implementation
* platform/qt-mac/fast/transforms/transform-positioned-ancestor-expected.txt: Added.
* platform/qt-mac/transforms/2d/transform-borderbox-expected.txt: Added.
* platform/qt-mac/transforms/2d/transform-origin-borderbox-expected.txt: Added.
* platform/qt-mac/transforms/2d/zoom-menulist-expected.txt: Added.
* platform/qt-mac/transforms/no_transform_hit_testing-expected.txt: Added.
* platform/qt-mac/transforms/svg-vs-css-expected.txt: Added.

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

9 years ago2011-05-12 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 12 May 2011 09:16:25 +0000 (09:16 +0000)]
2011-05-12  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK rebaseline after r86307.

        * platform/gtk/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
        * platform/gtk/fast/dom/HTMLMeterElement/meter-styles-expected.png:

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

9 years ago2011-05-12 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Thu, 12 May 2011 08:14:54 +0000 (08:14 +0000)]
2011-05-12  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed. Update Qt test expectations affected in r86320.

        * platform/qt/fast/dom/Window/window-properties-expected.txt:
        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/qt/fast/dom/prototype-inheritance-expected.txt:
        * platform/qt/fast/js/global-constructors-expected.txt:

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

9 years ago2011-05-12 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Thu, 12 May 2011 08:05:33 +0000 (08:05 +0000)]
2011-05-12  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed, another attempt of build fix.

        * websockets/CloseEvent.h:
        * websockets/CloseEvent.idl:

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

9 years ago2011-05-12 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Thu, 12 May 2011 07:58:17 +0000 (07:58 +0000)]
2011-05-12  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed, trying to fix Qt minimal compile.

        * websockets/CloseEvent.idl:

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

9 years ago2011-05-12 ojab <ojab@ojab.ru>
commit-queue@webkit.org [Thu, 12 May 2011 07:42:12 +0000 (07:42 +0000)]
2011-05-12  ojab  <ojab@ojab.ru>

        Reviewed by Eric Seidel.

        Fix build with --disable-video --enable-fullscreen-api
        https://bugs.webkit.org/show_bug.cgi?id=60542

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):

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

9 years ago2011-05-12 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 12 May 2011 07:36:26 +0000 (07:36 +0000)]
2011-05-12  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK build fix.

        * wtf/Platform.h:

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

9 years ago2011-05-12 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 12 May 2011 07:32:51 +0000 (07:32 +0000)]
2011-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        Fix the build with ENABLE_PLUGIN_PROCESS
        https://bugs.webkit.org/show_bug.cgi?id=60628

        * WebProcess/Plugins/PluginProxy.cpp:
        (WebKit::PluginProxy::initialize): Move the call to
        pluginController->isAcceleratedCompositingEnabled() to a #ifdef block.
        * WebProcess/Plugins/PluginProxy.h: Add include for <WebCore/IntRect.h>.

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

9 years ago2011-05-12 Keith Kyzivat <keith.kyzivat@nokia.com>
commit-queue@webkit.org [Thu, 12 May 2011 07:31:43 +0000 (07:31 +0000)]
2011-05-12  Keith Kyzivat  <keith.kyzivat@nokia.com>

        Reviewed by Csaba Osztrogonác.

        [Qt] Arm debug build failing on ARMAssembler::debugOffset()
        https://bugs.webkit.org/show_bug.cgi?id=60688

        Related to svn rev 85523

        * assembler/ARMAssembler.h:
        (JSC::ARMAssembler::debugOffset):

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

9 years ago2011-05-12 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Thu, 12 May 2011 07:06:19 +0000 (07:06 +0000)]
2011-05-12  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Kent Tamura.

        WebSocket add new event: CloseEvent
        https://bugs.webkit.org/show_bug.cgi?id=35573

        Original patch was written by Fumitoshi Ukai <ukai@chromium.org>.
        I modified the test close-event.html slightly so that it passes on Chromium.
        I also updated a few test results that are affected by this change.

        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/Window/window-property-descriptors-expected.txt:
        * fast/dom/prototype-inheritance-expected.txt:
        * fast/js/global-constructors-expected.txt:
        * http/tests/websocket/tests/close-event-expected.txt: Added.
        * http/tests/websocket/tests/close-event.html: Added.
        * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
2011-05-12  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Kent Tamura.

        WebSocket add new event: CloseEvent
        https://bugs.webkit.org/show_bug.cgi?id=35573

        Original patch was written by Fumitoshi Ukai <ukai@chromium.org>.
        I added CloseEvent constructor to DOMWindow, so it can be referred
        in the new test (close-event.html).

        Test: http/tests/websocket/tests/close-event.html

        * CMakeLists.txt:
        * CodeGenerators.pri:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSEventCustom.cpp:
        (WebCore::toJS):
        * bindings/v8/custom/V8EventCustom.cpp:
        (WebCore::toV8):
        * dom/Event.cpp:
        (WebCore::Event::isCloseEvent):
        * dom/Event.h:
        * page/DOMWindow.idl: Add CloseEvent constructor.
        * websockets/CloseEvent.h: Added.
        (WebCore::CloseEvent::isCloseEvent):
        (WebCore::CloseEvent::create):
        (WebCore::CloseEvent::initCloseEvent):
        (WebCore::CloseEvent::wasClean):
        (WebCore::CloseEvent::CloseEvent):
        * websockets/CloseEvent.idl: Added.
        * websockets/WebSocket.cpp:
        (WebCore::WebSocket::didClose):

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

9 years ago2011-05-12 Ben Wells <benwells@chromium.org>
commit-queue@webkit.org [Thu, 12 May 2011 07:04:24 +0000 (07:04 +0000)]
2011-05-12  Ben Wells  <benwells@chromium.org>

        Reviewed by Simon Fraser.

        RGBA colors in outlines show overpainting at the corners
        https://bugs.webkit.org/show_bug.cgi?id=58999

        * fast/borders/outline-alpha-block.html: Added.
        * fast/borders/outline-alpha-inline.html: Added.
        * platform/chromium/test_expectations.txt:
        * platform/mac/fast/borders/outline-alpha-block-expected.png: Added.
        * platform/mac/fast/borders/outline-alpha-block-expected.txt: Added.
        * platform/mac/fast/borders/outline-alpha-inline-expected.png: Added.
        * platform/mac/fast/borders/outline-alpha-inline-expected.txt: Added.
        * platform/mac/fast/box-shadow/box-shadow-radius-expected.png: Rebaselined as this test had rgba outlines.
        * platform/mac/fast/layers/self-painting-outline-expected.png: Rebaselined as this test had rgba outlines.
2011-05-12  Ben Wells  <benwells@chromium.org>

        Reviewed by Simon Fraser.

        RGBA colors in outlines show overpainting at the corners
        https://bugs.webkit.org/show_bug.cgi?id=58999

        Tests: fast/borders/outline-alpha-block.html
               fast/borders/outline-alpha-inline.html

        Updated baseline images for tests with rgba outlines:
               fast/box-shadow/box-shadow-radius.html
               fast/layers/self-painting-outline.html

         * rendering/RenderInline.cpp:
        (WebCore::RenderInline::paintOutline):
        (WebCore::RenderInline::paintOutlineForLine):
        * rendering/RenderInline.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::paintOutline):

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

9 years ago2011-05-11 Srinivasulu Chereddy <Srinivasulu.Chereddy@nokia.com>
commit-queue@webkit.org [Thu, 12 May 2011 06:00:31 +0000 (06:00 +0000)]
2011-05-11  Srinivasulu Chereddy  <Srinivasulu.Chereddy@nokia.com>

        Reviewed by Eric Seidel.

        [Qt] Expected results for 6 new CSS3 transforms tests and the updated skipped list
        https://bugs.webkit.org/show_bug.cgi?id=60654

        * platform/qt/Skipped:
        * platform/qt/fast/transforms/transform-positioned-ancestor-expected.png: Added.
        * platform/qt/fast/transforms/transform-positioned-ancestor-expected.txt: Added.
        * platform/qt/transforms/2d/transform-borderbox-expected.png: Added.
        * platform/qt/transforms/2d/transform-borderbox-expected.txt: Added.
        * platform/qt/transforms/2d/transform-origin-borderbox-expected.png: Added.
        * platform/qt/transforms/2d/transform-origin-borderbox-expected.txt: Added.
        * platform/qt/transforms/2d/zoom-menulist-expected.png: Added.
        * platform/qt/transforms/2d/zoom-menulist-expected.txt: Added.
        * platform/qt/transforms/no_transform_hit_testing-expected.png: Added.
        * platform/qt/transforms/no_transform_hit_testing-expected.txt: Added.
        * platform/qt/transforms/svg-vs-css-expected.png: Added.
        * platform/qt/transforms/svg-vs-css-expected.txt: Added.

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

9 years ago2011-05-11 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 12 May 2011 05:45:30 +0000 (05:45 +0000)]
2011-05-11  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Rename Widget::pos()
        https://bugs.webkit.org/show_bug.cgi?id=60575

        Renaming Widget::pos() to the more-descriptive location().

        No new tests as this is a simple rename

        * page/FrameView.cpp:
        (WebCore::FrameView::create):
        * platform/Widget.h:
        (WebCore::Widget::location):
        (WebCore::Widget::resize):
2011-05-11  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Rename Widget::pos()
        https://bugs.webkit.org/show_bug.cgi?id=60575

        Renaming Widget::pos() to the more-descriptive location().

        * src/WebInputEventConversion.cpp:
        (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
        (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):

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

9 years ago2011-05-10 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 12 May 2011 05:40:20 +0000 (05:40 +0000)]
2011-05-10  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        Crashes if the document inside iframe is removed during pasting some text into it.
        https://bugs.webkit.org/show_bug.cgi?id=60534

        * editing/pasteboard/paste-removing-iframe-expected.txt: Added.
        * editing/pasteboard/paste-removing-iframe.html: Added.
        * editing/pasteboard/resources/paste-removing-iframe-child.html: Added.
2011-05-10  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        Crashes if the document inside iframe is removed during pasting some text into it.
        https://bugs.webkit.org/show_bug.cgi?id=60534

        Added missing null check.

        Test: editing/pasteboard/paste-removing-iframe.html

        * editing/Editor.cpp:
        (WebCore::Editor::shouldChangeSelection):

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

9 years ago2011-05-11 Brian Salomon <bsalomon@google.com>
commit-queue@webkit.org [Thu, 12 May 2011 05:35:29 +0000 (05:35 +0000)]
2011-05-11  Brian Salomon  <bsalomon@google.com>

        Reviewed by Eric Seidel.

        Handle case when GrContext creation fails
        https://bugs.webkit.org/show_bug.cgi?id=60410

        Exercised by all canvas tests when DRT is run with skia-gpu

        * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
        (WebCore::SharedGraphicsContext3D::grContext):

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

9 years ago2011-05-11 Pratik Solanki <psolanki@apple.com>
psolanki@apple.com [Thu, 12 May 2011 05:31:31 +0000 (05:31 +0000)]
2011-05-11  Pratik Solanki  <psolanki@apple.com>

        Reviewed by Andreas Kling.

        Remove empty class CallbackGuard
        https://bugs.webkit.org/show_bug.cgi?id=60610

        CallbackGuard was only ever used on Tiger and it is now an empty class. Remove all uses of it.

        * platform/network/mac/ResourceHandleMac.mm:
        (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]):
        (-[WebCoreResourceHandleAsDelegate connectionShouldUseCredentialStorage:]):
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveAuthenticationChallenge:]):
        (-[WebCoreResourceHandleAsDelegate connection:didCancelAuthenticationChallenge:]):
        (-[WebCoreResourceHandleAsDelegate connection:canAuthenticateAgainstProtectionSpace:]):
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:]):
        (-[WebCoreResourceHandleAsDelegate connection:willStopBufferingData:]):
        (-[WebCoreResourceHandleAsDelegate connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:]):
        (-[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]):
        (-[WebCoreResourceHandleAsDelegate connection:didFailWithError:]):
        (-[WebCoreResourceHandleAsDelegate connection:willCacheResponse:]):

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

9 years ago2011-05-11 Luke Macpherson <macpherson@chromium.org>
commit-queue@webkit.org [Thu, 12 May 2011 05:13:23 +0000 (05:13 +0000)]
2011-05-11  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Eric Seidel.

        Implement CSSPropertyMargin and CSSPropertyPadding in CSSStyleApplyProperty.
        https://bugs.webkit.org/show_bug.cgi?id=60609

        No new tests - refactoring only.

        * css/CSSStyleApplyProperty.cpp:
        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
        Initialise CSSPropertyMargin and CSSPropertyPadding handlers.
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        Remove unused implementations.

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

9 years ago2011-05-11 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 12 May 2011 05:09:31 +0000 (05:09 +0000)]
2011-05-11  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        Some elements in meter-styles.html are hiding its content part with non-content-area.
        https://bugs.webkit.org/show_bug.cgi?id=58149

        - Resized the border and padding values
        - Gave "-webkit-appearance: none" to test that is intended to be painted using shadows.

        * fast/dom/HTMLMeterElement/meter-styles.html:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:

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

9 years agoReviewed by Kevin Ollivier.
kevino@webkit.org [Thu, 12 May 2011 04:48:06 +0000 (04:48 +0000)]
Reviewed by Kevin Ollivier.

[wx] Implement more clipping functions for wxWebKit.

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

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

9 years ago2011-05-11 Damian Kaleta <dkaleta@apple.com>
commit-queue@webkit.org [Thu, 12 May 2011 03:55:12 +0000 (03:55 +0000)]
2011-05-11  Damian Kaleta  <dkaleta@apple.com>

        Reviewed by Brady Eidson.

        Need a new API that will try to restore the scrollbars' position, when navigating in the back/forward history
        https://bugs.webkit.org/show_bug.cgi?id=60674

        * WebCore.exp.in: Export restoreScrollPositionAndViewState()
2011-05-11  Damian Kaleta  <dkaleta@apple.com>

        Reviewed by Brady Eidson.

        Need a new API that will try to restore the scrollbars' position, when navigating in the back/forward history
        https://bugs.webkit.org/show_bug.cgi?id=60674

        * UIProcess/API/C/WKPage.cpp:
        (WKPageTryRestoreScrollPosition):
        * UIProcess/API/C/WKPage.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::tryRestoreScrollPosition):
        * UIProcess/WebPageProxy.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::tryRestoreScrollPosition):
        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/WebPage.messages.in:

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

9 years ago2011-05-11 Igor Oliveira <igor.oliveira@openbossa.org>
commit-queue@webkit.org [Thu, 12 May 2011 03:38:59 +0000 (03:38 +0000)]
2011-05-11  Igor Oliveira  <igor.oliveira@openbossa.org>

        Reviewed by Eric Seidel.

        WebKit does not build with GCCE
        https://bugs.webkit.org/show_bug.cgi?id=60667

        Allow compile WebKit with GCCE

        * wtf/Alignment.h:
        * wtf/Platform.h:

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

9 years ago2011-05-11 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 12 May 2011 03:17:57 +0000 (03:17 +0000)]
2011-05-11  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintFillLayer and its progeny to use IntRect instead of four ints
        https://bugs.webkit.org/show_bug.cgi?id=60596

        Changing integers passed into paintFillLayer and other derivatives to IntRects
        and IntSizes that reflect their function.

        No new tests since this is just refactoring.

        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::paintFillLayers):
        (WebCore::InlineFlowBox::paintFillLayer):
        (WebCore::InlineFlowBox::paintBoxDecorations):
        (WebCore::InlineFlowBox::paintMask):
        * rendering/InlineFlowBox.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintRootBoxFillLayers):
        (WebCore::RenderBox::paintBoxDecorationsWithSize):
        (WebCore::RenderBox::paintMaskImages):
        (WebCore::RenderBox::paintFillLayers):
        (WebCore::RenderBox::paintFillLayer):
        * rendering/RenderBox.h:
        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintFillLayerExtended):
        * rendering/RenderBoxModelObject.h:
        * rendering/RenderFieldset.cpp:
        (WebCore::RenderFieldset::paintBoxDecorations):
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paintBoxDecorations):
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::paintBackgroundsBehindCell):

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

9 years ago2011-05-11 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 12 May 2011 02:53:49 +0000 (02:53 +0000)]
2011-05-11  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Enable strict PassOwnPtr on Mac
        https://bugs.webkit.org/show_bug.cgi?id=60684

        This should build cleanly now.

        * wtf/PassOwnPtr.h:

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

9 years ago2011-05-11 Nat Duca <nduca@chromium.org>
commit-queue@webkit.org [Thu, 12 May 2011 02:16:38 +0000 (02:16 +0000)]
2011-05-11  Nat Duca  <nduca@chromium.org>

        Reviewed by James Robinson.

        [chromium] Use mapTexSubImage2D for tile uploads if available
        https://bugs.webkit.org/show_bug.cgi?id=60008

        * platform/graphics/chromium/LayerTilerChromium.cpp:
        (WebCore::LayerTilerChromium::LayerTilerChromium):
        (WebCore::LayerTilerChromium::update):
        (WebCore::LayerTilerChromium::updateFromPixels):
        * platform/graphics/chromium/LayerTilerChromium.h:

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

9 years ago2011-05-11 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 12 May 2011 01:26:43 +0000 (01:26 +0000)]
2011-05-11  Oliver Hunt  <oliver@apple.com>

        Reviewed by Darin Adler.

        Protect JSC from WebCore executing JS during JS wrapper finalization
        https://bugs.webkit.org/show_bug.cgi?id=60672
        <rdar://problem/9350997>

        Detect when we're trying to execute JS during GC and prevent the
        execution from happening.  We also assert that this isn't happening
        as it implies incorrect behaviour of an object's destructor.

        * JavaScriptCore.exp:
        * heap/Heap.cpp:
        * heap/Heap.h:
        (JSC::Heap::isBusy):
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::execute):
        (JSC::Interpreter::executeCall):
        (JSC::Interpreter::executeConstruct):
        * runtime/JSGlobalData.h:
        (JSC::JSGlobalData::isCollectorBusy):

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

9 years ago2011-05-11 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Thu, 12 May 2011 01:20:34 +0000 (01:20 +0000)]
2011-05-11  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Implements a disable appearance for Media Elements of Qt port.
        https://bugs.webkit.org/show_bug.cgi?id=60561

        Implements a disable appearance for the media controls of the Qt port
        when the media is not yet available.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::mediaElementCanPlay):
        (WebCore::RenderThemeQt::getMediaControlForegroundColor):
        (WebCore::RenderThemeQt::paintMediaSliderThumb):

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

9 years ago2011-05-11 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 12 May 2011 01:18:13 +0000 (01:18 +0000)]
2011-05-11  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        input type=email is too strict
        https://bugs.webkit.org/show_bug.cgi?id=55988

        * fast/forms/resources/ValidityState-typeMismatch-email.js:
        * fast/forms/ValidityState-typeMismatch-email-expected.txt:
2011-05-11  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        input type=email is too strict
        https://bugs.webkit.org/show_bug.cgi?id=55988

        Follow the updated specification.

        * html/EmailInputType.cpp: Update the pattern to allow a domain part without periods.

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

9 years ago2011-05-11 Cris Neckar <cdn@chromium.org>
cdn@chromium.org [Thu, 12 May 2011 01:11:00 +0000 (01:11 +0000)]
2011-05-11  Cris Neckar  <cdn@chromium.org>

        Reviewed by David Levin.

        Adding Cris Neckar to the Webkit Security Group site.
        https://bugs.webkit.org/show_bug.cgi?id=60668

        * security/security-group-members.html:

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

9 years ago2011-05-11 Sam Weinig <sam@webkit.org>
weinig@apple.com [Thu, 12 May 2011 00:58:31 +0000 (00:58 +0000)]
2011-05-11  Sam Weinig  <sam@webkit.org>

        Reviewed by Gavin Barraclough.

        WebKit2 doesn't build on Mac with strict PassOwnPtr
        https://bugs.webkit.org/show_bug.cgi?id=60655

        * Platform/CoreIPC/HandleMessage.h:
        (CoreIPC::handleMessageDelayed):
        Add explicit adoptPtr to indicate that the constructor is taking ownership.

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

9 years ago2011-05-11 Jia Pu <jpu@apple.com>
jpu@apple.com [Thu, 12 May 2011 00:54:08 +0000 (00:54 +0000)]
2011-05-11  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

        Autocorrection persists after deleting and retyping the same word at same location.
        https://bugs.webkit.org/show_bug.cgi?id=60555
        <rdar://problem/9373915>

        See WebCore/ChangeLog for detail.

        * platform/mac-leopard/Skipped:
        * platform/mac-snowleopard/Skipped:
        * platform/mac/editing/spelling/delete-autocorrected-word-2-expected.png: Added.
        * platform/mac/editing/spelling/delete-autocorrected-word-2-expected.txt: Added.
        * platform/mac/editing/spelling/delete-autocorrected-word-2.html: Added.
2011-05-11  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

        Autocorrection persists after deleting and retyping the same word at same location.
        https://bugs.webkit.org/show_bug.cgi?id=60555
        <rdar://problem/9373915>

        This patch intends to alleviate the issue of repetitively applying the same autocorrection
        when user delete and retype the same word at the same location. This scenario is especially
        common when autocorrection modifies the first letter of the word.

        This patch consists following major changes:
        1. Added a new marker type, DeletedAutocorrection. This marker is added to the whitespace that
           precedes a deleted autocorrection. If the user later types the same original word at after
           this whitespace, the autocorrection will not be applied again.
        2. In DeleteSelectionCommand, added code to notify SpellingCorrectionController about the
           autocorrection that has just been deleted.
        3. In Editor and SpellingCorrectionController, added code to apply the marker and to suppress
           autocorrection when necessary.
        4. The change in CompositeEditCommand::replaceTextInNode is necessary for preserving markers.
           Otherwise, we will loose the DeletedAutocorrection on the whitespace, when inserting text
           after the whitespace.

        Test: platform/mac/editing/spelling/delete-autocorrected-word-2.html

        * dom/DocumentMarker.h: Added new marker type DeletedAutocorrection.
        (WebCore::DocumentMarker::AllMarkers::AllMarkers):
        * dom/DocumentMarkerController.cpp:
        (WebCore::DocumentMarkerController::markersInRange): Support querying multiple marker types.
        * dom/DocumentMarkerController.h:
        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::replaceTextInNodeAndPreserveMarkers):
        (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring):
        (WebCore::CompositeEditCommand::prepareWhitespaceAtPositionForSplit):
        * editing/CompositeEditCommand.h:
        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
        (WebCore::DeleteSelectionCommand::fixupWhitespace):
        (WebCore::DeleteSelectionCommand::originalStringForAutocorrectionAtBeginningOfSelection): Extracting
           the original string if we are deleting an autocorrection.
        (WebCore::DeleteSelectionCommand::doApply): Notify editor about the deleted autocorrection and its position.
        * editing/DeleteSelectionCommand.h:
        * editing/Editor.cpp:
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Moved all logic of determining
           when to suppress an autocorrection into SpellingCorrectionController.
        (WebCore::Editor::deletedAutocorrectionAtPosition):
        * editing/Editor.h:
        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::doApply):
        * editing/SpellingCorrectionController.cpp:
        (WebCore::SpellingCorrectionController::respondToAppliedEditing):
        (WebCore::SpellingCorrectionController::deletedAutocorrectionAtPosition):
        (WebCore::SpellingCorrectionController::markPrecedingWhitespaceForDeletedAutocorrectionAfterCommand):
        (WebCore::SpellingCorrectionController::processMarkersOnTextToBeReplacedByResult):
        * editing/SpellingCorrectionController.h:
        (WebCore::SpellingCorrectionController::UNLESS_ENABLED):
        * editing/visible_units.cpp:
        (WebCore::isStartOfWord):
        * editing/visible_units.h:
        * manual-tests/autocorrection/spell-checking-after-reversion.html:

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

9 years ago2011-05-11 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 12 May 2011 00:49:58 +0000 (00:49 +0000)]
2011-05-11  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Enable gc mark validation in temporarily in release builds
        https://bugs.webkit.org/show_bug.cgi?id=60678

        Make it easier to turn the gc mark validation on and off, and
        temporarily turn it on for all builds.

        * heap/MarkStack.cpp:
        * heap/MarkStack.h:
        (JSC::MarkStack::append):
        (JSC::MarkStack::internalAppend):
        * runtime/WriteBarrier.h:
        (JSC::MarkStack::appendValues):
        * wtf/Platform.h:

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

9 years ago<rdar://problem/9414874> Layout unnecessarily interrupts smooth scrolling at msnbc.com
mitz@apple.com [Thu, 12 May 2011 00:45:30 +0000 (00:45 +0000)]
<rdar://problem/9414874> Layout unnecessarily interrupts smooth scrolling at msnbc.com
https://bugs.webkit.org/show_bug.cgi?id=60677

Reviewed by Darin Adler.

* platform/ScrollView.cpp:
(WebCore::ScrollView::updateScrollbars): Only perform an immediate scroll, aborting any running
animation, if the new scroll offset computed here is different from the current scroll offset.

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

9 years ago2011-05-11 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 12 May 2011 00:39:51 +0000 (00:39 +0000)]
2011-05-11  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        <input pattern="1|10" value="10"> doesn't work correctly.
        https://bugs.webkit.org/show_bug.cgi?id=60619

        Add test cases and update the result.

        * fast/forms/ValidityState-patternMismatch-expected.txt:
        * fast/forms/ValidityState-patternMismatch.html:
2011-05-11  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        <input pattern="1|10" value="10"> doesn't work correctly.
        https://bugs.webkit.org/show_bug.cgi?id=60619

        Fixes a bug that patternMismatch returns a wrong result if
         - a whole value matches to a pattern,
         - a sub-string of the value also matches to the pattern, and
         - the sub-string matching has priority.

        * html/BaseTextInputType.cpp:
        (WebCore::BaseTextInputType::patternMismatch):
          Enclose the specified pattern with ^( and )$.

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

9 years ago2011-05-11 Zelidrag Hornung <zelidrag@chromium.org>
commit-queue@webkit.org [Thu, 12 May 2011 00:29:35 +0000 (00:29 +0000)]
2011-05-11  Zelidrag Hornung  <zelidrag@chromium.org>

        Reviewed by David Levin.

        Prevented DOMFileSystemBase from imposing file naming restrictions on
        external file systems.

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

        There are no new tests for this change since it requires the presence
        of external file system provider which is specific to the platform host
        process. Chromium implementation will test this within its extension API
        test suite.

        * fileapi/DOMFileSystemBase.cpp:
        (WebCore::pathToAbsolutePath):
        (WebCore::DOMFileSystemBase::getFile):
        (WebCore::DOMFileSystemBase::getDirectory):

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

9 years ago2011-05-11 Antoine Labour <piman@chromium.org>
commit-queue@webkit.org [Thu, 12 May 2011 00:28:14 +0000 (00:28 +0000)]
2011-05-11  Antoine Labour  <piman@chromium.org>

        Reviewed by David Levin.

        Expose shouldBufferData to ThreadableLoaderOptions to be able to disable buffering of the
        loaded resource.
        https://bugs.webkit.org/show_bug.cgi?id=60656

        * loader/DocumentThreadableLoader.cpp:
        (WebCore::DocumentThreadableLoader::loadRequest):
        Pass the shouldBufferData to the resource load scheduler, forcing it to true for the
        preflight request.
        * loader/ResourceLoadScheduler.cpp:
        (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad):
        Pass through shouldBufferData to SubresourceLoader::create
        * loader/ResourceLoadScheduler.h:

        * loader/SubresourceLoader.cpp:
        (WebCore::SubresourceLoader::create):
        Set shouldBufferData on the newly created loader

        * loader/SubresourceLoader.h:

        * loader/ThreadableLoader.h:
        (WebCore::ThreadableLoaderOptions::ThreadableLoaderOptions):
        Add shouldBufferData to the options, defaulting to true.
2011-05-11  Antoine Labour  <piman@chromium.org>

        Reviewed by David Levin.

        Don't buffer data for resources loaded by AssociatedURLLoader.
        https://bugs.webkit.org/show_bug.cgi?id=60656

        * src/AssociatedURLLoader.cpp:
        (WebKit::AssociatedURLLoader::loadAsynchronously): set shouldBufferData to false in ThreadableLoaderOptions

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

9 years ago2011-05-11 Jay Civelli <jcivelli@chromium.org>
jcivelli@chromium.org [Thu, 12 May 2011 00:17:21 +0000 (00:17 +0000)]
2011-05-11  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Adam Barth.

        Adding a Content-Type parser. This is needed for MHTML support.
        https://bugs.webkit.org/show_bug.cgi?id=60637

        (WebCore::ScriptController::disableEval):
        * platform/network/ContentTypeParser.cpp: Added.
        * platform/network/ContentTypeParser.h: Added.

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