WebKit-https.git
10 years ago2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Thu, 7 Oct 2010 14:36:01 +0000 (14:36 +0000)]
2010-10-07  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Turn on building WTR
        https://bugs.webkit.org/show_bug.cgi?id=47349

        * WebKit.pro:

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

10 years ago2010-10-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 7 Oct 2010 13:20:28 +0000 (13:20 +0000)]
2010-10-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Reenable several skipped SVG tests on leopard & snow leopard
        https://bugs.webkit.org/show_bug.cgi?id=47340

        Following tests can be unskipped, as they work as expected.

        On SnowLeopard:
        svg/batik/paints/patternRegionA.svg
        svg/custom/path-bad-data.svg
        svg/custom/pattern-deep-referencing.svg
        svg/hixie/perf/007.xml
        svg/transforms/text-with-pattern-inside-transformed-html.xhtml
        svg/transforms/text-with-pattern-with-svg-transform.svg

        On Leopard:
        svg/filters/filter-empty-g.svg

        On both:
        svg/W3C-SVG-1.1/animate-elem-82-t.svg
        svg/W3C-SVG-1.1/coords-trans-01-b.svg
        svg/css/glyph-orientation-rounding-test.xhtml (not 100% sure about this one, I don't see any rounding problems, we may have to disable it again, if the problem shows up on the bots)
        svg/custom/tiling-regular-hexagonal-crash.svg (test needs some fixes though to make sense)
        svg/hixie/perf/001.xml (test needs a fix, so it doesn't dump the elapsed time)
        svg/hixie/perf/002.xml (ditto)
        svg/batik/text/smallFonts.svg (still not correct, but doesn't crash or hang)

        * platform/mac-leopard/Skipped:
        * platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-82-t-expected.checksum: Added.
        * platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png: Added.
        * platform/mac-leopard/svg/W3C-SVG-1.1/coords-trans-01-b-expected.checksum: Added.
        * platform/mac-leopard/svg/W3C-SVG-1.1/coords-trans-01-b-expected.png: Added.
        * platform/mac-leopard/svg/batik/text/smallFonts-expected.checksum: Added.
        * platform/mac-leopard/svg/batik/text/smallFonts-expected.png: Added.
        * platform/mac-leopard/svg/custom/path-bad-data-expected.checksum: Added.
        * platform/mac-leopard/svg/custom/path-bad-data-expected.png: Added.
        * platform/mac-leopard/svg/custom/path-bad-data-expected.txt: Added.
        * platform/mac-leopard/svg/custom/pattern-deep-referencing-expected.checksum: Added.
        * platform/mac-leopard/svg/custom/pattern-deep-referencing-expected.png: Added.
        * platform/mac-leopard/svg/hixie/perf: Added.
        * platform/mac-leopard/svg/hixie/perf/001-expected.checksum: Added.
        * platform/mac-leopard/svg/hixie/perf/001-expected.png: Added.
        * platform/mac-leopard/svg/hixie/perf/002-expected.checksum: Added.
        * platform/mac-leopard/svg/hixie/perf/002-expected.png: Added.
        * platform/mac-leopard/svg/hixie/perf/007-expected.checksum: Added.
        * platform/mac-leopard/svg/hixie/perf/007-expected.png: Added.
        * platform/mac-leopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum: Added.
        * platform/mac-leopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
        * platform/mac-leopard/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum: Added.
        * platform/mac-leopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
        * platform/mac-snowleopard/Skipped:
        * platform/mac/Skipped:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/coords-trans-01-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/coords-trans-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt:
        * platform/mac/svg/batik/text/smallFonts-expected.checksum: Added.
        * platform/mac/svg/batik/text/smallFonts-expected.png: Added.
        * platform/mac/svg/batik/text/smallFonts-expected.txt:
        * platform/mac/svg/custom/path-bad-data-expected.checksum:
        * platform/mac/svg/custom/path-bad-data-expected.png:
        * platform/mac/svg/custom/path-bad-data-expected.txt:
        * platform/mac/svg/custom/pattern-deep-referencing-expected.checksum:
        * platform/mac/svg/custom/pattern-deep-referencing-expected.png:
        * platform/mac/svg/hixie/perf/001-expected.checksum:
        * platform/mac/svg/hixie/perf/001-expected.png:
        * platform/mac/svg/hixie/perf/001-expected.txt:
        * platform/mac/svg/hixie/perf/002-expected.checksum:
        * platform/mac/svg/hixie/perf/002-expected.png:
        * platform/mac/svg/hixie/perf/002-expected.txt:
        * platform/mac/svg/hixie/perf/007-expected.checksum:
        * platform/mac/svg/hixie/perf/007-expected.png:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
        * svg/custom/tiling-regular-hexagonal-crash.svg: Make the test actually show up the pattern.
        * svg/hixie/perf/001.xml: Don't dump elapsed times, otherwhise results will be inconsistent. Add DRT waitUntilDone/notifyDone logic.
        * svg/hixie/perf/002.xml: Ditto.

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

10 years ago2010-10-07 Luiz Agostini <luiz.agostini@openbossa.org>
luiz@webkit.org [Thu, 7 Oct 2010 13:11:55 +0000 (13:11 +0000)]
2010-10-07  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Adam Roben.

        [Qt] Webkit2 MacOS build fix
        https://bugs.webkit.org/show_bug.cgi?id=47167

        There were two problems when building Qt WebKit2 in Mac. The first was that
        ld does not support flag -whole-archive and it needed to be replaced by flag -all_load.
        The second problem was that __APPLE__ is been used to identify safari builds and, when
        building Qt in MacOS, Qt was ending up using the wrong typedef. The solution was to use
        a Qt specific WKNativeEvent.h that only has the proper Qt typedef instead of the original one.

        * UIProcess/API/C/qt/WKNativeEvent.h: Added.
        * WebKit2.pri:
        * WebKit2.pro:

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

10 years ago2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Thu, 7 Oct 2010 13:01:33 +0000 (13:01 +0000)]
2010-10-07  Balazs Kelemen  <kbalazs@webkit.org>

        Unreviewed buildfix for 69297 again

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

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 12:57:44 +0000 (12:57 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Use draw instead of expose_event in WebView when building with gtk3
        https://bugs.webkit.org/show_bug.cgi?id=47338

        * webkit/webkitwebview.cpp:
        (webkit_web_view_expose_event):
        (webkit_web_view_draw):
        (webkit_web_view_class_init):

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 12:44:03 +0000 (12:44 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Don't use GtkObject
        https://bugs.webkit.org/show_bug.cgi?id=47090

        GtkObject has been removed in gtk3.

        * plugins/gtk/gtk2xtbin.c:
        (gtk_xtbin_class_init):
        (gtk_xtbin_dispose):
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Don't use GtkObject
        https://bugs.webkit.org/show_bug.cgi?id=47090

        GtkObject has been removed in gtk3.

        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::EditorClient::generateEditorCommands):
        * WebCoreSupport/FullscreenVideoController.cpp:
        (FullscreenVideoController::createHud):

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

10 years ago2010-10-07 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 7 Oct 2010 12:42:52 +0000 (12:42 +0000)]
2010-10-07  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: highlight XHR breakpoint when hit.
        https://bugs.webkit.org/show_bug.cgi?id=47253

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::didCommitLoad):
        (WebCore::InspectorController::setNativeBreakpoint):
        (WebCore::InspectorController::removeNativeBreakpoint):
        (WebCore::InspectorController::findEventListenerBreakpoint):
        (WebCore::InspectorController::findXHRBreakpoint):
        * inspector/InspectorController.h:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::instrumentWillDispatchEventImpl):
        (WebCore::InspectorInstrumentation::instrumentWillSendXMLHttpRequestImpl):
        * inspector/front-end/BreakpointManager.js:
        (WebInspector.BreakpointManager.prototype.createEventListenerBreakpoint):
        (WebInspector.BreakpointManager.prototype.createXHRBreakpoint):
        (WebInspector.BreakpointManager.prototype._xhrBreakpointRemoved):
        (WebInspector.BreakpointManager.prototype._removeNativeBreakpoint):
        (WebInspector.BreakpointManager.prototype._setNativeBreakpointEnabled):
        (WebInspector.BreakpointManager.prototype._setNativeBreakpointOnBackend.didSetNativeBreakpoint):
        (WebInspector.BreakpointManager.prototype._setNativeBreakpointOnBackend):
        (WebInspector.BreakpointManager.prototype._removeNativeBreakpointFromBackend):
        (WebInspector.BreakpointManager.prototype.debuggerPaused):
        (WebInspector.BreakpointManager.prototype.debuggerResumed):
        (WebInspector.NativeBreakpoint):
        (WebInspector.NativeBreakpoint.prototype.get enabled):
        (WebInspector.NativeBreakpoint.prototype.set enabled):
        (WebInspector.NativeBreakpoint.prototype.remove):
        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.BreakpointItem):
        (WebInspector.BreakpointItem.prototype._breakpointClicked):
        (WebInspector.BreakpointItem.prototype._hitStateChanged):
        * inspector/front-end/CallStackSidebarPane.js:
        (WebInspector.CallStackSidebarPane.prototype.updateStatus):
        * inspector/front-end/inspector.css:
        (.breakpoint-list .breakpoint-hit):
        * inspector/front-end/inspector.js:
        (WebInspector.pausedScript):
        (WebInspector.resumedScript):

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

10 years agoUnreviewed build fix for r69297
kbalazs@webkit.org [Thu, 7 Oct 2010 12:34:11 +0000 (12:34 +0000)]
Unreviewed build fix for r69297

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 12:31:55 +0000 (12:31 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix the build for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=47249

        Bump required gtk+-3 version to 2.91.0

        * configure.ac:

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

10 years ago2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Thu, 7 Oct 2010 12:23:04 +0000 (12:23 +0000)]
2010-10-07  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        WebKitTestRunner should be portable
        https://bugs.webkit.org/show_bug.cgi?id=45393

        Use only the WebKit API for working with urls.
        * WebKitTestRunner/StringFunctions.h:
        (WTR::createWKURL):
        * WebKitTestRunner/TestController.cpp:
        (WTR::blankURL):
        (WTR::TestController::resetStateToConsistentValues):
        (WTR::TestController::didFinishLoadForFrame):
2010-10-07  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        WebKitTestRunner should be portable
        https://bugs.webkit.org/show_bug.cgi?id=45393

        Introducing additional URL API.
        * Shared/API/c/WKURL.cpp:
        (WKURLCreateWithUTF8CString):
        (WKURLIsEqual):
        * Shared/API/c/WKURL.h:

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 12:20:10 +0000 (12:20 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix the build for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=47249

        Use GdkVisual instead of GdkColormap. GdkColormap has been removed
        in gtk3.

        * plugins/gtk/PluginViewGtk.cpp:
        (WebCore::PluginView::platformStart):
        * plugins/gtk/gtk2xtbin.c:
        (gtk_xtbin_new):
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix the build for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=47249

        Use GdkVisual instead of GdkColormap. GdkColormap has been removed
        in gtk3

        * webkit/webkitwebview.cpp:
        (webkit_web_view_realize):

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

10 years ago2010-10-07 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 7 Oct 2010 12:03:38 +0000 (12:03 +0000)]
2010-10-07  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Yury Semikhatsky.

        Chromium multi-dll build broken due to WebResourceRawHeaders methods lacking WEBKIT_API decl spec
        https://bugs.webkit.org/show_bug.cgi?id=47329

        * public/WebResourceRawHeaders.h:
        (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
        (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
        (WebKit::WebResourceRawHeaders::operator =):
        * src/WebResourceRawHeaders.cpp:
        (WebKit::WebResourceRawHeaders::initialize):
        (WebKit::WebResourceRawHeaders::reset):
        (WebKit::WebResourceRawHeaders::assign):

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 11:58:21 +0000 (11:58 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Use gtk_widget_draw() instead of gtk_widget_get_snapshot() in PixelDumpSupportGtk when building with gtk3
        https://bugs.webkit.org/show_bug.cgi?id=47332

        * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
        (createBitmapContextFromWebView):

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 11:46:38 +0000 (11:46 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix the build for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=47249

        Do not use GdkDrawable deprecated API. Some methods of GdkDrawable
        are deprecated in gtk2 and have been removed in gtk3. Equivalent
        API has been added to GdkWindow.

        * platform/gtk/GtkVersioning.c:
        (getDefaultGDKPointerDevice):
        * platform/gtk/GtkVersioning.h:
        * platform/gtk/PlatformScreenGtk.cpp:
        (WebCore::getVisual):
        (WebCore::screenAvailableRect):
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix the build for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=47249

        Do not use GdkDrawable deprecated API. Some methods of GdkDrawable
        are deprecated in gtk2 and have been removed in gtk3. Equivalent
        API has been added to GdkWindow.

        * tests/testcopyandpaste.c:
        (runPasteTestCallback):
        * webkit/webkitwebview.cpp:
        (webkit_web_view_button_press_event):

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

10 years ago2010-10-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 7 Oct 2010 11:42:12 +0000 (11:42 +0000)]
2010-10-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Rubber stamped by Dirk Schulze.

        Finalize SVG pixel test baseline updates. We should have a clean baseline now for Leopard & Snow Leopard, that passes with --tolerance 0 (at least on my 10.5 & 10.6 systems).

        * platform/mac-leopard/svg/batik/masking: Added.
        * platform/mac-leopard/svg/batik/masking/maskRegions-expected.checksum: Added.
...

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

10 years ago[Qt] Disconnect signals before destroying MediaPlayerPrivateQt
vestbo@webkit.org [Thu, 7 Oct 2010 11:38:36 +0000 (11:38 +0000)]
[Qt] Disconnect signals before destroying MediaPlayerPrivateQt

Reviewed by Andreas Kling.

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

* platform/graphics/qt/MediaPlayerPrivateQt.cpp:

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 11:34:34 +0000 (11:34 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Use draw signal instead of expose_event in DragClientGtk when building with gtk3
        https://bugs.webkit.org/show_bug.cgi?id=47326

        * WebCoreSupport/DragClientGtk.cpp:
        (WebKit::dragIconWindowDrawCallback):
        (WebKit::DragClient::DragClient):
        (WebKit::DragClient::~DragClient):
        (WebKit::DragClient::startDrag):
        (WebKit::DragClient::dragIconWindowDraw):
        * WebCoreSupport/DragClientGtk.h:

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

10 years ago[Qt] Re-enable the web inspector for maemo6 builds
hausmann@webkit.org [Thu, 7 Oct 2010 11:17:10 +0000 (11:17 +0000)]
[Qt] Re-enable the web inspector for maemo6 builds

Rubber-stamped by Tor Arne Vestbø.

Yeah, it's strange :), but they really want it.

* WebKit.pri:

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

10 years ago2010-10-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 7 Oct 2010 11:14:37 +0000 (11:14 +0000)]
2010-10-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        Deduplicate some resuts of my last baseline recreations.

        * platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt: Removed.
        * platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt: Removed.
...

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

10 years ago2010-10-07 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Thu, 7 Oct 2010 11:09:13 +0000 (11:09 +0000)]
2010-10-07  Alexander Pavlov  <apavlov@chromium.org>

        Unreviewed, release build fix.

        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyleSheetForInlineStyle::setStyleText):
        * inspector/InspectorStyleSheet.h:
        (WebCore::InspectorStyleSheetForInlineStyle::styleForId):
        (WebCore::InspectorStyleSheetForInlineStyle::ruleSourceDataFor):

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

10 years ago2010-10-07 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 7 Oct 2010 10:37:02 +0000 (10:37 +0000)]
2010-10-07  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, build fix.

        Build fix for r69283.

        * dom/Document.cpp:
        (WebCore::Document::inspectorController):
        * dom/Document.h:

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

10 years ago2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 09:55:48 +0000 (09:55 +0000)]
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix the build for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=47249

        Don't use gtk_size_request_get_size(). It has been removed,
        gtk_widget_get_preferred_size() should be used instead

        * platform/gtk/PopupMenuGtk.cpp:
        (WebCore::PopupMenuGtk::show):
2010-10-07  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix the build for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=47249

        Don't use gtk_size_request_get_size(). It has been removed,
        gtk_widget_get_preferred_size() should be used instead

        * webkit/webkitwebview.cpp:
        (PopupMenuPositionFunc):

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

10 years ago2010-10-06 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Thu, 7 Oct 2010 09:53:40 +0000 (09:53 +0000)]
2010-10-06  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Implement handling of CSS operations in InspectorCSSAgent.
        Property toggling not implemented yet. The code is not going live.
        https://bugs.webkit.org/show_bug.cgi?id=45825

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * inspector/InspectorCSSAgent.cpp: Added.
        (WebCore::InspectorCSSAgent::buildObjectForStyle):
        (WebCore::InspectorCSSAgent::parentStyleSheet):
        (WebCore::InspectorCSSAgent::asCSSStyleRule):
        (WebCore::InspectorCSSAgent::InspectorCSSAgent):
        (WebCore::InspectorCSSAgent::~InspectorCSSAgent):
        (WebCore::InspectorCSSAgent::reset):
        (WebCore::InspectorCSSAgent::getMatchedRulesForNode2):
        (WebCore::InspectorCSSAgent::getMatchedPseudoRulesForNode2):
        (WebCore::InspectorCSSAgent::getAttributeStylesForNode2):
        (WebCore::InspectorCSSAgent::getInlineStyleForNode2):
        (WebCore::InspectorCSSAgent::getComputedStyleForNode2):
        (WebCore::InspectorCSSAgent::getInheritedStylesForNode2):
        (WebCore::InspectorCSSAgent::getAllStyles2):
        (WebCore::InspectorCSSAgent::getStyleSheet2):
        (WebCore::InspectorCSSAgent::setStyleSheetText2):
        (WebCore::InspectorCSSAgent::setStyleText2):
        (WebCore::InspectorCSSAgent::toggleProperty2):
        (WebCore::InspectorCSSAgent::setRuleSelector2):
        (WebCore::InspectorCSSAgent::addRule2):
        (WebCore::InspectorCSSAgent::getSupportedCSSProperties):
        (WebCore::InspectorCSSAgent::inlineStyleElement):
        (WebCore::InspectorCSSAgent::populateObjectWithStyleProperties):
        (WebCore::InspectorCSSAgent::shorthandValue):
        (WebCore::InspectorCSSAgent::shorthandPriority):
        (WebCore::InspectorCSSAgent::longhandProperties):
        (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
        (WebCore::InspectorCSSAgent::elementForId):
        (WebCore::InspectorCSSAgent::bindStyleSheet):
        (WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
        (WebCore::InspectorCSSAgent::styleSheetForId):
        (WebCore::InspectorCSSAgent::detectOrigin):
        (WebCore::InspectorCSSAgent::buildArrayForRuleList):
        (WebCore::InspectorCSSAgent::buildObjectForAttributeStyles):
        (WebCore::InspectorCSSAgent::didRemoveDocument):
        (WebCore::InspectorCSSAgent::didRemoveDOMNode):
        * inspector/InspectorCSSAgent.h: Added.
        (WebCore::InspectorCSSAgent::create):
        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::InspectorDOMAgent):
        (WebCore::InspectorDOMAgent::setDOMListener):
        (WebCore::InspectorDOMAgent::unbind):
        (WebCore::InspectorDOMAgent::didRemoveDOMNode):
        (WebCore::InspectorDOMAgent::getSupportedCSSProperties):
        * inspector/InspectorDOMAgent.h:
        (WebCore::InspectorDOMAgent::DOMListener::~DOMListener):
        (WebCore::InspectorDOMAgent::documents):
        * inspector/InspectorStyleSheet.cpp: Added.
        (ParsedStyleSheet::cssStyleSheet):
        (ParsedStyleSheet::text):
        (ParsedStyleSheet::hasText):
        (ParsedStyleSheet::sourceData):
        (ParsedStyleSheet::hasSourceData):
        (ParsedStyleSheet::ParsedStyleSheet):
        (ParsedStyleSheet::setText):
        (ParsedStyleSheet::setSourceData):
        (ParsedStyleSheet::ruleSourceDataAt):
        (WebCore::InspectorStyleSheet::InspectorStyleSheet):
        (WebCore::InspectorStyleSheet::~InspectorStyleSheet):
        (WebCore::InspectorStyleSheet::setText):
        (WebCore::InspectorStyleSheet::setRuleSelector):
        (WebCore::InspectorStyleSheet::addRule):
        (WebCore::InspectorStyleSheet::ruleForId):
        (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
        (WebCore::InspectorStyleSheet::buildObjectForRule):
        (WebCore::InspectorStyleSheet::buildObjectForStyle):
        (WebCore::InspectorStyleSheet::styleForId):
        (WebCore::InspectorStyleSheet::setStyleText):
        (WebCore::InspectorStyleSheet::ownerDocument):
        (WebCore::InspectorStyleSheet::ruleSourceDataFor):
        (WebCore::InspectorStyleSheet::ruleIndexByStyle):
        (WebCore::InspectorStyleSheet::ensureParsedDataReady):
        (WebCore::InspectorStyleSheet::text):
        (WebCore::InspectorStyleSheet::ensureText):
        (WebCore::InspectorStyleSheet::ensureSourceData):
        (WebCore::InspectorStyleSheet::innerSetStyleSheetText):
        (WebCore::InspectorStyleSheet::innerSetStyleText):
        (WebCore::InspectorStyleSheet::styleSheetTextWithChangedStyle):
        (WebCore::InspectorStyleSheet::findPageRuleWithStyle):
        (WebCore::InspectorStyleSheet::fullRuleId):
        (WebCore::InspectorStyleSheet::revalidateStyle):
        (WebCore::InspectorStyleSheet::styleSheetText):
        (WebCore::InspectorStyleSheet::resourceStyleSheetText):
        (WebCore::InspectorStyleSheet::inlineStyleSheetText):
        (WebCore::InspectorStyleSheet::buildArrayForRuleList):
        (WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):
        (WebCore::InspectorStyleSheetForInlineStyle::setStyleText):
        (WebCore::InspectorStyleSheetForInlineStyle::ownerDocument):
        (WebCore::InspectorStyleSheetForInlineStyle::ensureParsedDataReady):
        (WebCore::InspectorStyleSheetForInlineStyle::inlineStyle):
        (WebCore::InspectorStyleSheetForInlineStyle::getStyleAttributeRanges):
        * inspector/InspectorStyleSheet.h: Added.
        (WebCore::InspectorStyleSheet::create):
        (WebCore::InspectorStyleSheet::id):
        (WebCore::InspectorStyleSheet::pageStyleSheet):
        (WebCore::InspectorStyleSheet::canBind):
        (WebCore::InspectorStyleSheet::fullRuleOrStyleId):
        (WebCore::InspectorStyleSheet::ruleOrStyleId):
        (WebCore::InspectorStyleSheet::fullStyleId):
        (WebCore::InspectorStyleSheetForInlineStyle::create):
        (WebCore::InspectorStyleSheetForInlineStyle::styleForId):
        (WebCore::InspectorStyleSheetForInlineStyle::ruleSourceDataFor):
        (WebCore::InspectorStyleSheetForInlineStyle::ruleIndexByStyle):
        * inspector/InspectorUtilities.cpp: Added.
        (WebCore::InspectorUtilities::resourceContentForURL):
        * inspector/InspectorUtilities.h: Added.

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

10 years ago2010-10-05 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 7 Oct 2010 09:43:02 +0000 (09:43 +0000)]
2010-10-05  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: extract Inspector Instrumentation API as a class
        https://bugs.webkit.org/show_bug.cgi?id=47173

        * bindings/js/JSXMLHttpRequestCustom.cpp:
        (WebCore::JSXMLHttpRequest::send):
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::evaluateInWorld):
        * bindings/v8/V8DOMWindowShell.cpp:
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::evaluate):
        (WebCore::V8Proxy::callFunction):
        * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
        (WebCore::V8XMLHttpRequest::sendCallback):
        * dom/Document.cpp:
        (WebCore::Document::recalcStyle):
        * dom/Document.h:
        * dom/Node.cpp:
        (WebCore::Node::dispatchGenericEvent):
        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::pumpTokenizer):
        * html/parser/HTMLDocumentParser.h:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::hasFrontend):
        (WebCore::InspectorInstrumentation::retrieveTimelineAgent):
        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::hasFrontends):
        (WebCore::InspectorInstrumentation::inspectorControllerForContext):
        (WebCore::InspectorInstrumentation::inspectorControllerForDocument):
        (WebCore::InspectorInstrumentation::inspectorControllerForFrame):
        (WebCore::InspectorInstrumentation::inspectorControllerForPage):
        * inspector/InspectorTimelineAgent.cpp:
        (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
        (WebCore::InspectorTimelineAgent::~InspectorTimelineAgent):
        * inspector/InspectorTimelineAgent.h:
        * loader/ResourceLoader.cpp:
        (WebCore::ResourceLoader::didReceiveResponse):
        (WebCore::ResourceLoader::didReceiveData):
        * loader/loader.cpp:
        (WebCore::Loader::load):
        * page/DOMTimer.cpp:
        (WebCore::DOMTimer::install):
        (WebCore::DOMTimer::removeById):
        (WebCore::DOMTimer::fired):
        * page/DOMTimer.h:
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::dispatchEvent):
        * page/DOMWindow.h:
        * page/FrameView.cpp:
        (WebCore::FrameView::layout):
        (WebCore::FrameView::paintContents):
        * page/FrameView.h:
        * page/Page.cpp:
        * page/Page.h:
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::paintContents):
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::callReadyStateChangeListener):

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

10 years agoWindowless flash plugin is not rendered in Symbian
hausmann@webkit.org [Thu, 7 Oct 2010 09:11:44 +0000 (09:11 +0000)]
Windowless flash plugin is not rendered in Symbian
https://bugs.webkit.org/show_bug.cgi?id=47172

Patch by Zraly Mike <mike.zraly@nokia.com> on 2010-10-07
Reviewed by Andreas Kling.

* plugins/symbian/PluginViewSymbian.cpp:
(WebCore::PluginView::platformStart):
Add call to updatePluginWidget() following changes to
platform widget.  This is needed to set PluginView's
m_windowRect and m_clipRect members properly after
the proxy widget and its container get created.

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

10 years ago2010-10-06 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Thu, 7 Oct 2010 09:05:50 +0000 (09:05 +0000)]
2010-10-06  Andreas Kling  <andreas.kling@nokia.com>

        Unreviewed, s/RenderPath/RenderSVGPath/
        Changeset 2 of 2

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

10 years ago2010-10-06 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Thu, 7 Oct 2010 08:35:15 +0000 (08:35 +0000)]
2010-10-06  Andreas Kling  <andreas.kling@nokia.com>

        Unreviewed, s/RenderPath/RenderSVGPath/
        Changeset 1 of 2, since the SVN server keeps 500'ing on me during commit.

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

10 years ago2010-10-07 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 7 Oct 2010 07:33:33 +0000 (07:33 +0000)]
2010-10-07  Andreas Kling  <kling@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Rename (and move) RenderPath to svg/RenderSVGPath
        https://bugs.webkit.org/show_bug.cgi?id=47053

        Also renamed RenderObject::isRenderPath() to isSVGPath()

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.order:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * rendering/RenderObject.h:
        (WebCore::RenderObject::isSVGPath):
        * rendering/RenderPath.cpp: Removed.
        * rendering/RenderPath.h: Removed.
        * rendering/RenderSVGHiddenContainer.cpp:
        * rendering/RenderSVGResourceClipper.cpp:
        (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage):
        (WebCore::RenderSVGResourceClipper::calculateClipContentRepaintRect):
        (WebCore::RenderSVGResourceClipper::hitTestClipContent):
        * rendering/RenderSVGResourceContainer.cpp:
        (WebCore::RenderSVGResourceContainer::transformOnNonScalingStroke):
        * rendering/RenderSVGResourceSolidColor.cpp:
        (WebCore::RenderSVGResourceSolidColor::postApplyResource):
        * rendering/RenderTreeAsText.cpp:
        (WebCore::write):
        * rendering/SVGRenderSupport.cpp:
        (WebCore::SVGRenderSupport::layoutChildren):
        * rendering/SVGRenderTreeAsText.cpp:
        (WebCore::writeStyle):
        (WebCore::operator<<):
        (WebCore::write):
        * rendering/SVGRenderTreeAsText.h:
        * rendering/style/SVGRenderStyle.cpp:
        (WebCore::SVGRenderStyle::diff):
        * rendering/svg/RenderSVGPath.cpp: Copied from WebCore/rendering/RenderPath.cpp.
        (WebCore::RenderSVGPath::RenderSVGPath):
        (WebCore::RenderSVGPath::fillContains):
        (WebCore::RenderSVGPath::strokeContains):
        (WebCore::RenderSVGPath::layout):
        (WebCore::RenderSVGPath::fillAndStrokePath):
        (WebCore::RenderSVGPath::paint):
        (WebCore::RenderSVGPath::addFocusRingRects):
        (WebCore::RenderSVGPath::nodeAtFloatPoint):
        (WebCore::RenderSVGPath::calculateMarkerBoundsIfNeeded):
        (WebCore::RenderSVGPath::updateCachedBoundaries):
        * rendering/svg/RenderSVGPath.h: Copied from WebCore/rendering/RenderPath.h.
        (WebCore::RenderSVGPath::isSVGPath):
        (WebCore::RenderSVGPath::renderName):
        (WebCore::toRenderSVGPath):
        * svg/SVGCircleElement.cpp:
        (WebCore::SVGCircleElement::svgAttributeChanged):
        * svg/SVGEllipseElement.cpp:
        (WebCore::SVGEllipseElement::svgAttributeChanged):
        * svg/SVGGradientElement.cpp:
        * svg/SVGLineElement.cpp:
        (WebCore::SVGLineElement::svgAttributeChanged):
        * svg/SVGPathElement.cpp:
        (WebCore::SVGPathElement::svgAttributeChanged):
        * svg/SVGPolyElement.cpp:
        (WebCore::SVGPolyElement::svgAttributeChanged):
        * svg/SVGRectElement.cpp:
        (WebCore::SVGRectElement::svgAttributeChanged):
        * svg/SVGStyledLocatableElement.cpp:
        * svg/SVGStyledTransformableElement.cpp:
        (WebCore::SVGStyledTransformableElement::createRenderer):

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

10 years ago2010-10-06 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Thu, 7 Oct 2010 06:57:31 +0000 (06:57 +0000)]
2010-10-06  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed, update GTK+ expected results.

        * platform/gtk/svg/css/getComputedStyle-basic-expected.txt:

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

10 years ago2010-10-06 Chris Evans <cevans@google.com>
cevans@google.com [Thu, 7 Oct 2010 06:57:06 +0000 (06:57 +0000)]
2010-10-06  Chris Evans  <cevans@google.com>

        Reviewed by David Levin.

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

        Use size_t consistently in CString, to prevent theoretical trouble
        with > 4GB strings on 64-bit platforms.

        * wtf/text/CString.h:
        * wtf/text/CString.cpp:
        Use size_t for string lengths.
        * wtf/MD5.cpp:
        (WTF::expectMD5): use suitable format string + cast for size_t.
        * JavaScriptCore.exp:
        Update symbol name.

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

10 years ago2010-10-06 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 7 Oct 2010 06:42:56 +0000 (06:42 +0000)]
2010-10-06  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: clear line highlight when switching current view
        https://bugs.webkit.org/show_bug.cgi?id=47262

        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.clearLineHighlight):
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView.prototype.hide):
        * inspector/front-end/TextViewer.js:
        (WebInspector.TextViewer.prototype.highlightLine):
        (WebInspector.TextViewer.prototype.clearLineHighlight):

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

10 years ago2010-10-06 Chris Evans <cevans@google.com>
cevans@google.com [Thu, 7 Oct 2010 05:42:04 +0000 (05:42 +0000)]
2010-10-06  Chris Evans  <cevans@google.com>

        Reviewed by David Levin.

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

        Fix integer errors with enormous input strings to newline normalization APIs.

        * platform/text/LineEnding.cpp:
        (WebCore::normalizeLineEndingsToCRLF): return the empty string upon huge input strings. (Behaves similarly to base64Encode now).
        (WebCore::normalizeToCROrLF): use the correct type for a string length.

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

10 years ago2010-10-06 Chris Guillory <chris.guillory@google.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 05:31:49 +0000 (05:31 +0000)]
2010-10-06  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

        Remove unused accessibility functions from webkit.
        https://bugs.webkit.org/attachment.cgi?bugid=46707

        * public/WebAccessibilityCache.h:
        * public/WebViewClient.h:
        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::focusedNodeChanged):
        * src/WebAccessibilityCacheImpl.cpp:
        * src/WebAccessibilityCacheImpl.h:
2010-10-06  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

        Remove unused accessibility functions from webkit.
        https://bugs.webkit.org/attachment.cgi?bugid=46707

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

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

10 years ago2010-10-06 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 7 Oct 2010 05:23:09 +0000 (05:23 +0000)]
2010-10-06  Kent Tamura  <tkent@chromium.org>

        Unreviewed, build fix.

        Windows build fix for r69272.

        * html/BaseDateAndTimeInputType.cpp:
        (WebCore::BaseDateAndTimeInputType::stepBase):
         Use defaultStepBase() instead of defaultStepBase.
        * html/InputType.h:
        (WebCore::InputType::defaultStepBase):
         Make defaultStepBase static function.
        * html/NumberInputType.cpp:
        (WebCore::NumberInputType::stepBase):
         Use defaultStepBase() instead of defaultStepBase.

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

10 years ago2010-10-06 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 7 Oct 2010 04:49:32 +0000 (04:49 +0000)]
2010-10-06  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Refactor HTMLInputElement: Move range/step related functions
        https://bugs.webkit.org/show_bug.cgi?id=47251

        Move the content of the following functions:
         - rangeUnderflow()
         - rangeOverflow()
         - minimum()
         - maximum()
         - stepMismatch()
         - stepBase()

        getStepParameters() was split into InputType::defaultStep() and
        stepScaleFactor().

        * html/BaseDateAndTimeInputType.cpp:
        (WebCore::BaseDateAndTimeInputType::rangeUnderflow):
        (WebCore::BaseDateAndTimeInputType::rangeOverflow):
        (WebCore::BaseDateAndTimeInputType::stepMismatch):
        (WebCore::BaseDateAndTimeInputType::stepBase):
        * html/BaseDateAndTimeInputType.h:
        * html/DateInputType.cpp:
        (WebCore::DateInputType::minimum):
        (WebCore::DateInputType::maximum):
        (WebCore::DateInputType::defaultStep):
        (WebCore::DateInputType::stepScaleFactor):
        (WebCore::DateInputType::parsedStepValueShouldBeInteger):
        * html/DateInputType.h:
        * html/DateTimeInputType.cpp:
        (WebCore::DateTimeInputType::minimum):
        (WebCore::DateTimeInputType::maximum):
        (WebCore::DateTimeInputType::defaultStep):
        (WebCore::DateTimeInputType::stepScaleFactor):
        (WebCore::DateTimeInputType::scaledStepValeuShouldBeInteger):
        * html/DateTimeInputType.h:
        * html/DateTimeLocalInputType.cpp:
        (WebCore::DateTimeLocalInputType::minimum):
        (WebCore::DateTimeLocalInputType::maximum):
        (WebCore::DateTimeLocalInputType::defaultStep):
        (WebCore::DateTimeLocalInputType::stepScaleFactor):
        (WebCore::DateTimeLocalInputType::scaledStepValeuShouldBeInteger):
        * html/DateTimeLocalInputType.h:
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::rangeUnderflow):
        (WebCore::HTMLInputElement::rangeOverflow):
        (WebCore::HTMLInputElement::minimum):
        (WebCore::HTMLInputElement::maximum):
        (WebCore::HTMLInputElement::stepMismatch):
        (WebCore::HTMLInputElement::getAllowedValueStep):
        (WebCore::HTMLInputElement::applyStep):
        (WebCore::HTMLInputElement::handleKeyEventForRange):
        (WebCore::HTMLInputElement::stepUpFromRenderer):
        * html/HTMLInputElement.h:
        * html/InputType.cpp:
        (WebCore::InputType::patternMismatch):
        (WebCore::InputType::rangeUnderflow):
        (WebCore::InputType::rangeOverflow):
        (WebCore::InputType::minimum):
        (WebCore::InputType::maximum):
        (WebCore::InputType::stepMismatch):
        (WebCore::InputType::stepBase):
        (WebCore::InputType::defaultStep):
        (WebCore::InputType::stepScaleFactor):
        (WebCore::InputType::parsedStepValueShouldBeInteger):
        (WebCore::InputType::scaledStepValeuShouldBeInteger):
        * html/InputType.h:
        * html/MonthInputType.cpp:
        (WebCore::MonthInputType::minimum):
        (WebCore::MonthInputType::maximum):
        (WebCore::MonthInputType::defaultStep):
        (WebCore::MonthInputType::stepScaleFactor):
        (WebCore::MonthInputType::parsedStepValueShouldBeInteger):
        * html/MonthInputType.h:
        * html/NumberInputType.cpp:
        (WebCore::NumberInputType::rangeUnderflow):
        (WebCore::NumberInputType::rangeOverflow):
        (WebCore::NumberInputType::minimum):
        (WebCore::NumberInputType::maximum):
        (WebCore::NumberInputType::stepMismatch):
        (WebCore::NumberInputType::stepBase):
        (WebCore::NumberInputType::defaultStep):
        (WebCore::NumberInputType::stepScaleFactor):
        * html/NumberInputType.h:
        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::rangeUnderflow):
        (WebCore::RangeInputType::rangeOverflow):
        (WebCore::RangeInputType::minimum):
        (WebCore::RangeInputType::maximum):
        (WebCore::RangeInputType::stepMismatch):
        (WebCore::RangeInputType::stepBase):
        (WebCore::RangeInputType::defaultStep):
        (WebCore::RangeInputType::stepScaleFactor):
        * html/RangeInputType.h:
        * html/TimeInputType.cpp:
        (WebCore::TimeInputType::minimum):
        (WebCore::TimeInputType::maximum):
        (WebCore::TimeInputType::defaultStep):
        (WebCore::TimeInputType::stepScaleFactor):
        (WebCore::TimeInputType::scaledStepValeuShouldBeInteger):
        * html/TimeInputType.h:
        * html/WeekInputType.cpp:
        (WebCore::WeekInputType::minimum):
        (WebCore::WeekInputType::maximum):
        (WebCore::WeekInputType::stepBase):
        (WebCore::WeekInputType::defaultStep):
        (WebCore::WeekInputType::stepScaleFactor):
        (WebCore::WeekInputType::parsedStepValueShouldBeInteger):
        * html/WeekInputType.h:

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

10 years ago2010-10-06 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 7 Oct 2010 04:46:16 +0000 (04:46 +0000)]
2010-10-06  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Add expectations for r69269 and r69270.

        * platform/chromium-linux/fast/css/first-letter-punctuation-expected.checksum: Added.
        * platform/chromium-linux/fast/css/first-letter-punctuation-expected.png: Added.
        * platform/chromium-mac/fast/css/first-letter-punctuation-expected.checksum: Added.
        * platform/chromium-mac/fast/css/first-letter-punctuation-expected.png: Added.
        * platform/chromium-win/fast/css/first-letter-punctuation-expected.checksum: Added.
        * platform/chromium-win/fast/css/first-letter-punctuation-expected.png: Added.
        * platform/chromium-win/fast/css/first-letter-punctuation-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

10 years ago2010-10-06 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 7 Oct 2010 02:37:28 +0000 (02:37 +0000)]
2010-10-06  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein, Darin Adler.

        :first-letter should apply to "punctuation" after the first letter
        https://bugs.webkit.org/show_bug.cgi?id=45986

        Follow the CSS 2.1 spec by allow certain kinds of punctuation before and after
        the :first-letter character.

        The spec does not describe whitespace behavior, and browsers are inconsistent.
        This patch allows whitespace (including non-breaking spaces) before and after the
        leading punctuation, and before the trailing punctuation.

        Test: fast/css/first-letter-punctuation.html

        * rendering/RenderBlock.cpp:
        (WebCore::isPunctuationForFirstLetter):
        (WebCore::shouldSkipForFirstLetter):
        (WebCore::RenderBlock::updateFirstLetter):

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

10 years ago2010-10-06 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 02:09:54 +0000 (02:09 +0000)]
2010-10-06  Jia Pu  <jpu@apple.com>

        Reviewed by Adele Peterson.

        Add regression tests for autocorrection panel
        https://bugs.webkit.org/show_bug.cgi?id=47308
        <rdar://problem/8521243>

        Added regression tests for recently added autocorrection panel on Mac platform, as implemented in <https://bugs.webkit.org/show_bug.cgi?id=44958>.

        * editing/spelling/autocorrection-delete.html: Added.
        * editing/spelling/autocorrection-removing-underline-after-paste.html: Added.
        * editing/spelling/autocorrection-removing-underline.html: Added.
        * editing/spelling/autocorrection-simple.html: Added.
        * platform/mac-leopard/Skipped:
        * platform/mac-snowleopard/Skipped:
        * platform/mac-tiger/Skipped:
        * platform/mac-wk2/Skipped:
        * platform/mac/editing/spelling/autocorrection-delete-expected.checksum: Added.
        * platform/mac/editing/spelling/autocorrection-delete-expected.png: Added.
        * platform/mac/editing/spelling/autocorrection-delete-expected.txt: Added.
        * platform/mac/editing/spelling/autocorrection-removing-underline-after-paste-expected.checksum: Added.
        * platform/mac/editing/spelling/autocorrection-removing-underline-after-paste-expected.png: Added.
        * platform/mac/editing/spelling/autocorrection-removing-underline-after-paste-expected.txt: Added.
        * platform/mac/editing/spelling/autocorrection-removing-underline-expected.checksum: Added.
        * platform/mac/editing/spelling/autocorrection-removing-underline-expected.png: Added.
        * platform/mac/editing/spelling/autocorrection-removing-underline-expected.txt: Added.
        * platform/mac/editing/spelling/autocorrection-simple-expected.checksum: Added.
        * platform/mac/editing/spelling/autocorrection-simple-expected.png: Added.
        * platform/mac/editing/spelling/autocorrection-simple-expected.txt: Added.

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

10 years ago2010-10-06 Sanjeev Radhakrishnan <sanjeevr@chromium.org>
commit-queue@webkit.org [Thu, 7 Oct 2010 01:42:55 +0000 (01:42 +0000)]
2010-10-06  Sanjeev Radhakrishnan  <sanjeevr@chromium.org>

        Reviewed by Darin Fisher.

        Released the pluginNode in PluginDocument::detach() and prevents a memory leak.
        https://bugs.webkit.org/show_bug.cgi?id=47129

        * html/PluginDocument.cpp:
        (WebCore::PluginDocument::detach):
        * html/PluginDocument.h:

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

10 years ago2010-10-06 Vincent Scheib <scheib@chromium.org>
commit-queue@webkit.org [Thu, 7 Oct 2010 01:26:17 +0000 (01:26 +0000)]
2010-10-06  Vincent Scheib  <scheib@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Thumbnail generation asserts on zero alpha values.
        https://bugs.webkit.org/show_bug.cgi?id=47292

        Test: Tested manually by running debug mode, and analyzing in PIX.

        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::drawLayers):

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

10 years ago2010-10-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Oct 2010 01:18:28 +0000 (01:18 +0000)]
2010-10-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Simon Fraser.

        compositing/geometry/limit-layer-bounds-transformed-overflow.html is flakey
        https://bugs.webkit.org/show_bug.cgi?id=46912

        This test is the flakiest test of all because sometimes it doesn't show
        that it's using tiled layering.  It seems likely that the compositor
        state just hasn't synced all the time.  This patch adds an explicit
        display() call to force the compositor state to sync.  Hopefully it
        will make the test non-flaky.

        * compositing/geometry/limit-layer-bounds-transformed-overflow.html:

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

10 years ago2010-10-06 Lucas Forschler <lforschler@apple.com>
commit-queue@webkit.org [Thu, 7 Oct 2010 01:06:47 +0000 (01:06 +0000)]
2010-10-06  Lucas Forschler  <lforschler@apple.com>

        Reviewed by Adam Roben.

        Fix the sunspider-compare-results to actually use the passed in value for $root.

        * Scripts/sunspider-compare-results:

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

10 years ago2010-10-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 7 Oct 2010 00:43:14 +0000 (00:43 +0000)]
2010-10-06  Adam Barth  <abarth@webkit.org>

        Update expected results.  I think this should have been part of Hyatt's
        patch, but I'll confirm with him via bugs.webkit.org.

        * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:

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

10 years ago2010-10-06 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Thu, 7 Oct 2010 00:39:17 +0000 (00:39 +0000)]
2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>

        Unreviewed, trying to fix chromium Windows build.

        Explicitly give the parameter value that has a default parameter value.

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::requestFileSystem):
        * workers/WorkerContext.cpp:
        (WebCore::WorkerContext::requestFileSystem):

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

10 years agoTry to fix Windows build.
darin@apple.com [Thu, 7 Oct 2010 00:34:56 +0000 (00:34 +0000)]
Try to fix Windows build.

* platform/graphics/cg/ColorCG.cpp:
(WebCore::cachedCGColor): Put in braces to make the Windows compiler
happy with this file.

* platform/graphics/cg/ImageCG.cpp: Added include of RetainPtr.h.

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

10 years ago[chromium] Unreviewed. Build fix.
ajwong@chromium.org [Thu, 7 Oct 2010 00:19:59 +0000 (00:19 +0000)]
[chromium] Unreviewed. Build fix.

Cleaning up test_expectations, and marking more failures.

* platform/chromium/test_expectations.txt:

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

10 years ago2010-10-06 Darin Adler <darin@apple.com>
darin@apple.com [Thu, 7 Oct 2010 00:15:57 +0000 (00:15 +0000)]
2010-10-06  Darin Adler  <darin@apple.com>

        Reviewed by Alexey Proskuryakov.

        Cache CGColor as we do NSColor
        https://bugs.webkit.org/show_bug.cgi?id=47226

        This fixes performance problems on certain web pages that use
        multiple colors. Once in the past we were using NSColor. Now that
        we are using CGColor, we need the same sort of caching that we have
        for NSColor.

        One example: <http://results.active.com/uploads/html/100759.html>.

        * WebCore.xcodeproj/project.pbxproj: Add GraphicsContextCG.h.

        * platform/graphics/Color.h: Replace createCGColor with cachedCGColor.

        * platform/graphics/cg/ColorCG.cpp:
        (WebCore::cachedCGColorSpace): Added.
        (WebCore::leakCGColor): Added.
        (WebCore::cachedCGColor): Added.

        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::setCGFillColor): Use cachedCGColor.
        (WebCore::setCGStrokeColor): Ditto.
        (WebCore::GraphicsContext::fillRect): Ditto.
        (WebCore::GraphicsContext::setPlatformShadow): Ditto.

        * platform/graphics/cg/GraphicsContextCG.h: Added.
        * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
        Moved the color space functions here.

        * platform/graphics/cg/ImageCG.cpp: Tweaked headers and formatting.

        * platform/graphics/mac/ColorMac.mm: Removed the createCGColor
        function.

        * platform/graphics/mac/GraphicsContextMac.mm:
        (WebCore::drawFocusRingToContext): Removed innappropriate use of
        RetainPtr for the arguments to this function.
        (WebCore::GraphicsContext::drawFocusRing): Use cachedCGColor.

        * platform/graphics/mac/GraphicsLayerCA.mm:
        (WebCore::setLayerBorderColor): Use cachedCGColor.
        (WebCore::setLayerBackgroundColor): Ditto.
        * platform/graphics/win/GraphicsContextCGWin.cpp:
        (WebCore::GraphicsContext::drawFocusRing): Ditto.
        * platform/graphics/win/GraphicsLayerCACF.cpp:
        (WebCore::setLayerBorderColor): Ditto.
        (WebCore::setLayerBackgroundColor): Ditto.

        * platform/graphics/win/WKCACFLayerRenderer.cpp:
        (WebCore::WKCACFLayerRenderer::WKCACFLayerRenderer): Use
        CGColorCreateGenericRGB for color used only for debugging.
        * platform/graphics/win/WebTiledLayer.cpp:
        (WebCore::WebTiledLayer::addTile): Ditto.

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

10 years ago2010-10-06 Peter Kasting <pkasting@google.com>
jamesr@google.com [Wed, 6 Oct 2010 23:56:59 +0000 (23:56 +0000)]
2010-10-06  Peter Kasting  <pkasting@google.com>

        Reviewed by James Robinson

        ScrollViews without scrollbars should not eat scroll events
        https://bugs.webkit.org/show_bug.cgi?id=47036

        * platform/ScrollView.cpp:
        (WebCore::ScrollView::wheelEvent):

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

10 years ago2010-10-06 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Wed, 6 Oct 2010 23:52:56 +0000 (23:52 +0000)]
2010-10-06  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        ASSERTION FAILURE: Attempt to cast RenderObject to RenderFrameSet
        when <frameset> has CSS content property
        https://bugs.webkit.org/show_bug.cgi?id=47314

        Fixes an issue where sending a mouse event to an HTML Frameset Element that
        whose content was replaced via the CSS content property causes an assertion
        failure.

        By default, HTMLFrameSetElement forwards mouse events to RenderFrameSet so as
        to support resizing a frame within the set. When a <frameset> specifies an
        image in its CSS content property we create a generic render object (RenderObject)
        for the frame set instead of a RenderFrameSet object. The event handler code
        in HTMLFrameSetElement calls WebCore::toRenderFrameSet() to cast its renderer
        to type RenderFrameSet, which fails. To correct this, HTMLFrameSetElement
        must check that its renderer is of type RenderFrameSet before casting to this type.

        Test: fast/frames/crash-frameset-CSS-content-property.html

        * html/HTMLFrameSetElement.cpp:
        (WebCore::HTMLFrameSetElement::defaultEventHandler): Check that our renderer is
        of type RenderFrameSet before casting it as such.
2010-10-06  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        ASSERTION FAILURE: Attempt to cast RenderObject to RenderFrameSet
        when <frameset> has CSS content property
        https://bugs.webkit.org/show_bug.cgi?id=47314

        Test to ensure that we don't crash when clicking on a <frameset> that specifies the CSS content property.

        * fast/frames/crash-frameset-CSS-content-property-expected.txt: Added.
        * fast/frames/crash-frameset-CSS-content-property.html: Added.

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

10 years agor69181 breaks compilation of WebCore/platform/graphics/filters/FETile.cpp if ENABLE...
ajwong@chromium.org [Wed, 6 Oct 2010 23:51:11 +0000 (23:51 +0000)]
r69181 breaks compilation of WebCore/platform/graphics/filters/FETile.cpp if ENABLE(SVG) is false.
https://bugs.webkit.org/show_bug.cgi?id=47315

Reviewed by Andreas Kling.

Compile fix. No tests.

* platform/graphics/filters/FETile.cpp:
(WebCore::FETile::apply):

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

10 years agoUnreviewed. Try to make test pass on GTK and QT.
cfleizach@apple.com [Wed, 6 Oct 2010 23:41:12 +0000 (23:41 +0000)]
Unreviewed. Try to make test pass on GTK and QT.

REGRESSION (r53857): AREA tag with tabindex="-1" displays focus ring after multiple mouse clicks.
https://bugs.webkit.org/show_bug.cgi?id=45832

* fast/events/mouse-focus-imagemap-expected.txt:
* fast/events/mouse-focus-imagemap.html:

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

10 years ago2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
abecsi@webkit.org [Wed, 6 Oct 2010 23:28:34 +0000 (23:28 +0000)]
2010-10-06  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Runloop implementation for WTR
        https://bugs.webkit.org/show_bug.cgi?id=47280

        * WebKitTestRunner/qt/TestControllerQt.cpp:
        Implemented TestController::runUntil by a timerEvent
        and a QEventLoop. We step into the event loop from runUntil.
        While we are waiting in the loop a timerEvent is periodically
        checking the value of the condition. Once the condition has
        becoming true the timerEvent wakes us up.
        (WTR::RunUntilLoop::start):
        (WTR::RunUntilLoop::RunUntilLoop):
        (WTR::RunUntilLoop::run):
        (WTR::RunUntilLoop::timerEvent):
        (WTR::TestController::platformInitialize):
        (WTR::TestController::runUntil):
        * WebKitTestRunner/qt/main.cpp:
        Start the main event loop first and creating the TestController later.
        (Launcher::Launcher):
        (Launcher::~Launcher):
        (Launcher::launch): Creating the TestController.
        (main): Setting up a timer for calling Launcher::launch from
        the main event loop.

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

10 years ago2010-10-06 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Wed, 6 Oct 2010 23:24:31 +0000 (23:24 +0000)]
2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>

        Unreviewed, fixing screwed up ChangeLogs.

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

10 years ago[Chromium] Unreviewed build fix.
andreip@google.com [Wed, 6 Oct 2010 23:22:23 +0000 (23:22 +0000)]
[Chromium] Unreviewed build fix.

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

10 years ago2010-10-06 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 6 Oct 2010 23:18:08 +0000 (23:18 +0000)]
2010-10-06  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Kenneth Russell.

        Add a "FIXME" to clarify that all of the tests are currently marked
        "PASS FAIL" and hence we won't actually see any failures requiring
        new baselines (only crashes or timeouts).

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

        * platform/chromium-gpu/test_expectations.txt:
2010-10-06  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Kenneth Russell.

        new-run-webkit-tests: fix typo in chromium-gpu that was trying to
        enable 'accelerated-composting' instead of 'accelerated-compositing'.

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

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

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

10 years ago2010-10-06 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Wed, 6 Oct 2010 23:08:50 +0000 (23:08 +0000)]
2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by David Levin.

        Add FileSystemSync implementation for Worker
        https://bugs.webkit.org/show_bug.cgi?id=47044

        * src/LocalFileSystemChromium.cpp:
        (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter
        for synchronous mode.
        * src/WebFileSystemCallbacksImpl.cpp:
        (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
        a parameter for synchronous mode.
        (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to
        creates WorkerAsyncFileSystemChromium with synchronous flag.
        * src/WebFileSystemCallbacksImpl.h:
        * src/WebWorkerBase.cpp:
        (WebKit::WebWorkerBase::openFileSystem): Added a parameter for
        synchronous mode.
        * src/WebWorkerBase.h:
        * src/WorkerAsyncFileSystemChromium.cpp:
        (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
        (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
        Added.
        (WebCore::WorkerAsyncFileSystemChromium::move):
        (WebCore::WorkerAsyncFileSystemChromium::copy):
        (WebCore::WorkerAsyncFileSystemChromium::remove):
        (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
        (WebCore::WorkerAsyncFileSystemChromium::createFile):
        (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
        (WebCore::WorkerAsyncFileSystemChromium::fileExists):
        (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
        (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
        (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
        Updated to store the created bridge in a member variable so that
        we can call bridge->stop() later when the RunLoop is terminating.
        * src/WorkerAsyncFileSystemChromium.h:
        (WebCore::WorkerAsyncFileSystemChromium::create): Added a new
        parameter for synchronous mode.
2010-10-06  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
        https://bugs.webkit.org/show_bug.cgi?id=47245

        Recover metadata properly by adding abort tasks that
        are run when a transaction aborts.

        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::createObjectStore):
        (WebCore::IDBDatabase::removeObjectStore):
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
        (WebCore::IDBDatabaseBackendImpl::setVersion):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStoreFromMap):
        (WebCore::IDBDatabaseBackendImpl::addObjectStoreToMap):
        (WebCore::IDBDatabaseBackendImpl::resetVersion):
        * storage/IDBDatabaseBackendImpl.h:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::createIndex):
        (WebCore::IDBObjectStoreBackendImpl::removeIndex):
        (WebCore::IDBObjectStoreBackendImpl::removeIndexFromMap):
        (WebCore::IDBObjectStoreBackendImpl::addIndexToMap):
        * storage/IDBObjectStoreBackendImpl.h:
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::scheduleTask):
        (WebCore::IDBTransactionBackendImpl::abort):
        * storage/IDBTransactionBackendImpl.h:
        * storage/IDBTransactionBackendInterface.h:
        * storage/IDBTransactionCoordinator.h:
2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by David Levin.

        Add FileSystemSync implementation for Worker
        https://bugs.webkit.org/show_bug.cgi?id=47044

        * fast/filesystem/async-operations.html: Added.
        * fast/filesystem/resources/async-operations.js: Added.
        * fast/filesystem/resources/fs-worker-test-pre.js:
        * fast/filesystem/resources/sync-operations.js: Added.
        * fast/filesystem/script-tests/flags-passing.js:
        * fast/filesystem/workers/async-operations-expected.txt: Added.
        * fast/filesystem/workers/async-operations.html: Added.
        * fast/filesystem/workers/simple-persistent-sync-expected.txt:
        * fast/filesystem/workers/simple-temporary-sync-expected.txt:
        * fast/filesystem/workers/sync-operations-expected.txt: Added.
        * fast/filesystem/workers/sync-operations.html: Added.

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

10 years ago2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
abecsi@webkit.org [Wed, 6 Oct 2010 23:00:44 +0000 (23:00 +0000)]
2010-10-06  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] PlatformWebView implementation for WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=47276

        The implementation follows the way how
        we use the API in MiniBrowser.
        * WebKitTestRunner/PlatformWebView.h:
        * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
        (WTR::WebView::wkView):
        (WTR::WebView::~WebView):
        (WTR::WebView::WebView):
        (WTR::PlatformWebView::PlatformWebView):
        (WTR::PlatformWebView::~PlatformWebView):
        (WTR::PlatformWebView::resizeTo):
        (WTR::PlatformWebView::page):
        (WTR::PlatformWebView::focus):
        * WebKitTestRunner/qt/WebKitTestRunner.pro:

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

10 years ago2010-10-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Wed, 6 Oct 2010 22:52:22 +0000 (22:52 +0000)]
2010-10-06  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
        https://bugs.webkit.org/show_bug.cgi?id=47245

        * storage/indexeddb/database-basics-expected.txt:
        * storage/indexeddb/database-basics.html:
        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/resources/shared.js:
        (unexpectedAbortCallback):
        (unexpectedCompleteCallback):
        (deleteAllObjectStores):
        * storage/indexeddb/transaction-basics-expected.txt:
        * storage/indexeddb/transaction-basics.html:
2010-10-06  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
        https://bugs.webkit.org/show_bug.cgi?id=47245

        Recover metadata properly by adding abort tasks that
        are run when a transaction aborts.

        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::createObjectStore):
        (WebCore::IDBDatabase::removeObjectStore):
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
        (WebCore::IDBDatabaseBackendImpl::setVersion):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStoreFromMap):
        (WebCore::IDBDatabaseBackendImpl::addObjectStoreToMap):
        (WebCore::IDBDatabaseBackendImpl::resetVersion):
        * storage/IDBDatabaseBackendImpl.h:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::createIndex):
        (WebCore::IDBObjectStoreBackendImpl::removeIndex):
        (WebCore::IDBObjectStoreBackendImpl::removeIndexFromMap):
        (WebCore::IDBObjectStoreBackendImpl::addIndexToMap):
        * storage/IDBObjectStoreBackendImpl.h:
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::scheduleTask):
        (WebCore::IDBTransactionBackendImpl::abort):
        * storage/IDBTransactionBackendImpl.h:
        * storage/IDBTransactionBackendInterface.h:
        * storage/IDBTransactionCoordinator.h:
2010-10-06  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
        https://bugs.webkit.org/show_bug.cgi?id=47245

        * src/IDBTransactionBackendProxy.cpp:
        (WebCore::IDBTransactionBackendProxy::scheduleTask):
        * src/IDBTransactionBackendProxy.h:

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

10 years ago[chromium] Unreviewed. Build fix. Mark flaky tests.
ajwong@chromium.org [Wed, 6 Oct 2010 22:48:38 +0000 (22:48 +0000)]
[chromium] Unreviewed. Build fix. Mark flaky tests.

* platform/chromium/test_expectations.txt:

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

10 years agoSeparate actually calling the member function from decoding/encoding arguments
andersca@apple.com [Wed, 6 Oct 2010 22:47:29 +0000 (22:47 +0000)]
Separate actually calling the member function from decoding/encoding arguments
and remove any ambiguities when calling the function.

Reviewed by Sam Weinig.

* Platform/CoreIPC/Arguments.h:
* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::callMemberFunction):
(CoreIPC::handleMessage):

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

10 years ago2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
abecsi@webkit.org [Wed, 6 Oct 2010 22:43:14 +0000 (22:43 +0000)]
2010-10-06  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Add WebKitTestRunner's build files
        https://bugs.webkit.org/show_bug.cgi?id=44155

        Add the new subdirs.
        * DerivedSources.pro:
        * WebKit.pro:
2010-10-06  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Add WebKitTestRunner's build files
        https://bugs.webkit.org/show_bug.cgi?id=44155

        Parts was taken by Zoltan Horvath's patch.

        * Scripts/generate-forwarding-headers.pl: Moved from WebKit2.
        * Scripts/webkitdirs.pm: Make the generated files needed by WTR.
        * WebKitTestRunner/PlatformWebView.h: Addeed typedefs for
        PlatformWKView and PlatformWindow (void* for now).
        Buildfix the case when __APPLE__ is not defined.
        * WebKitTestRunner/qt/DerivedSources.pro: Added.
        * WebKitTestRunner/qt/PlatformWebViewQt.cpp: Added.
        Empty stub implementation.
        (WTR::registerWindowClass):
        (WTR::PlatformWebView::PlatformWebView):
        (WTR::PlatformWebView::~PlatformWebView):
        (WTR::PlatformWebView::resizeTo):
        (WTR::PlatformWebView::page):
        (WTR::PlatformWebView::focus):
        * WebKitTestRunner/qt/TestControllerQt.cpp: Added.
        Empty stub implementation.
        (WTR::registerWindowClass):
        (WTR::TestController::runUntil):
        (WTR::TestController::platformInitialize):
        (WTR::TestController::initializeInjectedBundlePath):
        (WTR::TestController::initializeTestPluginDirectory):
        (WTR::TestController::platformInitializeContext):
        * WebKitTestRunner/qt/WebKitTestRunner.pro: Added.
        * WebKitTestRunner/qt/main.cpp: Added.
        (main):
2010-10-06  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Add WebKitTestRunner's build files
        https://bugs.webkit.org/show_bug.cgi?id=44155

        * DerivedSources.pro: Changes according the new location
        of generate-forwarding-headers.pl.
        * UIProcess/API/C/WebKit2.h: Do not check the value of the
        __APPLE__ define if it is not defined.
        * WebKit2.pro: Changes according the new location
        of generate-forwarding-headers.pl. Added missing files
        to the build that provides API that is used by WTR.
        * generate-forwarding-headers.pl: Moved to WebKitTools/Scripts
        since from now this is not only used by WebKit2.

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

10 years ago2010-10-06 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Wed, 6 Oct 2010 22:33:41 +0000 (22:33 +0000)]
2010-10-06  Victor Wang  <victorw@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Add webkit unit tests to chromium multi-dll build.

        In chromium multi-dll build mode, compile the webkit unit tests
        code in webkit.dll and export an api that runs the tests.

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

        * WebKit.gyp:
        * WebKit.gypi:
        * tests/RunAllTests.cpp:
        (main):
        * tests/WebUnitTests.cpp: Added.
        (WebKit::RunAllUnitTests):
        * tests/WebUnitTests.h: Added.

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

10 years agoUnreviewed. Make test work on QT as well as other platforms.
cfleizach@apple.com [Wed, 6 Oct 2010 22:30:59 +0000 (22:30 +0000)]
Unreviewed. Make test work on QT as well as other platforms.

REGRESSION (r53857): AREA tag with tabindex="-1" displays focus ring after multiple mouse clicks.
https://bugs.webkit.org/show_bug.cgi?id=45832

* fast/events/mouse-focus-imagemap-expected.txt:
* fast/events/mouse-focus-imagemap.html:

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

10 years ago[chromium] Unreviewed. Rebaseline more tests.
ajwong@chromium.org [Wed, 6 Oct 2010 22:28:44 +0000 (22:28 +0000)]
[chromium] Unreviewed. Rebaseline more tests.

Linux having similar SVG failures to windows. Revision r69226 added
http/tests/appcache/main-resource-redirect.html which does not work
on chromium yet.

* platform/chromium-linux/fast/blockflow/fieldsets-expected.checksum: Added.
* platform/chromium-linux/fast/blockflow/fieldsets-expected.png: Added.
* platform/chromium-linux/svg/filters/feDisplacementMap-expected.checksum: Copied from LayoutTests/platform/chromium-win/svg/filters/feDisplacementMap-expected.checksum.
* platform/chromium-linux/svg/filters/feDisplacementMap-expected.png: Copied from LayoutTests/platform/chromium-win/svg/filters/feDisplacementMap-expected.png.
* platform/chromium-win/fast/blockflow/fieldsets-expected.checksum: Added.
* platform/chromium-win/fast/blockflow/fieldsets-expected.png: Added.
* platform/chromium-win/fast/blockflow/fieldsets-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

10 years agoMore Arguments.h cleanup.
andersca@apple.com [Wed, 6 Oct 2010 22:15:38 +0000 (22:15 +0000)]
More Arguments.h cleanup.

Reviewed by Sam Weinig.

* Platform/CoreIPC/Arguments.h:
* Platform/CoreIPC/HandleMessage.h:
Remove unnecessary typedefs, simplify.

* Scripts/webkit2/messages.py:
* UIProcess/WebContext.h:
Fix clang++ build.

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=47306
hyatt@apple.com [Wed, 6 Oct 2010 22:13:31 +0000 (22:13 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47306

Reviewed by Dan Bernstein.

Convert determineStart/EndPosition and matchedEndLine to be writing-mode-aware.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::determineStartPosition):
(WebCore::RenderBlock::determineEndPosition):
(WebCore::RenderBlock::matchedEndLine):

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

10 years agoMac baseline for simple_paint.html. Updated test_expectations.
fsamuel@chromium.org [Wed, 6 Oct 2010 22:12:23 +0000 (22:12 +0000)]
Mac baseline for simple_paint.html. Updated test_expectations.

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

10 years agoREGRESSION (r53857): AREA tag with tabindex="-1" displays focus ring after multiple...
cfleizach@apple.com [Wed, 6 Oct 2010 22:09:04 +0000 (22:09 +0000)]
REGRESSION (r53857): AREA tag with tabindex="-1" displays focus ring after multiple mouse clicks.
https://bugs.webkit.org/show_bug.cgi?id=45832

Reviewed by Beth Dakin.

WebCore:

Test: fast/events/mouse-focus-imagemap.html

* html/HTMLAreaElement.cpp:
(WebCore::HTMLAreaElement::isKeyboardFocusable):
(WebCore::HTMLAreaElement::isMouseFocusable):
(WebCore::HTMLAreaElement::isFocusable):
(WebCore::HTMLAreaElement::updateFocusAppearance):
* html/HTMLAreaElement.h:

LayoutTests:

* fast/events/mouse-focus-imagemap-expected.txt: Added.
* fast/events/mouse-focus-imagemap.html: Added.
* fast/events/resources/tabindex-focus-blur-all.js:
(testProgrammaticFocus):
* fast/events/tabindex-focus-blur-all-expected.txt:
    Update test to reflect that AREA with tabindex=-1 should not be focusable.

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

10 years agoStart cleaning up Arguments.h
andersca@apple.com [Wed, 6 Oct 2010 21:48:50 +0000 (21:48 +0000)]
Start cleaning up Arguments.h
https://bugs.webkit.org/show_bug.cgi?id=47304

Reviewed by Sam Weinig.

JavaScriptCore:

* wtf/TypeTraits.h:
* wtf/TypeTraits.cpp:
Add RemoveReference type trait.

WebKit2:

This is a first step towards simplifying all the handleMessage overloads we have.

* Platform/CoreIPC/Arguments.h:
(CoreIPC::Arguments1):
Make Arguments1 a struct and get rid of the FirstArgumentType typedef. Instead, add a
ValueType typedef which is defined to an Arguments1 type whose type parameter is not
a reference type.

* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::handleMessage):
Update for the Arguments1 change. Rename "arguments" to "argumentDecoder" and "reply" to
"replyEncoder".

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=47303
hyatt@apple.com [Wed, 6 Oct 2010 21:44:02 +0000 (21:44 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47303

Reviewed by Dan Bernstein.

Convert layoutInlineChildren to be block-flow-aware.  None of the functions it calls are patched yet.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::forceLayoutInlineChildren):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::beforeSideVisibleOverflowForLine):
(WebCore::RenderBlock::afterSideVisibleOverflowForLine):
(WebCore::RenderBlock::beforeSideLayoutOverflowForLine):
(WebCore::RenderBlock::afterSideLayoutOverflowForLine):
* rendering/RenderBox.h:
(WebCore::RenderBox::logicalLeftLayoutOverflow):
(WebCore::RenderBox::logicalRightLayoutOverflow):
(WebCore::RenderBox::logicalLeftVisualOverflow):
(WebCore::RenderBox::logicalRightVisualOverflow):

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

10 years ago2010-10-06 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Wed, 6 Oct 2010 21:08:20 +0000 (21:08 +0000)]
2010-10-06  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Fix the build after API changes introduced in r69214.

        * UIProcess/API/cpp/qt/WKStringQt.cpp:
        (WKStringCreateWithQString):
        * UIProcess/API/cpp/qt/WKURLQt.cpp:
        (WKURLCreateWithQUrl):

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

10 years ago[chromium] Unreviewed. Rebaseline layout tests.
ajwong@chromium.org [Wed, 6 Oct 2010 21:02:22 +0000 (21:02 +0000)]
[chromium] Unreviewed. Rebaseline layout tests.

Rebaselining for changes caused by r69181, r69220, and a few others
in that range.

Bugs filed for the 2 tests that look like real failures.

* platform/chromium-linux/fast/block/basic/fieldset-stretch-to-legend-expected.checksum:
* platform/chromium-linux/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/chromium-linux/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
* platform/chromium-linux/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Removed.
* platform/chromium-linux/fast/forms/006-expected.checksum:
* platform/chromium-linux/fast/forms/006-expected.png:
* platform/chromium-linux/fast/forms/007-expected.checksum:
* platform/chromium-linux/fast/forms/007-expected.png:
* platform/chromium-linux/fast/forms/fieldset-align-expected.checksum:
* platform/chromium-linux/fast/forms/fieldset-align-expected.png:
* platform/chromium-linux/fast/forms/float-before-fieldset-expected.checksum:
* platform/chromium-linux/fast/forms/float-before-fieldset-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-blend-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-linux/svg/batik/filters/feTile-expected.checksum:
* platform/chromium-linux/svg/batik/filters/feTile-expected.png:
* platform/chromium-linux/svg/batik/filters/filterRegions-expected.checksum:
* platform/chromium-linux/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-linux/svg/batik/text/textEffect-expected.checksum:
* platform/chromium-linux/svg/batik/text/textEffect-expected.png:
* platform/chromium-linux/svg/batik/text/textEffect3-expected.checksum:
* platform/chromium-linux/svg/batik/text/textEffect3-expected.png:
* platform/chromium-linux/svg/batik/text/textFeatures-expected.checksum:
* platform/chromium-linux/svg/batik/text/textFeatures-expected.png:
* platform/chromium-linux/svg/css/getComputedStyle-basic-expected.txt: Removed.
* platform/chromium-linux/svg/custom/empty-merge-expected.checksum: Removed.
* platform/chromium-linux/svg/custom/empty-merge-expected.png: Removed.
* platform/chromium-linux/svg/custom/feComponentTransfer-Discrete-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Gamma-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Linear-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Table-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-linux/svg/custom/image-with-transform-clip-filter-expected.checksum:
* platform/chromium-linux/svg/custom/image-with-transform-clip-filter-expected.png:
* platform/chromium-linux/svg/custom/inline-svg-in-xhtml-expected.checksum:
* platform/chromium-linux/svg/custom/inline-svg-in-xhtml-expected.png:
* platform/chromium-linux/svg/custom/non-opaque-filters-expected.checksum:
* platform/chromium-linux/svg/custom/non-opaque-filters-expected.png:
* platform/chromium-linux/svg/custom/recursive-filter-expected.checksum:
* platform/chromium-linux/svg/custom/recursive-filter-expected.png:
* platform/chromium-linux/svg/custom/text-filter-expected.checksum:
* platform/chromium-linux/svg/custom/text-filter-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png: Added.
* platform/chromium-linux/svg/filters/feComposite-expected.checksum:
* platform/chromium-linux/svg/filters/feComposite-expected.png:
* platform/chromium-linux/svg/filters/filter-on-filter-for-text-expected.checksum:
* platform/chromium-linux/svg/filters/filter-on-filter-for-text-expected.png:
* platform/chromium-linux/svg/filters/filter-on-tspan-expected.checksum:
* platform/chromium-linux/svg/filters/filter-on-tspan-expected.png:
* platform/chromium-linux/svg/filters/sourceAlpha-expected.checksum:
* platform/chromium-linux/svg/filters/subRegion-one-effect-expected.checksum:
* platform/chromium-linux/svg/filters/subRegion-one-effect-expected.png:
* platform/chromium-linux/svg/filters/subRegion-two-effects-expected.checksum:
* platform/chromium-linux/svg/filters/subRegion-two-effects-expected.png:
* platform/chromium-mac/fast/blockflow/fieldsets-expected.checksum: Added.
* platform/chromium-mac/fast/blockflow/fieldsets-expected.png: Added.
* platform/chromium-mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum: Copied from LayoutTests/platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum.
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png: Added.
* platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt:
* platform/chromium-win/fast/block/basic/fieldset-stretch-to-legend-expected.checksum:
* platform/chromium-win/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-win/fast/forms/006-expected.checksum:
* platform/chromium-win/fast/forms/006-expected.png:
* platform/chromium-win/fast/forms/007-expected.checksum:
* platform/chromium-win/fast/forms/007-expected.png:
* platform/chromium-win/fast/forms/fieldset-align-expected.checksum:
* platform/chromium-win/fast/forms/fieldset-align-expected.png:
* platform/chromium-win/fast/forms/float-before-fieldset-expected.checksum:
* platform/chromium-win/fast/forms/float-before-fieldset-expected.png:
* platform/chromium-win/inspector/console-uncaught-exception-expected.txt: Added.
* platform/chromium-win/svg/W3C-SVG-1.1/filters-blend-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-win/svg/batik/filters/feTile-expected.checksum:
* platform/chromium-win/svg/batik/filters/feTile-expected.png:
* platform/chromium-win/svg/batik/filters/filterRegions-expected.checksum:
* platform/chromium-win/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-win/svg/batik/text/textEffect-expected.checksum:
* platform/chromium-win/svg/batik/text/textEffect-expected.png:
* platform/chromium-win/svg/batik/text/textEffect3-expected.checksum:
* platform/chromium-win/svg/batik/text/textEffect3-expected.png:
* platform/chromium-win/svg/batik/text/textFeatures-expected.checksum:
* platform/chromium-win/svg/batik/text/textFeatures-expected.png:
* platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
* platform/chromium-win/svg/custom/convolution-crash-expected.checksum:
* platform/chromium-win/svg/custom/convolution-crash-expected.png:
* platform/chromium-win/svg/custom/empty-merge-expected.checksum:
* platform/chromium-win/svg/custom/empty-merge-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Discrete-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Gamma-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Linear-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Table-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-win/svg/custom/image-with-transform-clip-filter-expected.checksum:
* platform/chromium-win/svg/custom/image-with-transform-clip-filter-expected.png:
* platform/chromium-win/svg/custom/inline-svg-in-xhtml-expected.checksum:
* platform/chromium-win/svg/custom/inline-svg-in-xhtml-expected.png:
* platform/chromium-win/svg/custom/non-opaque-filters-expected.checksum:
* platform/chromium-win/svg/custom/non-opaque-filters-expected.png:
* platform/chromium-win/svg/custom/recursive-filter-expected.checksum:
* platform/chromium-win/svg/custom/recursive-filter-expected.png:
* platform/chromium-win/svg/custom/text-filter-expected.checksum:
* platform/chromium-win/svg/custom/text-filter-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png: Added.
* platform/chromium-win/svg/filters/big-sized-filter-expected.checksum:
* platform/chromium-win/svg/filters/big-sized-filter-expected.png:
* platform/chromium-win/svg/filters/feColorMatrix-values-expected.checksum:
* platform/chromium-win/svg/filters/feColorMatrix-values-expected.png:
* platform/chromium-win/svg/filters/feComposite-expected.checksum:
* platform/chromium-win/svg/filters/feComposite-expected.png:
* platform/chromium-win/svg/filters/feGaussianBlur-expected.checksum:
* platform/chromium-win/svg/filters/feGaussianBlur-expected.png:
* platform/chromium-win/svg/filters/feOffset-expected.checksum:
* platform/chromium-win/svg/filters/feOffset-expected.png:
* platform/chromium-win/svg/filters/feTile-expected.checksum:
* platform/chromium-win/svg/filters/feTile-expected.png:
* platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.checksum:
* platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.png:
* platform/chromium-win/svg/filters/filter-on-tspan-expected.checksum:
* platform/chromium-win/svg/filters/filter-on-tspan-expected.png:
* platform/chromium-win/svg/filters/filterRes1-expected.checksum: Added.
* platform/chromium-win/svg/filters/filterRes1-expected.png: Added.
* platform/chromium-win/svg/filters/filterRes2-expected.checksum: Added.
* platform/chromium-win/svg/filters/filterRes2-expected.png: Added.
* platform/chromium-win/svg/filters/filterRes3-expected.checksum: Added.
* platform/chromium-win/svg/filters/filterRes3-expected.png: Added.
* platform/chromium-win/svg/filters/filteredImage-expected.checksum:
* platform/chromium-win/svg/filters/filteredImage-expected.png:
* platform/chromium-win/svg/filters/parent-children-with-same-filter-expected.checksum:
* platform/chromium-win/svg/filters/parent-children-with-same-filter-expected.png:
* platform/chromium-win/svg/filters/shadow-on-filter-expected.checksum:
* platform/chromium-win/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-win/svg/filters/sourceAlpha-expected.checksum:
* platform/chromium-win/svg/filters/sourceAlpha-expected.png:
* platform/chromium-win/svg/filters/subRegion-in-userSpace-expected.checksum:
* platform/chromium-win/svg/filters/subRegion-in-userSpace-expected.png:
* platform/chromium-win/svg/filters/subRegion-one-effect-expected.checksum:
* platform/chromium-win/svg/filters/subRegion-one-effect-expected.png:
* platform/chromium-win/svg/filters/subRegion-two-effects-expected.checksum:
* platform/chromium-win/svg/filters/subRegion-two-effects-expected.png:
* platform/chromium/test_expectations.txt:

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

10 years ago2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 6 Oct 2010 20:37:43 +0000 (20:37 +0000)]
2010-10-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        Rubber stamped by Dirk Schulze.

        Next patch updating the SVG pixel test baseline for Leopard & Snow Leopard.

        * platform/mac-leopard/svg/dynamic-updates: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGCircleElement-dom-cx-attr-expected.checksum: Added.
...

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

10 years ago2010-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 6 Oct 2010 20:36:57 +0000 (20:36 +0000)]
2010-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r69210.
        http://trac.webkit.org/changeset/69210
        https://bugs.webkit.org/show_bug.cgi?id=47297

        This patch broke Windows (Requested by andersca on #webkit).

        * DerivedSources.make:
        * DerivedSources.pro:
        * Platform/CoreIPC/Arguments.h:
        * Platform/CoreIPC/HandleMessage.h:
        (CoreIPC::handleMessage):
        * Scripts/webkit2/messages.py:
        * Scripts/webkit2/messages_unittest.py:
        * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Added.
        * Shared/StringPairVector.h: Removed.
        * UIProcess/API/mac/PageClientImpl.h:
        * UIProcess/API/mac/PageClientImpl.mm:
        (WebKit::PageClientImpl::registerEditCommand):
        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::registerEditCommand):
        * UIProcess/API/qt/qwkpage_p.h:
        * UIProcess/PageClient.h:
        * UIProcess/WebEditCommandProxy.cpp:
        (WebKit::WebEditCommandProxy::unapply):
        (WebKit::WebEditCommandProxy::reapply):
        * UIProcess/WebFormClient.cpp:
        (WebKit::WebFormClient::willSubmitForm):
        * UIProcess/WebFormClient.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::didReceiveMessage):
        (WebKit::WebPageProxy::didReceiveSyncMessage):
        (WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
        (WebKit::WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame):
        (WebKit::WebPageProxy::didFailProvisionalLoadForFrame):
        (WebKit::WebPageProxy::didCommitLoadForFrame):
        (WebKit::WebPageProxy::didFinishDocumentLoadForFrame):
        (WebKit::WebPageProxy::didFinishLoadForFrame):
        (WebKit::WebPageProxy::didFailLoadForFrame):
        (WebKit::WebPageProxy::didReceiveTitleForFrame):
        (WebKit::WebPageProxy::didFirstLayoutForFrame):
        (WebKit::WebPageProxy::didFirstVisuallyNonEmptyLayoutForFrame):
        (WebKit::WebPageProxy::didRemoveFrameFromHierarchy):
        (WebKit::WebPageProxy::decidePolicyForNavigationAction):
        (WebKit::WebPageProxy::decidePolicyForNewWindowAction):
        (WebKit::WebPageProxy::decidePolicyForMIMEType):
        (WebKit::WebPageProxy::willSubmitForm):
        (WebKit::WebPageProxy::createNewPage):
        (WebKit::WebPageProxy::runJavaScriptAlert):
        (WebKit::WebPageProxy::runJavaScriptConfirm):
        (WebKit::WebPageProxy::runJavaScriptPrompt):
        (WebKit::WebPageProxy::mouseDidMoveOverElement):
        (WebKit::WebPageProxy::contentsSizeChanged):
        (WebKit::WebPageProxy::addItemToBackForwardList):
        (WebKit::WebPageProxy::goToItemInBackForwardList):
        (WebKit::WebPageProxy::registerEditCommandForUndo):
        (WebKit::WebPageProxy::registerEditCommandForRedo):
        (WebKit::WebPageProxy::didReceiveEvent):
        (WebKit::WebPageProxy::didChangeAcceleratedCompositing):
        * UIProcess/WebPageProxy.h:
        * UIProcess/WebPageProxy.messages.in: Removed.
        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::registerEditCommand):
        * UIProcess/win/WebView.h:
        * WebKit2.pro:
        * WebKit2.xcodeproj/project.pbxproj:
        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        (WebKit::WebChromeClient::setWindowRect):
        (WebKit::WebChromeClient::takeFocus):
        (WebKit::WebChromeClient::createWindow):
        (WebKit::WebChromeClient::runJavaScriptAlert):
        (WebKit::WebChromeClient::runJavaScriptConfirm):
        (WebKit::WebChromeClient::runJavaScriptPrompt):
        (WebKit::WebChromeClient::setStatusbarText):
        (WebKit::WebChromeClient::contentsSizeChanged):
        (WebKit::WebChromeClient::mouseDidMoveOverElement):
        (WebKit::WebChromeClient::setToolTip):
        (WebKit::WebChromeClient::setCursor):
        * WebProcess/WebCoreSupport/WebEditorClient.cpp:
        (WebKit::WebEditorClient::registerCommandForUndo):
        (WebKit::WebEditorClient::clearUndoRedoOperations):
        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::WebFrameLoaderClient::detachedFromParent2):
        (WebKit::WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
        (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
        (WebKit::WebFrameLoaderClient::dispatchDidReceiveTitle):
        (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
        (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
        (WebKit::WebFrameLoaderClient::dispatchDidFailLoad):
        (WebKit::WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
        (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad):
        (WebKit::WebFrameLoaderClient::dispatchDidFirstLayout):
        (WebKit::WebFrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
        (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForMIMEType):
        (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
        (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
        (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
        (WebKit::WebFrameLoaderClient::postProgressStartedNotification):
        (WebKit::WebFrameLoaderClient::postProgressEstimateChangedNotification):
        (WebKit::WebFrameLoaderClient::postProgressFinishedNotification):
        (WebKit::WebFrameLoaderClient::createFrame):
        * WebProcess/WebPage/WebBackForwardListProxy.cpp:
        (WebKit::WebBackForwardListProxy::addItem):
        (WebKit::WebBackForwardListProxy::goToItem):
        (WebKit::WebBackForwardListProxy::backItem):
        (WebKit::WebBackForwardListProxy::currentItem):
        (WebKit::WebBackForwardListProxy::forwardItem):
        (WebKit::WebBackForwardListProxy::itemAtIndex):
        (WebKit::WebBackForwardListProxy::backListCount):
        (WebKit::WebBackForwardListProxy::forwardListCount):
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::WebPage):
        (WebKit::WebPage::changeAcceleratedCompositingMode):
        (WebKit::WebPage::enterAcceleratedCompositingMode):
        (WebKit::WebPage::sendClose):
        (WebKit::WebPage::mouseEvent):
        (WebKit::WebPage::wheelEvent):
        (WebKit::WebPage::keyEvent):
        (WebKit::WebPage::validateMenuItem):
        (WebKit::WebPage::touchEvent):
        (WebKit::WebPage::show):
        (WebKit::WebPage::runJavaScriptInMainFrame):
        (WebKit::WebPage::getRenderTreeExternalRepresentation):
        (WebKit::WebPage::getSourceForFrame):
        * win/WebKit2.vcproj:

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=47298
hyatt@apple.com [Wed, 6 Oct 2010 20:35:21 +0000 (20:35 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47298

Reviewed by Dan Bernstein.

Rename blockHeight to blockLogicalHeight.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::markLinesDirtyInBlockRange):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeBlockDirectionPositionsForLine):
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::determineStartPosition):
(WebCore::RenderBlock::determineEndPosition):
(WebCore::RenderBlock::matchedEndLine):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
(WebCore::RootInlineBox::adjustPosition):
* rendering/RootInlineBox.h:
(WebCore::RootInlineBox::blockLogicalHeight):
(WebCore::RootInlineBox::setBlockLogicalHeight):
* rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::layoutRootBox):

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

10 years ago2010-10-05 James Robinson <jamesr@chromium.org>
jamesr@google.com [Wed, 6 Oct 2010 20:21:54 +0000 (20:21 +0000)]
2010-10-05  James Robinson  <jamesr@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] DRT assertion w/accel 2D canvas in PlatformContextSkia
        https://bugs.webkit.org/show_bug.cgi?id=47242

        Call PlatformContextSkia::prepareForSoftwareDraw before doing putImageData
        since that call mutates the software backing store.

        Test: fast/canvas/canvas-putImageData.html

        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::putUnmultipliedImageData):

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

10 years ago Reviewed by Brady Eidson.
ap@apple.com [Wed, 6 Oct 2010 20:14:40 +0000 (20:14 +0000)]
    Reviewed by Brady Eidson.

        https://bugs.webkit.org/show_bug.cgi?id=47294
        <rdar://problem/8425647>Application cache isn't consulted on redirect

        Test: http/tests/appcache/main-resource-redirect.html

        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::continueAfterNavigationPolicy): If we have substitute data now
        (presumably after a redirect is served by appcache), switch to it.
        (WebCore::MainResourceLoader::willSendRequest): Check appcache for the new URL.

        * loader/MainResourceLoader.h: Made handleDataLoadSoon() take a const ResourceRequest
        reference - it doesn't ever modify it, and we can call it from continueAfterNavigationPolicy() now.

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

10 years agoWKSerializedScriptValue.h needs to be copied over into the WEBKITOUTPUTDIR on Windows.
jberlin@webkit.org [Wed, 6 Oct 2010 19:54:05 +0000 (19:54 +0000)]
WKSerializedScriptValue.h needs to be copied over into the WEBKITOUTPUTDIR on Windows.
https://bugs.webkit.org/show_bug.cgi?id=47287

Rubber-stamped by Dan Bernstein.

* win/WebKit2Generated.make:
Copy WKSerializedScriptValue.h into $(WEBKITOUTPUTDIR)\include\WebKit2.

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

10 years ago2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 6 Oct 2010 19:38:08 +0000 (19:38 +0000)]
2010-10-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        Rubber stamped by Dirk Schulze.

        Next patch updating the SVG pixel test baseline for Leopard & Snow Leopard.

        * platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
...

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

10 years ago2010-10-06 Alejandro G. Castro <alex@igalia.com>
mrobinson@webkit.org [Wed, 6 Oct 2010 19:37:45 +0000 (19:37 +0000)]
2010-10-06  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Dirk Schulze.

        ContextShadow should not use the blur radius as kernel size of the
        box blurs
        https://bugs.webkit.org/show_bug.cgi?id=46918

        Calculate the size of the kernel in the blur algorithm using the radius instead
        of using the blur distance directly. Change the name of the variables to match the
        terminology in the spec.

        * platform/graphics/ContextShadow.cpp:
        (WebCore::ContextShadow::ContextShadow):
        (WebCore::ContextShadow::clear):
        (WebCore::ContextShadow::blurLayerImage):
        (WebCore::ContextShadow::calculateLayerBoundingRect):
        * platform/graphics/ContextShadow.h:

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

10 years ago2010-10-06 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Wed, 6 Oct 2010 19:16:02 +0000 (19:16 +0000)]
2010-10-06  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Correct CamelCase of socketSentdata() in SocketStreamHandlePrivate
        to fix "QMetaObject::invokeMethod: No such method" warnings in layout tests.
        https://bugs.webkit.org/show_bug.cgi?id=47284

        No new tests needed.

        * platform/network/qt/SocketStreamHandlePrivate.h:
        * platform/network/qt/SocketStreamHandleQt.cpp:
        (WebCore::SocketStreamHandlePrivate::socketSentData):

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=47285
hyatt@apple.com [Wed, 6 Oct 2010 19:02:34 +0000 (19:02 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47285

Reviewed by Dan Bernstein.

Update to the latest writing-mode draft. The block-flow property is gone and has been replaced with writing-mode.
Change all the code to use writingMode() instead of blockFlow() and rename all functions that referred to block flow
as appropriate.

WebCore:

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator WritingMode):
(WebCore::CSSPrimitiveValue::operator SVGWritingMode):
* css/CSSProperty.cpp:
(WebCore::resolveToPhysicalProperty):
(WebCore::CSSProperty::resolveDirectionAwareProperty):
* css/CSSProperty.h:
* css/CSSPropertyNames.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForDocument):
(WebCore::CSSStyleSelector::adjustRenderStyle):
(WebCore::CSSStyleSelector::applyDeclarations):
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSValueKeywords.in:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::MarginInfo::MarginInfo):
(WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
(WebCore::RenderBlock::setLogicalLeftForChild):
(WebCore::RenderBlock::setLogicalTopForChild):
(WebCore::RenderBlock::layoutBlockChild):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::collapsedMarginBeforeForChild):
(WebCore::RenderBlock::collapsedMarginAfterForChild):
(WebCore::RenderBlock::marginBeforeForChild):
(WebCore::RenderBlock::marginAfterForChild):
(WebCore::RenderBlock::marginStartForChild):
(WebCore::RenderBlock::marginEndForChild):
(WebCore::RenderBlock::setMarginStartForChild):
(WebCore::RenderBlock::setMarginEndForChild):
(WebCore::RenderBlock::setMarginBeforeForChild):
(WebCore::RenderBlock::setMarginAfterForChild):
(WebCore::RenderBlock::marginValuesForChild):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::logicalWidthForChild):
(WebCore::RenderBlock::logicalHeightForChild):
(WebCore::RenderBlock::logicalTopForChild):
(WebCore::RenderBlock::logicalRightOffsetForContent):
(WebCore::RenderBlock::logicalLeftOffsetForContent):
(WebCore::RenderBlock::logicalTopForFloat):
(WebCore::RenderBlock::logicalBottomForFloat):
(WebCore::RenderBlock::logicalLeftForFloat):
(WebCore::RenderBlock::logicalRightForFloat):
(WebCore::RenderBlock::logicalWidthForFloat):
(WebCore::RenderBlock::setLogicalTopForFloat):
(WebCore::RenderBlock::setLogicalLeftForFloat):
(WebCore::RenderBlock::setLogicalHeightForFloat):
(WebCore::RenderBlock::setLogicalWidthForFloat):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::marginBefore):
(WebCore::RenderBox::marginAfter):
(WebCore::RenderBox::marginStart):
(WebCore::RenderBox::marginEnd):
(WebCore::RenderBox::setMarginStart):
(WebCore::RenderBox::setMarginEnd):
(WebCore::RenderBox::setMarginBefore):
(WebCore::RenderBox::setMarginAfter):
(WebCore::RenderBox::styleDidChange):
(WebCore::RenderBox::perpendicularContainingBlockLogicalHeight):
(WebCore::RenderBox::computeLogicalWidth):
(WebCore::RenderBox::computeLogicalHeight):
(WebCore::RenderBox::availableLogicalHeightUsing):
(WebCore::RenderBox::avoidsFloats):
* rendering/RenderBox.h:
(WebCore::RenderBox::logicalLeft):
(WebCore::RenderBox::logicalTop):
(WebCore::RenderBox::logicalWidth):
(WebCore::RenderBox::logicalHeight):
(WebCore::RenderBox::setLogicalLeft):
(WebCore::RenderBox::setLogicalTop):
(WebCore::RenderBox::setLogicalWidth):
(WebCore::RenderBox::setLogicalHeight):
(WebCore::RenderBox::setLogicalLocation):
(WebCore::RenderBox::contentLogicalWidth):
(WebCore::RenderBox::contentLogicalHeight):
(WebCore::RenderBox::stretchesToViewport):
(WebCore::RenderBox::intrinsicLogicalWidth):
(WebCore::RenderBox::intrinsicLogicalHeight):
(WebCore::RenderBox::availableWidth):
(WebCore::RenderBox::availableHeight):
(WebCore::RenderBox::scrollbarLogicalHeight):
(WebCore::RenderBox::isWritingModeRoot):
* rendering/RenderFieldset.cpp:
(WebCore::RenderFieldset::paintBoxDecorations):
(WebCore::RenderFieldset::paintMask):
* rendering/RenderImage.cpp:
(WebCore::RenderImage::computeReplacedLogicalWidth):
(WebCore::RenderImage::computeReplacedLogicalHeight):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::marginLeft):
(WebCore::RenderInline::marginRight):
(WebCore::RenderInline::marginTop):
(WebCore::RenderInline::marginBottom):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paddingTop):
(WebCore::RenderTableCell::paddingBottom):
(WebCore::RenderTableCell::paddingLeft):
(WebCore::RenderTableCell::paddingRight):
* rendering/RenderView.h:
(WebCore::RenderView::viewLogicalWidth):
(WebCore::RenderView::viewLogicalHeight):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
(WebCore::RenderStyle::logicalWidth):
(WebCore::RenderStyle::logicalHeight):
(WebCore::RenderStyle::logicalMinWidth):
(WebCore::RenderStyle::logicalMaxWidth):
(WebCore::RenderStyle::logicalMinHeight):
(WebCore::RenderStyle::logicalMaxHeight):
(WebCore::RenderStyle::borderBeforeWidth):
(WebCore::RenderStyle::borderAfterWidth):
(WebCore::RenderStyle::borderStartWidth):
(WebCore::RenderStyle::borderEndWidth):
(WebCore::RenderStyle::marginBefore):
(WebCore::RenderStyle::marginAfter):
(WebCore::RenderStyle::marginBeforeUsing):
(WebCore::RenderStyle::marginAfterUsing):
(WebCore::RenderStyle::marginStart):
(WebCore::RenderStyle::marginEnd):
(WebCore::RenderStyle::marginStartUsing):
(WebCore::RenderStyle::marginEndUsing):
(WebCore::RenderStyle::paddingBefore):
(WebCore::RenderStyle::paddingAfter):
(WebCore::RenderStyle::paddingStart):
(WebCore::RenderStyle::paddingEnd):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::setBitDefaults):
(WebCore::InheritedFlags::writingMode):
(WebCore::InheritedFlags::isHorizontalWritingMode):
(WebCore::InheritedFlags::setWritingMode):
(WebCore::InheritedFlags::initialWritingMode):
* rendering/style/RenderStyleConstants.h:
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::initialWritingMode):
(WebCore::SVGRenderStyle::setWritingMode):
(WebCore::SVGRenderStyle::writingMode):
* rendering/style/SVGRenderStyleDefs.h:

LayoutTests:

Also hacked all of the getComputedStyle tests to just omit dashboard regions so that the results can be
cross-platform.

* fast/blockflow/auto-margins-across-boundaries.html:
* fast/blockflow/block-formatting-context.html:
* fast/blockflow/block-level-images.html:
* fast/blockflow/display-mutation.html:
* fast/blockflow/fieldsets.html:
* fast/blockflow/floats-in-block-layout.html:
* fast/blockflow/inline-direction-positioning.html:
* fast/blockflow/margin-collapse.html:
* fast/blockflow/percentage-padding.html:
* fast/blockflow/relative-positioning-percentages.html:
* fast/blockflow/root-lr-basic.html:
* fast/blockflow/self-collapsing-block.html:
* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer.html:
* fast/css/getComputedStyle/computed-style.html:
* fast/css/logical-property-resolution.html:
* platform/mac/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
* platform/mac/svg/css/getComputedStyle-basic-expected.checksum: Removed.
* platform/mac/svg/css/getComputedStyle-basic-expected.png: Removed.
* platform/win/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
* platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Removed.
* svg/css/getComputedStyle-basic-expected.txt:
* svg/css/getComputedStyle-basic.xhtml:

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

10 years ago[chromium] Unreviewed. Build fix.
ajwong@chromium.org [Wed, 6 Oct 2010 18:59:27 +0000 (18:59 +0000)]
[chromium] Unreviewed. Build fix.

Update test expectations for more svg failures, and some new crashes.

* platform/chromium/test_expectations.txt:

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

10 years ago2010-10-06 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Wed, 6 Oct 2010 18:57:19 +0000 (18:57 +0000)]
2010-10-06  Rafael Antognolli  <antognolli@profusion.mobi>

        Unreviewed build fix.

        [EFL] Build fix for glib support.
        https://bugs.webkit.org/show_bug.cgi?id=47221

        If compiling with GLib support enabled, we also need to link wtf against
        glib library.

        * wtf/CMakeListsEfl.txt:

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

10 years ago2010-10-06 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
commit-queue@webkit.org [Wed, 6 Oct 2010 18:53:40 +0000 (18:53 +0000)]
2010-10-06  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>

        Reviewed by Antonio Gomes.

        [Qt] Duplicated code in QWebPagePrivate
        https://bugs.webkit.org/show_bug.cgi?id=47195

        Remove duplicated code from QWebPagePrivate class for QGraphicsView and QWidget's mouse events.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::mouseMoveEvent):
        (QWebPagePrivate::mousePressEvent):
        (QWebPagePrivate::mouseDoubleClickEvent):
        (QWebPagePrivate::mouseTripleClickEvent):
        (QWebPagePrivate::mouseReleaseEvent):
        (QWebPagePrivate::wheelEvent):
        (QWebPagePrivate::dragEnterEvent):
        (QWebPagePrivate::dragLeaveEvent):
        (QWebPagePrivate::dragMoveEvent):
        (QWebPagePrivate::dropEvent):
        * Api/qwebpage_p.h:

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

10 years ago2010-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 6 Oct 2010 18:31:15 +0000 (18:31 +0000)]
2010-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r69201.
        http://trac.webkit.org/changeset/69201
        https://bugs.webkit.org/show_bug.cgi?id=47279

        This change broke the WebKitGTK+ build for GTK+ 2.0.
        (Requested by mrobinson on #webkit).

        * platform/gtk/GtkVersioning.c:
        (getDefaultGDKPointerDevice):
        * platform/gtk/GtkVersioning.h:
        * platform/gtk/PlatformScreenGtk.cpp:
        (WebCore::getVisual):
        (WebCore::screenAvailableRect):
2010-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r69201.
        http://trac.webkit.org/changeset/69201
        https://bugs.webkit.org/show_bug.cgi?id=47279

        This change broke the WebKitGTK+ build for GTK+ 2.0.
        (Requested by mrobinson on #webkit).

        * tests/testcopyandpaste.c:
        (runPasteTestCallback):
        * webkit/webkitwebview.cpp:
        (webkit_web_view_button_press_event):

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

10 years ago2010-10-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Wed, 6 Oct 2010 18:22:29 +0000 (18:22 +0000)]
2010-10-06  Stephen White  <senorblanco@chromium.org>

        Reviewed by James Robinson.
        https://bugs.webkit.org/show_bug.cgi?id=47282

        Robustify the creation of SharedGraphicsContext3D against shader
        compilation failures.

        Covered by any canvas 2D layout test, when opened in chrome with
        --enable-accelerated-2d-canvas --in-process-webgl.

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

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

10 years agoRename toRef/toWK to toAPI/toImpl
andersca@apple.com [Wed, 6 Oct 2010 18:16:32 +0000 (18:16 +0000)]
Rename toRef/toWK to toAPI/toImpl
https://bugs.webkit.org/show_bug.cgi?id=47281

Reviewed by Sam Weinig.

* Shared/API/c/WKArray.cpp:
* Shared/API/c/WKCertificateInfo.cpp:
* Shared/API/c/WKData.cpp:
* Shared/API/c/WKDictionary.cpp:
* Shared/API/c/WKError.cpp:
* Shared/API/c/WKMutableArray.cpp:
* Shared/API/c/WKMutableDictionary.cpp:
* Shared/API/c/WKNumber.cpp:
* Shared/API/c/WKSerializedScriptValue.cpp:
* Shared/API/c/WKSharedAPICast.h:
* Shared/API/c/WKString.cpp:
* Shared/API/c/WKType.cpp:
* Shared/API/c/WKURL.cpp:
* Shared/API/c/WKURLRequest.cpp:
* Shared/API/c/WKURLResponse.cpp:
* Shared/API/c/cf/WKStringCF.cpp:
* Shared/API/c/cf/WKURLCF.cpp:
* Shared/API/c/cf/WKURLRequestCF.cpp:
* Shared/API/c/cf/WKURLResponseCF.cpp:
* Shared/API/c/mac/WKCertificateInfoMac.mm:
* Shared/API/c/mac/WKURLRequestNS.mm:
* Shared/API/c/mac/WKURLResponseNS.mm:
* Shared/API/c/win/WKCertificateInfoWin.cpp:
* UIProcess/API/C/WKAPICast.h:
* UIProcess/API/C/WKBackForwardList.cpp:
* UIProcess/API/C/WKBackForwardListItem.cpp:
* UIProcess/API/C/WKContext.cpp:
* UIProcess/API/C/WKFormSubmissionListener.cpp:
* UIProcess/API/C/WKFrame.cpp:
* UIProcess/API/C/WKFramePolicyListener.cpp:
* UIProcess/API/C/WKNavigationData.cpp:
* UIProcess/API/C/WKPage.cpp:
* UIProcess/API/C/WKPageNamespace.cpp:
* UIProcess/API/C/WKPreferences.cpp:
* UIProcess/API/C/WKPreferencesPrivate.cpp:
* UIProcess/API/C/win/WKContextWin.cpp:
* UIProcess/API/C/win/WKView.cpp:
* UIProcess/API/cpp/qt/WKStringQt.cpp:
* UIProcess/API/cpp/qt/WKURLQt.cpp:
* UIProcess/API/mac/PageClientImpl.mm:
* UIProcess/API/mac/WKView.mm:
* UIProcess/API/qt/ClientImpl.cpp:
* UIProcess/API/qt/qwkpage.cpp:
* UIProcess/GenericCallback.h:
* UIProcess/WebContextInjectedBundleClient.cpp:
* UIProcess/WebFormClient.cpp:
* UIProcess/WebHistoryClient.cpp:
* UIProcess/WebLoaderClient.cpp:
* UIProcess/WebPolicyClient.cpp:
* UIProcess/WebUIClient.cpp:
* UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:
* UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm:
* UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp:
* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp:
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
* WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
* WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp:
* WebProcess/InjectedBundle/win/InjectedBundleWin.cpp:

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

10 years ago[chromium] Unreviewed. Build fix.
ajwong@chromium.org [Wed, 6 Oct 2010 18:14:03 +0000 (18:14 +0000)]
[chromium] Unreviewed. Build fix.

Change svg test expectations after r69181

* platform/chromium/test_expectations.txt:

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

10 years ago2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 6 Oct 2010 17:36:17 +0000 (17:36 +0000)]
2010-10-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        Fixed incorrect baseline for svg/custom/use-invalid-style.svg

        * platform/mac-leopard/svg/custom/use-invalid-style-expected.txt: Copied from svg/custom/use-invalid-style-expected.txt.
        * platform/mac/svg/custom/use-invalid-style-expected.txt: Added.
        * svg/custom/use-invalid-style-expected.txt: Removed.

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

10 years ago2010-10-06 Luiz Agostini <luiz.agostini@openbossa.org>
commit-queue@webkit.org [Wed, 6 Oct 2010 17:34:24 +0000 (17:34 +0000)]
2010-10-06  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
        https://bugs.webkit.org/show_bug.cgi?id=47268

        Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes

        * dom/ViewportArguments.cpp:
        (WebCore::findConfigurationForViewportData):
        * dom/ViewportArguments.h:
2010-10-06  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
        https://bugs.webkit.org/show_bug.cgi?id=47268

        Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes

        * Api/qwebpage.cpp:
        (QWebPage::viewportConfigurationForSize):
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::viewportAsText):
2010-10-06  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
        https://bugs.webkit.org/show_bug.cgi?id=47268

        Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPage::viewportConfigurationForSize):

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

10 years agoGenerate the messages sent to the WebPageProxy
weinig@apple.com [Wed, 6 Oct 2010 17:31:40 +0000 (17:31 +0000)]
Generate the messages sent to the WebPageProxy
https://bugs.webkit.org/show_bug.cgi?id=47239

Reviewed by Adam Roben.

* Platform/CoreIPC/Arguments.h:
Add additional typedefs.

* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::handleMessage):
Add more handleMessage implementations.

* Scripts/webkit2/messages.py:
* Scripts/webkit2/messages_unittest.py:
Add headers for reply argument types.

* Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Removed.

* Shared/StringPairVector.h: Added.
This file is a hack to work around a deficiency in the generator
which can't deal with class templates with more than one argument.

* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:
* UIProcess/API/qt/qwkpage.cpp:
* UIProcess/API/qt/qwkpage_p.h:
* UIProcess/PageClient.h:
* UIProcess/WebEditCommandProxy.cpp:
* UIProcess/WebFormClient.cpp:
* UIProcess/WebFormClient.h:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebPage/WebBackForwardListProxy.cpp:
* WebProcess/WebPage/WebPage.cpp:
Migrate to generated calls.

* UIProcess/WebPageProxy.messages.in: Added.
New messages definitions file.

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

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

10 years ago2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 6 Oct 2010 17:27:36 +0000 (17:27 +0000)]
2010-10-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        Rubber stamped by Dirk Schulze.

        Generate SVG pixel test baseline for Snow Leopard (placed in platform/mac/svg) in svg/custom.

        * platform/mac-leopard/svg/custom/SVGMatrix-interface-expected.checksum: Added.
        * platform/mac-leopard/svg/custom/SVGMatrix-interface-expected.png: Added.
...

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

10 years ago2010-10-05 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Wed, 6 Oct 2010 17:13:16 +0000 (17:13 +0000)]
2010-10-05  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Nate Chapin.

        [Chromium] WebIDBKeyRange should handle null left/right pointers
        https://bugs.webkit.org/show_bug.cgi?id=47247

        * src/WebIDBKeyRange.cpp:
        (WebKit::WebIDBKeyRange::assign):
        (WebKit::WebIDBKeyRange::left):
        (WebKit::WebIDBKeyRange::right):
        (WebKit::WebIDBKeyRange::flags):

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

10 years ago2010-10-06 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 6 Oct 2010 17:10:05 +0000 (17:10 +0000)]
2010-10-06  Tony Chang  <tony@chromium.org>

        Unreviewed, rolling out r69202.
        http://trac.webkit.org/changeset/69202
        https://bugs.webkit.org/show_bug.cgi?id=46937

        Broke compile of test_shell

        * DEPS:
        * public/WebDragData.h:
        * src/WebDragData.cpp:
        (WebKit::WebDragData::hasFileNames):
        (WebKit::WebDragData::fileNames):
        (WebKit::WebDragData::setFileNames):
        (WebKit::WebDragData::appendToFileNames):
        (WebKit::WebDragData::fileContentFileName):
        (WebKit::WebDragData::setFileContentFileName):
2010-10-06  Tony Chang  <tony@chromium.org>

        Unreviewed, rolling out r69202.
        http://trac.webkit.org/changeset/69202
        https://bugs.webkit.org/show_bug.cgi?id=46937

        Broke compile of test_shell

        * DumpRenderTree/chromium/EventSender.cpp:
        (EventSender::beginDragWithFiles):
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (addDRTFakeFileToDataObject):

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

10 years ago2010-10-06 Renata Hodovan <reni@inf.u-szeged.hu>
commit-queue@webkit.org [Wed, 6 Oct 2010 17:09:48 +0000 (17:09 +0000)]
2010-10-06  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Nikolas Zimmermann.

        SVGFEMergeNodeElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=47181

        Adding layout tests for feMergeNode dynamic changes.

        * platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png: Added.
        * svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr.html: Added.
        * svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop.html: Added.
        * svg/dynamic-updates/script-tests/SVGFEMergeNodeElement-dom-in-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEMergeNodeElement-svgdom-in-prop.js: Added.
        (executeTest):
2010-10-06  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Nikolas Zimmermann.

        SVGFEMergeNodeElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=47181

        Since feMergeNode doesn't have own renderer, we have to call the invalidation via its parent.

        Tests: svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr.html
               svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop.html

        * svg/SVGFEMergeNodeElement.cpp:
        (WebCore::SVGFEMergeNodeElement::svgAttributeChanged):
        * svg/SVGFEMergeNodeElement.h:

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

10 years ago2010-10-06 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Wed, 6 Oct 2010 17:04:39 +0000 (17:04 +0000)]
2010-10-06  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Remove unused code from gtk2drawing.c
        https://bugs.webkit.org/show_bug.cgi?id=47086

        gtk2drawing.c was copied from mozilla and contains a lot of code that is not
        used by WebKit. Most of that unused code is uncompatible with gtk3, so
        removing it will make easier porting to gtk3.

        * platform/gtk/gtk2drawing.c:
        (moz_gtk_get_widget_border):
        (moz_gtk_widget_paint):
        (moz_gtk_destroy_theme_parts_widgets):
        * platform/gtk/gtkdrawing.h:

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

10 years ago2010-10-06 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Wed, 6 Oct 2010 16:52:44 +0000 (16:52 +0000)]
2010-10-06  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Use pixbufs instead of pixmaps when creating platform cursors
        https://bugs.webkit.org/show_bug.cgi?id=47087

        gdk_cursor_new_from_pixmap() has been removed in gtk3. We can use a
        pixbuf instead of a pixman and use gdk_cursor_new_from_pixbuf() instead
        for both gtk2 and gtk3.

        * platform/gtk/CursorGtk.cpp:
        (WebCore::createNamedCursor):
        * platform/gtk/GtkVersioning.c:
        (gdk_cairo_format_for_content):
        (gdk_cairo_surface_coerce_to_image):
        (convert_alpha):
        (convert_no_alpha):
        (gdk_pixbuf_get_from_surface):
        * platform/gtk/GtkVersioning.h:

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

10 years ago2010-10-06 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 6 Oct 2010 16:48:24 +0000 (16:48 +0000)]
2010-10-06  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add event listener breakpoints sidebar pane
        https://bugs.webkit.org/show_bug.cgi?id=46738

        * inspector/front-end/BreakpointManager.js:
        (WebInspector.BreakpointManager.prototype.createEventListenerBreakpoint):
        (WebInspector.BreakpointManager.prototype.createXHRBreakpoint.breakpoint.compareTo):
        (WebInspector.BreakpointManager.prototype.createXHRBreakpoint):
        (WebInspector.NativeBreakpoint):
        (WebInspector.NativeBreakpoint.prototype._setOnBackend.didSet):
        (WebInspector.NativeBreakpoint.prototype._setOnBackend):
        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.XHRBreakpointsSidebarPane.prototype._showEditBreakpointDialog):
        (WebInspector.BreakpointItem):
        (WebInspector.EventListenerBreakpointsSidebarPane):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._populate):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._createCheckbox):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._categoryCheckboxClicked):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._eventNameCheckboxClicked):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointEnableChanged):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._updateCategoryCheckbox):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype.reset):
        * inspector/front-end/EventListenersSidebarPane.js:
        ():
        * inspector/front-end/PropertiesSection.js:
        (WebInspector.PropertiesSection):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype.reset):
        * inspector/front-end/inspector.css:
        (.section .properties, .event-bar .event-properties):
        (.section.expanded .properties, .event-bar.expanded .event-properties):
        (ol.properties-tree):
        (ol.properties-tree li):
        (ol.properties-tree li.parent):
        (ol.properties-tree li.parent::before):
        (ol.properties-tree li.parent.expanded::before):
        (ol.properties-tree li .info):
        (ol.properties-tree ol, .stack-trace ol, ol.stack-trace):
        (ol.properties-tree ol.expanded, .stack-trace ol, ol.stack-trace):
        (ol.stack-trace):
        (.event-listener-breakpoints .event-category):
        (ol.event-listener-breakpoints.properties-tree .children li):
        (.event-listener-breakpoints .checkbox-elem):
        * inspector/front-end/inspector.js:
        (WebInspector.createXHRBreakpointsSidebarPane.breakpointAdded):
        (WebInspector.createXHRBreakpointsSidebarPane):

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

10 years ago2010-10-06 Daniel Cheng <dcheng@chromium.org>
tony@chromium.org [Wed, 6 Oct 2010 16:45:56 +0000 (16:45 +0000)]
2010-10-06  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Minor naming cleanup in WebDragData, part 2
        https://bugs.webkit.org/show_bug.cgi?id=46937

        Chromium no longer uses the deprecated methods, so delete them.

        * DEPS:
        * public/WebDragData.h:
        * src/WebDragData.cpp:
2010-10-06  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Minor naming cleanup in WebDragData, part 2
        https://bugs.webkit.org/show_bug.cgi?id=46937

        Update DRT to use the renamed methods.

        * DumpRenderTree/chromium/EventSender.cpp:
        (EventSender::beginDragWithFiles):
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (addDRTFakeFileToDataObject):

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