WebKit-https.git
9 years ago2011-02-24 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Thu, 24 Feb 2011 17:33:24 +0000 (17:33 +0000)]
2011-02-24  Alejandro G. Castro  <alex@igalia.com>

        Rubber-stamped by Martin Robinson.

        Fixed compilation after r79537, added a bug to solve webkit2
        translations:
        https://bugs.webkit.org/show_bug.cgi?id=55153

        * GNUmakefile.am:

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

9 years ago2011-02-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 24 Feb 2011 17:29:46 +0000 (17:29 +0000)]
2011-02-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: follow up to 79566. USE_PARAM not declared
        https://bugs.webkit.org/show_bug.cgi?id=55155

        * bindings/js/JSInjectedScriptHostCustom.cpp:
        (WebCore::JSInjectedScriptHost::currentCallFrame):
        * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
        (WebCore::V8InjectedScriptHost::currentCallFrameCallback):

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

9 years ago2011-02-24 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
commit-queue@webkit.org [Thu, 24 Feb 2011 17:20:40 +0000 (17:20 +0000)]
2011-02-24  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] add android 2.2 user agent to QtTestBrowser
        https://bugs.webkit.org/show_bug.cgi?id=55085

        Credit to Forrest Hodgkins to find right user-agent which works for youtube.
        * QtTestBrowser/useragentlist.txt:

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

9 years ago2011-02-24 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Thu, 24 Feb 2011 16:59:12 +0000 (16:59 +0000)]
2011-02-24  Emil A Eklund  <eae@chromium.org>

        Reviewed by Simon Fraser.

        Add support for missing properties to getComputedStyle
        https://bugs.webkit.org/show_bug.cgi?id=23668

        Test getComputedStyle for the content, counter and outline-offset
        properties.

        * fast/css/getComputedStyle/computed-style-properties-expected.txt: Added.
        * fast/css/getComputedStyle/computed-style-properties.html: Added.
2011-02-24  Emil A Eklund  <eae@chromium.org>

        Reviewed by Simon Fraser.

        Add support for missing properties to getComputedStyle
        https://bugs.webkit.org/show_bug.cgi?id=23668

        Implement getComputedStyle for the content, counter and outline-offset
        properties.

        Test: fast/css/getComputedStyle/computed-style-properties.html

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::contentToCSSValue):
        (WebCore::counterToCSSValue):
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
        * css/CSSPrimitiveValue.cpp:
        (WebCore::CSSPrimitiveValue::cssText):
        * css/CSSPrimitiveValue.h:

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

9 years agoChange FrameLoadDelegate to support any number of delegates with delayed work to...
aroben@apple.com [Thu, 24 Feb 2011 16:56:56 +0000 (16:56 +0000)]
Change FrameLoadDelegate to support any number of delegates with delayed work to process

This makes our behavior match Mac more closely, and allows us to remove an incorrect
assertion that was firing during some tests. (The assertion was claiming that there was
never more than one delegate with delayed work to process, but that was not the case.)

Fixes <http://webkit.org/b/55146> Assertion failure in FrameLoadDelegate::locationChangeDone
when running http/tests/navigation/back-twice-without-commit.html

Reviewed by Eric Carlson.

* DumpRenderTree/win/FrameLoadDelegate.cpp:
(delegatesWithDelayedWork): Added. Returns all FrameLoadDelegates that have delayed work to
process. A single delegate may appear in this Vector more than once (just as, on Mac, a
single delegate may have multiple performSelector requests).
(processWorkTimer): Pass the HWND to ::KillTimer, for pedantic brownie points. Added an
assertion that the timer firing is the shared process work timer. Instead of using the
single, global "delegate waiting for timer" delegate, give all delegates that have delayed
work to process a chance to process their work.
(FrameLoadDelegate::locationChangeDone): If we don't already have an active timer for
processing delayed work, create one. Then add ourselves to the delegatesWithDelayedWork
Vector so our processWork function will be called when the timer fires.

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

9 years ago2011-02-24 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 24 Feb 2011 16:44:32 +0000 (16:44 +0000)]
2011-02-24  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        SegmentedString does not need an m_composite member
        https://bugs.webkit.org/show_bug.cgi?id=55083

        Storing m_composite as distinct from m_substrings.isEmpty()
        was just error prone and eventually going to get us in trouble.

        I also cleaned up some of the style in SegementedString.*
        since this file long predates check-webkit-style.

        * platform/text/SegmentedString.cpp:
        (WebCore::SegmentedString::SegmentedString):
        (WebCore::SegmentedString::operator=):
        (WebCore::SegmentedString::length):
        (WebCore::SegmentedString::setExcludeLineNumbers):
        (WebCore::SegmentedString::clear):
        (WebCore::SegmentedString::append):
        (WebCore::SegmentedString::prepend):
        (WebCore::SegmentedString::advanceSubstring):
        (WebCore::SegmentedString::toString):
        * platform/text/SegmentedString.h:
        (WebCore::SegmentedSubstring::SegmentedSubstring):
        (WebCore::SegmentedSubstring::appendTo):
        (WebCore::SegmentedString::SegmentedString):
        (WebCore::SegmentedString::isComposite):

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

9 years agoBUILD FIX: Add missing include for UnusedParam.h
ddkilzer@apple.com [Thu, 24 Feb 2011 16:40:14 +0000 (16:40 +0000)]
BUILD FIX: Add missing include for UnusedParam.h

Not reviewed.

* platform/mac/FileSystemMac.mm: Add include.  It should have
originally been added with r76614.

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

9 years ago2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Thu, 24 Feb 2011 16:26:13 +0000 (16:26 +0000)]
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        No new tests. (no code affected, just exporting a method for DumpRenderTree use)

        * WebCore.exp.in:
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        Added clearOpener method to WebFrame.

        * public/WebFrame.h:
        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::clearOpener):
        * src/WebFrameImpl.h:
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        Added clearOpener method to DumpRenderTreeSupportGTK.

        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
        (DumpRenderTreeSupportGtk::clearOpener):
        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        Added clearOpener method to WebFramePrivate.

        * WebView/WebFrame.mm:
        (-[WebFrame _clearOpener]):
        * WebView/WebFramePrivate.h:
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        Added clearOpener method to DumpRenderTreeSupportQT.

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::clearOpener):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        Added clearOpener method to IWebFramePrivate.
        Touched WebKit.idl to trigger build scripts.

        * Interfaces/IWebFramePrivate.idl:
        * Interfaces/WebKit.idl:
        * WebFrame.cpp:
        (WebFrame::clearOpener):
        * WebFrame.h:
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        Added clearOpener method to WKBundleWebFramePrivate.

        * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
        (WKBundleFrameClearOpener):
        * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Alexey Proskuryakov.

        DumpRenderTree should reset frame opener between tests.
        https://bugs.webkit.org/show_bug.cgi?id=54874

        Added clearOpener() calls between tests.
        Some tests are using window.open() to change current window location.
        This changes window.opener property whose nullity is checked before
        showing xml viewer.

        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::resetTestController):
        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (resetDefaultsToConsistentValues):
        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetWebViewToConsistentStateBeforeTesting):
        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
        * DumpRenderTree/win/DumpRenderTree.cpp:
        (resetWebViewToConsistentStateBeforeTesting):
        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::reset):

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

9 years ago2011-02-24 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 24 Feb 2011 16:22:46 +0000 (16:22 +0000)]
2011-02-24  Dirk Schulze  <krit@webkit.org>

        Reviewed by Darin Adler.

        Removing a SVG animation target during animation crashes WebKit
        https://bugs.webkit.org/show_bug.cgi?id=12065

        SVGAnimations with IRI references via 'xlink:href' are slow
        https://bugs.webkit.org/show_bug.cgi?id=49437

        Test that WebKit does not crash, if the target element of a SVG animation gets removed, or if
        its id changed.

        * platform/mac/svg/custom/animate-target-id-changed-expected.checksum: Added.
        * platform/mac/svg/custom/animate-target-id-changed-expected.png: Added.
        * platform/mac/svg/custom/animate-target-id-changed-expected.txt: Added.
        * platform/mac/svg/custom/animate-target-removed-from-document-expected.checksum: Added.
        * platform/mac/svg/custom/animate-target-removed-from-document-expected.png: Added.
        * platform/mac/svg/custom/animate-target-removed-from-document-expected.txt: Added.
        * svg/custom/animate-target-id-changed.svg: Added.
        * svg/custom/animate-target-removed-from-document.svg: Added.
2011-02-24  Dirk Schulze  <krit@webkit.org>

        Reviewed by Darin Adler.

        Removing a SVG animation target during animation crashes WebKit
        https://bugs.webkit.org/show_bug.cgi?id=12065

        SVGAnimations with IRI references via 'xlink:href' are slow
        https://bugs.webkit.org/show_bug.cgi?id=49437

        Store reference to target element for SVG animation elements. This is important if the
        target gets referenced via 'xlink:href'. At the moment we would call getElementById() multiple
        times on every animation step. A very expensive operation. This will be avoided with this patch.
        On the other hand, we need to be sure that the target element is always valid. The reference is
        reset, if the target was removed from document or its destructor was called. A HashMap in
        SVGDocumentExtensions stores all mappings from target element to all current animation elements.

        Tests: svg/custom/animate-target-id-changed.svg
               svg/custom/animate-target-removed-from-document.svg

        * svg/SVGDocumentExtensions.cpp:
        (WebCore::SVGDocumentExtensions::~SVGDocumentExtensions):
        (WebCore::SVGDocumentExtensions::addAnimationElementToTarget): New animation gets applied to target.
        (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget): Animation stoped, remove it from HashMap.
        (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget): Target no longer in document, reset all
        references in SVG animation elements.
        * svg/SVGDocumentExtensions.h:
        * svg/SVGElement.cpp:
        (WebCore::SVGElement::~SVGElement):
        (WebCore::SVGElement::removedFromDocument):
        (WebCore::SVGElement::attributeChanged):
        * svg/SVGElement.h:
        * svg/SVGHKernElement.cpp:
        (WebCore::SVGHKernElement::removedFromDocument):
        * svg/SVGVKernElement.cpp:
        (WebCore::SVGVKernElement::removedFromDocument):
        * svg/animation/SVGSMILElement.cpp:
        (WebCore::SVGSMILElement::SVGSMILElement):
        (WebCore::SVGSMILElement::removedFromDocument):
        (WebCore::SVGSMILElement::eventBaseFor):
        (WebCore::SVGSMILElement::targetElement):
        * svg/animation/SVGSMILElement.h:
        (WebCore::SVGSMILElement::resetTargetElement):

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

9 years ago2011-02-24 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 24 Feb 2011 16:12:07 +0000 (16:12 +0000)]
2011-02-24  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Eric Seidel.

        REGRESSION: Accelerated transitions are jumpy
        https://bugs.webkit.org/show_bug.cgi?id=55022

        When an accelerated transition used the default timing function,
        a typo in toCAMediaTimingFunction() resulting in the incorrect
        timing function being used.

        Test: transitions/default-timing-function.html

        * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
        (toCAMediaTimingFunction):

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

9 years ago2011-02-24 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 24 Feb 2011 16:09:18 +0000 (16:09 +0000)]
2011-02-24  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Remove bogus optimizations in TextBreakIteratorQt
        https://bugs.webkit.org/show_bug.cgi?id=55139

        Let QTextBoundaryFinder hold a deep copy of the string data it's
        operating on, and don't use the same working buffer for all iterators.

        * platform/text/qt/TextBreakIteratorQt.cpp:
        (WebCore::TextBreakIterator::TextBreakIterator):
        (WebCore::setUpIterator):

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

9 years ago2011-02-24 Andrey Adaikin <aandrey@google.com>
podivilov@chromium.org [Thu, 24 Feb 2011 16:05:03 +0000 (16:05 +0000)]
2011-02-24  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Pavel Feldman.

        Web Inspector: [Text editor] Bug in the highlighter
        https://bugs.webkit.org/show_bug.cgi?id=54876

        Fixing two bugs: 1) When restoring the state from a successful updateHighlight() call, we should restore the old state only if it is greater (closer to the end) than the current one.
        2) When a long line is being highlighted in more than one chunk (timer tick), we wrongly deleted the result of the work done in the previous tick, rather than updating it with the new results.

        * inspector/editor/highlighter-long-line-expected.txt: Added.
        * inspector/editor/highlighter-long-line.html: Added.
        * inspector/editor/highlighter-paste-in-comment-expected.txt: Added.
        * inspector/editor/highlighter-paste-in-comment.html: Added.
        * inspector/editor/highlighter-test.js: Added.
        (initialize_HighlighterTests.InspectorTest.dumpTextModel):
        (initialize_HighlighterTests):
2011-02-24  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Pavel Feldman.

        Web Inspector: [Text editor] Bug in the highlighter
        https://bugs.webkit.org/show_bug.cgi?id=54876

        Tests: inspector/editor/highlighter-long-line.html
               inspector/editor/highlighter-paste-in-comment.html

        * inspector/front-end/TextEditorHighlighter.js:
        (WebInspector.TextEditorHighlighter):
        (WebInspector.TextEditorHighlighter.prototype.set highlightChunkLimit):
        (WebInspector.TextEditorHighlighter.prototype.updateHighlight):
        (WebInspector.TextEditorHighlighter.prototype._highlightLines):

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

9 years ago2011-02-24 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Thu, 24 Feb 2011 15:51:13 +0000 (15:51 +0000)]
2011-02-24  James Simonsen  <simonjam@chromium.org>

        Reviewed by Tony Gentilcore.

        [Web Timing] Zero out navigationStart and unloadEvent on cross-origin redirect
        https://bugs.webkit.org/show_bug.cgi?id=55068

        * http/tests/misc/resources/webtiming-cross-origin-and-back2.html: Expect navStart and unload to be zero.
        * http/tests/misc/resources/webtiming-cross-origin-redirect.html: Expect navStart to be zero.
        * http/tests/misc/webtiming-origins-expected.txt:
2011-02-24  James Simonsen  <simonjam@chromium.org>

        Reviewed by Tony Gentilcore.

        [Web Timing] Zero out navigationStart and unloadEvent on cross-origin redirect
        https://bugs.webkit.org/show_bug.cgi?id=55068

        Test: http/tests/misc/webtiming-origins.html

        * page/PerformanceTiming.cpp:
        (WebCore::PerformanceTiming::navigationStart): Zero out on cross origin redirect.
        (WebCore::PerformanceTiming::unloadEventStart): Ditto.
        (WebCore::PerformanceTiming::unloadEventEnd): Ditto.

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

9 years ago2011-02-24 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 24 Feb 2011 15:49:31 +0000 (15:49 +0000)]
2011-02-24  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Alexey Proskuryakov.

        Remove pthreads dependecy for JSLock
        https://bugs.webkit.org/show_bug.cgi?id=54832

        JSLock is only needed to support an obsolete execution model where JavaScriptCore
        automatically protected against concurrent access from multiple threads.
        So it's safe to disable it on non-mac platforms where we don't have native pthreads.

        * runtime/JSLock.cpp:

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

9 years ago2011-02-24 Adam Klein <adamk@chromium.org>
commit-queue@webkit.org [Thu, 24 Feb 2011 15:49:15 +0000 (15:49 +0000)]
2011-02-24  Adam Klein  <adamk@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
        https://bugs.webkit.org/show_bug.cgi?id=54516

        Give Chromium's NetworkStateNotifier the ability to change the value
        of m_isOnLine, rather than making it always true.

        No new tests, not sure how to test this. No other LayoutTests seem
        to exercise navigator.onLine.

        * WebCore.gypi:
        * platform/network/NetworkStateNotifier.cpp:
        (WebCore::NetworkStateNotifier::setOnLine): Moved and renamed from NetworkStateNotifierAndroid.
        * platform/network/NetworkStateNotifier.h:
        (WebCore::NetworkStateNotifier::networkStateChange): Forward to setOnLine.
        * platform/network/android/NetworkStateNotifierAndroid.cpp: Removed.
        * platform/network/chromium/NetworkStateNotifierChromium.cpp: Removed.
        * platform/network/chromium/NetworkStateNotifierPrivate.h: Removed.
2011-02-24  Adam Klein  <adamk@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
        https://bugs.webkit.org/show_bug.cgi?id=54516

        Add a new WebNetworkStateNotifier class with a single static method,
        setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier.

        * WebKit.gyp:
        * public/WebNetworkStateNotifier.h: Added.
        * src/WebNetworkStateNotifier.cpp: Added.
        (WebKit::WebNetworkStateNotifier::setOnLine):

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

9 years ago2011-02-24 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Thu, 24 Feb 2011 15:21:50 +0000 (15:21 +0000)]
2011-02-24  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Eric Seidel.

        Support building WebKit with Python 3
        https://bugs.webkit.org/show_bug.cgi?id=55038

        Add support for Python 3 without breaking support for Python 2.

        Main issues:
        -print is a function in Python 3
        -list.sort() no longer have the cmp parameter
        -string.uppercase and string.lowercase have been removed

        * html/parser/create-html-entity-table:
2011-02-24  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Eric Seidel.

        Support building WebKit with Python 3
        https://bugs.webkit.org/show_bug.cgi?id=55038

        Update the generator scripts to support Python 3.

        * Scripts/generate-message-receiver.py: print is a function in Python 3, write the output to
        sys.stdout to be compatible with Python 2 and 3.
        * Scripts/generate-messages-header.py:
        * Scripts/webkit2/messages.py: dist.iteritems does not exist in Python 3, fallback
          to dict.items which is common to Python 2 and 3.

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

9 years agoDon't trigger Windows builds for changes to WebCore.exp.in or the top-level GNUmakefi...
aroben@apple.com [Thu, 24 Feb 2011 15:15:59 +0000 (15:15 +0000)]
Don't trigger Windows builds for changes to WebCore.exp.in or the top-level GNUmakefile.am

Fixes <http://webkit.org/b/55144> Windows builders should not have built r79343 or r79440,
but did

Reviewed by Anders Carlsson.

* Scripts/webkitpy/common/config/build.py:
(_should_file_trigger_build): Loosened the pattern for GNUmakefile.am to include the
top-level GNUmakefile.am, and loosened the pattern for .exp files to include WebCore.exp.in.

* Scripts/webkitpy/common/config/build_unittest.py:
(ShouldBuildTest): Added some more tests.

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

9 years ago2011-02-24 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 24 Feb 2011 15:12:35 +0000 (15:12 +0000)]
2011-02-24  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, fix bad expectation for new test added in r79555.

        * inspector/debugger/scripts-panel-expected.txt:

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

9 years ago2011-02-24 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Thu, 24 Feb 2011 14:56:19 +0000 (14:56 +0000)]
2011-02-24  Chris Fleizach  <cfleizach@apple.com>

        Reviewed by Eric Seidel.

        AX: WebKit should expose MathML at least as well as it exposes ARIA role="math"
        https://bugs.webkit.org/show_bug.cgi?id=55049

        * platform/mac/accessibility/math-alttext-expected.txt: Added.
        * platform/mac/accessibility/math-alttext.html: Added.
2011-02-24  Chris Fleizach  <cfleizach@apple.com>

        Reviewed by Eric Seidel.

        AX: WebKit should expose MathML at least as well as it exposes ARIA role="math"
        https://bugs.webkit.org/show_bug.cgi?id=55049

        Make <math> elements behave as ARIA math roles and use MathML::alttext as a
        possible accessible label.

        Test: platform/mac/accessibility/math-alttext.html

        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::accessibilityDescription):
        (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
        * mathml/mathattrs.in:

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

9 years ago2011-02-24 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 24 Feb 2011 14:51:52 +0000 (14:51 +0000)]
2011-02-24  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: adjust protocol message format according to spec.
        https://bugs.webkit.org/show_bug.cgi?id=55140

        * inspector/CodeGeneratorInspector.pm:

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

9 years agoWindows Production build fix
aroben@apple.com [Thu, 24 Feb 2011 14:48:47 +0000 (14:48 +0000)]
Windows Production build fix

* platform/network/cf/AuthenticationCF.cpp: Add an extra #include as a workaround for
<rdar://problem/9042114>.

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

9 years ago2011-02-23 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 24 Feb 2011 14:43:25 +0000 (14:43 +0000)]
2011-02-23  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: refactor inspect() workflow so that it did not push dom nodes.
        https://bugs.webkit.org/show_bug.cgi?id=55057

        * http/tests/inspector/inspector-test.js:
        (initialize_InspectorTest.InspectorTest.runTestSuite.runner):
        (initialize_InspectorTest.InspectorTest.runTestSuite):
        * inspector/console/command-line-api-inspect-expected.txt: Added.
        * inspector/console/command-line-api-inspect.html: Added.
2011-02-23  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: refactor inspect() workflow so that it did not push dom nodes.
        https://bugs.webkit.org/show_bug.cgi?id=55057

        Test: inspector/console/command-line-api-inspect.html

        I am working on getting rid of DOM agent pushes - everything should happen upon
        front-end request. This patch changes the way we handle inspect() command line
        api: instead of pushing nodes, we are telling front-end that inspect(object) has
        been requested. It is then up to front-end to request dom nodes and focus them in
        the tree. I also made inspect() work in a generic manner, using same routines for
        nodes, databases, storages and potentially new elements.

        As a side-effect, we don't do console.log from within inspect() anymore, but dump
        inspected value as inspect's result.

        Also, I added individual object release method and made object groups optional.

        * bindings/js/JSInjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::scriptValueAsNode):
        (WebCore::InjectedScriptHost::nodeAsScriptValue):
        (WebCore::JSInjectedScriptHost::inspect):
        (WebCore::JSInjectedScriptHost::databaseId):
        (WebCore::JSInjectedScriptHost::storageId):
        * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::scriptValueAsNode):
        (WebCore::InjectedScriptHost::nodeAsScriptValue):
        (WebCore::V8InjectedScriptHost::inspectCallback):
        (WebCore::V8InjectedScriptHost::databaseIdCallback):
        (WebCore::V8InjectedScriptHost::storageIdCallback):
        * inspector/InjectedScript.cpp:
        (WebCore::InjectedScript::nodeForObjectId):
        (WebCore::InjectedScript::releaseObject):
        (WebCore::InjectedScript::wrapForConsole):
        (WebCore::InjectedScript::inspectNode):
        * inspector/InjectedScript.h:
        * inspector/InjectedScriptHost.cpp:
        (WebCore::InjectedScriptHost::inspectImpl):
        (WebCore::InjectedScriptHost::databaseIdImpl):
        (WebCore::InjectedScriptHost::storageIdImpl):
        * inspector/InjectedScriptHost.h:
        * inspector/InjectedScriptHost.idl:
        * inspector/InjectedScriptSource.js:
        * inspector/Inspector.idl:
        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::focusNode):
        * inspector/InspectorDOMAgent.cpp:
        * inspector/InspectorDOMAgent.h:
        * inspector/InspectorDOMStorageAgent.cpp:
        (WebCore::InspectorDOMStorageAgent::storageId):
        (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
        * inspector/InspectorDOMStorageAgent.h:
        * inspector/InspectorDOMStorageResource.cpp:
        * inspector/InspectorDOMStorageResource.h:
        * inspector/InspectorDatabaseAgent.cpp:
        (WebCore::InspectorDatabaseAgent::databaseId):
        * inspector/InspectorDatabaseAgent.h:
        * inspector/InspectorDatabaseResource.cpp:
        * inspector/InspectorDatabaseResource.h:
        * inspector/InspectorRuntimeAgent.cpp:
        (WebCore::InspectorRuntimeAgent::releaseObject):
        * inspector/InspectorRuntimeAgent.h:
        * inspector/front-end/AuditRules.js:
        (WebInspector.AuditRules.evaluateInTargetWindow):
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
        * inspector/front-end/DOMStorage.js:
        * inspector/front-end/Database.js:
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
        * inspector/front-end/inspector.js:
        (WebInspector.inspect):

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

9 years ago2011-02-22 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 24 Feb 2011 14:38:14 +0000 (14:38 +0000)]
2011-02-22  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: refactor "script or resource" mess in scripts panel.
        https://bugs.webkit.org/show_bug.cgi?id=54961

        - Use sourceName instead of scriptOrResource
        - Replace two huge functions _addScriptToFilesMenu and _showScriptOrResource that are
          calling each other recursively with small one-purpose non-recursive functions

        * http/tests/inspector/debugger-test.js:
        (initialize_DebuggerTest.InspectorTest.showScriptSource):
        (initialize_DebuggerTest.InspectorTest._showScriptSource):
        * http/tests/inspector/inspector-test.js:
        (initialize_InspectorTest.InspectorTest.assertEquals):
        (initialize_InspectorTest.InspectorTest.safeWrap):
        * inspector/debugger/resources/script1.js: Added.
        (f1):
        * inspector/debugger/resources/script2.js: Added.
        (f2):
        * inspector/debugger/resources/script3.js: Added.
        (f3):
        * inspector/debugger/scripts-panel-expected.txt: Added.
        * inspector/debugger/scripts-panel.html: Added.
2011-02-22  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: refactor "script or resource" mess in scripts panel.
        https://bugs.webkit.org/show_bug.cgi?id=54961

        - Use sourceName instead of scriptOrResource
        - Replace two huge functions _addScriptToFilesMenu and _showScriptOrResource that are
          calling each other recursively with small one-purpose non-recursive functions

        Test: inspector/debugger/scripts-panel.html

        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype.get defaultFocusedElement):
        (WebInspector.ScriptsPanel.prototype._scriptSourceChanged):
        (WebInspector.ScriptsPanel.prototype._addScript):
        (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelectAndShowSourceFrameIfNeeded):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
        (WebInspector.ScriptsPanel.prototype.reset):
        (WebInspector.ScriptsPanel.prototype.canShowSourceLine):
        (WebInspector.ScriptsPanel.prototype.showSourceLine):
        (WebInspector.ScriptsPanel.prototype._showSourceFrame):
        (WebInspector.ScriptsPanel.prototype._sourceFrameForSourceName):
        (WebInspector.ScriptsPanel.prototype._recreateSourceFrame):
        (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
        (WebInspector.ScriptsPanel.prototype._addItemToBackForwardList):
        (WebInspector.ScriptsPanel.prototype._sourceNameForScript):
        (WebInspector.ScriptsPanel.prototype._scriptForSourceName):
        (WebInspector.ScriptsPanel.prototype._callFrameSelected):
        (WebInspector.ScriptsPanel.prototype._filesSelectChanged):
        (WebInspector.ScriptsPanel.prototype._goBack):
        (WebInspector.ScriptsPanel.prototype._goForward):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.setExecutionLine):

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

9 years ago2011-02-24 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 24 Feb 2011 14:34:08 +0000 (14:34 +0000)]
2011-02-24  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Fragment parsing does not need to use HTMLSourceTracker
        https://bugs.webkit.org/show_bug.cgi?id=55011

        Remove support of XSS-filtering innerHTML content.

        * http/tests/security/xssAuditor/dom-write-innerHTML-expected.txt:
2011-02-24  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Fragment parsing does not need to use HTMLSourceTracker
        https://bugs.webkit.org/show_bug.cgi?id=55011

        Any performance gains from this patch are likely
        the result of working around:
        https://bugs.webkit.org/show_bug.cgi?id=55005
        (Which suggests that fixing bug 55005 will speed
        up normal HTML parsing substantially.)

        Assuming I ran the numbers correct, here is the
        change from PerformanceTests/Parser/tiny-innerHTML:
        Before patch:
        avg 5586.1
        median 5594
        stdev 41.295157101045135
        min 5425
        max 5633

        After Patch:
        avg 2603.9
        median 2609.5
        stdev 32.500615378789355
        min 2475
        max 2649

        Removing just the HTMLSourceTracker calls brought our
        score from 5500 to 5200, removing the XSSFilter as well
        brought it to 2600 on my machine.

        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::HTMLDocumentParser):
        (WebCore::HTMLDocumentParser::pumpTokenizer):
        * html/parser/HTMLDocumentParser.h:

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

9 years ago2011-02-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 24 Feb 2011 14:08:32 +0000 (14:08 +0000)]
2011-02-24  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: beautified inspector test suite output.

        * http/tests/inspector/debugger-test.js:
        (initialize_DebuggerTest.InspectorTest.runDebuggerTestSuite.runner):
        (initialize_DebuggerTest.InspectorTest.runDebuggerTestSuite):
        * http/tests/inspector/inspector-test.js:
        (initialize_InspectorTest.InspectorTest.runTestSuite.runner):
        (initialize_InspectorTest.InspectorTest.runTestSuite):
        * inspector/debugger/source-frame-expected.txt:
        * inspector/elements/insert-node-collapsed-expected.txt:
        * inspector/elements/insert-node-expected.txt:
        * inspector/elements/modify-chardata-expected.txt:
        * inspector/elements/remove-node-expected.txt:
        * inspector/elements/set-attribute-expected.txt:

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

9 years ago2011-02-24 Alexis Menard <alexis.menard@openbossa.org>
andreas.kling@nokia.com [Thu, 24 Feb 2011 13:44:27 +0000 (13:44 +0000)]
2011-02-24  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] tst_QWebView::setPalette(activeFG) fails
        https://bugs.webkit.org/show_bug.cgi?id=55029

        This time it should be the proper fix. The window needs to be shown before we
        call activateWindow() otherwise there is no active windows for the application.

        * tests/qwebview/tst_qwebview.cpp:
        (tst_QWebView::setPalette):

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

9 years ago2011-02-24 Chao-ying Fu <fu@mips.com>
commit-queue@webkit.org [Thu, 24 Feb 2011 13:25:25 +0000 (13:25 +0000)]
2011-02-24  Chao-ying Fu  <fu@mips.com>

        Reviewed by Eric Seidel.

        Fix MIPS build with new patchOffsetPut/GetByIdPropertyMapOffset1/2 values
        https://bugs.webkit.org/show_bug.cgi?id=54997

        * jit/JIT.h:
        * jit/JITStubs.cpp:
        (JSC::JITThunks::JITThunks):

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

9 years ago2011-02-24 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 24 Feb 2011 13:14:06 +0000 (13:14 +0000)]
2011-02-24  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skipping crashing test on GTK

        * platform/gtk/Skipped:

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

9 years ago2011-02-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 24 Feb 2011 13:11:57 +0000 (13:11 +0000)]
2011-02-24  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Chromium Mac test expectations update.

        fast/text/shadow-no-blur.html has been passing for a while.
        http tests have been passing since r79279.
        media/video-display-toggle.html has been passing since r79415.
        svg/text/font-size-below-point-five.svg has been passing since r78844.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-24 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Thu, 24 Feb 2011 12:58:42 +0000 (12:58 +0000)]
2011-02-24  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] MinGW build fails to link
        https://bugs.webkit.org/show_bug.cgi?id=55050

        Prepend the libraries of subcomponents instead of appending them
        to fix the library order according to the dependency of the libraries

        * JavaScriptCore.pri: rename addJavaScriptCore to prependJavaScriptCore
        * jsc.pro: ditto
2011-02-24  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] MinGW build fails to link
        https://bugs.webkit.org/show_bug.cgi?id=55050

        Prepend the libraries of subcomponents instead of appending them
        to fix the library order according to the dependency of the libraries

        * api/QtScript.pro:
2011-02-24  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] MinGW build fails to link
        https://bugs.webkit.org/show_bug.cgi?id=55050

        Prepend the libraries of subcomponents instead of appending them
        to fix the library order according to the dependency of the libraries

        No new tests needed.

        * WebCore.pri:
2011-02-24  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] MinGW build fails to link
        https://bugs.webkit.org/show_bug.cgi?id=55050

        Prepend the libraries of subcomponents instead of appending them
        to fix the library order according to the dependency of the libraries

        * QtWebKit.pro: prepend libraries in the correct order
2011-02-24  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] MinGW build fails to link
        https://bugs.webkit.org/show_bug.cgi?id=55050

        Prepend the libraries of subcomponents instead of appending them
        to fix the library order according to the dependency of the libraries

        * WebKit2.pri:
2011-02-24  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] MinGW build fails to link
        https://bugs.webkit.org/show_bug.cgi?id=55050

        Prepend the libraries of subcomponents instead of appending them
        to fix the library order according to the dependency of the libraries

        * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
        * WebKitTestRunner/qt/WebKitTestRunner.pro:

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

9 years ago2011-02-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 24 Feb 2011 12:52:29 +0000 (12:52 +0000)]
2011-02-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        CSP's script-src should block JavaScript URLs
        https://bugs.webkit.org/show_bug.cgi?id=54787

        Test how various CSP policies affect JavaScript URLs.  We could test
        more contexts in the future, but this is a start.

        * http/tests/security/contentSecurityPolicy/javascript-url-expected.txt: Added.
        * http/tests/security/contentSecurityPolicy/javascript-url.html: Added.
        * http/tests/security/contentSecurityPolicy/resources/javascript-url.pl: Added.
2011-02-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        CSP's script-src should block JavaScript URLs
        https://bugs.webkit.org/show_bug.cgi?id=54787

        Blocking JavaScript URLs required some re-architecting of the lifetime
        of the ContentSecurityPolicy object.  We now manage the lifetime the
        same way we manage the lifetime of the SecurityOrigin object.  In
        particular, when SecurityOrigin inherits into an about:blank iframe, we
        inherit the CSP object as well.  (This is covered by the test added in
        this patch.) In the future, we might consider making
        ContentSecurityPolicy a component of SecurityOrigin instead of a
        component of Document.

        I noted the trickiness in
        http://www.w3.org/Security/wiki/Content_Security_Policies so that we'll
        make sure it gets defined properly in the spec.

        Test: http/tests/security/contentSecurityPolicy/javascript-url.html

        * bindings/ScriptControllerBase.cpp:
        (WebCore::ScriptController::executeIfJavaScriptURL):
        * dom/Document.cpp:
        (WebCore::Document::initSecurityContext):
        * dom/Document.h:
        (WebCore::Document::contentSecurityPolicy):
        * page/ContentSecurityPolicy.cpp:
        (WebCore::ContentSecurityPolicy::allowJavaScriptURLs):
        * page/ContentSecurityPolicy.h:
        (WebCore::ContentSecurityPolicy::create):

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

9 years ago2011-02-21 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 24 Feb 2011 12:47:40 +0000 (12:47 +0000)]
2011-02-21  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Martin Robinson.

        [GStreamer] GRefPtr support for GstElement
        https://bugs.webkit.org/show_bug.cgi?id=54870

        * CMakeListsEfl.txt:
        * GNUmakefile.am:
        * platform/graphics/gstreamer/GRefPtrGStreamer.cpp: Added.
        (WTF::GstElement):
        * platform/graphics/gstreamer/GRefPtrGStreamer.h: Added.
        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
        (webKitWebSrcQuery):

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

9 years ago[Qt] Remove ARMv5 Release buildbot.
ossy@webkit.org [Thu, 24 Feb 2011 12:39:51 +0000 (12:39 +0000)]
[Qt] Remove ARMv5 Release buildbot.

Patch by Gabor Loki <loki@webkit.org> on 2011-02-24
Reviewed by Csaba Osztrogon√°c.

Remove ARMv5 Release buildbot, because there is very little difference
between ARMv5 and ARMv7 Release bots, and there is also very little
interest in ARMv5 build slave (compared to ARMv7).

* BuildSlaveSupport/build.webkit.org-config/config.json:
* Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

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

9 years ago2011-02-24 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Thu, 24 Feb 2011 12:33:14 +0000 (12:33 +0000)]
2011-02-24  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogon√°c.

        [Qt] REGRESSION(69304): WKNativeEvent.h forwarding header is always regenerated
        https://bugs.webkit.org/show_bug.cgi?id=47589

        In case of file name clashes only generate forwarding header for the current platform.

        * Scripts/generate-forwarding-headers.pl:

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

9 years ago2011-02-24 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Thu, 24 Feb 2011 12:31:15 +0000 (12:31 +0000)]
2011-02-24  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Share code between elementFromPoint and caretRangeFromPoint in Document.
        https://bugs.webkit.org/show_bug.cgi?id=54610

        Eliminate duplicate code by moving shared logic from elementFromPoint and
        caretRangeFromPoint into helper function.

        * dom/Document.cpp:
        (WebCore::nodeFromPoint):
        (WebCore::Document::elementFromPoint):
        (WebCore::Document::caretRangeFromPoint):

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

9 years ago2011-02-24 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 24 Feb 2011 11:57:03 +0000 (11:57 +0000)]
2011-02-24  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed build fix.

        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::removeAttribute):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::cachedResources):
        * inspector/InspectorRuntimeAgent.cpp:
        (WebCore::InspectorRuntimeAgent::evaluate):

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

9 years ago2011-02-24 Zan Dobersek <zandobersek@gmail.com>
commit-queue@webkit.org [Thu, 24 Feb 2011 11:51:36 +0000 (11:51 +0000)]
2011-02-24  Zan Dobersek  <zandobersek@gmail.com>

        Reviewed by Eric Seidel.

        [gtk] Failing collinear arcTo canvas tests
        https://bugs.webkit.org/show_bug.cgi?id=54658

        Enable two more tests that pass after adding collinearity check
        when drawing arcTo in canvas.

        * platform/gtk/Skipped:
2011-02-24  Zan Dobersek  <zandobersek@gmail.com>

        Reviewed by Eric Seidel.

        [gtk] Failing collinear arcTo canvas tests
        https://bugs.webkit.org/show_bug.cgi?id=54658

        Check for collinearity of the three points that affect how arcTo call
        results. This behavior is in accordance with the HTML standard.

        No new tests added as this is already covered by at least two tests.

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

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

9 years ago2011-02-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 24 Feb 2011 11:50:28 +0000 (11:50 +0000)]
2011-02-24  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Chromium test expectations update.
        Removed tests that have been passing since r79478.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-24 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 24 Feb 2011 11:43:39 +0000 (11:43 +0000)]
2011-02-24  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: There is a validator of the protocol message format.

        It has two parts. InspectorBackendStub.js is the frontend part.
        InspectorBackendDispatcher.cpp is the backend part.
        Both parts are checking protocol message format and report the error if
        the message has not enough fields or the types of fields do not match with
        Inspector.idl specification. These validators are generated automatically.

        In addition, we have a number of places at the backend where we check the
        function arguments and do nothing if the arguments are invalid
        from the business logic point of view.

        This patch bring us an ability to report a custom error from such function to the frontend.

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

        * inspector/CodeGeneratorInspector.pm:
        * inspector/InjectedScriptHost.cpp:
        * inspector/InspectorAgent.cpp:
        * inspector/InspectorAgent.h:
        * inspector/InspectorApplicationCacheAgent.cpp:
        * inspector/InspectorApplicationCacheAgent.h:
        * inspector/InspectorBrowserDebuggerAgent.cpp:
        * inspector/InspectorBrowserDebuggerAgent.h:
        * inspector/InspectorCSSAgent.cpp:
        * inspector/InspectorCSSAgent.h:
        * inspector/InspectorConsoleAgent.cpp:
        * inspector/InspectorConsoleAgent.h:
        * inspector/InspectorController.cpp:
        * inspector/InspectorDOMAgent.cpp:
        * inspector/InspectorDOMAgent.h:
        * inspector/InspectorDOMStorageAgent.cpp:
        * inspector/InspectorDOMStorageAgent.h:
        * inspector/InspectorDatabaseAgent.cpp:
        * inspector/InspectorDatabaseAgent.h:
        * inspector/InspectorDebuggerAgent.cpp:
        * inspector/InspectorDebuggerAgent.h:
        * inspector/InspectorProfilerAgent.cpp:
        * inspector/InspectorProfilerAgent.h:
        * inspector/InspectorResourceAgent.cpp:
        * inspector/InspectorResourceAgent.h:
        * inspector/InspectorRuntimeAgent.cpp:
        * inspector/InspectorRuntimeAgent.h:
        * inspector/InspectorTimelineAgent.cpp:
        * inspector/InspectorTimelineAgent.h:

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

9 years ago2011-02-24 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 24 Feb 2011 11:25:34 +0000 (11:25 +0000)]
2011-02-24  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Deque<T> should support inline capacity
        https://bugs.webkit.org/show_bug.cgi?id=55032

        The title says it all.  There are currently no places
        which use this code yet, however it's been tested in conjunction
        with code for bug 55005.

        This also adds an ASSERT that capacity is never 1.  If you were able
        to set the capacity equal to 1, the Deque would just get confused
        and happily append your item but still think it had size 0.

        * wtf/Deque.h:
        (WTF::DequeIterator::DequeIterator):
        (WTF::DequeConstIterator::DequeConstIterator):
        (WTF::DequeReverseIterator::DequeReverseIterator):
        (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
        (WTF::::checkValidity):
        (WTF::::checkIndexValidity):
        (WTF::::invalidateIterators):
        (WTF::::Deque):
        (WTF::deleteAllValues):
        (WTF::::operator):
        (WTF::::destroyAll):
        (WTF::::~Deque):
        (WTF::::swap):
        (WTF::::clear):
        (WTF::::findIf):
        (WTF::::expandCapacityIfNeeded):
        (WTF::::expandCapacity):
        (WTF::::takeFirst):
        (WTF::::append):
        (WTF::::prepend):
        (WTF::::removeFirst):
        (WTF::::remove):
        (WTF::::addToIteratorsList):
        (WTF::::removeFromIteratorsList):
        (WTF::::DequeIteratorBase):
        (WTF::::~DequeIteratorBase):
        (WTF::::isEqual):
        (WTF::::increment):
        (WTF::::decrement):
        (WTF::::after):
        (WTF::::before):
        * wtf/Vector.h:

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

9 years ago[GTK] webkitgtk 1.3.7 build without translations
christian@webkit.org [Thu, 24 Feb 2011 11:22:00 +0000 (11:22 +0000)]
[GTK] webkitgtk 1.3.7 build without translations
https://bugs.webkit.org/show_bug.cgi?id=50612

Rubber-stamped by Eric Seidel.

* GNUmakefile.am: Require stamp-po target for all-local so
    that po files are built before they install.

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

9 years ago2011-02-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 24 Feb 2011 11:09:14 +0000 (11:09 +0000)]
2011-02-24  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Ojan Vafai.

        Crash when deleting inside a blockquote with a large offset
        https://bugs.webkit.org/show_bug.cgi?id=55098

        The bug was caused by inconsistency in lineBreakExistsAtPosition and breakOutOfEmptyMailBlockquotedParagraph.
        While lineBreakExistsAtPosition was checking that a line break exists at the downstream of the given position,
        breakOutOfEmptyMailBlockquotedParagraph wasn't using the downstream for caretPos. Fixed the bug by using
        the downstream position to instantiate caretPos.

        Co-author: Abhishek Arya <inferno@chromium.org>.

        Test: editing/deleting/delete-blockquote-large-offsets.html

        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph):
2011-02-24  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Ojan Vafai.

        Crash when deleting inside a blockquote with a large offset
        https://bugs.webkit.org/show_bug.cgi?id=55098

        Added a test to ensure WebKit doesn't crash when deleting line inside a blockquote
        and the caret is programmatically set to have a large offset.

        Co-author: Abhishek Arya <inferno@chromium.org>.

        * editing/deleting/delete-blockquote-large-offsets-expected.txt: Added.
        * editing/deleting/delete-blockquote-large-offsets.html: Added.

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

9 years ago2011-02-24 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 24 Feb 2011 11:03:40 +0000 (11:03 +0000)]
2011-02-24  MORITA Hajime  <morrita@google.com>

        Unreviewed test_expectations.txt update

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-24 Robert Kroeger <rjkroege@chromium.org>
commit-queue@webkit.org [Thu, 24 Feb 2011 10:57:28 +0000 (10:57 +0000)]
2011-02-24  Robert Kroeger  <rjkroege@chromium.org>

        Reviewed by Darin Fisher.

        Added timestamps to PlatformTouchEvent etc.

        PlatformTouchEvent doesn't have a timestamp and so
        eventSender.leapForward cannot be used for touchevent based tests.
        This change adds a timestamp to PlatformTouchEvent and initializes
        it in a reasonable manner on Android and Qt platforms.

        [chromium] [WebCore] [android] Touch events are missing time stamps
        https://bugs.webkit.org/show_bug.cgi?id=53510

        * platform/PlatformTouchEvent.h:
        (WebCore::PlatformTouchEvent::PlatformTouchEvent):
        (WebCore::PlatformTouchEvent::timestamp):
        * platform/android/PlatformTouchEventAndroid.cpp:
        (WebCore::PlatformTouchEvent::PlatformTouchEvent):
        * platform/qt/PlatformTouchEventQt.cpp:
        (WebCore::PlatformTouchEvent::PlatformTouchEvent):
2011-02-24  Robert Kroeger <rjkroege@chromium.org>

        Reviewed by Darin Fisher.

        Added timestamps to PlatformTouchEvent etc.

        PlatformTouchEvent doesn't have a timestamp and so
        eventSender.leapForward cannot be used for touchevent based tests.
        This change constructs PlatformTouchEvents with timestamps
        provided from a WebTouchEvent on chromium. It also adds an enum
        to make code referring to specific WebTouchPoints easier to read.

        [chromium] [WebCore] [android] Touch events are missing time stamps
        https://bugs.webkit.org/show_bug.cgi?id=53510

        * public/WebTouchPoint.h:
        (WebKit::WebTouchPoint::WebTouchPoint):
        * src/WebInputEventConversion.cpp:
        (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):

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

9 years ago2011-02-24 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 24 Feb 2011 10:49:22 +0000 (10:49 +0000)]
2011-02-24  Andreas Kling  <kling@webkit.org>

        Unreviewed Qt rebaseline.

        * platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt:

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

9 years ago2011-02-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 24 Feb 2011 10:36:55 +0000 (10:36 +0000)]
2011-02-24  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Mac rebaselines for r79490 and r79493.

        * fast/repaint/text-emphasis-h-expected.txt:
        * platform/mac/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt:

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

9 years ago2011-02-24 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 24 Feb 2011 10:24:26 +0000 (10:24 +0000)]
2011-02-24  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, unskip 2 fixed SVG tests on GTK after r79530.

        * platform/gtk/Skipped:

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

9 years agoUnreviewed GTK, Snow Leopard build fix for r79474.
reni@webkit.org [Thu, 24 Feb 2011 10:21:17 +0000 (10:21 +0000)]
Unreviewed GTK, Snow Leopard build fix for r79474.

* platform/graphics/filters/FEConvolveMatrix.cpp:
(WebCore::FEConvolveMatrix::setKernelUnitLength):
* platform/graphics/filters/FEConvolveMatrix.h:

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

9 years ago2011-02-24 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 24 Feb 2011 10:18:01 +0000 (10:18 +0000)]
2011-02-24 MORITA Hajime  <morrita@google.com>

        Unreviewed skipping failing tests. (r79517 removed too many.)

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-24 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 24 Feb 2011 10:12:50 +0000 (10:12 +0000)]
2011-02-24  Philippe Normand  <pnormand@igalia.com>

        Unreviewed; skip canvas/philip/tests/2d.imageData.object.round.html and
        canvas/philip/tests/2d.imageData.object.wrap.html on GTK.

        They were passing before r79501.

        * platform/gtk/Skipped:

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

9 years ago2011-02-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 24 Feb 2011 10:00:14 +0000 (10:00 +0000)]
2011-02-24  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; skip canvas/philip/tests/2d.imageData.object.round.html and
        canvas/philip/tests/2d.imageData.object.wrap.html on Mac.

        It was removed from the skipped list in r64156 but it wasn't added back
        when r79501 reverted it.

        * platform/mac/Skipped:

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

9 years ago2011-02-24 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 24 Feb 2011 09:34:15 +0000 (09:34 +0000)]
2011-02-24  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        Use IntRect instead of a pointer to a GtkAllocation struct to avoid
        unnecessary memory allocations.

        * plugins/PluginView.h:
        * plugins/gtk/PluginViewGtk.cpp:
        (WebCore::PluginView::setNPWindowIfNeeded):
        (WebCore::PluginView::plugAddedCallback):

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

9 years ago2011-02-24 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 24 Feb 2011 09:30:09 +0000 (09:30 +0000)]
2011-02-24  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip flaky media test on GTK.

        * platform/gtk/Skipped:

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

9 years ago2011-02-24 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 24 Feb 2011 09:05:39 +0000 (09:05 +0000)]
2011-02-24  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix the build with GTK+ 3.

        * plugins/PluginView.h:

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

9 years ago2011-02-24 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 24 Feb 2011 08:55:57 +0000 (08:55 +0000)]
2011-02-24  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skipping 2 GTK+ SVG crashing tests.

        * platform/gtk/Skipped:

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

9 years ago2011-02-24 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 24 Feb 2011 08:22:31 +0000 (08:22 +0000)]
2011-02-24  MORITA Hajime  <morrita@google.com>

        Unreviewed skipping failing tests.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-23 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 24 Feb 2011 08:20:16 +0000 (08:20 +0000)]
2011-02-23  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Refactor HTMLEquivalent into a hierachy of classes
        https://bugs.webkit.org/show_bug.cgi?id=55025

        Converted HTMLEquivalent into a class.  Some logic in removeImplicitlyStyledElement is
        extracted as member functions of HTMLEquivalent and its subclasses.

        * editing/ApplyStyleCommand.cpp:
        (WebCore::HTMLEquivalent::create): Added.
        (WebCore::HTMLEquivalent::~HTMLEquivalent): Added.
        (WebCore::HTMLEquivalent::matches): Returns true if the element is an equivalent, meaning that
        the element's implicit style affects the property of this equivalence.
        (WebCore::HTMLEquivalent::hasAttribute): Returns true if this equivalence requires attributes;
        e.g. color, size, dir.
        (WebCore::HTMLEquivalent::propertyExistsInStyle): Returns true if the property of this equivalence
        exists in the specified style. e.g. if this equivalence is for size attribute and font-size property,
        this function returns true if the specified style has font-size property set.
        (WebCore::HTMLEquivalent::HTMLEquivalent): Added.
        (WebCore::HTMLEquivalent::valueIsPresentInStyle): Returns true if the specified style has the
        implicit style of the specified element of this equivalence.
        (WebCore::HTMLEquivalent::addToStyle): Adds the implicit style of the element of this equivalence
        to the specified mutable style.
        (WebCore::HTMLEquivalentValueList::create): Added.
        (WebCore::HTMLEquivalentValueList::HTMLEquivalentValueList): Added.
        (WebCore::HTMLEquivalentValueList::valueIsPresentInStyle): Added.
        (WebCore::HTMLEquivalentAttribute::create): Added.
        (WebCore::HTMLEquivalentAttribute::matches): Added.
        (WebCore::HTMLEquivalentAttribute::hasAttribute): Added.
        (WebCore::HTMLEquivalentAttribute::attributeName): Added.
        (WebCore::HTMLEquivalentAttribute::HTMLEquivalentAttribute): Added.
        (WebCore::HTMLEquivalentAttribute::valueIsPresentInStyle): Added.
        (WebCore::HTMLEquivalentAttribute::addToStyle): Added.
        (WebCore::HTMLEquivalentAttribute::attributeValueAsCSSValue): Added.
        (WebCore::HTMLEquivalentFontSizeAttribute::create): Added.
        (WebCore::HTMLEquivalentFontSizeAttribute::HTMLEquivalentFontSizeAttribute): Added.
        (WebCore::HTMLEquivalentFontSizeAttribute::attributeValueAsCSSValue): Added.
        (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement): Uses new classes.

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

9 years ago2011-02-22 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 24 Feb 2011 08:13:44 +0000 (08:13 +0000)]
2011-02-22  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        fix revision number finding when creating git patches
        https://bugs.webkit.org/show_bug.cgi?id=55024

        HEAD~n does not walk merge commits correctly. git log however does.

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

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

9 years ago2011-02-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 24 Feb 2011 07:56:52 +0000 (07:56 +0000)]
2011-02-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Ojan Vafai.

        Add missing files to JavaScriptCore.gypi
        https://bugs.webkit.org/show_bug.cgi?id=55020

        gypi files are supposed to list every file under the sun.  This patch
        adds some missing files and sorts the rest.

        * JavaScriptCore.gypi:

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

9 years agoUnreviewed, rolling out r79510.
ossy@webkit.org [Thu, 24 Feb 2011 07:03:30 +0000 (07:03 +0000)]
Unreviewed, rolling out r79510.
http://trac.webkit.org/changeset/79510
https://bugs.webkit.org/show_bug.cgi?id=55114

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-02-23
It made ~200 tests crash on Qt bot (Requested by Ossy_ on
#webkit).

* platform/text/TextBreakIterator.h:
* platform/text/TextBreakIteratorICU.cpp:
(WebCore::lineBreakIterator):
* platform/text/qt/TextBreakIteratorQt.cpp:
(WebCore::lineBreakIterator):
* rendering/RenderBlock.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::findNextLineBreak):
* rendering/RenderText.cpp:
(WebCore::RenderText::computePreferredLogicalWidths):
* rendering/break_lines.cpp:
(WebCore::nextBreakablePosition):
* rendering/break_lines.h:
(WebCore::isBreakable):

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

9 years ago2011-02-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 24 Feb 2011 06:05:23 +0000 (06:05 +0000)]
2011-02-23  MORITA Hajime <morrita@google.com>

        Unreviewed unskipping another passed tests.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 24 Feb 2011 05:14:42 +0000 (05:14 +0000)]
2011-02-23  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline a couple GTK+ test results.

        * platform/gtk/fast/repaint/text-emphasis-h-expected.txt:
        * platform/gtk/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt:

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

9 years ago2011-02-23 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 24 Feb 2011 04:21:56 +0000 (04:21 +0000)]
2011-02-23  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        autocomplete=off prevents refilling form fields on back/forward navigation
        https://bugs.webkit.org/show_bug.cgi?id=47463

        I haven't actually run this patch due to the difficulty of getting
        a bugzilla instance running. It's simple enough code that I'm not too worried
        about it.

        * committers-autocomplete.js:

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

9 years ago2011-02-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 24 Feb 2011 03:38:48 +0000 (03:38 +0000)]
2011-02-23  MORITA Hajime  <morrita@google.com>

        Unreviewed unskipping passed tests.

        * platform/chromium/test_expectations.txt:

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

9 years agoUsed svn merge -r79502:79501 to roll out r79502 because it broke the
ggaren@apple.com [Thu, 24 Feb 2011 02:12:57 +0000 (02:12 +0000)]
Used svn merge -r79502:79501 to roll out r79502 because it broke the
SnowLeopard and Leopard builds.

Reviewed by Mark Rowe.

* WebCore.xcodeproj/project.pbxproj:
* platform/mac/HTMLConverter.h: Removed.
* platform/mac/HTMLConverter.mm: Removed.
* platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::writeSelection):

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

9 years ago2011-02-23 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Thu, 24 Feb 2011 01:56:34 +0000 (01:56 +0000)]
2011-02-23  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Darin Adler.

        Refactored MarkedSpace to operate in terms of size classes
        https://bugs.webkit.org/show_bug.cgi?id=55106

        SunSpider reports no change.

        * runtime/JSCell.h:
        (JSC::JSCell::MarkedSpace::sizeClassFor):
        (JSC::JSCell::MarkedSpace::allocate): Delegate allocation based on size
        class. Since these functions are inline, the compiler can constant fold
        them.

        * runtime/MarkedBlock.h:
        (JSC::MarkedBlock::cellSize):
        (JSC::MarkedBlock::size): Factored out a cellSize() helper.

        * runtime/MarkedSpace.cpp:
        (JSC::MarkedSpace::allocateBlock):
        (JSC::MarkedSpace::allocateFromSizeClass):
        (JSC::MarkedSpace::shrink):
        (JSC::MarkedSpace::reset):
        * runtime/MarkedSpace.h:
        (JSC::MarkedSpace::SizeClass::SizeClass):
        (JSC::MarkedSpace::SizeClass::reset): Changed to operate in terms of
        abstract SizeClass objects, which are independent linked lists of blocks
        of a certain size class, instead of a single m_heap object.

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

9 years agoFix for <rdar://problem/9002157> Garbage in the bottom right corner of the window
bdakin@apple.com [Thu, 24 Feb 2011 01:47:24 +0000 (01:47 +0000)]
Fix for <rdar://problem/9002157> Garbage in the bottom right corner of the window
when scrolling

Reviewed by Dan Bernstein.

When there is both a horizontal and a vertical scrollbar, it is necessary to
include the space between them in the invalidation.
* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::setScrollOffsetFromAnimation):

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

9 years agoMinimize calls to ubrk_setText()
mitz@apple.com [Thu, 24 Feb 2011 01:45:06 +0000 (01:45 +0000)]
Minimize calls to ubrk_setText()
https://bugs.webkit.org/show_bug.cgi?id=54912
<rdar://problem/9032774>

Patch by Ned Holbrook <nholbrook@apple.com> on 2011-02-23
Reviewed by Dan Bernstein.

Avoid calling ubrk_setText() once per call to isBreakable() by using a LazyLineBreakIterator, which defers
break iterator creation until needed. This requires replacing the global line break iterator primitive with a
version that can be nested, since in some cases two iterators may need to be outstanding. In particular,
layoutInlineChildren() may indirectly call computePreferredLogicalWidths() and each may need an iterator.
In a test with a paragraph of Japanese text, this reduced the number of ubrk_setText() calls from 164 to 1.

* platform/text/TextBreakIterator.h: Add LazyLineBreakIterator.
(WebCore::LazyLineBreakIterator::LazyLineBreakIterator):
(WebCore::LazyLineBreakIterator::~LazyLineBreakIterator):
(WebCore::LazyLineBreakIterator::string):
(WebCore::LazyLineBreakIterator::length):
(WebCore::LazyLineBreakIterator::get):
(WebCore::LazyLineBreakIterator::reset):
* platform/text/TextBreakIteratorICU.cpp: Replace lineBreakIterator() primitive with acquireLineBreakIterator()/releaseLineBreakIterator().
(WebCore::acquireLineBreakIterator):
(WebCore::releaseLineBreakIterator):
* platform/text/qt/TextBreakIteratorQt.cpp: Ditto TextBreakIteratorICU.cpp.
(WebCore::acquireLineBreakIterator):
(WebCore::releaseLineBreakIterator):
* rendering/RenderBlock.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren): Pass a mapping of RenderText to LazyLineBreakIterator from one call of findNextLineBreak() to the next.
(WebCore::RenderBlock::findNextLineBreak): Use said mapping, resetting LazyLineBreakIterator for any newly-encountered RenderText.
* rendering/RenderText.cpp: Use a local LazyLineBreakIterator.
(WebCore::RenderText::computePreferredLogicalWidths):
* rendering/break_lines.cpp: Accept LazyLineBreakIterator rather than TextBreakIterator.
(WebCore::nextBreakablePosition):
* rendering/break_lines.h: Accept LazyLineBreakIterator rather than TextBreakIterator.
(WebCore::isBreakable):

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

9 years ago2011-02-23 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 24 Feb 2011 01:40:24 +0000 (01:40 +0000)]
2011-02-23  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Remove some of the old accelerated compositing code
        https://bugs.webkit.org/show_bug.cgi?id=55084

        * UIProcess/API/mac/PageClientImpl.h:
        * UIProcess/API/mac/PageClientImpl.mm:
        (WebKit::PageClientImpl::exitAcceleratedCompositingMode):
        * UIProcess/API/mac/WKView.mm:
        * UIProcess/API/mac/WKViewInternal.h:
        * UIProcess/API/qt/qwkpage_p.h:
        * UIProcess/PageClient.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::exitAcceleratedCompositingMode):
        * UIProcess/WebPageProxy.h:
        * UIProcess/WebPageProxy.messages.in:
        * UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm:
        (WebKit::LayerBackedDrawingAreaProxy::attachCompositingContext):
        (WebKit::LayerBackedDrawingAreaProxy::detachCompositingContext):
        * UIProcess/win/WebView.cpp:
        * UIProcess/win/WebView.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::enterAcceleratedCompositingMode):
        (WebKit::WebPage::exitAcceleratedCompositingMode):
        * WebProcess/WebPage/WebPage.h:

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

9 years agoFix build.
andersca@apple.com [Thu, 24 Feb 2011 01:28:59 +0000 (01:28 +0000)]
Fix build.

* platform/mac/HTMLConverter.h:

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

9 years ago2011-02-23 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Thu, 24 Feb 2011 01:20:57 +0000 (01:20 +0000)]
2011-02-23  Emil A Eklund  <eae@chromium.org>

        Unreviewed.

        Add myself to the list of committers.

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

9 years agoRemoved outdated/incorrect chromium baselins. Unreviewed.
atwilson@chromium.org [Thu, 24 Feb 2011 01:00:06 +0000 (01:00 +0000)]
Removed outdated/incorrect chromium baselins. Unreviewed.

* platform/chromium-mac-leopard/editing/deleting/delete-tab-003-expected.txt: Removed.
* platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-001-expected.txt: Removed.
* platform/chromium-mac-leopard/editing/inserting/insert-tab-003-expected.txt: Removed.
* platform/chromium-mac-leopard/editing/selection/select-from-textfield-outwards-expected.txt: Removed.
* platform/chromium/test_expectations.txt:

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

9 years ago2011-02-23 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 24 Feb 2011 00:49:50 +0000 (00:49 +0000)]
2011-02-23  James Robinson  <jamesr@chromium.org>

        Update chromium expectations for fast/repaint/text-emphasis-h.html

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-23 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 24 Feb 2011 00:23:35 +0000 (00:23 +0000)]
2011-02-23  James Robinson  <jamesr@chromium.org>

        Update chromium baselines and expectations.

        * platform/chromium-mac/fast/repaint/text-emphasis-h-expected.txt: Added.
        * platform/chromium-mac/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt: Added.
        * platform/chromium-win/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 24 Feb 2011 00:18:05 +0000 (00:18 +0000)]
2011-02-23  Adam Barth  <abarth@webkit.org>

        Reviewed by James Robinson.

        [Chromium] Use WebKitClient for OSRandomSource instead of trying to talk to the file system in the sandbox
        https://bugs.webkit.org/show_bug.cgi?id=55093

        Exclude OSRandomSource.cpp from the Chromium build.  This function is
        implemented in WebKit/chromium/src instead.

        * JavaScriptCore.gyp/JavaScriptCore.gyp:
2011-02-23  Adam Barth  <abarth@webkit.org>

        Reviewed by James Robinson.

        [Chromium] Use WebKitClient for OSRandomSource instead of trying to talk to the file system in the sandbox
        https://bugs.webkit.org/show_bug.cgi?id=55093

        We need to get OS randomness from the WebKit client rather than try to
        get it from /dev/urandom directly because WebKit doesn't have access to
        the file system when running inside the Chromium sandbox.

        * WebKit.gyp:
        * src/ChromiumOSRandomSource.cpp: Added.

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

9 years agoREGRESSION: Copied content loses formatting on paste to external apps.
enrica@apple.com [Thu, 24 Feb 2011 00:09:02 +0000 (00:09 +0000)]
REGRESSION: Copied content loses formatting on paste to external apps.
https://bugs.webkit.org/show_bug.cgi?id=47615
<rdar://problem/9001214>

Reviewed by Darin Adler.

This patch adds a way for WebKit2 to create NSAttributedStrings from
a DOM range without using the AppKit api initWithDOMRange that internally
needs to access the WebView. The NSAttributedString is needed to create
RTF formats in the pasteboard.
This is to be considered a first step, since in the future we want to have
an implementation based on the TextIterator.

* WebCore.xcodeproj/project.pbxproj: Added new file.
* platform/mac/HTMLConverter.h: Added.
* platform/mac/HTMLConverter.mm: Added.
* platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::writeSelection): We now use WebHTMLConverter
class for WebKit2 to create the NSAttributedString from the DOM range.

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

9 years agoRoll out r64156 as it introduces incorrect behaviour.
oliver@apple.com [Thu, 24 Feb 2011 00:04:41 +0000 (00:04 +0000)]
Roll out r64156 as it introduces incorrect behaviour.

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

9 years ago2011-02-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 24 Feb 2011 00:02:56 +0000 (00:02 +0000)]
2011-02-23  Adam Barth  <abarth@webkit.org>

        Reviewed by James Robinson.

        Roll Chromium DEPS
        https://bugs.webkit.org/show_bug.cgi?id=55096

        Rolling to the future, like a truck.

        * DEPS:

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

9 years agoReverting an unintentional change that was part of http://trac.webkit.org/changeset...
enrica@apple.com [Wed, 23 Feb 2011 23:57:05 +0000 (23:57 +0000)]
Reverting an unintentional change that was part of trac.webkit.org/changeset/79494.
Unreviewed.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::interceptEditingKeyboardEvent):

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

9 years agoUnreviewed removal of superfluous chromium expectations.
atwilson@chromium.org [Wed, 23 Feb 2011 23:34:12 +0000 (23:34 +0000)]
Unreviewed removal of superfluous chromium expectations.

* platform/chromium-mac/editing/selection/move-past-trailing-space-expected.checksum: Removed.
* platform/chromium-mac/editing/style/create-block-for-style-011-expected.checksum: Removed.
* platform/chromium-mac/editing/style/create-block-for-style-011-expected.png: Removed.
* platform/chromium-mac/editing/style/create-block-for-style-012-expected.checksum: Removed.
* platform/chromium-mac/editing/style/create-block-for-style-012-expected.png: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-horizontal-expected.checksum: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-horizontal-expected.png: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.checksum: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.checksum: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.png: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-vertical-expected.checksum: Removed.
* platform/chromium-mac/fast/repaint/shadow-multiple-vertical-expected.png: Removed.
* platform/chromium-mac/fast/text/trailing-white-space-2-expected.checksum: Removed.
* platform/chromium-mac/fast/text/trailing-white-space-expected.checksum: Removed.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with...
hyatt@apple.com [Wed, 23 Feb 2011 23:27:01 +0000 (23:27 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.

Reviewed by Sam Weinig.

Patch computePositionedLogicalHeightUsing to be writing-mode-aware.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidthUsing):
(WebCore::RenderBox::computePositionedLogicalHeightUsing):
* rendering/RenderBox.h:

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

9 years ago2011-02-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Feb 2011 23:19:18 +0000 (23:19 +0000)]
2011-02-23  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed. Revert incorrect baseline added by r79473.

        * platform/mac-leopard/fast/forms/text-control-intrinsic-widths-expected.txt: Removed.

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

9 years ago2011-02-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 23 Feb 2011 23:05:22 +0000 (23:05 +0000)]
2011-02-23  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] Flash item placed on wrong location right after load
        https://bugs.webkit.org/show_bug.cgi?id=37769

        If a plugin is GtkSocket based, do not set the widget allocation until the
        window is actually embedded in the parent. When the window is embedded, use
        any pending allocation for the call to gtk_widget_size_allocate. This bug
        seems to only appear with Flash movies loaded as the src of an iframe.

        * manual-tests/plugins/windowed-in-iframe.html: Added.
        * plugins/PluginView.h: Add a few new members to track window embedding state.
        * plugins/gtk/PluginViewGtk.cpp:
        (WebCore::PluginView::setNPWindowIfNeeded): If this is a GtkSocket-based plugin
        wait until the plug-added signal fires to set the widget allocation.
        (WebCore::PluginView::plugAddedCallback): Updated to be a static method, so that
        we can access private members. If there is a pending allocation, call gtk_widget_size_allocate
        with it.
        (WebCore::PluginView::platformStart): Update the plugin state, so that we do not
        call gtk_widget_size_allocate if the window isn't embedded.

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

9 years agoSource/WebCore: Mac OS X Services are not available for selected text in WebKit2...
enrica@apple.com [Wed, 23 Feb 2011 22:56:48 +0000 (22:56 +0000)]
Source/WebCore: Mac OS X Services are not available for selected text in WebKit2 windows.
https://bugs.webkit.org/show_bug.cgi?id=54777
<rdar://problem/8666428>

Reviewed by Adam Roben.

The changes to WebCore for this bug are limited to exposing a new
entry point in the Editor class to write to the pasteboard and
changes to the Pasteboard class to write the selection with
a given set of pasteboard types. The majority of the work
is done in WebKit2.

* WebCore.exp.in:
* editing/Editor.h:
* editing/mac/EditorMac.mm: Added entrypoint to write the
selection to the pasteboard.
(WebCore::Editor::writeSelectionToPasteboard):
* platform/Pasteboard.h:
* platform/mac/ClipboardMac.mm:
(WebCore::ClipboardMac::writeRange):
* platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::writeSelection):

Source/WebKit2: Mac OS X Services are not available for selected text in WebKit2 windows.
https://bugs.webkit.org/show_bug.cgi?id=54777
<rdar://problem/8666428>

Reviewed by Adam Roben.

This patch adds support for Mac OS X Services in WebKit2 windows.
In WKView we now call registerServicesMenuSendTypes providing the
pasteboard types supported by WebKit and we also implement the two
protocol methods required to validate the send type and write the
content to the pasteboard. Unfortunately, AppKit expects the content
to be available in the pasteboard upon return from writeSelectionToPasteboard and
this is the reason why the call to the WebProcess is synchronous.

* Shared/SelectionState.h:
(WebKit::SelectionState::SelectionState): Extended to include
isContentRichlyEditable
* Shared/mac/PasteboardTypes.h:
* Shared/mac/PasteboardTypes.mm:
(WebKit::PasteboardTypes::forSelection): Added.
* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:contextRef:pageGroupRef:]): Added call
to registerServicesMenuSendTypes.
(-[WKView writeSelectionToPasteboard:types:]): Added.
(-[WKView validRequestorForSendType:returnType:]): Added.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::writeSelectionToPasteboard):
* UIProcess/WebPageProxy.h:
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::respondToChangedSelection): Modified to
support the new SelectionState value.
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::writeSelectionToPasteboard): Added synchronous
message to write the selected content to the pasteboard.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with...
hyatt@apple.com [Wed, 23 Feb 2011 22:55:20 +0000 (22:55 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.

Reviewed by Simon Fraser.

Patch computePositionedLogicalHeight to be writing-mode-aware.  Functions it calls have not been
patched yet, so still not testable in a vertical text environment.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalHeight):

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

9 years ago2011-02-23 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 23 Feb 2011 22:51:58 +0000 (22:51 +0000)]
2011-02-23  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Moved the "nextAtom" allocation pointer into MarkedBlock for better encapsulation
        https://bugs.webkit.org/show_bug.cgi?id=55079

        SunSpider reports no change.

        * runtime/Heap.cpp:
        (JSC::Heap::reset): Moved Zombie sweeping here, up from MarkedSpace,
        since we want Heap to logically control MarkedSpace. MarkedSpace should
        never choose to sweep itself.

        * runtime/JSCell.h:
        (JSC::JSCell::MarkedBlock::allocate): Updated for nextAtom becoming a
        member of MarkedBlock. No need to reset nextAtom to firstAtom() when
        we reach the end of a block, since there's now an explicit reset pass
        during GC.

        * runtime/MarkedBlock.cpp:
        (JSC::MarkedBlock::MarkedBlock):
        * runtime/MarkedBlock.h:
        (JSC::MarkedBlock::reset): Added the nextAtom data member, and reordered
        some data members to improve cache locality.

        * runtime/MarkedSpace.cpp:
        (JSC::MarkedSpace::MarkedSpace):
        (JSC::MarkedSpace::allocate):
        (JSC::MarkedSpace::reset):
        * runtime/MarkedSpace.h:
        (JSC::CollectorHeap::CollectorHeap): Removed nextAtom, and added an
        explicit reset pass.

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

9 years ago2011-02-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Feb 2011 22:47:30 +0000 (22:47 +0000)]
2011-02-23  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update. Remove tests that pass after
        r79473, do the equivalent chromium-mac-leopard update for
        fast/text/international/pop-up-button-text-alignment-and-direction.html

        * platform/chromium-mac-leopard/fast/text/international/pop-up-button-text-alignment-and-direction-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/text/international/pop-up-button-text-alignment-and-direction-expected.txt.
        * platform/chromium/test_expectations.txt:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with...
hyatt@apple.com [Wed, 23 Feb 2011 22:25:10 +0000 (22:25 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.

Reviewed by Sam Weinig.

Patch computePositionedLogicalWidthUsing to be writing-mode-aware. Still not testable in a vertical text
environment, since height computations will overwrite all values computed here until they are patched as well.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidthUsing):
* rendering/RenderBox.h:

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

9 years agoMore unreviewed expectations cleanup for chromium.
atwilson@chromium.org [Wed, 23 Feb 2011 22:22:49 +0000 (22:22 +0000)]
More unreviewed expectations cleanup for chromium.

* platform/chromium-mac-leopard/editing/deleting/delete-tab-003-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-001-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-001-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/insert-tab-003-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/inserting/insert-tab-003-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/select-from-textfield-outwards-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/selection/select-from-textfield-outwards-expected.png: Added.

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

9 years ago2011-02-23 Renata Hodovan <reni@webkit.org>
reni@webkit.org [Wed, 23 Feb 2011 22:11:28 +0000 (22:11 +0000)]
2011-02-23  Renata Hodovan  <reni@webkit.org>

        Reviewed by Nikolas Zimmermann.

        FEColorMatrixElement changes doesn't require relayout
        https://bugs.webkit.org/show_bug.cgi?id=54880

        When the FEColorMatrixElement receives an update message but the given value remains the same we don't need
        to relayout the filter.

        No new tests are needed because this modificiation is covered by the dynamic update tests of FEColorMatrix.

        * platform/graphics/filters/FEColorMatrix.cpp:
        (WebCore::FEColorMatrix::setType):
        (WebCore::FEColorMatrix::setValues):
        * platform/graphics/filters/FEColorMatrix.h:
        * svg/SVGFEColorMatrixElement.cpp:
        (WebCore::SVGFEColorMatrixElement::setFilterEffectAttribute):
        (WebCore::SVGFEColorMatrixElement::svgAttributeChanged):
        * svg/SVGFEColorMatrixElement.h:

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

9 years ago2011-02-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 23 Feb 2011 22:08:04 +0000 (22:08 +0000)]
2011-02-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Fisher.

        [Chromium] Add WebKitClient::cryptographicallyRandomValues
        https://bugs.webkit.org/show_bug.cgi?id=55073

        This patch adds a WebKit client API to get cryptographic randomness.
        We'll use this API to gather seed randomness while inside the sandbox.

        * public/WebKitClient.h:
        (WebKit::WebKitClient::cryptographicallyRandomValues):

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

9 years ago2011-02-23 James Robinson <jamesr@chromium.org>
jamesr@google.com [Wed, 23 Feb 2011 22:06:26 +0000 (22:06 +0000)]
2011-02-23  James Robinson  <jamesr@chromium.org>

        REGRESSION(79466): fast/parser/test-unicode-characters-in-attribute-name.html fails

        Reverts TextCodecUTF16.cpp back to pre-79466 state.  The crash fix in 79466 was for UTF-8 only, it also caused the UTF16 path to fail.

        * platform/text/TextCodecUTF16.cpp:
        (WebCore::newStreamingTextDecoderUTF16LE):
        (WebCore::newStreamingTextDecoderUTF16BE):
        (WebCore::TextCodecUTF16::decode):
        (WebCore::TextCodecUTF16::encode):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with...
hyatt@apple.com [Wed, 23 Feb 2011 22:04:21 +0000 (22:04 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.

Reviewed by Sam Weinig.

Patch computePositionedLogicalWidth to be writing-mode-aware.  Functions it calls have not been
patched yet, so still not testable in a vertical text environment.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidth):

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

9 years ago2011-02-23 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 23 Feb 2011 21:55:55 +0000 (21:55 +0000)]
2011-02-23  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Add a ShareableBitmap::create overload that takes an existing SharedMemory object
        https://bugs.webkit.org/show_bug.cgi?id=55081

        * Shared/ShareableBitmap.cpp:
        (WebKit::ShareableBitmap::createShareable):
        (WebKit::ShareableBitmap::create):
        * Shared/ShareableBitmap.h:

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

9 years ago2011-02-23 James Robinson <jamesr@chromium.org>
jamesr@google.com [Wed, 23 Feb 2011 21:40:17 +0000 (21:40 +0000)]
2011-02-23  James Robinson  <jamesr@chromium.org>

        Unreviewed, rolling out r79428.
        http://trac.webkit.org/changeset/79428
        https://bugs.webkit.org/show_bug.cgi?id=54714

        Does not work in the Chromium sandbox

        * JavaScriptCore.exp:
2011-02-23  James Robinson  <jamesr@chromium.org>

        Unreviewed, rolling out r79428.
        http://trac.webkit.org/changeset/79428
        https://bugs.webkit.org/show_bug.cgi?id=54714

        Does not work in the Chromium sandbox

        * websockets/WebSocketHandshake.cpp:
        (WebCore::generateSecWebSocketKey):
        (WebCore::generateKey3):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with...
hyatt@apple.com [Wed, 23 Feb 2011 21:32:32 +0000 (21:32 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.

Reviewed by Sam Weinig.

Add logical accessors for the left()/right()/top()/bottom() properties on the RenderStyle.

* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::logicalLeft):
(WebCore::InheritedFlags::logicalRight):
(WebCore::InheritedFlags::logicalTop):
(WebCore::InheritedFlags::logicalBottom):

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

9 years ago2011-02-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Feb 2011 21:31:31 +0000 (21:31 +0000)]
2011-02-23  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update. Add failing expectations for
        two editing tests that were hidden by the TIMEOUT expectation remove by
        r79480.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Feb 2011 21:21:43 +0000 (21:21 +0000)]
2011-02-23  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed.

        Many tests started timing out on the chrome mac canaries around r79035
        https://bugs.webkit.org/show_bug.cgi?id=54885

        Remove TIMEOUT expectations from tests, they were caused by a bad bot
        (and are passing now that the bot has been restarted).

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-23 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 23 Feb 2011 21:08:35 +0000 (21:08 +0000)]
2011-02-23  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Web Inspector toolbar looks bad in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=55076
        <rdar://problem/8866258>

        * UIProcess/API/mac/WKView.mm:
        (-[WKView mouseDownCanMoveWindow]):
        Return NO from mouseDownCanMoveWindow to prevent drags in the (now transparent) inspector WKView
        from dragging the window around.

        * UIProcess/mac/WebInspectorProxyMac.mm:
        (WebKit::WebInspectorProxy::platformCreateInspectorPage):
        Call [WKView setDrawsBackground:NO].

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

9 years agoUnreviewed expectations update for chromium.
atwilson@chromium.org [Wed, 23 Feb 2011 21:05:16 +0000 (21:05 +0000)]
Unreviewed expectations update for chromium.

* platform/chromium-mac-leopard/editing/inserting/typing-tab-designmode-forms-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/inserting/typing-tab-designmode-forms-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/4641033-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/pasteboard/4641033-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/block-wrappers-necessary-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/pasteboard/block-wrappers-necessary-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-2-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/pasting-tabs-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/pasteboard/pasting-tabs-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/3690703-2-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/selection/3690703-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/3690703-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/selection/3690703-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/3690719-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/selection/3690719-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/4975120-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/selection/4975120-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/5240265-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/selection/5240265-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/replaced-boundaries-3-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/selection/replaced-boundaries-3-expected.png: Added.
* platform/chromium-mac-leopard/editing/style/5046875-1-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/style/5046875-1-expected.png: Added.
* platform/chromium-mac-leopard/editing/style/table-selection-expected.checksum: Added.
* platform/chromium-mac-leopard/editing/style/table-selection-expected.png: Added.
* platform/chromium-mac-leopard/fast/block/positioning/inline-block-relposition-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/block/positioning/inline-block-relposition-expected.png: Added.
* platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.png: Added.
* platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-lr-expected.png: Added.
* platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-rl-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/continuationCrash-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/css/continuationCrash-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/css2-system-fonts-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/css/css2-system-fonts-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/font-face-locally-installed-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/css/font-face-locally-installed-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/margin-top-bottom-dynamic-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/css/margin-top-bottom-dynamic-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-strict-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-strict-expected.png: Added.
* platform/chromium-mac-leopard/fast/dom/HTMLInputElement/input-image-alt-text-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/dom/HTMLInputElement/input-image-alt-text-expected.png: Added.
* platform/chromium-mac-leopard/fast/dom/HTMLTextAreaElement/reset-textarea-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png: Added.
* platform/chromium-mac-leopard/fast/events/autoscroll-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/events/autoscroll-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label01-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label01-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label02-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label02-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label03-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label03-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label04-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/HTMLOptionElement_label04-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/basic-textareas-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/basic-textareas-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/basic-textareas-quirks-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/basic-textareas-quirks-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/blankbuttons-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/blankbuttons-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-align-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-align-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-cannot-be-nested-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-cannot-be-nested-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-default-title-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-default-title-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-generated-content-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-generated-content-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-positioned-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-positioned-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-style-color-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-style-color-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-table-styles-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-table-styles-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-text-transform-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-text-transform-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/button-white-space-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/button-white-space-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/control-clip-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/control-clip-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/control-restrict-line-height-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/control-restrict-line-height-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/formmove3-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/formmove3-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-align-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-align-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-default-bkcolor-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-default-bkcolor-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-disabled-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-disabled-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-focus-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-focus-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-preventDefault-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-preventDefault-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-readonly-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-readonly-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-selection-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-selection-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-visibility-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-visibility-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-width-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-width-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-disabled-color-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-disabled-color-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-double-click-selection-gap-bug-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-field-text-truncated-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-field-text-truncated-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-first-letter-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-first-letter-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-readonly-autoscroll-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-readonly-autoscroll-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-readonly-dimmed-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-readonly-dimmed-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-spaces-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-spaces-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-table-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-table-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-double-click-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-double-click-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-drag-down-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-drag-down-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-scroll-left-on-blur-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-scroll-left-on-blur-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-word-wrap-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-text-word-wrap-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/menulist-no-overflow-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/menulist-no-overflow-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/menulist-width-change-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/menulist-width-change-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/option-strip-whitespace-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/option-strip-whitespace-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/option-text-clip-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/option-text-clip-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/placeholder-set-value-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/placeholder-set-value-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/plaintext-mode-2-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/plaintext-mode-2-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/search-cancel-button-style-sharing-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/search-cancel-button-style-sharing-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/search-rtl-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/search-rtl-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/search-zoomed-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/search-zoomed-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/select-align-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/select-align-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/select-change-listbox-to-popup-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/select-change-listbox-to-popup-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/select-disabled-appearance-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/select-disabled-appearance-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/select-initial-position-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/select-initial-position-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/select-selected-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/select-selected-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/stuff-on-my-optgroup-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/stuff-on-my-optgroup-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/tabbing-input-iframe-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/tabbing-input-iframe-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/targeted-frame-submission-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/targeted-frame-submission-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-align-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-align-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-placeholder-set-value-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-placeholder-set-value-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-scroll-height-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-scroll-height-expected.png: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-scrolled-type-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/textarea-scrolled-type-expected.png: Added.
* platform/chromium-mac-leopard/fast/parser/document-write-option-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/parser/document-write-option-expected.png: Added.
* platform/chromium-mac-leopard/fast/parser/entity-comment-in-textarea-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/parser/entity-comment-in-textarea-expected.png: Added.
* platform/chromium-mac-leopard/fast/parser/open-comment-in-textarea-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/parser/open-comment-in-textarea-expected.png: Added.
* platform/chromium-mac-leopard/fast/replaced/width100percent-button-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/replaced/width100percent-button-expected.png: Added.
* platform/chromium-mac-leopard/fast/replaced/width100percent-searchfield-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/replaced/width100percent-searchfield-expected.png: Added.
* platform/chromium-mac-leopard/fast/replaced/width100percent-textfield-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/replaced/width100percent-textfield-expected.png: Added.
* platform/chromium-mac-leopard/fast/selectors/064-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/selectors/064-expected.png: Added.
* platform/chromium-mac-leopard/fast/speech/input-appearance-speechbutton-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/speech/input-appearance-speechbutton-expected.png: Added.
* platform/chromium-mac-leopard/fast/speech/input-appearance-speechbutton-expected.txt: Added.
* platform/chromium-mac-leopard/fast/table/append-cells2-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/table/append-cells2-expected.png: Added.
* platform/chromium-mac-leopard/fast/table/border-collapsing/004-vertical-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/table/border-collapsing/004-vertical-expected.png: Added.
* platform/chromium-mac-leopard/fast/table/frame-and-rules-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/table/frame-and-rules-expected.png: Added.
* platform/chromium-mac-leopard/fast/table/remove-td-display-none-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/table/remove-td-display-none-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/atsui-partial-selection-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/atsui-partial-selection-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/backslash-to-yen-sign-euc-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/backslash-to-yen-sign-euc-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/capitalize-boundaries-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/capitalize-boundaries-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/line-breaks-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/line-breaks-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/word-break-run-rounding-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/word-break-run-rounding-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug138725-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug138725-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug14323-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug14323-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug18359-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug18359-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-3-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-3-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug26178-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug26178-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug28928-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug28928-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug2962-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug2962-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug30692-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug30692-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug33855-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug33855-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug39209-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug39209-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug4429-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug4429-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug44505-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug44505-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-1-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-1-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-2-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-2-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug51037-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug51037-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug51727-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug51727-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug52505-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug52505-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug52506-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug52506-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug60749-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug60749-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug67915-1-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug67915-1-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug68912-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug68912-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug7342-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug7342-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug88035-1-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug88035-1-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug88035-2-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug88035-2-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug96334-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug96334-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/collapsing_borders/bug41262-4-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/collapsing_borders/bug41262-4-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/dom/tableDom-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/dom/tableDom-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/other/move_row-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla/other/move_row-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug1725-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug1725-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug58402-2-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug58402-2-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.checksum: Added.
* platform/chromium-mac-leopard/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png: Added.

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