Fix ARM build after r110792.

Unreviewed build fix.

* jit/ExecutableAllocator.h:
(JSC::ExecutableAllocator::cacheFlush):
Remove superfluous curly brackets.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Assertion failures in checkEncodedString when running WebKit2 tests
        https://bugs.webkit.org/show_bug.cgi?id=67425
        <rdar://problem/11043492>

        Reviewed by Anders Carlsson.

        * platform/network/cf/ResourceErrorCF.cpp: (WebCore::ResourceError::cfError):
        * platform/network/mac/ResourceErrorMac.mm: (WebCore::ResourceError::nsError):
        The failing URL is certainly not guaranteed to be valid, so it's not correct to put it back
        into a URL as if it's been normalized by KURL.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fast/dom/Window/window-properties.html and fast/dom/prototype-inheritance-2.html failing on
Mac WK2 because WebAudio is not enabled
https://bugs.webkit.org/show_bug.cgi?id=81259

Reviewed by Dan Bernstein.

Enable WebAudio so that it appears in the window object in the tests.
The webaudio tests are all still skipped in the Mac Skipped list.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Assertion failures in WebCore::Page::goBackOrForward causing multiple "crashes" on Lion Intel
Debug WebKit2 testers
https://bugs.webkit.org/show_bug.cgi?id=81159

Rubber-stamped by Brady Eidson.

It is plausible that history could change in between the time a navigation request is
scheduled and the timer is fired, so the request index could be out of the b/f list range.
Hence, the assertion is invalid and should be removed.

* page/Page.cpp:
(WebCore::Page::goBackOrForward):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Can't swipe to go back/forward when the current page is a PDF document
https://bugs.webkit.org/show_bug.cgi?id=81194
<rdar://problem/6954125>

Reviewed by Sam Weinig.

Override -[PDFViewScrollView scrollWheel:] and have the new implementation call
-[WKPDFView forwardScrollWheelEvent:] when the PDF is pinned to either the left or right side.
WKPDFView will then call PDFController::forwardScrollWheelEvent which checks if we can go back or forward,
and passes the event along to the WKView which ends up triggering the swiping machinery in Safari.

* UIProcess/API/mac/PDFViewController.h:
* UIProcess/API/mac/PDFViewController.mm:
(-[WKPDFView forwardScrollWheelEvent:]):
(WebKit):
(WebKit::PDFViewController::forwardScrollWheelEvent):
(WebKit::findEnclosingWKPDFView):
(WebKit::PDFViewScrollView_scrollWheel):
(WebKit::PDFViewController::pdfKitBundle):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didCommitLoadForFrame):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderStyle: Return Color objects by value instead of as const references.
<http://webkit.org/b/81180>

Reviewed by Antti Koivisto.

Make RenderStyle getters return "Color" rather than "const Color&". This is preparation
for storing some color values in a more space-efficient fashion.

* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyColor::applyInheritValue):
* page/animation/AnimationBase.cpp:
(PropertyWrapperColor):
(WebCore::PropertyWrapperColor::PropertyWrapperColor):
(WebCore::PropertyWrapperColor::blend):
(WebCore::PropertyWrapperMaybeInvalidColor::PropertyWrapperMaybeInvalidColor):
(PropertyWrapperMaybeInvalidColor):
(WebCore::PropertyWrapperVisitedAffectedColor::PropertyWrapperVisitedAffectedColor):
(WebCore::PropertyWrapperSVGPaint::PropertyWrapperSVGPaint):
(PropertyWrapperSVGPaint):
* platform/graphics/Color.h:
(WebCore::Color::Color):
* rendering/style/RenderStyle.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=81258

Add a preference for enabling the new multi-column layout code that will be based on regions.

Reviewed by Beth Dakin.

Source/WebCore: 

* page/Settings.cpp:
(WebCore::Settings::Settings):
* page/Settings.h:
(WebCore::Settings::setRegionBasedColumnsEnabled):
(WebCore::Settings::regionBasedColumnsEnabled):
(Settings):

Source/WebKit/mac: 

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences setRegionBasedColumnsEnabled:]):
(-[WebPreferences regionBasedColumnsEnabled]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Source/WebKit2: 

* Shared/WebPreferencesStore.h:
(WebKit):
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetRegionBasedColumnsEnabled):
(WKPreferencesGetRegionBasedColumnsEnabled):
* UIProcess/API/C/WKPreferencesPrivate.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r107168?): Assertion failures under pageContainsAnyHorizontalScrollbars causing multiple "crashes" on the Lion Intel Debug WebKit2 testers
https://bugs.webkit.org/show_bug.cgi?id=81162
<rdar://problem/11050423>

Reviewed by Beth Dakin and Jessie Berlin.

Downgrade the ASSERT to a simple if check since scrollableArea->isOnActivePage() can return false when layout happens during page transitions.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::pageContainsAnyHorizontalScrollbars):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix crbug 117957 - get settings scrolling with the wheel again.
https://bugs.webkit.org/show_bug.cgi?id=81247

Patch by Scott Byer <scottbyer@chromium.org> on 2012-03-15
Reviewed by James Robinson.

Tests to follow.

* page/FrameView.cpp:
(WebCore::FrameView::serviceScriptedAnimations):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Move test results from mac-lion to mac
        https://bugs.webkit.org/show_bug.cgi?id=81266

        Reviewed by Jessie Berlin.

        * platform/mac-lion/canvas: Removed.
        * platform/mac-lion/canvas/philip: Removed.
        * platform/mac-lion/canvas/philip/tests: Removed.
        * platform/mac-lion/editing: Removed.
        * platform/mac-lion/editing/inserting: Removed.
        * platform/mac-lion/editing/inserting/break-blockquote-after-delete-expected.png: Removed.
        * platform/mac-lion/fast: Removed.
        * platform/mac-lion/fast/css: Removed.
        * platform/mac-lion/fast/css/font-family-pictograph-expected.txt: Removed.
        * platform/mac-lion/svg: Removed.
        * platform/mac-lion/svg/W3C-SVG-1.1-SE: Removed.
        * platform/mac-lion/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt: Removed.
        * platform/mac/editing/inserting/break-blockquote-after-delete-expected.png:
        * platform/mac/fast/css/font-family-pictograph-expected.txt: Copied from LayoutTests/platform/mac-lion/fast/css/font-family-pictograph-expected.txt.
        * platform/mac/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
NumericStrings should be inlined
https://bugs.webkit.org/show_bug.cgi?id=81183

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-03-15
Reviewed by Gavin Barraclough.

NumericStrings is not always inlined. When it is not, the class is not faster
than using UString::number() directly.

* runtime/NumericStrings.h:
(JSC::NumericStrings::add):
(JSC::NumericStrings::lookupSmallString):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove mac-future results
https://bugs.webkit.org/show_bug.cgi?id=81275

There should never be anything in LayoutTests/platform/mac-future.
Please don't put anything there in the future.

Rubber-stamped by Alexey Proskuryakov.

* platform/mac-future/css1: Removed.
* platform/mac-future/css1/font_properties: Removed.
* platform/mac-future/css1/font_properties/font-expected.png: Removed.
* platform/mac-future/css2.1: Removed.
* platform/mac-future/css2.1/t1508-c527-font-05-b-expected.png: Removed.
* platform/mac-future/css2.1/t1508-c527-font-10-c-expected.png: Removed.
* platform/mac-future/fast: Removed.
* platform/mac-future/fast/css: Removed.
* platform/mac-future/fast/css/font-family-pictograph-expected.png: Removed.
* platform/mac-future/fast/css/font-family-pictograph-expected.txt: Removed.
* platform/mac-future/fast/dom: Removed.
* platform/mac-future/fast/dom/52776-expected.txt: Removed.
* platform/mac-future/fast/forms: Removed.
* platform/mac-future/fast/forms/listbox-bidi-align-expected.png: Removed.
* platform/mac-future/fast/repaint: Removed.
* platform/mac-future/fast/repaint/canvas-putImageData-expected.txt: Removed.
* platform/mac-future/fast/text: Removed.
* platform/mac-future/fast/text/capitalize-boundaries-expected.png: Removed.
* platform/mac-future/fast/writing-mode: Removed.
* platform/mac-future/fast/writing-mode/fallback-orientation-expected.png: Removed.
* platform/mac-future/media: Removed.
* platform/mac-future/media/video-display-toggle-expected.txt: Removed.
* platform/mac-future/media/video-no-audio-expected.txt: Removed.
* platform/mac-future/svg: Removed.
* platform/mac-future/svg/W3C-I18N: Removed.
* platform/mac-future/svg/W3C-SVG-1.1-SE: Removed.
* platform/mac-future/svg/batik: Removed.
* platform/mac-future/svg/batik/masking: Removed.
* platform/mac-future/svg/batik/text: Removed.
* platform/mac-future/svg/batik/text/textGlyphOrientationHorizontal-expected.png: Removed.
* platform/mac-future/svg/carto.net: Removed.
* platform/mac-future/svg/carto.net/scrollbar-expected.png: Removed.
* platform/mac-future/svg/custom: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r110371): broke platform/gtk/scrollbars/overflow-scrollbar-horizontal-wheel-scroll.html
https://bugs.webkit.org/show_bug.cgi?id=80825

Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-15
Reviewed by James Robinson.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleWheelEvent): Corrected a typo.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Remove some features that we do not have anymore
https://bugs.webkit.org/show_bug.cgi?id=81274

Reviewed by Antonio Gomes.

Remove some features that we do not have anymore, code was removed some time ago.

* Source/cmake/OptionsBlackBerry.cmake:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Cleanup of outdated test expectations
https://bugs.webkit.org/show_bug.cgi?id=81253

Unreviewed chromium expectations.

* platform/chromium/test_expectations.txt: Adding Linux svg/text/text-tselect-02.f.svg


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Make zlib a general build requirement
https://bugs.webkit.org/show_bug.cgi?id=80153

Reviewed by Hajime Morita.

After r109538 WebSocket module needs zlib to support deflate-frame extension.

.:

* Source/cmake/OptionsEfl.cmake:

Source/JavaScriptCore:

* wtf/Platform.h:

Source/WebCore:

* PlatformEfl.cmake:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build correction. WinCairo export definitions
file was not updated when the main Apple file was changed.

* win/WebKit2CFLite.def: Revise export declarations to match
new symbol names.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Wire up PlatformGestureCurves for CC, ScrollAnimatorNone.
https://bugs.webkit.org/show_bug.cgi?id=80607

Reviewed by James Robinson.

Source/WebCore:

Unit tests added. Layout tests to follow.

Provides implementation of PlatformGestureCurves in Chrome Compositor, and basic
support in ScrollAnimatorNone, for fling gestures.

* GNUmakefile.list.am:
* platform/ActivePlatformGestureAnimation.cpp:
(WebCore::ActivePlatformGestureAnimation::create):
(WebCore::ActivePlatformGestureAnimation::ActivePlatformGestureAnimation):
(WebCore::ActivePlatformGestureAnimation::animate):
* platform/ActivePlatformGestureAnimation.h:
(ActivePlatformGestureAnimation):
* platform/PlatformGestureCurveTarget.h:
(PlatformGestureCurveTarget):
* platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::cancelAnimations):
(WebCore::ScrollAnimatorNone::animationTimerFired):
(WebCore::ScrollAnimatorNone::scrollBy):
(WebCore):
* platform/ScrollAnimatorNone.h:
(WebCore):
(ScrollAnimatorNone):
* platform/TouchFlingPlatformGestureCurve.cpp:
(WebCore::TouchFlingPlatformGestureCurve::apply):
* platform/WheelFlingPlatformGestureCurve.cpp:
(WebCore::WheelFlingPlatformGestureCurve::apply):
* platform/graphics/chromium/cc/CCActiveGestureAnimation.cpp:
(WebCore::CCActiveGestureAnimation::create):
(WebCore::CCActiveGestureAnimation::CCActiveGestureAnimation):
(WebCore::CCActiveGestureAnimation::animate):
* platform/graphics/chromium/cc/CCActiveGestureAnimation.h:
(CCActiveGestureAnimation):
* platform/graphics/chromium/cc/CCGestureCurve.h:
(CCGestureCurveTarget):
* platform/graphics/chromium/cc/CCInputHandler.h:
(WebCore):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::animate):
(WebCore::CCLayerTreeHostImpl::setActiveGestureAnimation):
(WebCore):
(WebCore::CCLayerTreeHostImpl::animateGestures):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore):
(WebCore::CCLayerTreeHostImpl::activeGestureAnimation):
(CCLayerTreeHostImpl):

Source/WebKit/chromium:

* public/WebInputEvent.h:
(WebKit::WebInputEvent::isScrollGestureEventType):
* src/WebCompositorInputHandlerImpl.cpp:
(PlatformGestureToCCGestureAdapter):
(WebCore::PlatformGestureToCCGestureAdapter::create):
(WebCore::PlatformGestureToCCGestureAdapter::apply):
(WebCore::PlatformGestureToCCGestureAdapter::scrollBy):
(WebCore::PlatformGestureToCCGestureAdapter::PlatformGestureToCCGestureAdapter):
(WebCore):
(WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
(WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
(WebKit):
(WebKit::WebCompositorInputHandlerImpl::scrollBy):
* src/WebCompositorInputHandlerImpl.h:
(WebCore):
(WebCompositorInputHandlerImpl):
* tests/PlatformGestureCurveTest.cpp:
* tests/WebCompositorInputHandlerImplTest.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Deprecate ondisplay()
https://bugs.webkit.org/show_bug.cgi?id=80483
<rdar://problem/10912432>

Reviewed by Jian Li.

Source/WebCore:

The appropriate event listener for notifications is onshow().

* notifications/Notification.h: Wrap ondisplay in ENABLE(LEGACY_NOTIFICATIONS).
* notifications/Notification.idl: Wrap ondisplay in ENABLE_LEGACY_NOTIFICATIONS.

Source/WebKit/chromium:

* src/WebNotification.cpp:
(WebKit::WebNotification::dispatchDisplayEvent): Dispatch the show event.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
The commit-queue can hang when the test_expectations.txt style check fails during commit
https://bugs.webkit.org/show_bug.cgi?id=81251

Reviewed by Eric Seidel.

We forgot to check the --non-interactive flag, so we end up prompting
the "user" who doesn't exist on the bot.  We might consider teaching
the User class about non-interactive if we have this sort of bug again.

* Scripts/webkitpy/tool/steps/commit.py:
(Commit.options):
(Commit._check_test_expectations):
(Commit.run):
* Scripts/webkitpy/tool/steps/commit_unittest.py:
(CommitTest.test_check_test_expectations):


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