Fix build warning (uninitialized variable) in DFGFixupPhase.cpp
https://bugs.webkit.org/show_bug.cgi?id=132331

Patch by Tanay C <tanay.c@samsung.com> on 2014-05-09
Reviewed by Darin Adler.

* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::injectTypeConversionsForEdge):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@168540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rename WebKit2.framework to WebKit.framework
https://bugs.webkit.org/show_bug.cgi?id=132743
<rdar://problem/15920046>

Reviewed by Dan Bernstein.

.:
* Source/Makefile:
Build WebKit.xcodeproj before WebKit2.xcodeproj.

* WebKit.xcworkspace/xcshareddata/xcschemes/:
Ditto.

Source/WebKit:
* WebKit.xcodeproj/project.pbxproj:
Remove the WebKit framework, it lives inside WebKit2 now.

Source/WebKit2:
* Configurations/BaseLegacyProcess.xcconfig:
Change INSTALL_PATH to WebKit.framework.

* Configurations/BaseTarget.xcconfig:
Change WEBKIT2_FRAMEWORKS_DIR to WEBKIT_FRAMEWORKS_DIR and add WEBKIT_LEGACY_PRIVATE_HEADERS_DIR.

* Configurations/BaseXPCService.xcconfig:
Change WebKit2.framework to WebKit.framework.

* Configurations/WebKit.xcconfig: Copied from Source/WebKit2/Configurations/WebKit2.xcconfig.
New configuration file for WebKit.framework. Re-export WebKitLegacy.framework.

* Configurations/WebKit2.xcconfig:
New configuration file for the WebKit2 shim framework. Re-export WebKit.framework.

* NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist:
Update DYLD_INSERT_LIBRARIES to refer to WebKit.framework.

* PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist:
Update DYLD_INSERT_LIBRARIES to refer to WebKit.framework.

* Shared/API/Cocoa/WKBrowsingContextHandle.h:
* Shared/API/Cocoa/WKRenderingProgressEvents.h:
Update header imports.

* Shared/API/Cocoa/WebKit.h: Renamed from Source/WebKit/mac/WebKitLegacy/WebKit.h.
New umbrella header. Imports the modern WebKit API as well as the legacy API.

* Shared/API/Cocoa/WebKit.m: Renamed from Source/WebKit/mac/WebKitLegacy/WebKit.m.
Export install name symbols on iOS.

* Shared/API/Cocoa/WebKitPrivate.h: Renamed from Source/WebKit/mac/WebKitLegacy/WebKitPrivate.h.
New umbrella SPI header. Imports the modern WebKit SPI.

* Many headers:
Change WebKit2 includes to WebKit includes.

* Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm:
(WebKit::XPCServiceEventHandler):
Change bundle identifiers from com.apple.WebKit2 to com.apple.WebKit.

* Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm:
(WebKit::XPCServiceEventHandler):
Change bundle identifier from com.apple.WebKit2 to com.apple.WebKit.

* UIProcess/API/Cocoa/WKPreferences.h:
Stop including WKPreferencesRef.h, we have a WebKit2 header that handles this workaround for us now.

* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::addDYLDEnvironmentAdditions):
(WebKit::connectToService):
(WebKit::createProcess):
(WebKit::ProcessLauncher::launchProcess):
Change bundle identifiers from com.apple.WebKit2 to com.apple.WebKit.

* UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
(WebKit::PluginProcessProxy::createPropertyListFile):
Change bundle identifiers from com.apple.WebKit2 to com.apple.WebKit.

* UIProcess/mac/WebContextMac.mm:
(WebKit::WebContext::platformDefaultDiskCacheDirectory):
Change bundle identifier from com.apple.WebKit2 to com.apple.WebKit.

* WebKit2.xcodeproj/project.pbxproj:
Copy the python message scripts to the WebKit2 framework.
Rename WebKit2.framework to WebKit.framework everywhere.
Add a new WebKit2 target that builds the shim WebKit2 framework.
Move the build script phase that migrates WebKitLegacy headers to WebKit.
Add a new build script phase that adds forwarding headers from WebKit2 to WebKit.

* WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist:
Update DYLD_INSERT_LIBRARIES to refer to WebKit.framework.

* mac/MigrateHeadersFromWebKitLegacy.make: Renamed from Source/WebKit/mac/WebKitLegacy/MigrateHeadersFromWebKitLegacy.make.
Move the makefile that migrates WebKitLegacy headers here. On OS X, it copies the header contents and on iOS it creates forarding headers.

* mac/MigrateHeadersToWebKit2.make:
New makefile that creates forwarding headers for the WebKit2 shim framework.

* mac/WKPreferences.h: Added.
Add WebKit2/WKPreferences.h header that imports WebKit2/WKPreferencesref.h.

* mac/WebKit2.m:
Skeleton for the WebKit2 shim framework.

* mac/Info-WebKit2.plist: Added.
New Info.plist file for the WebKit2 shim framework.

Tools:
* Scripts/check-for-inappropriate-files-in-framework:
Use PRODUCT_NAME instead of PROJECT_NAME when matching frameworks.
Change WebKit2 to WebKit.

* Scripts/check-for-webkit-framework-include-consistency:
Change WebKit to WebKitLegacy.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@168541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r168448): fast/multicol/newmulticol/first-letter-create.html is very flaky
https://bugs.webkit.org/show_bug.cgi?id=132744

* TestExpectations: Marked as such.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@168542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ASSERTION FAILED: object->style()->overflowX() == object->style()->overflowY()
https://bugs.webkit.org/show_bug.cgi?id=121682

Patch by Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com> on 2014-05-09
Reviewed by Dirk Schulze.

Source/WebCore:
Add more overflow freedom to the SVG element:
-overflow-x and overflow-y for controlling each scrollbar independently is now supported
-overflow:scroll will display scrollbars regardless of the svg overflowing or not (as required by CSS)
-overflow:hidden will cause overflow to be clipped away and scrollbars to be hidden

Merged from Blink r172126 by <ed@opera.com>

Tests: svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg
       svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg
       svg/animations/animate-viewport-overflow-2.html
       svg/animations/animate-viewport-overflow.html
       svg/in-html/overflow-repaint.html
       svg/in-html/overflow-svg-root-attr.html
       svg/in-html/overflow-svg-root-style.html
       svg/in-html/overflow-svg-root.html
       svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg
       svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg
       svg/overflow/overflow-scroll-on-outermost-svg-element.svg
       svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg
       svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg
       svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg
       svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg

* css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle):
* page/FrameView.cpp:
(WebCore::FrameView::applyOverflowToViewport):
* rendering/svg/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::layout):
(WebCore::RenderSVGRoot::shouldApplyViewportClip):
(WebCore::RenderSVGRoot::paintReplaced):
(WebCore::RenderSVGRoot::computeFloatRectForRepaint):
* rendering/svg/RenderSVGRoot.h:
* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::isOverflowHidden):

LayoutTests:
Merge Blink r172126 by Erik Dahlström.

* platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt:
* platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png:
* platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt:
* platform/mac/svg/text/non-bmp-positioning-lists-expected.txt: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.png: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.txt: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg: Added.
* svg/animations/animate-viewport-overflow-2-expected.txt: Added.
* svg/animations/animate-viewport-overflow-2.html: Added.
* svg/animations/animate-viewport-overflow-expected.txt: Added.
* svg/animations/animate-viewport-overflow.html: Added.
* svg/in-html/overflow-repaint-expected.txt: Added.
* svg/in-html/overflow-repaint.html: Added.
* svg/in-html/overflow-svg-root-attr-expected.html: Added.
* svg/in-html/overflow-svg-root-attr.html: Added.
* svg/in-html/overflow-svg-root-expected.html: Added.
* svg/in-html/overflow-svg-root-style-expected.html: Added.
* svg/in-html/overflow-svg-root-style.html: Added.
* svg/in-html/overflow-svg-root.html: Added.
* svg/overflow/overflow-on-outermost-svg-element-horizontal-auto-expected.html: Added.
* svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg: Added.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt:
* svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png:
* svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt: Copied from LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml:
* svg/overflow/overflow-on-outermost-svg-element-vertical-auto-expected.html: Added.
* svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg: Added.
* svg/overflow/overflow-scroll-on-outermost-svg-element-expected.txt: Added.
* svg/overflow/overflow-scroll-on-outermost-svg-element.svg: Added.
* svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg: Added.
* svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg: Added.
* svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg: Added.
* svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg: Added.

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