WebKit-https.git
10 years ago Rubber-stamped by Adam Roben.
adachan@apple.com [Thu, 14 Oct 2010 19:47:32 +0000 (19:47 +0000)]
    Rubber-stamped by Adam Roben.

        Fix Windows build.

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

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

10 years ago2010-10-14 Joone Hur <joone@kldp.org>
commit-queue@webkit.org [Thu, 14 Oct 2010 19:40:54 +0000 (19:40 +0000)]
2010-10-14  Joone Hur  <joone@kldp.org>

        Reviewed by Andreas Kling.

        [GTK] google.co.kr was missed when checking Google domains
        https://bugs.webkit.org/show_bug.cgi?id=47652

        WebKitGtk+ maintains a list of Google domains for working well with Google sites.
        Add google.co.kr also to the list to be checked with other Google domains.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::initializeDomainsList): Added google.co.kr.

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

10 years ago2010-10-14 Robert Hogan <robert@webkit.org>
robert@webkit.org [Thu, 14 Oct 2010 19:38:24 +0000 (19:38 +0000)]
2010-10-14  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Fix http/tests/misc/redirect-to-external-url.html

        Support the test in FrameLoaderClientQt and unskip.

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

        * platform/qt/Skipped:
2010-10-14  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Fix http/tests/misc/redirect-to-external-url.html

        Support the test in FrameLoaderClientQt and unskip.

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

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::canHandleRequest):
        (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):

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

10 years ago2010-10-14 Xan Lopez <xlopez@igalia.com>
commit-queue@webkit.org [Thu, 14 Oct 2010 19:29:25 +0000 (19:29 +0000)]
2010-10-14  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Small cleanup in PluginViewGtk
        https://bugs.webkit.org/show_bug.cgi?id=47588

        Remove some dead code and use PlatformRefPtr for cairo surfaces.

        No new tests, only refactoring.

        * plugins/gtk/PluginViewGtk.cpp:
        (WebCore::PluginView::paint):

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

10 years ago2010-10-14 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Thu, 14 Oct 2010 19:23:10 +0000 (19:23 +0000)]
2010-10-14  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Eric Seidel.

        [EFL] Use data_set after data_get to keep refcount correct.
        https://bugs.webkit.org/show_bug.cgi?id=47110

        The call to evas_object_image_data_set was missed in this function,
        which caused the refcount of the data being always increased on every
        scroll.

        * ewk/ewk_view_single.c:
        (_ewk_view_single_smart_scrolls_process):

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

10 years ago2010-10-14 Dawit Alemayehu <adawit@kde.org>
commit-queue@webkit.org [Thu, 14 Oct 2010 19:22:38 +0000 (19:22 +0000)]
2010-10-14  Dawit Alemayehu  <adawit@kde.org>

        Reviewed by Andreas Kling.

        Fix compile error when bulding webkit's Qt port using the "--v8" option.
        https://bugs.webkit.org/show_bug.cgi?id=47455

        * platform/qt/PlatformBridge.h:

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

10 years agoMake sure WebKit2 only loads each plugin once
aroben@apple.com [Thu, 14 Oct 2010 19:22:27 +0000 (19:22 +0000)]
Make sure WebKit2 only loads each plugin once

Fixes <http://webkit.org/b/47677> <rdar://problem/8552178> WebKit2 can
load the same plugin multiple times

Reviewed by Sam Weinig.

* UIProcess/Plugins/PluginInfoStore.cpp:
(WebKit::addFromVector): Helper function that adds all the elements
from a Vector to a HashSet.
(WebKit::PluginInfoStore::loadPluginsIfNecessary): Put all the plugin
paths into a HashSet, then load the plugins specified in the HashSet.
On Windows, the HashSet is case-insensitive, just like the file
system.

* UIProcess/Plugins/PluginInfoStore.h: Removed loadPluginsInDirectory,
which is no longer used.

* UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
(WebKit::addPluginPathsFromRegistry):
(WebKit::PluginInfoStore::individualPluginPaths):
Changed to store the paths in a Vector instead of a HashSet now that
loadPluginsIfNecessary will handle duplicates for us.

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

10 years agoLoad plugins that are specified in the MozillaPlugins registry key
aroben@apple.com [Thu, 14 Oct 2010 19:22:08 +0000 (19:22 +0000)]
Load plugins that are specified in the MozillaPlugins registry key

Fixes <http://webkit.org/b/44271> <rdar://problem/8329750> WebKit2
should load plugins specified in the MozillaPlugins registry key (like
old WebKit does)

I couldn't think of a good way to test this.

Reviewed by Steve Falkenburg.

* UIProcess/Plugins/PluginInfoStore.cpp:
(WebKit::PluginInfoStore::loadPluginsIfNecessary): Also load plugins
specified by individualPluginPaths.

* UIProcess/Plugins/PluginInfoStore.h: Added individualPluginPaths and
some comments.

* UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
(WebKit::PluginInfoStore::individualPluginPaths):
* UIProcess/Plugins/qt/PluginInfoStoreQt.cpp:
(WebKit::PluginInfoStore::individualPluginPaths):
Stubbed out.

* UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
(WebKit::addPluginPathsFromRegistry):
(WebKit::PluginInfoStore::individualPluginPaths):
Ported this code from WebCore's PluginDatabaseWin.cpp. I slightly
cleaned it up and changed it to use a case-insensitive hash, since
paths on Windows are case-insensitive.

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

10 years agoCall ::DefWindowProcW for unhandled key events
aroben@apple.com [Thu, 14 Oct 2010 19:21:32 +0000 (19:21 +0000)]
Call ::DefWindowProcW for unhandled key events

::DefWindowProcW does important things for at least some key events
(e.g., it generates a WM_SYSCOMMAND message when the Alt key is
released), so we need to make sure to call it when we don't handle key
events.

Fixes <http://webkit.org/b/47671> <rdar://problem/8435594> Pressing
the Alt key when MiniBrowser's WKView is focused doesn't send focus to
the menu bar

Reviewed by Steve Falkenburg.

WebKit2:

* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::didNotHandleKeyEvent):
* UIProcess/API/qt/qwkpage.cpp:
(QWKPagePrivate::didNotHandleKeyEvent):
* UIProcess/API/qt/qwkpage_p.h:
Stubbed out didNotHandleKeyEvent.

* UIProcess/PageClient.h: Added didNotHandleKeyEvent.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveEvent): Tell the PageClient about the
unhandled event.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onKeyEvent): Added a comment.
(WebKit::WebView::didNotHandleKeyEvent): Pass the event to
::DefWindowProcW.

* UIProcess/win/WebView.h: Added didNotHandleKeyEvent.

WebKitTools:

Test that pressing the Alt key generates a WM_SYSCOMMAND message

* TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops: Added
TestWebKitAPI/win to the include path so that WindowMessageObserver
can be found.

* TestWebKitAPI/PlatformWebView.h: Added simulateAltKeyPress and
Windows-specific members.
(TestWebKitAPI::PlatformWebView::setParentWindowMessageObserver):
Added this simple setter.

* TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp: Added.
(TestWebKitAPI::WMSysCommandObserver::WMSysCommandObserver):
Initialize our lone data member.
(TestWebKitAPI::WMSysCommandObserver::windowDidReceiveWMSysCommand):
Simple getter.
(TestWebKitAPI::WMSysCommandObserver::windowReceivedMessage): Record
when a WM_SYSCOMMAND message is received.
(TestWebKitAPI::didNotHandleKeyEventCallback): Record when a
WM_SYSKEYUP message is not handled.
(TestWebKitAPI::WebKit2_AltKeyGeneratesWMSysCommand): Simulate
pressing the Alt key and check that a WM_SYSCOMMAND message got sent
to the WKView's parent window.

* TestWebKitAPI/win/PlatformWebViewWin.cpp:
(TestWebKitAPI::PlatformWebView::registerWindowClass): Made this a
member function so it could access PlatformWebView::wndProc. Use
PlatformWebView::wndProc as the WNDPROC.
(TestWebKitAPI::PlatformWebView::PlatformWebView): Initialize our new
data member and pass the this pointer to CreateWindowEx so we can
store it on the HWND.
(TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress): Moved some
constants from here to the top of the file.
(TestWebKitAPI::PlatformWebView::simulateAltKeyPress): Added. Sends
the same messages that Notepad receives when you press the Alt key.
(TestWebKitAPI::PlatformWebView::wndProc): Added.
  - When WM_CREATE is received, we set the PlatformWebView instance
    pointer as a property on the HWND so we can access it later.
  - For other messages, we try to get the PlatformWebView instance
    pointer from the HWND property.
  - When WM_NCDESTROY is received (which is the last message we will
    receive), we remove the PlatformWebView instance property.
  - Pass messages to the parent window's message observer, if there is
    one.
  - Pass all messages through to ::DefWindowProcW.

* TestWebKitAPI/win/TestWebKitAPI.vcproj: Added WindowMessageObserver
and AltKeyGeneratesWMSysCommand.

* TestWebKitAPI/win/WindowMessageObserver.h: Added. This class can be
used to observe messages sent to one or more windows.

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

10 years agoneed way to measure size of JITed ARM code
ggaren@apple.com [Thu, 14 Oct 2010 19:19:17 +0000 (19:19 +0000)]
need way to measure size of JITed ARM code
https://bugs.webkit.org/show_bug.cgi?id=47121

Patch by David Goodwin <david_goodwin@apple.com> on 2010-10-14
Reviewed by Darin Adler.

* assembler/LinkBuffer.h:
(JSC::LinkBuffer::linkCode):
(JSC::LinkBuffer::dumpLinkStats):
(JSC::LinkBuffer::dumpCode):

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

10 years ago2010-10-01 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 14 Oct 2010 18:52:52 +0000 (18:52 +0000)]
2010-10-01  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Holger Freyther.

        [GTK] REGRESSION: FreeType backend does not respect XSettings font settings after r68558
        https://bugs.webkit.org/show_bug.cgi?id=47033

        Added a platform-specific test which verifies that if XSettings
        specifies subpixel aliasing, it is the default rendering style.

        * platform/gtk/fonts/xsettings_antialias_settings-expected.checksum: Added.
        * platform/gtk/fonts/xsettings_antialias_settings-expected.png: Added.
        * platform/gtk/fonts/xsettings_antialias_settings-expected.txt: Added.
        * platform/gtk/fonts/xsettings_antialias_settings.html: Added.
2010-10-01  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Holger Freyther.

        [GTK] REGRESSION: FreeType backend does not respect XSettings font settings after r68558
        https://bugs.webkit.org/show_bug.cgi?id=47033

        Fix logic that merges XSettings defaults and FontConfig settings. If
        FontConfig or XSettings specifies a subpixel order, we force subpixel
        anti-aliasing on. If anti-aliasing is turned on explicitly, only
        override the setting if it was previously off, otherwise we ignore
        the user's preference for subpixel or gray antialiasing.

        Test: platform/gtk/fonts/xsettings_antialias_settings.html

        * platform/graphics/cairo/FontPlatformDataFreeType.cpp:
        (WebCore::setCairoFontOptionsFromFontConfigPattern): Fix merging of XSettings
        and FontConfig anti-aliasing settings.
        (WebCore::getDefaultFontOptions): Added this helper.
        (WebCore::FontPlatformData::FontPlatformData): Use the getDefaultFontOptions helper.
2010-10-01  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Holger Freyther.

        [GTK] REGRESSION: FreeType backend does not respect XSettings font settings after r68558
        https://bugs.webkit.org/show_bug.cgi?id=47033

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (initializeGtkFontSettings): Added this method which initializes XSettings
        font settings to consistent values before running a test. For the one test
        in which we need subpixel aliasing turned on, do that.
        (initializeFonts): Accepts a testURL parameter now and delegates to initializeGtkFontSettings.
        (runTest): Pass the testURL to initializeFonts.

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

10 years ago2010-10-14 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 14 Oct 2010 18:50:55 +0000 (18:50 +0000)]
2010-10-14  Nate Chapin  <japhet@chromium.org>

        Unreviewed, test tweaks.

        Add Chromium win/linux results for http://trac.webkit.org/changeset/69774.

        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.png: Added.

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

10 years ago Reviewed by Steve Falkenburg.
adachan@apple.com [Thu, 14 Oct 2010 18:45:16 +0000 (18:45 +0000)]
    Reviewed by Steve Falkenburg.

        Add wkGetSSLCertificateChainContext for fetching the certificate chain.
        Needed for https://bugs.webkit.org/show_bug.cgi?id=47603.

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

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

10 years ago2010-10-14 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Thu, 14 Oct 2010 18:36:47 +0000 (18:36 +0000)]
2010-10-14  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Eric Seidel.

        [EFL] Add setting api for enabling encoding detector
        https://bugs.webkit.org/show_bug.cgi?id=45427

        Add settings api for enabling encoding detector.

        * ewk/ewk_view.cpp:
        (_ewk_view_priv_new):
        (ewk_view_setting_encoding_detector_set):
        (ewk_view_setting_encoding_detector_get):
        * ewk/ewk_view.h:

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

10 years agoSupport typed arrays in workers
jianli@chromium.org [Thu, 14 Oct 2010 18:30:00 +0000 (18:30 +0000)]
Support typed arrays in workers
https://bugs.webkit.org/show_bug.cgi?id=47616

Reviewed by David Levin.

To support typed arrays in workers, we need to expose constructors in
WorkerContext and add NoStaticTables attribute.

I also add File API feature guard to the constructors defined in
DOMWindow.

* bindings/js/JSDOMWindowCustom.cpp: Add File API feature guard to the
constructors defined in DOMWindow.
* html/canvas/ArrayBuffer.idl: Add NoStaticTables attribute.
* html/canvas/ArrayBufferView.idl: Add NoStaticTables attribute.
* html/canvas/Float32Array.idl: Add NoStaticTables attribute.
* html/canvas/Int16Array.idl: Add NoStaticTables attribute.
* html/canvas/Int32Array.idl: Add NoStaticTables attribute.
* html/canvas/Int8Array.idl: Add NoStaticTables attribute.
* html/canvas/Uint16Array.idl: Add NoStaticTables attribute.
* html/canvas/Uint32Array.idl: Add NoStaticTables attribute.
* html/canvas/Uint8Array.idl: Add NoStaticTables attribute.
* page/DOMWindow.idl: Add File API feature guard to the constructors
defined in DOMWindow.
* workers/WorkerContext.idl: Expose type array constructors.

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

10 years ago2010-10-14 Peter Varga <pvarga@inf.u-szeged.hu>
commit-queue@webkit.org [Thu, 14 Oct 2010 18:00:55 +0000 (18:00 +0000)]
2010-10-14  Peter Varga  <pvarga@inf.u-szeged.hu>

        Reviewed by Gavin Barraclough.

        The backreference checking isn't working in some cases with YARR Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=46904

        The Interpreter::matchBackReference() function returns true without matching
        when a backreference points to the same parentheses where it is.

        * yarr/RegexInterpreter.cpp:
        (JSC::Yarr::Interpreter::matchBackReference):

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

10 years agoAdd baselines and pixel results for some new tests.
mrobinson@webkit.org [Thu, 14 Oct 2010 17:47:28 +0000 (17:47 +0000)]
Add baselines and pixel results for some new tests.

* platform/gtk/fast/forms/textfield-focus-ring-expected.checksum: Added.
* platform/gtk/fast/forms/textfield-focus-ring-expected.png: Added.
* platform/gtk/fast/forms/textfield-focus-ring-expected.txt: Added.
* platform/gtk/fast/images/imagemap-focus-ring-expected.checksum: Added.
* platform/gtk/fast/images/imagemap-focus-ring-expected.png: Added.
* platform/gtk/fast/images/imagemap-focus-ring-expected.txt: Added.
* platform/gtk/fast/inline/inline-focus-ring-expected.checksum: Added.
* platform/gtk/fast/inline/inline-focus-ring-expected.png: Added.
* platform/gtk/fast/inline/inline-focus-ring-expected.txt: Added.

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

10 years ago2010-10-14 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 14 Oct 2010 17:45:51 +0000 (17:45 +0000)]
2010-10-14  Andreas Kling  <kling@webkit.org>

        Reviewed by Ariya Hidayat.

        [Qt] Avoid creating empty transparency layers in ImageBuffer::clip()

        We were creating empty layers for sub-1 height/width clips due to
        using IntRect(FloatRect) instead of enclosingIntRect().
        This lead to a bunch of QPainter warnings on the console since you
        can't draw on an empty QPixmap.

        * platform/graphics/qt/ImageBufferQt.cpp:
        (WebCore::ImageBuffer::clip):

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

10 years ago2010-10-14 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 14 Oct 2010 17:31:47 +0000 (17:31 +0000)]
2010-10-14  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium test fix.

        Expected results for tests added in http://trac.webkit.org/changeset/69766.

        * platform/chromium-linux/fast/forms/textfield-focus-ring-expected.checksum: Added.
        * platform/chromium-linux/fast/forms/textfield-focus-ring-expected.png: Added.
        * platform/chromium-linux/fast/images/imagemap-focus-ring-expected.checksum: Added.
        * platform/chromium-linux/fast/images/imagemap-focus-ring-expected.png: Added.
        * platform/chromium-linux/fast/inline/inline-focus-ring-expected.checksum: Added.
        * platform/chromium-linux/fast/inline/inline-focus-ring-expected.png: Added.
        * platform/chromium-mac/fast/forms/textfield-focus-ring-expected.checksum: Added.
        * platform/chromium-mac/fast/images/imagemap-focus-ring-expected.checksum: Added.
        * platform/chromium-mac/fast/inline/inline-focus-ring-expected.checksum: Added.
        * platform/chromium-win/fast/forms/textfield-focus-ring-expected.checksum: Added.
        * platform/chromium-win/fast/forms/textfield-focus-ring-expected.png: Added.
        * platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt: Added.
        * platform/chromium-win/fast/images/imagemap-focus-ring-expected.checksum: Added.
        * platform/chromium-win/fast/images/imagemap-focus-ring-expected.png: Added.
        * platform/chromium-win/fast/images/imagemap-focus-ring-expected.txt: Added.
        * platform/chromium-win/fast/inline/inline-focus-ring-expected.checksum: Added.
        * platform/chromium-win/fast/inline/inline-focus-ring-expected.png: Added.
        * platform/chromium-win/fast/inline/inline-focus-ring-expected.txt: Added.

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

10 years ago2010-10-14 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Thu, 14 Oct 2010 17:31:13 +0000 (17:31 +0000)]
2010-10-14  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        Allow rendering of accelerated-compositing with TextureMapper, inside a QWebFrame. The frame will render the regular content,
        either normally or through tiled backingstore, then let the TextureMapper layer render itself to the active context, and
        then render the scrollbar and pan icon. This is different from the current implementation, which uses additional QGraphicsItems for AC
        and the scrollbar overlay.

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebView::paint):
        * Api/qwebframe.cpp:
        (QWebFramePrivate::renderFromTiledBackingStore):
        (QWebFramePrivate::renderRelativeCoords):

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

10 years ago[cairo] Typo in determining fixed width fonts
zecke@webkit.org [Thu, 14 Oct 2010 17:23:55 +0000 (17:23 +0000)]
[cairo] Typo in determining fixed width fonts
https://bugs.webkit.org/show_bug.cgi?id=47470

It must be a single ampersand otherwise the
&& FT_FACE_FLAG_FIXED_WIDTH will always be true.

* platform/graphics/cairo/FontPlatformDataFreeType.cpp:
(WebCore::FontPlatformData::FontPlatformData):

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

10 years ago2010-10-14 Sergio Villar Senin <svillar@igalia.com>
commit-queue@webkit.org [Thu, 14 Oct 2010 17:13:59 +0000 (17:13 +0000)]
2010-10-14  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Failing test LayoutTests/editing/undo/orphaned-selection-crash-bug32823-2.html
        https://bugs.webkit.org/show_bug.cgi?id=47666

        Do a less strict decoding of base64 data url's as it was done
        before. The actual problem is most likely
        https://bugs.webkit.org/show_bug.cgi?id=47661 tough.

        * platform/network/soup/cache/soup-request-data.c:
        (webkit_soup_request_data_send):

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

10 years ago2010-10-14 Renata Hodovan <reni@inf.u-szeged.hu>
commit-queue@webkit.org [Thu, 14 Oct 2010 17:12:38 +0000 (17:12 +0000)]
2010-10-14  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Andreas Kling.

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

        Adding layout tests for feConvolveMatrix dynamic DOM changes. SVGDOM tests cases will be in the following patch because of patch-size limitation (2M in bugzilla).

        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.png: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr.html: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr.html: Added.
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-bias-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-divisor-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-edgeMode-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-in-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-order-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-targetX-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-targetY-attr.js: Added.
        (executeTest):
2010-10-14  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Andreas Kling.

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

        The dynamic changes are captured by the svgAttributeChange function, and invalidate the filter primitive if necessary.
        The patch also implements the simple setOrder and setKernelUnitLength methods.

        Tests: svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr.html
               svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr.html

        * svg/SVGFEConvolveMatrixElement.cpp:
        (WebCore::SVGFEConvolveMatrixElement::setOrder):
        (WebCore::SVGFEConvolveMatrixElement::setKernelUnitLength):
        (WebCore::SVGFEConvolveMatrixElement::svgAttributeChanged):
        * svg/SVGFEConvolveMatrixElement.h:

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

10 years ago2010-10-14 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Thu, 14 Oct 2010 16:57:00 +0000 (16:57 +0000)]
2010-10-14  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Text breaking is slow: enable ICU as an opt-in
        https://bugs.webkit.org/show_bug.cgi?id=40332

        Added a config flag that enables ICU as an opt-in instead of the Qt specific code.
        Because of the inclusion of ICU headers, some explicit casting was necessary in UnicodeQt4.h

        * JavaScriptCore.pri:
        * wtf/unicode/qt4/UnicodeQt4.h:
        (WTF::Unicode::toLower):
        (WTF::Unicode::toUpper):
        (WTF::Unicode::toTitleCase):
        (WTF::Unicode::foldCase):
        (WTF::Unicode::isPrintableChar):
        (WTF::Unicode::isSeparatorSpace):
        (WTF::Unicode::isPunct):
        (WTF::Unicode::isLower):
        (WTF::Unicode::mirroredChar):
        (WTF::Unicode::combiningClass):
        (WTF::Unicode::direction):
        (WTF::Unicode::category):
2010-10-14  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Text breaking is slow: enable ICU as an opt-in
        https://bugs.webkit.org/show_bug.cgi?id=40332

        Added a config flag that enables ICU as an opt-in instead of the Qt specific code.

        No new tests, this should be covered by existing tests.

        * WebCore.pro:
        * platform/text/qt/TextBreakIteratorQt.cpp:
        (WebCore::currentTextBreakLocaleID):

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

10 years ago2010-10-14 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Thu, 14 Oct 2010 16:52:57 +0000 (16:52 +0000)]
2010-10-14  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        This patch enables compilation of TextureMapper with Media. It has an initial non-working implementation of a video layer, to be integrated
        once other parts of TextureMapper are fully working.

        No new tests: this is new implementation that's not enabled yet.

        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
        (WebCore::TextureMapperVideoLayerQt::TextureMapperVideoLayerQt):
        (WebCore::TextureMapperVideoLayerQt::setPlatformLayerClient):
        (WebCore::TextureMapperVideoLayerQt::paint):
        (WebCore::TextureMapperVideoLayerQt::size):
        (WebCore::MediaPlayerPrivateQt::acceleratedRenderingStateChanged):
        (WebCore::MediaPlayerPrivateQt::platformLayer):
        * platform/graphics/qt/MediaPlayerPrivateQt.h:
        (WebCore::MediaPlayerPrivateQt::supportsAcceleratedRendering):
        (WebCore::MediaPlayerPrivateQt::acceleratedRenderingStateChanged):
        (WebCore::MediaPlayerPrivateQt::platformLayer):

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

10 years ago2010-10-14 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 14 Oct 2010 16:40:59 +0000 (16:40 +0000)]
2010-10-14  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium expectations update.

        * platform/chromium/test_expectations.txt:

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

10 years ago2010-10-14 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 14 Oct 2010 16:40:08 +0000 (16:40 +0000)]
2010-10-14  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        ChromiumXVFBPort.run_webkit_tests_command has infinite recursion
        https://bugs.webkit.org/show_bug.cgi?id=47655

        * Scripts/webkitpy/common/config/ports.py:
        * Scripts/webkitpy/common/config/ports_unittest.py:

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

10 years ago2010-10-14 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 14 Oct 2010 16:18:31 +0000 (16:18 +0000)]
2010-10-14  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Update expectations for some inspector tests.

        * inspector/debugger-pause-in-eval-script-expected.txt:
        * inspector/extensions-events-expected.txt:

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

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

        Reviewed by Martin Robinson.

        Fixed crashes in the GTK 64bits bot, we have to use NULL instead
        of 0 when calling these glib APIs, 0 is compiled as a char and in
        64bits systems it is not correct.

        * platform/network/soup/cache/soup-requester.c:
        (webkit_soup_requester_new):
        (webkit_soup_requester_request_uri):

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

10 years ago2010-10-14 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Thu, 14 Oct 2010 16:00:52 +0000 (16:00 +0000)]
2010-10-14  Daniel Bates  <dbates@rim.com>

        Attempt to fix the Qt and GTK builds based on the build bot results from <http://webkit.sed.hu>.

        * rendering/RenderInline.cpp: Include header "RenderTheme.h"

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

10 years ago2010-10-14 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Thu, 14 Oct 2010 15:40:46 +0000 (15:40 +0000)]
2010-10-14  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Only draw focus ring in RenderInline and RenderImage if the theme
        is not able to draw a focus ring
        https://bugs.webkit.org/show_bug.cgi?id=47632

        Fixes an issue where RenderInline::paintOutline() and RenderImage::paintFocusRings()
        would draw a focus ring regardless of whether the port-specific theme is able to
        draw a focus ring. Instead, these methods should only draw a focus ring if the
        theme is unable to draw a focus ring.

        Also, extracted common focus ring drawing code from RenderObject::paintOutline()
        and RenderInline::paintOutline() into RenderObject::paintFocusRing().

        Tests: fast/forms/textfield-focus-ring.html
               fast/images/imagemap-focus-ring.html
               fast/inline/inline-focus-ring.html

        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::paintFocusRings): Modified to only draw a focus ring if the
        the theme does not draw one.
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::paintOutline): Modified to call RenderObject::paintFocusRing().
        * rendering/RenderObject.cpp:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::paintFocusRing): Added.
        (WebCore::RenderObject::paintOutline): Modified to call RenderObject::paintFocusRing().
        * rendering/RenderObject.h:
2010-10-14  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Only draw focus ring in RenderInline and RenderImage if the theme
        is not able to draw a focus ring
        https://bugs.webkit.org/show_bug.cgi?id=47632

        Pixel tests to ensure that we don't regress focus ring drawing for RenderObject
        (fast/forms/textfield-focus-ring.html), RenderImage (fast/images/imagemap-focus-ring.html)
        and RenderInline (fast/inline/inline-focus-ring.html) on ports that support focus
        ring drawing.

        * fast/forms/textfield-focus-ring.html: Added.
        * fast/images/imagemap-focus-ring.html: Added.
        * fast/inline/inline-focus-ring.html: Added.
        * platform/mac/fast/forms/textfield-focus-ring-expected.checksum: Added.
        * platform/mac/fast/forms/textfield-focus-ring-expected.png: Added.
        * platform/mac/fast/forms/textfield-focus-ring-expected.txt: Added.
        * platform/mac/fast/images/imagemap-focus-ring-expected.checksum: Added.
        * platform/mac/fast/images/imagemap-focus-ring-expected.png: Added.
        * platform/mac/fast/images/imagemap-focus-ring-expected.txt: Added.
        * platform/mac/fast/inline/inline-focus-ring-expected.checksum: Added.
        * platform/mac/fast/inline/inline-focus-ring-expected.png: Added.
        * platform/mac/fast/inline/inline-focus-ring-expected.txt: Added.

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

10 years ago2010-10-14 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 14 Oct 2010 15:16:51 +0000 (15:16 +0000)]
2010-10-14  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        [chromium] Update test_expectations following Skia roll in chromium.

        * platform/chromium/test_expectations.txt:

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

10 years ago2010-10-14 Steve Block <steveblock@google.com>
steveblock@google.com [Thu, 14 Oct 2010 14:14:19 +0000 (14:14 +0000)]
2010-10-14  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        DeviceOrientation crash when page is in page cache and is navigated while listener is registered
        https://bugs.webkit.org/show_bug.cgi?id=47257

        This crash is avoided now that pages using DeviceOrientation are not put in
        the page cache. See https://bugs.webkit.org/show_bug.cgi?id=47408.

        This test serves to document the fact that the underlying problem needs to
        be addressed before the page cache is enabled for DeviceOrientation.

        * fast/dom/DeviceOrientation/event-after-navigation-expected.txt: Added.
        * fast/dom/DeviceOrientation/event-after-navigation.html: Added.
        * fast/dom/DeviceOrientation/resources/event-after-navigation-new.html: Added.
        * fast/dom/DeviceOrientation/script-tests/event-after-navigation.js: Added.

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

10 years ago2010-10-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 14 Oct 2010 13:48:00 +0000 (13:48 +0000)]
2010-10-14  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Move load and dom content event timers into InspectorController.
        https://bugs.webkit.org/show_bug.cgi?id=47668

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        (WebCore::InspectorController::populateScriptObjects):
        (WebCore::InspectorController::mainResourceFiredDOMContentEvent):
        (WebCore::InspectorController::mainResourceFiredLoadEvent):
        * inspector/InspectorController.h:
        * inspector/InspectorResource.cpp:
        (WebCore::InspectorResource::InspectorResource):
        (WebCore::InspectorResource::updateScriptObject):
        * inspector/InspectorResource.h:
        * inspector/front-end/inspector.js:
        (WebInspector.updateResource):
        (WebInspector.domContentEventFired):
        (WebInspector.loadEventFired):

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

10 years ago2010-10-14 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Thu, 14 Oct 2010 13:18:19 +0000 (13:18 +0000)]
2010-10-14  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt] Fix -Werror after r68637 on x86 platforms.
        Qt's build system sets QT_ARCH statically to i386 or x86_64 accordingly,
        so check for this instead of only checking for x86.

        * WebKit.pri:

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

10 years ago2010-10-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 14 Oct 2010 13:03:06 +0000 (13:03 +0000)]
2010-10-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Re-landing r69757.

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

10 years ago2010-10-14 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 14 Oct 2010 12:56:28 +0000 (12:56 +0000)]
2010-10-14  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: implement pausing on window events and timeouts
        https://bugs.webkit.org/show_bug.cgi?id=47542

        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::didInstallTimerImpl):
        (WebCore::InspectorInstrumentation::didRemoveTimerImpl):
        (WebCore::InspectorInstrumentation::willDispatchEventImpl):
        (WebCore::InspectorInstrumentation::didDispatchEventImpl):
        (WebCore::InspectorInstrumentation::willDispatchEventOnWindowImpl):
        (WebCore::InspectorInstrumentation::didDispatchEventOnWindowImpl):
        (WebCore::InspectorInstrumentation::willFireTimerImpl):
        (WebCore::InspectorInstrumentation::didFireTimerImpl):
        (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded):
        (WebCore::InspectorInstrumentation::cancelPauseOnNativeEvent):
        * inspector/InspectorInstrumentation.h:
        * inspector/front-end/BreakpointManager.js:
        (WebInspector.EventListenerBreakpoint.prototype.populateLabelElement):
        (WebInspector.EventListenerBreakpoint.prototype.populateStatusMessageElement):
        (WebInspector.EventListenerBreakpoint.prototype._condition):
        (WebInspector.EventListenerBreakpoint.prototype._uiEventName):
        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._populate):

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

10 years ago2010-10-14 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Thu, 14 Oct 2010 12:43:22 +0000 (12:43 +0000)]
2010-10-14  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Andreas Kling.

        Canvas: "currentColor" should inherit the canvas element's color
        https://bugs.webkit.org/show_bug.cgi?id=40273

        Warning fix after r69755. Missing default cases added.

        * html/canvas/CanvasStyle.cpp:
        (WebCore::parseColorOrCurrentColor):
        (WebCore::CanvasStyle::createFromString):
        (WebCore::CanvasStyle::createFromStringWithOverrideAlpha):

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

10 years ago2010-10-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 14 Oct 2010 12:01:45 +0000 (12:01 +0000)]
2010-10-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Rolling out r69757.

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

10 years ago2010-10-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 14 Oct 2010 11:38:58 +0000 (11:38 +0000)]
2010-10-14  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: extract content-related methods into InspectorResourceAgent.
        https://bugs.webkit.org/show_bug.cgi?id=47415

        This is needed for resource-tracking-less operation of resources panel.

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * inspector/InspectorCSSAgent.cpp:
        * inspector/InspectorResource.cpp:
        (WebCore::InspectorResource::type):
        (WebCore::InspectorResource::sourceString):
        (WebCore::InspectorResource::sourceBytes):
        * inspector/InspectorResource.h:
        * inspector/InspectorResourceAgent.cpp: Added.
        (WebCore::InspectorResourceAgent::resourceContent):
        (WebCore::InspectorResourceAgent::resourceContentBase64):
        (WebCore::InspectorResourceAgent::resourceData):
        (WebCore::InspectorResourceAgent::cachedResourceType):
        (WebCore::InspectorResourceAgent::cachedResource):
        * inspector/InspectorResourceAgent.h: Added.
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyleSheet::resourceStyleSheetText):
        * inspector/InspectorUtilities.cpp: Removed.
        * inspector/InspectorUtilities.h: Removed.

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

10 years ago2010-10-14 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Thu, 14 Oct 2010 11:02:34 +0000 (11:02 +0000)]
2010-10-14  Hayato Ito  <hayato@chromium.org>

        Unreviewed, build fix.

        Skip a test that does not have an expected result.
        <http://trac.webkit.org/changeset/69751> lacked prefix of 'platform/gtk'.

        * platform/gtk/Skipped:

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

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

        Reviewed by Darin Adler.

        Canvas: "currentColor" should inherit the canvas element's color
        https://bugs.webkit.org/show_bug.cgi?id=40273

        Add support for "currentColor" in CanvasRenderingContext2D APIs.
        If the canvas is in-document, "currentColor" is replaced by canvas.style.color,
        otherwise we use fully opaque black.

        For gradient addColorStop(), "currentColor" always means fully opaque black.

        Spec link:
        http://www.whatwg.org/specs/web-apps/current-work/#2dcontext

        Test: fast/canvas/canvas-currentColor.html

        * html/canvas/CanvasGradient.cpp:
        (WebCore::CanvasGradient::addColorStop):
        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::setStrokeStyle):
        (WebCore::CanvasRenderingContext2D::setFillStyle):
        (WebCore::CanvasRenderingContext2D::setShadowColor):
        (WebCore::CanvasRenderingContext2D::setShadow):
        * html/canvas/CanvasStyle.cpp:
        (WebCore::parseColor):
        (WebCore::currentColor):
        (WebCore::parseColorOrCurrentColor):
        (WebCore::CanvasStyle::CanvasStyle):
        (WebCore::CanvasStyle::createFromString):
        (WebCore::CanvasStyle::createFromStringWithOverrideAlpha):
        (WebCore::CanvasStyle::isEquivalentColor):
        (WebCore::CanvasStyle::applyStrokeColor):
        (WebCore::CanvasStyle::applyFillColor):
        * html/canvas/CanvasStyle.h:
        (WebCore::CanvasStyle::isCurrentColor):
        (WebCore::CanvasStyle::hasOverrideAlpha):
        (WebCore::CanvasStyle::overrideAlpha):
2010-10-14  Andreas Kling  <kling@webkit.org>

        Reviewed by Darin Adler.

        Canvas: "currentColor" should inherit the canvas element's color
        https://bugs.webkit.org/show_bug.cgi?id=40273

        Added test to verify support for "currentColor" value in CanvasRenderingContext2D.

        Also unskipped 3 tests which now pass:
        - canvas/philip/tests/2d.fillStyle.parse.current.basic.html
        - canvas/philip/tests/2d.fillStyle.parse.current.changed.html
        - canvas/philip/tests/2d.fillStyle.parse.current.removed.html

        Spec link:
        http://www.whatwg.org/specs/web-apps/current-work/#2dcontext

        * fast/canvas/canvas-currentColor-expected.txt: Added.
        * fast/canvas/canvas-currentColor.html: Added.
        * fast/canvas/script-tests/canvas-currentColor.js: Added.
        (attachCanvasToDocument):
        (tryLinearGradientColor):
        (tryRadialGradientColor):
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:

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

10 years agoUnreviewed fix after r69749.
ossy@webkit.org [Thu, 14 Oct 2010 09:20:49 +0000 (09:20 +0000)]
Unreviewed fix after r69749.

* platform/qt/fast/dom/Window/window-properties-expected.txt: Updated.

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

10 years ago2010-10-14 Anton Faern <anton@bladehawke.com>
commit-queue@webkit.org [Thu, 14 Oct 2010 09:13:10 +0000 (09:13 +0000)]
2010-10-14  Anton Faern  <anton@bladehawke.com>

        Reviewed by Csaba Osztrogonác.

        https://bugs.webkit.org/show_bug.cgi?id=47658
        NetBSD was not included in the WTF_PLATFORM_FOO to WTF_OS_FOO
        change.  This means that OS(NETBSD) is also undefined.

        * wtf/Platform.h: s/_PLATFORM_/_OS_/ for NetBSD

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

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

        Reviewed by Pavel Feldman.

        Web Inspector: [REGRESSION] Scripts panel: the bubble shows wrong values
        https://bugs.webkit.org/show_bug.cgi?id=47358

        Test: inspector/debugger-eval-on-call-frame.html

        * inspector/front-end/InjectedScript.js:
        (injectedScriptConstructor.): don't embrace expression evaluated in the local scope
        of a call frame into with(window) to avoid shadowing local variables by global ones.

2010-10-08  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [REGRESSION] Scripts panel: the bubble shows wrong values
        https://bugs.webkit.org/show_bug.cgi?id=47358

        * inspector/debugger-eval-on-call-frame-expected.txt: Added.
        * inspector/debugger-eval-on-call-frame.html: Added.

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

10 years ago2010-10-14 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Thu, 14 Oct 2010 08:39:04 +0000 (08:39 +0000)]
2010-10-14  Hayato Ito  <hayato@chromium.org>

        Unreviewed, build fix.

        Skip a test that does not have an expected result.

        * platform/gtk/Skipped:

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

10 years ago2010-10-14 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 14 Oct 2010 08:18:05 +0000 (08:18 +0000)]
2010-10-14  Andreas Kling  <kling@webkit.org>

        Reviewed by Dirk Schulze.

        svg/custom/use-on-symbol-inside-pattern.svg is failing
        https://bugs.webkit.org/show_bug.cgi?id=17393

        Re-enable this test since the debugString() discrepancy issue
        disappeared with <http://trac.webkit.org/changeset/69386>

        * platform/mac-tiger/Skipped:
        * platform/win/Skipped:

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

10 years ago2010-10-13 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 14 Oct 2010 08:02:13 +0000 (08:02 +0000)]
2010-10-13  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Implement getParameter from the URL API
        https://bugs.webkit.org/show_bug.cgi?id=46610

        Test various interesting cases in parameter parsing.

        * fast/dom/anchor-getParameter-expected.txt: Added.
        * fast/dom/anchor-getParameter.html: Added.
        * http/tests/misc/location-getParameter-expected.txt: Added.
        * http/tests/misc/location-getParameter.html: Added.
2010-10-13  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Implement getParameter from the URL API
        https://bugs.webkit.org/show_bug.cgi?id=46610

        Another API from
        https://docs.google.com/document/edit?id=1r_VTFKApVOaNIkocrg0z-t7lZgzisTuGTXkdzAk4gLU&hl=en#
        getParameter lets a web site easily read the value of a URL parameter.
        This API is for the simple case of a non-repeated parameter name.
        getParameterAll will handle repeated parameter names in a future patch.

        Tests: fast/dom/anchor-getParameter.html
               http/tests/misc/location-getParameter.html

        * html/HTMLAnchorElement.cpp:
        (WebCore::HTMLAnchorElement::getParameter):
        * html/HTMLAnchorElement.h:
        * html/HTMLAnchorElement.idl:
        * page/Location.cpp:
        (WebCore::Location::getParameter):
        * page/Location.h:
        * page/Location.idl:
        * platform/KURL.cpp:
        (WebCore::KURL::copyParsedQueryTo):
        * platform/KURLGoogle.cpp:
        (WebCore::KURL::copyParsedQueryTo):
        * platform/KURL.h:

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

10 years ago2010-10-14 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Thu, 14 Oct 2010 07:53:21 +0000 (07:53 +0000)]
2010-10-14  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed. GTK build fix.

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::sendRequestCallback):

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

10 years ago2010-10-14 Adrienne Walker <enne@google.com>
commit-queue@webkit.org [Thu, 14 Oct 2010 07:18:18 +0000 (07:18 +0000)]
2010-10-14  Adrienne Walker  <enne@google.com>

        Reviewed by James Robinson.

        Add a test for very large image layers.  Skip this test for mac-wk2
        because of the use of layerTreeAsText().
        https://bugs.webkit.org/show_bug.cgi?id=47016

        * compositing/tiling/huge-layer-img.html: Added.
        * platform/chromium-gpu/compositing/tiling/huge-layer-img-expected.txt: Added.
        * platform/mac-wk2/Skipped:
        * platform/mac/compositing/tiling/huge-layer-img-expected.txt: Added.
2010-10-14  Adrienne Walker  <enne@google.com>

        Reviewed by James Robinson.

        Add a short-term solution for large layers.  Layers that are too
        large to be contained in a single texture just upload the portion of
        the layer that is within the content rect.  A longer-term solution
        is still tiling with proper memory management.  Layers that have full
        3D transforms (more than just translations) are still not drawn.
        https://bugs.webkit.org/show_bug.cgi?id=47016

        Test: compositing/tiling

        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::ContentLayerChromium):
        (WebCore::ContentLayerChromium::requiresClippedUpdateRect):
        (WebCore::ContentLayerChromium::calculateClippedUpdateRect):
        (WebCore::ContentLayerChromium::updateContents):
        (WebCore::ContentLayerChromium::updateTextureRect):
        (WebCore::ContentLayerChromium::draw):
        * platform/graphics/chromium/ContentLayerChromium.h:
        * platform/graphics/chromium/ImageLayerChromium.cpp:
        (WebCore::ImageLayerChromium::updateContents):
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::drawLayers):
        * platform/graphics/chromium/LayerRendererChromium.h:
        (WebCore::LayerRendererChromium::rootLayerContentRect):

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

10 years ago2010-10-14 Chris Rogers <crogers@google.com>
crogers@google.com [Thu, 14 Oct 2010 07:10:31 +0000 (07:10 +0000)]
2010-10-14  Chris Rogers  <crogers@google.com>

        Reviewed by Chris Fleizach.

        Add DelayDSPKernel files
        https://bugs.webkit.org/show_bug.cgi?id=47518

        No new tests since audio API is not yet implemented.

        * webaudio/DelayDSPKernel.cpp: Added.
        (WebCore::DelayDSPKernel::DelayDSPKernel):
        (WebCore::DelayDSPKernel::process):
        (WebCore::DelayDSPKernel::reset):
        * webaudio/DelayDSPKernel.h: Added.
        (WebCore::DelayDSPKernel::maxDelayTime):
        (WebCore::DelayDSPKernel::setDelayFrames):
        (WebCore::DelayDSPKernel::delayProcessor):

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

10 years ago2010-10-13 James Simonsen <simonjam@chromium.org>
commit-queue@webkit.org [Thu, 14 Oct 2010 06:58:30 +0000 (06:58 +0000)]
2010-10-13  James Simonsen  <simonjam@chromium.org>

        Reviewed by Adam Barth.

        Sync tests from html5lib.
        https://bugs.webkit.org/show_bug.cgi?id=47627

        * html5lib/resources/adoption02.dat: Copied from html5lib.
        * html5lib/resources/entities01.dat: Ditto.
        * html5lib/resources/pending-spec-changes.dat: Ditto.
        * html5lib/resources/tests21.dat: Ditto.
        * html5lib/runner-expected.txt: 2 tests now pass.
        * platform/chromium/html5lib/runner-expected.txt: Ditto.
        * platform/win/html5lib/runner-expected.txt: Ditto.

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

10 years ago2010-10-13 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 14 Oct 2010 06:55:51 +0000 (06:55 +0000)]
2010-10-13  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        beat diff_parser with the ugly stick
        https://bugs.webkit.org/show_bug.cgi?id=47626

        * Scripts/webkitpy/common/checkout/diff_parser.py:
        * Scripts/webkitpy/style/patchreader.py:
        * Scripts/webkitpy/style/patchreader_unittest.py:

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

10 years ago2010-10-13 David Goodwin <david_goodwin@apple.com>
commit-queue@webkit.org [Thu, 14 Oct 2010 06:45:26 +0000 (06:45 +0000)]
2010-10-13  David Goodwin  <david_goodwin@apple.com>

        Reviewed by Oliver Hunt.

        ARMv7 JIT should generated conditional branches when possible
        https://bugs.webkit.org/show_bug.cgi?id=47384

        Use different jump padding sizes for conditional and unconditional
        jumps (12 bytes and 10 bytes respectively). This allows the JIT to
        include the IT instruction as part of the conditional jump sequence
        which in turn allows it to optimize away the IT using an ARMv7
        conditional branch instruction. Use 2-byte B(T1) and 4-byte B(T3) for
        conditional branches when displacement is in range. Also use IT/B(T4)
        for conditional branch when displacement does not fit in B(T3).

        For unconditional jump, instruction selection options are:
        B(T2), B(T4), MOVW/MOVT/BX. For conditional jump, instruction selection
        options are: B(T1), B(T3), IT/B(T4), ITTT/MOVW/MOVT/BX.

        * assembler/ARMv7Assembler.cpp:
        * assembler/ARMv7Assembler.h:
        (JSC::ARMv7Assembler::JmpSrc::JmpSrc):
        (JSC::ARMv7Assembler::ifThenElse):
        (JSC::ARMv7Assembler::jumpSizeDelta):
        (JSC::ARMv7Assembler::canCompact):
        (JSC::ARMv7Assembler::computeJumpType):
        (JSC::ARMv7Assembler::link):
        (JSC::ARMv7Assembler::canBeJumpT1):
        (JSC::ARMv7Assembler::canBeJumpT3):
        (JSC::ARMv7Assembler::canBeJumpT4):
        (JSC::ARMv7Assembler::linkJumpT1):
        (JSC::ARMv7Assembler::linkJumpT3):
        (JSC::ARMv7Assembler::linkJumpT4):
        (JSC::ARMv7Assembler::linkConditionalJumpT4):
        (JSC::ARMv7Assembler::linkBX):
        (JSC::ARMv7Assembler::linkConditionalBX):
        (JSC::ARMv7Assembler::linkJumpAbsolute):
        * assembler/LinkBuffer.h:
        (JSC::LinkBuffer::linkCode):
        * assembler/MacroAssemblerARMv7.h:
        (JSC::MacroAssemblerARMv7::canCompact):
        (JSC::MacroAssemblerARMv7::computeJumpType):
        (JSC::MacroAssemblerARMv7::jumpSizeDelta):
        (JSC::MacroAssemblerARMv7::jump):
        (JSC::MacroAssemblerARMv7::nearCall):
        (JSC::MacroAssemblerARMv7::call):
        (JSC::MacroAssemblerARMv7::ret):
        (JSC::MacroAssemblerARMv7::tailRecursiveCall):
        (JSC::MacroAssemblerARMv7::makeJump):
        (JSC::MacroAssemblerARMv7::makeBranch):

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

10 years ago2010-10-13 Sergio Villar Senin <svillar@igalia.com>
mrobinson@webkit.org [Thu, 14 Oct 2010 06:32:17 +0000 (06:32 +0000)]
2010-10-13  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        WebKitGtk+ to use the new API from the imported SoupURILoader code

        [GTK] Add HTTP caching support
        https://bugs.webkit.org/show_bug.cgi?id=44261

        ResourceHandleSoup now does everything via SoupURILoader. This means
        that all URLs are handled via the same code path, where WebCore simply
        asks libsoup for a WebKitSoupRequest and the request returns an input
        stream. Many of ResourceHandleSoup's data members are now PlatformRefPtr
        as well, to simplify reference counting

        * platform/network/ResourceHandleInternal.h:
        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
        (WebCore::ResourceHandle::~ResourceHandle):
        (WebCore::restartedCallback):
        (WebCore::gotChunkCallback):
        (WebCore::parseDataUrl):
        (WebCore::cleanupSoupRequestOperation):
        (WebCore::sendRequestCallback):
        (WebCore::startHttp):
        (WebCore::ResourceHandle::start):
        (WebCore::ResourceHandle::cancel):
        (WebCore::closeCallback):
        (WebCore::readCallback):
        (WebCore::startGio):
        * platform/network/soup/ResourceRequest.h:
        * platform/network/soup/ResourceRequestSoup.cpp:
        (WebCore::ResourceRequest::updateSoupMessage):
2010-10-13  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        WebKitGtk+ to use the new API from the imported SoupURILoader code

        [GTK] Add HTTP caching support
        https://bugs.webkit.org/show_bug.cgi?id=44261

        ResourceHandleInternal m_msg is now called m_soupMessage.

        * webkit/webkitdownload.cpp:
        (webkit_download_new_with_handle):
        (webkit_download_start):

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

10 years ago2010-10-13 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 14 Oct 2010 06:28:28 +0000 (06:28 +0000)]
2010-10-13  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline canvas/philip/tests/2d.gradient.radial.negative.html. It seems
        that the result for this test is only differing by two newlines. Also skip
        a failing test on GTK+.

        * canvas/philip/tests/2d.gradient.radial.negative-expected.txt: Rebaseline.
        * platform/gtk/Skipped: Skip failing test.

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

10 years ago2010-10-13 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 14 Oct 2010 05:54:06 +0000 (05:54 +0000)]
2010-10-13  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Break LayoutTestResults out into its own file
        https://bugs.webkit.org/show_bug.cgi?id=47637

        * Scripts/webkitpy/common/net/buildbot.py:
        * Scripts/webkitpy/common/net/buildbot_unittest.py:
        * Scripts/webkitpy/common/net/layouttestresults.py: Added.
        * Scripts/webkitpy/common/net/layouttestresults_unittest.py: Added.

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

10 years ago2010-10-13 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Thu, 14 Oct 2010 05:49:08 +0000 (05:49 +0000)]
2010-10-13  Shinichiro Hamaji  <hamaji@chromium.org>

        Update chromium's test expectations.

        * platform/chromium-linux/fast/text/backslash-to-yen-sign-euc-expected.checksum: Added.
        * platform/chromium-linux/fast/text/backslash-to-yen-sign-euc-expected.png: Added.
        * platform/chromium-linux/fast/text/backslash-to-yen-sign-euc-expected.txt: Added.
        * platform/chromium-mac/fast/text/backslash-to-yen-sign-euc-expected.checksum: Added.
        * platform/chromium-win/fast/text/backslash-to-yen-sign-euc-expected.checksum: Added.
        * platform/chromium-win/fast/text/backslash-to-yen-sign-euc-expected.png: Added.
        * platform/chromium-win/fast/text/backslash-to-yen-sign-euc-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

10 years ago2010-10-13 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 14 Oct 2010 05:28:53 +0000 (05:28 +0000)]
2010-10-13  Adam Barth  <abarth@webkit.org>

        Unreviewed.

        Chromium port can't run JavaScriptCore tests
        https://bugs.webkit.org/show_bug.cgi?id=47654

        This lets webkit-patch build-and-test work on Chromium.

        * Scripts/webkitpy/common/config/ports.py:
        * Scripts/webkitpy/tool/steps/runtests.py:

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

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

        Reviewed by Eric Seidel.

        Make --port a global option and pass the port information to the commit-queue subprocess
        https://bugs.webkit.org/show_bug.cgi?id=47650

        This patch paves the way to run the commit-queue on a non-Mac port.

        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:
        * Scripts/webkitpy/tool/commands/queuestest.py:
        * Scripts/webkitpy/tool/main.py:
        * Scripts/webkitpy/tool/steps/options.py:
        * Scripts/webkitpy/tool/steps/preparechangelog.py:
        * Scripts/webkitpy/tool/steps/runtests.py:
        * Scripts/webkitpy/tool/steps/update.py:

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

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

        Reviewed by Eric Seidel.

        Introduce the ChromiumXVFBPort for running commit-queue on EC2
        https://bugs.webkit.org/show_bug.cgi?id=47653

        I'm not entirely sure this is the best way to do this, but we need to
        run the tests under XVFB on EC2 because the EC2 instances don't have a
        real monitor hooked up.  This patch adds a ChromiumXVFBPort that runs
        that way.  The idea is that XVFB is like a platform for the Chromium
        port, but we don't have a real notion of platform separate from port.

        * Scripts/webkitpy/common/config/ports.py:

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

10 years ago2010-10-12 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 14 Oct 2010 04:55:34 +0000 (04:55 +0000)]
2010-10-12  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Darin Adler.

        Prevent block logical height of a root inline box from overflowing by clamping it
        at INT_MAX. Otherwise, we will not be able to properly dirty the set of lines during
        removal a floating object.
        https://bugs.webkit.org/show_bug.cgi?id=45611

        Test: fast/overflow/overflow-block-logical-height-crash.html

        * rendering/RootInlineBox.cpp:
        (WebCore::RootInlineBox::alignBoxesInBlockDirection):
2010-10-12  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Darin Adler.

        Tests that overflowing the block logical height of a root inline box does not result in crash.
        https://bugs.webkit.org/show_bug.cgi?id=45611

        * fast/overflow/overflow-block-logical-height-crash-expected.txt: Added.
        * fast/overflow/overflow-block-logical-height-crash.html: Added.

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

10 years agoMemory smasher in WebKit2 InjectedBundleHitTestResult::absoluteLinkURL
weinig@apple.com [Thu, 14 Oct 2010 04:11:43 +0000 (04:11 +0000)]
Memory smasher in WebKit2 InjectedBundleHitTestResult::absoluteLinkURL
https://bugs.webkit.org/show_bug.cgi?id=47648

Reviewed by Jon Honeycutt.

* WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
(WebKit::InjectedBundleHitTestResult::absoluteLinkURL):
* WebProcess/InjectedBundle/InjectedBundleHitTestResult.h: Return a String instead of
a const String&.

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

10 years agoPlatformMouseEvents need to contain modifier flags
weinig@apple.com [Thu, 14 Oct 2010 04:11:05 +0000 (04:11 +0000)]
PlatformMouseEvents need to contain modifier flags
https://bugs.webkit.org/show_bug.cgi?id=47651

Reviewed by Jon Honeycutt.

* Shared/WebEventConversion.cpp:
(WebKit::WebKit2PlatformMouseEvent::WebKit2PlatformMouseEvent):
Fill in m_modifierFlags.

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

10 years ago2010-10-13 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Thu, 14 Oct 2010 02:16:21 +0000 (02:16 +0000)]
2010-10-13  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Darin Adler.

        Don't depend on Windows on sched_yield and sched.h
        https://bugs.webkit.org/show_bug.cgi?id=45543

        sched.h is part of pthreads and sched_yield is implemented
        in pthreads-win32 as Sleep(0). This patch avoids a gratuitous
        dependency on pthreads-win32 in this file.

        * wtf/TCSpinLock.h:
        (TCMalloc_SlowLock):

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

10 years ago2010-09-23 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 14 Oct 2010 02:13:10 +0000 (02:13 +0000)]
2010-09-23  James Robinson  <jamesr@chromium.org>

        Reviewed by Darin Adler.

        Canvas: radialGradient with negative radius should throw exception
        https://bugs.webkit.org/show_bug.cgi?id=37176

        Remove test from skipped lists now that it passes.

        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
2010-10-13  James Robinson  <jamesr@chromium.org>

        Reviewed by Darin Adler.

        Throw INDEX_SIZE_ERR exception if createRadialGradient is called with a negative radius
        Canvas: radialGradient with negative radius should throw exception
        https://bugs.webkit.org/show_bug.cgi?id=37176

        This matches the canvas 2d specification, Opera, IE9 beta and our behavior for arc()
        and arcTo().  Also fixes some PassRefPtr/RefPtr errors in this file.

        Test: canvas/philip/tests/2d.gradient.radial.negative.html

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::createLinearGradient):
        (WebCore::CanvasRenderingContext2D::createRadialGradient):
        (WebCore::createEmptyImageData):
        (WebCore::CanvasRenderingContext2D::measureText):

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

10 years ago2010-10-13 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Thu, 14 Oct 2010 02:03:03 +0000 (02:03 +0000)]
2010-10-13  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Darin Adler.

        Add WebCore/plugins/win directory to CFLAGS
        https://bugs.webkit.org/show_bug.cgi?id=45547

        * GNUmakefile.am:

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

10 years ago2010-10-13 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 14 Oct 2010 01:30:52 +0000 (01:30 +0000)]
2010-10-13  Martin Robinson  <mrobinson@igalia.com>

        Build fix for older versions of libsoup.

        * platform/network/soup/cache/soup-request-file.c:
        (webkit_soup_request_file_ensure_file): Access the path member of the SoupURI directly.

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

10 years ago2010-10-13 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Thu, 14 Oct 2010 01:08:15 +0000 (01:08 +0000)]
2010-10-13  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Jian Li.

        [Chromium] Enable FILE_SYSTEM by default for chromium
        https://bugs.webkit.org/show_bug.cgi?id=47639

        * features.gypi: Add FILE_SYSTEM=1. Also remove FILE_READER=1
        as it seems to be not used anymore.

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

10 years ago[BREWMP] Port unicode
kseo@webkit.org [Thu, 14 Oct 2010 01:01:52 +0000 (01:01 +0000)]
[BREWMP] Port unicode
https://bugs.webkit.org/show_bug.cgi?id=45716

Reviewed by Kent Tamura.

Brew MP port uses only the subset of ICU library to reduce the binary size.
Follow the WinCE's implementation.

* wtf/Platform.h:
* wtf/unicode/Unicode.h:
* wtf/unicode/brew/UnicodeBrew.cpp: Added.
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::foldCase):
(WTF::Unicode::isPrintableChar):
(WTF::Unicode::isUpper):
(WTF::Unicode::isLower):
(WTF::Unicode::isDigit):
(WTF::Unicode::isPunct):
(WTF::Unicode::isAlphanumeric):
(WTF::Unicode::toTitleCase):
(WTF::Unicode::direction):
(WTF::Unicode::category):
(WTF::Unicode::decompositionType):
(WTF::Unicode::combiningClass):
(WTF::Unicode::mirroredChar):
(WTF::Unicode::digitValue):
(WTF::Unicode::isSpace):
(WTF::Unicode::isLetter):
* wtf/unicode/brew/UnicodeBrew.h: Added.
(WTF::Unicode::isArabicChar):
(WTF::Unicode::isSeparatorSpace):
(WTF::Unicode::hasLineBreakingPropertyComplexContext):
(WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
(WTF::Unicode::umemcasecmp):

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

10 years ago[BREWMP] Add TextBoundaries and TextBreakIterator
kseo@webkit.org [Thu, 14 Oct 2010 00:49:09 +0000 (00:49 +0000)]
[BREWMP] Add TextBoundaries and TextBreakIterator
https://bugs.webkit.org/show_bug.cgi?id=46105

Reviewed by Kent Tamura.

Copy the implementation of WinCE port.

* platform/text/brew/TextBoundariesBrew.cpp: Added.
(WebCore::findNextWordFromIndex):
(WebCore::findWordBoundary):
* platform/text/brew/TextBreakIteratorBrew.cpp: Added.
(WebCore::isCharStop):
(WebCore::isLineStop):
(WebCore::isSentenceStop):
(WebCore::TextBreakIterator::reset):
(WebCore::TextBreakIterator::following):
(WebCore::TextBreakIterator::preceding):
(WebCore::WordBreakIterator::first):
(WebCore::WordBreakIterator::next):
(WebCore::WordBreakIterator::previous):
(WebCore::CharBreakIterator::first):
(WebCore::CharBreakIterator::next):
(WebCore::CharBreakIterator::previous):
(WebCore::LineBreakIterator::first):
(WebCore::LineBreakIterator::next):
(WebCore::LineBreakIterator::previous):
(WebCore::SentenceBreakIterator::first):
(WebCore::SentenceBreakIterator::next):
(WebCore::SentenceBreakIterator::previous):
(WebCore::wordBreakIterator):
(WebCore::characterBreakIterator):
(WebCore::lineBreakIterator):
(WebCore::sentenceBreakIterator):
(WebCore::textBreakFirst):
(WebCore::textBreakNext):
(WebCore::textBreakPreceding):
(WebCore::textBreakFollowing):
(WebCore::textBreakCurrent):
(WebCore::isTextBreak):
(WebCore::cursorMovementIterator):

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

10 years ago2010-10-13 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Thu, 14 Oct 2010 00:39:06 +0000 (00:39 +0000)]
2010-10-13  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Nate Chapin.

        IndexedDB should fire some errors synchronously
        https://bugs.webkit.org/show_bug.cgi?id=47530

        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/objectstore-removeobjectstore-expected.txt:
        * storage/indexeddb/objectstore-removeobjectstore.html:
2010-10-13  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Nate Chapin.

        IndexedDB should fire some errors synchronously
        https://bugs.webkit.org/show_bug.cgi?id=47530

        Add dumb plumbing to pass around exception codes.
        Utilize that plumbing in the backend to fire some
        errors synchronously.
        Verify that create/remove* functions are only called
        in setVersionTransactions (and raise when not).
        Remove plumbing for obsolete IDBDatabase.objectStore
        Remove obsolete mode param.

        * storage/IDBCursor.cpp:
        (WebCore::IDBCursor::update):
        (WebCore::IDBCursor::continueFunction):
        (WebCore::IDBCursor::remove):
        * storage/IDBCursor.h:
        (WebCore::IDBCursor::continueFunction):
        * storage/IDBCursor.idl:
        * storage/IDBCursorBackendImpl.cpp:
        (WebCore::IDBCursorBackendImpl::update):
        (WebCore::IDBCursorBackendImpl::continueFunction):
        (WebCore::IDBCursorBackendImpl::remove):
        * storage/IDBCursorBackendImpl.h:
        * storage/IDBCursorBackendInterface.h:
        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::IDBDatabase):
        (WebCore::IDBDatabase::createObjectStore):
        (WebCore::IDBDatabase::removeObjectStore):
        (WebCore::IDBDatabase::setVersion):
        (WebCore::IDBDatabase::transaction):
        * storage/IDBDatabase.h:
        (WebCore::IDBDatabase::createObjectStore):
        (WebCore::IDBDatabase::transaction):
        * storage/IDBDatabase.idl:
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::IDBDatabaseBackendImpl::objectStore):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
        (WebCore::IDBDatabaseBackendImpl::setVersion):
        (WebCore::IDBDatabaseBackendImpl::transaction):
        * storage/IDBDatabaseBackendImpl.h:
        * storage/IDBDatabaseBackendInterface.h:
        * storage/IDBFactory.cpp:
        (WebCore::IDBFactory::open):
        * storage/IDBFactory.h:
        (WebCore::IDBFactory::open):
        * storage/IDBFactory.idl:
        * storage/IDBIndex.cpp:
        (WebCore::IDBIndex::openCursor):
        (WebCore::IDBIndex::openKeyCursor):
        (WebCore::IDBIndex::get):
        (WebCore::IDBIndex::getKey):
        * storage/IDBIndex.h:
        (WebCore::IDBIndex::openCursor):
        (WebCore::IDBIndex::openKeyCursor):
        * storage/IDBIndex.idl:
        * storage/IDBIndexBackendImpl.cpp:
        (WebCore::IDBIndexBackendImpl::openCursor):
        (WebCore::IDBIndexBackendImpl::openKeyCursor):
        (WebCore::IDBIndexBackendImpl::get):
        (WebCore::IDBIndexBackendImpl::getKey):
        * storage/IDBIndexBackendImpl.h:
        * storage/IDBIndexBackendInterface.h:
        * storage/IDBObjectStore.cpp:
        (WebCore::IDBObjectStore::get):
        (WebCore::IDBObjectStore::add):
        (WebCore::IDBObjectStore::put):
        (WebCore::IDBObjectStore::remove):
        (WebCore::IDBObjectStore::createIndex):
        (WebCore::IDBObjectStore::index):
        (WebCore::IDBObjectStore::removeIndex):
        (WebCore::IDBObjectStore::openCursor):
        * storage/IDBObjectStore.h:
        (WebCore::IDBObjectStore::add):
        (WebCore::IDBObjectStore::put):
        (WebCore::IDBObjectStore::createIndex):
        (WebCore::IDBObjectStore::openCursor):
        * storage/IDBObjectStore.idl:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::get):
        (WebCore::IDBObjectStoreBackendImpl::put):
        (WebCore::IDBObjectStoreBackendImpl::remove):
        (WebCore::IDBObjectStoreBackendImpl::createIndex):
        (WebCore::IDBObjectStoreBackendImpl::index):
        (WebCore::IDBObjectStoreBackendImpl::removeIndex):
        (WebCore::IDBObjectStoreBackendImpl::openCursor):
        * storage/IDBObjectStoreBackendImpl.h:
        (WebCore::IDBObjectStoreBackendImpl::name):
        (WebCore::IDBObjectStoreBackendImpl::keyPath):
        (WebCore::IDBObjectStoreBackendImpl::autoIncrement):
        * storage/IDBObjectStoreBackendInterface.h:
        * storage/IDBTransaction.cpp:
        (WebCore::IDBTransaction::objectStore):
        * storage/IDBTransaction.h:
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::objectStore):
2010-10-13  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Nate Chapin.

        IndexedDB should fire some errors synchronously
        https://bugs.webkit.org/show_bug.cgi?id=47530

        * public/WebIDBCursor.h:
        * public/WebIDBDatabase.h:
        (WebKit::WebIDBDatabase::transaction):
        * public/WebIDBFactory.h:
        (WebKit::WebIDBFactory::open):
        * public/WebIDBObjectStore.h:
        * public/WebIDBTransactionCallbacks.h:
        * src/IDBCursorBackendProxy.cpp:
        (WebCore::IDBCursorBackendProxy::update):
        (WebCore::IDBCursorBackendProxy::continueFunction):
        (WebCore::IDBCursorBackendProxy::remove):
        * src/IDBCursorBackendProxy.h:
        * src/IDBDatabaseProxy.cpp:
        (WebCore::IDBDatabaseProxy::createObjectStore):
        (WebCore::IDBDatabaseProxy::removeObjectStore):
        (WebCore::IDBDatabaseProxy::setVersion):
        (WebCore::IDBDatabaseProxy::transaction):
        * src/IDBDatabaseProxy.h:
        * src/IDBIndexBackendProxy.cpp:
        (WebCore::IDBIndexBackendProxy::openCursor):
        (WebCore::IDBIndexBackendProxy::openKeyCursor):
        (WebCore::IDBIndexBackendProxy::get):
        (WebCore::IDBIndexBackendProxy::getKey):
        * src/IDBIndexBackendProxy.h:
        * src/IDBObjectStoreProxy.cpp:
        (WebCore::IDBObjectStoreProxy::get):
        (WebCore::IDBObjectStoreProxy::put):
        (WebCore::IDBObjectStoreProxy::remove):
        (WebCore::IDBObjectStoreProxy::createIndex):
        (WebCore::IDBObjectStoreProxy::index):
        (WebCore::IDBObjectStoreProxy::removeIndex):
        (WebCore::IDBObjectStoreProxy::openCursor):
        * src/IDBObjectStoreProxy.h:
        * src/WebIDBCursorImpl.cpp:
        (WebKit::WebIDBCursorImpl::update):
        (WebKit::WebIDBCursorImpl::continueFunction):
        (WebKit::WebIDBCursorImpl::remove):
        * src/WebIDBCursorImpl.h:
        * src/WebIDBDatabaseImpl.cpp:
        (WebKit::WebIDBDatabaseImpl::createObjectStore):
        (WebKit::WebIDBDatabaseImpl::removeObjectStore):
        (WebKit::WebIDBDatabaseImpl::setVersion):
        (WebKit::WebIDBDatabaseImpl::transaction):
        * src/WebIDBDatabaseImpl.h:
        * src/WebIDBIndexImpl.cpp:
        (WebKit::WebIDBIndexImpl::openObjectCursor):
        (WebKit::WebIDBIndexImpl::openKeyCursor):
        (WebKit::WebIDBIndexImpl::getObject):
        (WebKit::WebIDBIndexImpl::getKey):
        * src/WebIDBIndexImpl.h:
        * src/WebIDBObjectStoreImpl.cpp:
        (WebKit::WebIDBObjectStoreImpl::get):
        (WebKit::WebIDBObjectStoreImpl::put):
        (WebKit::WebIDBObjectStoreImpl::remove):
        (WebKit::WebIDBObjectStoreImpl::createIndex):
        (WebKit::WebIDBObjectStoreImpl::index):
        (WebKit::WebIDBObjectStoreImpl::removeIndex):
        (WebKit::WebIDBObjectStoreImpl::openCursor):
        * src/WebIDBObjectStoreImpl.h:

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

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

        Reviewed by Darin Adler.

        Incorrect use of alternate content inside the <object> element
        https://bugs.webkit.org/show_bug.cgi?id=11803

        Our current behavior appears to match Firefox and the spec.  Opera
        seems to do what the bug reporter requests, but our current behavior
        seems more sane.

        * fast/forms/fallback-content-submission-expected.txt: Added.
        * fast/forms/fallback-content-submission.html: Added.
        * fast/parser/object-with-textarea-fallback-expected.txt: Added.
        * fast/parser/object-with-textarea-fallback.html: Added.

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

10 years ago2010-10-13 Brett Wilson <brettw@chromium.org>
brettw@chromium.org [Thu, 14 Oct 2010 00:32:59 +0000 (00:32 +0000)]
2010-10-13  Brett Wilson  <brettw@chromium.org>

        Reviewed by Darin Fisher.

        Save and restore the GraphicsContext around setting the clip rect for
        drawing text.
        https://bugs.webkit.org/show_bug.cgi?id=47634

        * src/WebFontImpl.cpp:
        (WebKit::WebFontImpl::drawText):

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

10 years ago2010-10-13 Sergio Villar Senin <svillar@igalia.com>
mrobinson@webkit.org [Thu, 14 Oct 2010 00:32:37 +0000 (00:32 +0000)]
2010-10-13  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Add HTTP caching support
        https://bugs.webkit.org/show_bug.cgi?id=44261

        This patch adds HTTP caching support to libsoup networking backend.
        This code will eventually be part of libsoup, but has been temporarily
        imported into the WebCore tree for testing purposes. All libsoup code
        is located in WebCore/platform/network/soup/cache. The webkit prefix
        was added to all the symbols to prevent problems when this lands in
        libsoup. Some external API was also added under webkit/ directory and
        will be used by library clients to enable HTTP caching.

        There are two parts to this imported code, the first one is the code
        under WebCore/platform/network/soup/cache/ that contains all the
        SoupURILoader code that supports the development of the cache. The
        second part is the HTTP cache implementation located in
        WebCore/platform/network/soup/cache/webkit/.

        * GNUmakefile.am:
        * platform/network/soup/cache/soup-directory-input-stream.c: Added.
        (webkit_soup_directory_input_stream_parse_info):
        (webkit_soup_directory_input_stream_read_next_file):
        (webkit_soup_directory_input_stream_read):
        (webkit_soup_directory_input_stream_close):
        (webkit_soup_directory_input_stream_class_init):
        (webkit_soup_directory_input_stream_init):
        (webkit_soup_directory_input_stream_new):
        * platform/network/soup/cache/soup-directory-input-stream.h: Added.
        * platform/network/soup/cache/soup-http-input-stream.c: Added.
        (webkit_soup_http_input_stream_finalize):
        (webkit_soup_http_input_stream_class_init):
        (webkit_soup_http_input_stream_seekable_iface_init):
        (webkit_soup_http_input_stream_init):
        (webkit_soup_http_input_stream_queue_message):
        (webkit_soup_http_input_stream_new):
        (webkit_soup_http_input_stream_got_headers):
        (webkit_soup_http_input_stream_got_chunk):
        (webkit_soup_http_input_stream_finished):
        (webkit_soup_http_input_stream_cancelled):
        (webkit_soup_http_input_stream_prepare_for_io):
        (webkit_soup_http_input_stream_done_io):
        (set_error_if_http_failed):
        (read_from_leftover):
        (webkit_soup_http_input_stream_send_internal):
        (send_sync_finished):
        (webkit_soup_http_input_stream_send):
        (webkit_soup_http_input_stream_read):
        (webkit_soup_http_input_stream_close):
        (wrapper_callback):
        (send_async_thread):
        (webkit_soup_http_input_stream_send_async_in_thread):
        (send_async_finished):
        (webkit_soup_http_input_stream_send_async_internal):
        (webkit_soup_http_input_stream_send_async):
        (webkit_soup_http_input_stream_send_finish):
        (read_async_done):
        (webkit_soup_http_input_stream_read_async):
        (webkit_soup_http_input_stream_read_finish):
        (webkit_soup_http_input_stream_close_async):
        (webkit_soup_http_input_stream_close_finish):
        (webkit_soup_http_input_stream_tell):
        (webkit_soup_http_input_stream_can_seek):
        (webkit_soup_http_input_stream_seek):
        (webkit_soup_http_input_stream_can_truncate):
        (webkit_soup_http_input_stream_truncate):
        (webkit_soup_http_input_stream_get_message):
        * platform/network/soup/cache/soup-http-input-stream.h: Added.
        * platform/network/soup/cache/soup-request-data.c: Added.
        (webkit_soup_request_data_init):
        (webkit_soup_request_data_finalize):
        (webkit_soup_request_data_check_uri):
        (uri_decoded_copy):
        (webkit_soup_request_data_send):
        (webkit_soup_request_data_get_content_length):
        (webkit_soup_request_data_get_content_type):
        (webkit_soup_request_data_class_init):
        * platform/network/soup/cache/soup-request-data.h: Added.
        * platform/network/soup/cache/soup-request-file.c: Added.
        (webkit_soup_request_file_get_file):
        (webkit_soup_request_file_init):
        (webkit_soup_request_file_finalize):
        (webkit_soup_request_file_check_uri):
        (webkit_soup_request_file_ftp_main_loop_quit):
        (webkit_soup_request_file_ensure_file_ftp):
        (webkit_soup_request_file_ensure_file):
        (webkit_soup_request_file_send):
        (webkit_soup_request_file_send_async_thread):
        (webkit_soup_request_file_send_async):
        (webkit_soup_request_file_send_finish):
        (webkit_soup_request_file_get_content_length):
        (webkit_soup_request_file_get_content_type):
        (webkit_soup_request_file_class_init):
        * platform/network/soup/cache/soup-request-file.h: Added.
        * platform/network/soup/cache/soup-request-http.c: Added.
        (webkit_soup_request_http_get_message):
        (webkit_soup_request_http_init):
        (webkit_soup_request_http_check_uri):
        (webkit_soup_request_http_finalize):
        (webkit_soup_request_http_send):
        (sent_async):
        (conditional_get_ready_cb):
        (send_async_cb):
        (webkit_soup_request_http_send_async):
        (webkit_soup_request_http_send_finish):
        (webkit_soup_request_http_get_content_length):
        (webkit_soup_request_http_get_content_type):
        (webkit_soup_request_http_class_init):
        * platform/network/soup/cache/soup-request-http.h: Added.
        * platform/network/soup/cache/soup-request.c: Added.
        (webkit_soup_request_init):
        (webkit_soup_request_finalize):
        (webkit_soup_request_set_property):
        (webkit_soup_request_get_property):
        (webkit_soup_request_initable_init):
        (webkit_soup_request_default_check_uri):
        (webkit_soup_request_default_send_async):
        (webkit_soup_request_default_send_finish):
        (webkit_soup_request_send):
        (webkit_soup_request_send_async):
        (webkit_soup_request_send_finish):
        (webkit_soup_request_class_init):
        (webkit_soup_request_initable_interface_init):
        (webkit_soup_request_get_uri):
        (webkit_soup_request_get_session):
        (webkit_soup_request_get_content_length):
        (webkit_soup_request_get_content_type):
        * platform/network/soup/cache/soup-request.h: Added.
        * platform/network/soup/cache/soup-requester.c: Added.
        (webkit_soup_requester_init):
        (finalize):
        (webkit_soup_requester_class_init):
        (init_request_types):
        (webkit_soup_requester_new):
        (webkit_soup_requester_request):
        (webkit_soup_requester_request_uri):
        (webkit_soup_scheme_is_valid):
        (webkit_soup_requester_add_protocol):
        (webkit_soup_requester_remove_protocol):
        (webkit_soup_error_quark):
        * platform/network/soup/cache/soup-requester.h: Added.
        * platform/network/soup/cache/webkit/soup-cache-private.h: Added.
        * platform/network/soup/cache/webkit/soup-cache.c: Added.
        (get_cacheability):
        (webkit_soup_cache_entry_free):
        (copy_headers):
        (update_headers):
        (webkit_soup_cache_entry_get_current_age):
        (webkit_soup_cache_entry_is_fresh_enough):
        (webkit_soup_message_get_cache_key):
        (webkit_soup_cache_entry_set_freshness):
        (webkit_soup_cache_entry_new):
        (webkit_soup_cache_writing_fixture_free):
        (close_ready_cb):
        (write_ready_cb):
        (msg_got_chunk_cb):
        (msg_got_body_cb):
        (webkit_soup_cache_entry_delete):
        (lru_compare_func):
        (cache_accepts_entries_of_size):
        (make_room_for_new_entry):
        (webkit_soup_cache_entry_insert_by_key):
        (msg_restarted_cb):
        (append_to_ready_cb):
        (msg_got_headers_cb):
        (webkit_soup_cache_send_response):
        (request_started):
        (attach):
        (webkit_soup_cache_session_feature_init):
        (webkit_soup_cache_init):
        (webkit_soup_cache_finalize):
        (webkit_soup_cache_set_property):
        (webkit_soup_cache_get_property):
        (webkit_soup_cache_constructed):
        (webkit_soup_cache_type_get_type):
        (webkit_soup_cache_class_init):
        (webkit_soup_cache_new):
        (webkit_soup_cache_has_response):
        (webkit_soup_cache_get_cacheability):
        (force_flush_timeout):
        (webkit_soup_cache_flush):
        (remove_cache_item):
        (webkit_soup_cache_clear):
        (webkit_soup_cache_generate_conditional_request):
        (pack_entry):
        (webkit_soup_cache_dump):
        (webkit_soup_cache_load):
        (webkit_soup_cache_set_max_size):
        (webkit_soup_cache_get_max_size):
        * platform/network/soup/cache/webkit/soup-cache.h: Added.
2010-10-13  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Add HTTP caching support
        https://bugs.webkit.org/show_bug.cgi?id=44261

        Bump the required version of GLib. The serialization/deserialization
        code of libsoup caching code uses GVariant, which was added to GLib in
        version 2.24.

        * GNUmakefile.am: Add paths for soup HTTP cache code.
        * autotools/webkit.m4: Increase required glib version.
2010-10-13  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Add HTTP caching support
        https://bugs.webkit.org/show_bug.cgi?id=44261

        Add include paths for the new soup HTTP cache code.

        * GNUmakefile.am: Add paths for the new soup HTTP cache code.

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

10 years agoChromium build fix.
barraclough@apple.com [Thu, 14 Oct 2010 00:27:59 +0000 (00:27 +0000)]
Chromium build fix.

* bindings/v8/ScriptProfiler.cpp:

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

10 years ago2010-10-13 Chris Evans <cevans@google.com>
cevans@google.com [Thu, 14 Oct 2010 00:21:40 +0000 (00:21 +0000)]
2010-10-13  Chris Evans  <cevans@google.com>

        Reviewed by Jian Li.

        Blob / BlobBuilder can be put into bad state with wild integers and strings, due to integer overflows
        https://bugs.webkit.org/show_bug.cgi?id=47382

        Add test for Blob.slice() integer overflow.

        * fast/files/blob-slice-overflow.html: Added.
        * fast/files/blob-slice-overflow-expected.txt: Added.
2010-10-13  Chris Evans  <cevans@google.com>

        Reviewed by Jian Li.

        Blob / BlobBuilder can be put into bad state with wild integers and strings, due to integer overflows
        https://bugs.webkit.org/show_bug.cgi?id=47382

        Fix integer overflow errors in Blob.slice and BlobBuilder.append.

        Test: fast/files/blob-slice-overflow.html

        * fileapi/Blob.cpp:
        (WebCore::Blob::slice): handle integer overflow properly.
        * fileapi/BlobBuilder.cpp:
        (WebCore::BlobBuilder::append): use correct type for vector length.

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

10 years agoBuild fix - remove some redundant references to ScriptString.
barraclough@apple.com [Thu, 14 Oct 2010 00:16:01 +0000 (00:16 +0000)]
Build fix - remove some redundant references to ScriptString.

* WebCore.gypi:
* WebCore.pro:
* bindings/v8/ScriptProfiler.cpp:

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

10 years ago2010-10-13 Yi Shen <yi.4.shen@nokia.com>
commit-queue@webkit.org [Wed, 13 Oct 2010 23:58:00 +0000 (23:58 +0000)]
2010-10-13  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] QtTestBrowser shows two Url input fields
        https://bugs.webkit.org/show_bug.cgi?id=47613

        * QtTestBrowser/mainwindow.cpp:
        (MainWindow::MainWindow):
        (MainWindow::buildUI):

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

10 years ago2010-10-13 Yi Shen <yi.4.shen@nokia.com>
commit-queue@webkit.org [Wed, 13 Oct 2010 23:42:55 +0000 (23:42 +0000)]
2010-10-13  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Tony Chang.

        [gdb] Add pretty-print supports for UString, Identifier and JSString
        https://bugs.webkit.org/show_bug.cgi?id=47601

        * gdb/webkit.py:

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

10 years agoBug 47621 - Remove bindings/v8/ScriptString
barraclough@apple.com [Wed, 13 Oct 2010 23:34:49 +0000 (23:34 +0000)]
Bug 47621 - Remove bindings/v8/ScriptString
This is now redundant.

Reviewed by Oliver Hunt.

* bindings/v8/ScriptCallFrame.h:
(WebCore::ScriptCallFrame::functionName):
* bindings/v8/ScriptFunctionCall.cpp:
* bindings/v8/ScriptFunctionCall.h:
* bindings/v8/ScriptString.h: Removed.
* bindings/v8/ScriptStringImpl.cpp: Removed.
* bindings/v8/ScriptStringImpl.h: Removed.

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

10 years agoDraw the find overlay holes
andersca@apple.com [Wed, 13 Oct 2010 23:12:21 +0000 (23:12 +0000)]
Draw the find overlay holes
https://bugs.webkit.org/show_bug.cgi?id=47631

Reviewed by John Sullivan.

WebCore:

Export symbols needed by WebKit2.

* WebCore.exp.in:

WebKit2:

* WebProcess/WebPage/FindPageOverlay.cpp:
(WebKit::FindPageOverlay::drawRect):
Draw the white frames and the holes.

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

10 years ago2010-10-13 James Simonsen <simonjam@chromium.org>
commit-queue@webkit.org [Wed, 13 Oct 2010 23:10:56 +0000 (23:10 +0000)]
2010-10-13  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Adler.

        Implement onreadystatechange event handler for Documents
        https://bugs.webkit.org/show_bug.cgi?id=26140

        * fast/dom/Document/readystate-expected.txt:
        * fast/dom/Document/readystate.html:
2010-10-13  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Adler.

        Implement onreadystatechange event handler for Documents
        https://bugs.webkit.org/show_bug.cgi?id=26140

        Test: fast/dom/Document/readystate.html

        * dom/Document.cpp:
        (WebCore::Document::setReadyState): Fire readystatechangeevent.
        (WebCore::Document::open): Clear event listeners.
        * dom/Document.h: Add readystatechange event.
        * dom/Document.idl: Ditto.

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

10 years agoNo review. Fix layout test, now that behavior is correct.
cfleizach@apple.com [Wed, 13 Oct 2010 23:07:21 +0000 (23:07 +0000)]
No review. Fix layout test, now that behavior is correct.

AX: accessibilityIsIgnored not respected on ARIA tables
https://bugs.webkit.org/show_bug.cgi?id=47564

* accessibility/aria-hidden-with-elements-expected.txt:
* accessibility/aria-hidden-with-elements.html:

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

10 years agoMark these scripts executable
commit-queue@webkit.org [Wed, 13 Oct 2010 23:03:33 +0000 (23:03 +0000)]
Mark these scripts executable

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

10 years agoAX: accessibilityIsIgnored not respected on ARIA tables
cfleizach@apple.com [Wed, 13 Oct 2010 22:53:32 +0000 (22:53 +0000)]
AX: accessibilityIsIgnored not respected on ARIA tables
https://bugs.webkit.org/show_bug.cgi?id=47564

Reviewed by Beth Dakin.

WebCore:

For platforms that ignore column headers and header container objects (everything
except Mac) on accessibility tables, that choice needs to be respected in
ARIA tables as well.

GTK is the only open platform doing this, so I'll have to collect the result of this
test. It was copied from table-hierarchy.html, but changed to use ARIA tables.

Test: platform/gtk/accessibility/aria-table-hierarchy.html

* accessibility/AccessibilityARIAGrid.cpp:
(WebCore::AccessibilityARIAGrid::addChildren):

LayoutTests:

Will gather the results from GTK after this runs.

* platform/gtk/accessibility/aria-table-hierarchy.html: Added.

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

10 years agoNo longer ASSERT for LayerRenderer in VideoLayerChromium destructor
hclam@chromium.org [Wed, 13 Oct 2010 22:50:32 +0000 (22:50 +0000)]
No longer ASSERT for LayerRenderer in VideoLayerChromium destructor
https://bugs.webkit.org/show_bug.cgi?id=47432

Patch by Victoria Kirst <vrk@google.com> on 2010-10-13
Reviewed by James Robinson.

* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::cleanupResources):

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

10 years ago2010-10-13 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 13 Oct 2010 22:48:37 +0000 (22:48 +0000)]
2010-10-13  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add list of Ubuntu packages needed by the EWS bots
        https://bugs.webkit.org/show_bug.cgi?id=47628

        I've been copy/pasting this list between bots, but it's better to have
        this checked in.

        * EWSTools/ubuntu-ews-packages: Added.

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

10 years ago2010-10-13 Leandro Pereira <leandro@profusion.mobi>
leandro@webkit.org [Wed, 13 Oct 2010 22:46:36 +0000 (22:46 +0000)]
2010-10-13  Leandro Pereira  <leandro@profusion.mobi>

        [EFL] Unreviewed. Build fix.

        * WebCoreSupport/FrameLoaderClientEfl.h: Use String instead of
        WebCore::String.
2010-10-13  Leandro Pereira  <leandro@profusion.mobi>

        [EFL] Unreviewed. Build fix.

        * CMakeLists.txt: Add ContextShadow.cpp.
        * CMakeListsEfl.txt: Add ContextShadowCairo.cpp.

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

10 years ago2010-10-13 Leandro Pereira <leandro@profusion.mobi>
commit-queue@webkit.org [Wed, 13 Oct 2010 22:39:16 +0000 (22:39 +0000)]
2010-10-13  Leandro Pereira  <leandro@profusion.mobi>

        Reviewed by Csaba Osztrogonác.

        [EFL] Adds a build slave.
        https://bugs.webkit.org/show_bug.cgi?id=47290

        * BuildSlaveSupport/build.webkit.org-config/config.json: Add an
        entry for a release build of the EFL port.
        * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add platform
        flag to build the EFL port.

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

10 years ago2010-10-13 Zhenyao Mo <zmo@google.com>
zmo@google.com [Wed, 13 Oct 2010 22:25:41 +0000 (22:25 +0000)]
2010-10-13  Zhenyao Mo  <zmo@google.com>

        Unreviewed, update WebGL test expectations.

        * platform/chromium/drt_expectations.txt:
* platform/chromium/test_expectations.txt:

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

10 years ago2010-10-13 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 13 Oct 2010 22:24:58 +0000 (22:24 +0000)]
2010-10-13  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Holger Freyther.

        [GTK] r69681 caused some tests to crash
        https://bugs.webkit.org/show_bug.cgi?id=47622

        Properly initialize m_layerContext on the ContextShadow so that in situations
        where beginShadowLayer bails out early with a null return value, it is set
        to null. This may happen when the first call to beginShadowLayer on a particular
        ContextShadow uses a region which is entirely outside the clip region or which
        is empty.

        * platform/graphics/cairo/ContextShadow.cpp:
        (WebCore::ContextShadow::ContextShadow): Properly initialize m_layerContext.

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

10 years agoDon't set the fill/stroke colorspace before filling/stroking
andersca@apple.com [Wed, 13 Oct 2010 21:44:08 +0000 (21:44 +0000)]
Don't set the fill/stroke colorspace before filling/stroking
https://bugs.webkit.org/show_bug.cgi?id=47619

Reviewed by Beth Dakin.

Setting the colorspace has the side-effect of setting the color to black, which is
not what we want. When fill/stroke is called, a fill/stroke color should already have been set.

Pixel tests show no regressions from this change.

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

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

10 years agoUnreviewed WinCairo build fix.
bfulgham@webkit.org [Wed, 13 Oct 2010 21:29:17 +0000 (21:29 +0000)]
Unreviewed WinCairo build fix.
New ContextShadow class not built for Windows builds.

* WebCore.vcproj/WebCore.vcproj: Add missing files for
building ContextShadow on WinCairo.
* platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
Add missing include for ContextShadow definition.

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

10 years ago2010-10-13 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 13 Oct 2010 21:19:08 +0000 (21:19 +0000)]
2010-10-13  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium expectations update.

        Fix line endings in a couple of inspector test expectations.

        * platform/chromium/inspector/console-trace-in-eval-expected.txt:
        * platform/chromium/inspector/console-uncaught-exception-in-eval-expected.txt:

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

10 years agoChromium build fix pt1.
barraclough@apple.com [Wed, 13 Oct 2010 20:51:08 +0000 (20:51 +0000)]
Chromium build fix pt1.

* bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::V8XMLHttpRequest::responseTextAccessorGetter):

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

10 years agoUse WKSI to get wheel event deltas
andersca@apple.com [Wed, 13 Oct 2010 20:40:57 +0000 (20:40 +0000)]
Use WKSI to get wheel event deltas
https://bugs.webkit.org/show_bug.cgi?id=47617

Reviewed by Darin Adler.

* Shared/mac/WebEventFactory.mm:
(WebKit::WebEventFactory::createWebWheelEvent):
Call WKGetWheelEventDeltas.

* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:pageNamespaceRef:]):
Call InitWebCoreSystemInterface.

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
Use dispatch_once.

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

10 years ago2010-10-13 Kenneth Russell <kbr@google.com>
kbr@google.com [Wed, 13 Oct 2010 20:29:40 +0000 (20:29 +0000)]
2010-10-13  Kenneth Russell  <kbr@google.com>

        Reviewed by James Robinson.

        Revert changes to WebViewImpl in r69633
        https://bugs.webkit.org/show_bug.cgi?id=47610

        Revert change to WebViewImpl.cpp in
        http://trac.webkit.org/changeset/69633 which incorrectly used
        PassRefPtr for a local variable instead of RefPtr. This was a fix
        for changes in http://trac.webkit.org/changeset/69619 and
        http://trac.webkit.org/changeset/69624 .

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):

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

10 years agoFix the Cairo build
aroben@apple.com [Wed, 13 Oct 2010 20:28:23 +0000 (20:28 +0000)]
Fix the Cairo build

* Shared/cairo/BackingStoreCairo.cpp: Added.
(WebKit::BackingStore::createGraphicsContext):
(WebKit::BackingStore::paint):
Stubbed out.

* win/WebKit2.vcproj: Build BackingStoreCG.cpp in CG builds and
BackingStoreCairo.cpp in Cairo builds.

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

10 years agoBuild fix.
andersca@apple.com [Wed, 13 Oct 2010 20:24:19 +0000 (20:24 +0000)]
Build fix.

* Shared/cg/BackingStoreCG.cpp:

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