Code cleanup: remove leftover occurrence of ENABLE(GESTURE_EVENTS)
https://bugs.webkit.org/show_bug.cgi?id=128180

Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2014-02-04
Reviewed by Csaba Osztrogonác.

Removed last occurrence of ENABLE(GESTURE_EVENTS).

* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
(WebKit::NetscapePlugin::platformHandleMouseEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Add expectations for two flaky media layout tests
https://bugs.webkit.org/show_bug.cgi?id=128183

Unreviewed EFL gardening.

Patch by Andrzej Badowski <a.badowski@samsung.com> on 2014-02-04

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r159609): Images are corrupted when hovering over buttons @ github.com
https://bugs.webkit.org/show_bug.cgi?id=127729

Reviewed by Antti Koivisto.

Source/WebCore:

When clipping a rect, the RenderLayer would not properly save the context when
the clipping rect is the same as the paint rect and the clipping rect
has radius.

Test: fast/regions/repaint/hover-border-radius.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::clipToRect):
(WebCore::RenderLayer::restoreClip):

LayoutTests:

Added test for the correct repainting of buttons with border radius when hovering.

* fast/regions/repaint/hover-border-radius-expected.txt: Added.
* fast/regions/repaint/hover-border-radius.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove SVG_DOM_OBJC_BINDINGS after r161638.
https://bugs.webkit.org/show_bug.cgi?id=128182

Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2014-02-04
Reviewed by Andreas Kling.

Removed ENABLE(SVG_DOM_OBJC_BINDINGS).

No tests required.

* bindings/objc/DOMUIKitExtensions.mm:
(-[DOMNode boundingBoxes]):
(-[DOMNode absoluteQuads]):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
GC timer should always do a FullCollection
https://bugs.webkit.org/show_bug.cgi?id=128186

Reviewed by Michael Saboff.

Right now the GC timer does whatever type of collection the next collection 
would have been, which is almost always an EdenCollection. It then thinks 
that it has done all of the work it was supposed to do and never schedules 
another GC. Ideally we'd like to have some heuristics for the timer that 
would schedule both EdenCollections and FullCollections, but the easiest 
fix for now is to always do FullCollections since that will at least be 
a non-regression.

* heap/Heap.h:
(JSC::Heap::gcTimerDidFire):
* runtime/GCActivityCallback.cpp:
(JSC::DefaultGCActivityCallback::doWork):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Manage MediaQuery and MediaQueryExp classes through std::unique_ptr instead of OwnPtr
https://bugs.webkit.org/show_bug.cgi?id=128117

Reviewed by Darin Adler.

Replace uses of OwnPtr for the MediaQuery and MediaQueryExp classes with std::unique_ptr.

* css/CSSGrammar.y.in:
* css/CSSParser.cpp:
(WebCore::CSSParser::parseMediaQuery):
* css/CSSParser.h:
* css/MediaList.cpp:
(WebCore::MediaQuerySet::parse):
(WebCore::MediaQuerySet::add):
(WebCore::MediaQuerySet::remove):
(WebCore::MediaQuerySet::addMediaQuery):
(WebCore::MediaList::item):
(WebCore::reportMediaQueryWarningIfNeeded):
* css/MediaList.h:
(WebCore::MediaQuerySet::queryVector):
* css/MediaQuery.cpp:
(WebCore::MediaQuery::MediaQuery):
* css/MediaQuery.h:
(WebCore::MediaQuery::expressions):
(WebCore::MediaQuery::copy):
* css/MediaQueryEvaluator.cpp:
(WebCore::MediaQueryEvaluator::eval):
* css/MediaQueryExp.cpp:
(WebCore::MediaQueryExp::MediaQueryExp):
* css/MediaQueryExp.h:
(WebCore::MediaQueryExp::copy):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
iOS build fix.

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



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163387 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WK2: Selection callout bar does not scroll with the selection.
https://bugs.webkit.org/show_bug.cgi?id=128142
<rdar://problem/15970812>

Reviewed by Benjamin Poulain.

Adding notifications to WKContentView to all the delegates
for scrolling and zooming to let WKInteractionView about it.
This allows the interaction assistants to hide the callout
while scrolling or zooming and to fade it in again at the end.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView scrollViewWillBeginZooming:withView:]):
(-[WKWebView scrollViewWillBeginDragging:]):
* UIProcess/API/ios/WKContentView.h:
* UIProcess/API/ios/WKContentView.mm:
(-[WKContentView didFinishScrollTo:]):
(-[WKContentView willStartZoomOrScroll]):
(-[WKContentView didZoomToScale:]):
* UIProcess/API/ios/WKInteractionView.h:
* UIProcess/API/ios/WKInteractionView.mm:
(-[WKInteractionView _willStartScrollingOrZooming]):
(-[WKInteractionView _didEndScrollingOrZooming]):
* UIProcess/API/ios/WKViewIOS.mm:
(-[WKView scrollViewWillBeginZooming:withView:]):
(-[WKView scrollViewWillBeginDragging:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163388 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove CPP bindings generator.
<https://webkit.org/b/128189>

Scrub out some leftover Blackberry gunk.

Reviewed by Anders Carlsson.

* Modules/webdatabase/SQLResultSet.idl:
* bindings/cpp/WebDOMCString.cpp: Removed.
* bindings/cpp/WebDOMCString.h: Removed.
* bindings/cpp/WebDOMDOMWindowCustom.cpp: Removed.
* bindings/cpp/WebDOMEventListenerCustom.cpp: Removed.
* bindings/cpp/WebDOMEventTarget.cpp: Removed.
* bindings/cpp/WebDOMEventTarget.h: Removed.
* bindings/cpp/WebDOMHTMLCollectionCustom.cpp: Removed.
* bindings/cpp/WebDOMHTMLDocumentCustom.cpp: Removed.
* bindings/cpp/WebDOMHTMLOptionsCollectionCustom.cpp: Removed.
* bindings/cpp/WebDOMNodeCustom.cpp: Removed.
* bindings/cpp/WebDOMNodeFilterCustom.cpp: Removed.
* bindings/cpp/WebDOMObject.h: Removed.
* bindings/cpp/WebDOMString.cpp: Removed.
* bindings/cpp/WebDOMString.h: Removed.
* bindings/cpp/WebExceptionHandler.cpp: Removed.
* bindings/cpp/WebExceptionHandler.h: Removed.
* bindings/cpp/WebNativeEventListener.cpp: Removed.
* bindings/cpp/WebNativeEventListener.h: Removed.
* bindings/cpp/WebNativeNodeFilterCondition.cpp: Removed.
* bindings/cpp/WebNativeNodeFilterCondition.h: Removed.
* bindings/scripts/CodeGeneratorCPP.pm: Removed.
* bindings/scripts/test/CPP/CPPTestSupplemental.cpp: Removed.
* bindings/scripts/test/CPP/CPPTestSupplemental.h: Removed.
* bindings/scripts/test/CPP/WebDOMFloat64Array.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMFloat64Array.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestCallback.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestCallback.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventConstructor.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventTarget.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestException.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestException.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestImplements.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestImplements.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestInterface.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestInterface.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestNamedConstructor.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestNode.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestNode.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestObj.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestObj.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestSupplemental.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestSupplemental.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestTypedefs.h: Removed.
* bindings/scripts/test/CPP/WebDOMattribute.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMattribute.h: Removed.
* bindings/scripts/test/CPP/WebDOMreadonly.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMreadonly.h: Removed.
* css/StyleSheet.idl:
* dom/CustomEvent.idl:
* dom/Document.idl:
* dom/Event.idl:
* dom/Node.idl:
* dom/PopStateEvent.idl:
* html/HTMLCanvasElement.idl:
* html/HTMLInputElement.idl:
* html/canvas/CanvasRenderingContext2D.idl:
* page/DOMWindow.idl:
* page/Location.idl:
* workers/DedicatedWorkerGlobalScope.idl:

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