WebKit-https.git
7 years agoSource/WebCore: Updating mouse cursor on style changes without emitting fake mousemov...
commit-queue@webkit.org [Fri, 5 Apr 2013 12:38:41 +0000 (12:38 +0000)]
Source/WebCore: Updating mouse cursor on style changes without emitting fake mousemove event
https://bugs.webkit.org/show_bug.cgi?id=101857

Patch by Aivo Paas <aivopaas@gmail.com> on 2013-04-05
Reviewed by Allan Sandfeld Jensen.

Mouse cursor changes in styles used to be reflected in UI through dispatching a fake
mousemove event. The old approach has some flaws: it emits a mousemove event in
javascript when there is no mouse movement involved (bug 85343); the fake mousemove
event is cancelled while there is a mouse button held down - cursor won't change
until mouse is moved or the button released (bug 53341).

The new approach does not use the fake mousemove event. Instead, it uses only the logic
needed for the actual cursor change to happen.

EventHandler::selectCursor was refactored to not take a whole mouse event but instead work with
HitTestResult so that EventHandler::updateCursor must not create a useless PlatformEvent.

Fixes: https://bugs.webkit.org/show_bug.cgi?id=85343 (mousemove event on cursor change)
       https://bugs.webkit.org/show_bug.cgi?id=53341 (no cursor change when mouse button down)

Tests: fast/events/mouse-cursor-change.html
       fast/events/mouse-cursor-no-mousemove.html

* page/EventHandler.cpp:
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::clear):
(WebCore::EventHandler::cursorUpdateTimerFired):
(WebCore::EventHandler::updateCursor):
(WebCore::EventHandler::selectCursor):
(WebCore::EventHandler::handleMouseMoveEvent):
(WebCore::EventHandler::scheduleCursorUpdate):
* page/EventHandler.h:
* page/FrameView.cpp:
(WebCore::FrameView::shouldSetCursor):
* page/FrameView.h:
* page/MouseEventWithHitTestResults.cpp:
(WebCore::MouseEventWithHitTestResults::isOverLink):
* rendering/HitTestResult.cpp:
(WebCore::HitTestResult::isOverLink):
* rendering/HitTestResult.h:
* rendering/RenderObject.cpp:
(WebCore::RenderObject::styleDidChange):

LayoutTests: Updating mouse cursor on style changes without emitting fake mousemove event
https://bugs.webkit.org/show_bug.cgi?id=101857
Changing CSS cursor should work no matter is mouse button is pressed or not
https://bugs.webkit.org/show_bug.cgi?id=53341

Patch by Aivo Paas <aivopaas@gmail.com> on 2013-04-05
Reviewed by Allan Sandfeld Jensen.

Added tests for changing cursor on mousemove, mousedown, mouseup and mousemove
while mouse button being held down. Also added test to verify that a mousemove
event is not fired for changing cursor when mouse is not moving.

* fast/events/mouse-cursor-change-expected.txt: Added.
* fast/events/mouse-cursor-change.html: Added.
* fast/events/mouse-cursor-no-mousemove-expected.txt: Added.
* fast/events/mouse-cursor-no-mousemove.html: Added.
* platform/mac/TestExpectations:

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

7 years ago[BlackBerry] WebOverlay: fix access to m_client
commit-queue@webkit.org [Fri, 5 Apr 2013 12:26:25 +0000 (12:26 +0000)]
[BlackBerry] WebOverlay: fix access to m_client
https://bugs.webkit.org/show_bug.cgi?id=114003

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Rob Buis.

m_client was replace by m_overlay in r146058.

* Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):

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

7 years ago[Qt] PluginsX11: exposedRect offset is applied twice when painting windowless
jocelyn.turcotte@digia.com [Fri, 5 Apr 2013 11:27:48 +0000 (11:27 +0000)]
[Qt] PluginsX11: exposedRect offset is applied twice when painting windowless
https://bugs.webkit.org/show_bug.cgi?id=114020

Reviewed by Simon Hausmann.

Both XGetImage and QPainter::drawImage would apply the offset.
Since the XImage will only contain the exposed rect, no need to specify
the source rect to drawImage.

* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::paintUsingXPixmap):

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

7 years ago[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
commit-queue@webkit.org [Fri, 5 Apr 2013 11:01:21 +0000 (11:01 +0000)]
[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
https://bugs.webkit.org/show_bug.cgi?id=114009

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

These methods were removed in r133517 but were accidentally
introduced again in r145968.
The previous patch didn't remove them all.

* WebKitSupport/DefaultTapHighlight.cpp:
* WebKitSupport/DefaultTapHighlight.h:
(DefaultTapHighlight):
* WebKitSupport/InspectorOverlayBlackBerry.cpp:
* WebKitSupport/InspectorOverlayBlackBerry.h:
(InspectorOverlay):
* WebKitSupport/SelectionOverlay.cpp:
* WebKitSupport/SelectionOverlay.h:
(SelectionOverlay):

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

7 years agoWeb Inspector: crash in InspectorDOMAgent::innerHighlightQuad after r147566
commit-queue@webkit.org [Fri, 5 Apr 2013 09:28:35 +0000 (09:28 +0000)]
Web Inspector: crash in InspectorDOMAgent::innerHighlightQuad after r147566
https://bugs.webkit.org/show_bug.cgi?id=113991

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-04-05
Reviewed by Joseph Pecoraro.

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::innerHighlightQuad):

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

7 years agoREGRESSION(r145279): Build fails while linking when MEDIA_STREAM is enabled
commit-queue@webkit.org [Fri, 5 Apr 2013 09:25:25 +0000 (09:25 +0000)]
REGRESSION(r145279): Build fails while linking when MEDIA_STREAM is enabled
https://bugs.webkit.org/show_bug.cgi?id=113294

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-05
Reviewed by Xan Lopez.

In r145279 NamedGetter extended attribute is added to
RTCStatsResponse.idl which makes the code generator to add
prototypes for JSRTCStatsResponse::nameGetter and
JSRTCStatsResponse::canGetItemsForName to the generated
JSRTCStatsResponse header, but they are not implemented
anywhere. We need to provide a JSRTCStatsResponseCustom file with
the implementation of both functions.

* GNUmakefile.list.am: Add JSRTCStatsResponseCustom.cpp to
compilation.
* Target.pri: Ditto.
* UseJSC.cmake: Ditto.
* WebCore.vcproj/WebCore.vcproj: Ditto.
* WebCore.vcxproj/WebCore.vcxproj: Ditto.
* WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
* bindings/js/JSRTCStatsResponseCustom.cpp: Added.
(WebCore):
(WebCore::JSRTCStatsResponse::canGetItemsForName):
(WebCore::JSRTCStatsResponse::nameGetter):

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

7 years agoRemove Chromium code from WebCore/loader
rniwa@webkit.org [Fri, 5 Apr 2013 09:12:07 +0000 (09:12 +0000)]
Remove Chromium code from WebCore/loader
https://bugs.webkit.org/show_bug.cgi?id=114011

Reviewed by Benjamin Poulain.

Removed.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::responseReceived):
* loader/DocumentThreadableLoader.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::FrameLoader):
(WebCore::FrameLoader::defaultObjectContentType):
(WebCore):
* loader/FrameLoader.h:
(FrameLoader):
* loader/FrameLoaderClient.h:
(FrameLoaderClient):
* loader/PingLoader.cpp:
(WebCore::PingLoader::loadImage):
(WebCore::PingLoader::sendPing):
(WebCore::PingLoader::sendViolationReport):
* loader/ResourceLoadScheduler.cpp:
(WebCore):
(WebCore::ResourceLoadScheduler::ResourceLoadScheduler):
(WebCore::ResourceLoadScheduler::scheduleLoad):
* loader/ResourceLoader.h:
* loader/SubresourceLoader.h:
* loader/ThreadableLoaderClient.h:
(ThreadableLoaderClient):
* loader/ThreadableLoaderClientWrapper.h:
(ThreadableLoaderClientWrapper):
* loader/appcache/ApplicationCacheHost.h:
(WebCore):
(ApplicationCacheHost):
* loader/cache/CachedRawResource.h:
(CachedRawResource):
(WebCore::CachedRawResourceClient::redirectReceived):
* loader/cache/CachedResource.cpp:
(WebCore):
(WebCore::CachedResource::load):
* loader/cache/CachedResource.h:
(WebCore::CachedResource::didSendData):
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::preload):
* loader/chromium: Removed.
* loader/chromium/CachedRawResourceChromium.cpp: Removed.
* loader/chromium/DocumentThreadableLoaderChromium.cpp: Removed.
* loader/chromium/ResourceLoaderChromium.cpp: Removed.
* loader/chromium/SubresourceLoaderChromium.cpp: Removed.

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

7 years agoLLint should be able to use x87 instead of SSE for floating pointer
allan.jensen@digia.com [Fri, 5 Apr 2013 09:05:03 +0000 (09:05 +0000)]
LLint should be able to use x87 instead of SSE for floating pointer

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

Reviewed by Filip Pizlo.

Implements LLInt floating point operations in x87, to ensure we support
x86 without SSE2.

X86 (except 64bit) now defaults to using x87 instructions in order to
support all 32bit x86 back to i686. The implementation uses the fucomi
instruction from i686 which sets the new minimum.

* offlineasm/x86.rb:

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

7 years ago[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
commit-queue@webkit.org [Fri, 5 Apr 2013 08:59:30 +0000 (08:59 +0000)]
[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
https://bugs.webkit.org/show_bug.cgi?id=114009

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

These methods were removed in r133517 but were accidentally
introduced again in r145968.

* Api/WebOverlay_p.h:
(WebOverlayPrivateWebKitThread):

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

7 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Fri, 5 Apr 2013 08:25:49 +0000 (08:25 +0000)]
Unreviewed GTK gardening.

* platform/gtk/TestExpectations: Removing a couple of expectations for tests that are now passing.

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

7 years ago[BlackBerry] WebOverlay: check if platformContext is null
commit-queue@webkit.org [Fri, 5 Apr 2013 08:24:50 +0000 (08:24 +0000)]
[BlackBerry] WebOverlay: check if platformContext is null
https://bugs.webkit.org/show_bug.cgi?id=114005

Patch by Anthony Scian <ascian@blackberry.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

RIM PR 256522
Internally reviewed by Mike Lattanzio.

The pointer returned by lockBufferDrawable can be null, so it
needs to be checked first before being used.

* Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):

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

7 years ago[GTK][WK2] WebKitLoaderClient: add missing initializers
commit-queue@webkit.org [Fri, 5 Apr 2013 08:22:13 +0000 (08:22 +0000)]
[GTK][WK2] WebKitLoaderClient: add missing initializers
https://bugs.webkit.org/show_bug.cgi?id=112961

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

There are two new attributes: pluginLoadPolicy and pluginDidFail.

* UIProcess/API/gtk/WebKitLoaderClient.cpp:
(attachLoaderClientToView):

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

7 years agoFix GTK+ for real after r147712
benjamin@webkit.org [Fri, 5 Apr 2013 08:20:29 +0000 (08:20 +0000)]
Fix GTK+ for real after r147712

Reviewed by Ryosuke Niwa.

.:

* GNUmakefile.am:
* Source/Platform: Added.
* Source/Platform/GNUmakefile.am: Added.

Source/Platform:

* GNUmakefile.am: Added.
* Platform: Added.

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

7 years ago[WK2][EFL] Encapsulate view states set-up within WebView
mikhail.pozdnyakov@intel.com [Fri, 5 Apr 2013 08:20:10 +0000 (08:20 +0000)]
[WK2][EFL] Encapsulate view states set-up within WebView
https://bugs.webkit.org/show_bug.cgi?id=110877

Reviewed by Benjamin Poulain.

View states set-up is encapsulated within WebView. This change
reduces both usage of EwkView inside WebView class and usage of
WebPageProxy inside EwkView class.

New WKView API was added so that EwkView can define whether or not
the view is visible and focused.

* UIProcess/API/C/efl/WKView.cpp:
(WKViewIsFocused):
(WKViewSetIsFocused):
(WKViewIsVisible):
(WKViewSetIsVisible):
* UIProcess/API/C/efl/WKView.h:
* UIProcess/API/efl/EwkView.cpp:
(::handleEvent):
(EwkView::handleEvasObjectShow):
(EwkView::handleEwkViewFocusIn):
(EwkView::handleEwkViewFocusOut):
* UIProcess/API/efl/EwkView.h:
* UIProcess/efl/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::setFocused):
(WebKit):
(WebKit::WebView::setVisible):
(WebKit::WebView::isViewFocused):
(WebKit::WebView::isViewVisible):
* UIProcess/efl/WebView.h:
(WebKit::WebView::isFocused):
(WebView):
(WebKit::WebView::isVisible):

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

7 years ago[EFL] New baseline for accessibility/aria-option-role.html
commit-queue@webkit.org [Fri, 5 Apr 2013 08:10:19 +0000 (08:10 +0000)]
[EFL] New baseline for accessibility/aria-option-role.html
https://bugs.webkit.org/show_bug.cgi?id=114006

Unreviewed, EFL gardening.

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-04-05

* platform/efl-wk1/TestExpectations:
* platform/efl-wk2/TestExpectations:
* platform/efl/accessibility/aria-option-role-expected.txt: Added.

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

7 years agoRemove Chromium code from WebCore/editing
rniwa@webkit.org [Fri, 5 Apr 2013 08:02:32 +0000 (08:02 +0000)]
Remove Chromium code from WebCore/editing
https://bugs.webkit.org/show_bug.cgi?id=114008

Reviewed by Benjamin Poulain.

Removed.

* editing/EditingBehavior.h:
(WebCore::EditingBehavior::shouldAllowSpellingSuggestionsWithoutSelection):
* editing/FrameSelection.h:
(WebCore):
* editing/chromium: Removed.
* editing/chromium/EditorChromium.cpp: Removed.
* editing/chromium/FrameSelectionChromium.cpp: Removed.

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

7 years agoRemove the chromium code from the filesystem module
benjamin@webkit.org [Fri, 5 Apr 2013 07:55:23 +0000 (07:55 +0000)]
Remove the chromium code from the filesystem module
https://bugs.webkit.org/show_bug.cgi?id=114002

Reviewed by Ryosuke Niwa.

* Modules/filesystem/DOMFileSystemBase.cpp:
(WebCore::DOMFileSystemBase::createFileSystemURL):
* Modules/filesystem/FileSystemType.h:
* Modules/filesystem/LocalFileSystem.cpp:
* Modules/filesystem/LocalFileSystem.h:
(LocalFileSystem):

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

7 years agoRemove Chromium code from Source/WebCore/dom
rniwa@webkit.org [Fri, 5 Apr 2013 07:48:24 +0000 (07:48 +0000)]
Remove Chromium code from Source/WebCore/dom
https://bugs.webkit.org/show_bug.cgi?id=114007

Reviewed by Benjamin Poulain.

Removed.

* dom/Document.cpp:
(WebCore::Document::recalcStyle):
(WebCore::Document::implicitClose):
(WebCore::Document::setFocusedNode):
* dom/MessagePortChannel.h:
(MessagePortChannel):
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::ShadowRoot):
* dom/default/chromium: Removed.
* dom/default/chromium/PlatformMessagePortChannelChromium.cpp: Removed.
* dom/default/chromium/PlatformMessagePortChannelChromium.h: Removed.

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

7 years agoRemove the chromium directories from WebCore/Modules
benjamin@webkit.org [Fri, 5 Apr 2013 07:32:07 +0000 (07:32 +0000)]
Remove the chromium directories from WebCore/Modules
https://bugs.webkit.org/show_bug.cgi?id=114000

Reviewed by Ryosuke Niwa.

First step in cleaning the code: remove the chromium-specific files.

* Modules/filesystem/chromium/DOMFileSystemChromium.cpp: Removed.
* Modules/filesystem/chromium/DataTransferItemFileSystemChromium.cpp: Removed.
* Modules/filesystem/chromium/DraggedIsolatedFileSystem.cpp: Removed.
* Modules/filesystem/chromium/DraggedIsolatedFileSystem.h: Removed.
* Modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.cpp: Removed.
* Modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.h: Removed.
* Modules/speech/chromium/SpeechSynthesisChromium.cpp: Removed.
* Modules/webdatabase/chromium/DatabaseObserver.h: Removed.
* Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp: Removed.
* Modules/webdatabase/chromium/QuotaTracker.cpp: Removed.
* Modules/webdatabase/chromium/QuotaTracker.h: Removed.
* Modules/webdatabase/chromium/SQLTransactionClientChromium.cpp: Removed.

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

7 years agoFix GTK+ build after r147712
benjamin@webkit.org [Fri, 5 Apr 2013 07:25:20 +0000 (07:25 +0000)]
Fix GTK+ build after r147712

Unreviewed.

* GNUmakefile.am: remove the reference to
Source/Platform/GNUmakefile.am. The file has been removed.

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

7 years agoRemove Chromium code from WebCore/accessibility
rniwa@webkit.org [Fri, 5 Apr 2013 07:12:17 +0000 (07:12 +0000)]
Remove Chromium code from WebCore/accessibility
https://bugs.webkit.org/show_bug.cgi?id=114001

Reviewed by Benjamin Poulain.

Removed.

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::AccessibilityObject):
(WebCore::AccessibilityObject::detach):
(WebCore::AccessibilityObject::isDetached):
* accessibility/AccessibilityObject.h:
(AccessibilityObject):
* accessibility/chromium: Removed.
* accessibility/chromium/AXObjectCacheChromium.cpp: Removed.
* accessibility/chromium/AccessibilityObjectChromium.cpp: Removed.

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

7 years agoRemove WTFURL from WebKit
benjamin@webkit.org [Fri, 5 Apr 2013 07:05:48 +0000 (07:05 +0000)]
Remove WTFURL from WebKit
https://bugs.webkit.org/show_bug.cgi?id=113994

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-05
Reviewed by Ryosuke Niwa.

.:

* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/WebCore:

* GNUmakefile.list.am:
* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:
* platform/KURL.cpp:
(WebCore):
(WebCore::KURL::reportMemoryUsage):
(WebCore::KURL::isSafeToSendToAnotherThread):
* platform/KURL.h:
(KURL):
(WebCore):
* platform/KURLWTFURL.cpp: Removed.
* platform/KURLWTFURLImpl.h: Removed.
* platform/cf/KURLCFNet.cpp:
(WebCore::KURL::KURL):
(WebCore::KURL::createCFURL):
(WebCore):
* platform/mac/KURLMac.mm:
(WebCore::KURL::KURL):
(WebCore::KURL::createCFURL):

Source/WebKit/blackberry:

* WebCoreSupport/AboutDataUseFeatures.in:

Source/WTF:

Painful, but that is for the best now :(

* GNUmakefile.list.am:
* WTF.xcodeproj/project.pbxproj:
* wtf/MemoryInstrumentationParsedURL.h: Removed.
* wtf/url/api/ParsedURL.cpp: Removed.
* wtf/url/api/ParsedURL.h: Removed.
* wtf/url/api/URLBuffer.h: Removed.
* wtf/url/api/URLQueryCharsetConverter.h: Removed.
* wtf/url/api/URLString.cpp: Removed.
* wtf/url/api/URLString.h: Removed.
* wtf/url/src/RawURLBuffer.h: Removed.
* wtf/url/src/URLCanon.h: Removed.
* wtf/url/src/URLCanonEtc.cpp: Removed.
* wtf/url/src/URLCanonFilesystemurl.cpp: Removed.
* wtf/url/src/URLCanonFileurl.cpp: Removed.
* wtf/url/src/URLCanonHost.cpp: Removed.
* wtf/url/src/URLCanonICU.cpp: Removed.
* wtf/url/src/URLCanonIP.cpp: Removed.
* wtf/url/src/URLCanonInternal.cpp: Removed.
* wtf/url/src/URLCanonInternal.h: Removed.
* wtf/url/src/URLCanonMailto.cpp: Removed.
* wtf/url/src/URLCanonPath.cpp: Removed.
* wtf/url/src/URLCanonPathurl.cpp: Removed.
* wtf/url/src/URLCanonQuery.cpp: Removed.
* wtf/url/src/URLCanonRelative.cpp: Removed.
* wtf/url/src/URLCanonStdURL.cpp: Removed.
* wtf/url/src/URLCharacterTypes.cpp: Removed.
* wtf/url/src/URLCharacterTypes.h: Removed.
* wtf/url/src/URLComponent.h: Removed.
* wtf/url/src/URLFile.h: Removed.
* wtf/url/src/URLParse.cpp: Removed.
* wtf/url/src/URLParse.h: Removed.
* wtf/url/src/URLParseFile.cpp: Removed.
* wtf/url/src/URLParseInternal.h: Removed.
* wtf/url/src/URLSegments.cpp: Removed.
* wtf/url/src/URLSegments.h: Removed.
* wtf/url/src/URLUtil.cpp: Removed.
* wtf/url/src/URLUtil.h: Removed.
* wtf/url/src/URLUtilInternal.h: Removed.

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

7 years agoRemove Webkit/chromium
benjamin@webkit.org [Fri, 5 Apr 2013 06:55:43 +0000 (06:55 +0000)]
Remove Webkit/chromium
https://bugs.webkit.org/show_bug.cgi?id=113998

Reviewed by Ryosuke Niwa.

O Knights of Ni, you are just and fair, and we will return with a shrubbery.

* chromium: Removed.

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

7 years agoWinCairo build fails to link.
commit-queue@webkit.org [Fri, 5 Apr 2013 06:46:48 +0000 (06:46 +0000)]
WinCairo build fails to link.
https://bugs.webkit.org/show_bug.cgi?id=113873

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-04-04
Reviewed by Brent Fulgham.

Removed double guards for USE(ACCELERATED_COMPOSITING),
and moved methods out of USE(ACCELERATED_COMPOSITING) guard to fix linker errors.

* page/FrameView.cpp:
(WebCore::FrameView::setWantsLayerForTopOverHangArea):
(WebCore::FrameView::setWantsLayerForBottomOverHangArea):
(WebCore::FrameView::setWantsLayerForHeader):
(WebCore::FrameView::setWantsLayerForFooter):
(WebCore::FrameView::setHeaderHeight):
(WebCore::FrameView::setFooterHeight):

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

7 years agoRemove the top level gyp directory and Platform/chromium
rniwa@webkit.org [Fri, 5 Apr 2013 06:39:48 +0000 (06:39 +0000)]
Remove the top level gyp directory and Platform/chromium
https://bugs.webkit.org/show_bug.cgi?id=113999

Reviewed by Benjamin Poulain.

.:

* Source/Platform: Removed.
* Source/gyp: Removed.

Source/Platform:

* Platform.gyp: Removed.
* Platform.gyp/.gitignore: Removed.
* Platform.gyp/Platform.gyp: Removed.
* Platform.gypi: Removed.
* chromium: Removed.
* chromium/public: Removed.
* chromium/public/Platform.h: Removed.
* chromium/public/WebAnimation.h: Removed.
* chromium/public/WebAnimationCurve.h: Removed.
* chromium/public/WebAnimationDelegate.h: Removed.
* chromium/public/WebAudioBus.h: Removed.
* chromium/public/WebAudioDestinationConsumer.h: Removed.
* chromium/public/WebAudioDevice.h: Removed.
* chromium/public/WebBlobData.h: Removed.
* chromium/public/WebBlobRegistry.h: Removed.
* chromium/public/WebCString.h: Removed.
* chromium/public/WebCanvas.h: Removed.
* chromium/public/WebClipboard.h: Removed.
* chromium/public/WebColor.h: Removed.
* chromium/public/WebCommon.h: Removed.
* chromium/public/WebCompositorOutputSurface.h: Removed.
* chromium/public/WebCompositorSupport.h: Removed.
* chromium/public/WebContentLayer.h: Removed.
* chromium/public/WebContentLayerClient.h: Removed.
* chromium/public/WebCookie.h: Removed.
* chromium/public/WebCookieJar.h: Removed.
* chromium/public/WebData.h: Removed.
* chromium/public/WebDiscardableMemory.h: Removed.
* chromium/public/WebDragData.h: Removed.
* chromium/public/WebExternalTextureLayer.h: Removed.
* chromium/public/WebExternalTextureLayerClient.h: Removed.
* chromium/public/WebFileError.h: Removed.
* chromium/public/WebFileInfo.h: Removed.
* chromium/public/WebFileSystem.h: Removed.
* chromium/public/WebFileSystemCallbacks.h: Removed.
* chromium/public/WebFileSystemEntry.h: Removed.
* chromium/public/WebFileSystemType.h: Removed.
* chromium/public/WebFileUtilities.h: Removed.
* chromium/public/WebFilterOperation.h: Removed.
* chromium/public/WebFilterOperations.h: Removed.
* chromium/public/WebFlingAnimator.h: Removed.
* chromium/public/WebFloatAnimationCurve.h: Removed.
* chromium/public/WebFloatKeyframe.h: Removed.
* chromium/public/WebFloatPoint.h: Removed.
* chromium/public/WebFloatQuad.h: Removed.
* chromium/public/WebFloatRect.h: Removed.
* chromium/public/WebFloatSize.h: Removed.
* chromium/public/WebGamepad.h: Removed.
* chromium/public/WebGamepads.h: Removed.
* chromium/public/WebGestureCurve.h: Removed.
* chromium/public/WebGestureCurveTarget.h: Removed.
* chromium/public/WebGraphicsContext3D.h: Removed.
* chromium/public/WebGraphicsMemoryAllocation.h: Removed.
* chromium/public/WebGraphicsMemoryStats.h: Removed.
* chromium/public/WebHTTPBody.h: Removed.
* chromium/public/WebHTTPHeaderVisitor.h: Removed.
* chromium/public/WebHTTPLoadInfo.h: Removed.
* chromium/public/WebHyphenator.h: Removed.
* chromium/public/WebImage.h: Removed.
* chromium/public/WebImageLayer.h: Removed.
* chromium/public/WebInputHandler.h: Removed.
* chromium/public/WebInputHandlerClient.h: Removed.
* chromium/public/WebLayer.h: Removed.
* chromium/public/WebLayerPositionConstraint.h: Removed.
* chromium/public/WebLayerScrollClient.h: Removed.
* chromium/public/WebLayerTreeView.h: Removed.
* chromium/public/WebLocalizedString.h: Removed.
* chromium/public/WebMediaConstraints.h: Removed.
* chromium/public/WebMediaStream.h: Removed.
* chromium/public/WebMediaStreamCenter.h: Removed.
* chromium/public/WebMediaStreamCenterClient.h: Removed.
* chromium/public/WebMediaStreamSource.h: Removed.
* chromium/public/WebMediaStreamSourcesRequest.h: Removed.
* chromium/public/WebMediaStreamTrack.h: Removed.
* chromium/public/WebMessagePortChannel.h: Removed.
* chromium/public/WebMessagePortChannelClient.h: Removed.
* chromium/public/WebMimeRegistry.h: Removed.
* chromium/public/WebNonCopyable.h: Removed.
* chromium/public/WebPluginListBuilder.h: Removed.
* chromium/public/WebPoint.h: Removed.
* chromium/public/WebPrerender.h: Removed.
* chromium/public/WebPrerenderingSupport.h: Removed.
* chromium/public/WebPrivateOwnPtr.h: Removed.
* chromium/public/WebPrivatePtr.h: Removed.
* chromium/public/WebRTCConfiguration.h: Removed.
* chromium/public/WebRTCDTMFSenderHandler.h: Removed.
* chromium/public/WebRTCDTMFSenderHandlerClient.h: Removed.
* chromium/public/WebRTCDataChannelHandler.h: Removed.
* chromium/public/WebRTCDataChannelHandlerClient.h: Removed.
* chromium/public/WebRTCICECandidate.h: Removed.
* chromium/public/WebRTCPeerConnectionHandler.h: Removed.
* chromium/public/WebRTCPeerConnectionHandlerClient.h: Removed.
* chromium/public/WebRTCSessionDescription.h: Removed.
* chromium/public/WebRTCSessionDescriptionRequest.h: Removed.
* chromium/public/WebRTCStatsRequest.h: Removed.
* chromium/public/WebRTCStatsResponse.h: Removed.
* chromium/public/WebRTCVoidRequest.h: Removed.
* chromium/public/WebRect.h: Removed.
* chromium/public/WebReferrerPolicy.h: Removed.
* chromium/public/WebRenderingStats.h: Removed.
* chromium/public/WebScreenInfo.h: Removed.
* chromium/public/WebScrollbar.h: Removed.
* chromium/public/WebScrollbarLayer.h: Removed.
* chromium/public/WebScrollbarThemeGeometry.h: Removed.
* chromium/public/WebScrollbarThemePainter.h: Removed.
* chromium/public/WebSize.h: Removed.
* chromium/public/WebSocketStreamError.h: Removed.
* chromium/public/WebSocketStreamHandle.h: Removed.
* chromium/public/WebSocketStreamHandleClient.h: Removed.
* chromium/public/WebSolidColorLayer.h: Removed.
* chromium/public/WebSpeechSynthesisUtterance.h: Removed.
* chromium/public/WebSpeechSynthesisVoice.h: Removed.
* chromium/public/WebSpeechSynthesizer.h: Removed.
* chromium/public/WebSpeechSynthesizerClient.h: Removed.
* chromium/public/WebStorageArea.h: Removed.
* chromium/public/WebStorageNamespace.h: Removed.
* chromium/public/WebString.h: Removed.
* chromium/public/WebThread.h: Removed.
* chromium/public/WebThreadSafeData.h: Removed.
* chromium/public/WebTransformAnimationCurve.h: Removed.
* chromium/public/WebTransformKeyframe.h: Removed.
* chromium/public/WebTransformOperations.h: Removed.
* chromium/public/WebURL.h: Removed.
* chromium/public/WebURLError.h: Removed.
* chromium/public/WebURLLoadTiming.h: Removed.
* chromium/public/WebURLLoader.h: Removed.
* chromium/public/WebURLLoaderClient.h: Removed.
* chromium/public/WebURLRequest.h: Removed.
* chromium/public/WebURLResponse.h: Removed.
* chromium/public/WebUnitTestSupport.h: Removed.
* chromium/public/WebVector.h: Removed.
* chromium/public/WebWorkerRunLoop.h: Removed.
* chromium/public/android: Removed.
* chromium/public/android/WebSandboxSupport.h: Removed.
* chromium/public/android/WebThemeEngine.h: Removed.
* chromium/public/default: Removed.
* chromium/public/default/WebThemeEngine.h: Removed.
* chromium/public/linux: Removed.
* chromium/public/linux/WebFontFamily.h: Removed.
* chromium/public/linux/WebFontInfo.h: Removed.
* chromium/public/linux/WebFontRenderStyle.h: Removed.
* chromium/public/linux/WebSandboxSupport.h: Removed.
* chromium/public/mac: Removed.
* chromium/public/mac/WebSandboxSupport.h: Removed.
* chromium/public/mac/WebThemeEngine.h: Removed.
* chromium/public/win: Removed.
* chromium/public/win/WebSandboxSupport.h: Removed.
* chromium/public/win/WebThemeEngine.h: Removed.
* chromium/src: Removed.
* chromium/src/Platform.cpp: Removed.
* chromium/src/WebActiveGestureAnimation.cpp: Removed.
* chromium/src/WebActiveGestureAnimation.h: Removed.
* chromium/src/WebCString.cpp: Removed.
* chromium/src/WebFilterOperation.cpp: Removed.
* chromium/src/WebFilterOperations.cpp: Removed.
* chromium/src/WebFloatQuad.cpp: Removed.
* chromium/src/WebPrerenderingSupport.cpp: Removed.
* chromium/src/WebString.cpp: Removed.

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

7 years agoRemove ChromiumPublicApi pattern, and cc/message rules for it.
tkent@chromium.org [Fri, 5 Apr 2013 06:20:59 +0000 (06:20 +0000)]
Remove ChromiumPublicApi pattern, and cc/message rules for it.

* Scripts/webkitpy/common/config/watchlist:

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

7 years agoRemove code for 10.5 and earlier from Source/WebCore
rniwa@webkit.org [Fri, 5 Apr 2013 06:05:11 +0000 (06:05 +0000)]
Remove code for 10.5 and earlier from Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=113754

Reviewed by Benjamin Poulain.

Removed the code for 10.5 and removed if-def for 10.6.

* WebCore.xcodeproj/project.pbxproj:
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):
* platform/LocalizedStrings.cpp:
(WebCore::imageTitle):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::setAllowsFontSmoothing):
* platform/graphics/cg/ImageCG.cpp:
(WebCore::Image::drawPattern):
* platform/graphics/cg/ImageSourceCG.cpp:
(WebCore::ImageSource::clear):
* platform/graphics/cg/PathCG.cpp:
(WebCore::Path::boundingRect):
* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore):
(WebCore::FontPlatformData::ctFont):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::supportsFullscreen):
* platform/graphics/mac/ComplexTextControllerCoreText.mm:
* platform/graphics/mac/FontCacheMac.mm:
(WebCore):
(WebCore::fontCacheRegisteredFontsChangedNotificationCallback):
(WebCore::FontCache::platformInit):
* platform/graphics/mac/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::~FontCustomPlatformData):
(WebCore::createFontCustomPlatformData):
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::createQTMovie):
(WebCore::MediaPlayerPrivateQTKit::supportsFullscreen):
(WebCore::MediaPlayerPrivateQTKit::setClosedCaptionsVisible):
(WebCore::MediaPlayerPrivateQTKit::cacheMovieScale):
* platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::SimpleFontData::platformInit):
* platform/graphics/mac/WebLayer.h:
* platform/mac/CursorMac.mm:
(WebCore::Cursor::ensurePlatformCursor):
* platform/mac/DisplaySleepDisabler.cpp:
(WebCore::DisplaySleepDisabler::DisplaySleepDisabler):
(WebCore):
* platform/mac/DisplaySleepDisabler.h:
(DisplaySleepDisabler):
* platform/mac/EmptyProtocolDefinitions.h:
* platform/mac/HTMLConverter.h:
* platform/mac/HTMLConverter.mm:
* platform/mac/PopupMenuMac.mm:
(WebCore::PopupMenuMac::populate):
* platform/mac/ScrollElasticityController.mm:
(systemUptime):
* platform/mac/SharedTimerMac.mm:
(PowerObserver):
(WebCore::PowerObserver::PowerObserver):
(WebCore::PowerObserver::~PowerObserver):
(WebCore::PowerObserver::didReceiveSystemPowerNotification):
* platform/mac/SuddenTermination.mm:
* platform/mac/WebCoreFullScreenWindow.mm:
(-[WebCoreFullScreenWindow initWithContentRect:styleMask:backing:defer:]):
* platform/mac/WebFontCache.mm:
(+[WebFontCache getTraits:inFamily:]):
(+[WebFontCache internalFontWithFamily:traits:weight:size:]):
* platform/mac/WebVideoFullscreenController.mm:
(SOFT_LINK_POINTER):
(-[WebVideoFullscreenController updateMenuAndDockForFullscreen]):
* platform/mac/WebVideoFullscreenHUDWindowController.mm:
(createControlWithMediaUIControlType):
(-[WebVideoFullscreenHUDWindowController windowDidLoad]):
* platform/network/Credential.h:
* platform/network/cf/DNSCFNet.cpp:
(WebCore::DNSResolveQueue::platformProxyIsEnabledInSystemPreferences):
* platform/network/cf/ProxyServerCFNet.cpp:
(WebCore):
(WebCore::proxyServersForURL):
* platform/network/cf/SocketStreamHandleCFNet.cpp:
(WebCore::SocketStreamHandle::chooseProxy):
* platform/network/mac/AuthenticationMac.mm:
(WebCore):
* platform/network/mac/WebCoreURLResponse.mm:
(WebCore::adjustMIMETypeIfNecessary):
* platform/text/TextChecking.h:
(WebCore):

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

7 years agoTemporarily disable the Python unittests broken by the commit queue not running layou...
benjamin@webkit.org [Fri, 5 Apr 2013 05:36:52 +0000 (05:36 +0000)]
Temporarily disable the Python unittests broken by the commit queue not running layout tests
https://bugs.webkit.org/show_bug.cgi?id=113997

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Ryosuke Niwa.

Disable the tests until Ryosuke gets the time and hardware to have
a testing commit-queue.

* Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
(CommitQueueTaskTest):
* Scripts/webkitpy/tool/commands/queues_unittest.py:
(CommitQueueTest):

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

7 years agoQt build fix attempt after r147684.
rniwa@webkit.org [Fri, 5 Apr 2013 05:24:18 +0000 (05:24 +0000)]
Qt build fix attempt after r147684.

* html/canvas/CanvasRenderingContext.cpp:

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

7 years agoRemove Chromium builders from build.webkit.org
rniwa@webkit.org [Fri, 5 Apr 2013 05:17:47 +0000 (05:17 +0000)]
Remove Chromium builders from build.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=113990

Reviewed by Benjamin Poulain.

Land the part to disable triggering of Chromium builders first so that we may start
deleting more Chromium code that breaks the update step.

* BuildSlaveSupport/build.webkit.org-config/config.json:

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

7 years agoNixed the defunct chromium folder from ManualTests
ggaren@apple.com [Fri, 5 Apr 2013 04:57:27 +0000 (04:57 +0000)]
Nixed the defunct chromium folder from ManualTests
https://bugs.webkit.org/show_bug.cgi?id=113995

Reviewed by Benjamin Poulain.

* ManualTests/chromium: Removed.
* ManualTests/chromium/autofill-popup-shiftupdown.hml: Removed.
* ManualTests/chromium/drag-image-accounts-for-device-scale.html: Removed.
* ManualTests/chromium/modifiers-during-drag-and-drop.html: Removed.
* ManualTests/chromium/no-autofill-on-readonly.html: Removed.
* ManualTests/chromium/onchange-reload-popup.html: Removed.
* ManualTests/chromium/popup-menu-crash.html: Removed.
* ManualTests/chromium/select-close-popup-value-change.html: Removed.
* ManualTests/chromium/suggestions-popup-font-change.html: Removed.

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

7 years agoRemove Chromium's DumpRenderTree
benjamin@webkit.org [Fri, 5 Apr 2013 04:53:13 +0000 (04:53 +0000)]
Remove Chromium's DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=113989

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Kent Tamura.

On second thought, let's not go to Camelot. It is a silly place.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetDefaultsToConsistentValues):

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

7 years agoNixed the defunct chromium folder from DumpRenderTree
ggaren@apple.com [Fri, 5 Apr 2013 04:46:03 +0000 (04:46 +0000)]
Nixed the defunct chromium folder from DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=113993

Reviewed by Ryosuke Niwa.

* DumpRenderTree/chromium: Removed.
* DumpRenderTree/chromium/DRTDevToolsAgent.cpp: Removed.
* DumpRenderTree/chromium/DRTDevToolsAgent.h: Removed.
* DumpRenderTree/chromium/DRTDevToolsClient.cpp: Removed.
* DumpRenderTree/chromium/DRTDevToolsClient.h: Removed.
* DumpRenderTree/chromium/DumpRenderTree.cpp: Removed.
* DumpRenderTree/chromium/ImageDiff.cpp: Removed.
* DumpRenderTree/chromium/LayoutTestHelper.mm: Removed.
* DumpRenderTree/chromium/LayoutTestHelperWin.cpp: Removed.
* DumpRenderTree/chromium/MockPlatform.cpp: Removed.
* DumpRenderTree/chromium/MockPlatform.h: Removed.
* DumpRenderTree/chromium/MockWebPrerenderingSupport.cpp: Removed.
* DumpRenderTree/chromium/MockWebPrerenderingSupport.h: Removed.
* DumpRenderTree/chromium/Task.cpp: Removed.
* DumpRenderTree/chromium/Task.h: Removed.
* DumpRenderTree/chromium/TestEventPrinter.cpp: Removed.
* DumpRenderTree/chromium/TestEventPrinter.h: Removed.
* DumpRenderTree/chromium/TestNavigationController.cpp: Removed.
* DumpRenderTree/chromium/TestNavigationController.h: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: Removed.
* DumpRenderTree/chromium/TestRunner: Removed.
* DumpRenderTree/chromium/TestRunner/public: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebPreferences.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTask.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestCommon.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestInterfaces.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h: Removed.
* DumpRenderTree/chromium/TestRunner/src: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppBoundClass.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppBoundClass.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppVariant.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppVariant.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/EventSender.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/EventSender.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/GamepadController.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/GamepadController.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockConstraints.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockConstraints.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockGrammarCheck.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockGrammarCheck.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDTMFSenderHandler.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDTMFSenderHandler.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCPeerConnectionHandler.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCPeerConnectionHandler.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechInputController.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechInputController.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechRecognizer.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechRecognizer.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/NotificationPresenter.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/NotificationPresenter.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/SpellCheckClient.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/SpellCheckClient.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestCommon.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestCommon.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestPlugin.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestPlugin.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestRunner.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TextInputController.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TextInputController.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebPermissions.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebPermissions.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTask.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeControlWin.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeControlWin.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineMac.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineMac.mm: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineWin.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineWin.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebUserMediaClientMock.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebUserMediaClientMock.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/config.h: Removed.
* DumpRenderTree/chromium/TestShell.cpp: Removed.
* DumpRenderTree/chromium/TestShell.h: Removed.
* DumpRenderTree/chromium/TestShellAndroid.cpp: Removed.
* DumpRenderTree/chromium/TestShellMac.mm: Removed.
* DumpRenderTree/chromium/TestShellPosix.cpp: Removed.
* DumpRenderTree/chromium/TestShellStub.cpp: Removed.
* DumpRenderTree/chromium/TestShellWin.cpp: Removed.
* DumpRenderTree/chromium/TestShellX11.cpp: Removed.
* DumpRenderTree/chromium/WebViewHost.cpp: Removed.
* DumpRenderTree/chromium/WebViewHost.h: Removed.
* DumpRenderTree/chromium/android_fallback_fonts.xml: Removed.
* DumpRenderTree/chromium/android_main_fonts.xml: Removed.
* DumpRenderTree/chromium/config.h: Removed.
* DumpRenderTree/chromium/fonts.conf: Removed.

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

7 years agoNixed the defunct chromium folder from WTF
ggaren@apple.com [Fri, 5 Apr 2013 04:40:31 +0000 (04:40 +0000)]
Nixed the defunct chromium folder from WTF
https://bugs.webkit.org/show_bug.cgi?id=113992

Reviewed by Ryosuke Niwa.

* wtf/chromium: Removed.
* wtf/chromium/ChromiumThreading.h: Removed.
* wtf/chromium/MainThreadChromium.cpp: Removed.

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

7 years agoalternateFamilyName should return a null, not an empty value
benjamin@webkit.org [Fri, 5 Apr 2013 04:39:58 +0000 (04:39 +0000)]
alternateFamilyName should return a null, not an empty value
https://bugs.webkit.org/show_bug.cgi?id=113987

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Anders Carlsson.

The string object corresponding semantically to "no-value" is
a null string, not an empty string.

Fix alternateFamilyName() accordingly.

* platform/graphics/FontCache.cpp:
(WebCore::alternateFamilyName):
(WebCore::FontCache::getCachedFontPlatformData):

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

7 years ago[BlackBerry] DOMSupport::isFixedPositionOrHasFixedPositionAncestor stops traversing...
commit-queue@webkit.org [Fri, 5 Apr 2013 03:46:22 +0000 (03:46 +0000)]
[BlackBerry] DOMSupport::isFixedPositionOrHasFixedPositionAncestor stops traversing render tree when it hits an iframe element
https://bugs.webkit.org/show_bug.cgi?id=113944

Patch by Andrew Lo <anlo@rim.com> on 2013-04-04
Reviewed by Rob Buis.
Internally reviewed by Mike Fenton.

Internal PR 320732.
When checking whether a RenderObject is fixed position or has a fixed position
ancestor, we traverse the render tree upwards.

When we reach the root of the tree, check whether the root is an
iframe and has an element owner. If so, we also need to continue iterating
up the tree from the owner to see if the iframe is a descendant of a fixed
position element.

* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::isFixedPositionOrHasFixedPositionAncestor):

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

7 years ago[EFL][WK2] Add support for getting page contents as string
commit-queue@webkit.org [Fri, 5 Apr 2013 02:52:06 +0000 (02:52 +0000)]
[EFL][WK2] Add support for getting page contents as string
https://bugs.webkit.org/show_bug.cgi?id=106752

Patch by KwangYong Choi <ky0.choi@samsung.com> on 2013-04-04
Reviewed by Andreas Kling.

Modified ewk_view_page_contents_get() API to get page contents as string.
EWK_PAGE_CONTENTS_TYPE_STRING is added to Ewk_Page_Contents_Type.
Now, we can use both EWK_PAGE_CONTENTS_TYPE_MHTML and EWK_PAGE_CONTENTS_TYPE_STRING
for getting page contents.

* UIProcess/API/efl/ewk_view.cpp:
(Ewk_Page_Contents_Context):
(ewkViewPageContentsAsMHTMLCallback):
(ewkViewPageContentsAsStringCallback):
(ewk_view_page_contents_get):
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(PageContentsAsMHTMLCallback):
(PageContentsAsStringCallback):
(TEST_F):

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

7 years agoChange class_as_selector-expected.html to be a ref-test
benjamin@webkit.org [Fri, 5 Apr 2013 02:51:23 +0000 (02:51 +0000)]
Change class_as_selector-expected.html to be a ref-test
https://bugs.webkit.org/show_bug.cgi?id=113970

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Geoffrey Garen.

The test checks style can be applied to text with a CSS class.
The reference is done by applying a style attribute directly
on each element.

* css1/basic/class_as_selector-expected.html: Added.
* platform/efl/css1/basic/class_as_selector-expected.png: Removed.
* platform/efl/css1/basic/class_as_selector-expected.txt: Removed.
* platform/gtk/css1/basic/class_as_selector-expected.txt: Removed.
* platform/mac/css1/basic/class_as_selector-expected.png: Removed.
* platform/mac/css1/basic/class_as_selector-expected.txt: Removed.
* platform/qt/css1/basic/class_as_selector-expected.png: Removed.
* platform/qt/css1/basic/class_as_selector-expected.txt: Removed.

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

7 years agoUnskip 3 backface-visibility tests on OS X
benjamin@webkit.org [Fri, 5 Apr 2013 02:48:14 +0000 (02:48 +0000)]
Unskip 3 backface-visibility tests on OS X

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04

* platform/mac/TestExpectations:
The 3 pixel tests pass on WebKit1 and WebKit2.

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

7 years agoUpdate WebKit.org's contact page
benjamin@webkit.org [Fri, 5 Apr 2013 02:43:56 +0000 (02:43 +0000)]
Update WebKit.org's contact page
https://bugs.webkit.org/show_bug.cgi?id=113968

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Geoffrey Garen.

* contact.html:
-Add a direct link to our archives on Gmane.
-References the ports mailing-lists. This may reduces the emails
 erroneously sent to webkit-dev.
-Add a link to our "reporting bug page".
-Get rid of the link to CIA. The website is dead.

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

7 years agoRemove the rebaseline queue server since nobody except maybe one person from Google...
rniwa@webkit.org [Fri, 5 Apr 2013 02:39:17 +0000 (02:39 +0000)]
Remove the rebaseline queue server since nobody except maybe one person from Google uses it.

Rubber stamped by Benjamin Poulain.

* RebaselineQueueServer: Removed.
* RebaselineQueueServer/app.yaml: Removed.
* RebaselineQueueServer/handlers: Removed.
* RebaselineQueueServer/handlers/__init__.py: Removed.
* RebaselineQueueServer/handlers/builderqueue.py: Removed.
* RebaselineQueueServer/handlers/pages.py: Removed.
* RebaselineQueueServer/index.yaml: Removed.
* RebaselineQueueServer/main.py: Removed.
* RebaselineQueueServer/model: Removed.
* RebaselineQueueServer/model/__init__.py: Removed.
* RebaselineQueueServer/model/queueentry.py: Removed.
* RebaselineQueueServer/static: Removed.
* RebaselineQueueServer/static/builder-frame-empty.html: Removed.
* RebaselineQueueServer/static/styles.css: Removed.
* RebaselineQueueServer/templates: Removed.
* RebaselineQueueServer/templates/builder-picker.html: Removed.
* RebaselineQueueServer/templates/builder-queue-edit.html: Removed.
* RebaselineQueueServer/templates/builder-queue-list.html: Removed.
* RebaselineQueueServer/templates/home.html: Removed.

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

7 years agoFix setup-commit-queue and temporarily disable testing on commit-queue
rniwa@webkit.org [Fri, 5 Apr 2013 02:35:53 +0000 (02:35 +0000)]
Fix setup-commit-queue and temporarily disable testing on commit-queue
https://bugs.webkit.org/show_bug.cgi?id=113979

Reviewed by Benjamin Poulain.

Use commit-queue@webkit.org instead of webkit.bot.review@gmail.com in commit-queue,
and temporarily disable tests in commit-queue as we don't have enough resources at the moment.

* EWSTools/setup-commit-queue.sh:
* Scripts/webkitpy/tool/bot/commitqueuetask.py:
(CommitQueueTask.run):

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

7 years agoWork around a bug in the bindings generation script.
andersca@apple.com [Fri, 5 Apr 2013 01:29:57 +0000 (01:29 +0000)]
Work around a bug in the bindings generation script.

* WebCore.xcodeproj/project.pbxproj:

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

7 years agoDon't dispatch delayed click if snapshotted plugin was triggered by a click on the...
dino@apple.com [Fri, 5 Apr 2013 01:25:05 +0000 (01:25 +0000)]
Don't dispatch delayed click if snapshotted plugin was triggered by a click on the label
https://bugs.webkit.org/show_bug.cgi?id=113982

Reviewed by Tim Horton.

We regressed the way clicks were sent on to restarted plugins when we moved to a
Shadow Root - we were always sending the click. We should only send the click
on if the user clicked on the main plugin content, and not send it when you
click directly on the label.

* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot): Keep a reference to the container and label.
(WebCore::HTMLPlugInImageElement::partOfSnapshotLabel): New method that detects if a Node was part
    of the snapshot label.
(WebCore::HTMLPlugInImageElement::userDidClickSnapshot): Only record the event if you should forward it on.
* html/HTMLPlugInImageElement.h:
(HTMLPlugInImageElement): New parameter to userDidClickSnapshot and member variables for shadow content.
* rendering/RenderSnapshottedPlugIn.cpp:
(WebCore::RenderSnapshottedPlugIn::handleEvent): Ask the plugin if the clicked target was the snapshot label.

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

7 years agoUnreviewed EFL build fix.
ch.dumez@sisa.samsung.com [Fri, 5 Apr 2013 00:59:25 +0000 (00:59 +0000)]
Unreviewed EFL build fix.

Add missing include for FloatRect.h.

* platform/efl/PlatformScreenEfl.cpp:

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

7 years agoUnreviewed build fix.
timothy_horton@apple.com [Fri, 5 Apr 2013 00:54:47 +0000 (00:54 +0000)]
Unreviewed build fix.

* platform/graphics/GlyphPageTreeNode.cpp:

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

7 years agoUnreviewed EFL build fix.
ch.dumez@sisa.samsung.com [Fri, 5 Apr 2013 00:44:28 +0000 (00:44 +0000)]
Unreviewed EFL build fix.

We had undefined reference to `JSC::CodeOrigin::maximumBytecodeIndex'.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::findClosureCallForReturnPC):
(JSC::CodeBlock::bytecodeOffset):

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

7 years agoAnother build fix.
andersca@apple.com [Fri, 5 Apr 2013 00:37:08 +0000 (00:37 +0000)]
Another build fix.

* platform/graphics/FontCache.cpp:
* platform/graphics/SimpleFontData.cpp:

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

7 years agoFix build.
andersca@apple.com [Fri, 5 Apr 2013 00:28:58 +0000 (00:28 +0000)]
Fix build.

* WebCore.xcodeproj/project.pbxproj:

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

7 years ago[BlackBerry] Adjust fatfinger result priority
commit-queue@webkit.org [Fri, 5 Apr 2013 00:26:29 +0000 (00:26 +0000)]
[BlackBerry] Adjust fatfinger result priority
https://bugs.webkit.org/show_bug.cgi?id=113957

Patch by Tiancheng Jiang <tijiang@rim.com> on 2013-04-04
Reviewed by Rob Buis.

RIM PR 224781
Internally Reviewed by Genevieve Mak.

Change fatfigner algorithm, return the clickable element rather than
its parent anchor. Modify taphighlight and context menu node selection
accordingly.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):
* WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::findBestPoint):
* WebKitSupport/FatFingers.h:
* WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::elementForTapHighlight):

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

7 years agoRemoved empty files from the build
ggaren@apple.com [Fri, 5 Apr 2013 00:15:10 +0000 (00:15 +0000)]
Removed empty files from the build
https://bugs.webkit.org/show_bug.cgi?id=113978

Reviewed by Anders Carlsson.

Anders made a list of all the empty files that are slowing down the Mac
build, and I grepped them away.

* WebCore.xcodeproj/project.pbxproj:

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

7 years agotemporarily make flakiness dashboard work again webkit.org bots
dpranke@chromium.org [Fri, 5 Apr 2013 00:08:27 +0000 (00:08 +0000)]
temporarily make flakiness dashboard work again webkit.org bots
https://bugs.webkit.org/show_bug.cgi?id=113972

Reviewed by Ojan Vafai.

This patch disables the chromium.org layout test bots TestExpectations
parsing temporarily until we can work out the right way to split into
two instances for webkit.org and chromium.org and figure out which
code to delete where :).

* TestResultServer/static-dashboards/flakiness_dashboard.js:

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

7 years agoPrune unneeded header #includes
andersca@apple.com [Fri, 5 Apr 2013 00:08:09 +0000 (00:08 +0000)]
Prune unneeded header #includes
https://bugs.webkit.org/show_bug.cgi?id=113973

Reviewed by Geoffrey Garen.

Reduce the amount of headers included by other headers by:
- Moving implicit and explicit constructors and destructors into .cpp files so member variable constructors/destructors
  don't have to be declared.
- Move CachedResourceClient subclasses out into separate headers so that their respective CachedResource subclasses don't
  have to be included by the classes that derive from those subclasses.
- Remove headers that were never needed in the first place.

* Modules/webaudio/AudioContext.h:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMWindowCustom.cpp:
* css/CSSFontFaceSource.h:
* html/canvas/CanvasPattern.cpp:
(WebCore::CanvasPattern::create):
(WebCore::CanvasPattern::CanvasPattern):
(WebCore::CanvasPattern::~CanvasPattern):
* html/canvas/CanvasPattern.h:
(WebCore::CanvasPattern::pattern):
(WebCore::CanvasPattern::originClean):
* html/parser/HTMLScriptRunner.h:
* loader/ImageLoader.h:
* loader/LinkLoader.h:
* loader/TextTrackLoader.h:
* loader/cache/CachedFont.cpp:
* loader/cache/CachedFont.h:
* loader/cache/CachedFontClient.h: Added.
(WebCore::CachedFontClient::~CachedFontClient):
(WebCore::CachedFontClient::expectedType):
(WebCore::CachedFontClient::resourceClientType):
(WebCore::CachedFontClient::fontLoaded):
* loader/cache/CachedResourceHandle.cpp:
(WebCore::CachedResourceHandleBase::CachedResourceHandleBase):
(WebCore::CachedResourceHandleBase::~CachedResourceHandleBase):
(WebCore::CachedResourceHandleBase::setResource):
* loader/cache/CachedResourceHandle.h:
(WebCore::CachedResourceHandleBase::get):
(WebCore::CachedResourceHandleBase::operator!):
(WebCore::CachedResourceHandleBase::operator UnspecifiedBoolType):
(WebCore::CachedResourceHandleBase::operator=):
(WebCore::CachedResourceHandle::CachedResourceHandle):
(WebCore::CachedResourceHandle::get):
(WebCore::CachedResourceHandle::operator->):
(WebCore::CachedResourceHandle::operator=):
(WebCore::CachedResourceHandle::operator==):
(WebCore::CachedResourceHandle::operator!=):
(WebCore::operator==):
(WebCore::operator!=):
* loader/cache/CachedSVGDocument.h:
* loader/cache/CachedSVGDocumentReference.h:
* loader/cache/CachedSVGDocumentClient.h: Added.
(WebCore::CachedSVGDocumentClient::~CachedSVGDocumentClient):
(WebCore::CachedSVGDocumentClient::expectedType):
(WebCore::CachedSVGDocumentClient::resourceClientType):
* loader/cache/CachedStyleSheetClient.h:
* platform/PlatformScreen.h:
* platform/audio/HRTFElevation.cpp:
* platform/audio/HRTFKernel.cpp:
(WebCore::HRTFKernel::fftSize):
* platform/audio/HRTFKernel.h:
* platform/audio/ReverbConvolverStage.cpp:
(WebCore::ReverbConvolverStage::~ReverbConvolverStage):
* platform/audio/ReverbConvolverStage.h:
* platform/graphics/FontPlatformData.h:
* platform/graphics/GraphicsContext3D.h:
* platform/graphics/Path.cpp:
* platform/graphics/Path.h:
* platform/graphics/Pattern.cpp:
* platform/graphics/Pattern.h:
* platform/graphics/filters/FilterOperation.cpp:
(WebCore::ReferenceFilterOperation::ReferenceFilterOperation):
(WebCore::ReferenceFilterOperation::~ReferenceFilterOperation):
(WebCore::ReferenceFilterOperation::setCachedSVGDocumentReference):
* platform/graphics/filters/FilterOperation.h:
* platform/graphics/transforms/AffineTransform.h:
* plugins/DOMMimeType.h:
* rendering/RenderLayerFilterInfo.h:
* rendering/style/StyleCachedShader.h:
* svg/SVGFEImageElement.h:
* svg/SVGFontFaceUriElement.h:
* svg/SVGUseElement.h:
* xml/parser/XMLDocumentParser.h:

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

7 years ago[Cairo] Stop passing raw pointers to BitmapImage::create()
ch.dumez@sisa.samsung.com [Thu, 4 Apr 2013 23:59:12 +0000 (23:59 +0000)]
[Cairo] Stop passing raw pointers to BitmapImage::create()
https://bugs.webkit.org/show_bug.cgi?id=113945

Reviewed by Martin Robinson.

Source/WebCore:

BitmapImage::create() was updated in r147643 to take a PassRefPtr<cairo_surface_t>
in argument instead of a cairo_surface_t*. This patch updates several call sites
so that they now pass in a smart pointer instead of a raw one to avoid silent
converting from cairo_surface_t* to PassRefPtr<cairo_surface_t>.

No new tests, no behavior change.

* platform/graphics/cairo/ImageBufferCairo.cpp:
(WebCore::ImageBufferData::ImageBufferData): Use RefPtr to m_surface to avoid manual
memory handling.
(WebCore::ImageBuffer::ImageBuffer):
(WebCore::ImageBuffer::~ImageBuffer):
(WebCore::ImageBuffer::copyImage):
(WebCore::ImageBuffer::clip):
(WebCore::ImageBuffer::platformTransformColorSpace):
(WebCore::getImageData):
(WebCore::ImageBuffer::putByteArray):
* platform/graphics/cairo/ImageBufferDataCairo.h:
(ImageBufferData):
* platform/graphics/gstreamer/ImageGStreamerCairo.cpp:
(ImageGStreamer::ImageGStreamer):
* platform/graphics/gtk/ImageBufferGtk.cpp:
(WebCore::ImageBuffer::toDataURL):

Source/WebKit2:

Pass a smart pointer in to BitmapImage::create() instead of a raw one
for the cairo surface. The factory method prototype was updated for
cairo in r147643.

* Shared/cairo/ShareableBitmapCairo.cpp:
(WebKit::ShareableBitmap::createImage):

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

7 years agoPage content missing when flipping from an empty layer to a tiled layer
simon.fraser@apple.com [Thu, 4 Apr 2013 23:57:33 +0000 (23:57 +0000)]
Page content missing when flipping from an empty layer to a tiled layer
https://bugs.webkit.org/show_bug.cgi?id=113977
<rdar://problem/13444219>

Source/WebCore:

Reviewed by Tim Horton.

Some articles on USA Today were missing content on load, when a large GraphicsLayer
which did not draw content needed to draw content (and become tiled in the process).

The bug was an ordering dependency in GraphicsLayerCA::commitLayerChangesBeforeSublayers().
swapFromOrToTiledLayer() sets some dirty flags, but for some properties which have
already been committed in the current flush cycle.

Fix by moving the swapFromOrToTiledLayer() to the top of the commit, which is
safe since it only consults GraphicsLayer properties, not CALayer properties.

Test: compositing/tiling/empty-to-tiled.html

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
(WebCore::GraphicsLayerCA::updateGeometry):
(WebCore::GraphicsLayerCA::updateLayerDrawsContent):
(WebCore::GraphicsLayerCA::updateContentsScale):
* platform/graphics/ca/GraphicsLayerCA.h:
(GraphicsLayerCA):

LayoutTests:

Reviewed by Tim Horton.

Ref test that adds visible content to a larger layer.

* compositing/tiling/empty-to-tiled-expected.html: Added.
* compositing/tiling/empty-to-tiled.html: Added.

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

7 years agoRegression(r147639) Causes assertion hit in HashTable
ch.dumez@sisa.samsung.com [Thu, 4 Apr 2013 23:56:13 +0000 (23:56 +0000)]
Regression(r147639) Causes assertion hit in HashTable
https://bugs.webkit.org/show_bug.cgi?id=113954

Reviewed by Benjamin Poulain.

Lookup the key in the hash table again after the recursive call to
getCachedFontPlatformData() as it may have altered the hash map and
invalidated the previous iterator we had.

No new tests, covered by existing tests.

* platform/graphics/FontCache.cpp:
(WebCore::FontCache::getCachedFontPlatformData):

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

7 years agoFix webkitpy tests after r147678.
rniwa@webkit.org [Thu, 4 Apr 2013 23:52:54 +0000 (23:52 +0000)]
Fix webkitpy tests after r147678.

* Scripts/webkitpy/tool/commands/queues_unittest.py:
(CommitQueueTest.test_commit_queue):
(test_manual_reject_during_processing):

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

7 years agoUnreviewed, fix a test and some results missed in r147675
eric.carlson@apple.com [Thu, 4 Apr 2013 23:35:40 +0000 (23:35 +0000)]
Unreviewed, fix a test and some results missed in r147675

* media/media-captions-expected.txt:
* media/video-controls-captions-trackmenu-localized.html:
* platform/mac/media/video-controls-captions-trackmenu-localized-expected.txt:

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

7 years agoThe commit queue should use Mac MountainLion port
rniwa@webkit.org [Thu, 4 Apr 2013 23:18:16 +0000 (23:18 +0000)]
The commit queue should use Mac MountainLion port
https://bugs.webkit.org/show_bug.cgi?id=113971

Reviewed by Lucas Forschler.

* EWSTools/setup-commit-queue.sh: Copied from Tools/EWSTools/GoogleComputeEngine/build-commit-queue.sh.
* Scripts/webkitpy/tool/commands/queues.py:
(CommitQueue):

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

7 years agoStop pretending that statements return a value
ggaren@apple.com [Thu, 4 Apr 2013 23:16:20 +0000 (23:16 +0000)]
Stop pretending that statements return a value
https://bugs.webkit.org/show_bug.cgi?id=113969

Reviewed by Oliver Hunt.

Expressions have an intrinsic value, which they return to their parent
in the AST.

Statements just execute for effect in sequence.

This patch moves emitBytecode into the ExpressionNode and StatementNode
subclasses, and changes the SatementNode subclass to return void. This
eliminates some cruft where we used to return 0, or try to save a bogus
register and return it, as if a statement had a consuming parent in the
AST.

* bytecompiler/BytecodeGenerator.h:
(JSC::BytecodeGenerator::emitNode):
(BytecodeGenerator):
(JSC::BytecodeGenerator::emitNodeInConditionContext):
* bytecompiler/NodesCodegen.cpp:
(JSC::ConstStatementNode::emitBytecode):
(JSC::BlockNode::emitBytecode):
(JSC::EmptyStatementNode::emitBytecode):
(JSC::DebuggerStatementNode::emitBytecode):
(JSC::ExprStatementNode::emitBytecode):
(JSC::VarStatementNode::emitBytecode):
(JSC::IfNode::emitBytecode):
(JSC::IfElseNode::emitBytecode):
(JSC::DoWhileNode::emitBytecode):
(JSC::WhileNode::emitBytecode):
(JSC::ForNode::emitBytecode):
(JSC::ForInNode::emitBytecode):
(JSC::ContinueNode::emitBytecode):
(JSC::BreakNode::emitBytecode):
(JSC::ReturnNode::emitBytecode):
(JSC::WithNode::emitBytecode):
(JSC::CaseClauseNode::emitBytecode):
(JSC::CaseBlockNode::emitBytecodeForBlock):
(JSC::SwitchNode::emitBytecode):
(JSC::LabelNode::emitBytecode):
(JSC::ThrowNode::emitBytecode):
(JSC::TryNode::emitBytecode):
(JSC::ScopeNode::emitStatementsBytecode):
(JSC::ProgramNode::emitBytecode):
(JSC::EvalNode::emitBytecode):
(JSC::FunctionBodyNode::emitBytecode):
(JSC::FuncDeclNode::emitBytecode):
* parser/NodeConstructors.h:
(JSC::PropertyListNode::PropertyListNode):
(JSC::ArgumentListNode::ArgumentListNode):
* parser/Nodes.h:
(Node):
(ExpressionNode):
(StatementNode):
(ConstStatementNode):
(BlockNode):
(EmptyStatementNode):
(DebuggerStatementNode):
(ExprStatementNode):
(VarStatementNode):
(IfNode):
(IfElseNode):
(DoWhileNode):
(WhileNode):
(ForNode):
(ForInNode):
(ContinueNode):
(BreakNode):
(ReturnNode):
(WithNode):
(LabelNode):
(ThrowNode):
(TryNode):
(ProgramNode):
(EvalNode):
(FunctionBodyNode):
(FuncDeclNode):
(CaseBlockNode):
(SwitchNode):

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

7 years agoMake fast/events/tabindex-focus-blur-all.html disallow Java so the test runs the...
benjamin@webkit.org [Thu, 4 Apr 2013 22:57:30 +0000 (22:57 +0000)]
Make fast/events/tabindex-focus-blur-all.html disallow Java so the test runs the same regardless of platform/port
https://bugs.webkit.org/show_bug.cgi?id=113950

Patch by Dave Michael <dmichael@chromium.org> on 2013-04-04
Reviewed by Jer Noble.

This hopefully fixes the test failure seen on Apple Mountain Lion WK2:
http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK2%20(Tests)/r147640%20(7636)/results.html
that was introduced in https://bugs.webkit.org/show_bug.cgi?id=32292

* fast/events/resources/tabindex-focus-blur-all.js: Make the test disallow Java execution. Otherwise, <applet> is focusible on platforms that support Java by default and not focusible elsewhere.

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

7 years ago[Mac] add "automatic" text track menu item
eric.carlson@apple.com [Thu, 4 Apr 2013 22:23:47 +0000 (22:23 +0000)]
[Mac] add "automatic" text track menu item
https://bugs.webkit.org/show_bug.cgi?id=113822

Reviewed by Jer Noble.

Source/WebCore:

No new tests, existing tests updated.

* English.lproj/Localizable.strings: Add new track menu item.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_captionDisplayMode.
(WebCore::HTMLMediaElement::finishParsingChildren): LoadTextTrackResource -> ConfigureTextTracks.
(WebCore::HTMLMediaElement::scheduleDelayedAction): Ditto.
(WebCore::HTMLMediaElement::loadTimerFired): Ditto.
(WebCore::HTMLMediaElement::loadInternal): Ditto. Flag the caption menu as invalid so it will
    be rebuilt again.
(WebCore::HTMLMediaElement::mediaPlayerDidAddTrack): LoadTextTrackResource -> ConfigureTextTracks.
(WebCore::HTMLMediaElement::didAddTrack): Ditto.
(WebCore::HTMLMediaElement::configureTextTrackGroup): Deal with new track display modes.
(WebCore::HTMLMediaElement::HTMLMediaElement::hasClosedCaptions): Minor cleanup.
(WebCore::HTMLMediaElement::configureTextTrackGroup): Add some logging.
(WebCore::HTMLMediaElement::configureTextTracks): Call updateActiveTextTrackCues so cue display
    is updated.
(WebCore::HTMLMediaElement::captionPreferencesChanged): Deal with new track display modes.
(WebCore::HTMLMediaElement::markCaptionAndSubtitleTracksAsUnconfigured): Add some logging.
* html/HTMLMediaElement.h: Ditto.

* html/shadow/MediaControlElementTypes.cpp: Remove trackIndexAttributeName and trackListIndexForElement.
* html/shadow/MediaControlElementTypes.h: Ditto.

* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlClosedCaptionsTrackListElement::defaultEventHandler): Don't use track index,
    everything we need is in the track<->element map now.
(WebCore::MediaControlClosedCaptionsTrackListElement::updateDisplay): Ditto. Always rebuild the
    track list because clear the map each time the menu goes away because it refs every track.
(WebCore::MediaControlClosedCaptionsTrackListElement::rebuildTrackListMenu): Don't set the track
    index attribute on the menu items, just use the map.
* html/shadow/MediaControlElements.h:

* html/shadow/MediaControlsApple.cpp:
(WebCore::MediaControlsApple::changedClosedCaptionsVisibility): resetTrackListMenu is gone.
(WebCore::MediaControlsApple::reset): Ditto.
(WebCore::MediaControlsApple::closedCaptionTracksChanged): Ditto.

* html/track/TextTrack.cpp:
(WebCore::TextTrack::captionMenuOffItem): New, static TextTrack used for the menu "Off" item.
(WebCore::TextTrack::captionMenuAutomaticItem): New, static TextTrack used for the menu "Automatic" item.
* html/track/TextTrack.h:

* page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::shouldShowCaptions): Removed, we use captionDisplayMode instead.
(WebCore::CaptionUserPreferences::captionDisplayMode): New.
(WebCore::CaptionUserPreferences::setCaptionDisplayMode): New.
(WebCore::CaptionUserPreferences::setPreferredLanguage): Make the parameter a const reference.
(WebCore::CaptionUserPreferences::textTrackSelectionScore): Return 0 if the user doesn't want
    captions or subtitles.
(WebCore::CaptionUserPreferences::textTrackLanguageSelectionScore): Take language as a parameter
    instead of assuming that it is always the entire language list.
* page/CaptionUserPreferences.h:

* page/CaptionUserPreferencesMac.h:
* page/CaptionUserPreferencesMac.mm:
(WebCore::CaptionUserPreferencesMac::shouldShowCaptions): Removed, we use captionDisplayMode instead.
(WebCore::CaptionUserPreferencesMac::captionDisplayMode): New.
(WebCore::CaptionUserPreferencesMac::setCaptionDisplayMode): New.
(WebCore::CaptionUserPreferencesMac::setPreferredLanguage): Make the parameter a const reference.
(WebCore::CaptionUserPreferencesMac::textTrackSelectionScore): Deal with "Automatic" mode.
    captions or subtitles.
(WebCore::CaptionUserPreferences::textTrackLanguageSelectionScore): Take language as a parameter
    instead of assuming that it is always the entire language list.
(WebCore::CaptionUserPreferencesMac::sortedTrackListForMenu): Insert "Off" and "Automatic" items.

* platform/LocalizedStrings.cpp:
(WebCore::textTrackAutomaticMenuItemText): New.
* platform/LocalizedStrings.h:

* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::languageOfPrimaryAudioTrack): New.
* platform/graphics/MediaPlayer.h:
* platform/graphics/MediaPlayerPrivate.h:

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::languageOfPrimaryAudioTrack): Return the language
    of the main audio track.

LayoutTests:

* media/media-captions.html: Opportunistic fix - don't look at state until we get the 'canplaythrough'
    event because the media engine state may not have been processed until that time.
* media/track/track-cue-container-rendering-position.html: Don't assume that a cue has been
    rendered immediately when the 'canplaythrough' event comes through.
* media/track/track-cue-rendering-mode-changed.html: Ditto.
* media/track/track-in-band-expected.txt: Don't check if cues have loaded, it doesn't matter
    for this test.
* media/track/track-in-band.html: Ditto.
* media/track/track-user-preferences-expected.txt: Changed name of utility function from
    menuIndexForLanguage to indexOfMenuItemBeginningWith.
* media/track/track-user-preferences.html: Move menuIndexForLanguage to trackmenu-test.js and
    change name to indexOfMenuItemBeginningWith. Clarify the message logged when a track loads
    but it should not.
* media/trackmenu-test.js: Move some functions here from track-user-preferences.html
(trackMenuList):
(indexOfMenuItemBeginningWith):
(selectCaptionMenuItem):
* media/video-controls-captions-trackmenu-sorted.html: Update for new menu item.
* media/video-controls-captions-trackmenu.html: Ditto.
* platform/mac/media/video-controls-captions-trackmenu-expected.txt: Ditto.
* platform/mac/media/video-controls-captions-trackmenu-sorted-expected.txt: Ditto.

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

7 years ago[EFL] Unreviewed gardening. Rebaseline after r147588. Remove overridden pixel results.
glenn@skynav.com [Thu, 4 Apr 2013 22:20:49 +0000 (22:20 +0000)]
[EFL] Unreviewed gardening. Rebaseline after r147588. Remove overridden pixel results.

* platform/efl/fast/text/international/003-expected.png: Removed.
* platform/efl/fast/text/international/text-combine-image-test-expected.png: Removed.
* platform/efl/fast/writing-mode/Kusa-Makura-background-canvas-expected.png: Removed.

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

7 years ago[EFL] Unreviewed gardening. Rebaseline after r147588. Update pixel expectations.
glenn@skynav.com [Thu, 4 Apr 2013 22:01:17 +0000 (22:01 +0000)]
[EFL] Unreviewed gardening. Rebaseline after r147588. Update pixel expectations.

* platform/efl-wk1/fast/text/international/003-expected.png: Added.
* platform/efl-wk1/fast/text/international/text-combine-image-test-expected.png: Added.
* platform/efl-wk1/fast/writing-mode/Kusa-Makura-background-canvas-expected.png: Added.
* platform/efl-wk2/fast/text/international/003-expected.png: Added.
* platform/efl-wk2/fast/text/international/text-combine-image-test-expected.png: Added.
* platform/efl-wk2/fast/writing-mode/Kusa-Makura-background-canvas-expected.png: Added.

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

7 years agoturn off running tests on chromium linux EWS bots
dpranke@chromium.org [Thu, 4 Apr 2013 21:57:59 +0000 (21:57 +0000)]
turn off running tests on chromium linux EWS bots
https://bugs.webkit.org/show_bug.cgi?id=113959

Reviewed by Geoffrey Garen.

Now that the Chromium port is no longer being maintained
there's little point in running the tests. Soon we should
just shut this bot off altogether.

* Scripts/webkitpy/tool/commands/earlywarningsystem.py:
(ChromiumLinuxEWS):

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

7 years ago REGRESSION (r146580): Assertion using SecurityOrigin::create, URL string...
ap@apple.com [Thu, 4 Apr 2013 21:57:58 +0000 (21:57 +0000)]
    REGRESSION (r146580): Assertion using SecurityOrigin::create, URL string is not valid
        https://bugs.webkit.org/show_bug.cgi?id=113961

        Reviewed by Geoff Garen.

        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::createFromDatabaseIdentifier):
        (WebCore::SecurityOrigin::create):
        Don't use ParsedURLString, because http://host:80/ is normalized to http://host/,
        so it's not a parsed URL string.

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

7 years agoException stack unwinding doesn't handle inline callframes correctly
oliver@apple.com [Thu, 4 Apr 2013 21:25:26 +0000 (21:25 +0000)]
Exception stack unwinding doesn't handle inline callframes correctly
https://bugs.webkit.org/show_bug.cgi?id=113952

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

The basic problem here is that the exception stack unwinding was
attempting to be "clever" and avoid doing a correct stack walk
as it "knew" inline callframes couldn't have exception handlers.

This used to be safe as the exception handling machinery was
designed to fail gently and just claim that no handler existed.
This was "safe" and even "correct" inasmuch as we currently
don't run any code with exception handlers through the dfg.

This patch fixes the logic by simply making everything uniformly
use the safe stack walking machinery, and making the correct
boundary checks occur everywhere that they should.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::findClosureCallForReturnPC):
(JSC::CodeBlock::bytecodeOffset):
* interpreter/Interpreter.cpp:
(JSC):
(JSC::Interpreter::dumpRegisters):
(JSC::Interpreter::unwindCallFrame):
(JSC::getCallerInfo):
(JSC::Interpreter::getStackTrace):
(JSC::Interpreter::retrieveCallerFromVMCode):

LayoutTests:

Yay tests!

* fast/js/js-correct-exception-handler-expected.txt: Added.
* fast/js/js-correct-exception-handler.html: Added.
* fast/js/script-tests/js-correct-exception-handler.js: Added.
(throwEventually):
(f.g):
(f):
(test):

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

7 years agoRemoved a defunct comment
ggaren@apple.com [Thu, 4 Apr 2013 21:16:43 +0000 (21:16 +0000)]
Removed a defunct comment
https://bugs.webkit.org/show_bug.cgi?id=113948

Reviewed by Oliver Hunt.

This is also a convenient way to test the EWS.

* bytecompiler/BytecodeGenerator.cpp:
(JSC):

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

7 years ago[EFL] Unreviewed gardening. Rebaseline after r147588.
glenn@skynav.com [Thu, 4 Apr 2013 21:08:08 +0000 (21:08 +0000)]
[EFL] Unreviewed gardening. Rebaseline after r147588.

* platform/efl-wk1/fast/text/international: Added.
* platform/efl-wk1/fast/text/international/003-expected.txt: Added.
* platform/efl-wk1/fast/text/international/text-combine-image-test-expected.txt: Added.
* platform/efl-wk1/fast/writing-mode/Kusa-Makura-background-canvas-expected.txt: Added.
* platform/efl-wk2/fast/text/international/003-expected.txt: Added.
* platform/efl-wk2/fast/text/international/text-combine-image-test-expected.txt: Added.
* platform/efl-wk2/fast/writing-mode/Kusa-Makura-background-canvas-expected.txt: Added.
* platform/efl/fast/text/international/003-expected.txt: Removed.
* platform/efl/fast/text/international/text-combine-image-test-expected.txt: Removed.
* platform/efl/fast/writing-mode/Kusa-Makura-background-canvas-expected.txt: Removed.

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

7 years agoUnreviewed, rolling out r147662.
commit-queue@webkit.org [Thu, 4 Apr 2013 20:52:51 +0000 (20:52 +0000)]
Unreviewed, rolling out r147662.
http://trac.webkit.org/changeset/147662
https://bugs.webkit.org/show_bug.cgi?id=113955

The change r147662  breaks fast/regions/fixed-pos-elem-in-
region.html (Requested by benjaminp on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-04-04

Source/WebCore:

* rendering/RenderBlockLineLayout.cpp:
(WebCore::inlineLogicalWidth):

LayoutTests:

* fast/inline/inline-with-empty-inline-children-expected.txt:
* fast/inline/inline-with-empty-inline-children.html:

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

7 years agoUnreviewed. AppleWin port gardening.
roger_fong@apple.com [Thu, 4 Apr 2013 20:46:43 +0000 (20:46 +0000)]
Unreviewed. AppleWin port gardening.

* platform/win/TestExpectations:

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

7 years agoUnreviewed. AppleWin port gardening.
roger_fong@apple.com [Thu, 4 Apr 2013 20:19:32 +0000 (20:19 +0000)]
Unreviewed. AppleWin port gardening.

* platform/win/TestExpectations:
* platform/win/fast/writing-mode/Kusa-Makura-background-canvas-expected.txt:

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

7 years agoREGRESSION (r147373): Auto-sizing doesn't always respect minimum width changes
timothy_horton@apple.com [Thu, 4 Apr 2013 19:58:45 +0000 (19:58 +0000)]
REGRESSION (r147373): Auto-sizing doesn't always respect minimum width changes
https://bugs.webkit.org/show_bug.cgi?id=113947
<rdar://problem/13579024>

Reviewed by Anders Carlsson.

Reset the FrameView size to the minimum auto-sizing size
before performing auto-sizing. We were already resetting the height,
but not the width, instead using the FrameView's current width.

This means that changing the minimum width without also manually
resizing the FrameView will never see the width change.

Auto-sizing tests are not working on Mac yet.

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

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

7 years ago[GTK] Remove the gyp build
mrobinson@webkit.org [Thu, 4 Apr 2013 19:26:55 +0000 (19:26 +0000)]
[GTK] Remove the gyp build
https://bugs.webkit.org/show_bug.cgi?id=113942

Reviewed by Gustavo Noronha Silva.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCoreGTK.gyp: Removed.
* JavaScriptCore.gyp/redirect-stdout.sh: Removed.

Source/ThirdParty/ANGLE:

* ANGLE.gyp/ANGLE.gyp: Removed.
* ANGLE.gypi: Removed.

Source/WebCore:

* WebCore.gyp/WebCoreGTK.gyp: Removed.

Source/WebKit/gtk:

* gyp/Configuration.gypi.in: Removed.
* gyp/Dependencies.gyp: Removed.
* gyp/GNUmakefile: Removed.
* gyp/autogen.sh: Removed.
* gyp/configure.ac: Removed.
* gyp/run-gyp: Removed.

Source/WTF:

* WTF.gyp/WTFGTK.gyp: Removed.

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

7 years agoREGRESSION(r142152): Text wraps in menu
robert@webkit.org [Thu, 4 Apr 2013 19:23:03 +0000 (19:23 +0000)]
REGRESSION(r142152): Text wraps in menu
https://bugs.webkit.org/show_bug.cgi?id=113706

Reviewed by David Hyatt.

Source/WebCore:

* rendering/RenderBlockLineLayout.cpp:
(WebCore::inlineLogicalWidth): Empty inline elements add their inline border/padding/margin to the width of the
line when we iterate through them in nextLineBreak(), so no need to add them again here when climbing back up
from their first child looking for border/padding/margin to add. (An empty inline element can have floating children.)

LayoutTests:

* fast/inline/inline-with-empty-inline-children-expected.txt:
* fast/inline/inline-with-empty-inline-children.html:

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

7 years agoChanging typing style with font size delta overrides the previous font size delta
rniwa@webkit.org [Thu, 4 Apr 2013 19:15:52 +0000 (19:15 +0000)]
Changing typing style with font size delta overrides the previous font size delta
https://bugs.webkit.org/show_bug.cgi?id=113923

Reviewed by Andreas Kling.

The bug was caused by a new font size delta value overriding the old one as
opposed to being added to the old value. Fixed that in overrideWithStyle.

Also made overrideWithStyle share code with mergeStyle since there is already
code to merge text-decorations there.

Unfortunately, adding a test for this fix proved to be hard because we don't
expose any API to directly set typing style.

* editing/EditingStyle.cpp:
(WebCore::EditingStyle::overrideWithStyle): Use mergeStyle.
(WebCore::EditingStyle::mergeStyle): Add font size deltas as opposed to simply
using the new value.

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

7 years agoAX:File upload button has wrong label
cfleizach@apple.com [Thu, 4 Apr 2013 19:05:22 +0000 (19:05 +0000)]
AX:File upload button has wrong label
https://bugs.webkit.org/show_bug.cgi?id=113924

Reviewed by David Kilzer.

Source/WebCore:

Allow the label and value to be returned for file upload controls on iOS.
Due to the different AX APIs, we can expose a bit more information on iOS.

Test: platform/iphone-simulator/accessibility/file-upload-button.html

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper stringValueShouldBeUsedInLabel]):
(-[WebAccessibilityObjectWrapper fileUploadButtonReturnsValueInTitle]):
* accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
(-[WebAccessibilityObjectWrapperBase fileUploadButtonReturnsValueInTitle]):
(-[WebAccessibilityObjectWrapperBase accessibilityTitle]):

LayoutTests:

* platform/iphone-simulator/accessibility/file-upload-button-expected.txt: Added.
* platform/iphone-simulator/accessibility/file-upload-button.html: Added.

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

7 years agoExpose settings to disable plugin snapshotting autostart and primary detection
dino@apple.com [Thu, 4 Apr 2013 18:52:27 +0000 (18:52 +0000)]
Expose settings to disable plugin snapshotting autostart and primary detection
https://bugs.webkit.org/show_bug.cgi?id=113918

Reviewed by Tim Horton.

Source/WebCore:

Three new settings:
- snapshotAllPlugIns: Do not apply any heuristics - immediately snapshot a plugin.
- primaryPlugInSnapshotDetectionEnabled: Toggle snapshotting the "main" plugin in the page.
- autostartOriginPlugInSnapshottingEnabled: Toggle snapshotting based on URL origins.

* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::userDidClickSnapshot): Don't tell the host that we've started
    if the autostartOriginPlugInSnapshottingEnabled is false.
(WebCore::HTMLPlugInImageElement::setIsPrimarySnapshottedPlugIn): Don't restart a primary
    plugin if primaryPlugInSnapshotDetectionEnabled is false.
(WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Snapshot immediately if
    snapshotAllPlugIns is true. Also, don't test for autostart if
    autostartOriginPlugInSnapshottingEnabled is false.
* page/Settings.in: Three new settings values.

Source/WebKit2:

Three new settings: snapshotAllPlugIns, primaryPlugInSnapshotDetectionEnabled and
autostartOriginPlugInSnapshottingEnabled.
These are exposed via WKPreferences (WebKit2 only, since that's the only port actively
using the feature).

* Shared/WebPreferencesStore.h: Add macros for new settings.
* UIProcess/API/C/WKPreferences.cpp: Getters and setters for new settings.
(WKPreferencesSetSnapshotAllPlugIns):
(WKPreferencesGetSnapshotAllPlugIns):
(WKPreferencesSetAutostartOriginPlugInSnapshottingEnabled):
(WKPreferencesGetAutostartOriginPlugInSnapshottingEnabled):
(WKPreferencesSetPrimaryPlugInSnapshotDetectionEnabled):
(WKPreferencesGetPrimaryPlugInSnapshotDetectionEnabled):
* UIProcess/API/C/WKPreferencesPrivate.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences): Forward settings updates.
(WebKit::WebPage::addPluginView): Don't run primary plugin detection if the setting is false.
(WebKit::WebPage::didFinishLoad): Ditto.

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

7 years agoSimplified bytecode generation by merging prefix and postfix nodes
ggaren@apple.com [Thu, 4 Apr 2013 18:31:37 +0000 (18:31 +0000)]
Simplified bytecode generation by merging prefix and postfix nodes
https://bugs.webkit.org/show_bug.cgi?id=113925

Reviewed by Filip Pizlo.

PostfixNode now inherits from PrefixNode, so when we detect that we're
in a context where postifx and prefix are equivalent, PostFixNode can
just call through to PrefixNode codegen, instead of duplicating the
logic.

* bytecompiler/NodesCodegen.cpp:
(JSC::PostfixNode::emitResolve):
(JSC::PostfixNode::emitBracket):
(JSC::PostfixNode::emitDot):
* parser/NodeConstructors.h:
(JSC::PostfixNode::PostfixNode):
* parser/Nodes.h:
(JSC):
(PrefixNode):
(PostfixNode):

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

7 years agoUnreviewed. Removing feature-media-reviews@chromium.org from Media watchlist.
scherkus@chromium.org [Thu, 4 Apr 2013 18:25:35 +0000 (18:25 +0000)]
Unreviewed. Removing feature-media-reviews@chromium.org from Media watchlist.

* Scripts/webkitpy/common/config/watchlist:

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:22:21 +0000 (18:22 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:22:18 +0000 (18:22 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years ago[BlackBerry] Remove skia code from PluginViewBlackBerry
commit-queue@webkit.org [Thu, 4 Apr 2013 18:22:17 +0000 (18:22 +0000)]
[BlackBerry] Remove skia code from PluginViewBlackBerry
https://bugs.webkit.org/show_bug.cgi?id=113936

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-04
Reviewed by Rob Buis.

Skia is not used anymore by the BlackBerry port.

* plugins/blackberry/PluginViewBlackBerry.cpp:
(WebCore::PluginView::paint):

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:22:16 +0000 (18:22 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:19:33 +0000 (18:19 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:19:28 +0000 (18:19 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:19:24 +0000 (18:19 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:19:20 +0000 (18:19 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:19:17 +0000 (18:19 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results. Reviewed by Anders Carlsson. I'm using a...
ggaren@apple.com [Thu, 4 Apr 2013 18:19:15 +0000 (18:19 +0000)]
Removed Chromium layout test results.  Reviewed by Anders Carlsson.  I'm using a direct svn http command to try to reduce email traffic.

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

7 years agoRemoved Chromium layout test results.\n\nReviewed by Anders Carlsson.\n\nI'm using...
ggaren@apple.com [Thu, 4 Apr 2013 18:17:56 +0000 (18:17 +0000)]
Removed Chromium layout test results.\n\nReviewed by Anders Carlsson.\n\nI'm using a direct svn http command to try to reduce email traffic.

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

7 years agoSource/WebCore: Change RenderFrameSet::computeEdgeInfo to use m-rows/m_cols directly
eae@chromium.org [Thu, 4 Apr 2013 18:10:07 +0000 (18:10 +0000)]
Source/WebCore: Change RenderFrameSet::computeEdgeInfo to use m-rows/m_cols directly
https://bugs.webkit.org/show_bug.cgi?id=113825

Reviewed by Eric Seidel.

Tests: fast/frames/invalid-frameset-compute-edge.html

* rendering/RenderFrameSet.cpp:
(WebCore::RenderFrameSet::computeEdgeInfo):

LayoutTests: Change RenderFrameSet::computeEdgeInfo to use m-rows/m_cols directly
https://bugs.webkit.org/show_bug.cgi?id=113825

Reviewed by Eric Seidel.

Add test for accessing an invalid frame.

* fast/frames/invalid-frameset-compute-edge-expected.html: Added.
* fast/frames/invalid-frameset-compute-edge.html: Added.

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

7 years ago[GTK][AC] Invalid clear ClutterContent of ClutterActor
commit-queue@webkit.org [Thu, 4 Apr 2013 18:00:52 +0000 (18:00 +0000)]
[GTK][AC] Invalid clear ClutterContent of ClutterActor
https://bugs.webkit.org/show_bug.cgi?id=113758

Patch by ChangSeok Oh <changseok.oh@collabora.com> on 2013-04-04
Reviewed by Gustavo Noronha Silva.

Using clutter_actor_set_content(actor, 0) is better to clear ClutterContent of ClutterActor.
Actually the ClutterContent referece is cleared in the API if we set 0.

No new tests since no functionality changed.

* platform/graphics/clutter/GraphicsLayerActor.cpp:
(graphicsLayerActorUpdateTexture):

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

7 years ago[Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
ch.dumez@sisa.samsung.com [Thu, 4 Apr 2013 17:59:37 +0000 (17:59 +0000)]
[Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
https://bugs.webkit.org/show_bug.cgi?id=113929

Reviewed by Martin Robinson.

Source/WebCore:

Make (Pass)NativeImagePtr typedefs to (Pass)RefPtr<cairo_surface_t> instead
of NativeImageCairo*. Now that we switch to using smart pointers,
NativeImageCairo is removed as it made no sense to make it ref counted when
it merely held a single ref counted member.

Now that Cairo is using smart pointers for (Pass)NativeImagePtr, this patch
also enables the implementation of SVGImage::nativeImageForCurrentFrame()
for USE(CAIRO) as well. This effectively fixes canvas drawing of SVG-based
patterns for Cairo-based ports.

No new tests, covered by svg/canvas/canvas-pattern-svg.html.

* GNUmakefile.list.am: Remove NativeImageCairo.* for GTK.

* PlatformEfl.cmake: Remove NativeImageCairo.* for EFL.

* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
Remove NativeImageCairo.* for Win.

* platform/graphics/BitmapImage.cpp:
(WebCore::FrameData::reportMemoryUsage):
Update MemoryClassInfo::addRawBuffer() call now that m_frame is a RefPtr
for USE(CAIRO).

* platform/graphics/BitmapImage.h:
(BitmapImage):
Remove factory method taking a cairo_surface_t* in argument. This is useless
now that PassNativeImagePtr is a typedef to PassRefPtr<cairo_surface_t> and
there is already a factory method taking a PassNativeImagePtr in argument.

* platform/graphics/NativeImagePtr.h:
(WebCore):
Make PassNativeImagePtr a typedef to PassRefPtr<cairo_surface_t> and
NativeImagePtr a typedef to RefPtr<cairo_surface_t>, instead of
NativeImageCairo*. Moving to smart pointers is needed to enable implementation
of SVGImage::nativeImageForCurrentFrame() for Cairo.

* platform/graphics/cairo/BitmapImageCairo.cpp:
(WebCore::BitmapImage::BitmapImage):
(WebCore::BitmapImage::draw):
(WebCore::BitmapImage::checkForSolidColor):
(WebCore::FrameData::clear):
* platform/graphics/cairo/GraphicsContext3DCairo.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
* platform/graphics/cairo/ImageCairo.cpp:
(WebCore::Image::drawPattern):
Update Cairo graphics code to reflect the (Pass)NativeImagePtr type changes.

* platform/graphics/cairo/NativeImageCairo.cpp: Removed.
* platform/graphics/cairo/NativeImageCairo.h: Removed.

* platform/graphics/cairo/PatternCairo.cpp:
(WebCore::Pattern::createPlatformPattern):
* platform/graphics/efl/GraphicsContext3DEfl.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
* platform/graphics/efl/ImageEfl.cpp:
(WebCore::BitmapImage::getEvasObject):
* platform/graphics/gtk/ImageGtk.cpp:
(WebCore::BitmapImage::getGdkPixbuf):
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::BitmapTextureGL::updateContents):
* platform/graphics/win/ImageCairoWin.cpp:
(WebCore::BitmapImage::create):
(WebCore::BitmapImage::drawFrameMatchingSourceSize):
* platform/gtk/DragImageGtk.cpp:
(WebCore::createDragImageFromImage):
* platform/image-decoders/cairo/ImageDecoderCairo.cpp:
(WebCore::ImageFrame::asNewNativeImage):
* platform/win/DragImageCairoWin.cpp:
(WebCore::createDragImageFromImage):
Update code to reflect the (Pass)NativeImagePtr type changes.

* svg/graphics/SVGImage.cpp:
(WebCore):
* svg/graphics/SVGImage.h:
Enable SVGImage::nativeImageForCurrentFrame() for USE(CAIRO).

Source/WebKit:

Remove outdated symbols now that NativeImageCairo was removed.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/efl:

Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
instead of NativeImageCairo*.

* ewk/ewk_history.cpp:
(ewk_history_item_icon_surface_get):
(ewk_history_item_icon_object_add):
* ewk/ewk_settings.cpp:
(ewk_settings_icon_database_icon_surface_get):
(ewk_settings_icon_database_icon_object_get):

Source/WebKit/gtk:

Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
instead of NativeImageCairo*.

* webkit/webkitfavicondatabase.cpp:
(getIconPixbufSynchronously):

Source/WebKit/win:

Remove outdated symbols now that NativeImageCairo was removed.

* WebKit.vcproj/WebKitExports.def.in:

Source/WebKit2:

Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
instead of NativeImageCairo*.

* Shared/gtk/ArgumentCodersGtk.cpp:
(CoreIPC::decodeImage):
* UIProcess/API/C/cairo/WKIconDatabaseCairo.cpp:
(WKIconDatabaseTryGetCairoSurfaceForURL):
* UIProcess/API/gtk/WebKitFaviconDatabase.cpp:
(getIconSurfaceSynchronously):

LayoutTests:

Add EFL / GTK pixels results for svg/canvas/canvas-pattern-svg.html now that
the test passes for cairo-based ports.

* platform/efl/svg/canvas/canvas-pattern-svg-expected.png: Added.
* platform/gtk/svg/canvas/canvas-pattern-svg-expected.png: Added.

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

7 years ago[EFL] --minimal build fails with 'error: unused variable'
commit-queue@webkit.org [Thu, 4 Apr 2013 17:48:50 +0000 (17:48 +0000)]
[EFL] --minimal build fails with 'error: unused variable'
https://bugs.webkit.org/show_bug.cgi?id=113903

Patch by Ed Bartosh <bartosh@gmail.com> on 2013-04-04
Reviewed by Gustavo Noronha Silva.

Moved variable definition under #if where it's used
* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::restartedCallback):

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

7 years agoObjcRuntimeExtras.h should use variadic templates
andersca@apple.com [Thu, 4 Apr 2013 17:30:12 +0000 (17:30 +0000)]
ObjcRuntimeExtras.h should use variadic templates
https://bugs.webkit.org/show_bug.cgi?id=113941

Reviewed by Andreas Kling.

Reimplement wtfObjcMsgSend and wtfCallIMP as variadic function templates.

* wtf/ObjcRuntimeExtras.h:
(wtfObjcMsgSend):
(wtfCallIMP):

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

7 years agoFix the build with GCC 4.8
abecsi@webkit.org [Thu, 4 Apr 2013 16:40:41 +0000 (16:40 +0000)]
Fix the build with GCC 4.8
https://bugs.webkit.org/show_bug.cgi?id=113147

Reviewed by Allan Sandfeld Jensen.

Source/JavaScriptCore:

Initialize JSObject* exception to suppress warnings that make
the build fail because of -Werror=maybe-uninitialized.

* runtime/Executable.cpp:
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):

Source/WTF:

Disable diagnostic warning -Wunused-local-typedefs for GCC 4.8
since dummy typedefs are commonly used in the codebase.

* wtf/Compiler.h:

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

7 years agoGlobal FontPlatformData cache should use OwnPtr.
akling@apple.com [Thu, 4 Apr 2013 16:37:08 +0000 (16:37 +0000)]
Global FontPlatformData cache should use OwnPtr.
<http://webkit.org/b/111939>

Reviewed by Anders Carlsson.

Let the global FontPlatformData use OwnPtr instead of raw pointers + deleteAllValues().

* platform/graphics/FontCache.cpp:
(WebCore::FontCache::getCachedFontPlatformData):
(WebCore::FontCache::purgeInactiveFontData):
(WebCore::FontCache::invalidate):

    Tweaked code for OwnPtr. Also made getCachedFontPlatformData() do one hash lookup
    instead of two.

* platform/graphics/FontCache.h:
* platform/graphics/blackberry/FontCacheBlackBerry.cpp:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/chromium/FontCacheAndroid.cpp:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/freetype/FontCacheFreeType.cpp:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/mac/FontCacheMac.mm:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/qt/FontCacheQt.cpp:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/skia/FontCacheSkia.cpp:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/wince/FontCacheWinCE.cpp:
(WebCore::FontCache::createFontPlatformData):
* platform/graphics/wx/FontCacheWx.cpp:
(WebCore::FontCache::createFontPlatformData):

    FontCache::createFontPlatformData() now returns a PassOwnPtr.

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

7 years agoRender images with low-quality scaling while FrameView is being resized.
akling@apple.com [Thu, 4 Apr 2013 16:28:43 +0000 (16:28 +0000)]
Render images with low-quality scaling while FrameView is being resized.
<http://webkit.org/b/113764>
<rdar://problem/13555154>

Reviewed by Antti Koivisto.

Have ImageQualityController ask the renderer's containing FrameView if it's currently in live
resize, and if so, paint all images with low-quality scaling. A high-quality repaint will happen
~0.5 sec after live resizing ends, piggybacking on the same mechanism we use to do JS-animated
resizing with low-quality scaling.

This reduces CPU time spent generating new tiles during live window resize, especially on Retina
systems where a lot of upscaling happens on legacy web content.

* rendering/RenderBoxModelObject.cpp:
(ImageQualityController):

    Added an m_liveResizeOptimizationIsActive flag that tracks whether the ImageQualityController
    is painting everything in low quality due to live window resize. It gets unset when the HQ
    repaint timer fires and everything has been repainted properly.

(WebCore::ImageQualityController::highQualityRepaintTimerFired):

    When the HQ repaint timer fires, check if the renderer's containing FrameView is still in
    live resize, and if so, abort HQ repaint for now and reschedule the timer.

(WebCore::ImageQualityController::ImageQualityController):
(WebCore::ImageQualityController::objectDestroyed):
(WebCore::ImageQualityController::shouldPaintAtLowQuality):

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

7 years ago[Qt] docs: Fix module name format
commit-queue@webkit.org [Thu, 4 Apr 2013 16:18:30 +0000 (16:18 +0000)]
[Qt] docs: Fix module name format
https://bugs.webkit.org/show_bug.cgi?id=113209

Patch by Sze Howe Koh <szehowe.koh@gmail.com> on 2013-04-04
Reviewed by Jocelyn Turcotte.

Make QDoc-generated documentation follow the conventions at
http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation

Source/WebKit/qt:

* Api/qwebdatabase.cpp:
* Api/qwebkitglobal.cpp:
* Api/qwebpluginfactory.cpp:
* Api/qwebsettings.cpp:
* WidgetApi/qgraphicswebview.cpp:
* WidgetApi/qwebframe.cpp:
* WidgetApi/qwebpage.cpp:
* WidgetApi/qwebview.cpp:
* docs/qtwebkit-bridge.qdoc:
* docs/qtwebkit-goes-mobile.qdoc:
* docs/qtwebkit.qdoc:

Source/WebKit2:

* UIProcess/API/qt/qquickwebview.cpp:

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