WebKit-https.git
9 years agoBuild fix: removed some uses of nextNumber that I missed last time.
ggaren@apple.com [Tue, 11 Jan 2011 00:47:16 +0000 (00:47 +0000)]
Build fix: removed some uses of nextNumber that I missed last time.

* runtime/Heap.cpp:
(JSC::Heap::reset):
(JSC::Heap::collectAllGarbage):

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

9 years ago2011-01-10 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 11 Jan 2011 00:45:52 +0000 (00:45 +0000)]
2011-01-10  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Use a pull model for view state changes
        https://bugs.webkit.org/show_bug.cgi?id=52175

        Instead of having the WKView call setFocused, setActive etc on the WebPageProxy, the
        WKView now simply informs the WebPageProxy what has changed, using the WebPageProxy::viewStateDidChange
        function. The WebPageProxy can then fetch the relevant information using newly added PageClient functions.

        * UIProcess/API/mac/PageClientImpl.h:
        * UIProcess/API/mac/PageClientImpl.mm:
        (WebKit::PageClientImpl::viewSize):
        (WebKit::PageClientImpl::isViewWindowActive):
        (WebKit::PageClientImpl::isViewFocused):
        (WebKit::PageClientImpl::isViewVisible):
        (WebKit::PageClientImpl::isViewInWindow):
        * UIProcess/API/mac/WKView.mm:
        (-[WKView initWithFrame:contextRef:pageGroupRef:]):
        (-[WKView becomeFirstResponder]):
        (-[WKView resignFirstResponder]):
        (-[WKView viewDidMoveToWindow]):
        (-[WKView _windowDidBecomeKey:]):
        (-[WKView _windowDidResignKey:]):
        (-[WKView viewDidHide]):
        (-[WKView viewDidUnhide]):
        (-[WKView _isFocused]):
        (-[WKView _didRelaunchProcess]):
        * UIProcess/API/mac/WKViewInternal.h:
        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKView::focusInEvent):
        (QGraphicsWKView::focusOutEvent):
        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::QWKPagePrivate):
        (QWKPagePrivate::viewSize):
        (QWKPagePrivate::isViewWindowActive):
        (QWKPagePrivate::isViewFocused):
        (QWKPagePrivate::isViewVisible):
        (QWKPagePrivate::isViewInWindow):
        * UIProcess/API/qt/qwkpage_p.h:
        * UIProcess/PageClient.h:
        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::createWebPage):
        * UIProcess/WebContext.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::create):
        (WebKit::WebPageProxy::WebPageProxy):
        (WebKit::WebPageProxy::viewStateDidChange):
        * UIProcess/WebPageProxy.h:
        * UIProcess/WebProcessProxy.cpp:
        (WebKit::WebProcessProxy::createWebPage):
        * UIProcess/WebProcessProxy.h:
        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::WebView):
        (WebKit::WebView::onSetFocusEvent):
        (WebKit::WebView::onKillFocusEvent):
        (WebKit::WebView::onShowWindowEvent):
        (WebKit::WebView::updateActiveState):
        (WebKit::WebView::viewSize):
        (WebKit::WebView::isViewWindowActive):
        (WebKit::WebView::isViewFocused):
        (WebKit::WebView::isViewVisible):
        (WebKit::WebView::isViewInWindow):
        (WebKit::WebView::didRelaunchProcess):
        (WebKit::WebView::setIsInWindow):
        * UIProcess/win/WebView.h:

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

9 years ago2011-01-10 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 11 Jan 2011 00:41:02 +0000 (00:41 +0000)]
2011-01-10  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Removed dead number allocation code.
        https://bugs.webkit.org/show_bug.cgi?id=52177

        * runtime/Heap.h:

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

9 years ago2011-01-10 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Tue, 11 Jan 2011 00:29:21 +0000 (00:29 +0000)]
2011-01-10  Jer Noble  <jer.noble@apple.com>

        Reviewed by Simon Fraser.

        https://bugs.webkit.org/show_bug.cgi?id=52095
        REGRESSION (r75277): 2 test cases (<1%) had incorrect layout

        Fixes tests:
            fullscreen/full-screen-remove-ancestor.html
            fullscreen/full-screen-remove.html

        Revert change made in r75326, now that the underlying issue has been fixed.

        * fullscreen/full-screen-remove-ancestor-expected.txt:
        * fullscreen/full-screen-remove-expected.txt:
2011-01-10  Jer Noble  <jer.noble@apple.com>

        Reviewed by Simon Fraser.

        https://bugs.webkit.org/show_bug.cgi?id=52095
        REGRESSION (r75277): 2 test cases (<1%) had incorrect layout

        Fixes tests:
            fullscreen/full-screen-remove-ancestor.html
            fullscreen/full-screen-remove.html

        Previously, the above tests were failing because DRT dumped the contents of their
        <script> tags, though all the explicit tests were passing.  This was caused by
        the document's render tree being left in an inconsistent state when a full screen
        element's ancestor was removed from the DOM.

        In nodeWillBeRemoved(), match the code in webkitDidExitFullScreen().
        Don't detach the documentElement, but rather simply call recalcStyle(Force).

        * dom/Document.cpp:
        (WebCore::Document::nodeWillBeRemoved):
        * rendering/RenderFullScreen.cpp:
        (RenderFullScreen::setAnimating): #if ENABLED -> # if USE
        * rendering/RenderFullScreen.h:
        (WebCore::RenderFullScreen::RenderFullScreen): RenderFullScreen should be an anonymous renderer.

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

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

        Reviewed by Xan Lopez.

        Update the NEWS file in preparation for the 1.3.10 release.

        * NEWS: Update the NEWS.

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

9 years ago2011-01-10 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Tue, 11 Jan 2011 00:27:16 +0000 (00:27 +0000)]
2011-01-10  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by James Robinson.

        [chromium] Call WebAutoFillClient instead of WebViewClient for autofill related callbacks
        https://bugs.webkit.org/show_bug.cgi?id=52169

        * public/WebView.h:
        * public/WebViewClient.h:
        (WebKit::WebViewClient::didUpdateInspectorSetting):
        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::valueChanged):
        (WebKit::AutoFillPopupMenuClient::selectionChanged):
        (WebKit::AutoFillPopupMenuClient::selectionCleared):
        (WebKit::AutoFillPopupMenuClient::popupDidHide):
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::textFieldDidBeginEditing):
        (WebKit::EditorClientImpl::textFieldDidEndEditing):
        (WebKit::EditorClientImpl::textDidChangeInTextField):
        (WebKit::EditorClientImpl::doAutofill):
        (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
        (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
        * src/WebViewImpl.cpp:
        (WebKit::WebView::create):
        (WebKit::WebViewImpl::WebViewImpl):
        (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
        * src/WebViewImpl.h:
        (WebKit::WebViewImpl::autoFillClient):
        * src/WebWorkerBase.cpp:
        (WebKit::WebWorkerBase::initializeLoader):

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

9 years ago2011-01-10 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Tue, 11 Jan 2011 00:17:49 +0000 (00:17 +0000)]
2011-01-10  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Use __builtin_expect when compiling using RVCT in GNU mode
        https://bugs.webkit.org/show_bug.cgi?id=51866

        We should only use __builtin_expect if we are compiling with GCC or RVCT 3 or higher in GNU mode
        as pointed out by Siddharth Mathur per <http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0202h/Cjabddedbde.html>.

        * wtf/AlwaysInline.h:
        * wtf/Platform.h: Removed define WTF_COMPILER_RVCT4_OR_GREATER. Instead added macro
        function RVCT_VERSION_AT_LEAST so that we can test for an arbitrary minimum RVCT
        version.

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

9 years ago2011-01-10 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 11 Jan 2011 00:16:22 +0000 (00:16 +0000)]
2011-01-10  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium test expectations update.

        Remove chromium-mac baselines for svg/ tests that had them because of
        scrollbars.

        Also updates Snow Leopard (mac) baselines for svg/dom/
        SVGLengthList-basics.xhtml after r72518.

        * platform/chromium-mac/svg/dom/SVGLengthList-basics-expected.checksum: Removed.
        * platform/chromium-mac/svg/dom/SVGLengthList-basics-expected.png: Removed.
        * platform/chromium-mac/svg/dom/SVGTransformList-basics-expected.checksum: Removed.
        * platform/chromium-mac/svg/dom/SVGTransformList-basics-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.checksum: Removed.
        * platform/chromium-mac/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png: Removed.
        * platform/chromium-mac/svg/hixie/links/003-broken-expected.checksum: Removed.
        * platform/chromium-mac/svg/hixie/links/003-broken-expected.png: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.checksum: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-foreignObject-expected.checksum: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-foreignObject-expected.png: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-hixie-mixed-008-expected.checksum: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-hixie-mixed-008-expected.png: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.checksum: Removed.
        * platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.png: Removed.
        * platform/mac/svg/dom/SVGLengthList-basics-expected.checksum:
        * platform/mac/svg/dom/SVGLengthList-basics-expected.png:

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

9 years agoTry to fix Windows build.
ggaren@apple.com [Tue, 11 Jan 2011 00:05:24 +0000 (00:05 +0000)]
Try to fix Windows build.

* WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch
this one before because it was miscapitalized.)

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

9 years ago2011-01-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 23:52:29 +0000 (23:52 +0000)]
2011-01-10  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Remove use of deprecated GTK+ methods before the 1.3.10 release
        https://bugs.webkit.org/show_bug.cgi?id=52173

        No new tests. This is only a build fix.

        * platform/gtk/GRefPtrGtk.cpp: Guard the GdkCursor specialization against GTK+ 3.x.
        In GTK+ 3.x, GdkCursor is just a GObject.
        * platform/gtk/GRefPtrGtk.h: Ditto.
2011-01-10  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Remove use of deprecated GTK+ methods before the 1.3.10 release
        https://bugs.webkit.org/show_bug.cgi?id=52173

        * WebCoreSupport/FullscreenVideoController.cpp:
        (FullscreenVideoController::enterFullscreen): Use a GRefPtr here to avoid having to
        call either g_object_unref or gdk_cursor_unref.
        * webkit/webkitwebview.cpp: Guard use of deprecated methods.
        (webkit_web_view_realize): Ditto.
        (webkit_web_view_drag_end): Ditto.

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

9 years agoMoved Collector.* => Heap.*, since the file contains a class named "Heap".
ggaren@apple.com [Mon, 10 Jan 2011 23:43:56 +0000 (23:43 +0000)]
Moved Collector.* => Heap.*, since the file contains a class named "Heap".

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

* API/JSCallbackObject.cpp:
* Android.mk:
* CMakeLists.txt:
* GNUmakefile.am:
* JavaScriptCore.gypi:
* JavaScriptCore.pro:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* interpreter/Interpreter.cpp:
* interpreter/RegisterFile.h:
* jit/JITStubs.cpp:
* runtime/Collector.cpp: Removed.
* runtime/Collector.h: Removed.
* runtime/CollectorHeapIterator.h:
* runtime/GCActivityCallbackCF.cpp:
* runtime/Heap.cpp: Copied from JavaScriptCore/runtime/Collector.cpp.
* runtime/Heap.h: Copied from JavaScriptCore/runtime/Collector.h.
* runtime/InitializeThreading.cpp:
* runtime/JSCell.h:
* runtime/JSGlobalData.cpp:
* runtime/JSGlobalData.h:
* runtime/JSLock.cpp:
* runtime/JSNumberCell.h:
* runtime/MachineStackMarker.cpp:
* runtime/MemoryStatistics.h:
* runtime/Protect.h:
* runtime/UString.cpp:
* runtime/WeakGCMap.h:
* runtime/WeakGCPtr.h:

Source/JavaScriptGlue:

* JSUtils.h:

Source/WebCore:

* ForwardingHeaders/runtime/Collector.h: Removed.
* ForwardingHeaders/runtime/Heap.h: Copied from WebCore/ForwardingHeaders/runtime/Collector.h.
* WebCore.vcproj/WebCore.vcproj:
* bindings/js/GCController.cpp:
* bindings/js/ScriptGCEvent.cpp:

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

9 years ago[chromium] Layout test fast/frames/iframe-reparenting-plugins.html is failing on...
dimich@chromium.org [Mon, 10 Jan 2011 23:30:25 +0000 (23:30 +0000)]
[chromium] Layout test fast/frames/iframe-reparenting-plugins.html is failing on windows
https://bugs.webkit.org/show_bug.cgi?id=52062

Patch by Jenn Braithwaite <jennb@chromium.org> on 2011-01-10
Reviewed by Dmitry Titov.

* platform/chromium/test_expectations.txt:
Skip the failing test. Same reason other tests using WebKit Test PlugIn fails.

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

9 years ago2011-01-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 23:14:03 +0000 (23:14 +0000)]
2011-01-10  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline some test results after r75389.

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

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

9 years ago2011-01-10 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 10 Jan 2011 23:04:25 +0000 (23:04 +0000)]
2011-01-10  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium test expectations update.

        More scrollbar change rebaselines.

        * platform/chromium-mac/fast/selectors/166-expected.checksum: Removed.
        * platform/chromium-mac/fast/selectors/166-expected.png: Removed.
        * platform/chromium-mac/fast/table/border-collapsing/004-vertical-expected.checksum: Removed.
        * platform/chromium-mac/fast/table/border-collapsing/004-vertical-expected.png: Removed.
        * platform/chromium-mac/fast/table/height-percent-test-vertical-expected.checksum: Removed.
        * platform/chromium-mac/fast/table/height-percent-test-vertical-expected.png: Removed.
        * platform/chromium-mac/svg/css/composite-shadow-example-expected.checksum:
        * platform/chromium-mac/svg/css/composite-shadow-example-expected.png:
        * platform/chromium-mac/svg/css/composite-shadow-with-opacity-expected.checksum:
        * platform/chromium-mac/svg/css/composite-shadow-with-opacity-expected.png:
        * platform/chromium-mac/svg/css/stars-with-shadow-expected.checksum: Removed.
        * platform/chromium-mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.checksum:
        * platform/chromium-mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/chromium/test_expectations.txt:
        * platform/mac-leopard/fast/table/border-collapsing/004-vertical-expected.checksum: Added.
        * platform/mac-leopard/fast/table/border-collapsing/004-vertical-expected.png: Added.
        * platform/mac/fast/table/border-collapsing/004-vertical-expected.checksum:
        * platform/mac/fast/table/border-collapsing/004-vertical-expected.png:
        * platform/mac/fast/table/height-percent-test-vertical-expected.checksum:
        * platform/mac/fast/table/height-percent-test-vertical-expected.png:

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

9 years ago2011-01-10 Leonid Ebril <leonid.ebril@nokia.com>
commit-queue@webkit.org [Mon, 10 Jan 2011 22:47:22 +0000 (22:47 +0000)]
2011-01-10  Leonid Ebril  <leonid.ebril@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

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

        Set the PluginQuirkDontSetNullWindowHandleOnDestroy for Adobe Lite
        plugin if Flash 10 or newer (for Symbian platform), setting a nulled
        window handler on destroy crashes WebKit.

        * plugins/symbian/PluginPackageSymbian.cpp:
        (WebCore::PluginPackage::fetchInfo):
        (WebCore::PluginPackage::determineQuirks):

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

9 years ago2011-01-10 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 10 Jan 2011 22:37:58 +0000 (22:37 +0000)]
2011-01-10  Eric Seidel  <eric@webkit.org>

        Reviewed by Ojan Vafai.

        style-queue messages are way too long for big patches
        https://bugs.webkit.org/show_bug.cgi?id=52161

        We definitely could build much fancier list-to-string-with-limit functions
        but this should be sufficient for our needs at the moment.

        * Scripts/webkitpy/common/system/executive.py:
        * Scripts/webkitpy/common/system/executive_unittest.py:

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

9 years ago2011-01-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 22:04:57 +0000 (22:04 +0000)]
2011-01-10  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Remove unecessary RenderThemeGtk and WidgetRenderingContext code
        https://bugs.webkit.org/show_bug.cgi?id=52170

        Remove unnecessary code from RenderThemeGtk3 and RenderThemeGtk now that the
        GtkStyleContext port is complete. Also remove WidgetRenderingContextGtk3 and
        move WidgetRenderingRenderingContextGtk2 to WidgetRenderingContext and make it
        GTK+ 2.x only. Some methods have been moved to RenderThemeGtk2 since they are
        GTK+ 2.x only now.

        No new tests. This should not change functionality.

        * GNUmakefile.am: Remove WidgetRenderingContextGtk3 and gtk3drawing.c
        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::RenderThemeGtk):
        (WebCore::gtkIconState): Made this method static. It isn't used outside RenderThemeGtk.
        (WebCore::RenderThemeGtk::paintSearchFieldResultsDecoration): Updated to refelct gtkIconState change.
        (WebCore::RenderThemeGtk::paintSearchFieldCancelButton): Ditto.
        (WebCore::RenderThemeGtk::paintMediaButton): Ditto
        * platform/gtk/RenderThemeGtk.h: Move a few methods which are now GTK+ 2.x only.
        * platform/gtk/RenderThemeGtk2.cpp:
        (WebCore::RenderThemeGtk::platformInit): Added this platform initialization method
        that is only used for GTK+ 2.x at the moment.
        (WebCore::RenderThemeGtk::~RenderThemeGtk): Added.
        (WebCore::getGtkStateType): Made this method static.
        (WebCore::RenderThemeGtk::getIndicatorMetrics): Moved this here from RenderThemeGtk.
        (WebCore::setToggleSize): Updated to reflect changes to getGtkStateType.
        (WebCore::RenderThemeGtk::paintButton): Ditto.
        (WebCore::RenderThemeGtk::paintSliderTrack): Ditto.
        (WebCore::RenderThemeGtk::paintSliderThumb): Ditto.
        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::RenderThemeGtk::gtkScrollbarStyle): Moved to the top of the file.
        (WebCore::RenderThemeGtk::platformInit): Added.
        (WebCore::RenderThemeGtk::~RenderThemeGtk): Added.
        (WebCore::RenderThemeGtk::initMediaColors): Changed to use the GtkStyleContext API to
        fetch these colors. This was the last dependency on the old API.
        * platform/gtk/WidgetRenderingContext.cpp: Renamed from Source/WebCore/platform/gtk/WidgetRenderingContextGtk2.cpp.
        * platform/gtk/WidgetRenderingContext.h: Made GTK+ 2.x only.
        * platform/gtk/WidgetRenderingContextGtk3.cpp: Removed.
        * platform/gtk/gtk3drawing.c: Removed.
        * platform/gtk/gtkdrawing.h: Made GTK+ 2.x only.

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

9 years agoDon't pass a reference type to va_start
aroben@apple.com [Mon, 10 Jan 2011 22:02:58 +0000 (22:02 +0000)]
Don't pass a reference type to va_start

C++ says this results in undefined behavior:

    The restrictions that ISO C places on the second parameter to the
    va_start() macro in header <stdarg.h> are different in this
    International Standard. The parameter parmN is the identifier of
    the rightmost parameter in the variable parameter list of the
    function definition (the one just before the ...).221) If the
    parameter parmN is declared with a function, array, or reference
    type, or with a type that is not compatible with the type that
    results when passing an argument for which there is no parameter,
    the behavior is undefined.

Fixes <http://webkit.org/b/52168> Title of standalone image document
includes bogus image dimensions

Rubber-stamped by Eric Seidel.

* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::formatLocalizedString): Don't use a reference type for
|format|.

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

9 years ago2011-01-10 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 10 Jan 2011 22:00:38 +0000 (22:00 +0000)]
2011-01-10  Tony Chang  <tony@chromium.org>

        Unreviewed, rolling out r75398, r75407,
        http://trac.webkit.org/changeset/75398
        https://bugs.webkit.org/show_bug.cgi?id=52008

        Some layout tests are crashing on Chromium Win.

        * platform/chromium-win/fast/backgrounds/animated-gif-as-background-expected.checksum: Added.
        * platform/chromium-win/fast/backgrounds/animated-gif-as-background-expected.png: Added.
        * platform/chromium/test_expectations.txt:
2011-01-10  Tony Chang  <tony@chromium.org>

        Unreviewed, rolling out r75398.
        http://trac.webkit.org/changeset/75398
        https://bugs.webkit.org/show_bug.cgi?id=52008

        Some layout tests are crashing on Chromium Win.

        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::updatePaintRect):
        * DumpRenderTree/chromium/WebViewHost.h:

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

9 years ago2011-01-10 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 10 Jan 2011 21:57:02 +0000 (21:57 +0000)]
2011-01-10  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium test expectations update.

        Rebaseline six tests in fast/repaint for chromium-mac. Even after the
        scrollbar switch they need Chromium-specific results since repaint
        regions are different from the mac port's.

        Adds both Leopard (chromium-mac-leopard) and Snow Leopard (chromium-mac)
        baselines.

        * platform/chromium-mac-leopard/fast/repaint/fixed-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/fixed-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/fixed-move-after-keyboard-scroll-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/fixed-move-after-keyboard-scroll-expected.png: Added.
        * platform/chromium-mac/fast/repaint/fixed-expected.checksum:
        * platform/chromium-mac/fast/repaint/fixed-expected.png:
        * platform/chromium-mac/fast/repaint/fixed-move-after-keyboard-scroll-expected.checksum:
        * platform/chromium-mac/fast/repaint/fixed-move-after-keyboard-scroll-expected.png:
        * platform/chromium-mac/fast/repaint/fixed-tranformed-expected.checksum:
        * platform/chromium-mac/fast/repaint/fixed-tranformed-expected.png:
        * platform/chromium-mac/fast/repaint/moving-shadow-on-container-expected.checksum:
        * platform/chromium-mac/fast/repaint/moving-shadow-on-container-expected.png:
        * platform/chromium-mac/fast/repaint/moving-shadow-on-path-expected.checksum:
        * platform/chromium-mac/fast/repaint/moving-shadow-on-path-expected.png:
        * platform/chromium-mac/fast/repaint/repaint-during-scroll-expected.checksum:
        * platform/chromium-mac/fast/repaint/repaint-during-scroll-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-10 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 10 Jan 2011 21:21:19 +0000 (21:21 +0000)]
2011-01-10  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gavin Barraclough.

        Remove unused isString() case in JSString::toPrimitiveString()
        https://bugs.webkit.org/show_bug.cgi?id=52167

        We never call toPrimitiveString() with strings, so remove the
        check and add an ASSERT ensuring this never happens. 0.7% overall
        progression in sunspider, since one of the call sites is very hot.

        * runtime/JSString.h:
        (JSC::JSValue::toPrimitiveString):

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

9 years agoRename the existing YARR files and classes
barraclough@apple.com [Mon, 10 Jan 2011 21:08:28 +0000 (21:08 +0000)]
Rename the existing YARR files and classes
https://bugs.webkit.org/show_bug.cgi?id=51872

Patch by Peter Varga <pvarga@inf.u-szeged.hu> on 2011-01-10
Reviewed by Gavin Barraclough.

Replace the "Regex" prefix with "Yarr" in the name of YARR files and classes.

* Android.mk:
* CMakeLists.txt:
* GNUmakefile.am:
* JavaScriptCore.gypi:
* JavaScriptCore.pro:
* JavaScriptCore.xcodeproj/project.pbxproj:
* runtime/RegExp.cpp:
(JSC::RegExp::compile):
(JSC::RegExp::match):
(JSC::RegExp::printTraceData):
* yarr/YarrInterpreter.cpp: Renamed from Source/JavaScriptCore/yarr/RegexInterpreter.cpp.
(JSC::Yarr::Interpreter::appendParenthesesDisjunctionContext):
(JSC::Yarr::Interpreter::popParenthesesDisjunctionContext):
(JSC::Yarr::Interpreter::DisjunctionContext::DisjunctionContext):
(JSC::Yarr::Interpreter::DisjunctionContext::operator new):
(JSC::Yarr::Interpreter::allocDisjunctionContext):
(JSC::Yarr::Interpreter::freeDisjunctionContext):
(JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::ParenthesesDisjunctionContext):
(JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::operator new):
(JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::restoreOutput):
(JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::getDisjunctionContext):
(JSC::Yarr::Interpreter::allocParenthesesDisjunctionContext):
(JSC::Yarr::Interpreter::freeParenthesesDisjunctionContext):
(JSC::Yarr::Interpreter::InputStream::InputStream):
(JSC::Yarr::Interpreter::InputStream::next):
(JSC::Yarr::Interpreter::InputStream::rewind):
(JSC::Yarr::Interpreter::InputStream::read):
(JSC::Yarr::Interpreter::InputStream::readPair):
(JSC::Yarr::Interpreter::InputStream::readChecked):
(JSC::Yarr::Interpreter::InputStream::reread):
(JSC::Yarr::Interpreter::InputStream::prev):
(JSC::Yarr::Interpreter::InputStream::getPos):
(JSC::Yarr::Interpreter::InputStream::setPos):
(JSC::Yarr::Interpreter::InputStream::atStart):
(JSC::Yarr::Interpreter::InputStream::atEnd):
(JSC::Yarr::Interpreter::InputStream::checkInput):
(JSC::Yarr::Interpreter::InputStream::uncheckInput):
(JSC::Yarr::Interpreter::InputStream::isNotAvailableInput):
(JSC::Yarr::Interpreter::testCharacterClass):
(JSC::Yarr::Interpreter::checkCharacter):
(JSC::Yarr::Interpreter::checkCasedCharacter):
(JSC::Yarr::Interpreter::checkCharacterClass):
(JSC::Yarr::Interpreter::tryConsumeBackReference):
(JSC::Yarr::Interpreter::matchAssertionBOL):
(JSC::Yarr::Interpreter::matchAssertionEOL):
(JSC::Yarr::Interpreter::matchAssertionWordBoundary):
(JSC::Yarr::Interpreter::backtrackPatternCharacter):
(JSC::Yarr::Interpreter::backtrackPatternCasedCharacter):
(JSC::Yarr::Interpreter::matchCharacterClass):
(JSC::Yarr::Interpreter::backtrackCharacterClass):
(JSC::Yarr::Interpreter::matchBackReference):
(JSC::Yarr::Interpreter::backtrackBackReference):
(JSC::Yarr::Interpreter::recordParenthesesMatch):
(JSC::Yarr::Interpreter::resetMatches):
(JSC::Yarr::Interpreter::parenthesesDoBacktrack):
(JSC::Yarr::Interpreter::matchParenthesesOnceBegin):
(JSC::Yarr::Interpreter::matchParenthesesOnceEnd):
(JSC::Yarr::Interpreter::backtrackParenthesesOnceBegin):
(JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd):
(JSC::Yarr::Interpreter::matchParenthesesTerminalBegin):
(JSC::Yarr::Interpreter::matchParenthesesTerminalEnd):
(JSC::Yarr::Interpreter::backtrackParenthesesTerminalBegin):
(JSC::Yarr::Interpreter::backtrackParenthesesTerminalEnd):
(JSC::Yarr::Interpreter::matchParentheticalAssertionBegin):
(JSC::Yarr::Interpreter::matchParentheticalAssertionEnd):
(JSC::Yarr::Interpreter::backtrackParentheticalAssertionBegin):
(JSC::Yarr::Interpreter::backtrackParentheticalAssertionEnd):
(JSC::Yarr::Interpreter::matchParentheses):
(JSC::Yarr::Interpreter::backtrackParentheses):
(JSC::Yarr::Interpreter::lookupForBeginChars):
(JSC::Yarr::Interpreter::matchDisjunction):
(JSC::Yarr::Interpreter::matchNonZeroDisjunction):
(JSC::Yarr::Interpreter::interpret):
(JSC::Yarr::Interpreter::Interpreter):
(JSC::Yarr::ByteCompiler::ParenthesesStackEntry::ParenthesesStackEntry):
(JSC::Yarr::ByteCompiler::ByteCompiler):
(JSC::Yarr::ByteCompiler::compile):
(JSC::Yarr::ByteCompiler::checkInput):
(JSC::Yarr::ByteCompiler::assertionBOL):
(JSC::Yarr::ByteCompiler::assertionEOL):
(JSC::Yarr::ByteCompiler::assertionWordBoundary):
(JSC::Yarr::ByteCompiler::atomPatternCharacter):
(JSC::Yarr::ByteCompiler::atomCharacterClass):
(JSC::Yarr::ByteCompiler::atomBackReference):
(JSC::Yarr::ByteCompiler::atomParenthesesOnceBegin):
(JSC::Yarr::ByteCompiler::atomParenthesesTerminalBegin):
(JSC::Yarr::ByteCompiler::atomParenthesesSubpatternBegin):
(JSC::Yarr::ByteCompiler::atomParentheticalAssertionBegin):
(JSC::Yarr::ByteCompiler::atomParentheticalAssertionEnd):
(JSC::Yarr::ByteCompiler::popParenthesesStack):
(JSC::Yarr::ByteCompiler::dumpDisjunction):
(JSC::Yarr::ByteCompiler::closeAlternative):
(JSC::Yarr::ByteCompiler::closeBodyAlternative):
(JSC::Yarr::ByteCompiler::atomParenthesesSubpatternEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesOnceEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesTerminalEnd):
(JSC::Yarr::ByteCompiler::regexBegin):
(JSC::Yarr::ByteCompiler::regexEnd):
(JSC::Yarr::ByteCompiler::alternativeBodyDisjunction):
(JSC::Yarr::ByteCompiler::alternativeDisjunction):
(JSC::Yarr::ByteCompiler::emitDisjunction):
(JSC::Yarr::byteCompile):
(JSC::Yarr::interpret):
* yarr/YarrInterpreter.h: Renamed from Source/JavaScriptCore/yarr/RegexInterpreter.h.
(JSC::Yarr::ByteTerm::ByteTerm):
(JSC::Yarr::ByteTerm::BOL):
(JSC::Yarr::ByteTerm::CheckInput):
(JSC::Yarr::ByteTerm::EOL):
(JSC::Yarr::ByteTerm::WordBoundary):
(JSC::Yarr::ByteTerm::BackReference):
(JSC::Yarr::ByteTerm::BodyAlternativeBegin):
(JSC::Yarr::ByteTerm::BodyAlternativeDisjunction):
(JSC::Yarr::ByteTerm::BodyAlternativeEnd):
(JSC::Yarr::ByteTerm::AlternativeBegin):
(JSC::Yarr::ByteTerm::AlternativeDisjunction):
(JSC::Yarr::ByteTerm::AlternativeEnd):
(JSC::Yarr::ByteTerm::SubpatternBegin):
(JSC::Yarr::ByteTerm::SubpatternEnd):
(JSC::Yarr::ByteTerm::invert):
(JSC::Yarr::ByteTerm::capture):
(JSC::Yarr::ByteDisjunction::ByteDisjunction):
(JSC::Yarr::BytecodePattern::BytecodePattern):
(JSC::Yarr::BytecodePattern::~BytecodePattern):
* yarr/YarrJIT.cpp: Renamed from Source/JavaScriptCore/yarr/RegexJIT.cpp.
(JSC::Yarr::YarrGenerator::optimizeAlternative):
(JSC::Yarr::YarrGenerator::matchCharacterClassRange):
(JSC::Yarr::YarrGenerator::matchCharacterClass):
(JSC::Yarr::YarrGenerator::jumpIfNoAvailableInput):
(JSC::Yarr::YarrGenerator::jumpIfAvailableInput):
(JSC::Yarr::YarrGenerator::checkInput):
(JSC::Yarr::YarrGenerator::atEndOfInput):
(JSC::Yarr::YarrGenerator::notAtEndOfInput):
(JSC::Yarr::YarrGenerator::jumpIfCharEquals):
(JSC::Yarr::YarrGenerator::jumpIfCharNotEquals):
(JSC::Yarr::YarrGenerator::readCharacter):
(JSC::Yarr::YarrGenerator::storeToFrame):
(JSC::Yarr::YarrGenerator::storeToFrameWithPatch):
(JSC::Yarr::YarrGenerator::loadFromFrame):
(JSC::Yarr::YarrGenerator::loadFromFrameAndJump):
(JSC::Yarr::YarrGenerator::IndirectJumpEntry::IndirectJumpEntry):
(JSC::Yarr::YarrGenerator::IndirectJumpEntry::addJump):
(JSC::Yarr::YarrGenerator::AlternativeBacktrackRecord::AlternativeBacktrackRecord):
(JSC::Yarr::YarrGenerator::GenerationState::GenerationState):
(JSC::Yarr::YarrGenerator::GenerationState::addIndirectJumpEntry):
(JSC::Yarr::YarrGenerator::GenerationState::emitIndirectJumpTable):
(JSC::Yarr::YarrGenerator::GenerationState::incrementParenNestingLevel):
(JSC::Yarr::YarrGenerator::GenerationState::decrementParenNestingLevel):
(JSC::Yarr::YarrGenerator::GenerationState::addParenthesesTail):
(JSC::Yarr::YarrGenerator::GenerationState::emitParenthesesTail):
(JSC::Yarr::YarrGenerator::GenerationState::addJumpToNextInteration):
(JSC::Yarr::YarrGenerator::GenerationState::addJumpsToNextInteration):
(JSC::Yarr::YarrGenerator::GenerationState::addDataLabelToNextIteration):
(JSC::Yarr::YarrGenerator::GenerationState::linkToNextIteration):
(JSC::Yarr::YarrGenerator::BacktrackDestination::BacktrackDestination):
(JSC::Yarr::YarrGenerator::BacktrackDestination::clear):
(JSC::Yarr::YarrGenerator::BacktrackDestination::clearDataLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::hasDestination):
(JSC::Yarr::YarrGenerator::BacktrackDestination::isStackOffset):
(JSC::Yarr::YarrGenerator::BacktrackDestination::isLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::isJumpList):
(JSC::Yarr::YarrGenerator::BacktrackDestination::hasDataLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::copyTarget):
(JSC::Yarr::YarrGenerator::BacktrackDestination::copyTo):
(JSC::Yarr::YarrGenerator::BacktrackDestination::addBacktrackJump):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setStackOffset):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setNextBacktrackLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::copyBacktrackToLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setBacktrackToLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setBacktrackJumpList):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setBacktrackSourceLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setDataLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::setSubDataLabelPtr):
(JSC::Yarr::YarrGenerator::BacktrackDestination::linkToNextBacktrack):
(JSC::Yarr::YarrGenerator::BacktrackDestination::getStackOffset):
(JSC::Yarr::YarrGenerator::BacktrackDestination::getLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::getBacktrackJumps):
(JSC::Yarr::YarrGenerator::BacktrackDestination::getDataLabel):
(JSC::Yarr::YarrGenerator::BacktrackDestination::jumpToBacktrack):
(JSC::Yarr::YarrGenerator::BacktrackDestination::linkDataLabelToHereIfExists):
(JSC::Yarr::YarrGenerator::BacktrackDestination::plantJumpToBacktrackIfExists):
(JSC::Yarr::YarrGenerator::BacktrackDestination::linkAlternativeBacktracks):
(JSC::Yarr::YarrGenerator::BacktrackDestination::linkAlternativeBacktracksTo):
(JSC::Yarr::YarrGenerator::TermGenerationState::TermGenerationState):
(JSC::Yarr::YarrGenerator::TermGenerationState::resetAlternative):
(JSC::Yarr::YarrGenerator::TermGenerationState::alternativeValid):
(JSC::Yarr::YarrGenerator::TermGenerationState::nextAlternative):
(JSC::Yarr::YarrGenerator::TermGenerationState::alternative):
(JSC::Yarr::YarrGenerator::TermGenerationState::isLastAlternative):
(JSC::Yarr::YarrGenerator::TermGenerationState::resetTerm):
(JSC::Yarr::YarrGenerator::TermGenerationState::termValid):
(JSC::Yarr::YarrGenerator::TermGenerationState::nextTerm):
(JSC::Yarr::YarrGenerator::TermGenerationState::term):
(JSC::Yarr::YarrGenerator::TermGenerationState::isLastTerm):
(JSC::Yarr::YarrGenerator::TermGenerationState::getSubParenNum):
(JSC::Yarr::YarrGenerator::TermGenerationState::isMainDisjunction):
(JSC::Yarr::YarrGenerator::TermGenerationState::setParenthesesTail):
(JSC::Yarr::YarrGenerator::TermGenerationState::getParenthesesTail):
(JSC::Yarr::YarrGenerator::TermGenerationState::lookaheadTerm):
(JSC::Yarr::YarrGenerator::TermGenerationState::isSinglePatternCharacterLookaheadTerm):
(JSC::Yarr::YarrGenerator::TermGenerationState::inputOffset):
(JSC::Yarr::YarrGenerator::TermGenerationState::clearBacktrack):
(JSC::Yarr::YarrGenerator::TermGenerationState::jumpToBacktrack):
(JSC::Yarr::YarrGenerator::TermGenerationState::plantJumpToBacktrackIfExists):
(JSC::Yarr::YarrGenerator::TermGenerationState::linkDataLabelToBacktrackIfExists):
(JSC::Yarr::YarrGenerator::TermGenerationState::addBacktrackJump):
(JSC::Yarr::YarrGenerator::TermGenerationState::setBacktrackDataLabel):
(JSC::Yarr::YarrGenerator::TermGenerationState::setBackTrackStackOffset):
(JSC::Yarr::YarrGenerator::TermGenerationState::setBacktrackLabel):
(JSC::Yarr::YarrGenerator::TermGenerationState::linkAlternativeBacktracks):
(JSC::Yarr::YarrGenerator::TermGenerationState::linkAlternativeBacktracksTo):
(JSC::Yarr::YarrGenerator::TermGenerationState::setBacktrackLink):
(JSC::Yarr::YarrGenerator::TermGenerationState::chainBacktracks):
(JSC::Yarr::YarrGenerator::TermGenerationState::chainBacktrackJumps):
(JSC::Yarr::YarrGenerator::TermGenerationState::getBacktrackDestination):
(JSC::Yarr::YarrGenerator::TermGenerationState::propagateBacktrackingFrom):
(JSC::Yarr::YarrGenerator::ParenthesesTail::ParenthesesTail):
(JSC::Yarr::YarrGenerator::ParenthesesTail::processBacktracks):
(JSC::Yarr::YarrGenerator::ParenthesesTail::setNextIteration):
(JSC::Yarr::YarrGenerator::ParenthesesTail::addAfterParenJump):
(JSC::Yarr::YarrGenerator::ParenthesesTail::generateCode):
(JSC::Yarr::YarrGenerator::generateAssertionBOL):
(JSC::Yarr::YarrGenerator::generateAssertionEOL):
(JSC::Yarr::YarrGenerator::matchAssertionWordchar):
(JSC::Yarr::YarrGenerator::generateAssertionWordBoundary):
(JSC::Yarr::YarrGenerator::generatePatternCharacterSingle):
(JSC::Yarr::YarrGenerator::generatePatternCharacterPair):
(JSC::Yarr::YarrGenerator::generatePatternCharacterFixed):
(JSC::Yarr::YarrGenerator::generatePatternCharacterGreedy):
(JSC::Yarr::YarrGenerator::generatePatternCharacterNonGreedy):
(JSC::Yarr::YarrGenerator::generateCharacterClassSingle):
(JSC::Yarr::YarrGenerator::generateCharacterClassFixed):
(JSC::Yarr::YarrGenerator::generateCharacterClassGreedy):
(JSC::Yarr::YarrGenerator::generateCharacterClassNonGreedy):
(JSC::Yarr::YarrGenerator::generateParenthesesDisjunction):
(JSC::Yarr::YarrGenerator::generateParenthesesSingle):
(JSC::Yarr::YarrGenerator::generateParenthesesGreedyNoBacktrack):
(JSC::Yarr::YarrGenerator::generateParentheticalAssertion):
(JSC::Yarr::YarrGenerator::generateTerm):
(JSC::Yarr::YarrGenerator::generateDisjunction):
(JSC::Yarr::YarrGenerator::generateEnter):
(JSC::Yarr::YarrGenerator::generateReturn):
(JSC::Yarr::YarrGenerator::YarrGenerator):
(JSC::Yarr::YarrGenerator::generate):
(JSC::Yarr::YarrGenerator::compile):
(JSC::Yarr::jitCompile):
* yarr/YarrJIT.h: Renamed from Source/JavaScriptCore/yarr/RegexJIT.h.
(JSC::Yarr::YarrCodeBlock::YarrCodeBlock):
(JSC::Yarr::YarrCodeBlock::~YarrCodeBlock):
(JSC::Yarr::YarrCodeBlock::setFallBack):
(JSC::Yarr::YarrCodeBlock::isFallBack):
(JSC::Yarr::YarrCodeBlock::set):
(JSC::Yarr::YarrCodeBlock::execute):
(JSC::Yarr::YarrCodeBlock::getAddr):
(JSC::Yarr::execute):
* yarr/YarrParser.h: Renamed from Source/JavaScriptCore/yarr/RegexParser.h.
(JSC::Yarr::Parser::CharacterClassParserDelegate::CharacterClassParserDelegate):
(JSC::Yarr::Parser::CharacterClassParserDelegate::begin):
(JSC::Yarr::Parser::CharacterClassParserDelegate::atomPatternCharacter):
(JSC::Yarr::Parser::CharacterClassParserDelegate::atomBuiltInCharacterClass):
(JSC::Yarr::Parser::CharacterClassParserDelegate::end):
(JSC::Yarr::Parser::CharacterClassParserDelegate::assertionWordBoundary):
(JSC::Yarr::Parser::CharacterClassParserDelegate::atomBackReference):
(JSC::Yarr::Parser::Parser):
(JSC::Yarr::Parser::parseEscape):
(JSC::Yarr::Parser::parseAtomEscape):
(JSC::Yarr::Parser::parseCharacterClassEscape):
(JSC::Yarr::Parser::parseCharacterClass):
(JSC::Yarr::Parser::parseParenthesesBegin):
(JSC::Yarr::Parser::parseParenthesesEnd):
(JSC::Yarr::Parser::parseQuantifier):
(JSC::Yarr::Parser::parseTokens):
(JSC::Yarr::Parser::parse):
(JSC::Yarr::Parser::saveState):
(JSC::Yarr::Parser::restoreState):
(JSC::Yarr::Parser::atEndOfPattern):
(JSC::Yarr::Parser::peek):
(JSC::Yarr::Parser::peekIsDigit):
(JSC::Yarr::Parser::peekDigit):
(JSC::Yarr::Parser::consume):
(JSC::Yarr::Parser::consumeDigit):
(JSC::Yarr::Parser::consumeNumber):
(JSC::Yarr::Parser::consumeOctal):
(JSC::Yarr::Parser::tryConsume):
(JSC::Yarr::Parser::tryConsumeHex):
(JSC::Yarr::parse):
* yarr/YarrPattern.cpp: Renamed from Source/JavaScriptCore/yarr/RegexPattern.cpp.
(JSC::Yarr::CharacterClassConstructor::CharacterClassConstructor):
(JSC::Yarr::CharacterClassConstructor::reset):
(JSC::Yarr::CharacterClassConstructor::append):
(JSC::Yarr::CharacterClassConstructor::putChar):
(JSC::Yarr::CharacterClassConstructor::isUnicodeUpper):
(JSC::Yarr::CharacterClassConstructor::isUnicodeLower):
(JSC::Yarr::CharacterClassConstructor::putRange):
(JSC::Yarr::CharacterClassConstructor::charClass):
(JSC::Yarr::CharacterClassConstructor::addSorted):
(JSC::Yarr::CharacterClassConstructor::addSortedRange):
(JSC::Yarr::BeginCharHelper::BeginCharHelper):
(JSC::Yarr::BeginCharHelper::addBeginChar):
(JSC::Yarr::BeginCharHelper::merge):
(JSC::Yarr::BeginCharHelper::addCharacter):
(JSC::Yarr::BeginCharHelper::linkHotTerms):
(JSC::Yarr::YarrPatternConstructor::YarrPatternConstructor):
(JSC::Yarr::YarrPatternConstructor::~YarrPatternConstructor):
(JSC::Yarr::YarrPatternConstructor::reset):
(JSC::Yarr::YarrPatternConstructor::assertionBOL):
(JSC::Yarr::YarrPatternConstructor::assertionEOL):
(JSC::Yarr::YarrPatternConstructor::assertionWordBoundary):
(JSC::Yarr::YarrPatternConstructor::atomPatternCharacter):
(JSC::Yarr::YarrPatternConstructor::atomBuiltInCharacterClass):
(JSC::Yarr::YarrPatternConstructor::atomCharacterClassBegin):
(JSC::Yarr::YarrPatternConstructor::atomCharacterClassAtom):
(JSC::Yarr::YarrPatternConstructor::atomCharacterClassRange):
(JSC::Yarr::YarrPatternConstructor::atomCharacterClassBuiltIn):
(JSC::Yarr::YarrPatternConstructor::atomCharacterClassEnd):
(JSC::Yarr::YarrPatternConstructor::atomParenthesesSubpatternBegin):
(JSC::Yarr::YarrPatternConstructor::atomParentheticalAssertionBegin):
(JSC::Yarr::YarrPatternConstructor::atomParenthesesEnd):
(JSC::Yarr::YarrPatternConstructor::atomBackReference):
(JSC::Yarr::YarrPatternConstructor::copyDisjunction):
(JSC::Yarr::YarrPatternConstructor::copyTerm):
(JSC::Yarr::YarrPatternConstructor::quantifyAtom):
(JSC::Yarr::YarrPatternConstructor::disjunction):
(JSC::Yarr::YarrPatternConstructor::regexBegin):
(JSC::Yarr::YarrPatternConstructor::regexEnd):
(JSC::Yarr::YarrPatternConstructor::regexError):
(JSC::Yarr::YarrPatternConstructor::setupAlternativeOffsets):
(JSC::Yarr::YarrPatternConstructor::setupDisjunctionOffsets):
(JSC::Yarr::YarrPatternConstructor::setupOffsets):
(JSC::Yarr::YarrPatternConstructor::checkForTerminalParentheses):
(JSC::Yarr::YarrPatternConstructor::optimizeBOL):
(JSC::Yarr::YarrPatternConstructor::addBeginTerm):
(JSC::Yarr::YarrPatternConstructor::setupDisjunctionBeginTerms):
(JSC::Yarr::YarrPatternConstructor::setupAlternativeBeginTerms):
(JSC::Yarr::YarrPatternConstructor::setupBeginChars):
(JSC::Yarr::compile):
(JSC::Yarr::YarrPattern::YarrPattern):
* yarr/YarrPattern.h: Renamed from Source/JavaScriptCore/yarr/RegexPattern.h.
(JSC::Yarr::CharacterRange::CharacterRange):
(JSC::Yarr::CharacterClassTable::create):
(JSC::Yarr::CharacterClassTable::CharacterClassTable):
(JSC::Yarr::CharacterClass::CharacterClass):
(JSC::Yarr::PatternTerm::PatternTerm):
(JSC::Yarr::PatternTerm::ForwardReference):
(JSC::Yarr::PatternTerm::BOL):
(JSC::Yarr::PatternTerm::EOL):
(JSC::Yarr::PatternTerm::WordBoundary):
(JSC::Yarr::PatternTerm::invert):
(JSC::Yarr::PatternTerm::capture):
(JSC::Yarr::PatternTerm::quantify):
(JSC::Yarr::PatternAlternative::PatternAlternative):
(JSC::Yarr::PatternAlternative::lastTerm):
(JSC::Yarr::PatternAlternative::removeLastTerm):
(JSC::Yarr::PatternAlternative::setOnceThrough):
(JSC::Yarr::PatternAlternative::onceThrough):
(JSC::Yarr::PatternDisjunction::PatternDisjunction):
(JSC::Yarr::PatternDisjunction::~PatternDisjunction):
(JSC::Yarr::PatternDisjunction::addNewAlternative):
(JSC::Yarr::TermChain::TermChain):
(JSC::Yarr::BeginChar::BeginChar):
(JSC::Yarr::YarrPattern::~YarrPattern):
(JSC::Yarr::YarrPattern::reset):
(JSC::Yarr::YarrPattern::containsIllegalBackReference):
(JSC::Yarr::YarrPattern::newlineCharacterClass):
(JSC::Yarr::YarrPattern::digitsCharacterClass):
(JSC::Yarr::YarrPattern::spacesCharacterClass):
(JSC::Yarr::YarrPattern::wordcharCharacterClass):
(JSC::Yarr::YarrPattern::nondigitsCharacterClass):
(JSC::Yarr::YarrPattern::nonspacesCharacterClass):
(JSC::Yarr::YarrPattern::nonwordcharCharacterClass):

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

9 years ago2011-01-10 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 10 Jan 2011 21:01:31 +0000 (21:01 +0000)]
2011-01-10  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Anders Carlsson.

        Skip layout tests in WebKit2 that fail for an obvious (missing DRT API) reason
        https://bugs.webkit.org/show_bug.cgi?id=52166

        * platform/mac-wk2/Skipped:

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

9 years agoWindows build fix.
barraclough@apple.com [Mon, 10 Jan 2011 20:45:06 +0000 (20:45 +0000)]
Windows build fix.

* parser/SyntaxChecker.h:

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

9 years ago2011-01-10 Dave Tapuska <dtapuska@rim.com>
commit-queue@webkit.org [Mon, 10 Jan 2011 20:39:10 +0000 (20:39 +0000)]
2011-01-10  Dave Tapuska  <dtapuska@rim.com>

        Reviewed by Gavin Barraclough.

        Add CTI ASM versions for RVCT ARM THUMB2 mode.

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

        * jit/JITStubs.cpp:
        (JSC::ctiTrampoline):
        (JSC::ctiVMThrowTrampoline):
        (JSC::ctiOpThrowNotCaught):

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

9 years agoQt build fix.
barraclough@apple.com [Mon, 10 Jan 2011 20:35:17 +0000 (20:35 +0000)]
Qt build fix.

* JavaScriptCore.pro:

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

9 years ago2011-01-10 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Mon, 10 Jan 2011 20:30:14 +0000 (20:30 +0000)]
2011-01-10  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Navigator.cookiesEnabled return true for Qt even if there is no cookie jar
        https://bugs.webkit.org/show_bug.cgi?id=52081

        Test for the availability of cookie jar to return if cookies are enabled or not.

        * platform/qt/CookieJarQt.cpp:
        (WebCore::cookiesEnabled):
2011-01-10  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Navigator.cookiesEnabled return true for Qt even if there is no cookie jar
        https://bugs.webkit.org/show_bug.cgi?id=52081

        Add an autotest for checking the result of Navigator.cookiesEnabled depending
        on the status of the cookie jar.

        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::navigatorCookieEnabled):

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

9 years ago2011-01-10 W. James MacLean <wjmaclean@chromium.org>
commit-queue@webkit.org [Mon, 10 Jan 2011 20:29:25 +0000 (20:29 +0000)]
2011-01-10  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Enable reuse of RenderSurface for drawing.
        https://bugs.webkit.org/show_bug.cgi?id=51928

        Modifies RenderSurfaceChromium::prepareContentsTexture to avoid trying to 'reserve' a texture
        that is already reserved, should an attempt be made to re-select a previously drawn render surface
        in order to continue drawing to it. This use case appears when compositing into an offscreen texture.

        Covered by existing test (compositing/geometry/fixed-position.html) when offscreen compositing enabled.

        * platform/graphics/chromium/LayerTexture.h:
        (WebCore::LayerTexture::isReserved):
        * platform/graphics/chromium/RenderSurfaceChromium.cpp:
        (WebCore::RenderSurfaceChromium::prepareContentsTexture):
        * platform/graphics/chromium/TextureManager.cpp:
        (WebCore::TextureManager::isProtected):
        * platform/graphics/chromium/TextureManager.h:

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

9 years ago2011-01-10 Carlos Garcia Campos <cgarcia@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 20:22:07 +0000 (20:22 +0000)]
2011-01-10  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Port combo box painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=51828

        Use GtkStyleContext API to paint combo boxes when building with
        GTK+ 3.x. Method paintButton() has been factored out and the new
        static method renderButton() is used by both paintButton() and
        paintMenuList().

        No new tests. This should not change functionality.

        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::RenderThemeGtk::adjustRepaintRect):
        (WebCore::renderButton):
        (WebCore::RenderThemeGtk::paintButton):
        (WebCore::getComboBoxMetrics):
        (WebCore::RenderThemeGtk::popupInternalPaddingLeft):
        (WebCore::RenderThemeGtk::popupInternalPaddingRight):
        (WebCore::RenderThemeGtk::popupInternalPaddingTop):
        (WebCore::RenderThemeGtk::popupInternalPaddingBottom):
        (WebCore::RenderThemeGtk::paintMenuList):

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

9 years agoBug 52079 - Syntax errors should be early errors.
barraclough@apple.com [Mon, 10 Jan 2011 20:20:15 +0000 (20:20 +0000)]
Bug 52079 - Syntax errors should be early errors.

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

From chapter 16 the spec:
    An implementation must report most errors at the time the relevant ECMAScript language construct is
    evaluated. An early error is an error that can be detected and reported prior to the evaluation of
    any construct in the Program containing the error. An implementation must report early errors in a
    Program prior to the first evaluation of that Program. Early errors in eval code are reported at
    the time eval is called but prior to evaluation of any construct within the eval code. All errors
    that are not early errors are runtime errors.

    An implementation must treat any instance of the following kinds of errors as an early error:
        * Any syntax error."

* JavaScriptCore.xcodeproj/project.pbxproj:
    Added new files.
* bytecode/CodeBlock.cpp:
    Removed op_throw_syntax_error.
* bytecode/Opcode.h:
    Removed op_throw_syntax_error.
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::generate):
    If m_expressionTooDeep then throw a runtime error.
(JSC::BytecodeGenerator::BytecodeGenerator):
    Initialize m_expressionTooDeep.
(JSC::BytecodeGenerator::emitThrowExpressionTooDeepException):
    Sets m_expressionTooDeep.
* bytecompiler/BytecodeGenerator.h:
    Added m_expressionTooDeep, removed emitThrowSyntaxError.
* bytecompiler/NodesCodegen.cpp:
(JSC::RegExpNode::emitBytecode):
(JSC::ContinueNode::emitBytecode):
(JSC::BreakNode::emitBytecode):
(JSC::ReturnNode::emitBytecode):
(JSC::LabelNode::emitBytecode):
    Conditions that threw syntax error are now handled during parsing;
    during bytecompilation these are now just ASSERTs.
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
* jit/JIT.h:
* jit/JITOpcodes.cpp:
* jit/JITOpcodes32_64.cpp:
* jit/JITStubs.cpp:
* jit/JITStubs.h:
    Removed op_throw_syntax_error.
* parser/ASTBuilder.h:
(JSC::ASTBuilder::createRegExp):
    Renamed; added syntax check.
* parser/JSParser.cpp:
(JSC::JSParser::breakIsValid):
(JSC::JSParser::hasLabel):
(JSC::JSParser::Scope::Scope):
(JSC::JSParser::Scope::setIsFunction):
(JSC::JSParser::Scope::isFunctionBoundary):
(JSC::JSParser::ScopeRef::hasContainingScope):
(JSC::JSParser::ScopeRef::containingScope):
(JSC::JSParser::AutoPopScopeRef::AutoPopScopeRef):
(JSC::JSParser::AutoPopScopeRef::~AutoPopScopeRef):
(JSC::JSParser::AutoPopScopeRef::setPopped):
(JSC::JSParser::popScopeInternal):
(JSC::JSParser::popScope):
(JSC::jsParse):
(JSC::JSParser::JSParser):
(JSC::JSParser::parseProgram):
(JSC::JSParser::parseBreakStatement):
(JSC::JSParser::parseContinueStatement):
(JSC::JSParser::parseReturnStatement):
(JSC::JSParser::parseTryStatement):
(JSC::JSParser::parseFunctionInfo):
(JSC::JSParser::parseExpressionOrLabelStatement):
(JSC::JSParser::parsePrimaryExpression):
* parser/JSParser.h:
* parser/Nodes.h:
* parser/Parser.cpp:
(JSC::Parser::parse):
* parser/SyntaxChecker.h:
(JSC::SyntaxChecker::createRegExp):
    Renamed; added syntax check.
* runtime/ExceptionHelpers.cpp:
(JSC::createOutOfMemoryError):
(JSC::throwOutOfMemoryError):
* runtime/ExceptionHelpers.h:
    Broke out createOutOfMemoryError.
* runtime/Executable.cpp:
(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):
    Add check for exception after bytecode generation.
* runtime/RegExpConstructor.cpp:
(JSC::constructRegExp):
* runtime/RegExpPrototype.cpp:
(JSC::regExpProtoFuncCompile):
    RegExp error prefixes not included in error string.
* yarr/RegexParser.h:
(JSC::Yarr::Parser::parse):
    Removed regexBegin/regexEnd/regexError.
* yarr/RegexPattern.cpp:
(JSC::Yarr::RegexPatternConstructor::regexBegin):
    Removed regexEnd/regexError.
(JSC::Yarr::compileRegex):
    Add call to regexBegin (no longer called from the parser).
* yarr/YarrSyntaxChecker.cpp: Added.
(JSC::Yarr::SyntaxChecker::assertionBOL):
(JSC::Yarr::SyntaxChecker::assertionEOL):
(JSC::Yarr::SyntaxChecker::assertionWordBoundary):
(JSC::Yarr::SyntaxChecker::atomPatternCharacter):
(JSC::Yarr::SyntaxChecker::atomBuiltInCharacterClass):
(JSC::Yarr::SyntaxChecker::atomCharacterClassBegin):
(JSC::Yarr::SyntaxChecker::atomCharacterClassAtom):
(JSC::Yarr::SyntaxChecker::atomCharacterClassRange):
(JSC::Yarr::SyntaxChecker::atomCharacterClassBuiltIn):
(JSC::Yarr::SyntaxChecker::atomCharacterClassEnd):
(JSC::Yarr::SyntaxChecker::atomParenthesesSubpatternBegin):
(JSC::Yarr::SyntaxChecker::atomParentheticalAssertionBegin):
(JSC::Yarr::SyntaxChecker::atomParenthesesEnd):
(JSC::Yarr::SyntaxChecker::atomBackReference):
(JSC::Yarr::SyntaxChecker::quantifyAtom):
(JSC::Yarr::SyntaxChecker::disjunction):
(JSC::Yarr::checkSyntax):
* yarr/YarrSyntaxChecker.h: Added.
    Check RegExp syntax.

LayoutTests:

Fix syntax errors in layout tests, and update expected results.

* editing/selection/select-crash-001.html:
* editing/selection/select-crash-002.html:
* fast/canvas/webgl/renderbuffer-initialization.html:
* fast/forms/25153.html:
* fast/forms/textfield-drag-into-disabled.html:
* fast/js/exception-codegen-crash-expected.txt:
* fast/js/exception-codegen-crash.html:
* fast/js/kde/parse-expected.txt:
* fast/js/kde/script-tests/parse.js:
* fast/js/large-expressions-expected.txt:
* fast/js/named-function-expression-expected.txt:
* fast/js/parser-syntax-check-expected.txt:
* fast/js/script-tests/large-expressions.js:
* fast/js/script-tests/named-function-expression.js:
* fast/js/script-tests/parser-syntax-check.js:
* fast/js/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt:
* fast/js/sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt:
* http/tests/security/isolatedWorld/events.html:
* http/tests/security/isolatedWorld/userGestureEvents.html:
* svg/custom/resources/use-instanceRoot-event-listeners.js:
* svg/custom/rgbcolor-syntax.svg:
* svg/custom/use-instanceRoot-modifications.svg:
* svg/custom/use-property-changes-through-svg-dom.svg:
* webarchive/adopt-attribute-styled-body-webarchive-expected.webarchive:
* webarchive/resources/adopt-attribute-styled-body-iframe.html:

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

9 years ago2011-01-10 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 10 Jan 2011 20:14:30 +0000 (20:14 +0000)]
2011-01-10  Tony Chang  <tony@chromium.org>

        Unreviewed, remove duplicate test expectation for gif-loop-count.

        * platform/chromium/test_expectations.txt:

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

9 years agoRoll out r75392
aroben@apple.com [Mon, 10 Jan 2011 20:14:06 +0000 (20:14 +0000)]
Roll out r75392

It isn't needed now that r75289 has been rolled out.

* Scripts/run-javascriptcore-tests:

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

9 years agoRoll out r75289
aroben@apple.com [Mon, 10 Jan 2011 20:13:38 +0000 (20:13 +0000)]
Roll out r75289

It was causing assertion failures. See <http://webkit.org/b/52156>.

* wtf/StackBounds.cpp:
(WTF::StackBounds::initialize):

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

9 years ago2011-01-10 Siddharth Mathur <siddharth.mathur@nokia.com>
commit-queue@webkit.org [Mon, 10 Jan 2011 20:07:32 +0000 (20:07 +0000)]
2011-01-10  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Eric Seidel.

        Support for ARM's RVCT(ARMCC) compiler in import/export directives
        https://bugs.webkit.org/show_bug.cgi?id=52146

        * Shared/API/c/WKBase.h:

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

9 years ago2011-01-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Mon, 10 Jan 2011 20:05:54 +0000 (20:05 +0000)]
2011-01-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Eric Seidel.

        [EFL] Enable JIT for WebKit EFL
        https://bugs.webkit.org/show_bug.cgi?id=52140

        Enable JIT option for WebKit EFL. Enabled JIT's JS performance is
        3 ~ 6 times faster than before.

        * Source/cmake/OptionsEfl.cmake:

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

9 years agoUnreviewed rolling out r75371, because it didn't fix Qt buildbot.
ossy@webkit.org [Mon, 10 Jan 2011 20:04:22 +0000 (20:04 +0000)]
Unreviewed rolling out r75371, because it didn't fix Qt buildbot.

* platform/qt/Skipped:

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

9 years ago2011-01-10 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 10 Jan 2011 20:00:42 +0000 (20:00 +0000)]
2011-01-10  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Anders Carlsson.

        WebKitTestRunner uses crazy amounts of CPU, making layout tests slow and flaky
        https://bugs.webkit.org/show_bug.cgi?id=52160

        * WebKitTestRunner/mac/TestControllerMac.mm:
        (WTR::TestController::platformRunUntil): Instead of busy-looping, wait for the timeout.
        Anything that can make runUntil() conditions turn true will happen on a run loop cycle
        anyway.

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

9 years ago2011-01-10 Evan Martin <evan@chromium.org>
evan@chromium.org [Mon, 10 Jan 2011 19:58:05 +0000 (19:58 +0000)]
2011-01-10  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        [chromium] simplify complex glyph positioning code
        https://bugs.webkit.org/show_bug.cgi?id=52159

        Before, we had roughly same code duplicated for RTL and LTR.
        Now, use the same code for both directions by being careful about
        flipping signs where appropriate.

        * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
        (WebCore::ComplexTextController::shapeGlyphs):
        (WebCore::ComplexTextController::setGlyphXPositions):

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

9 years agoFix the build.
weinig@apple.com [Mon, 10 Jan 2011 19:31:58 +0000 (19:31 +0000)]
Fix the build.

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

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

9 years ago2011-01-10 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 10 Jan 2011 19:31:52 +0000 (19:31 +0000)]
2011-01-10  Tony Chang  <tony@chromium.org>

        Reviewed by Mihai Parparita.

        [chromium] fix for animated gif layout tests
        https://bugs.webkit.org/show_bug.cgi?id=52008

        Remove incorrect baselines.

        * platform/chromium-win/fast/backgrounds/animated-gif-as-background-expected.checksum: Removed.
        * platform/chromium-win/fast/backgrounds/animated-gif-as-background-expected.png: Removed.
        * platform/chromium/test_expectations.txt:
2011-01-10  Tony Chang  <tony@chromium.org>

        Reviewed by Mihai Parparita.

        [chromium] fix for animated gif layout tests
        https://bugs.webkit.org/show_bug.cgi?id=52008

        * DumpRenderTree/chromium/WebViewHost.cpp: Schedule a paint when we update the paint rect
            to trigger gif animations.
        (WebViewHostPaintTask::WebViewHostPaintTask):
        (WebViewHostPaintTask::runIfValid):
        (WebViewHost::updatePaintRect):
        * DumpRenderTree/chromium/WebViewHost.h:
        (WebViewHost::taskList):

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

9 years ago2011-01-10 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 10 Jan 2011 19:29:39 +0000 (19:29 +0000)]
2011-01-10  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix gtk2 compilation for master
        https://bugs.webkit.org/show_bug.cgi?id=51885

        * platform/gtk/GtkVersioning.h: Replaced the 2.24.0 check with
        2.23.0 to avoid using the old symbols in the 2.23 releases. Added
        support for gdk_pixmap_get_size before the 2.23.4.
        * platform/gtk/WidgetRenderingContextGtk2.cpp:
        (WebCore::WidgetRenderingContext::WidgetRenderingContext):
        Replaced the old gdk_drawable_get_size with gdk_pixmap_get_size.

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

        Reviewed by Xan Lopez.

        [GTK] Fix gtk2 compilation for master
        https://bugs.webkit.org/show_bug.cgi?id=51885

        * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
        (createBitmapContextFromWebView): Replaced the old
        gdk_drawable_get_size with gdk_pixmap_get_size.

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

        Reviewed by Xan Lopez.

        [GTK] Fix gtk2 compilation for master
        https://bugs.webkit.org/show_bug.cgi?id=51885

        * webkit/webkitsoupauthdialog.c:
        (show_auth_dialog): Removed the call to
        gtk_dialog_set_has_separator API to remove a warning.

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

9 years ago2011-01-10 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 10 Jan 2011 19:22:06 +0000 (19:22 +0000)]
2011-01-10  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Laszlo Gombos.

        [WINCE] Reenable NPAPI after r75203
        https://bugs.webkit.org/show_bug.cgi?id=52109

        Remove the !isWinCE() check for ENABLE_NETSCAPE_PLUGIN_API and replace
        it with !isEfl(), because EFL port does not support NPAPI (yet).

        * Scripts/build-webkit:

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

9 years agoMake Geolocation features work in WebKit2
weinig@apple.com [Mon, 10 Jan 2011 19:20:15 +0000 (19:20 +0000)]
Make Geolocation features work in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=52078

Reviewed by Anders Carlsson.

Step 1 - Add enough support to get position data from a provider.
This does not include permission support.

* Platform/CoreIPC/HandleMessage.h:
Add #include of Arguments.h for CoreIPC::In and Out definitions.

* Platform/CoreIPC/MessageID.h:
Add new message types.

* Shared/API/c/WKBase.h:
* Shared/APIObject.h:
Add new API types.

* Shared/WebGeolocationPosition.cpp: Added.
* Shared/WebGeolocationPosition.h: Added.
Internal position representation.

* UIProcess/API/C/WKAPICast.h:
Add casts for new API types.

* UIProcess/API/C/WKContext.cpp:
* UIProcess/API/C/WKContext.h:
* UIProcess/API/C/WKGeolocationManager.cpp: Added.
* UIProcess/API/C/WKGeolocationManager.h: Added.
* UIProcess/API/C/WKGeolocationPosition.cpp: Added.
* UIProcess/API/C/WKGeolocationPosition.h: Added.
* UIProcess/API/C/WebKit2.h:
Add API to provide and control geolocation data.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::processDidClose):
(WebKit::WebContext::didReceiveMessage):
* UIProcess/WebContext.h:
(WebKit::WebContext::geolocationManagerProxy):
* UIProcess/WebGeolocationManagerProxy.cpp: Added.
(WebKit::WebGeolocationManagerProxy::create):
(WebKit::WebGeolocationManagerProxy::WebGeolocationManagerProxy):
(WebKit::WebGeolocationManagerProxy::~WebGeolocationManagerProxy):
(WebKit::WebGeolocationManagerProxy::invalidate):
(WebKit::WebGeolocationManagerProxy::initializeProvider):
(WebKit::WebGeolocationManagerProxy::providerDidChangePosition):
(WebKit::WebGeolocationManagerProxy::providerDidFailToDeterminePosition):
(WebKit::WebGeolocationManagerProxy::didReceiveMessage):
(WebKit::WebGeolocationManagerProxy::startUpdating):
(WebKit::WebGeolocationManagerProxy::stopUpdating):
* UIProcess/WebGeolocationManagerProxy.h: Added.
(WebKit::WebGeolocationManagerProxy::clearContext):
(WebKit::WebGeolocationManagerProxy::type):
* UIProcess/WebGeolocationManagerProxy.messages.in: Added.
* UIProcess/WebGeolocationProvider.cpp: Added.
(WebKit::WebGeolocationProvider::startUpdating):
(WebKit::WebGeolocationProvider::stopUpdating):
* UIProcess/WebGeolocationProvider.h: Added.
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
* WebProcess/Geolocation: Added.
* WebProcess/Geolocation/WebGeolocationManager.cpp: Added.
(WebKit::WebGeolocationManager::WebGeolocationManager):
(WebKit::WebGeolocationManager::~WebGeolocationManager):
(WebKit::WebGeolocationManager::didReceiveMessage):
(WebKit::WebGeolocationManager::registerWebPage):
(WebKit::WebGeolocationManager::unregisterWebPage):
(WebKit::WebGeolocationManager::didChangePosition):
(WebKit::WebGeolocationManager::didFailToDeterminePosition):
* WebProcess/Geolocation/WebGeolocationManager.h: Added.
* WebProcess/Geolocation/WebGeolocationManager.messages.in: Added.
* WebProcess/WebCoreSupport/WebGeolocationClient.cpp: Added.
(WebKit::WebGeolocationClient::geolocationDestroyed):
(WebKit::WebGeolocationClient::startUpdating):
(WebKit::WebGeolocationClient::stopUpdating):
(WebKit::WebGeolocationClient::setEnableHighAccuracy):
(WebKit::WebGeolocationClient::lastPosition):
(WebKit::WebGeolocationClient::requestPermission):
(WebKit::WebGeolocationClient::cancelPermissionRequest):
* WebProcess/WebCoreSupport/WebGeolocationClient.h: Added.
(WebKit::WebGeolocationClient::WebGeolocationClient):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::didReceiveMessage):
* WebProcess/WebProcess.h:
(WebKit::WebProcess::geolocationManager):
Pipe geolocation positions/errors from the UIProcess to the WebProcess.

* DerivedSources.make:
* DerivedSources.pro:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Common.vsprops:
 * win/WebKit2Generated.make:
Add new files.

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

9 years ago2011-01-10 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 10 Jan 2011 19:17:56 +0000 (19:17 +0000)]
2011-01-10  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; build fix for r75385.

        * rendering/mathml/RenderMathMLFraction.cpp:
        (WebCore::RenderMathMLFraction::paint):

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

9 years ago2011-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
jorlow@chromium.org [Mon, 10 Jan 2011 19:15:43 +0000 (19:15 +0000)]
2011-01-10  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r75341.
        http://trac.webkit.org/changeset/75341
        https://bugs.webkit.org/show_bug.cgi?id=52157

        Regressions on several pixel tests (Requested by jorlow on
        #webkit).

        * fast/canvas/canvas-fillPath-gradient-shadow-expected.txt: Removed.
        * fast/canvas/canvas-fillPath-gradient-shadow.html: Removed.
        * fast/canvas/script-tests/canvas-fillPath-gradient-shadow.js: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/qt/Skipped:
2011-01-10  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r75341.
        http://trac.webkit.org/changeset/75341
        https://bugs.webkit.org/show_bug.cgi?id=52157

        Regressions on several pixel tests (Requested by jorlow on
        #webkit).

        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::fillPath):

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

9 years agoSkip some asserting JS tests
aroben@apple.com [Mon, 10 Jan 2011 19:10:07 +0000 (19:10 +0000)]
Skip some asserting JS tests

See <http://webkit.org/b/52156>.

* Scripts/run-javascriptcore-tests:

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

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

        Reviewed by Martin Robinson.

        [GTK] Port check and radio button painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=51815

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

        No new tests. This should not change functionality.

        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::RenderThemeGtk::adjustRepaintRect):
        (WebCore::setToggleSize):
        (WebCore::paintToggle):
        (WebCore::RenderThemeGtk::setCheckboxSize):
        (WebCore::RenderThemeGtk::paintCheckbox):
        (WebCore::RenderThemeGtk::setRadioSize):
        (WebCore::RenderThemeGtk::paintRadio):

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

9 years agoUnreviewed.
ossy@webkit.org [Mon, 10 Jan 2011 18:53:50 +0000 (18:53 +0000)]
Unreviewed.

[Qt] fast/text/emphasis-avoid-ruby.html fails, because FontQt doesn’t implement
Font::emphasisMark{Ascent,Descent,Height} nor emphasis mark drawing.

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

* platform/qt/Skipped: Add fast/text/emphasis-avoid-ruby.html until fix.

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

9 years ago2011-01-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 18:52:12 +0000 (18:52 +0000)]
2011-01-10  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] build-webkit disable Blob support via arguments passed to automake
        https://bugs.webkit.org/show_bug.cgi?id=52097

        * Scripts/build-webkit: Enable Blob support when building WebKitGTK+ via
        build-webkit.

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

9 years ago2011-01-10 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 10 Jan 2011 18:45:13 +0000 (18:45 +0000)]
2011-01-10  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium test expectations update.

        Rebaseline two tests in fast/forms for chromium-mac. Even after the
        scrollbar switch they need Chromium-specific results since search and
        file upload control rendering is different from the mac port's.

        Adds both Leopard (chromium-mac-leopard) and Snow Leopard (chromium-mac)
        baselines.

        * platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/file-input-direction-expected.png.
        * platform/chromium-mac-leopard/fast/forms/search-transformed-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/forms/search-transformed-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/search-transformed-expected.png.
        * platform/chromium-mac/fast/forms/file-input-direction-expected.checksum:
        * platform/chromium-mac/fast/forms/file-input-direction-expected.png:
        * platform/chromium-mac/fast/forms/search-transformed-expected.checksum:
        * platform/chromium-mac/fast/forms/search-transformed-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed. Add Qt specific expected file.
ossy@webkit.org [Mon, 10 Jan 2011 18:42:40 +0000 (18:42 +0000)]
Unreviewed. Add Qt specific expected file.

* platform/qt/http/tests/navigation/forward-and-cancel-expected.txt: Copied from LayoutTests/http/tests/navigation/forward-and-cancel-expected.txt.

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

9 years ago2011-01-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 18:35:38 +0000 (18:35 +0000)]
2011-01-10  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha.

        Bump the WebKitGTK+ versions in preparation for development release.

        * configure.ac: Bump the library, libtool and user agent version.

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

9 years ago2011-01-10 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Mon, 10 Jan 2011 18:34:10 +0000 (18:34 +0000)]
2011-01-10  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Updated tests and results to take into account new default fraction bar thickness.
        https://bugs.webkit.org/show_bug.cgi?id=50018

        * mathml/presentation/fractions.xhtml:
        * platform/mac/mathml/presentation/fractions-expected.checksum:
        * platform/mac/mathml/presentation/fractions-expected.png:
        * platform/mac/mathml/presentation/fractions-expected.txt:
2011-01-10  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        MathML: vertical alignment & bar thickness adjustments of fractions.
        https://bugs.webkit.org/show_bug.cgi?id=50018

        The fraction bar thickness default value should follow the w3c MathML 3 recommendation:
        http://www.w3.org/TR/MathML3/chapter3.html#presm.mfrac
        The vertical alignment of the fraction bar should be more accurate, specially with operators (+,=,...).

        Test: mathml/presentation/fractions.xhtml

        * rendering/mathml/RenderMathMLFraction.cpp:
        (WebCore::RenderMathMLFraction::RenderMathMLFraction):
        (WebCore::RenderMathMLFraction::updateFromElement):
        (WebCore::RenderMathMLFraction::layout):
        (WebCore::RenderMathMLFraction::paint):
        (WebCore::RenderMathMLFraction::baselinePosition):
        * rendering/mathml/RenderMathMLFraction.h:

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

9 years agoSource/WebCore: https://bugs.webkit.org/show_bug.cgi?id=52044
antti@apple.com [Mon, 10 Jan 2011 18:32:58 +0000 (18:32 +0000)]
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=52044
REGRESSION(r74807): No-store is ignored within a document

Reviewed by Alexey Proskuryakov.

Don't use cached resources with Cache-control: no-store (unless cache policy is CachePolicyHistoryBuffer).
This matches a behavior that got lost in r74807.

Test: http/tests/misc/script-no-store.html
(by Alexey Proskuryakov)

* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::determineRevalidationPolicy):

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=52044
REGRESSION(r74807): No-store is ignored within a document

Reviewed by Alexey Proskuryakov.

* http/tests/misc/script-no-store-expected.txt: Added.
* http/tests/misc/script-no-store.html: Added.
* http/tests/misc/resources/random-no-store.php: Added.

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

9 years ago2011-01-10 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 10 Jan 2011 18:14:04 +0000 (18:14 +0000)]
2011-01-10  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Laszlo Gombos.

        [WIN] Add ProxyServerWin.cpp
        https://bugs.webkit.org/show_bug.cgi?id=52031

        Add stub implementation to fix ENABLE_NETSCAPE_PLUGIN_API on WinCE.

        * CMakeLists.txt:
        * CMakeListsWinCE.txt:
        * platform/network/win/ProxyServerWin.cpp: Added.
        (WebCore::proxyServersForURL):

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

9 years ago2011-01-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 18:09:09 +0000 (18:09 +0000)]
2011-01-10  Martin Robinson  <mrobinson@igalia.com>

        GTK+ build fix. Continue to fix 'make dist.'

        * GNUmakefile.am: Remove more non-existent files from the WebKit2 build.

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

9 years ago2011-01-10 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 10 Jan 2011 17:56:29 +0000 (17:56 +0000)]
2011-01-10  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

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

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

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

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

        Reviewed by Martin Robinson.

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

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

        * platform/gtk/Skipped:

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

9 years ago2011-01-10 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 10 Jan 2011 17:15:04 +0000 (17:15 +0000)]
2011-01-10  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Remove webkit2 files that are still not added to the
        repository from the makefile
        https://bugs.webkit.org/show_bug.cgi?id=52145

        This change is required for the release, we can add the lines
        again to the makefiles with the patches adding the files.

        * GNUmakefile.am:

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

9 years agoUse the same name and description for TestNetscapePlugin on Windows and Mac
aroben@apple.com [Mon, 10 Jan 2011 17:04:50 +0000 (17:04 +0000)]
Use the same name and description for TestNetscapePlugin on Windows and Mac

Fixes <http://webkit.org/b/52151>
fast/frames/iframe-reparenting-plugins.html fails on Windows

Reviewed by Steve Falkenburg.

* DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Copied
the name and description from Mac's Info.plist.

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

9 years ago2011-01-10 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Mon, 10 Jan 2011 17:00:47 +0000 (17:00 +0000)]
2011-01-10  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port text input control painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=51870

        Use GtkStyleContext API to paint text input controls when building
        with GTK+ 3.x.

        No new tests. This should not change functionality.

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

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

9 years ago2011-01-09 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Mon, 10 Jan 2011 16:41:49 +0000 (16:41 +0000)]
2011-01-09  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Forward declare some headers where possible
        https://bugs.webkit.org/show_bug.cgi?id=52133

        No new tests because no new functionality.

        * css/CSSValue.h:
        * dom/BeforeLoadEvent.h:
        * dom/Event.cpp:
        * dom/Event.h:
        * dom/StyledElement.cpp:
        * dom/StyledElement.h:
        * loader/DocumentLoader.h:
        * loader/FrameLoader.h:
        * page/Frame.h:
        * platform/graphics/GraphicsContext.cpp:
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/filters/FEBlend.cpp:
        * platform/graphics/filters/FEColorMatrix.cpp:
        * platform/graphics/filters/FEComponentTransfer.cpp:
        * platform/graphics/filters/FEComposite.cpp:
        * platform/graphics/filters/FEConvolveMatrix.cpp:
        * platform/graphics/filters/FEDiffuseLighting.cpp:
        * platform/graphics/filters/FEDisplacementMap.cpp:
        * platform/graphics/filters/FEFlood.cpp:
        * platform/graphics/filters/FEGaussianBlur.cpp:
        * platform/graphics/filters/FEMerge.cpp:
        * platform/graphics/filters/FEMorphology.cpp:
        * platform/graphics/filters/FEOffset.cpp:
        * platform/graphics/filters/FESpecularLighting.cpp:
        * platform/graphics/filters/FETile.cpp:
        * platform/graphics/filters/FETurbulence.cpp:
        * platform/graphics/filters/FilterEffect.cpp:
        * platform/graphics/filters/FilterEffect.h:
        * platform/graphics/filters/SourceAlpha.cpp:
        * platform/graphics/filters/SourceGraphic.cpp:
        * svg/SVGElement.cpp:
        * svg/SVGElement.h:
        * svg/SVGFEBlendElement.cpp:
        * svg/SVGFEColorMatrixElement.cpp:
        * svg/SVGFEComponentTransferElement.cpp:
        * svg/SVGFECompositeElement.cpp:
        * svg/SVGFEConvolveMatrixElement.cpp:
        * svg/SVGFEConvolveMatrixElement.h:
        * svg/SVGFEDiffuseLightingElement.cpp:
        * svg/SVGFEDisplacementMapElement.cpp:
        * svg/SVGFEGaussianBlurElement.cpp:
        * svg/SVGFEImageElement.h:
        * svg/SVGFEMergeElement.cpp:
        * svg/SVGFEMorphologyElement.cpp:
        * svg/SVGFEOffsetElement.cpp:
        * svg/SVGFESpecularLightingElement.cpp:
        * svg/SVGFETileElement.cpp:
        * svg/SVGFETurbulenceElement.h:
        * svg/SVGFilterPrimitiveStandardAttributes.cpp:
        * svg/SVGFilterPrimitiveStandardAttributes.h:
        * svg/SVGTextContentElement.cpp:
        * svg/graphics/filters/SVGFEImage.cpp:
        * svg/graphics/filters/SVGFEImage.h:
2011-01-09  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Forward declare some headers where possible
        https://bugs.webkit.org/show_bug.cgi?id=52133

        * WebView/WebFrame.mm:

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

9 years agoWindows build fix after r75313
aroben@apple.com [Mon, 10 Jan 2011 16:05:10 +0000 (16:05 +0000)]
Windows build fix after r75313

* WebCore.vcproj/build-generated-files.sh: Updated for the change in
this script's path.

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

9 years agoAdd some new tests to the Windows Skipped file
aroben@apple.com [Mon, 10 Jan 2011 15:50:07 +0000 (15:50 +0000)]
Add some new tests to the Windows Skipped file

The tests are failing due to unimplemented DRT features which are
already covered by bugs.

* platform/win/Skipped:

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

9 years ago2011-01-10 Siddharth Mathur <siddharth.mathur@nokia.com>
laszlo.1.gombos@nokia.com [Mon, 10 Jan 2011 15:30:17 +0000 (15:30 +0000)]
2011-01-10  Siddharth Mathur <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt][WK2] Guard gcc-specific syntax

        Non-gcc based compliers choke on the "-include"
        syntax for preinclude, place guard around it.

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

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

9 years ago2011-01-10 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Mon, 10 Jan 2011 15:25:11 +0000 (15:25 +0000)]
2011-01-10  Andreas Kling  <kling@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] [WK2] MiniBrowser does not load pages opened in new windows
        https://bugs.webkit.org/show_bug.cgi?id=52111

        When getting a createNewPage() callback from QWKPage, create the
        new page with the same QWKContext as the page that is passed to
        the callback.

        * MiniBrowser/qt/BrowserView.h:
        * MiniBrowser/qt/BrowserWindow.cpp:
        (newPageFunction):
        (BrowserWindow::BrowserWindow):
        * MiniBrowser/qt/BrowserWindow.h:
2011-01-10  Andreas Kling  <kling@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] [WK2] MiniBrowser does not load pages opened in new windows
        https://bugs.webkit.org/show_bug.cgi?id=52111

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPage::context): Implement this method.

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

9 years ago2011-01-10 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Mon, 10 Jan 2011 14:50:10 +0000 (14:50 +0000)]
2011-01-10  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] MiniBrowser: Remove superfluous createNewPage() callback

        BrowserView set its own useless createNewPage() callback on QWKPage.
        This was immediately overridden by BrowserWindow anyway, so remove
        the BrowserView one.

        * MiniBrowser/qt/BrowserView.cpp:
        (BrowserView::BrowserView):

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

9 years agoUnreviewed.
ossy@webkit.org [Mon, 10 Jan 2011 14:49:09 +0000 (14:49 +0000)]
Unreviewed.

[Qt] DRT sideeffect revealed by r63657
https://bugs.webkit.org/show_bug.cgi?id=42578

Add new tests introduced in r75305 to the skipped list temporarily to make buildbot happy.

* platform/qt/Skipped:

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

9 years ago2011-01-10 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Mon, 10 Jan 2011 14:39:44 +0000 (14:39 +0000)]
2011-01-10  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: make properties on Array's prototype non-enumerable.
        https://bugs.webkit.org/show_bug.cgi?id=51776

        * inspector/front-end/utilities.js:
        ():

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

9 years agoSpecificity of negated selectors apparently miscalculated
yael.aharon@nokia.com [Mon, 10 Jan 2011 13:50:32 +0000 (13:50 +0000)]
Specificity of negated selectors apparently miscalculated
https://bugs.webkit.org/show_bug.cgi?id=41206

Reviewed by Simon Fraser.

Source/WebCore:

Give negated selectors the specificity of the selector they are negating.
This is the same as the behavior of other browsers.

Test: fast/css/pseudo-not.html

* css/CSSSelector.cpp:
(WebCore::CSSSelector::specificityForOneSelector):

LayoutTests:

* fast/css/pseudo-not-expected.txt: Added.
* fast/css/pseudo-not.html: Added.

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

9 years agoWindows build fix after r75353
aroben@apple.com [Mon, 10 Jan 2011 13:30:57 +0000 (13:30 +0000)]
Windows build fix after r75353

* WebCore.vcproj/WebCoreCommon.vsprops: Added rendering/mathml to the
include path.

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

9 years ago2011-01-10 John Knottenbelt <jknotten@chromium.org>
jorlow@chromium.org [Mon, 10 Jan 2011 11:41:44 +0000 (11:41 +0000)]
2011-01-10  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Jeremy Orlow.

        [Chromium] Remove non-client-based Geolocation code
        https://bugs.webkit.org/show_bug.cgi?id=50921

        Code clean up, covered by existing tests.

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * platform/chromium/ChromiumBridge.h:
        * platform/chromium/GeolocationServiceChromium.cpp: Removed.
        * platform/chromium/GeolocationServiceChromium.h: Removed.
2011-01-10  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Jeremy Orlow.

        [Chromium] Remove non-client-based Geolocation code
        https://bugs.webkit.org/show_bug.cgi?id=50921

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::setGeolocationPermission):
        (LayoutTestController::setMockGeolocationPosition):
        (LayoutTestController::setMockGeolocationError):
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::geolocationClientMock):
        (WebViewHost::reset):
        * DumpRenderTree/chromium/WebViewHost.h:
2011-01-10  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Jeremy Orlow.

        [Chromium] Remove non-client-based Geolocation code
        https://bugs.webkit.org/show_bug.cgi?id=50921

        * WebKit.gyp:
        * public/WebGeolocationService.h: Removed.
        * public/WebGeolocationServiceBridge.h: Removed.
        * public/WebGeolocationServiceMock.h: Removed.
        * src/AssertMatchingEnums.cpp:
        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
        (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
        * src/ChromiumBridge.cpp:
        * src/WebGeolocationServiceBridgeImpl.cpp: Removed.
        * src/WebGeolocationServiceBridgeImpl.h: Removed.
        * src/WebGeolocationServiceMock.cpp: Removed.
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::WebViewImpl):
        * src/WebViewImpl.h:

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

9 years ago2011-01-10 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 10 Jan 2011 11:21:36 +0000 (11:21 +0000)]
2011-01-10  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Commit bot tried to land r? cq+ patch
        https://bugs.webkit.org/show_bug.cgi?id=36638

        It should now be possible to post a patch with r? and cq+ and the
        commit-queue will correctly wait for the r+ before attempting to land the patch.
        (This was a feature requested by several users.)

        One caveat: We don't actually reject r-, cq+ patches from the queue
        (we just ignore them), but I think that's OK for now.

        I also noticed that setting r- once a commit-queue node had grabbed
        a patch would not properly cancel the landing.  That's fixed and
        tested in this patch.

        * Scripts/webkitpy/tool/bot/commitqueuetask.py:
        * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
        * Scripts/webkitpy/tool/bot/feeders.py:
        * Scripts/webkitpy/tool/bot/feeders_unittest.py:

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

9 years ago2011-01-10 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 10 Jan 2011 10:44:17 +0000 (10:44 +0000)]
2011-01-10  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: protocol related change. Rename stepIntoStatement, stepOutOfFunction, stepOverStatement.
        stepIntoStatement => stepInto
        stepOutOfFunction => stepOut
        stepOverStatement => stepOver

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

        * inspector/Inspector.idl:
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::stepOver):
        (WebCore::InspectorDebuggerAgent::stepInto):
        (WebCore::InspectorDebuggerAgent::stepOut):
        * inspector/InspectorDebuggerAgent.h:
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._stepOverClicked):
        (WebInspector.ScriptsPanel.prototype._stepIntoClicked):
        (WebInspector.ScriptsPanel.prototype._stepOutClicked):

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

9 years ago2011-01-10 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Mon, 10 Jan 2011 09:09:42 +0000 (09:09 +0000)]
2011-01-10  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

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

        Use GtkStyleContext API to paint progressbars when building with
        GTK+ 3.x. Also add support for indeterminate progressbars.

        No new tests. This should not change functionality.

        * platform/gtk/RenderThemeGtk.cpp:
        * platform/gtk/RenderThemeGtk2.cpp:
        (WebCore::RenderThemeGtk::animationRepeatIntervalForProgressBar):
        (WebCore::RenderThemeGtk::animationDurationForProgressBar):
        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::RenderThemeGtk::animationRepeatIntervalForProgressBar):
        (WebCore::RenderThemeGtk::animationDurationForProgressBar):
        (WebCore::RenderThemeGtk::paintProgressBar):

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

9 years ago2011-01-10 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Mon, 10 Jan 2011 08:35:07 +0000 (08:35 +0000)]
2011-01-10  Andreas Kling  <kling@webkit.org>

        Reviewed by Darin Adler.

        Remove unused class "Pen" in WebCore/platform/graphics
        https://bugs.webkit.org/show_bug.cgi?id=49955

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/Pen.cpp: Removed.
        * platform/graphics/Pen.h: Removed.
        * platform/graphics/haiku/GraphicsContextHaiku.cpp:
        * platform/graphics/wx/GraphicsContextWx.cpp:
        * platform/graphics/wx/PenWx.cpp: Removed.

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

9 years ago2011-01-10 Xan Lopez <xlopez@igalia.com>
mrobinson@webkit.org [Mon, 10 Jan 2011 08:27:55 +0000 (08:27 +0000)]
2011-01-10  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Create intermediate libWebCore library
        https://bugs.webkit.org/show_bug.cgi?id=52116

        * GNUmakefile.am: add XP_UNIX to the global CPP flags, since it's
        used by both libWebCore and libwebkitgtk now.
2011-01-10  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Create intermediate libWebCore library
        https://bugs.webkit.org/show_bug.cgi?id=52116

        Create intermediate libWebCore.la to avoid overflowing the linker
        in the final link stage.

        * GNUmakefile.am: define the new library.
2011-01-10  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Create intermediate libWebCore library
        https://bugs.webkit.org/show_bug.cgi?id=52116

        * GNUmakefile.am: add libWebCore.la to LIBADD and remove webcore
        sources from the libwebkit library SOURCES.

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

9 years ago2011-01-09 Johnny Ding <jnd@chromium.org>
jnd@chromium.org [Mon, 10 Jan 2011 07:15:15 +0000 (07:15 +0000)]
2011-01-09  Johnny Ding  <jnd@chromium.org>

        Unreviewed, fix Chromium windows compilation error according to James Robinson's report.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        Fix Chromium window compilation error.

        * public/WebViewClient.h:
        (WebKit::WebViewClient::createView):

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

9 years agoUnreviewed. Adding svg/text/caret-in-svg-text.xhtml to Skipped list for gtk, where...
justin.garcia@apple.com [Mon, 10 Jan 2011 05:46:56 +0000 (05:46 +0000)]
Unreviewed.  Adding svg/text/caret-in-svg-text.xhtml to Skipped list for gtk, where there
is no TextInputController, and qt, where firstRectForCharacterRange is unimplemented.

* platform/gtk/Skipped:
* platform/qt/Skipped:

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

9 years ago2011-01-09 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 10 Jan 2011 02:38:24 +0000 (02:38 +0000)]
2011-01-09  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r75337.
        http://trac.webkit.org/changeset/75337
        https://bugs.webkit.org/show_bug.cgi?id=52137

        It made fast/dom/navigator-detached-no-crash.html crash
        (Requested by Ossy on #webkit).

        * platform/qt/CookieJarQt.cpp:
        (WebCore::cookiesEnabled):
2011-01-09  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r75337.
        http://trac.webkit.org/changeset/75337
        https://bugs.webkit.org/show_bug.cgi?id=52137

        It made fast/dom/navigator-detached-no-crash.html crash
        (Requested by Ossy on #webkit).

        * tests/qwebpage/tst_qwebpage.cpp:

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

9 years agoFix the build.
mrowe@apple.com [Mon, 10 Jan 2011 00:47:17 +0000 (00:47 +0000)]
Fix the build.

* WebCore.xcodeproj/project.pbxproj: Copy SVGResourcesCache.h in to PrivateHeaders
once more.

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

9 years ago<rdar://problem/8765555> WebKit2: Search field focus ring is missing
mitz@apple.com [Sun, 9 Jan 2011 23:34:10 +0000 (23:34 +0000)]
<rdar://problem/8765555> WebKit2: Search field focus ring is missing

Reviewed by Sam Weinig.

Provide a focus ring visible rect to AppKit.

* platform/mac/ThemeMac.mm:
(-[WebCoreFlippedView _focusRingVisibleRect]):
(-[WebCoreFlippedView _focusRingClipAncestor]):

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

9 years agoAdded Radar URL
mitz@apple.com [Sun, 9 Jan 2011 19:37:28 +0000 (19:37 +0000)]
Added Radar URL

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

9 years agoAssertion failure in KURL::KURL when calling WKURLRequestCreateWithWKURL with a non...
mitz@apple.com [Sun, 9 Jan 2011 19:36:11 +0000 (19:36 +0000)]
Assertion failure in KURL::KURL when calling WKURLRequestCreateWithWKURL with a non-parsed URL
https://bugs.webkit.org/show_bug.cgi?id=52132

Reviewed by Simon Fraser.

* Shared/API/c/WKURLRequest.cpp:
(WKURLRequestCreateWithWKURL): Parse the URL.
* Shared/WebString.h: Fixed a comment.
* Shared/WebURL.h: Ditto.

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

9 years ago2011-01-09 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 9 Jan 2011 19:24:23 +0000 (19:24 +0000)]
2011-01-09  Simon Fraser  <simon.fraser@apple.com>

        Fix test after r75352.

        Per HTML5, the disabled IDL attribute for style elements is not reflected
        in the content attribute.

        * fast/dom/boolean-attribute-reflection-expected.txt:
        * fast/dom/script-tests/boolean-attribute-reflection.js:

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

9 years ago2011-01-09 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Sun, 9 Jan 2011 19:13:45 +0000 (19:13 +0000)]
2011-01-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Rob Buis.

        Move MathML renderer to rendering/mathml
        https://bugs.webkit.org/show_bug.cgi?id=52131

        Move all renderer of MathML to WebCore/rendering/mathml

        No change of functionality, no new tests added.

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * mathml/RenderMathMLBlock.cpp: Removed.
        * mathml/RenderMathMLBlock.h: Removed.
        * mathml/RenderMathMLFenced.cpp: Removed.
        * mathml/RenderMathMLFenced.h: Removed.
        * mathml/RenderMathMLFraction.cpp: Removed.
        * mathml/RenderMathMLFraction.h: Removed.
        * mathml/RenderMathMLMath.cpp: Removed.
        * mathml/RenderMathMLMath.h: Removed.
        * mathml/RenderMathMLOperator.cpp: Removed.
        * mathml/RenderMathMLOperator.h: Removed.
        * mathml/RenderMathMLRoot.cpp: Removed.
        * mathml/RenderMathMLRoot.h: Removed.
        * mathml/RenderMathMLRow.cpp: Removed.
        * mathml/RenderMathMLRow.h: Removed.
        * mathml/RenderMathMLSquareRoot.cpp: Removed.
        * mathml/RenderMathMLSquareRoot.h: Removed.
        * mathml/RenderMathMLSubSup.cpp: Removed.
        * mathml/RenderMathMLSubSup.h: Removed.
        * mathml/RenderMathMLUnderOver.cpp: Removed.
        * mathml/RenderMathMLUnderOver.h: Removed.
        * rendering/mathml: Added.
        * rendering/mathml/RenderMathMLBlock.cpp: Copied from Source/WebCore/mathml/RenderMathMLBlock.cpp.
        * rendering/mathml/RenderMathMLBlock.h: Copied from Source/WebCore/mathml/RenderMathMLBlock.h.
        * rendering/mathml/RenderMathMLFenced.cpp: Copied from Source/WebCore/mathml/RenderMathMLFenced.cpp.
        * rendering/mathml/RenderMathMLFenced.h: Copied from Source/WebCore/mathml/RenderMathMLFenced.h.
        * rendering/mathml/RenderMathMLFraction.cpp: Copied from Source/WebCore/mathml/RenderMathMLFraction.cpp.
        * rendering/mathml/RenderMathMLFraction.h: Copied from Source/WebCore/mathml/RenderMathMLFraction.h.
        * rendering/mathml/RenderMathMLMath.cpp: Copied from Source/WebCore/mathml/RenderMathMLMath.cpp.
        * rendering/mathml/RenderMathMLMath.h: Copied from Source/WebCore/mathml/RenderMathMLMath.h.
        * rendering/mathml/RenderMathMLOperator.cpp: Copied from Source/WebCore/mathml/RenderMathMLOperator.cpp.
        * rendering/mathml/RenderMathMLOperator.h: Copied from Source/WebCore/mathml/RenderMathMLOperator.h.
        * rendering/mathml/RenderMathMLRoot.cpp: Copied from Source/WebCore/mathml/RenderMathMLRoot.cpp.
        * rendering/mathml/RenderMathMLRoot.h: Copied from Source/WebCore/mathml/RenderMathMLRoot.h.
        * rendering/mathml/RenderMathMLRow.cpp: Copied from Source/WebCore/mathml/RenderMathMLRow.cpp.
        * rendering/mathml/RenderMathMLRow.h: Copied from Source/WebCore/mathml/RenderMathMLRow.h.
        * rendering/mathml/RenderMathMLSquareRoot.cpp: Copied from Source/WebCore/mathml/RenderMathMLSquareRoot.cpp.
        * rendering/mathml/RenderMathMLSquareRoot.h: Copied from Source/WebCore/mathml/RenderMathMLSquareRoot.h.
        * rendering/mathml/RenderMathMLSubSup.cpp: Copied from Source/WebCore/mathml/RenderMathMLSubSup.cpp.
        * rendering/mathml/RenderMathMLSubSup.h: Copied from Source/WebCore/mathml/RenderMathMLSubSup.h.
        * rendering/mathml/RenderMathMLUnderOver.cpp: Copied from Source/WebCore/mathml/RenderMathMLUnderOver.cpp.
        * rendering/mathml/RenderMathMLUnderOver.h: Copied from Source/WebCore/mathml/RenderMathMLUnderOver.h.

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

9 years ago2011-01-08 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 9 Jan 2011 17:13:06 +0000 (17:13 +0000)]
2011-01-08  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Alexey Proskuryakov.

        HTMLStyleElement.disabled doesn't work (affects jQuery)
        https://bugs.webkit.org/show_bug.cgi?id=25287

        Fix the disabled property of a HTMLStyleElement to reflect,
        and set the disabled state of its style sheet, as required
        by DOM1 etc.

        Based on initial patch by Tarun Nainani.

        Test: fast/html/disable-style-element.html

        * dom/StyleElement.h:
        (WebCore::StyleElement::sheet): Make const.

        * html/HTMLStyleElement.h:
        * html/HTMLStyleElement.idl:
        * html/HTMLStyleElement.cpp:
        (WebCore::HTMLStyleElement::disabled):
        (WebCore::HTMLStyleElement::setDisabled): Getter and setter for disabled
        call through to the sheet (if any).

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

9 years ago2011-01-09 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Sun, 9 Jan 2011 17:05:28 +0000 (17:05 +0000)]
2011-01-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Rename RenderForeignObject to RenderSVGForeignObject
        https://bugs.webkit.org/show_bug.cgi?id=52129

        Rename RenderForeignObject to RenderSVGForeignObject to match the naming schema in render/svg.

        No change of functionality, no new tests.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * rendering/RenderingAllInOne.cpp:
        * rendering/svg/RenderForeignObject.cpp: Removed.
        * rendering/svg/RenderForeignObject.h: Removed.
        * rendering/svg/RenderSVGAllInOne.cpp:
        * rendering/svg/RenderSVGBlock.cpp:
        (WebCore::RenderSVGBlock::updateBoxModelInfoFromStyle):
        * rendering/svg/RenderSVGForeignObject.cpp: Copied from Source/WebCore/rendering/svg/RenderForeignObject.cpp.
        (WebCore::RenderSVGForeignObject::RenderSVGForeignObject):
        (WebCore::RenderSVGForeignObject::~RenderSVGForeignObject):
        (WebCore::RenderSVGForeignObject::paint):
        (WebCore::RenderSVGForeignObject::clippedOverflowRectForRepaint):
        (WebCore::RenderSVGForeignObject::computeRectForRepaint):
        (WebCore::RenderSVGForeignObject::localToParentTransform):
        (WebCore::RenderSVGForeignObject::computeLogicalWidth):
        (WebCore::RenderSVGForeignObject::computeLogicalHeight):
        (WebCore::RenderSVGForeignObject::layout):
        (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
        (WebCore::RenderSVGForeignObject::nodeAtPoint):
        (WebCore::RenderSVGForeignObject::mapLocalToContainer):
        * rendering/svg/RenderSVGForeignObject.h: Copied from Source/WebCore/rendering/svg/RenderForeignObject.h.
        (WebCore::RenderSVGForeignObject::renderName):
        * svg/SVGForeignObjectElement.cpp:
        (WebCore::SVGForeignObjectElement::createRenderer):
2011-01-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Rename RenderForeignObject to RenderSVGForeignObject
        https://bugs.webkit.org/show_bug.cgi?id=52129

        Renamed RenderForeignObject to RenderSVGForeignObject

        * platform/chromium-linux/svg/custom/dominant-baseline-hanging-expected.txt:
        * platform/chromium-win/svg/custom/baseval-animval-equality-expected.txt:
        * platform/chromium-win/svg/custom/dominant-baseline-hanging-expected.txt:
        * platform/chromium-win/svg/custom/dynamic-svg-document-creation-expected.txt:
        * platform/chromium-win/svg/custom/foreign-object-skew-expected.txt:
        * platform/chromium-win/svg/custom/foreignObject-crash-on-hover-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt:
        * platform/chromium-win/svg/custom/use-on-non-svg-namespaced-element-expected.txt:
        * platform/chromium-win/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/chromium-win/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/chromium-win/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/chromium-win/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/006-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/007-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/008-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/009-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/011-expected.txt:
        * platform/chromium-win/svg/text/foreignObject-repaint-expected.txt:
        * platform/chromium-win/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
        * platform/gtk/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt:
        * platform/gtk/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/gtk/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/gtk/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/gtk/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/gtk/svg/overflow/overflow-on-foreignObject-expected.txt:
        * platform/gtk/svg/text/foreignObject-repaint-expected.txt:
        * platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/gtk/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/gtk/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/mac-leopard/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/mac-leopard/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/mac/svg/custom/baseval-animval-equality-expected.txt:
        * platform/mac/svg/custom/dominant-baseline-hanging-expected.txt:
        * platform/mac/svg/custom/dynamic-svg-document-creation-expected.txt:
        * platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt:
        * platform/mac/svg/custom/foreign-object-skew-expected.txt:
        * platform/mac/svg/custom/foreignObject-crash-on-hover-expected.txt:
        * platform/mac/svg/custom/getPresentationAttribute-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-2-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-3-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-4-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-5-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-6-expected.txt:
        * platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.txt:
        * platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.txt:
        * platform/mac/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt:
        * platform/mac/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/mac/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/mac/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/mac/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/mac/svg/hixie/mixed/006-expected.txt:
        * platform/mac/svg/hixie/mixed/007-expected.txt:
        * platform/mac/svg/hixie/mixed/008-expected.txt:
        * platform/mac/svg/hixie/mixed/009-expected.txt:
        * platform/mac/svg/hixie/mixed/011-expected.txt:
        * platform/mac/svg/overflow/overflow-on-foreignObject-expected.txt:
        * platform/mac/svg/text/foreignObject-repaint-expected.txt:
        * platform/mac/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/mac/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/mac/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/mac/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/mac/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/mac/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
        * platform/qt/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt:
        * platform/qt/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/qt/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/qt/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/qt/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/qt/svg/overflow/overflow-on-foreignObject-expected.txt:
        * platform/qt/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/qt/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/qt/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/qt/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:

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

9 years ago2011-01-09 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Sun, 9 Jan 2011 12:35:15 +0000 (12:35 +0000)]
2011-01-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Move all SVG renderer to WebCore/rendering/svg
        https://bugs.webkit.org/show_bug.cgi?id=52087

        No change of functionality. Just moved all SVG renderer to WebCore/rendering/svg.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vjproj/project.vjproj:
        * WebCore.xcodeproj/project.pbxproj:
        * rendering/RenderForeignObject.cpp: Removed.
        * rendering/RenderForeignObject.h: Removed.
        * rendering/RenderSVGAllInOne.cpp: Removed.
        * rendering/RenderSVGBlock.cpp: Removed.
        * rendering/RenderSVGBlock.h: Removed.
        * rendering/RenderSVGContainer.cpp: Removed.
        * rendering/RenderSVGContainer.h: Removed.
        * rendering/RenderSVGGradientStop.cpp: Removed.
        * rendering/RenderSVGGradientStop.h: Removed.
        * rendering/RenderSVGHiddenContainer.cpp: Removed.
        * rendering/RenderSVGHiddenContainer.h: Removed.
        * rendering/RenderSVGImage.cpp: Removed.
        * rendering/RenderSVGImage.h: Removed.
        * rendering/RenderSVGModelObject.cpp: Removed.
        * rendering/RenderSVGModelObject.h: Removed.
        * rendering/RenderSVGResource.cpp: Removed.
        * rendering/RenderSVGResource.h: Removed.
        * rendering/RenderSVGResourceClipper.cpp: Removed.
        * rendering/RenderSVGResourceClipper.h: Removed.
        * rendering/RenderSVGResourceContainer.cpp: Removed.
        * rendering/RenderSVGResourceContainer.h: Removed.
        * rendering/RenderSVGResourceFilter.cpp: Removed.
        * rendering/RenderSVGResourceFilter.h: Removed.
        * rendering/RenderSVGResourceFilterPrimitive.cpp: Removed.
        * rendering/RenderSVGResourceFilterPrimitive.h: Removed.
        * rendering/RenderSVGResourceGradient.cpp: Removed.
        * rendering/RenderSVGResourceGradient.h: Removed.
        * rendering/RenderSVGResourceLinearGradient.cpp: Removed.
        * rendering/RenderSVGResourceLinearGradient.h: Removed.
        * rendering/RenderSVGResourceMarker.cpp: Removed.
        * rendering/RenderSVGResourceMarker.h: Removed.
        * rendering/RenderSVGResourceMasker.cpp: Removed.
        * rendering/RenderSVGResourceMasker.h: Removed.
        * rendering/RenderSVGResourcePattern.cpp: Removed.
        * rendering/RenderSVGResourcePattern.h: Removed.
        * rendering/RenderSVGResourceRadialGradient.cpp: Removed.
        * rendering/RenderSVGResourceRadialGradient.h: Removed.
        * rendering/RenderSVGResourceSolidColor.cpp: Removed.
        * rendering/RenderSVGResourceSolidColor.h: Removed.
        * rendering/RenderSVGRoot.cpp: Removed.
        * rendering/RenderSVGRoot.h: Removed.
        * rendering/RenderSVGShadowTreeRootContainer.cpp: Removed.
        * rendering/RenderSVGShadowTreeRootContainer.h: Removed.
        * rendering/RenderSVGTransformableContainer.cpp: Removed.
        * rendering/RenderSVGTransformableContainer.h: Removed.
        * rendering/RenderSVGViewportContainer.cpp: Removed.
        * rendering/RenderSVGViewportContainer.h: Removed.
        * rendering/SVGImageBufferTools.cpp: Removed.
        * rendering/SVGImageBufferTools.h: Removed.
        * rendering/SVGMarkerData.h: Removed.
        * rendering/SVGMarkerLayoutInfo.cpp: Removed.
        * rendering/SVGMarkerLayoutInfo.h: Removed.
        * rendering/SVGRenderSupport.cpp: Removed.
        * rendering/SVGRenderSupport.h: Removed.
        * rendering/SVGRenderTreeAsText.cpp: Removed.
        * rendering/SVGRenderTreeAsText.h: Removed.
        * rendering/SVGResources.cpp: Removed.
        * rendering/SVGResources.h: Removed.
        * rendering/SVGResourcesCache.cpp: Removed.
        * rendering/SVGResourcesCache.h: Removed.
        * rendering/SVGResourcesCycleSolver.cpp: Removed.
        * rendering/SVGResourcesCycleSolver.h: Removed.
        * rendering/SVGShadowTreeElements.cpp: Removed.
        * rendering/SVGShadowTreeElements.h: Removed.
        * rendering/svg/RenderForeignObject.cpp: Copied from Source/WebCore/rendering/RenderForeignObject.cpp.
        * rendering/svg/RenderForeignObject.h: Copied from Source/WebCore/rendering/RenderForeignObject.h.
        * rendering/svg/RenderSVGAllInOne.cpp: Copied from Source/WebCore/rendering/RenderSVGAllInOne.cpp.
        * rendering/svg/RenderSVGBlock.cpp: Copied from Source/WebCore/rendering/RenderSVGBlock.cpp.
        * rendering/svg/RenderSVGBlock.h: Copied from Source/WebCore/rendering/RenderSVGBlock.h.
        * rendering/svg/RenderSVGContainer.cpp: Copied from Source/WebCore/rendering/RenderSVGContainer.cpp.
        * rendering/svg/RenderSVGContainer.h: Copied from Source/WebCore/rendering/RenderSVGContainer.h.
        * rendering/svg/RenderSVGGradientStop.cpp: Copied from Source/WebCore/rendering/RenderSVGGradientStop.cpp.
        * rendering/svg/RenderSVGGradientStop.h: Copied from Source/WebCore/rendering/RenderSVGGradientStop.h.
        * rendering/svg/RenderSVGHiddenContainer.cpp: Copied from Source/WebCore/rendering/RenderSVGHiddenContainer.cpp.
        * rendering/svg/RenderSVGHiddenContainer.h: Copied from Source/WebCore/rendering/RenderSVGHiddenContainer.h.
        * rendering/svg/RenderSVGImage.cpp: Copied from Source/WebCore/rendering/RenderSVGImage.cpp.
        * rendering/svg/RenderSVGImage.h: Copied from Source/WebCore/rendering/RenderSVGImage.h.
        * rendering/svg/RenderSVGModelObject.cpp: Copied from Source/WebCore/rendering/RenderSVGModelObject.cpp.
        * rendering/svg/RenderSVGModelObject.h: Copied from Source/WebCore/rendering/RenderSVGModelObject.h.
        * rendering/svg/RenderSVGResource.cpp: Copied from Source/WebCore/rendering/RenderSVGResource.cpp.
        * rendering/svg/RenderSVGResource.h: Copied from Source/WebCore/rendering/RenderSVGResource.h.
        * rendering/svg/RenderSVGResourceClipper.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceClipper.cpp.
        * rendering/svg/RenderSVGResourceClipper.h: Copied from Source/WebCore/rendering/RenderSVGResourceClipper.h.
        * rendering/svg/RenderSVGResourceContainer.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceContainer.cpp.
        * rendering/svg/RenderSVGResourceContainer.h: Copied from Source/WebCore/rendering/RenderSVGResourceContainer.h.
        * rendering/svg/RenderSVGResourceFilter.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceFilter.cpp.
        * rendering/svg/RenderSVGResourceFilter.h: Copied from Source/WebCore/rendering/RenderSVGResourceFilter.h.
        * rendering/svg/RenderSVGResourceFilterPrimitive.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceFilterPrimitive.cpp.
        * rendering/svg/RenderSVGResourceFilterPrimitive.h: Copied from Source/WebCore/rendering/RenderSVGResourceFilterPrimitive.h.
        * rendering/svg/RenderSVGResourceGradient.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceGradient.cpp.
        * rendering/svg/RenderSVGResourceGradient.h: Copied from Source/WebCore/rendering/RenderSVGResourceGradient.h.
        * rendering/svg/RenderSVGResourceLinearGradient.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceLinearGradient.cpp.
        * rendering/svg/RenderSVGResourceLinearGradient.h: Copied from Source/WebCore/rendering/RenderSVGResourceLinearGradient.h.
        * rendering/svg/RenderSVGResourceMarker.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceMarker.cpp.
        * rendering/svg/RenderSVGResourceMarker.h: Copied from Source/WebCore/rendering/RenderSVGResourceMarker.h.
        * rendering/svg/RenderSVGResourceMasker.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceMasker.cpp.
        * rendering/svg/RenderSVGResourceMasker.h: Copied from Source/WebCore/rendering/RenderSVGResourceMasker.h.
        * rendering/svg/RenderSVGResourcePattern.cpp: Copied from Source/WebCore/rendering/RenderSVGResourcePattern.cpp.
        * rendering/svg/RenderSVGResourcePattern.h: Copied from Source/WebCore/rendering/RenderSVGResourcePattern.h.
        * rendering/svg/RenderSVGResourceRadialGradient.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceRadialGradient.cpp.
        * rendering/svg/RenderSVGResourceRadialGradient.h: Copied from Source/WebCore/rendering/RenderSVGResourceRadialGradient.h.
        * rendering/svg/RenderSVGResourceSolidColor.cpp: Copied from Source/WebCore/rendering/RenderSVGResourceSolidColor.cpp.
        * rendering/svg/RenderSVGResourceSolidColor.h: Copied from Source/WebCore/rendering/RenderSVGResourceSolidColor.h.
        * rendering/svg/RenderSVGRoot.cpp: Copied from Source/WebCore/rendering/RenderSVGRoot.cpp.
        * rendering/svg/RenderSVGRoot.h: Copied from Source/WebCore/rendering/RenderSVGRoot.h.
        * rendering/svg/RenderSVGShadowTreeRootContainer.cpp: Copied from Source/WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp.
        * rendering/svg/RenderSVGShadowTreeRootContainer.h: Copied from Source/WebCore/rendering/RenderSVGShadowTreeRootContainer.h.
        * rendering/svg/RenderSVGTransformableContainer.cpp: Copied from Source/WebCore/rendering/RenderSVGTransformableContainer.cpp.
        * rendering/svg/RenderSVGTransformableContainer.h: Copied from Source/WebCore/rendering/RenderSVGTransformableContainer.h.
        * rendering/svg/RenderSVGViewportContainer.cpp: Copied from Source/WebCore/rendering/RenderSVGViewportContainer.cpp.
        * rendering/svg/RenderSVGViewportContainer.h: Copied from Source/WebCore/rendering/RenderSVGViewportContainer.h.
        * rendering/svg/SVGImageBufferTools.cpp: Copied from Source/WebCore/rendering/SVGImageBufferTools.cpp.
        * rendering/svg/SVGImageBufferTools.h: Copied from Source/WebCore/rendering/SVGImageBufferTools.h.
        * rendering/svg/SVGMarkerData.h: Copied from Source/WebCore/rendering/SVGMarkerData.h.
        * rendering/svg/SVGMarkerLayoutInfo.cpp: Copied from Source/WebCore/rendering/SVGMarkerLayoutInfo.cpp.
        * rendering/svg/SVGMarkerLayoutInfo.h: Copied from Source/WebCore/rendering/SVGMarkerLayoutInfo.h.
        * rendering/svg/SVGRenderSupport.cpp: Copied from Source/WebCore/rendering/SVGRenderSupport.cpp.
        * rendering/svg/SVGRenderSupport.h: Copied from Source/WebCore/rendering/SVGRenderSupport.h.
        * rendering/svg/SVGRenderTreeAsText.cpp: Copied from Source/WebCore/rendering/SVGRenderTreeAsText.cpp.
        * rendering/svg/SVGRenderTreeAsText.h: Copied from Source/WebCore/rendering/SVGRenderTreeAsText.h.
        * rendering/svg/SVGResources.cpp: Copied from Source/WebCore/rendering/SVGResources.cpp.
        * rendering/svg/SVGResources.h: Copied from Source/WebCore/rendering/SVGResources.h.
        * rendering/svg/SVGResourcesCache.cpp: Copied from Source/WebCore/rendering/SVGResourcesCache.cpp.
        * rendering/svg/SVGResourcesCache.h: Copied from Source/WebCore/rendering/SVGResourcesCache.h.
        * rendering/svg/SVGResourcesCycleSolver.cpp: Copied from Source/WebCore/rendering/SVGResourcesCycleSolver.cpp.
        * rendering/svg/SVGResourcesCycleSolver.h: Copied from Source/WebCore/rendering/SVGResourcesCycleSolver.h.
        * rendering/svg/SVGShadowTreeElements.cpp: Copied from Source/WebCore/rendering/SVGShadowTreeElements.cpp.
        * rendering/svg/SVGShadowTreeElements.h: Copied from Source/WebCore/rendering/SVGShadowTreeElements.h.

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

9 years ago2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
commit-queue@webkit.org [Sun, 9 Jan 2011 11:22:47 +0000 (11:22 +0000)]
2011-01-09  Xianzhu Wang  <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation.
        Let client APIs know which URL a new window will start with

        * loader/FrameLoader.cpp:
        (WebCore::createWindow):
        * page/ContextMenuController.cpp:
        (WebCore::openNewWindow):
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::createWindow):
2011-01-09  Xianzhu Wang  <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation.
        Pass URL request to createView.

        * public/WebViewClient.h:
        (WebKit::WebViewClient::createView):
        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::createWindow):
2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation

        * WebCoreSupport/ChromeClientEfl.cpp:
        (WebCore::ChromeClientEfl::createWindow):
2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::createWindow):
2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation

        * WebCoreSupport/WebChromeClient.mm:
        (WebChromeClient::createWindow):
2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation

        * Api/qwebpage.cpp:
        (openNewWindow):
        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::createWindow):
2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation

        * WebCoreSupport/WebChromeClient.cpp:
        (WebChromeClient::createWindow):
2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=41441
        createWindow method should only do window-creating without URL navigation

        * WebKitSupport/ChromeClientWx.cpp:
        (WebCore::ChromeClientWx::createWindow):

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

9 years ago2011-01-09 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Sun, 9 Jan 2011 10:44:55 +0000 (10:44 +0000)]
2011-01-09  Dirk Schulze  <krit@webkit.org>

        Unreviewed sort of Xcode project file.

        * WebCore.xcodeproj/project.pbxproj:

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

9 years ago2011-01-09 Amruth Raj <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla ...
commit-queue@webkit.org [Sun, 9 Jan 2011 08:57:41 +0000 (08:57 +0000)]
2011-01-09  Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com>

        Reviewed by Martin Robinson.

        Changes to add Process Launcher and Thread Launcher implementation to the WebKit2 GTK port.
        https://bugs.webkit.org/show_bug.cgi?id=48511

        * platform/FileSystem.h:
        * platform/gtk/FileSystemGtk.cpp: Implement function to get a binary's path
        (WebCore::applicationDirectoryPath):
2011-01-09  Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com>

        Reviewed by Martin Robinson.

        Changes to add Process Launcher and Thread Launcher implementation to the WebKit2 GTK port.
        The main() implementation for WebKitWebProcess binary to launch Web process from UI process.
        https://bugs.webkit.org/show_bug.cgi?id=48511

        * UIProcess/Launcher/gtk: Added.
        * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp: Added. GTK (UNIX_X11 specific) implementation
        (WebKit::ProcessLauncher::launchProcess):
        (WebKit::ProcessLauncher::terminateProcess):
        (WebKit::ProcessLauncher::platformInvalidate):
        * UIProcess/Launcher/gtk/ThreadLauncherGtk.cpp: Added. Stubbed implementation for GTK port. Yet to implement.
        (WebKit::ThreadLauncher::createWebThread):
        * WebProcess/gtk: Added.
        * WebProcess/gtk/WebProcessGtk.cpp: Added. The stubbed implementations of virtual functions of WebProcess.h for GTK port.
        (WebKit::WebProcess::platformSetCacheModel):
        (WebKit::WebProcess::platformClearResourceCaches):
        (WebKit::WebProcess::platformInitializeWebProcess):
        (WebKit::WebProcess::platformShutdown):
        * WebProcess/gtk/WebProcessMainGtk.cpp: Added. The WebProcessMain call which initiates the Web Process for GTK port.
        (WebKit::WebProcessMainGtk):
        * WebProcess/gtk/WebProcessMainGtk.h: Added. The WebProcessMain declaration for Web Process for GTK port.
        * gtk/MainGtk.cpp: Added. The main function implementation for binary WebKitWebProcess.
        (main):

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

9 years ago2011-01-08 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sun, 9 Jan 2011 07:32:30 +0000 (07:32 +0000)]
2011-01-08  Martin Robinson  <mrobinson@igalia.com>

        GTK+ Build fix. Add missing headers to the source list, fixing make dist.

        No new tests. This is only a build change.

        * GNUmakefile.am: Add missing headers to the source list.
2011-01-08  Martin Robinson  <mrobinson@igalia.com>

        GTK+ build fix. Adding missing headers to the source list, fixing make dist.

        * GNUmakefile.am: Fix make dist.

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

9 years ago2011-01-08 Amruth Raj <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla ...
mrobinson@webkit.org [Sun, 9 Jan 2011 06:50:07 +0000 (06:50 +0000)]
2011-01-08 Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com>

        Reviewed by Martin Robinson.

        [GTK] WebKit2 GNUmakefile is out of date from trunk
        https://bugs.webkit.org/show_bug.cgi?id=51883

        Added stubs for WebKit2 compilation.

        * platform/gtk/ContextMenuGtk.cpp:
        (WebCore::contextMenuItemVector):
        * platform/gtk/ContextMenuItemGtk.cpp:
        (WebCore::ContextMenuItem::ContextMenuItem):
        (WebCore::ContextMenuItem::checked):
        (WebCore::ContextMenuItem::enabled):
        * platform/network/soup/AuthenticationChallenge.h:
        (WebCore::AuthenticationChallenge::authenticationClient):
2011-01-07 Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com>

        Reviewed by Martin Robinson.

        [GTK] WebKit2 GNUmakefile is out of date from trunk
        https://bugs.webkit.org/show_bug.cgi?id=51883

        * GNUmakefile.am: Updated sources list as per latest revision
        * Platform/gtk/RunLoopGtk.cpp:
        (RunLoop::TimerBase::start):
        * Platform/gtk/WorkQueueGtk.cpp:
        (WorkQueue::scheduleWorkAfterDelay):
        * Shared/gtk/BackingStoreGtk.cpp:
        (WebKit::BackingStore::paint):
        * WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp:
        (WebKit::InjectedBundle::load):
        * WebProcess/Plugins/Netscape/gtk/NetscapePluginGtk.cpp:
        (WebKit::NetscapePlugin::platformInvalidate):

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

9 years ago<rdar://problem/8812759> In WebKit2, PDF view settings (mode and scale) do not stick
mitz@apple.com [Sun, 9 Jan 2011 06:07:31 +0000 (06:07 +0000)]
<rdar://problem/8812759> In WebKit2, PDF view settings (mode and scale) do not stick
https://bugs.webkit.org/show_bug.cgi?id=52118

Reviewed by Sam Weinig.

* Shared/WebPreferencesStore.cpp:
(WebKit::WebPreferencesStore::encode): Encode the double values map.
(WebKit::WebPreferencesStore::decode): Decode the double values map.
(WebKit::defaultValueForKey): Added double instance.
(WebKit::WebPreferencesStore::setDoubleValueForKey): Added.
(WebKit::WebPreferencesStore::getDoubleValueForKey): Added.
* Shared/WebPreferencesStore.h: Added PDFScaleFactor and PDFDisplayMode preferences.
* UIProcess/API/mac/PDFViewController.mm:
(-[WKPDFView initWithFrame:PDFViewController:WebKit::]): Initialize the _pdfViewController ivar.
(-[WKPDFView invalidate]): Changed 'nil' to '0' in assignment to a non-Objective-C pointer.
(-[WKPDFView setDocument:]): Added.
(-[WKPDFView _applyPDFPreferences]): Added.
(-[WKPDFView _updatePreferences:]): Added.
(-[WKPDFView _updatePreferencesSoon]): Added.
(-[WKPDFView _scaleOrDisplayModeOrPageChanged:]): Added.
(-[WKPDFView viewDidMoveToWindow]): Added. Starts observing the PDF view for changes to scale
and display mode.
(-[WKPDFView viewWillMoveToWindow:]): Added. Stops observing for changes.
(WebKit::PDFViewController::setPDFDocumentData): Changed to call throguh -[WKPDFView setDocument:].
* UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::updateDoubleValueForKey): Added.
* UIProcess/WebPreferences.h:
* UIProcess/cf/WebPreferencesCF.cpp:
(WebKit::WebPreferences::platformUpdateDoubleValueForKey): Added empty implementation.
* UIProcess/gtk/WebPreferencesGtk.cpp:
(WebKit::WebPreferences::platformUpdateDoubleValueForKey): Added stub.
* UIProcess/mac/WebPreferencesMac.mm:
(WebKit::setDoubleValueIfInUserDefaults): Added.
(WebKit::WebPreferences::platformUpdateDoubleValueForKey): Added.
* UIProcess/qt/WebPreferencesQt.cpp:
(WebKit::WebPreferences::platformUpdateDoubleValueForKey): Added.

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

9 years ago2011-01-08 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 9 Jan 2011 03:10:11 +0000 (03:10 +0000)]
2011-01-08  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Unify string table adding in AtomicString
        https://bugs.webkit.org/show_bug.cgi?id=51927

        Move code for adding a string into a separate function.
        This removes multiple occurrence of the same logic.

        * wtf/text/AtomicString.cpp:
        (WTF::addToStringTable): Added.
        (WTF::AtomicString::add): Use addToStringTable().
        (WTF::AtomicString::fromUTF8): Ditto.

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

9 years ago2011-01-07 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Sun, 9 Jan 2011 03:04:42 +0000 (03:04 +0000)]
2011-01-07  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Gavin Barraclough.

        Split machine stack marking functions into their own class (MachineStackMarker)
        https://bugs.webkit.org/show_bug.cgi?id=52088

        * API/APIShims.h:
        (JSC::APIEntryShimWithoutLock::APIEntryShimWithoutLock): Moved registerThread()
        call behind an #ifdef because we shouldn't be registering threads at all
        if we don't support usage on multiple threads.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.pro:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj: Updated projects.

        * runtime/Collector.cpp:
        (JSC::Heap::Heap):
        (JSC::Heap::destroy):
        (JSC::Heap::markRoots):
        * runtime/Collector.h:
        (JSC::Heap::machineStackMarker): Moved code to machineStackMarker.

        * runtime/JSGlobalData.h:
        (JSC::JSGlobalData::makeUsableFromMultipleThreads): Removed an unnecessary
        level of indirection, to make Heap less of a God class.

        * runtime/MachineStackMarker.h: Copied from Source/JavaScriptCore/runtime/Collector.h.
        * runtime/MachineStackMarker.cpp: Copied from Source/JavaScriptCore/runtime/Collector.cpp.
        (JSC::MachineStackMarker::MachineStackMarker):
        (JSC::MachineStackMarker::~MachineStackMarker):
        (JSC::MachineStackMarker::makeUsableFromMultipleThreads):
        (JSC::MachineStackMarker::registerThread):
        (JSC::MachineStackMarker::unregisterThread):
        (JSC::MachineStackMarker::markCurrentThreadConservativelyInternal):
        (JSC::MachineStackMarker::markCurrentThreadConservatively):
        (JSC::MachineStackMarker::markOtherThreadConservatively):
        (JSC::MachineStackMarker::markMachineStackConservatively): Moved code from Heap.

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

9 years ago2011-01-08 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Sun, 9 Jan 2011 02:35:18 +0000 (02:35 +0000)]
2011-01-08  Helder Correia  <helder@sencha.com>

        Reviewed by Simon Fraser.

        Shadow is not drawn when filling a path with a gradient
        https://bugs.webkit.org/show_bug.cgi?id=51982

        This happens in CG and is related to bug 51869, this time to be fixed
        in GraphicsContext::fillPath(const Path& path). We need to draw the
        gradient clipped to the path on a CGLayer first, and then draw the
        layer on the GraphicsContext.

        * fast/canvas/canvas-fillPath-gradient-shadow-expected.txt: Added.
        * fast/canvas/canvas-fillPath-gradient-shadow.html: Added.
        * fast/canvas/script-tests/canvas-fillPath-gradient-shadow.js: Added.
        * platform/chromium/test_expectations.txt: Skipping new test since it fails.
        * platform/qt/Skipped: Ditto.
2011-01-08  Helder Correia  <helder@sencha.com>

        Reviewed by Simon Fraser.

        Shadow is not drawn when filling a path with a gradient
        https://bugs.webkit.org/show_bug.cgi?id=51982

        This happens in CG and is related to bug 51869, this time to be fixed
        in GraphicsContext::fillPath(const Path& path). We need to draw the
        gradient clipped to the path on a CGLayer first, and then draw the
        layer on the GraphicsContext.

        Test: fast/canvas/canvas-fillPath-gradient-shadow.html

        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::fillPath):

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

9 years ago2011-01-08 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Sun, 9 Jan 2011 02:29:30 +0000 (02:29 +0000)]
2011-01-08  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] QtWebKit crashes when using XMLHttpRequest from the unload event
        https://bugs.webkit.org/show_bug.cgi?id=51934

        When accessing the network from the destructor of QWebPage, the network access manager
        was already deleted because the object WebPage was already destructed.

        This solve the problem by linking the lifetime of the network access manager to WebPage's QObject.
        The object is now destructed in the destructor of QObject.

        * QtTestBrowser/webpage.cpp:
        (WebPage::WebPage):
        (WebPage::setQnamThreaded):
        * QtTestBrowser/webpage.h:
        (QtNAMThread::QtNAMThread):

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

9 years ago2011-01-08 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Sun, 9 Jan 2011 02:13:24 +0000 (02:13 +0000)]
2011-01-08  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] PasteboardQt.cpp has coding-style errors
        https://bugs.webkit.org/show_bug.cgi?id=39771

        Update the code to follow the coding style.

        * platform/qt/PasteboardQt.cpp:
        (WebCore::Pasteboard::writeSelection):
        (WebCore::Pasteboard::plainText):
        (WebCore::Pasteboard::writePlainText):
        (WebCore::Pasteboard::writeURL):

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

9 years ago2011-01-08 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Sun, 9 Jan 2011 01:31:10 +0000 (01:31 +0000)]
2011-01-08  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        HTML5 Conformance Test failure: approved/xhtml5/html_style_in_comment.xhtml
        https://bugs.webkit.org/show_bug.cgi?id=48593

        * fast/parser/html-html-comment-in-style-block-expected.txt: Added.
        * fast/parser/html-html-comment-in-style-block.html: Added.
        * fast/parser/xhtml-html-comment-in-style-block-expected.txt: Added.
        * fast/parser/xhtml-html-comment-in-style-block.xhtml: Added.
2011-01-08  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        HTML5 Conformance Test failure: approved/xhtml5/html_style_in_comment.xhtml
        https://bugs.webkit.org/show_bug.cgi?id=48593

        XHTML <style> blocks, unlike HTML <style> blocks, should respect HTML
        comments.

        Test: fast/parser/xhtml-html-comment-in-style-block.xhtml

        * dom/StyleElement.cpp:
        (WebCore::isValidStyleChild): Remove the COMMENT_NODE check as the HTML parser doesn't add COMMENT_NODEs as children of style blocks.
        (WebCore::StyleElement::process): Factored out a condition that must remain in sync.

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