2017-12-28 Fujii Hironori [Win][CMake] Use add_custom_command to copy each forwarding header files https://bugs.webkit.org/show_bug.cgi?id=180921 Reviewed by Brent Fulgham. Modifying WTF header files didn't trigger the recompilation of TestWTF because Ninja doesn't know which command generates the forwarding header. Use add_custom_command to copy each forwarding header files. * Source/cmake/WebKitMacros.cmake: Added a new function WEBKIT_MAKE_FORWARDING_HEADERS. 2017-12-22 Michael Catanzaro [GTK] Duplicated symbols in libjavascriptcoregtk and libwebkit2gtk can cause crashes in production builds https://bugs.webkit.org/show_bug.cgi?id=179914 Reviewed by Carlos Garcia Campos. Let's build JSC as a static library, and link that static lib to *both* our shared libjavascriptcoregtk and libwebkit2gtk. Then we can fix this and also filter out all the private symbols that we're currently exposing in libjavascriptcoregtk, which wouldn't be possible otherwise. The cost of this is disk space. I think this trade-off is reasonable, because it's the best way I could think of that accomplishes all our goals: (a) install two shared libs, (b) export only public API symbols, (c) does not require any linker hacks. Additionally, build with -fvisibility=hidden so that the compiler knows that many symbols will be stripped out. This should improve code generation. It's actually how WPE was previously compiled, but I removed this when I added the version script for WPE, because I thought it was redundant with the version script. It is not, and we should use both, according to Ulrich Drepper's "How to Write Shared Libraries." We will use -fvisibility=hidden on all ports; this should be fine, as long as export macros are used where needed. This is actually a totally separate change, but it makes sense to do it now if we consider this bug a catch-all "fix how we link WebKit" issue. * CMakeLists.txt: Rejigger the default library types, and remove the SHARED_CORE option, which is not likely to work properly in ports that are not expecting it. These changes are only mildly-related and certainly not required, but it makes sense to clean them up now. * Source/cmake/OptionsGTK.cmake: Don't set the version script here. * Source/cmake/OptionsJSCOnly.cmake: Adjust to changes in default library types. * Source/cmake/OptionsMac.cmake: Adjust to changes in default library types. Override the library type variables only when required. * Source/cmake/OptionsWPE.cmake: Overriding the library type variables is no longer required. Also, don't set the version script here. * Source/cmake/OptionsWin.cmake: Adjust to changes in default library types. Override the library type variables only when required. * Source/cmake/WebKitCompilerFlags.cmake: Build with -fvisibility=hidden, -fvisibility-inlines-hidden, and -Wno-attributes. * Source/cmake/wpesymbols.filter: Removed. 2017-12-20 Don Olmstead [CMake][Win] Add a way to set CMAKE_IGNORE_PATH https://bugs.webkit.org/show_bug.cgi?id=181056 Reviewed by Konstantin Tokarev. * Source/cmake/OptionsWin.cmake: 2017-12-20 Daniel Bates Remove Alternative Presentation Button https://bugs.webkit.org/show_bug.cgi?id=180500 Reviewed by Simon Fraser. We no longer need the alternative presentation button. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-12-20 Fujii Hironori [CMake][WTF] Lowercase ForwardingHeaders directory name of WTF https://bugs.webkit.org/show_bug.cgi?id=181022 Reviewed by Konstantin Tokarev. ForwardingHeaders of WTF are included as . But, the directory name was uppercase DerivedSources/ForwardingHeaders/WTF. This confuses Ninja dependency tracking. It should be lowercase. * Source/cmake/WebKitMacros.cmake: Renamed ForwardingHeaders directory name WTF to wtf. 2017-12-16 Basuke Suzuki [WinCairo] Move the destination of WinCairoRequirements.zip into WebKitLibraries and register it and related files as git ignore files. https://bugs.webkit.org/show_bug.cgi?id=180875 Reviewed by Alex Christensen. Add files extracted from WinCairoRequirements.zip * .gitignore: 2017-12-14 Tomas Popela Build should fail early is needed Perl modules are not installed https://bugs.webkit.org/show_bug.cgi?id=180137 Reviewed by Michael Catanzaro. Don't finish the configure successfully if the required Perl modules are not installed. Start to require modules that are needed for WPE/GTK+ ports. * Source/cmake/FindPerlModules.cmake: Copied from https://github.com/KDE/kdelibs4support/blob/master/cmake/FindPerlModules.cmake and made it WebKit style compliant. * Source/cmake/WebKitCommon.cmake: 2017-12-13 Carlos Alberto Lopez Perez [WPE] WebCrypto should be a public option. https://bugs.webkit.org/show_bug.cgi?id=180780 Reviewed by Konstantin Tokarev. Make ENABLE_WEB_CRYPTO public and lower the dependency requirements when this option is not enabled. This is also how the GTK+ port configures the visibility of this option and its dependencies. * Source/cmake/OptionsWPE.cmake: 2017-12-13 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-12-12 Don Olmstead [WinCairo] Enable WebP support https://bugs.webkit.org/show_bug.cgi?id=179908 Reviewed by Konstantin Tokarev. * Source/cmake/OptionsWinCairo.cmake: 2017-12-08 Fujii Hironori [WinCairo][Ninja] Incremental build failure of WTF https://bugs.webkit.org/show_bug.cgi?id=180521 Reviewed by Konstantin Tokarev. WTF included its forwarding headers in Windows ports. The directory DerivedSources/ForwardingHeaders shouldn't be a include path for WTF. * Source/cmake/OptionsWin.cmake: Removed DerivedSources/ForwardingHeaders and DerivedSources from include paths. 2017-12-07 Michael Catanzaro [WPE][GTK] Freeze WebKit version in user agent https://bugs.webkit.org/show_bug.cgi?id=180475 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-12-05 Stephan Szabo Switch windows build to Visual Studio 2017 https://bugs.webkit.org/show_bug.cgi?id=172412 Reviewed by Per Arne Vollan. * Source/cmake/OptionsMSVC.cmake: 2017-12-01 Konstantin Tokarev [cmake] Make description of ENABLE_DRAG_SUPPORT more informative https://bugs.webkit.org/show_bug.cgi?id=180266 Reviewed by Michael Catanzaro. When disabled, it also disables selection of text with dragging, and this comes as a surprise for many people. * Source/cmake/WebKitFeatures.cmake: 2017-12-01 Michael Catanzaro [GStreamer] Fix USE_GSTREAMER_GL check for GStreamer 1.10 https://bugs.webkit.org/show_bug.cgi?id=180256 Reviewed by Carlos Alberto Lopez Perez. It's not safe to change the value of build options after WEBKIT_OPTION_END, since it breaks the option dependency checker. I don't think that actually hurts anything in this case, but let's not encourage bad practice. Also, it's not good for features to be secretly disabled. Nobody reads CMake output unless there is a fatal error. Failing the build at the CMake stage lets distributors know that a feature will be missing. And of course, it's still possible to disable USE_GSTREAMER_GL to avoid the increased GStreamer requirement. * Source/cmake/GStreamerChecks.cmake: 2017-12-01 Michael Catanzaro [GTK] [MSE] Turn MSE on by default https://bugs.webkit.org/show_bug.cgi?id=167107 Reviewed by Carlos Alberto Lopez Perez. Turn on the ENABLE_MEDIA_SOURCE build option. Fail the build if GStreamer 1.8 is not installed and ENABLE_MEDIA_SOURCE has not been disabled. * Source/cmake/GStreamerChecks.cmake: * Source/cmake/GStreamerDefinitions.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-11-30 Stephan Szabo Make LegacyCustomProtocolManager optional for network process https://bugs.webkit.org/show_bug.cgi?id=176230 Reviewed by Alex Christensen. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-11-29 Alex Christensen Fix Mac CMake build. * Source/cmake/OptionsMac.cmake: 2017-11-28 Michael Catanzaro REGRESSION(r225098): [WPE] Some features have changed of value (70 new failures) https://bugs.webkit.org/show_bug.cgi?id=180004 Reviewed by Alex Christensen. Turn on ENABLE_ENCRYPTED_MEDIA and ENABLE_WEBGL2 when building with ENABLE_EXPERIMENTAL_FEATURES. Also, let's stop turning off ENABLE_USERSELECT_ALL, as I doubt there's any good reason for that. * Source/cmake/OptionsWPE.cmake: 2017-11-27 Don Olmstead [CMake][Win] Conditionally select DLL CRT or static CRT https://bugs.webkit.org/show_bug.cgi?id=170594 Reviewed by Alex Christensen. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsMSVC.cmake: 2017-11-27 Adrian Perez de Castro [CMake] Values of CMAKE_BUILD_TYPE from toolchain file are ignored https://bugs.webkit.org/show_bug.cgi?id=179971 Reviewed by Carlos Alberto Lopez Perez. * CMakeLists.txt: Call project() first, as it loads the toolchain file, so that's done before checking CMAKE_BUILD_TYPE. 2017-11-22 Michael Catanzaro Sanity-check feature defaults in WebKitFeatures.cmake https://bugs.webkit.org/show_bug.cgi?id=179095 Reviewed by Konstantin Tokarev. Change the default value of some features in WebKitFeatures.cmake to reduce the number of Options*.cmake files the feature's default value must be overridden in. Remove feature definitions where they are redundant with the definition in WebKitFeatures.cmake, particluarly in OptionsMac.cmake. This commit should not include any functional changes. It just aims to reduce the total number of times we need to call WEBKIT_OPTION_DEFAULT_PORT_VALUE. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-11-22 Tim Horton and Michael Catanzaro Remove build-webkit's notion of feature flags having a default value https://bugs.webkit.org/show_bug.cgi?id=177338 Reviewed by Carlos Alberto Lopez Perez. Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features. * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-11-21 Zan Dobersek Drop ENABLE_IMAGE_DECODER_DOWN_SAMPLING code https://bugs.webkit.org/show_bug.cgi?id=179921 Reviewed by Carlos Garcia Campos. * Source/cmake/WebKitFeatures.cmake: Remove the CMake option that enabled IMAGE_DECODER_DOWN_SAMPLING code. 2017-11-20 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.2 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-11-20 Michael Catanzaro Remove ENABLE_ALLINONE_BUILD option https://bugs.webkit.org/show_bug.cgi?id=179823 Reviewed by Darin Adler. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-11-19 Tim Horton Remove unused TOUCH_ICON_LOADING feature flag https://bugs.webkit.org/show_bug.cgi?id=179873 Reviewed by Simon Fraser. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-11-19 Yusuke Suzuki Add CPU(UNKNOWN) to cover all the unknown CPU types https://bugs.webkit.org/show_bug.cgi?id=179243 Reviewed by JF Bastien. Drop SH4, S390, and S390X explicit support. They are handled as CPU(UNKNOWN). * CMakeLists.txt: 2017-11-19 Tim Horton Remove unused LEGACY_VENDOR_PREFIXES feature flag https://bugs.webkit.org/show_bug.cgi?id=179872 Reviewed by Darin Adler. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-11-16 Don Olmstead [WinCairo] Update WinCairoRequirements https://bugs.webkit.org/show_bug.cgi?id=179790 Reviewed by Alex Christensen. * Source/cmake/OptionsWinCairo.cmake: 2017-11-16 Daniel Bates Add feature define for alternative presentation button element https://bugs.webkit.org/show_bug.cgi?id=179692 Part of Reviewed by Andy Estes. Only enabled on Cocoa platforms by default. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-11-16 Michael Catanzaro [WPE] Expose ENABLE_JIT and USE_SYSTEM_MALLOC options https://bugs.webkit.org/show_bug.cgi?id=179730 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/OptionsWPE.cmake: 2017-11-15 Carlos Garcia Campos [WPE] Add initial support for WebDriver https://bugs.webkit.org/show_bug.cgi?id=179727 Reviewed by Michael Catanzaro. Enable WebDriver by default in WPE. * Source/cmake/OptionsWPE.cmake: 2017-11-15 Keith Miller Unreviewed, sort async iteration feature. * Source/cmake/WebKitFeatures.cmake: 2017-11-15 Keith Miller REGRESSION(r224787): [Linux] Introduced 144 GTK/WPE JS test failures https://bugs.webkit.org/show_bug.cgi?id=179704 Reviewed by Yusuke Suzuki. Add feature flag for Async iteration. * Source/cmake/WebKitFeatures.cmake: 2017-11-13 Michael Catanzaro [GTK] Require woff2 1.0.2 and drop direct brotli dependency https://bugs.webkit.org/show_bug.cgi?id=179630 Reviewed by Frédéric Wang. * Source/cmake/FindBrotliDec.cmake: Removed. * Source/cmake/OptionsGTK.cmake: 2017-11-09 Michael Catanzaro [WPE] Use linker script to control exported symbols https://bugs.webkit.org/show_bug.cgi?id=179358 Reviewed by Carlos Alberto Lopez Perez. The C API is being inadvertently exported because it's marked as WEBKIT_EXPORT in the header files. But of course it should only be exported in DEVELOPER_MODE, where it's needed for WebKitTestRunner. Use (almost) the same linker version script as GTK to fix this. It's slightly different because WPE does not have WebKitPluginProcess. This also reduces binary size of libWPEWebKit.so in debug mode from 615 MB down to 497 MB. (Haven't checked release mode.) * Source/cmake/OptionsWPE.cmake: * Source/cmake/wpesymbols.filter: Added. 2017-11-08 Michael Catanzaro [WPE] Turn on ENABLE_INDEXED_DATABASE_IN_WORKERS https://bugs.webkit.org/show_bug.cgi?id=179094 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/OptionsWPE.cmake: 2017-11-07 Michael Catanzaro [WPE] Turn on ENABLE_MEDIA_SOURCE https://bugs.webkit.org/show_bug.cgi?id=179093 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/OptionsWPE.cmake: 2017-11-06 Michael Catanzaro Unreviewed, fix WPE build after r224492 https://bugs.webkit.org/show_bug.cgi?id=179009 * Source/cmake/OptionsWPE.cmake: 2017-11-06 Michael Catanzaro [WPE] Clean up OptionsWPE.cmake https://bugs.webkit.org/show_bug.cgi?id=179009 Reviewed by Žan Doberšek. * Source/cmake/OptionsWPE.cmake: 2017-11-06 Michael Catanzaro [WPE][GTK] Always use SET_AND_EXPOSE_TO_BUILD to set build variables https://bugs.webkit.org/show_bug.cgi?id=179038 Reviewed by Žan Doberšek. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-11-03 Michael Catanzaro [WPE][GTK] Avoid duplicating code for dist and distcheck targets https://bugs.webkit.org/show_bug.cgi?id=179154 Reviewed by Carlos Garcia Campos. This commit just reduces some CMake code duplication between GTK and WPE. * Source/PlatformGTK.cmake: * Source/PlatformWPE.cmake: * Source/cmake/WebKitDist.cmake: Added. 2017-11-02 Tim Horton Reduce duplication in the toplevel Makefile https://bugs.webkit.org/show_bug.cgi?id=179204 Unreviewed build fix. * Source/Makefile: Take three. An empty SDKROOT should be like Mac (and build all the things). 2017-11-02 Tim Horton Reduce duplication in the toplevel Makefile https://bugs.webkit.org/show_bug.cgi?id=179204 * Source/Makefile: Address some post-landing review comments to keep the order of the MODULES correct. 2017-11-02 Tim Horton Reduce duplication in the toplevel Makefile https://bugs.webkit.org/show_bug.cgi?id=179204 Reviewed by Simon Fraser. * Source/Makefile: Make MODULES additive instead of completely repeated, and only build libwebrtc where it's needed. 2017-11-02 Alberto Garcia Unreviewed, fix typos in library names for the GTK+ port. * Source/cmake/OptionsGTK.cmake: 2017-10-31 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-10-31 Carlos Garcia Campos Unreviewed. Fix GTK+/WPE make distcheck. * CMakeLists.txt: Only include PerformanceTests directory to the build for GTK+ and WPE ports when developer mode is enabled. 2017-10-26 Adrian Perez de Castro [WPE] Use proper shared object versioning for libWPEWebKit.so https://bugs.webkit.org/show_bug.cgi?id=178878 Reviewed by Michael Catanzaro. Move the CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE() to a new CMake include file, and use it both for the GTK+ and WPE ports. Also add a SET_PROJECT_VERSION() macro to unify setting the PROJECT_VERSION* family of variables. * Source/cmake/OptionsGTK.cmake: Use the common macros imported from VersioningUtils.cmake. * Source/cmake/OptionsWPE.cmake: Properly assign a shared object version to libWPEWebKit.so, using the common macros from VersioningUtils.cmake. * Source/cmake/VersioningUtils.cmake: Added. 2017-10-26 Adrian Perez de Castro [GTK] WebKit library .so version is not being set correctly https://bugs.webkit.org/show_bug.cgi?id=178873 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: Adjust name of the target for which the .so version gets calculated. 2017-10-24 Stephan Szabo [Win][JSCOnly] Make jsconly build testapi and dlls and copy dlls when running tests https://bugs.webkit.org/show_bug.cgi?id=177279 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsJSCOnly.cmake: 2017-10-21 Tim Horton Turn on ccache for Mac cmake builds by default https://bugs.webkit.org/show_bug.cgi?id=177059 Reviewed by Sam Weinig. * Source/cmake/WebKitCCache.cmake: Added. * Source/cmake/WebKitCommon.cmake: Turn on ccache for Mac CMake builds (Makefile and Ninja generators only) if it's installed, making use of CMake's ability to wrap the compiler invocation. 2017-10-20 Antoine Quint [Web Animations] Provide basic timeline and animation interfaces https://bugs.webkit.org/show_bug.cgi?id=178526 Reviewed by Dean Jackson. Remove the WEB_ANIMATIONS compile-time flag. * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-10-18 Keith Miller Setup WebCore build to start using unified sources. https://bugs.webkit.org/show_bug.cgi?id=178362 Reviewed by Tim Horton. Pass features to the unified source bundler script. * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/WebKitMacros.cmake: 2017-10-18 Zan Dobersek Remove remnants of OpenWebRTC https://bugs.webkit.org/show_bug.cgi?id=178437 Reviewed by Alejandro G. Castro. Remove the FindOpenWebRTC.cmake file and the searches for it in both OptionsGTK and OptionsWPE. * Source/cmake/FindOpenWebRTC.cmake: Removed. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-10-10 Adrian Perez de Castro [WPE] Remove the possibility of installing the old WebKit2 C API https://bugs.webkit.org/show_bug.cgi?id=178125 Reviewed by Michael Catanzaro. * Source/cmake/OptionsWPE.cmake: Remove definition of the EXPORT_DEPRECATED_WEBKIT2_C_API build option. 2017-10-10 Michael Catanzaro [WPE] Expose ENABLE_XSLT option https://bugs.webkit.org/show_bug.cgi?id=177857 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/OptionsWPE.cmake: 2017-10-09 Adrian Perez de Castro [WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config https://bugs.webkit.org/show_bug.cgi?id=178081 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/FindLibEpoxy.cmake: Define the ${LIBEPOXY_DEFINITIONS} variable when libepoxy is found by pkg-config. This contains the value of the "Cflags" field from "epoxy.pc". 2017-10-05 Frederic Wang Remove WOFF2 from Source/ThirdParty. https://bugs.webkit.org/show_bug.cgi?id=177862 Reviewed by Michael Catanzaro. * Source/CMakeLists.txt: Do not build the woff2 source. * Source/cmake/FindWOFF2Dec.cmake: Added. New cmake module for woff2. * Source/cmake/OptionsGTK.cmake: Load the woff2 package. 2017-10-05 Carlos Alberto Lopez Perez Generate a compile error if release is built without compiler optimizations https://bugs.webkit.org/show_bug.cgi?id=177665 Reviewed by Brian Burg. Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset. * CMakeLists.txt: 2017-10-05 Tim Horton Make progress toward properly-formed XPC services in the Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=177918 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: Add a macro wrapper around 'ln'. 2017-10-03 Frederic Wang Remove Brotli from Source/ThirdParty https://bugs.webkit.org/show_bug.cgi?id=177804 Reviewed by Michael Catanzaro. * Source/CMakeLists.txt: Do not build ThirdParty/brotli anymore. * Source/cmake/FindBrotliDec.cmake: Added. New cmake module to find Brotli via PkgConfig. * Source/cmake/OptionsGTK.cmake: Expose USE_WOFF2 as a public option and use find_package to look for brotli. 2017-10-05 Yusuke Suzuki [Linux] Port MallocBench https://bugs.webkit.org/show_bug.cgi?id=177856 Reviewed by Filip Pizlo. * CMakeLists.txt: 2017-10-04 Ryan Haddad Unreviewed, rolling out r222840. This change breaks internal builds. Reverted changeset: "Generate a compile error if release is built without compiler optimizations" https://bugs.webkit.org/show_bug.cgi?id=177665 http://trac.webkit.org/changeset/222840 2017-10-04 Commit Queue Unreviewed, rolling out r222775. https://bugs.webkit.org/show_bug.cgi?id=177890 Significantly increased the WebKit build time (Requested by rniwa on #webkit). Reverted changeset: "Build libwebrtc unit tests executables" https://bugs.webkit.org/show_bug.cgi?id=177211 http://trac.webkit.org/changeset/222775 2017-10-04 Miguel Gomez Add animation support for WebP images https://bugs.webkit.org/show_bug.cgi?id=113124 Reviewed by Žan Doberšek. * Source/cmake/FindWebP.cmake: 2017-10-04 Carlos Alberto Lopez Perez Generate a compile error if release is built without compiler optimizations https://bugs.webkit.org/show_bug.cgi?id=177665 Reviewed by Michael Catanzaro. Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset. * CMakeLists.txt: 2017-10-03 Gustavo Noronha Silva [GLib] Let WebCore know of low power situations https://bugs.webkit.org/show_bug.cgi?id=177810 Reviewed by Carlos Garcia Campos. WebCore can use knowledge of low power situations to throttle timers and avoid expensive checks, lowering power usage. We can use upower's warning level to let WebCore know we are in such a situation. * Source/cmake/OptionsGTK.cmake: depend on upower-glib. * Source/cmake/FindUPowerGLib.cmake: Added. 2017-10-03 Youenn Fablet Build libwebrtc unit tests executables https://bugs.webkit.org/show_bug.cgi?id=177211 Reviewed by Alex Christensen. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-10-02 Olivier Blin [WPE] Remove GnuTLS dependency https://bugs.webkit.org/show_bug.cgi?id=177750 Reviewed by Michael Catanzaro. libgcrypt is used by default instead of GnuTLS. See bug 163125 * Source/cmake/OptionsWPE.cmake: 2017-10-02 Olivier Blin [WPE] Do not require XSLT if disabled https://bugs.webkit.org/show_bug.cgi?id=177752 Reviewed by Michael Catanzaro. * Source/cmake/OptionsWPE.cmake: libxslt is not a hard dep 2017-10-02 Michael Catanzaro Remove ENABLE_CSS_REGIONS https://bugs.webkit.org/show_bug.cgi?id=177689 Reviewed by Darin Adler. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-09-29 Matt Lewis Unreviewed, rolling out r222652. This broke an internal build. Reverted changeset: "Build libwebrtc unit tests executables" https://bugs.webkit.org/show_bug.cgi?id=177211 http://trac.webkit.org/changeset/222652 2017-09-29 Youenn Fablet Build libwebrtc unit tests executables https://bugs.webkit.org/show_bug.cgi?id=177211 Reviewed by Alex Christensen. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-09-27 Ryan Haddad Unreviewed, rolling out r222537. This change broke internal builds. Reverted changeset: "Build libwebrtc unit tests executables" https://bugs.webkit.org/show_bug.cgi?id=177211 http://trac.webkit.org/changeset/222537 2017-09-26 Youenn Fablet Build libwebrtc unit tests executables https://bugs.webkit.org/show_bug.cgi?id=177211 Reviewed by Alex Christensen. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-09-26 Keith Miller CMake should reconfigure if the Sources.txt files are touched https://bugs.webkit.org/show_bug.cgi?id=177508 Reviewed by JF Bastien. * Source/cmake/WebKitMacros.cmake: 2017-09-24 Keith Miller JSC build should use unified sources for derived sources https://bugs.webkit.org/show_bug.cgi?id=177421 Reviewed by JF Bastien. * Source/cmake/WebKitMacros.cmake: 2017-09-26 Zan Dobersek [CMake] Use implicit include directories for Clang as well https://bugs.webkit.org/show_bug.cgi?id=177426 Reviewed by Michael Catanzaro. In WebKitCompilerFlags.cmake, also gather and use the system include directories for C and C++ build targets when compiling with Clang. This fixes compilation errors when cross-building WebKit with a Clang-based toolchain. COMPILER_IS_GCC_OR_CLANG is used to check for GCC or Clang compilers. That only checks for the C++ compiler, but it's not reasonable to expect two widely different compilers being used for C and C++ compilation. * Source/cmake/WebKitCompilerFlags.cmake: 2017-09-25 Timothy Horton Make progress on getting Mac CMake building again https://bugs.webkit.org/show_bug.cgi?id=177443 Unreviewed, just "fixing" the build. * Source/cmake/OptionsMac.cmake: Turn on WEB_CRYPTO on Mac. We need to do a bigger cleanup of feature defines, but this one is important because we have SUBTLE_CRYPTO on and there is some amount of interdependency. 2017-09-22 Per Arne Vollan [Win] WebKit is built as a static library, and not as a dll. https://bugs.webkit.org/show_bug.cgi?id=177365 Reviewed by Brent Fulgham. Set target type for WebKitLegacy target. * Source/cmake/OptionsWin.cmake: 2017-09-22 Matt Lewis Unreviewed, rolling out r222394. This broke the Windows Debug Build. Reverted changeset: "Remove build-webkit's notion of feature flags having a default value" https://bugs.webkit.org/show_bug.cgi?id=177338 http://trac.webkit.org/changeset/222394 2017-09-22 Tim Horton and Michael Catanzaro Remove build-webkit's notion of feature flags having a default value https://bugs.webkit.org/show_bug.cgi?id=177338 Reviewed by Alex Christensen. Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-09-20 Keith Miller JSC should use unified sources for platform specific files. https://bugs.webkit.org/show_bug.cgi?id=177290 Reviewed by Michael Saboff. Change WEBKIT_COMPUTE_SOURCES CMake macro to look for platform specific unified source lists. This is done in the same way that we look for port specific configuration files. For example, if I were building for the Mac port WEBKIT_COMPUTE_SOURCES would add the Sources.txt and SourcesMac.txt source lists to the list of unified sources. * Source/cmake/WebKitMacros.cmake: 2017-09-20 Keith Miller JSC Xcode build should use unified sources for platform independent files https://bugs.webkit.org/show_bug.cgi?id=177190 Reviewed by Saam Barati. Add a macro for collecting the set of "header" source files and adding the bundle files to the "sources" list. * Source/cmake/WebKitMacros.cmake: 2017-09-20 Michael Catanzaro REGRESSION(r222194) [WPE] Library and executable output names broken https://bugs.webkit.org/show_bug.cgi?id=177273 Reviewed by Carlos Alberto Lopez Perez. Move the WebKit2 output name variables from here to Source/WebKit. * Source/cmake/OptionsWPE.cmake: 2017-09-20 Alberto Garcia Fix HPPA and Alpha builds https://bugs.webkit.org/show_bug.cgi?id=177224 Reviewed by Alex Christensen. * CMakeLists.txt: 2017-09-19 Carlos Alberto Lopez Perez [CMake] Add ENABLE_WEB_CRYPTO option and make ENABLE_SUBTLE_CRYPTO depend on it. https://bugs.webkit.org/show_bug.cgi?id=177180 Reviewed by Michael Catanzaro. This adds a ENABLE_WEB_CRYPTO flag and makes ENABLE_SUBTLE_CRYPTO depend on it. The GTK and WPE ports enable them and set ENABLE_WEB_CRYPTO to public. * Source/cmake/OptionsGTK.cmake: Set both features to ON and ENABLE_WEB_CRYPTO to public. No change in behaviour for GTK. * Source/cmake/OptionsWPE.cmake: Do like on the GTK port. The public flag is now ENABLE_WEB_CRYPTO. * Source/cmake/WebKitFeatures.cmake: Add the definition of ENABLE_WEB_CRYPTO and make ENABLE_SUBTLE_CRYPTO depend on it. 2017-09-18 Michael Catanzaro [CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit https://bugs.webkit.org/show_bug.cgi?id=174558 Reviewed by Alex Christensen. * CMakeLists.txt: * Source/PlatformGTK.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFS.cmake: 2017-09-18 Yoshiaki Jitsukawa [Win][PAL] Move WebCoreHeaderDetection.h to PAL https://bugs.webkit.org/show_bug.cgi?id=176990 Reviewed by Alex Christensen. Create DerivedSources directory for PAL if WebCore build is enabled. * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFS.cmake: 2017-09-15 Konstantin Tokarev Consider enabling -Wno-expansion-to-defined for gcc 7 https://bugs.webkit.org/show_bug.cgi?id=167643 Reviewed by Michael Catanzaro. Don't disable -Wexpansion-to-defined for Clang. As suggested by Nico Weber, this warning produces false positives with GCC only. * Source/cmake/WebKitCompilerFlags.cmake: 2017-09-14 Yousuke Kimoto [WinCairo] Add an option to build WebKitLegacy or WebKit https://bugs.webkit.org/show_bug.cgi?id=176891 Added an option to build WebKitLegacy or WebKit. Reviewed by Alex Christensen. * Source/cmake/OptionsWin.cmake: 2017-09-13 Don Olmstead [CMake] Detect harfbuzz without pkgconfig https://bugs.webkit.org/show_bug.cgi?id=176886 Reviewed by Michael Catanzaro. * Source/cmake/FindHarfBuzz.cmake: 2017-09-07 Adrian Perez de Castro [WPE][CMake] Add "dist" and "distcheck" targets https://bugs.webkit.org/show_bug.cgi?id=176448 Reviewed by Carlos Garcia Campos. Add "dist" and "distcheck" CMake targets, which create release tarballs. These are available only when configuring with -DDEVELOPER_MODE=TRUE. * Source/PlatformWPE.cmake: Added. * Source/cmake/FindXz.cmake: Added. 2017-09-05 Carlos Garcia Campos [GTK] Wrong use of PLUGIN_ARCHITECTURE(X11) in several places https://bugs.webkit.org/show_bug.cgi?id=176329 Reviewed by Michael Catanzaro. Only define MOZ_X11 if X11 target is enabled and always define XP_UNIX if NETSCAPE_PLUGIN_API is enabled. * Source/cmake/OptionsGTK.cmake: 2017-09-03 Sam Weinig Remove CanvasProxy https://bugs.webkit.org/show_bug.cgi?id=176288 Reviewed by Yusuke Suzuki. CanvasProxy does not appear to be in any current HTML spec and was disabled and unimplemented in our tree. Time to get rid of it. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-31 Don Olmstead [CMake] Make USE_CF conditional within Windows https://bugs.webkit.org/show_bug.cgi?id=176173 Reviewed by Alex Christensen. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsWinCairo.cmake: 2017-08-30 Don Olmstead [CMake][WinCairo] Use find_package for libpng and libjpeg https://bugs.webkit.org/show_bug.cgi?id=176113 Reviewed by Alex Christensen. * Source/cmake/OptionsWinCairo.cmake: 2017-08-30 Carlos Alberto Lopez Perez [WPE] Enable MEMORY_SAMPLER https://bugs.webkit.org/show_bug.cgi?id=176099 Reviewed by Michael Catanzaro. Enable the otion at build time by default on Linux (currently there are only Linux and Mac implementations of this feature). * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsGTK.cmake: 2017-08-30 Carlos Garcia Campos Unreviewed. Fix versions numbers after r221136. We normally use .0 in trunk after branching, and bump to .1 when making the first unstable release. We also need to bump the library version. * Source/cmake/OptionsGTK.cmake: 2017-08-29 Don Olmstead [CMake] Use find_package for zlib https://bugs.webkit.org/show_bug.cgi?id=176075 Reviewed by Alex Christensen. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsWinCairo.cmake: 2017-08-29 Don Olmstead [CMake] Use find_package for libxml2 and libxstl https://bugs.webkit.org/show_bug.cgi?id=176042 Reviewed by Konstantin Tokarev. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsWinCairo.cmake: 2017-08-24 Tomas Popela Bump trunk version to be 2.19.1 Rubber-stamped by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: 2017-08-24 Don Olmstead [CMake] Use find_package for SQLite https://bugs.webkit.org/show_bug.cgi?id=175803 Reviewed by Konstantin Tokarev. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsWinCairo.cmake: 2017-08-23 Xabier Rodriguez Calvar [GStreamer][GTK][WPE] Move common things to GStreamer cmake files https://bugs.webkit.org/show_bug.cgi?id=175625 Three files were created as kind of hooks for the GTK and WPE CMake option files. The definitions one is to enable, disable and create the common options (that can be and are actually overriden in some cases. The dependencies one adds dependencies for the option switches that are set. The checks one ensure the dependencies are met depending on the option switches. Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/GStreamerChecks.cmake: Added. * Source/cmake/GStreamerDefinitions.cmake: Added. * Source/cmake/GStreamerDependencies.cmake: Added. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-08-22 Commit Queue Unreviewed, rolling out r221006. https://bugs.webkit.org/show_bug.cgi?id=175821 generates build failures in the bots (Requested by calvaris[m] on #webkit). Reverted changeset: "[GStreamer][GTK][WPE] Move common things to GStreamer cmake files" https://bugs.webkit.org/show_bug.cgi?id=175625 http://trac.webkit.org/changeset/221006 2017-08-22 Xabier Rodriguez Calvar [GStreamer][GTK][WPE] Move common things to GStreamer cmake files https://bugs.webkit.org/show_bug.cgi?id=175625 Three files were created as kind of hooks for the GTK and WPE CMake option files. The definitions one is to enable, disable and create the common options (that can be and are actually overriden in some cases. The dependencies one adds dependencies for the option switches that are set. The checks one ensure the dependencies are met depending on the option switches. Reviewed by Žan Doberšek. * Source/cmake/GStreamerChecks.cmake: Added. * Source/cmake/GStreamerDefinitions.cmake: Added. * Source/cmake/GStreamerDependencies.cmake: Added. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-08-17 Andreas Kling Disable CSS regions at compile time https://bugs.webkit.org/show_bug.cgi?id=175630 Reviewed by Antti Koivisto. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-14 Simon Fraser Remove Proximity Events and related code https://bugs.webkit.org/show_bug.cgi?id=175545 Reviewed by Daniel Bates. No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS) and other related code. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-14 Simon Fraser Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code https://bugs.webkit.org/show_bug.cgi?id=175557 Reviewed by Jon Lee. No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-14 Adrian Perez de Castro [WPE] Implement WebCore::standardUserAgent() https://bugs.webkit.org/show_bug.cgi?id=175507 Reviewed by Michael Catanzaro. Remove "_GLIB" from user-agent version macros. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-08-13 Adrian Perez de Castro [WPE] Implement WebCore::standardUserAgent() https://bugs.webkit.org/show_bug.cgi?id=175507 Reviewed by Carlos Alberto Lopez Perez. Implement missing User-Agent handling for the WPE port by sharing the code with the GTK+ port. * Source/cmake/OptionsGTK.cmake: Rename "GTK" with "GLIB" in UA version macros. * Source/cmake/OptionsWPE.cmake: Add UA version macros. 2017-08-11 Ryosuke Niwa Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation https://bugs.webkit.org/show_bug.cgi?id=175474 Reviewed by Wenson Hsieh. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-11 Konstantin Tokarev [CMake] Fix broken use of REQUIRED with find modules https://bugs.webkit.org/show_bug.cgi?id=175427 Reviewed by Michael Catanzaro. Module name passed to find_package_handle_standard_args() must exactly match file name of CMake find module including letter case, e.g. "WebP" must be used in FindWebP.cmake file. Otherwise find_package() arguments (REQUIRED, QUIET, version) are not processed correctly. To continue using old XXX_FOUND variables without case changes porting to new find_package_handle_standard_args syntax which has FOUND_VAR parameter. Unfortunately, variable name GTK_UNIX_PRINT_FOUND is not allowed by find_package_handle_standard_args when package name is GTKUnixPrint, so it's replaced to GTKUnixPrint_FOUND (default). * Source/cmake/FindGTKUnixPrint.cmake: * Source/cmake/FindGeoClue2.cmake: * Source/cmake/FindHyphen.cmake: * Source/cmake/FindLibEpoxy.cmake: * Source/cmake/FindLibGBM.cmake: * Source/cmake/FindLibsecret.cmake: * Source/cmake/FindLibtasn1.cmake: * Source/cmake/FindLibxkbcommon.cmake: * Source/cmake/FindOpenGL.cmake: * Source/cmake/FindOpenGLES2.cmake: * Source/cmake/FindOpenWebRTC.cmake: * Source/cmake/FindWPEBackend-mesa.cmake: * Source/cmake/FindWPEBackend.cmake: * Source/cmake/FindWayland.cmake: * Source/cmake/FindWebP.cmake: * Source/cmake/OptionsGTK.cmake: 2017-08-10 Michael Catanzaro REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie https://bugs.webkit.org/show_bug.cgi?id=175426 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/FindGeoClue2.cmake: 2017-08-10 Michael Catanzaro Remove ENABLE_GAMEPAD_DEPRECATED https://bugs.webkit.org/show_bug.cgi?id=175361 Reviewed by Carlos Garcia Campos. * Source/cmake/FindGUdev.cmake: Removed. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-08-10 Carlos Alberto Lopez Perez REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie https://bugs.webkit.org/show_bug.cgi?id=175426 Reviewed by Carlos Garcia Campos. Fix the pkg-config file name. We really require geoclue-2.0 and not libgeoclue-2.0. * Source/cmake/FindGeoClue2.cmake: 2017-08-09 Michael Catanzaro [GTK] Remove support for geoclue1 https://bugs.webkit.org/show_bug.cgi?id=164205 Reviewed by Carlos Garcia Campos. * Source/cmake/FindGeoClue.cmake: Removed. * Source/cmake/OptionsGTK.cmake: 2017-08-09 Michael Catanzaro [CMake] Remove unused find modules https://bugs.webkit.org/show_bug.cgi?id=175363 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/FindCFLite.cmake: Removed. * Source/cmake/FindClang.cmake: Removed. * Source/cmake/FindDBus.cmake: Removed. * Source/cmake/FindDirectX.cmake: Removed. * Source/cmake/FindEspeak.cmake: Removed. * Source/cmake/FindQuickTimeSDK.cmake: Removed. 2017-08-09 Zan Dobersek [WPE] Enable SUBTLE_CRYPTO in release builds https://bugs.webkit.org/show_bug.cgi?id=175371 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsWPE.cmake: Use ON as the default port value for ENABLE_SUBTLE_CRYPTO in WPE. 2017-08-09 Carlos Garcia Campos [GTK] Enable SUBTLE_CRYPTO in GTK+ releases https://bugs.webkit.org/show_bug.cgi?id=172758 Reviewed by Žan Doberšek. Add ENABLE_WEB_CRYPTO public option and make ENABLE_SUBTLE_CRYPTO depend on it. * Source/cmake/OptionsGTK.cmake: 2017-08-08 Michael Catanzaro [CMake] Properly test if compiler supports compiler flags https://bugs.webkit.org/show_bug.cgi?id=174490 Reviewed by Konstantin Tokarev. This turned out to be a massive pain. I didn't want to merely check options before using them: I also wanted to organize the code to avoid setting similar flags in different places. Right now we set a bunch of global flags in OptionsCommon.cmake, and a bunch more flags in WEBKIT_SET_EXTRA_COMPILER_FLAGS on a per-target basis. Setting flags per-target seems better in general, e.g. because it makes it very easy to disable warnings for particular ThirdParty targets. But it turns out that all the flags set on a per-target basis get passed to both the C compiler and the C++ compiler, so it's impossible to pass C++-only flags there. That's terrible. It's possible to make the flags language-conditional using generator expressions, but that doesn't work for the Visual Studio backend, so we would have to drop support for that (not going to happen). The CMake documentation suggests that C and C++ files ought to be built in separate targets to avoid this. It's a mess, basically. So I've wound up removing WEBKIT_SET_EXTRA_COMPILER_FLAGS and adding most of those flags to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS instead. Really the only disadvantage of this is we now have to suppress individual warnings when building ANGLESupport in WebCore. That's not the end of the world. The only remaining useful feature of WEBKIT_SET_EXTRA_COMPILER_FLAGS was to add -fPIC to static library targets, but turns out CMake does that for us if we just set the variable CMAKE_POSITION_INDEPENDENT_CODE, so we can get rid of it completely. Of course there are also macros for setting target-specific compiler flags, which we frequently need in order to suppress specific warnings, particularly warnings coming from third-party libraries like ANGLE and gtest. But remember the footgun: these macros will test the flag against only one compiler, but must work with both C and C++ compilers unless the build target exclusively contains targets built with just one of those compilers. Yuck. * CMakeLists.txt: * Source/CMakeLists.txt: * Source/PlatformGTK.cmake: * Source/cmake/OptionsCommon.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitCompilerFlags.cmake: Added. * Source/cmake/WebKitMacros.cmake: 2017-08-07 Brian Burg Remove CANVAS_PATH compilation guard https://bugs.webkit.org/show_bug.cgi?id=175207 Reviewed by Sam Weinig. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-03 Brian Burg Remove ENABLE(WEB_SOCKET) guards https://bugs.webkit.org/show_bug.cgi?id=167044 Reviewed by Joseph Pecoraro. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-03 Brady Eidson Add SW IDLs and stub out basic functionality. https://bugs.webkit.org/show_bug.cgi?id=175115 Reviewed by Chris Dumez. * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-08-01 Brady Eidson Part 1 of: Rename DatabaseProcess to StorageProcess. https://bugs.webkit.org/show_bug.cgi?id=174879 Reviewed by Andy Estes. * Source/cmake/OptionsWPE.cmake: * Source/cmake/gtksymbols.filter: 2017-08-01 Michael Catanzaro [CMake] WebKitFS.cmake depends on options set in Option cmake files that are included later https://bugs.webkit.org/show_bug.cgi?id=174855 Reviewed by Carlos Garcia Campos. Create derived sources directories in WebKitCommon.cmake instead of WebKitFS.cmake, which is too soon. I tried changing the include order, but other stuff in WebKitFS.cmake really is needed before including the port options file. * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFS.cmake: 2017-07-29 Yusuke Suzuki Unreviewed, build fix for GTK and WPE about StorageProcess renaming * Source/cmake/OptionsWPE.cmake: 2017-07-28 Commit Queue Unreviewed, rolling out r219986. https://bugs.webkit.org/show_bug.cgi?id=174962 "broke PLT on iOS (rdar://problem/33602751)" (Requested by estes on #webkit). Reverted changeset: "Part 1 of: Rename DatabaseProcess to StorageProcess." https://bugs.webkit.org/show_bug.cgi?id=174879 http://trac.webkit.org/changeset/219986 2017-07-28 Adrian Perez de Castro [GTK] Building with ENABLE_VIDEO=OFF fails https://bugs.webkit.org/show_bug.cgi?id=174940 Reviewed by Alex Christensen. Code guarded by ENABLE(MEDIA_STREAM) requires the definition of HTMLVideoElement to be available, which in turn is guarded by ENABLE(VIDEO). * Source/cmake/WebKitFeatures.cmake: Make ENABLE_MEDIA_STREAM depend on ENABLE_VIDEO. 2017-07-28 Claudio Saavedra [WPE] Implement EventSenderProxy in WTR https://bugs.webkit.org/show_bug.cgi?id=173419 Reviewed by Žan Doberšek. Add the implementation of EventSenderProxy to the WTR. This allows us to extend the coverage of the test suite in WKWPE. * Source/cmake/FindLibxkbcommon.cmake: Added. 2017-07-28 Zan Dobersek Unreviewed. Bumping the patch version for WPEWebKit library to 20170728. * Source/cmake/OptionsWPE.cmake: 2017-07-27 Brady Eidson Part 1 of: Rename DatabaseProcess to StorageProcess. https://bugs.webkit.org/show_bug.cgi?id=174879 Reviewed by Andy Estes. * Source/cmake/OptionsWPE.cmake: * Source/cmake/gtksymbols.filter: 2017-07-26 Brady Eidson Remove DATABASE_PROCESS build flag. https://bugs.webkit.org/show_bug.cgi?id=174868 Reviewed by Andy Estes. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-07-26 Brian Burg Remove WEB_TIMING feature flag https://bugs.webkit.org/show_bug.cgi?id=174795 Reviewed by Alex Christensen. * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-07-26 Carlos Garcia Campos Unreviewed. Fix WebKit2 derived sources directory creation after r219488. The variable is still DERIVED_SOURCES_WEBKIT2_DIR, not DERIVED_SOURCES_WEBKIT_DIR. Build was not really affected because WebKit2 makefile creates the directory too. * Source/cmake/WebKitFS.cmake: 2017-07-26 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.5 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-07-25 Carlos Garcia Campos Unreviewed. Fix GTK+ WebKit2 library soname after r219488. The WebKit2 -> WebKit rename shouldn't affect the GTK+ library that is still called libwebkit2gtk, so keep using WEBKIT2 as the library name in CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE, since that's also what the WebKit makefile passes to WEBKIT_POPULATE_LIBRARY_VERSION. * Source/cmake/OptionsGTK.cmake: 2017-07-24 Zan Dobersek [WPE] Add libepoxy to the Jhbuild moduleset https://bugs.webkit.org/show_bug.cgi?id=174711 Reviewed by Carlos Alberto Lopez Perez. libepoxy 1.3.1 that's widely available in current stable distributions (Debian stable, Ubuntu LTS) does suffice our needs, but also contains a bug that incorrectly determines the current EGL context and the API version of OpenGL that's bound to that context. Focusing on experiences on Debian systems, while the current stable Debian release has this bug patched, the package for the testing distribution of Debian removed that same patch for whatever reason, despite using the 1.3.1 version as the package basis. To avoid this, libepoxy 1.4.3 is now added to WPE's Jhbuild moduleset. The WPE port also now demands at least the 1.4.0 version to be available when configuring. We should revisit the minimum version for libepoxy in the future if the 1.3 release branch gets updated with the proper fix. * Source/cmake/FindLibEpoxy.cmake: * Source/cmake/OptionsWPE.cmake: 2017-07-21 Konstantin Tokarev [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons explicitly, because ICU headers in the tree are not modified anymore. * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: 2017-07-17 Carlos Garcia Campos Add initial implementation of WebDriver process to run the HTTP server https://bugs.webkit.org/show_bug.cgi?id=166682 Reviewed by Brian Burg. Enable WebDriver in the GTK port by default. * Source/CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFS.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-07-17 Konstantin Tokarev [cmake] Set library types before their targets are created https://bugs.webkit.org/show_bug.cgi?id=174600 Reviewed by Michael Catanzaro. Since r219560 library targets are created before PlatformXXX.cmake files are processed, however library type must be passed in add_library() call and cannot be changed afterwards. Set these variables in OptionsXXX.cmake. * CMakeLists.txt: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: 2017-07-17 Michael Catanzaro [CMake] Include most CMake modules from WebKitCommon.cmake https://bugs.webkit.org/show_bug.cgi?id=174546 Reviewed by Konstantin Tokarev. * CMakeLists.txt: * Source/cmake/OptionsCommon.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitMacros.cmake: 2017-07-17 Michael Catanzaro [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace https://bugs.webkit.org/show_bug.cgi?id=174547 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: 2017-07-17 Konstantin Tokarev [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called https://bugs.webkit.org/show_bug.cgi?id=174557 Reviewed by Michael Catanzaro. * Source/cmake/WebKitMacros.cmake: 2017-07-16 Michael Catanzaro [CMake] Raise minimum CMake requirement https://bugs.webkit.org/show_bug.cgi?id=174545 Reviewed by Konstantin Tokarev. * CMakeLists.txt: * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: 2017-07-14 Michael Catanzaro [CMake] Unclear distinction between WebKitHelpers and WebKitMacros https://bugs.webkit.org/show_bug.cgi?id=153189 Reviewed by Antonio Gomes. Merge WebKitHelpers.cmake into WebKitMacros.cmake, since there is no meaningful distinction between the macros that belong in each file. Then, move the macros that are only needed by one project into project-specific CMake files. Retain here only the macros that are needed in multiple places. * Source/cmake/OptionsCommon.cmake: Update a comment. * Source/cmake/OptionsGTK.cmake: New location for libtool macro, exclusively needed here. * Source/cmake/WebKitCommon.cmake: Do not include WebKitHelpers.cmake. * Source/cmake/WebKitHelpers.cmake: Removed. * Source/cmake/WebKitMacros.cmake: 2017-07-13 Michael Catanzaro [GTK][WPE] Avoid setting settings that are set by default Unreviewed. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2017-07-13 Konstantin Tokarev Unreviewed, Windows ports should enable WebKitLegacy and disable WebKit. * Source/cmake/OptionsWin.cmake: 2017-07-13 Matthew Hanson Fix the Mac CMake build. Unreviewed build fix. Fix the Mac CMake build after r219488 broke it. r219488 erroneously updated the variable name DERIVED_SOURCES_WEBKITLEGACY_DIR to DERIVED_SOURCES_WEBKIT_LEGACY_DIR without updating subsequent users of that variable. * Source/cmake/WebKitFS.cmake: Rename DERIVED_SOURCES_WEBKIT_LEGACY_DIR back to DERIVED_SOURCES_WEBKITLEGACY_DIR. 2017-07-13 Matthew Hanson Fix the cMake builds (GTK and WPE.) https://bugs.webkit.org/show_bug.cgi?id=174164 rdar://problem/33137595 Reviewed by Dan Bernstein. * Source/CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFS.cmake: * Source/cmake/WebKitPackaging.cmake: 2017-07-13 Matthew Hanson Rename WebKit2.xcodeproj to WebKit.xcodeproj. https://bugs.webkit.org/show_bug.cgi?id=174164 rdar://problem/33137595 Reviewed by Dan Bernstein. * WebKit.xcworkspace/contents.xcworkspacedata: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-07-13 Matthew Hanson Update tools and configurations after renaming Source/WebKit2 to Source/WebKit. https://bugs.webkit.org/show_bug.cgi?id=174164 rdar://problem/33137595 Reviewed by Dan Bernstein. * Source/Makefile: * Source/PlatformGTK.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFS.cmake: * Source/cmake/WebKitPackaging.cmake: * WebKit.xcworkspace/contents.xcworkspacedata: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-07-05 Matthew Hanson Update the Xcode project name from WebKit to WebKitLegacy. https://bugs.webkit.org/show_bug.cgi?id=174162 rdar://problem/33137594 Reviewed by Dan Bernstein. Rename WebKit to WebKitLegacy. * WebKit.xcworkspace/contents.xcworkspacedata: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-07-05 Matthew Hanson Update tools and configurations after renaming Source/WebKit to Source/WebKitLegacy. https://bugs.webkit.org/show_bug.cgi?id=174162 rdar://problem/33137594 Reviewed by Dan Bernstein. Mass rename of Source/WebKit to Source/WebKitLegacy in OpenSource cmake files and Xcode project files. * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFS.cmake: * WebKit.xcworkspace/contents.xcworkspacedata: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-07-13 Michael Catanzaro Fix compiler warnings when building with GCC 7 https://bugs.webkit.org/show_bug.cgi?id=174463 Reviewed by Darin Adler. * Source/cmake/OptionsCommon.cmake: 2017-07-12 Matt Lewis Unreviewed, rolling out r219401. This revision rolled out the previous patch, but after talking with reviewer, a rebaseline is what was needed.Rolling back in before rebaseline. Reverted changeset: "Unreviewed, rolling out r219379." https://bugs.webkit.org/show_bug.cgi?id=174400 http://trac.webkit.org/changeset/219401 2017-07-12 Matt Lewis Unreviewed, rolling out r219379. This revision caused a consistent failure in the test fast/dom/Window/property-access-on-cached-window-after-frame- removed.html. Reverted changeset: "Remove NAVIGATOR_HWCONCURRENCY" https://bugs.webkit.org/show_bug.cgi?id=174400 http://trac.webkit.org/changeset/219379 2017-07-12 Zan Dobersek [WPE] Use libepoxy https://bugs.webkit.org/show_bug.cgi?id=172104 Reviewed by Michael Catanzaro. * Source/cmake/FindLibEpoxy.cmake: Added. * Source/cmake/OptionsWPE.cmake: Find libepoxy, don't search for EGL or OpenGL ES anymore, and enable USE_LIBEPOXY by default. 2017-07-11 Carlos Garcia Campos [GTK][WPE] Enable FILE_LOCK and implement lockFile and unlockFile https://bugs.webkit.org/show_bug.cgi?id=174357 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: Use gio-unix unconditionally. 2017-07-11 Dean Jackson Remove NAVIGATOR_HWCONCURRENCY https://bugs.webkit.org/show_bug.cgi?id=174400 Reviewed by Sam Weinig. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-07-11 Dean Jackson Rolling out r219372. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-07-11 Dean Jackson Remove NAVIGATOR_HWCONCURRENCY https://bugs.webkit.org/show_bug.cgi?id=174400 Reviewed by Sam Weinig. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-07-03 Brian Burg Web Replay: remove some unused code https://bugs.webkit.org/show_bug.cgi?id=173903 Rubber-stamped by Joseph Pecoraro. * ManualTests/inspector/replay-keyboard-events.html: Removed. * ManualTests/inspector/replay-mouse-events.html: Removed. * ManualTests/inspector/replay-wheel-events.html: Removed. * ManualTests/inspector/replay-window-navigator-basic.html: Removed. * ManualTests/inspector/replay-window-screen.html: Removed. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-07-10 Carlos Garcia Campos Move make-js-file-arrays.py from WebCore to JavaScriptCore https://bugs.webkit.org/show_bug.cgi?id=174024 Reviewed by Michael Catanzaro. Make MAKE_JS_FILE_ARRAYS independent of WebCore and update it to use make-js-file-arrays.py from JavaScriptCore. It's no longer needed to set PYTHON_PATH to find jsmin.py. * Source/cmake/WebKitMacros.cmake: 2017-07-08 Yusuke Suzuki Drop NOSNIFF compile flag https://bugs.webkit.org/show_bug.cgi?id=174289 Reviewed by Michael Catanzaro. * Source/cmake/WebKitFeatures.cmake: 2017-07-07 Yusuke Suzuki [GTK][WPE] Enable X-Content-Type-Options: nosniff https://bugs.webkit.org/show_bug.cgi?id=174250 Reviewed by Carlos Alberto Lopez Perez. Make nosniff enabled by default in all the ports. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-07-06 Stephan Szabo [Win] Build precompiled header successfully with clang-cl https://bugs.webkit.org/show_bug.cgi?id=174221 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: 2017-07-05 Yusuke Suzuki Upgrade GCC baseline https://bugs.webkit.org/show_bug.cgi?id=174155 Reviewed by Michael Catanzaro. This patch bumps the version of GCC from 4.9.0 to 5.0.0, which is shipped with Ubuntu 16.04 LTS. And the latest Debian stable (stretch) already ships newer GCC (6.3.0). Remove workaround for old GCC. And move GCC version check to the top-level CMakeLists.txt. * CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitHelpers.cmake: 2017-07-05 Don Olmstead [WinCairo] Consolidate CMake code related to CURL https://bugs.webkit.org/show_bug.cgi?id=170860 Reviewed by Alex Christensen. * Source/cmake/OptionsWinCairo.cmake: 2017-06-28 Stephan Szabo [Win] Build JSCOnly on Windows with clang-cl https://bugs.webkit.org/show_bug.cgi?id=173889 Reviewed by Konstantin Tokarev. * CMakeLists.txt: * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsMSVC.cmake: 2017-06-23 Carlos Garcia Campos [WPE] User script messages don't work https://bugs.webkit.org/show_bug.cgi?id=173712 Reviewed by Žan Doberšek. Enable user script messages. * Source/cmake/OptionsWPE.cmake: 2017-06-23 Carlos Garcia Campos [WPE] Enable PUBLIC_SUFFIX_LIST https://bugs.webkit.org/show_bug.cgi?id=173758 Reviewed by Žan Doberšek. WebsiteDataStore needs it when fetching data. Fixes: /wpe/WebKitCookieManager/accept-policy /wpe/WebKitCookieManager/delete-cookies /wpe/WebKitCookieManager/cookies-changed /wpe/WebKitCookieManager/persistent-storage /wpe/WebKitCookieManager/ephemeral /wpe/WebKitWebsiteData/ephemeral /wpe/WebKitWebsiteData/cache /wpe/WebKitWebsiteData/storage /wpe/WebKitWebsiteData/databases /wpe/WebKitWebsiteData/appcache /wpe/WebKitWebsiteData/cookies * Source/cmake/OptionsWPE.cmake: 2017-06-22 Carlos Garcia Campos [WPE] Add initial web extensions API https://bugs.webkit.org/show_bug.cgi?id=173640 Reviewed by Žan Doberšek. * Source/cmake/OptionsWPE.cmake: 2017-06-21 Yoshiaki Jitsukawa [MSVC] Fix compilation in CP932 (Shift_JIS) environment https://bugs.webkit.org/show_bug.cgi?id=173638 Reviewed by Alex Christensen. Give "/utf-8 /validate-charset" options to the MSVC compiler to specify the source code encoding. * Source/cmake/OptionsMSVC.cmake: 2017-06-21 Miguel Gomez [GTK] Fix the condition to enable/disable GSTREAMER_GL https://bugs.webkit.org/show_bug.cgi?id=173650 Reviewed by Carlos Garcia Campos. If GSTREAMER_GL is enabled, check for the GStreamer version. If the version is < 1.10, disable GSTREAMER_GL and continue. If the version is >= 1.10 but there's no gstreamer-gl package available then fail. * Source/cmake/FindGStreamer.cmake: * Source/cmake/OptionsGTK.cmake: 2017-06-21 Miguel Gomez [GTK] Enable GStreamer GL by default on production builds https://bugs.webkit.org/show_bug.cgi?id=173406 Reviewed by Carlos Garcia Campos. Enable GStreamer GL by default when the GStreamer version >= 1.10. * Source/cmake/OptionsGTK.cmake: 2017-06-21 Carlos Garcia Campos [GTK] Move WebGtkExtensionManager and WebGtkInjectedBundleMain to glib API dir https://bugs.webkit.org/show_bug.cgi?id=173606 Reviewed by Žan Doberšek. Update public symbols that were renamed. * Source/cmake/gtksymbols.filter: 2017-06-20 Zan Dobersek [GCrypt] Implement CryptoKeyEC SPKI imports https://bugs.webkit.org/show_bug.cgi?id=172927 Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos. * Source/cmake/FindLibtasn1.cmake: Added. * Source/cmake/OptionsGTK.cmake: Require libtasn1 when SUBTLE_CRYPTO is enabled. * Source/cmake/OptionsWPE.cmake: Ditto. 2017-06-20 Carlos Garcia Campos [WPE] Add initial implementation of glib API https://bugs.webkit.org/show_bug.cgi?id=173546 Reviewed by Žan Doberšek. Add some definitions required to build WPE glib API. * Source/cmake/OptionsWPE.cmake: 2017-06-18 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.4 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-06-16 Alex Christensen Fix Mac CMake build. * Source/cmake/WebKitFS.cmake: Add new DerivedSources/WTF directory. 2017-06-15 Konstantin Tokarev [cmake] ADD_PRECOMPILED_HEADER should append OBJECT_DEPENDS, not overwrite it https://bugs.webkit.org/show_bug.cgi?id=173428 Reviewed by Michael Catanzaro. Right now, if any of source files that are passed to ADD_PRECOMPILED_HEADER have non-empty OBJECT_DEPENDS property (e.g. changed with ADD_SOURCE_DEPENDENCIES call), its value is lost. * Source/cmake/WebKitMacros.cmake: 2017-06-15 Carlos Garcia Campos [GTK] Do not use the C API in WebGtkExtensionManager https://bugs.webkit.org/show_bug.cgi?id=173408 Reviewed by Michael Catanzaro. Update exported symbol signature. * Source/cmake/gtksymbols.filter: 2017-06-09 Zan Dobersek [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds https://bugs.webkit.org/show_bug.cgi?id=173103 Reviewed by Xabier Rodriguez-Calvar. * Source/cmake/OptionsWPE.cmake: Expose the ENABLE_ENCRYPTED_MEDIA configuration option, keeping it disabled by default. 2017-06-09 Xabier Rodriguez Calvar [GStreamer][EME] Remove the legacy code that was not even official and is deprecated https://bugs.webkit.org/show_bug.cgi?id=173096 Reviewed by Žan Doberšek. * Source/cmake/OptionsWPE.cmake: Remove LEGACY_ENCRYPTED_MEDIA support 2017-06-07 Ryosuke Niwa IsInShadowTreeFlag does not get updated for a non-container node https://bugs.webkit.org/show_bug.cgi?id=173084 Reviewed by Antti Koivisto. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-06-07 Carlos Garcia Campos [WPE] Enable resource usage https://bugs.webkit.org/show_bug.cgi?id=173054 Reviewed by Žan Doberšek. Add private option for resource usage enabled by default. * Source/cmake/OptionsWPE.cmake: 2017-06-07 Carlos Garcia Campos Remove legacy INSPECTOR_SERVER implementation https://bugs.webkit.org/show_bug.cgi?id=172966 Reviewed by Žan Doberšek. * Source/PlatformWin.cmake: 2017-06-07 Loïc Yhuel [CMake] Only force response files for Ninja with CMake < 3.2 on Linux https://bugs.webkit.org/show_bug.cgi?id=173066 Reviewed by Michael Catanzaro. CMake automatically uses response files when needed, but the limit was wrong on Linux before 3.2. * Source/cmake/OptionsCommon.cmake: 2017-06-07 Zan Dobersek [GCrypt] RSA-PSS support https://bugs.webkit.org/show_bug.cgi?id=172856 Reviewed by Jiewen Tan. * Source/cmake/OptionsGTK.cmake: Set and expose the USE_GCRYPT preprocessor macro when SUBTLE_CRYPTO is enabled. * Source/cmake/OptionsWPE.cmake: Match the GTK+ port in demanding at least version 1.7.0 of libgcrypt. Also set and expose the USE_GCRYPT preprocessor macro. 2017-06-06 Carlos Garcia Campos [WPE] Enable remote inspector https://bugs.webkit.org/show_bug.cgi?id=172971 Reviewed by Žan Doberšek. Add private option for remote inspector enabled by default. * Source/cmake/OptionsWPE.cmake: 2017-06-02 Stephan Szabo [JSCOnly] Build static jsc.exe on Windows https://bugs.webkit.org/show_bug.cgi?id=172833 Reviewed by Konstantin Tokarev. * Source/cmake/OptionsJSCOnly.cmake: 2017-05-31 Adrian Perez de Castro [CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0 https://bugs.webkit.org/show_bug.cgi?id=172750 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: 2017-05-31 Adrian Perez de Castro Consider enabling -Wno-expansion-to-defined for gcc 7 https://bugs.webkit.org/show_bug.cgi?id=167643 Reviewed by Žan Doberšek. * Source/cmake/OptionsCommon.cmake: Pass -Wno-expansion-to-defined to GCC, the flag is supported all the way back to version 4.9, which is the oldest we support 2017-05-26 Don Olmstead [CMake] Wrap CODE_GENERATOR_PREPROCESSOR_EXECUTABLE on Windows hosts https://bugs.webkit.org/show_bug.cgi?id=172553 Reviewed by Brent Fulgham. * Source/cmake/OptionsCommon.cmake: 2017-05-26 Adrian Perez de Castro [CMake] Pass -fdiagnostics-color=always to GCC when building with Ninja https://bugs.webkit.org/show_bug.cgi?id=172638 Reviewed by Yusuke Suzuki. The oldest version of GCC supported for building WebKit is 4.9, which already accepts -fdiagnostics-color=, therefore it is not needed to check the compiler version. * Source/cmake/OptionsCommon.cmake: 2017-05-25 Don Olmstead [CMake][Win] Use WTF_CPU not MSCV_CXX_ARCHITECTURE_ID when determining lib directories https://bugs.webkit.org/show_bug.cgi?id=172570 Reviewed by Per Arne Vollan. * Source/cmake/OptionsWin.cmake: 2017-05-24 Don Olmstead [CMake] Consolidate CMake code related to Cairo https://bugs.webkit.org/show_bug.cgi?id=172568 Reviewed by Alex Christensen. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWinCairo.cmake: 2017-05-23 Myles C. Maxfield Remove dead ENABLE(FONT_LOAD_EVENTS) code https://bugs.webkit.org/show_bug.cgi?id=172517 Rubber-stamped by Simon Fraser. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-05-22 Gwang Yoon Hwang [CMake] Do not use a --no-keep-memory linker flag in 64bit system https://bugs.webkit.org/show_bug.cgi?id=172429 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: In x86_64, cmake accidentally applies --no-keep-memory since MATCHES uses the given value as a regex. It reduces linking performance due to the frequent disk operations in x86_64. 2017-05-22 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-05-22 Don Olmstead [Win][CMake] Move MSVC compiler options to a common location https://bugs.webkit.org/show_bug.cgi?id=172230 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsMSVC.cmake: Added. * Source/cmake/OptionsWin.cmake: 2017-05-19 Don Olmstead [CMake] Add HAVE check for __int128_t https://bugs.webkit.org/show_bug.cgi?id=172317 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsCommon.cmake: 2017-05-16 Zan Dobersek [WPE] Set and expose ENABLE_DEVELOPER_MODE in build when DEVELOPER_MODE is enabled https://bugs.webkit.org/show_bug.cgi?id=172159 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsWPE.cmake: Expose the ENABLE_DEVELOPER_MODE macro when the DEVELOPER_MODE configuration options is enabled. 2017-05-11 Don Olmstead [CMake] Add HAVE check for regex.h https://bugs.webkit.org/show_bug.cgi?id=171950 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: 2017-05-11 Joseph Pecoraro Remove Vibration API https://bugs.webkit.org/show_bug.cgi?id=171766 Rubber-stamped by Alexey Proskuryakov. * Source/cmake/WebKitFeatures.cmake: 2017-05-11 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.2 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-05-10 Don Olmstead [Win] Specify source file type when preprocessing IDL files https://bugs.webkit.org/show_bug.cgi?id=171864 Reviewed by Alex Christensen. * Source/cmake/OptionsCommon.cmake: 2017-05-10 Adrian Perez de Castro Remove some last remnants of the EFL port https://bugs.webkit.org/show_bug.cgi?id=171922 Reviewed by Antonio Gomes. The EFL port is no more. * Source/PlatformEfl.cmake: Removed. 2017-05-10 Zan Dobersek Enable FTL JIT by default on AArch64 https://bugs.webkit.org/show_bug.cgi?id=144039 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: Set FTL as enabled by default when targeting either WTF_CPU_X86_64 or WTF_CPU_ARM64. 2017-05-09 Zan Dobersek Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. 2017-05-04 Commit Queue Unreviewed, rolling out r216206. https://bugs.webkit.org/show_bug.cgi?id=171714 Multiple LayoutTests crashing in Document::page() (Requested by ap on #webkit). Reverted changeset: "Remove support for legacy Notifications" https://bugs.webkit.org/show_bug.cgi?id=171487 http://trac.webkit.org/changeset/216206 2017-05-04 Don Olmstead [Win] Remove redundant macros that are set in the CMake config https://bugs.webkit.org/show_bug.cgi?id=171571 Reviewed by Brent Fulgham. * Source/cmake/OptionsWin.cmake: 2017-05-03 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-05-01 Aakash Jain fix check-webkit-style errors in webkitpy about two blank lines before class definitions https://bugs.webkit.org/show_bug.cgi?id=171509 Reviewed by Alexey Proskuryakov. * Scripts/webkitpy/common/config/committers.py: Added two blank lines before class definition. * Scripts/webkitpy/layout_tests/models/test_run_results.py: Ditto. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Ditto. * Scripts/webkitpy/port/base_unittest.py: Ditto. * Scripts/webkitpy/port/device.py: Ditto. * Scripts/webkitpy/port/linux_get_crash_log.py: Ditto. * Scripts/webkitpy/style/checkers/featuredefines.py: Ditto. * Scripts/webkitpy/style/checkers/jsonchecker.py: Ditto. * Scripts/webkitpy/tool/bot/patchanalysistask.py: Ditto. * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Ditto. (ManagerTest.test_uses_custom_device.MockCustomDevicePort): Added blank line before method. (ManagerTest.test_uses_custom_device): Removed extra blank line at end of file. 2017-04-25 Daniel Bates [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header https://bugs.webkit.org/show_bug.cgi?id=136452 Reviewed by Brent Fulgham. Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: 2017-04-24 Zan Dobersek Unreviewed follow-up to r215681. * Source/cmake/OptionsGTK.cmake: Don't re-define the ENABLE_SUBTLE_CRYPTO macro, that's already done by the option macro. 2017-04-24 Carlos Garcia Campos [GTK] Switch to use ENABLE_REMOTE_INSPECTOR instead of ENABLE_INSPECTOR_SERVER for the remote inspector https://bugs.webkit.org/show_bug.cgi?id=166680 Reviewed by Michael Catanzaro. Add private option for ENABLE_REMOTE_INSPECTOR and enabled it by default. * Source/cmake/OptionsGTK.cmake: 2017-04-24 Zan Dobersek [GTK] Make the ENABLE_SUBTLE_CRYPTO option depend on libgcrypt 1.7.0 https://bugs.webkit.org/show_bug.cgi?id=171112 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: When ENABLE_SUBTLE_CRYPTO feature is enabled, the detected libgcrypt library version should be at least 1.7.0 since we'll be relying on API that was introduced in that version. 2017-04-21 Konstantin Tokarev [cmake] WTF target should not have wtf and subdirectries in public interface https://bugs.webkit.org/show_bug.cgi?id=171115 Reviewed by Michael Catanzaro. In r209665 WEBCORE_FRAMEWORK macro started to export INCLUDE_DIRECTORIES of targets as their public interface, so that linked targets can use them implicitly without copying directory lists around. This matches existing practice for all targets except WTF, headers from which are always included with full path starting from " [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere https://bugs.webkit.org/show_bug.cgi?id=171071 Reviewed by Michael Catanzaro. "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should be available for all ports. * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFS.cmake: * Source/cmake/WebKitMacros.cmake: 2017-04-17 Yusuke Suzuki [JSCOnly] Fix build failures in macOS https://bugs.webkit.org/show_bug.cgi?id=170887 Reviewed by Alex Christensen. Align ICU header configuration to MacCMake port. * Source/cmake/OptionsJSCOnly.cmake: 2017-04-16 Sam Weinig [WebIDL] Switch IDLAttributes.txt over to a more structured format so that more information can be added for each attribute https://bugs.webkit.org/show_bug.cgi?id=170843 Reviewed by Chris Dumez. * Source/cmake/WebKitMacros.cmake: Update extension of IDLAttributes to .json 2017-04-13 Don Olmstead [WinCairo] Assign WEBKIT_LIBRARIES_DIR to CMAKE_PREFIX_PATH https://bugs.webkit.org/show_bug.cgi?id=170797 Reviewed by Alex Christensen. * Source/cmake/FindCairo.cmake: * Source/cmake/OptionsWin.cmake: 2017-04-11 Zan Dobersek [CMake] OpenWebRTC libraries path isn't properly deduced https://bugs.webkit.org/show_bug.cgi?id=170670 Reviewed by Carlos Garcia Campos. When using OpenWebRTC installation that's outside of the usual Jhbuild installation directories, the library paths are ignored because the dependency libraries are simply gathered from the pkg-config file. Instead, the pkg-config data should be used to search for the correct paths to the header and library locations. Both libopenwebrtc and libopenwebrtc_gst libraries are needed, so the two library paths are concatenated into the OPENWEBRTC_LIBRARIES variable. * Source/cmake/FindOpenWebRTC.cmake: 2017-04-08 Ting-Wei Lan Elftoolchain ar doesn't support response files https://bugs.webkit.org/show_bug.cgi?id=170105 Reviewed by Michael Catanzaro. WebKit enables the use of response files when cmake and ninja is used. However, the default implementation of ar command used in FreeBSD, which is part of elftoolchain project, doesn't support reading arguments from response files. To avoid causing undefined reference error on FreeBSD, we disable the use of response files when elftoolchain ar is detected. * Source/cmake/OptionsCommon.cmake: 2017-04-08 Michael Catanzaro Unreviewed, rolling out r215150. Broke buildbot Reverted changeset: "[CMake] Don't force-enable response files when using Ninja generator" https://bugs.webkit.org/show_bug.cgi?id=170105 http://trac.webkit.org/changeset/215150 2017-04-08 Ting-Wei Lan [CMake] Don't force-enable response files when using Ninja generator https://bugs.webkit.org/show_bug.cgi?id=170105 Reviewed by Michael Catanzaro. Not all platforms support response files, and unconditionally enabling response files is known to cause build failure for some platforms. Since WebKit builds fine on many platforms without force-enabling response files and bug 129771 didn't mention which platform required it, we remove it instead of adding more platform checks. * Source/cmake/OptionsCommon.cmake: 2017-04-07 Michael Catanzaro [GTK] Various build errors when plugin support is disabled https://bugs.webkit.org/show_bug.cgi?id=170015 Reviewed by Carlos Garcia Campos. Allow building with ENABLE_NETSCAPE_PLUGIN_API=ON and ENABLE_X11_TARGET=OFF. This should be possible as Carlos worked to ensure windowless plugins work properly outside X11. The GTK2 plugin process still depends on ENABLE_X11_TARGET because a plugin that uses GTK+ surely wants to display a window, and is not going to work outside X11. (If the plugin links to GTK+ but does not display a window, it's dumb and deserves to be broken.) Also, make ENABLE_PLUGIN_PROCESS conditional on ENABLE_NETSCAPE_PLUGIN_API, not ENABLE_X11_TARGET. * Source/cmake/OptionsGTK.cmake: 2017-04-07 Fujii Hironori [CMake][Windows] WebKitGUID.lib should be built with the release CRT https://bugs.webkit.org/show_bug.cgi?id=170593 Reviewed by Brent Fulgham. Source/cmake/OptionsWin.cmake has a trick to force using the release CRT even for debug build configuration. But, this works only for C++, but for C. As the result, WebKitGUID.lib is built with the debug CRT in debug build configuration because it has C source files. * Source/cmake/OptionsWin.cmake: Process CMAKE_C_FLAGS_* as well as CMAKE_CXX_FLAGS_*. 2017-04-06 Nael Ouedraogo [GTK] Build fails when using icecream, ccache and cmake 3.6 https://bugs.webkit.org/show_bug.cgi?id=170498 Reviewed by Michael Catanzaro. Disable ninja response file when using icecream, ccache and cmake > 3.5. * Source/cmake/OptionsCommon.cmake: 2017-04-04 Ross Kirsling [CMake] Enforce Python 2 https://bugs.webkit.org/show_bug.cgi?id=170439 Reviewed by Brent Fulgham. * Source/cmake/WebKitCommon.cmake: Fail build immediately if Python 3 is detected. 2017-03-24 Carlos Garcia Campos [GTK] Add MIMETypeRegistry implementation using xdgmime and remove the GTK+ one https://bugs.webkit.org/show_bug.cgi?id=170001 Reviewed by Michael Catanzaro. * Source/CMakeLists.txt: Compile xdgmime if USE_XDGMIME is ON. * Source/cmake/OptionsGTK.cmake: Set USE_XDGMIME to ON. 2017-03-10 Per Arne Vollan Unreviewed Win64 build fix. FTL is not ready to be turned on yet. * Source/cmake/OptionsWin.cmake: 2017-03-10 Alex Christensen Win64 build fix. * Source/cmake/OptionsWin.cmake: WASM got turned on on Win64. Judging by the state of WasmMemory.cpp, I'm going to assume this was a mistake and turn it off until someone writes a version that uses VirtualAlloc/VirtualFree instead of mmap. The FTL seems a bit unstable, though. This fixes the build, but more fixes are necessary. 2017-03-06 Yusuke Suzuki Unreviewed, fix AppleWin build https://bugs.webkit.org/show_bug.cgi?id=164032 * Source/cmake/WebKitFeatures.cmake: 2017-03-06 Yusuke Suzuki [GTK][JSCOnly] Enable WebAssembly on Linux environment https://bugs.webkit.org/show_bug.cgi?id=164032 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-03-04 Michael Catanzaro Unreviewed, remove stray period from readme * ReadMe.md: 2017-03-03 Dean Jackson Add WebGPU compile flag and experimental feature flag https://bugs.webkit.org/show_bug.cgi?id=169161 Reviewed by Tim Horton. Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature, and an InternalSetting. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-03-01 Andy Estes Build libwebrtc as part of the All Source scheme in WebKit.xcworkspace. Rubber-stamped by Tim Horton. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2017-02-26 Carlos Garcia Campos Unreviewed. Bump GTK+ versions numbers. * Source/cmake/OptionsGTK.cmake: 2017-02-26 Carlos Garcia Campos Unreviewed, rolling out r213024. Wrong version numbers Reverted changeset: "[GTK] Unreviewed, bump GTK version numbers also on trunk" http://trac.webkit.org/changeset/213024 2017-02-26 Michael Catanzaro [GTK] Unreviewed, bump GTK version numbers also on trunk * Source/cmake/OptionsGTK.cmake: 2017-02-23 Tomas Popela [GTK] Compilation fails if using ninja together with icecream and cmake > 3.5 https://bugs.webkit.org/show_bug.cgi?id=168770 Reviewed by Carlos Garcia Campos. If using cmake >= 3.6 together with ninja generator and icecream, the build will fail as icecream does not correctly handle the response files and it's not passing compiler flags from there to the compiler itself (in our case it's not passing -fPIC which leads to the failure while linking). Don't enable the ninja's response files support if we fulfill the preconditions. * Source/cmake/OptionsCommon.cmake: 2017-02-22 Ryosuke Niwa Add GTK+ build instruction to ReadMe.md https://bugs.webkit.org/show_bug.cgi?id=168745 Reviewed by Michael Catanzaro. Add instructions to build GTK+ port. Removed the instruction to set the default configuration since that didn't seem important. * ReadMe.md: 2017-02-22 Alberto Garcia [GTK] [2.15.90] Disable RESOURCE_USAGE on non-Linux systems https://bugs.webkit.org/show_bug.cgi?id=168714 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: 2017-02-21 Ryosuke Niwa Remove the extra `'s errornously added during the final editing. * ReadMe.md: 2017-02-21 Ryosuke Niwa Add ReadMe.md to WebKit https://bugs.webkit.org/show_bug.cgi?id=168413 Reviewed by Chris Dumez. Add a ReadMe.md to be read on https://github.com/WebKit/webkit based on webkit.org content. * ReadMe.md: Added. 2017-02-20 Carlos Garcia Campos Remove ENABLE_THREADED_COMPOSITOR build option https://bugs.webkit.org/show_bug.cgi?id=168606 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: 2017-02-20 Manuel Rego Casasnovas [css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT https://bugs.webkit.org/show_bug.cgi?id=167693 Reviewed by Sergio Villar Senin. CSS Grid Layout has been enabled by default in r211415, and Safari 10.1 is shipping it. It seems like a good moment to remove the compilation flag. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-02-17 Michael Catanzaro Remove EFL from Source/cmake https://bugs.webkit.org/show_bug.cgi?id=168512 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsEfl.cmake: Removed. * Source/cmake/WebKitPackaging.cmake: * Source/cmake/eflsymbols.filter: Removed. 2017-02-16 Konstantin Tokarev [cmake] Use env command to set PYTHONPATH if cmake is new enough https://bugs.webkit.org/show_bug.cgi?id=156833 Reviewed by Alex Christensen. This change fixes 2 issues when CMake >= 3.1 is used: - When PYTHONPATH contains special characters, CMake adds quotes around "PYTHONPATH=..." and produces broken build command in non-WIN32 case. - On WIN32, unix-like shell can be used instead of cmd.exe, but this case cannot be easily detected in cmake. * Source/cmake/WebKitMacros.cmake: 2017-02-15 Carlos Garcia Campos Unreviewed. Add ENABLE_INTERSECTION_OBSERVER option to CMake. It's now a runtime enabled feature so we should always build it. Fixes: intersection-observer/intersection-observer-entry-interface.html intersection-observer/intersection-observer-interface.html * Source/cmake/WebKitFeatures.cmake: 2017-02-10 Brian Burg Add basic debugging macros for CMake https://bugs.webkit.org/show_bug.cgi?id=161538 Reviewed by Michael Catanzaro. It's useful to be able to dump the state of everything when debugging CMake build problems, especially when they happen on EWS (but not locally). Start with macros for: - dumping out all CMake variables - dumping all executed commands (by turning off pretty-printing) * Source/cmake/WebKitMacros.cmake: 2017-02-09 Alex Christensen Build libwebrtc on bots without using it yet https://bugs.webkit.org/show_bug.cgi?id=168062 Reviewed by Brent Fulgham. * Source/Makefile: 2017-02-07 Olivier Blin [GTK][Efl] Do not require LibXslt if XSLT is disabled https://bugs.webkit.org/show_bug.cgi?id=167931 This fixes build with --no-xslt, when the libxslt dev files are not installed. Reviewed by Michael Catanzaro. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2017-02-03 Konstantin Tokarev [CMake] RelWithDebInfo builds are super broken at runtime https://bugs.webkit.org/show_bug.cgi?id=163897 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing, -fno-exceptions, and -fno-rtti flags to all configurations, instead of only "Release". 2017-02-03 Carlos Garcia Campos [GTK] Add initial implementation of resource usage overlay https://bugs.webkit.org/show_bug.cgi?id=167731 Reviewed by Michael Catanzaro. Enable RESOURCE_USAGE. * Source/cmake/OptionsGTK.cmake: 2017-02-02 Alex Christensen Build fix after r211602 https://bugs.webkit.org/show_bug.cgi?id=167758 * Source/Makefile: Don't build libwebrtc by default. It's not used yet anyway. 2017-02-02 David Kilzer Make the Makefile great again after r211570, r211572 * Makefile: Restore tabs and ending newline. 2017-02-02 Jonathan Bedard Unreviewed build fix after r211570 * Makefile: Placed back. 2017-02-01 Yusuke Suzuki Propagate networking errors correctly for import() operator https://bugs.webkit.org/show_bug.cgi?id=167501 Reviewed by Ryosuke Niwa. * Source/ModuleFetchFailureKind.h: Added. 2017-01-31 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.4 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-01-24 Joseph Pecoraro Fold USER_TIMING into WEB_TIMING and make it a RuntimeEnabledFeature https://bugs.webkit.org/show_bug.cgi?id=167394 Reviewed by Ryosuke Niwa. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-01-22 Don Olmstead and Myles C. Maxfield Introducing the Platform Abstraction Layer (PAL) https://bugs.webkit.org/show_bug.cgi?id=143358 Reviewed by Alex Christensen. * CMakeLists.txt: * Source/CMakeLists.txt: * Source/cmake/WebKitFS.cmake: 2017-01-20 Joseph Pecoraro Remove outdated ENABLE(CSP_NEXT) build flag https://bugs.webkit.org/show_bug.cgi?id=167252 Reviewed by Brent Fulgham. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-01-20 Youenn Fablet [WebRTC] Add libwebrtc build infrastructure https://bugs.webkit.org/show_bug.cgi?id=167207 Reviewed by Alex Christensen. * WebKit.xcworkspace/contents.xcworkspacedata: 2017-01-20 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2017-01-17 Joseph Pecoraro ENABLE(USER_TIMING) Not Defined for Apple Windows or OS X Ports https://bugs.webkit.org/show_bug.cgi?id=116551 Reviewed by Alex Christensen. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-01-16 Joseph Pecoraro Remove the REQUEST_ANIMATION_FRAME flag https://bugs.webkit.org/show_bug.cgi?id=156980 Reviewed by Simon Fraser. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-01-14 Joseph Pecoraro Remove stale references to ENABLE_ES6_GENERATORS and ENABLE_PROMISES https://bugs.webkit.org/show_bug.cgi?id=167043 Reviewed by Darin Adler. * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-01-13 Joseph Pecoraro Remove ENABLE(DETAILS_ELEMENT) guards https://bugs.webkit.org/show_bug.cgi?id=167042 Reviewed by Alex Christensen. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2017-01-13 Michael Catanzaro [CMake] Clean up SHARED_CORE option https://bugs.webkit.org/show_bug.cgi?id=167004 Reviewed by Alex Christensen. * CMakeLists.txt: 2016-12-21 Konstantin Tokarev set PYTHONPATH in separate COMMAND doesn't work with all CMake generators https://bugs.webkit.org/show_bug.cgi?id=164997 Reviewed by Alex Christensen. Fix for r201413. * Source/cmake/WebKitMacros.cmake: 2016-12-17 Joonghun Park [EFL] bump EFL version to 1.18.4 https://bugs.webkit.org/show_bug.cgi?id=166004 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Use efl-1.18.4 instead of 1.18.1. 2016-12-15 Alex Christensen Remove flex and bison build dependencies; commit generated XPath parser https://bugs.webkit.org/show_bug.cgi?id=165783 Reviewed by Brent Fulgham. * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitMacros.cmake: 2016-12-10 Konstantin Tokarev [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them https://bugs.webkit.org/show_bug.cgi?id=165686 Reviewed by Michael Catanzaro. This change reduces duplication of include path lists between modules, and reduces future need for fixes like r209605 (broken build because of WebCore header suddenly becoming used in WebKit2). * Source/cmake/WebKitMacros.cmake: 2016-11-30 Brent Fulgham [Win] Apple build is using incorrect ICU library (if present) https://bugs.webkit.org/show_bug.cgi?id=164934 Reviewed by Alex Christensen. Move the 'icuuc.lib' and 'icuin.lib' library names to the end of the set of choices when searching for ICU. so that we preferentially select the 'new' version of these libraries if they are available. * Source/cmake/FindICU.cmake: 2016-11-23 Zan Dobersek Remove ENABLE_ASSEMBLER_WX_EXCLUSIVE code https://bugs.webkit.org/show_bug.cgi?id=165027 Reviewed by Darin Adler. * Source/cmake/WebKitFeatures.cmake: Remove the ENABLE_ASSEMBLER_WX_EXCLUSIVE option. 2016-11-21 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.2 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-11-17 Saam Barati Remove async/await compile time flag and enable tests https://bugs.webkit.org/show_bug.cgi?id=164828 Reviewed by Yusuke Suzuki. * Source/cmake/WebKitFeatures.cmake: 2016-11-16 Yusuke Suzuki [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag https://bugs.webkit.org/show_bug.cgi?id=164827 Reviewed by Ryosuke Niwa. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-11-12 Michael Catanzaro Unreviewed, rolling out r207872. https://bugs.webkit.org/show_bug.cgi?id=162623 Did not disable anything, just made them public Reverted changeset: "[GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default" https://bugs.webkit.org/show_bug.cgi?id=162623 http://trac.webkit.org/changeset/207872 2016-11-09 Gyuyoung Kim [EFL] Use libgcrypt instead of GnuTLS for CryptoDigest https://bugs.webkit.org/show_bug.cgi?id=164461 Reviewed by Michael Catanzaro. * Source/cmake/OptionsEfl.cmake: Find LibGcrypt package instead of GnuTLS. 2016-11-05 Konstantin Tokarev [MinGW] Fixed C99/C++11 format attributes in printf-like functions https://bugs.webkit.org/show_bug.cgi?id=164448 Reviewed by Michael Catanzaro. By default MinGW uses printf-like function provided in msvcrt.dll, however they miss support for C99/C++11 format attributes. Use MinGW implementations instead. * Source/cmake/OptionsCommon.cmake: Define __USE_MINGW_ANSI_STDIO 2016-11-03 Konstantin Tokarev Fixes to build JSCOnly on macOS https://bugs.webkit.org/show_bug.cgi?id=164379 Reviewed by Michael Catanzaro. * Source/cmake/OptionsJSCOnly.cmake: Define BUILDING_JSCONLY__, use system ICU libraries on macOS * Source/cmake/WebKitMacros.cmake: Fixed WEBKIT_FRAMEWORK macro for static JSC 2016-11-03 Konstantin Tokarev [cmake][MinGW] Don't use MS bitfield layout to reduce sizes of data structures https://bugs.webkit.org/show_bug.cgi?id=164026 Reviewed by Michael Catanzaro. With MS bitfileds RegisterAtOffset becomes wider than ptrdiff_t because of different alignment requirements, invoking static_assert. Instead of muting assert for MinGW like it's done for MSVC, it's a better choice to use more dense layout, as bitfields are not used in public APIs. Also, suppress MinGW warnings from "#pragma warning" which it doesn't understand. * Source/cmake/OptionsCommon.cmake: 2016-11-02 Alex Christensen Remove Battery Status API from the tree https://bugs.webkit.org/show_bug.cgi?id=164213 Reviewed by Sam Weinig. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-11-02 Olivier Blin [GTK] Use libgcrypt instead of GnuTLS for CryptoDigest and SubtleCrypto HMAC implementation https://bugs.webkit.org/show_bug.cgi?id=163125 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: Updated to use libgcrypt files instead of gnutls. At least version 1.6.0 is needed for the HMAC APIs. libgcrypt is now needed unconditionally for CryptoDigest, used by CSP. 2016-11-02 Romain Bellessort [Readable Streams API] Enable creation of ReadableByteStreamController https://bugs.webkit.org/show_bug.cgi?id=164014 Reviewed by Youenn Fablet. Added flag for the byte stream part of Readable Streams API. * Source/cmake/WebKitFeatures.cmake: 2016-11-01 Ryosuke Niwa Remove CUSTOM_ELEMENTS build flag https://bugs.webkit.org/show_bug.cgi?id=164267 Reviewed by Antti Koivisto. Removed the build flag. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-11-01 Fujii Hironori [CMake] generate-bindings-all.pl uses USES_TERMINAL which leaves a noisy line in interactive Ninja build https://bugs.webkit.org/show_bug.cgi?id=163868 Reviewed by Michael Catanzaro. It takes long time for generate-bindings-all.pl to generate all bindings. So, it shows the progress while running and USES_TERMINAL option of add_custom_target have been used to invoke the command. However, USES_TERMINAL leaves a noisy line in Ninja's neat build log of interactive build. A new CMake option SHOW_BINDINGS_GENERATION_PROGRESS is added to stop using USES_TERMINAL only in case of interactive Ninja build. * Source/cmake/WebKitMacros.cmake: Added a new option SHOW_BINDINGS_GENERATION_PROGRESS. Apended --showProgress switch of generate-bindings-all.pl and used USES_TERMINAL only if SHOW_BINDINGS_GENERATION_PROGRESS is enabled. 2016-10-31 Ryosuke Niwa Enable custom elements by default everywhere https://bugs.webkit.org/show_bug.cgi?id=164242 Reviewed by Michael Catanzaro. Enable the Custom Elements API in CMake builds. * Source/cmake/WebKitFeatures.cmake: 2016-10-30 Frederic Wang Use HarfBuzz ot-math API to parse the OpenType MATH table https://bugs.webkit.org/show_bug.cgi?id=162671 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: Enable internal OpenType MATH parsing for HarfBuzz < 1.3.3. 2016-10-30 Hyowon Kim [GTK] Build break by missing geoclue-2.0. https://bugs.webkit.org/show_bug.cgi?id=164170 Reviewed by Michael Catanzaro. Revise the module name for pkg_check_modules() in FindGeoClue2.cmake. * Source/cmake/FindGeoClue2.cmake: replace geoclue-2.0 with libgeoclue-2.0. 2016-10-29 Fujii Hironori [CMake][Win] Visual Studio invokes make_settings.pl twice https://bugs.webkit.org/show_bug.cgi?id=163774 Reviewed by Michael Catanzaro. build-webkit recompiles some files just after finishing build-webkit in case of using CMake VisualStudio generator because both WebCoreDerivedSources.vcxproj and WebCoreTestSupport.vcxproj triggers make_settings.pl. make_settings.pl generates four files InternalSettingsGenerated.{h,cpp,idl} and SettingsMacros.h. WebCoreDerivedSources depends on SettingsMacros.h, and WebCoreTestSupport depends on InternalSettingsGenerated.cpp. This problem is described in CMake documentation: > Do not list the output in more than one independent target that may > build in parallel or the two instances of the rule may conflict To solve this problem, only SettingsMacros.h is specified as OUTPUT of add_custom_command, and other generated files are marked as BYPRODUCTS. As the result, only WebCoreDerivedSources target triggers make_settings.pl. And other targets already have a dependency to WebCoreDerivedSources target. To support earlier versions than CMake 3.2, it uses GENERATED source file property instead of BYPRODUCTS option. * Source/cmake/WebKitMacros.cmake(GENERATE_SETTINGS_MACROS): Removed extra output files from OUTPUT of add_custom_command and added BYPRODUCTS option. 2016-10-28 Fujii Hironori [CMake] Changing enabled features should trigger recompiling all IDL https://bugs.webkit.org/show_bug.cgi?id=164121 Reviewed by Michael Catanzaro. Changing enabled features should trigger recompiling all IDL because some of them use #if. generate-bindings-all.pl was introduced in . Before this change, updating supplemental_dependency.tmp triggered recompiling all IDL. Changing enabled features usually involves adding or removing IDL files. As the result, all IDL would be recompiled. After the change, adding or removing IDL does not trigger recompiling all IDL. So, we need to explicitly trigger recompiling all IDL if enabled features are changed. * Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Added cmakeconfig.h to extra dependencies. 2016-10-26 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-10-26 Enrique Ocaña González [cmake][GStreamer][MSE][EME] Build MSE and EME code after refactoring https://bugs.webkit.org/show_bug.cgi?id=162928 Reviewed by Xabier Rodriguez-Calvar. Consolidate all the source file tree changes after refactoring. This patch is co-authored with Philippe Normand (EME support). * Source/cmake/FindLibGcrypt.cmake: Added. * Source/cmake/OptionsGTK.cmake: 2016-10-26 Enrique Ocaña González [GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default https://bugs.webkit.org/show_bug.cgi?id=162623 Reviewed by Xabier Rodriguez-Calvar. * Source/cmake/OptionsGTK.cmake: 2016-10-25 Konstantin Tokarev [cmake] Don't enable ld.gold by default on non-ELF platforms https://bugs.webkit.org/show_bug.cgi?id=163946 Reviewed by Alex Christensen. For example, MinGW toolchain may be shipped with gold, but it fails to link WebKit. * Source/cmake/OptionsCommon.cmake: 2016-10-25 Konstantin Tokarev [cmake] Don't add -fPIC flag when on Windows (MinGW) https://bugs.webkit.org/show_bug.cgi?id=163949 Reviewed by Michael Catanzaro. -fPIC flag does not do anything on Windows and produces warning noise with MinGW. There is no position independent code in Unix sense on 32-bit Windows, and 64-bit Windows code is always relocatable. For reference see https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00836.html * Source/cmake/WebKitHelpers.cmake: 2016-10-21 Csaba Osztrogonác [EFL] REGRESSION(r207616): Build is broken due to missing libgeoclue-dev package https://bugs.webkit.org/show_bug.cgi?id=163733 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Expose USE_GEOCLUE2 to the build properly. 2016-10-21 Adam Bergkvist WebRTC: [GTK] Add MediaEndpointOwr - an OpenWebRTC WebRTC backend https://bugs.webkit.org/show_bug.cgi?id=163327 Reviewed by Philippe Normand. Add manual WebRTC test. Test features: - Two RTCPeerConnection instances communicate in a single browser tab. - Supports setting up bidirectional media with a single SDP dialog, as well as one direction at a time. - Strips vendor prefixes (runs in Chrome and Firefox as well) - Supports modern as well as legacy APIs (mainly to make the test run in Chrome) * ManualTests/webrtc-one-tab-p2p.html: Added. 2016-10-20 Carlos Garcia Campos [GTK] Configures but fails to link with ENABLE_OPENGL=OFF https://bugs.webkit.org/show_bug.cgi?id=163449 Reviewed by Michael Catanzaro. Remove wrong dependency of Wayland on OpenGL introduced in r190615, it should be possible to build for Wayland without GL. * Source/cmake/OptionsGTK.cmake: 2016-10-20 Fujii Hironori [CMake] CMake does not support the dep files for implicit dependency https://bugs.webkit.org/show_bug.cgi?id=161433 Reviewed by Brent Fulgham. Created a Perl script to generate all IDL bindings for CMake. This script can regenerate outdated bindings by based on the supplemental dependency and dep files created by '--write-dependencies' switch of generate-bindings.pl. add_custom_target is used to invoke the script instead of add_custom_command because Ninja deletes all output files before executing the command in case of add_custom_command. USES_TERMINAL option of add_custom_target has two effects: 1) Not buffering output of the command 2) Invoking the command in the special Ninja pool which inhibits parallel build One needs to use CMake 3.2 or later to enable this feature. * Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included ProcessorCount. Added a new argument 'target'. Use add_custom_target instead of add_custom_command. Invoke the new script. 2016-10-19 Alex Christensen Revert r207151 https://bugs.webkit.org/show_bug.cgi?id=163675 Reviewed by Brent Fulgham. * Source/cmake/OptionsAppleWin.cmake: 2016-10-18 Dean Jackson Remove CSS_SHAPES feature definition. This should always be on. https://bugs.webkit.org/show_bug.cgi?id=163628 Reviewed by Tim Horton. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-10-14 Michael Catanzaro [CMake] Private/unsupported build options should be marked as advanced https://bugs.webkit.org/show_bug.cgi?id=163451 Reviewed by Carlos Garcia Campos. When checking to decide whether to mark an option as advanced, the conditional checks whether _WEBKIT_AVAILABLE_OPTIONS_IS_PUBLIC_${_name} is defined. It is always defined. We need to check its value instead. * Source/cmake/WebKitFeatures.cmake: 2016-10-13 Brian Burg [CMake] Split the definition of CODE_GENERATOR_PREPROCESSOR so it can be used in a custom command https://bugs.webkit.org/show_bug.cgi?id=163401 Reviewed by Michael Catanzaro. In another patch, we need to use CODE_GENERATOR_PREPROCESSOR as the COMMAND argument when defining an add_custom_command. Previously, it has only been used as a quoted argument to various Perl code generation scripts. To support both use cases, we need to be able to provide the executable and its arguments as an unbroken quoted string, and as a CMake list suitable for passing as an argument to COMMAND. * Source/cmake/OptionsCommon.cmake: Split out the executable and argument string into separate variables that can be used elsewhere. Compute the final unbroken quoted string using the two separate variables to arrive at the same result. * Source/cmake/WebKitMacros.cmake: Drive-by cleanup to add quotes around the use of CODE_GENERATOR_PREPROCESSOR so it matches other uses. 2016-10-12 Chris Dumez [Web IDL] Drop support for legacy [ConstructorConditional=*] https://bugs.webkit.org/show_bug.cgi?id=163368 Reviewed by Ryosuke Niwa. Drop ENABLE_DOM4_EVENTS_CONSTRUCTOR compiler flag. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-10-11 Alex Christensen Remove dead networking code https://bugs.webkit.org/show_bug.cgi?id=163263 Reviewed by Daniel Bates. * Source/cmake/OptionsAppleWin.cmake: 2016-10-11 Konstantin Tokarev [cmake] Make INDEXED_DATABASE_IN_WORKERS depending on INDEXED_DATABASE https://bugs.webkit.org/show_bug.cgi?id=163280 Reviewed by Csaba Osztrogonác. * Source/cmake/WebKitFeatures.cmake: 2016-10-11 Per Arne Vollan [Win][Direct2D] Compile fix. https://bugs.webkit.org/show_bug.cgi?id=163273 Reviewed by Brent Fulgham. Define USE_DIRECT2D. * Source/cmake/OptionsAppleWin.cmake: 2016-10-10 Zan Dobersek Add ENABLE_ENCRYPTED_MEDIA configuration option https://bugs.webkit.org/show_bug.cgi?id=163219 Reviewed by Darin Adler. Add the ENABLE_ENCRYPTED_MEDIA configuration option to the CMake and MSVC build systems. It will be used to enable or disable the new EME implementation at build-time. * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-10-10 Commit Queue Unreviewed, rolling out r206972. https://bugs.webkit.org/show_bug.cgi?id=163227 Making EWS flaky (Requested by bfulgham_ on #webkit). Reverted changeset: "[CMake] CMake does not support the dep files for implicit dependency" https://bugs.webkit.org/show_bug.cgi?id=161433 http://trac.webkit.org/changeset/206972 2016-10-09 Fujii Hironori [CMake] CMake does not support the dep files for implicit dependency https://bugs.webkit.org/show_bug.cgi?id=161433 Reviewed by Brent Fulgham. Created a Perl script to generate all IDL bindings for CMake. This script can regenerate outdated bindings by based on the supplemental dependency and dep files created by '--write-dependencies' switch of generate-bindings.pl. add_custom_target is used to invoke the script instead of add_custom_command because Ninja deletes all output files before executing the command in case of add_custom_command. USES_TERMINAL option of add_custom_target has two effects: 1) Not buffering output of the command 2) Invoking the command in the special Ninja pool which inhibits parallel build One needs to use CMake 3.2 or later to enable this feature. * Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included ProcessorCount. Added a new argument 'target'. Use add_custom_target instead of add_custom_command. Invoke the new script. 2016-10-07 Fujii Hironori Use 'use lib $FindBin::Bin' to append Perl module include path https://bugs.webkit.org/show_bug.cgi?id=162256 Reviewed by Carlos Garcia Campos. * Source/cmake/WebKitMacros.cmake: Removed '-I' options from invocation of Perl. 2016-10-06 Brent Fulgham [Win][Direct2D] Add Direct2D CMake rules https://bugs.webkit.org/show_bug.cgi?id=162925 Reviewed by Brent Fulgham. * Source/cmake/OptionsAppleWin.cmake: Add a new 'USE_DIRECT2D' option flag for the build. Currently this is commented out and is unused. 2016-10-05 Zan Dobersek Rename ENABLE_ENCRYPTED_MEDIA_V2 to ENABLE_LEGACY_ENCRYPTED_MEDIA https://bugs.webkit.org/show_bug.cgi?id=162903 Reviewed by Alex Christensen. Rename build guards for the remaining implementation of the legacy EME API to ENABLE_LEGACY_ENCRYPTED_MEDIA. This will allow for the future implementation of the near-finished API to be guarded with the simple ENABLE_ENCRYPTED_MEDIA guards. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-10-03 Carlos Garcia Campos [SOUP] Cleanup persistent credential storage code https://bugs.webkit.org/show_bug.cgi?id=162777 Reviewed by Alex Christensen. Remove ENABLE(CREDENTIAL_STORAGE) build flag and replace it by USE(LIBSECRET). * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-09-29 Aaron Chu Web Inspector: AXI: linkified refs to #document and #text are not usually navigable nodes; consider delinkifying them https://bugs.webkit.org/show_bug.cgi?id=130600 Reviewed by Brian Burg. Added a manual test to test the node links in the Accessibility Inspector https://bugs.webkit.org/show_bug.cgi?id=130600 * ManualTests/accessibility/delinkified-non-navigable-links.html: Added. 2016-09-28 Michael Catanzaro [GTK] Remove obsolete comment from OptionsGTK.cmake https://bugs.webkit.org/show_bug.cgi?id=162622 Reviewed by Alex Christensen. * Source/cmake/OptionsGTK.cmake: 2016-09-28 Yusuke Suzuki Unreviewed, build fix for several CMake ports after r206440 * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-09-27 Don Olmstead [CMake] Add HAVE_LOCALTIME_R definition https://bugs.webkit.org/show_bug.cgi?id=162636 Reviewed by Alex Christensen. * Source/cmake/OptionsCommon.cmake: 2016-09-27 Don Olmstead [CMake] Use CMake to determine HAVE_* defines https://bugs.webkit.org/show_bug.cgi?id=162368 Reviewed by Alex Christensen. * Source/cmake/OptionsCommon.cmake: 2016-09-27 Konstantin Tokarev [cmake] Simplify Clang checks and prepare for compiler ID split https://bugs.webkit.org/show_bug.cgi?id=162609 Reviewed by Michael Catanzaro. CMake 3.x introduces separate compiler id for AppleClang, making condition (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") inappropriate as check for any clang version. Introduce COMPILER_IS_CLANG instead, which is also shorter that CMAKE_CXX_COMPILER_ID comparison. * CMakeLists.txt: * Source/cmake/OptionsCommon.cmake: * Source/cmake/WebKitHelpers.cmake: * Source/cmake/OptionsEfl.cmake: Use CMAKE_COMPILER_IS_GNUCXX instead of !Clang check because this is what was really meant here. 2016-09-27 Konstantin Tokarev [cmake] Added COMPILER_IS_GCC_OR_CLANG variable to simplify conditions. https://bugs.webkit.org/show_bug.cgi?id=162605 Reviewed by Michael Catanzaro. * CMakeLists.txt: * Source/cmake/OptionsCommon.cmake: * Source/cmake/WebKitHelpers.cmake: 2016-09-26 Daniel Bates Rename IOS_TEXT_AUTOSIZING to TEXT_AUTOSIZING https://bugs.webkit.org/show_bug.cgi?id=162365 Reviewed by Simon Fraser. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Substitute ENABLE_TEXT_AUTOSIZING for ENABLE_IOS_TEXT_AUTOSIZING, update the description of this feature to better describe what it does and re-order the define in the list of defines such that it is in sorted order. 2016-09-26 Konstantin Tokarev [cmake] Added an option to disable thin archives when they are undesirable. https://bugs.webkit.org/show_bug.cgi?id=162561 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: Added USE_THIN_ARCHIVES option. 2016-09-23 Caitlin Potter [JSC] Implement parsing of Async Functions https://bugs.webkit.org/show_bug.cgi?id=161409 Reviewed by Yusuke Suzuki. * Source/cmake/WebKitFeatures.cmake: 2016-09-22 Daniel Bates Remove more ENABLE(TEXT_AUTOSIZING) code https://bugs.webkit.org/show_bug.cgi?id=162456 Reviewed by Simon Fraser. * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-09-20 Don Olmstead [WinCairo] Use find_package cairo in build https://bugs.webkit.org/show_bug.cgi?id=162239 Reviewed by Alex Christensen. * Source/cmake/FindCairo.cmake: * Source/cmake/OptionsWinCairo.cmake: 2016-09-19 Daniel Bates Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code https://bugs.webkit.org/show_bug.cgi?id=162167 Reviewed by Simon Fraser. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-09-19 Michael Catanzaro [GTK] Make ENABLE_THREADED_COMPOSITOR a public option https://bugs.webkit.org/show_bug.cgi?id=162148 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: 2016-09-18 Gyuyoung Kim [EFL] Bump efl library to 1.18.1 https://bugs.webkit.org/show_bug.cgi?id=162120 Reviewed by Michael Catanzaro. * Source/cmake/OptionsEfl.cmake: Use efl-1.18.1 instead of 1.18. 2016-09-16 Carlos Garcia Campos [CMake] Build broken with current debian testing https://bugs.webkit.org/show_bug.cgi?id=162054 Reviewed by Žan Doberšek. Building WTR bindings is broken now in Debian testing. The reason is that '.' is no longer included in @INC for perl, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588017 and https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1238. * Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Pass also the given BASE_DIR to perl executable so that it can find modules in the current directory even if '.' is not in @INC. Also include generators in BASE_DIR to the list of dependencies. 2016-09-15 Fujii Hironori [CMake] Refactor GENERATE_BINDINGS https://bugs.webkit.org/show_bug.cgi?id=161854 Reviewed by Gyuyoung Kim. * Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Use CMakeParseArguments for argument parsing. Defined as a function instread of a macro because function has its own variable scope. Wrapped both preprocess-idls.pl and generate-bindings.pl scripts. Downcased local variables COMMON_GENERATOR_DEPENDENCIES and BINDING_GENERATOR. Generate idl_files.tmp. Removed arguments _prefix and _extension because they are always JS and cpp now. 2016-09-08 Carlos Alberto Lopez Perez [CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory) https://bugs.webkit.org/show_bug.cgi?id=161697 Reviewed by Michael Catanzaro. Get the list of system includes from GCC and add it to the CMake list of implicit includes. This way, CMake will filter any of this directories from the list of includes when calling the compiler. This avoids an issue with GCC 6 that causes build failures when including the default include path as a system include (-isystem). * Source/cmake/OptionsCommon.cmake: 2016-09-07 Michael Catanzaro [EFL] Switch to ENABLE_NETWORK_CACHE https://bugs.webkit.org/show_bug.cgi?id=152676 Reviewed by Alex Christensen. Build with -Wno-error=missing-field-initializers to avoid spurious build failures. * Source/cmake/OptionsEfl.cmake: 2016-09-07 Youenn Fablet [Streams API] Separate compile flag for ReadableStream and WritableStream https://bugs.webkit.org/show_bug.cgi?id=161044 Reviewed by Alex Christensen. Moving from STREAMS_API to READABLESTREAM_API and WRITABLESTREAM_API compilation flags. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: 2016-09-06 Fujii Hironori [CMake] Decouple generating bindings of WebCore and WebCoreTestSupport https://bugs.webkit.org/show_bug.cgi?id=161474 Generating bindings of WebCore and WebCoreTestSupport shares a single supplementalDependencyFile. But, nothing supplements any IDL of WebCoreTestSupport. This introduces unnecessary dependencies. Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: (GENERATE_BINDINGS): Clear uninitialized variables before use. This causes a problem in the second time of calling GENERATE_BINDINGS. 2016-09-04 Commit Queue Unreviewed, rolling out r205415. https://bugs.webkit.org/show_bug.cgi?id=161573 Many bots see inspector test failures, rolling out now and investigating later. (Requested by brrian on #webkit). Reverted changeset: "Web Inspector: unify Main.html and Test.html sources and generate different copies with the preprocessor" https://bugs.webkit.org/show_bug.cgi?id=161212 http://trac.webkit.org/changeset/205415 2016-09-01 Brian Burg Web Inspector: unify Main.html and Test.html sources and generate different copies with the preprocessor https://bugs.webkit.org/show_bug.cgi?id=161212 Reviewed by Joseph Pecoraro. Rearrange some CMake rules so most Inspector UI work is done in WebInspectorUI. * Source/CMakeLists.txt: Add 'WebInspectorUI' subdirectory. * Source/PlatformEfl.cmake: - Move the rule to copy InspectorBackendCommands.js into WebInspectorUI/CMakeLists.txt. - Add a FIXME to use the cross-port list of Inspector resources instead of copying everything. - Add new dependency so generated WebInspectorUI files are made by web-inspector-resources. - Copy over generated files Main.html and Test.html. * Source/PlatformWin.cmake: - Add a FIXME to use the cross-port list of Inspector resources instead of copying everything. - Add new dependency so generated WebInspectorUI files are made by web-inspector-resources. - Copy over generated files Main.html and Test.html. * Source/cmake/WebKitFS.cmake: - Set up WEBINSPECTORUI_DIR and use it. - Move directory creation commands here from JavaScriptCore. * Source/cmake/WebKitMacros.cmake: Add a helper to turn a CMake list into a space-delimited string of elements. 2016-09-01 Brian Burg Update root .gitignore for latest WebKitLibraries https://bugs.webkit.org/show_bug.cgi?id=161501 Reviewed by Alex Christensen. * .gitignore: 2016-08-31 Carlos Garcia Campos [GTK] Move GObject DOM bindings to WebKit2 layer and stop auto generating them https://bugs.webkit.org/show_bug.cgi?id=161438 Reviewed by Michael Catanzaro. * Source/PlatformGTK.cmake: * Source/cmake/OptionsGTK.cmake: 2016-08-31 Carlos Garcia Campos Unreviewed. Bump GTK+ versions numbers. * Source/cmake/OptionsGTK.cmake: 2016-08-30 Philippe Normand [GStreamer] bump required version to 1.2.3 https://bugs.webkit.org/show_bug.cgi?id=159667 Reviewed by Xabier Rodriguez Calvar. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2016-08-29 Per Arne Vollan Attempt to fix WinCairo build after r205090. Unreviewed build fix. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsWin.cmake: 2016-08-27 Per Arne Vollan [Win] Enable 'warning as error' compiler setting. https://bugs.webkit.org/show_bug.cgi?id=161243 Reviewed by Darin Adler. * Source/cmake/OptionsWin.cmake: 2016-08-26 Jer Noble Add a test harness for running UI tests on the iOS Simulator https://bugs.webkit.org/show_bug.cgi?id=161265 Add the new MobileMiniBrowser project to the WebKit workspace. Reviewed by Simon Fraser. * WebKit.xcworkspace/contents.xcworkspacedata: 2016-08-24 Alexey Proskuryakov Add svn:global-ignores to the root to ignore *.pyc files everythere in the repository. * .: Added property svn:global-ignores. 2016-08-19 Dean Jackson Implement preferLowPowerToHighPerformance for WebGL https://bugs.webkit.org/show_bug.cgi?id=161017 Reviewed by Myles Maxfield. A manual test that creates contexts with and without preferLowPowerToHighPerformance to see what is used. This has to be manual because it depends on the hardware configuration, and we don't have a way to detect it up-front. Also, if the code was failing, it would be the same result as on a single GPU system. * ManualTests/webgl-preferLowPowerToHighPerformance.html: Added. 2016-08-19 Per Arne Vollan [Win] Warning fix. https://bugs.webkit.org/show_bug.cgi?id=160994 Reviewed by Anders Carlsson. Ignore warning when function declared with __declspec(noreturn) has non void return type. * Source/cmake/OptionsWin.cmake: 2016-08-17 Don Olmstead Use find_library within Windows build https://bugs.webkit.org/show_bug.cgi?id=160904 Reviewed by Brent Fulgham. * Source/cmake/FindICU.cmake: * Source/cmake/OptionsWin.cmake: 2016-08-17 Gyuyoung Kim [EFL] Bump efl version from 1.17 to 1.18 https://bugs.webkit.org/show_bug.cgi?id=160899 Reviewed by Antonio Gomes. * Source/cmake/OptionsEfl.cmake: Update ewebkit version to 1.18.0. 2016-08-04 Csaba Osztrogonác [Mac][cmake] Fix the build after Objective-C bindings generator removal https://bugs.webkit.org/show_bug.cgi?id=160545 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: 2016-08-03 Csaba Osztrogonác Lacking support on a arm-traditional disassembler. https://bugs.webkit.org/show_bug.cgi?id=123717 Reviewed by Mark Lam. * Source/cmake/FindLLVM.cmake: Added back the r196749 state. * Source/cmake/OptionsCommon.cmake: Added back the r196749 state. 2016-08-01 Keith Miller We should not keep the JavaScript tests inside the Source/JavaScriptCore/ directory. https://bugs.webkit.org/show_bug.cgi?id=160372 Rubber stamped by Geoffrey Garen. This patch moves all the JavaScript tests from Source/JavaScriptCore/tests to a new top level directory, JSTests. Having the tests in the Source directory was both confusing and inconvenient for people that just want to checkout the source code of WebKit. Since there is no other obvious place to put all the JavaScript tests a new top level directory seemed the most sensible. * JSTests/: Copied from Source/JavaScriptCore/tests. * Source/JavaScriptCore/tests/: Deleted. * Scripts/import-test262-tests: * Scripts/run-javascriptcore-tests: * Scripts/update-javascriptcore-test-res: 2016-07-27 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.13.4 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-07-22 Carlos Garcia Campos [GTK] Enable threaded compositor by default https://bugs.webkit.org/show_bug.cgi?id=160079 Reviewed by Žan Doberšek. * Source/cmake/OptionsGTK.cmake: 2016-07-20 Csaba Osztrogonác JSC JIT Broken on ARMv7 Traditional (without Thumb2) https://bugs.webkit.org/show_bug.cgi?id=159880 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsCommon.cmake: Use the BFD linker on ARM traditional because of a gold linker bug. 2016-07-18 Alexey Proskuryakov "make ARCHS=x86_64" fails to build https://bugs.webkit.org/show_bug.cgi?id=159867 Reviewed by Dan Bernstein. * Makefile.shared: Override VALID_ARCHS when ARCHS is set, so that even projects that normally customize VALID_ARCHS wouldn't fail to build. 2016-07-18 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.13.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-07-13 Per Arne Vollan [Win] DLLs are missing version information. https://bugs.webkit.org/show_bug.cgi?id=159349 Reviewed by Alex Christensen. Avoid using environment variable WEBKIT_LIBRARIES when finding version stamper utility, in case it is not defined. Instead, use the location of the perl script to find the utility. * Source/cmake/tools/scripts/version-stamp.pl: 2016-07-12 Gyuyoung Kim Remove ENABLE_CSS3_TEXT_LINE_BREAK flag https://bugs.webkit.org/show_bug.cgi?id=159671 Reviewed by Csaba Osztrogonác. ENABLE_CSS3_TEXT_LINE_BREAK feature was implemented without guards. https://bugs.webkit.org/show_bug.cgi?id=89235 So this guard can be removed in build scripts. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-07-12 Per Arne Vollan [Win] DLLs are missing version information. https://bugs.webkit.org/show_bug.cgi?id=159349 Reviewed by Brent Fulgham. The version stamping will fail if the target path has forward slashes. * Source/cmake/tools/scripts/version-stamp.pl: Replace forward slashes with backslashes. 2016-07-05 Olivier Blin ENABLE_MEDIA_SOURCE should depend on ENABLE_VIDEO https://bugs.webkit.org/show_bug.cgi?id=159424 Reviewed by Philippe Normand. MEDIA_SOURCE requires VIDEO enabled, since MediaSource needs HTMLMediaElement. * Source/cmake/WebKitFeatures.cmake: 2016-07-05 Per Arne Vollan [Win] Layout Test http/tests/security/contentSecurityPolicy/source-list-parsing-10.html is failing https://bugs.webkit.org/show_bug.cgi?id=147646 Reviewed by Brent Fulgham. Disable CSP_NEXT. We can then use the common expected test results for this test. * Source/cmake/OptionsWin.cmake: 2016-07-04 Gyuyoung Kim [EFL] Remove mac configuration dependency in WebKit Version definition https://bugs.webkit.org/show_bug.cgi?id=159407 Reviewed by Yusuke Suzuki. EFL port has been used Version.xconfig file in WebKit/mac/Configurations. in order to generate WebKitVersion.h file. But it can be simply defined in cmake. * Source/cmake/OptionsEfl.cmake: 2016-07-03 Dan Bernstein [Xcode] With default verbosity, make(1) output no longer hides environment variable listings https://bugs.webkit.org/show_bug.cgi?id=159392 Reviewed by Alexey Proskuryakov. * Makefile.shared: Pass the -hideShellScriptEnvironment option to xcodebuild instead of piping its output through an ineffective "grep -v setenv", 2016-07-01 Konstantin Tokarev [cmake] Make LEGACY_WEB_AUDIO depend on WEB_AUDIO. https://bugs.webkit.org/show_bug.cgi?id=159338 Reviewed by Michael Catanzaro. Enabling LEGACY_WEB_AUDIO makes no sense when WEB_AUDIO is disabled. * Source/cmake/WebKitFeatures.cmake: 2016-06-28 Per Arne Vollan [Win] Custom elements tests are failing. https://bugs.webkit.org/show_bug.cgi?id=159139 Reviewed by Alex Christensen. Enable custom element API on Windows. * Source/cmake/OptionsWin.cmake: 2016-06-23 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.13.2 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-06-15 Romain Bellessort Enabling Shadow DOM for all platforms https://bugs.webkit.org/show_bug.cgi?id=158738 Reviewed by Ryosuke Niwa. Removed Shadow DOM from options (enabled by default) * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-06-13 Romain Bellessort [GTK] Enabling Shadow DOM by default https://bugs.webkit.org/show_bug.cgi?id=158686 Reviewed by Carlos Garcia Campos. Added support for enabling Shadow DOM by default for GTK. * Source/cmake/OptionsGTK.cmake: 2016-06-09 Michael Catanzaro Add comments to clarify feature enablement https://bugs.webkit.org/show_bug.cgi?id=158567 Reviewed by Alex Christensen. * Source/cmake/WebKitFeatures.cmake: 2016-06-08 Per Arne Vollan [Win] Shadow DOM tests are failing. https://bugs.webkit.org/show_bug.cgi?id=158524 Reviewed by Brent Fulgham. Enable Shadow DOM. * Source/cmake/OptionsWin.cmake: 2016-06-07 Carlos Garcia Campos [GTK] Enable IndexedDB in workers https://bugs.webkit.org/show_bug.cgi?id=158475 Reviewed by Antonio Gomes. This is working now and many tests are failing only because we don't enable it. * Source/cmake/OptionsGTK.cmake: 2016-06-06 Gyuyoung Kim [EFL] Update ewebkit minor version https://bugs.webkit.org/show_bug.cgi?id=158409 Reviewed by Csaba Osztrogonác. EWebKit has used efl 1.17 version though, it still is stopped at version 1.14. * Source/cmake/OptionsEfl.cmake: Bump minor version to 1.17. 2016-06-05 Gyuyoung Kim [EFL] Sync EFL features with featureList.pm https://bugs.webkit.org/show_bug.cgi?id=158410 Reviewed by Antonio Gomes. In OptionsEfl, some features on/off status are different with featureList.pm definitions. Sync with it. * Source/cmake/OptionsEfl.cmake: 2016-06-03 Per Arne Vollan [Win] IndexedDB worker tests are failing. https://bugs.webkit.org/show_bug.cgi?id=158341 Reviewed by Alex Christensen. Enable IndexedDB in workers. * Source/cmake/OptionsWin.cmake: 2016-05-31 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.13.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-05-28 Ryosuke Niwa Autocorrection makes it hard to type "doesn't" and to type @ in email addresses https://bugs.webkit.org/show_bug.cgi?id=158177 Reviewed by Darin Adler. Fixed manual tests for autocorrection panels and added a manual test for . Most of changes are fixing up the path to LayoutTests/editing/editing.js. Also wrap many steps to type in a space or delete a character inside setTimeout since autocorrection happens on a timer and the fact WebKit2 communicates with NSSpellChecker via IPC makes the behavior even more indeterministic. * ManualTests/autocorrection/autocorrection-at-mark.html: Added. * ManualTests/autocorrection/autocorrection-cancelled-by-ESC.html: * ManualTests/autocorrection/autocorrection-cancelled-by-typing-1.html: * ManualTests/autocorrection/autocorrection-contraction-2.html: Added. * ManualTests/autocorrection/autocorrection-contraction.html: * ManualTests/autocorrection/autocorrection-in-iframe.html: * ManualTests/autocorrection/close-window-when-correction-is-shown.html: * ManualTests/autocorrection/continue-typing-to-dismiss-reversion.html: * ManualTests/autocorrection/delete-to-dismiss-reversion.html: * ManualTests/autocorrection/delete-to-end-of-word-to-show-reversion.html: * ManualTests/autocorrection/dismiss-multiple-guesses.html: * ManualTests/autocorrection/document-for-iframe-test.html: Removed. * ManualTests/autocorrection/move-to-end-of-word-to-show-reversion.html: Type a space and move care in setTimeout as the reversion panel wouldn't show up otherwise. * ManualTests/autocorrection/remove-misspelling-marker-after-appending-letter.html: Delay the typing of a space as well as deleting letters since autocorrection panel wouldn't show up in time otherwise, and deleting character immediately would reject the autocorrection instead of accepting it. Also removed the steps to add back the spellchecking marker and extracted it as a separate test. * ManualTests/autocorrection/removing-misspelling-marker-after-appending-letter-2.html: Copied. This test continues the full scenario in the previous test by typing a space and deleting the character, thereby bringing up spellchecking marker. * ManualTests/autocorrection/resources: Added. * ManualTests/autocorrection/resources/document-for-iframe-test.html: Moved from ManualTests/autocorrection/. * ManualTests/autocorrection/select-from-multiple-guesses.html: Added a missing instruction. * ManualTests/autocorrection/spell-checking-after-reversion.html: * ManualTests/autocorrection/type-whitespace-to-dismiss-reversion.html: Delay the typing of a space and moving the selection since the reversion panel wouldn't show up otherwise. * ManualTests/autocorrection/undo-autocorrection-2.html: Copied. Automated most of steps in the second test case. * ManualTests/autocorrection/undo-autocorrection.html: 2016-05-25 Konstantin Tokarev [cmake] Deduplicate make-js-file-arrays usage and make it work on Windows. https://bugs.webkit.org/show_bug.cgi?id=157997 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: Added MAKE_JS_FILE_ARRAYS macro. 2016-05-25 Manuel Rego Casasnovas [css-grid] Turn on ENABLE_CSS_GRID_LAYOUT by default https://bugs.webkit.org/show_bug.cgi?id=158060 Reviewed by Darin Adler. The runtime flag is disabled by default, but we want to build CSS Grid Layout by default. Otherwise the runtime flag would be useless. * Source/cmake/WebKitFeatures.cmake: 2016-05-22 Brady Eidson Move to C++14. https://bugs.webkit.org/show_bug.cgi?id=157948 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: 2016-05-22 Csaba Osztrogonác Suppress -Wmissing-field-initializers warnings with GCC 4.9 https://bugs.webkit.org/show_bug.cgi?id=157888 Reviewed by Michael Catanzaro. * Source/cmake/WebKitHelpers.cmake: 2016-05-20 Joseph Pecoraro Remove LegacyProfiler https://bugs.webkit.org/show_bug.cgi?id=153565 Reviewed by Saam Barati. * ManualTests/inspector/profiler-test-call.html: Removed. * ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html: Removed. 2016-05-18 Gwang Yoon Hwang [GStreamer] Use FakeSink to get a decoded texture from a pipeline https://bugs.webkit.org/show_bug.cgi?id=153641 Reviewed by Philippe Normand. * Source/cmake/FindGStreamer.cmake: Bump gst-gl version to 1.8.0 2016-05-17 Dean Jackson Remove ES6_GENERATORS flag https://bugs.webkit.org/show_bug.cgi?id=157815 Reviewed by Geoffrey Garen. This flag isn't needed. Generators are enabled everywhere and part of a stable specification. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-05-16 Joseph Pecoraro Unreviewed rollout r200924. Caused js/regress/string-replace-generic.html to fail. * ManualTests/inspector/profiler-test-call.html: Added. * ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html: Added. 2016-05-14 Joseph Pecoraro Remove LegacyProfiler https://bugs.webkit.org/show_bug.cgi?id=153565 Reviewed by Mark Lam. * ManualTests/inspector/profiler-test-call.html: Removed. * ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html: Removed. 2016-05-13 Yoav Weiss Turn on WEB_TIMING for all ports https://bugs.webkit.org/show_bug.cgi?id=157673 Reviewed by Alex Christensen. Turn on WEB_TIMING by default on the cmake Mac port, to match it with all other ports, and make sure that the flag will be on by default for all ports. * Source/cmake/OptionsGTK.cmake: Remove the specific private flag for WEB_TIMING. * Source/cmake/OptionsMac.cmake: Remove the specific private flag for WEB_TIMING. * Source/cmake/WebKitFeatures.cmake: Turn on WEB_TIMING for all ports by default. 2016-05-12 Csaba Osztrogonác Remove ENABLE(ES6_ARROWFUNCTION_SYNTAX) guards https://bugs.webkit.org/show_bug.cgi?id=157564 Reviewed by Darin Adler. * Source/cmake/WebKitFeatures.cmake: 2016-05-10 Michael Catanzaro [Linux] Remove seccomp filters support https://bugs.webkit.org/show_bug.cgi?id=157380 Reviewed by Darin Adler. * Source/cmake/FindLibSeccomp.cmake: Removed. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-05-06 Manuel Rego Casasnovas [css-grid] Unprefix CSS Grid Layout properties https://bugs.webkit.org/show_bug.cgi?id=157137 Reviewed by Simon Fraser. Remove "-webkit" prefix from all the grid layout properties, including the display value. Update the source code to remove the prefix where it was used too. * ManualTests/css-grid-layout-item-with-huge-span-crash.html: 2016-05-02 Per Arne Vollan [Win] Enable IndexedDB. https://bugs.webkit.org/show_bug.cgi?id=157192 Reviewed by Brent Fulgham. * Source/cmake/OptionsWin.cmake: 2016-05-02 Yoav Weiss Move ResourceTiming behind a runtime flag https://bugs.webkit.org/show_bug.cgi?id=157133 Reviewed by Alex Christensen. * Source/cmake/WebKitFeatures.cmake: Remove the PERFORMANCE_TIMELINE build flag. 2016-04-29 Commit Queue Unreviewed, rolling out r200232. https://bugs.webkit.org/show_bug.cgi?id=157189 This change broke the Mac CMake build and its LayoutTest is failing and/or flaky on all platforms (Requested by ryanhaddad on #webkit). Reverted changeset: "Move ResourceTiming behind a runtime flag" https://bugs.webkit.org/show_bug.cgi?id=157133 http://trac.webkit.org/changeset/200232 2016-04-29 Yoav Weiss Move ResourceTiming behind a runtime flag https://bugs.webkit.org/show_bug.cgi?id=157133 Reviewed by Alex Christensen. * Source/cmake/WebKitFeatures.cmake: Remove the PERFORMANCE_TIMELINE build flag. 2016-04-28 Commit Queue Unreviewed, rolling out r200185. https://bugs.webkit.org/show_bug.cgi?id=157131 Bad temporary file added unintentionally (Requested by fredw on #webkit). Reverted changeset: "RenderMathMLOperator refactoring: introduce getBaseGlyph and remove parameter from getDisplayStyleLargeOperator" https://bugs.webkit.org/show_bug.cgi?id=156910 http://trac.webkit.org/changeset/200185 2016-04-25 Ryosuke Niwa Remove the build flag for template elements https://bugs.webkit.org/show_bug.cgi?id=157022 Reviewed by Daniel Bates. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-04-22 Carlos Garcia Campos [GTK] Enable the download attribute support https://bugs.webkit.org/show_bug.cgi?id=99025 Reviewed by Žan Doberšek. * Source/cmake/OptionsGTK.cmake: 2016-04-18 Yusuke Suzuki [JSCOnly] Implement RunLoop and remove glib dependency https://bugs.webkit.org/show_bug.cgi?id=155706 Reviewed by Michael Catanzaro. * Source/cmake/OptionsJSCOnly.cmake: 2016-04-18 Carlos Garcia Campos [GTK] Menu list button doesn't use the text color from the theme https://bugs.webkit.org/show_bug.cgi?id=118234 Reviewed by Darin Adler. * ManualTests/gtk/theme.html: Add a disabled combo test. 2016-04-13 Konstantin Tokarev FindWebP should not be misguided by pkg-config when cross-compiling. https://bugs.webkit.org/show_bug.cgi?id=156544 Reviewed by Michael Catanzaro. We should use pkg-config output only as a hint, like other modules do. * Source/cmake/FindWebP.cmake: 2016-04-07 Carlos Garcia Campos [GTK] Rework the theming code for GTK+ 3.20 https://bugs.webkit.org/show_bug.cgi?id=156333 Reviewed by Michael Catanzaro. Add a manual test to check how themed elements are rendered. * ManualTests/gtk/theme.html: Added. 2016-04-11 Fujii Hironori [CMake] Make FOLDER property INHERITED https://bugs.webkit.org/show_bug.cgi?id=156460 Reviewed by Brent Fulgham. Some CMake targets are not setting the FOLDER property. This causes the generated projects to be displayed in the top-level folder of the solution. Making the FOLDER property INHERITED ensures that all the targets are placed in their proper directories. * Source/cmake/OptionsCommon.cmake: Define FOLDER property as a inherited property. * Source/cmake/WebKitMacros.cmake: Do not set FOLDER target property. 2016-04-08 Alex Christensen Progress towards running CMake WebKit2 on Mac https://bugs.webkit.org/show_bug.cgi?id=156426 Reviewed by Tim Horton. * Source/cmake/OptionsMac.cmake: FTL works on Mac, so let's use it. * Source/cmake/WebKitMacros.cmake: 2016-04-07 Joseph Pecoraro Remove ENABLE(ENABLE_ES6_CLASS_SYNTAX) guards https://bugs.webkit.org/show_bug.cgi?id=156384 Reviewed by Ryosuke Niwa. * Source/cmake/WebKitFeatures.cmake: 2016-04-07 Dean Jackson [iOS] Play button on video is too dark https://bugs.webkit.org/show_bug.cgi?id=156383 Reviewed by Simon Fraser. Add a manual test for iOS that shows the expected appearance of a video element. Unfortunately, due to the way we take snapshots on iOS within our test runner, we don't get the platform blurring effect, which means an automated test won't work. * ManualTests/ios/start-playback-button-appearance-expected.html: Added. * ManualTests/ios/start-playback-button-appearance.html: Added. 2016-04-06 Alex Christensen Fix CMake DumpRenderTree https://bugs.webkit.org/show_bug.cgi?id=156305 Reviewed by Daniel Bates. * Source/cmake/OptionsMac.cmake: 2016-04-05 Alex Christensen Make CMake-generated binaries on Mac able to run https://bugs.webkit.org/show_bug.cgi?id=156268 Reviewed by Daniel Bates. * Source/cmake/OptionsMac.cmake: 2016-04-04 Alejandro G. Castro REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations https://bugs.webkit.org/show_bug.cgi?id=156164 Reviewed by Philippe Normand. Remove double space in the error message when openwebrtc is not present. * Source/cmake/OptionsGTK.cmake: 2016-04-03 Carlos Garcia Campos Unreviewed. Bump GTK+ versions numbers. * Source/cmake/OptionsGTK.cmake: 2016-03-31 Daniel Bates tool tip/alt. text appears when mouse is no longer hovering over link https://bugs.webkit.org/show_bug.cgi?id=24427 Reviewed by Antonio Gomes. Although the bug no longer reproduces, add a manual test that can be used to determine if a tooltip for a hyperlink is shown when the cursor no longer hovers over it. * ManualTests/tooltip-when-mouse-not-directly-over-hyperlink.html: Added. 2016-03-29 Commit Queue Unreviewed, rolling out r198781. https://bugs.webkit.org/show_bug.cgi?id=155986 broke windows clean build (Requested by alexchristensen on #webkit). Reverted changeset: "[Win] CMake seems to build all generated files every time" https://bugs.webkit.org/show_bug.cgi?id=155872 http://trac.webkit.org/changeset/198781 2016-03-29 Brent Fulgham [Win] CMake seems to build all generated files every time https://bugs.webkit.org/show_bug.cgi?id=155872 Reviewed by Alex Christensen. This seems to be caused by Visual Studio being unhappy receiving multiple output targets for its custom build rules. If I limit the output to just the header file on Windows, the dependency check seems to do the right thing. * Source/cmake/WebKitMacros.cmake: 2016-03-28 Alex Christensen Fix Mac Ninja build after r198766. * Source/cmake/WebKitMacros.cmake: WebCore_DERIVED_SOURCES are intentionally in a separate library to reduce linker line length. This is now only specific to WebKit2_DERIVED_SOURCES, so I'm moving it there. 2016-03-28 Alex Christensen Fix Windows build after r198766. * Source/cmake/WebKitMacros.cmake: Use the filename from the cpp so that WebCorePrefix.cpp and WebCoreDerivedSourcesPrefix.cpp generate unique .pch files, even though they both include WebCorePrefix.h 2016-03-28 Alex Christensen Fix Ninja build on Mac https://bugs.webkit.org/show_bug.cgi?id=151399 Reviewed by Darin Adler. * Source/CMakeLists.txt: * Source/cmake/WebKitMacros.cmake: 2016-03-27 Daniel Bates WebKit.xcworkspace "All Source" scheme always copies OS X WebKitSystemInterface libraries https://bugs.webkit.org/show_bug.cgi?id=155889 Reviewed by Alexey Proskuryakov. Fixes an issue where building the "All Source" scheme in WebKit.xcworkspace would always copy the OS X WebKitSystemInterface libraries regardless of the selected base SDK. In particular, it would copy the OS X WebKitSystemInterface libraries when building with SDK iphonesimulator. WebKit.xcworkspace should copy the SDK- specific WebKitSystemInterface libraries. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2016-03-25 Brady Eidson Soften push/replaceState frequency restrictions. and https://bugs.webkit.org/show_bug.cgi?id=155901 Rubber-stamped by Timothy Hatcher. * ManualTests/state-objects-time-limit.html: Added. 2016-03-25 Daniel Bates REGRESSION (r197358): WebKitSystemInterface.h copied into directory named "--llvm" https://bugs.webkit.org/show_bug.cgi?id=155838 Reviewed by Alexey Proskuryakov. Do not pass command line flag --llvm when calling script copy-webkitlibraries-to-product-directory to avoid copying the WebKitSystemInterface libraries to an incorrect location. The --llvm flag was removed from copy-webkitlibraries-to-product-directory in . * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2016-03-25 Bill Ming Detect correct number of processors on windows https://bugs.webkit.org/show_bug.cgi?id=155884 Reviewed by Alex Christensen. * Tools/Scripts/run-jsc-stress-tests: 2016-03-25 Brent Fulgham [Win] Improve CMake build performance https://bugs.webkit.org/show_bug.cgi?id=155871 Reviewed by Alex Christensen. Add a flag to the PROCESS_ALLINONE_FILE macro so that it does not remove the files contained in the passed all-in-one file, since this breaks dependency checking and generation of the derived sources from the IDL. Instead, include the header files in the project so that all files get generated. * Source/cmake/WebKitMacros: Updated for 'DerivedSources.cpp' use case. 2016-03-25 Konstantin Tokarev Turned on ENABLE_REQUEST_ANIMATION_FRAME by default for any port. https://bugs.webkit.org/show_bug.cgi?id=155882 Reviewed by Michael Catanzaro. It was already enabled in all trunk ports, and is required for WebInspectorUI to work. * Source/cmake/OptionsGTK.cmake: Removed duplication of default value. * Source/cmake/OptionsMac.cmake: Ditto. * Source/cmake/WebKitFeatures.cmake: Turned ENABLE_REQUEST_ANIMATION_FRAME ON. 2016-03-24 Bill Ming Determine architecture for running jsc stress tests on windows https://bugs.webkit.org/show_bug.cgi?id=155840 Reviewed by Alex Christensen. * Tools/Scripts/run-jsc-stress-tests: 2016-03-23 Bill Ming Fixed ninja build path. https://bugs.webkit.org/show_bug.cgi?id=155796 Reviewed by Alex Christensen. * Tools/Scripts/build-webkit: 2016-03-21 Eric Carlson Add a WebRTC specific compile flag https://bugs.webkit.org/show_bug.cgi?id=155663 Reviewed by Jer Noble. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-03-18 Yusuke Suzuki Unreviewed, missing SET_AND_EXPOSE_TO_BUILD for USE_UDIS86 in JSCOnly port https://bugs.webkit.org/show_bug.cgi?id=155628 * Source/cmake/OptionsJSCOnly.cmake: 2016-03-17 Yusuke Suzuki [JSCOnly] Enable udis86 https://bugs.webkit.org/show_bug.cgi?id=155628 Reviewed by Carlos Garcia Campos. Enable udis86 for disassembler. The current flag name is incorrect. * Source/cmake/OptionsJSCOnly.cmake: 2016-03-14 Konstantin Tokarev Restored ENABLE_WEBCORE option and used it in JSCOnly port. https://bugs.webkit.org/show_bug.cgi?id=155428 Reviewed by Michael Catanzaro. This is a partial revert of r182624. * CMakeLists.txt: * Source/CMakeLists.txt: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/WebKitFS.cmake: 2016-03-13 Joseph Pecoraro Remove ENABLE(ES6_TEMPLATE_LITERAL_SYNTAX) guards https://bugs.webkit.org/show_bug.cgi?id=155417 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-03-13 Konstantin Tokarev Added new port JSCOnly. https://bugs.webkit.org/show_bug.cgi?id=154512 Reviewed by Michael Catanzaro. This port allows to build JavaScriptCore engine with minimal dependencies. * CMakeLists.txt: * Source/cmake/OptionsJSCOnly.cmake: Added. 2016-03-12 Myles C. Maxfield Delete dead SVG Font code https://bugs.webkit.org/show_bug.cgi?id=154718 Reviewed by Antti Koivisto. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-03-12 Jeremy Huddleston Sequoia [GTK][Mac] Don't force ENABLE_INTROSPECTION=OFF on Mac https://bugs.webkit.org/show_bug.cgi?id=152650 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: 2016-03-10 Frederic Wang [GTK] Add support for WOFF2 https://bugs.webkit.org/show_bug.cgi?id=152616 Reviewed by Carlos Garcia Campos. * Source/CMakeLists.txt: Build brotli and woff2 third-party libraries if WOFF2 is enabled. * Source/cmake/OptionsGTK.cmake: Always enable WOFF2 on GTK. 2016-03-09 Konstantin Tokarev [cmake] Fixed All-in-One build. https://bugs.webkit.org/show_bug.cgi?id=155241 Reviewed by Csaba Osztrogonác. * Source/cmake/WebKitMacros.cmake: Last item of WebCore_SOURCES was not removed in PROCESS_ALLINONE_FILE. 2016-03-08 Myles C. Maxfield [EFL] Enable the SVG -> OTF Font Converter https://bugs.webkit.org/show_bug.cgi?id=155192 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: 2016-03-08 Myles C. Maxfield [GTK] Enable the SVG -> OTF Font Converter https://bugs.webkit.org/show_bug.cgi?id=155191 Reviewed by Martin Robinson. * Source/cmake/OptionsGTK.cmake: 2016-03-05 Michael Catanzaro Unreviewed, fix GTK/EFL build after r197575 and add mandatory GnuTLS dependency * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2016-03-02 Konstantin Tokarev [cmake] Moved PRE/POST_BUILD_COMMAND to WEBKIT_FRAMEWORK. https://bugs.webkit.org/show_bug.cgi?id=154651 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: Used phony target instead of CMake's PRE_BUILD COMMAND feature because the latter actually generates pre-link target instead of pre-build. 2016-03-01 Alex Christensen Reduce size of internal windows build output https://bugs.webkit.org/show_bug.cgi?id=154763 Reviewed by Brent Fulgham. * Source/cmake/OptionsWin.cmake: 2016-03-01 Commit Queue Unreviewed, rolling out r197056. https://bugs.webkit.org/show_bug.cgi?id=154870 broke win ews (Requested by alexchristensen on #webkit). Reverted changeset: "[cmake] Moved PRE/POST_BUILD_COMMAND to WEBKIT_FRAMEWORK." https://bugs.webkit.org/show_bug.cgi?id=154651 http://trac.webkit.org/changeset/197056 2016-02-29 Konstantin Tokarev [cmake] Allow using FindGLIB in case glib is optional dependency. https://bugs.webkit.org/show_bug.cgi?id=154796 Reviewed by Michael Catanzaro. FindGLIB caused internal CMake error in case glibconfig.h is not found. * Source/cmake/FindGLIB.cmake: 2016-02-29 Commit Queue Unreviewed, rolling out r197297. https://bugs.webkit.org/show_bug.cgi?id=154810 This change broke build of GTK from scratch (Requested by annulen on #webkit). Reverted changeset: "[cmake] Allow using FindGLIB in case glib is optional dependency." https://bugs.webkit.org/show_bug.cgi?id=154796 http://trac.webkit.org/changeset/197297 2016-02-28 Konstantin Tokarev [cmake] Allow using FindGLIB in case glib is optional dependency. https://bugs.webkit.org/show_bug.cgi?id=154796 Reviewed by Michael Catanzaro. FindGLIB caused internal CMake error in case GLIBCONFIG_INCLUDE_DIR is not defined. * Source/cmake/FindGLIB.cmake: 2016-02-25 Myles C. Maxfield [Win] [SVG -> OTF Converter] Support the SVG -> OTF Font Converter https://bugs.webkit.org/show_bug.cgi?id=143402 Reviewed by Alex Christensen. Turn on by default, and turn on for Windows. EFL and GTK already explicitly disable it in OptionsEfl.cmake and OptionsGTK.cmake. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-02-24 Nikos Andronikos [web-animations] Add AnimationTimeline, DocumentTimeline and add extensions to Document interface https://bugs.webkit.org/show_bug.cgi?id=151688 Reviewed by Dean Jackson. Enables the WEB_ANIMATIONS compiler switch. * Source/cmake/OptionsWin.cmake: 2016-02-24 Konstantin Tokarev [cmake] Moved PRE/POST_BUILD_COMMAND to WEBKIT_FRAMEWORK. https://bugs.webkit.org/show_bug.cgi?id=154651 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: 2016-02-22 Konstantin Tokarev [cmake] Moved library setup code to WEBKIT_FRAMEWORK macro. https://bugs.webkit.org/show_bug.cgi?id=154450 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: 2016-02-18 Philippe Normand [GStreamer] Bump internal jhbuild versions to 1.6.3 https://bugs.webkit.org/show_bug.cgi?id=149594 Reviewed by Michael Catanzaro. * Source/cmake/FindGStreamer.cmake: Check gst-gl version for the latest stable release of GStreamer. 2016-02-18 Anders Carlsson Get rid of the "All Source (target WebProcess)" scheme. Rubber-stamped by Dan Bernstein. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: Removed. 2016-02-18 Michael Catanzaro [CMake] Remove LLVM support https://bugs.webkit.org/show_bug.cgi?id=154370 Reviewed by Csaba Osztrogonác. After switching all CMake ports to B3, this was only needed for the LLVM disassembler, which has been removed from JSC. Feel free to bring this back if restoring the LLVM disassembler, but for the time being this is dead code. * Source/cmake/FindLLVM.cmake: Removed. * Source/cmake/OptionsCommon.cmake: 2016-02-18 Joonghun Park [CMake] Remove meaningless conditional statements in CMakeLists.txt https://bugs.webkit.org/show_bug.cgi?id=153778 Reviewed by Csaba Osztrogonác. * CMakeLists.txt: Use CMAKE_FOO_OUTPUT_DIRECTORY located in CMakeLists.txt as default value. And remove conditional statements which has enclosed these one because they don't have meaning anymore. 2016-02-15 Alex Christensen Re-enable INTL on WinCairo https://bugs.webkit.org/show_bug.cgi?id=154256 Reviewed by Michael Catanzaro. * Source/cmake/OptionsWin.cmake: Peavo updated icu and it works, so let's re-enable INTL on WinCairo to catch Windows build failures. 2016-02-12 Csaba Osztrogonác [EFL][GTK] Fix ENABLE(SVG_OTF_CONVERTER) build https://bugs.webkit.org/show_bug.cgi?id=154165 Reviewed by Alex Christensen. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2016-02-11 Konstantin Tokarev [cmake] Consolidate TextureMapper file and include dir lists. https://bugs.webkit.org/show_bug.cgi?id=154106 Reviewed by Michael Catanzaro. * Source/cmake/OptionsEfl.cmake: Expose USE_TEXTURE_MAPPER_GL to CMake code. * Source/cmake/OptionsWinCairo.cmake: Ditto. 2016-02-09 Csaba Osztrogonác [GTK][EFL] Fix several build configuration related to SamplingProfiler after r196245 https://bugs.webkit.org/show_bug.cgi?id=154033 Reviewed by Michael Catanzaro. * Source/cmake/WebKitFeatures.cmake: 2016-02-09 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.11.5 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-02-07 Yusuke Suzuki [GTK][EFL] Enable SamplingProfiler https://bugs.webkit.org/show_bug.cgi?id=153638 Reviewed by Michael Catanzaro. Enable SamplingProfiler in GTK and EFL. And added option to CMake to switch this from the build command. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-02-07 Konstantin Tokarev [cmake] Move LLVM detection for LLVMDisassembler to OptionsCommon.cmake https://bugs.webkit.org/show_bug.cgi?id=153961 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2016-02-04 Csaba Osztrogonác Unreviewed non X86_64 buildfix after r196077. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2016-02-03 Michael Catanzaro [GTK][EFL] Switch FTL to B3 https://bugs.webkit.org/show_bug.cgi?id=153478 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2016-02-02 Joseph Pecoraro Unreviewed attempt to fix Mac CMake build after r195999. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Add ENABLE_RESOURCE_USAGE to CMake builds. 2016-02-02 Alejandro G. Castro [GTK][EFL] Upgrade OpenWebRTC dependency https://bugs.webkit.org/show_bug.cgi?id=153489 Reviewed by Philippe Normand. * Source/cmake/FindOpenWebRTC.cmake: Bump OpenWebRTC dependency, required to make the mediastream work. 2016-02-01 Alex Christensen [Win] WTFHeaderDetection.h no longer needed https://bugs.webkit.org/show_bug.cgi?id=153753 rdar://problem/24434627 Reviewed by Darin Adler. * Source/cmake/WebKitFS.cmake: 2016-01-31 Joonghun Park [EFL] All API tests are broken on 15.10 https://bugs.webkit.org/show_bug.cgi?id=153528 Reviewed by Gyuyoung Kim. * CMakeLists.txt: Having include(WebKitCommon) statement follow CMAKE_FOO_OUTPUT_DIRECTORY otherwise all the API tests gets blocked. 2016-01-30 Yusuke Suzuki Enable SamplingProfiler on POSIX environment https://bugs.webkit.org/show_bug.cgi?id=153584 Reviewed by Michael Saboff. Add features.h header check. It will define __GLIBC__. * Source/cmake/OptionsCommon.cmake: 2016-01-27 Alexey Proskuryakov Remove ENABLE_CURRENTSRC https://bugs.webkit.org/show_bug.cgi?id=153545 Reviewed by Simon Fraser. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2016-01-25 Alex Christensen Fix internal Windows build https://bugs.webkit.org/show_bug.cgi?id=153469 Reviewed by Brent Fulgham. * Source/cmake/WebKitMacros.cmake: Pass the GPERF_EXECUTABLE that we found to make-hash-tools.pl. 2016-01-23 Aaron Chu Web Inspector: AXI: node-link-list should be collapsible https://bugs.webkit.org/show_bug.cgi?id=130911 Added a manual test to test the node list in the Accessibility Inspector Reviewed by Timothy Hatcher. * ManualTests/accessibility/collapsible-node-link-list.html: Added. 2016-01-22 Alex Christensen Fix internal Windows build https://bugs.webkit.org/show_bug.cgi?id=153385 rdar://problem/24310408 Reviewed by Brian Weinstein. * Source/cmake/WinTools.make: * Source/cmake/tools/vsprops: Copied from WebKitLibraries/win/tools/vsprops. These property sheets are needed for some projects that are not in this repository and don't use CMake in the official build. We want to leave them unchanged for now. 2016-01-22 Alex Christensen Only set CMake output directories if they aren't already set https://bugs.webkit.org/show_bug.cgi?id=153373 Reviewed by Michael Catanzaro. * CMakeLists.txt: r195242 caused Windows builds to copy files to bin instead of bin64. CMAKE_RUNTIME_OUTPUT_DIRECTORY is being set in OptionsWin.cmake, and this was now resetting it. This also makes it so you can set these variables by command line. 2016-01-20 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.11.4 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-01-18 Michael Catanzaro [CMake] Duplicate attempts to find software during cmake stage https://bugs.webkit.org/show_bug.cgi?id=153211 Reviewed by Martin Robinson. * CMakeLists.txt: Remove duplication of commands in WebKitCommon.cmake. * Source/cmake/WebKitCommon.cmake: Guard the entire file so it runs only once. 2016-01-17 Michael Catanzaro [CMake] Do not build bmalloc when USE_SYSTEM_MALLOC is ON https://bugs.webkit.org/show_bug.cgi?id=153190 Reviewed by Csaba Osztrogonác. Build bmalloc when NOT USE_SYSTEM_MALLOC rather than when NOT WIN32. * Source/CMakeLists.txt: * Source/cmake/OptionsWin.cmake: 2016-01-16 Jeremy Huddleston Sequoia [GTK] Use -Wl,-all_load on darwin to include contents of all static archives https://bugs.webkit.org/show_bug.cgi?id=153117 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: 2016-01-13 Carlos Garcia Campos [CMake] Do not use LLVM static libraries for FTL JIT https://bugs.webkit.org/show_bug.cgi?id=151559 Reviewed by Michael Catanzaro. Also export LLVM_LIBRARIES variable that can be used to prefer linking to the llvm dynamic libraries. * Source/cmake/FindLLVM.cmake: 2016-01-13 Michael Catanzaro [GTK] Add comments above options declarations in OptionsGTK.cmake https://bugs.webkit.org/show_bug.cgi?id=153074 Reviewed by Martin Robinson. * Source/cmake/OptionsGTK.cmake: 2016-01-12 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.11.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2016-01-12 Ryosuke Niwa Add a build flag for custom element https://bugs.webkit.org/show_bug.cgi?id=153005 Reviewed by Alex Christensen. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2016-01-08 Alex Christensen Fix internal Windows build https://bugs.webkit.org/show_bug.cgi?id=152937 Reviewed by Brent Fulgham. * Source/cmake/WebKitCommon.cmake: Try looking in the default cygwin installation directory for executables like bison, flex, gperf, and ruby. This is needed on Windows builds that are not driven by cygwin, but need to use the cygwin installations of these tools. This is the effective equivalent of this line in WebKitLibraries/win/tools/vsprops/common.props in the old build system: set PATH=%SystemDrive%\cygwin\bin;%PATH% 2016-01-06 Gyuyoung Kim [EFL] Set WebKit2 process output name https://bugs.webkit.org/show_bug.cgi?id=152773 Reviewed by Benjamin Poulain. If we add *WebKit* prefix to each WK2 process, it is more clear when checking what process is running. So this patch sets wk2 process output name. * Source/cmake/OptionsEfl.cmake: 2016-01-05 Zan Dobersek [CMake] Remove USE_UDIS86 variable https://bugs.webkit.org/show_bug.cgi?id=152731 Reviewed by Gyuyoung Kim. Remove the USE_UDIS86 variable in CMake files. The specific build guard is now enabled by default in Source/WTF/wtf/Platform.h, so the handling in CMake isn't required anymore. The Udis86-specific files have to be built unconditionally now, though. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: 2016-01-04 Alex Christensen Fix Mac CMake build after r194454. * Source/cmake/OptionsMac.cmake: _macosx, _iphoneos, and _iphonesimulator are used in FeatureDefines.xcconfig but won't be used in CMake. If we actually switch to CMake, we will need to verify that all the feature enabling is equivalent, and it isn't right now. 2015-12-31 Michael Catanzaro [GTK][CMake] Do not override default values of build options with the default value https://bugs.webkit.org/show_bug.cgi?id=152615 Reviewed by Martin Robinson. Override the default value of build options only when the default value for the GTK+ port is actually different than the default value in WebKitFeatures.cmake. This way we don't accidentally override changes to default values in WebKitFeatures.cmake. We should use the values in WebKitFeatures.cmake except when we make an active choice to do otherwise. * Source/cmake/OptionsGTK.cmake: 2015-12-31 Michael Catanzaro [CMake] Add error checking to WEBKIT_OPTION_DEFAULT_PORT_VALUE et. al. https://bugs.webkit.org/show_bug.cgi?id=144069 Reviewed by Martin Robinson. * Source/cmake/OptionsWin.cmake: Do not set options that no longer exist. * Source/cmake/WebKitFeatures.cmake: Add error checking to ensure that option names passed to WEBKIT_OPTION_DEFAULT_PORT_VALUE, WEBKIT_OPTION_CONFLICT, and WEBKIT_OPTION_DEPEND are actually valid options that have been previously-defined. Also, add ENABLE_SVG_OTF_CONVERTER build option, defaulted to off since no CMake port was using it. 2015-12-31 Michael Catanzaro [CMake] Add error checking to catch option manipulation after WEBKIT_OPTION_END https://bugs.webkit.org/show_bug.cgi?id=152611 Reviewed by Martin Robinson. If WEBKIT_OPTION_DEFINE is called after WEBKIT_OPTION_END, the option never makes its way into FEATURE_DEFINES and so will be inconsistently set (available to most of the build, but not to the DOM bindings generator, for example). If WEBKIT_OPTION_DEFAULT_PORT_VALUE, WEBKIT_OPTION_CONFLICT, or WEBKIT_OPTION_DEPEND are called after WEBKIT_OPTION_END, they don't do anything. Add error checking to catch these bugs. * Source/cmake/WebKitFeatures.cmake: 2015-12-30 Philippe Normand [GTK][Mac] Disable gtk-doc https://bugs.webkit.org/show_bug.cgi?id=150798 Reviewed by Michael Catanzaro. * Source/PlatformGTK.cmake: gtkdoc-scangobj fails due to a clang link error on Mac, so for now disable gtk-doc support on that platform. * Source/cmake/OptionsGTK.cmake: Ditto. 2015-12-23 Andy VanWagoner [INTL] Implement Intl.DateTimeFormat.prototype.resolvedOptions () https://bugs.webkit.org/show_bug.cgi?id=147603 Reviewed by Benjamin Poulain. * Source/cmake/OptionsWin.cmake: Disable INTL on Windows for now 2015-12-16 Youenn Fablet [Fetch API] Add fetch API compile time flag https://bugs.webkit.org/show_bug.cgi?id=152254 Reviewed by Darin Adler. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-12-10 Brent Fulgham [Win] Support building under Cygwin or native Perl https://bugs.webkit.org/show_bug.cgi?id=152145 Reviewed by David Kilzer. * Source/cmake/tools/scripts/auto-version.pl: Correct handling of mixed DOS filenames when used in a Cygwin context. 2015-12-09 Daniel Bates [iOS] Suspend and resume device motion and device orientation updates when page is hidden and visible, respectively https://bugs.webkit.org/show_bug.cgi?id=151840 Reviewed by Simon Fraser. Add a manual test that can be used to verify that we suspend dispatching device motion and device orientation events when the page is hidden. * ManualTests/ios/resources/suspend-orientation-and-motion-events-when-page-becomes-hidden.js: Added. (resetTest): (checkEvent): (handleVisibilityChange): * ManualTests/ios/suspend-orientation-and-motion-events-when-page-becomes-hidden.html: Added. 2015-12-07 Alex Christensen Fix internal Windows build https://bugs.webkit.org/show_bug.cgi?id=151950 Reviewed by Brent Fulgham. * Source/cmake/tools/scripts/auto-version.pl: 2015-12-01 Yusuke Suzuki [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature https://bugs.webkit.org/show_bug.cgi?id=150792 Reviewed by Saam Barati. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-12-01 Commit Queue Unreviewed, rolling out r192914. https://bugs.webkit.org/show_bug.cgi?id=151734 JSC tests for this change are failing on 32 and 64-bit bots (Requested by ryanhaddad on #webkit). Reverted changeset: "[ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature" https://bugs.webkit.org/show_bug.cgi?id=150792 http://trac.webkit.org/changeset/192914 2015-12-01 Yusuke Suzuki [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature https://bugs.webkit.org/show_bug.cgi?id=150792 Reviewed by Saam Barati. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-11-23 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.11.2 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-11-20 Alex Christensen Remove NETWORK_PROCESS compile flag https://bugs.webkit.org/show_bug.cgi?id=151512 Reviewed by Tim Horton. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-11-20 Csaba Osztrogonác [EFL] Enable FTL JIT by default on X86_64 https://bugs.webkit.org/show_bug.cgi?id=143822 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsEfl.cmake: 2015-11-19 Commit Queue Unreviewed, rolling out r192667 and r192668. https://bugs.webkit.org/show_bug.cgi?id=151476 broke api tests (Requested by alexchristensen on #webkit). Reverted changesets: "Remove the non-NetworkProcess configurations" https://bugs.webkit.org/show_bug.cgi?id=151418 http://trac.webkit.org/changeset/192667 "Fix GTK Build after r192667." http://trac.webkit.org/changeset/192668 2015-11-19 Alex Christensen Remove the non-NetworkProcess configurations https://bugs.webkit.org/show_bug.cgi?id=151418 Reviewed by Geoffrey Garen. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-11-17 Carlos Garcia Campos REGRESSION(r192459): [GTK] User agent string is broken after r192459 https://bugs.webkit.org/show_bug.cgi?id=151347 Reviewed by Žan Doberšek. Pass UA version numbers as strings to the build. * Source/cmake/OptionsGTK.cmake: 2015-11-16 Alex Christensen Fix CMake build and make PluginProcess executable https://bugs.webkit.org/show_bug.cgi?id=151332 Reviewed by Tim Horton. * Source/cmake/OptionsMac.cmake: 2015-11-16 Carlos Garcia Campos [GTK] Use FTL by default when LLVM 3.7 is available https://bugs.webkit.org/show_bug.cgi?id=142128 Reviewed by Csaba Osztrogonác. Enable FTL by default when architecture is X86_64. It requires LLVM 3.7, but can be disabled manually as a cmake configure argument. * Source/cmake/FindLLVM.cmake: In debian llvm-config is only available if the metapackage is installed and it points to llvm-config-3.5. So, here we check first if the llvm-config is from a recent enough version, and if not we check several llvm-config- programs, so this should work on any distro. * Source/cmake/OptionsGTK.cmake: Enable FTL by default when target architecture is X86_64, and check the LLVM is at least 3.7. The option is now public, since we want people to be able to disable it manually. 2015-11-11 Anders Carlsson Enable cross-platform context menus by default https://bugs.webkit.org/show_bug.cgi?id=151173 Reviewed by Tim Horton. * Source/cmake/OptionsEfl.cmake: 2015-11-12 Csaba Osztrogonác Remove ENABLE(SATURATED_LAYOUT_ARITHMETIC) guards https://bugs.webkit.org/show_bug.cgi?id=150972 Reviewed by Darin Adler. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-11-11 Philippe Normand [GTK][Mac] don't install .frameworks https://bugs.webkit.org/show_bug.cgi?id=151136 Reviewed by Alex Christensen. * Source/cmake/WebKitMacros.cmake: Don't install framework files when building the GTK port on Mac. 2015-11-10 Pranjal Jumde Fixed crash loading Mozilla layout test editor/libeditor/crashtests/431086-1.xhtml. https://bugs.webkit.org/show_bug.cgi?id=150252 Reviewed by Brent Fulgham. * Source/WebCore/editing/ios/EditorIOS.mm * Source/WebCore/editing/mac/EditorMac.mm In Editor::fontForSelection moved the node removal code, so that the node is only removed if style is not NULL. * Source/WebCore/editing/cocoa/EditorCocoa.mm In Editor::styleForSelectionStart checking if the parentNode can accept the styleElement node. * LayoutTests/editing/execCommand/150252.xhtml * LayoutTests/editing/execCommand/150252_minimal.xhtml * LayoutTests/editing/execCommand/150252-expected.txt * LayoutTests/editing/execCommand/150252_minimal-expected.txt 2015-11-09 Pranjal Jumde Fixed crash loading Mozilla layout test editor/libeditor/crashtests/431086-1.xhtml. https://bugs.webkit.org/show_bug.cgi?id=150252 Reviewed by Brent Fulgham. * Source/WebCore/editing/ios/EditorIOS.mm * Source/WebCore/editing/mac/EditorMac.mm In Editor::fontForSelection moved the node removal code, so that the node is only removed if style is not NULL. * LayoutTests/editing/execCommand/150252.xhtml * LayoutTests/editing/execCommand/150252_minimal.xhtml * LayoutTests/editing/execCommand/150252-expected.txt * LayoutTests/editing/execCommand/150252_minimal-expected.txt 2015-11-06 Daniel Bates Teach Makefile to build LayoutTestRelay when building for iOS Simulator https://bugs.webkit.org/show_bug.cgi?id=150849 Reviewed by Alexey Proskuryakov. Add support for overriding the user-provided arguments SDKROOT and ARCHS on a per Makefile basis. * Makefile.shared: 2015-11-06 Philippe Normand Unreviewed, GTK build fix after r192095. * Source/cmake/FindGTK3.cmake: 2015-11-06 Philip Chimento and Michael Catanzaro [GTK] Re-enable Quartz backend on cmake build system https://bugs.webkit.org/show_bug.cgi?id=144561 Reviewed by Philippe Normand. * Source/cmake/FindGTK3.cmake: Set GTK3_SUPPORTS_QUARTZ based on the presence of of gtk+-quartz-3.0 module. * Source/cmake/OptionsGTK.cmake: Reintroduce the ENABLE_QUARTZ_TARGET option to the CMake build, for building the GTK+ Quartz backend on OS X. 2015-11-05 Nikos Andronikos Add runtime and compile time flags for enabling Web Animations API and model. https://bugs.webkit.org/show_bug.cgi?id=150914 Reviewed by Benjamin Poulain. Add ENABLE_WEB_ANIMATIONS compile time flag, runtime flag webAnimationsEnabled and Expose WK2 preference for runtime flag. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-11-03 Brent Fulgham [Win] CMake build update. Rubberstamped by Tim Horton. * Source/PlatformWin.cmake: Add internal tool to build rules for internal use. 2015-11-03 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.11.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-11-02 Philippe Normand [Mac][GTK] Disable Ninja response file support https://bugs.webkit.org/show_bug.cgi?id=150801 Reviewed by Alex Christensen. * Source/cmake/OptionsCommon.cmake: The OSX toolchain doesn't support response files, so instruct Ninja to not generate those. 2015-11-02 Csaba Osztrogonác Fix the FTL JIT build with system LLVM on Linux https://bugs.webkit.org/show_bug.cgi?id=150795 Reviewed by Filip Pizlo. * Source/cmake/FindLLVM.cmake: 2015-11-02 Carlos Garcia Campos Unreviewed. Bump GTK+ versions numbers. * Source/cmake/OptionsGTK.cmake: 2015-11-01 Yusuke Suzuki [ES6] Support Generator Syntax https://bugs.webkit.org/show_bug.cgi?id=150769 Reviewed by Geoffrey Garen. Added ENABLE_ES6_GENERATORS flag. * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-10-30 Gyuyoung Kim [EFL] Add Shadow DOM feature https://bugs.webkit.org/show_bug.cgi?id=150611 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: Add ENABLE_SHADOW_DOM cmake variable. 2015-10-29 Alex Christensen Fix Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=150686 Reviewed by Filip Pizlo. * Source/cmake/WebKitMacros.cmake: 2015-10-28 Alex Christensen Compile and link with CMake on Mac https://bugs.webkit.org/show_bug.cgi?id=150632 Reviewed by Tim Horton. * Source/cmake/OptionsMac.cmake: 2015-10-26 Dana Burkart `make analyze` should build using the debug configuration https://bugs.webkit.org/show_bug.cgi?id=150571 Reviewed by Lucas Forschler. * Makefile.shared: 2015-10-26 Philippe Normand Unreviewed, rolling out r191576. broke the http/tests/media tests Reverted changeset: "[GStreamer] Bump internal jhbuild versions to 1.6.0" https://bugs.webkit.org/show_bug.cgi?id=149594 http://trac.webkit.org/changeset/191576 2015-10-26 ChangSeok Oh [GStreamer] Bump internal jhbuild versions to 1.6.0 https://bugs.webkit.org/show_bug.cgi?id=149594 Reviewed by Philippe Normand. Bump up the minimum reqirement version of gstreamer-gl to 1.6.0. * Source/cmake/FindGStreamer.cmake: 2015-10-22 Philippe Normand [GTK][Mac] ICU-related build fixes https://bugs.webkit.org/show_bug.cgi?id=150032 Rubber-stamped by Darin Adler. * Source/cmake/FindICU.cmake: Use pkg-config to hint at icu-i18n's library location. 2015-10-20 Yoav Weiss Rename the PICTURE_SIZES flag to CURRENTSRC https://bugs.webkit.org/show_bug.cgi?id=150275 Reviewed by Dean Jackson. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-10-14 Tomas Popela [GTK][EFL] Fix build with cmake 3.4 https://bugs.webkit.org/show_bug.cgi?id=150117 Explicitely include the CheckIncludeFiles module before using the CHECK_INCLUDE_FILES command. Reviewed by Žan Doberšek. * Source/cmake/FindOpenGL.cmake: * Source/cmake/FindWebP.cmake: * Source/cmake/OptionsEfl.cmake: 2015-10-13 Dean Jackson Device motion and orientation should only be visible from the main frame's security origin https://bugs.webkit.org/show_bug.cgi?id=150072 Reviewed by Brent Fulgham. Add a manual test for cross-origin device orientation events, while we're waiting on the mock client to be supported everywhere. * ManualTests/deviceorientation-child-frame.html: Added. * ManualTests/deviceorientation-main-frame-only.html: Added. 2015-10-12 Philip Chimento [GTK] OSX linker doesn't understand --whole-archive https://bugs.webkit.org/show_bug.cgi?id=144557 Reviewed by Martin Robinson. * Source/cmake/OptionsGTK.cmake: Turn the macro ADD_WHOLE_ARCHIVE_TO_LIBRARIES into a no-op on Darwin systems, because XCode's linker doesn't have the --whole-archive option. 2015-10-12 Philip Chimento [GTK] Use --version-script only on Linux https://bugs.webkit.org/show_bug.cgi?id=144555 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Don't add --version-script option on Darwin (whose linker doesn't support it.) 2015-10-09 Gyuyoung Kim [CMake] Remove ENABLE_SUBPIXEL_LAYOUT macro https://bugs.webkit.org/show_bug.cgi?id=149947 Reviewed by Csaba Osztrogonác. ENABLE(SUBPIXEL_LAYOUT) was removed though, it is still alive in .cmake. Removed it. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-10-06 Emanuele Aina Fix ENABLE_OPENGL=OFF builds https://bugs.webkit.org/show_bug.cgi?id=146511 Reviewed by Darin Adler. * Source/cmake/OptionsGTK.cmake: Make ENABLE_WAYLAND_TARGET depend on ENABLE_OPENGL due to EGL usage. 2015-10-01 Wenson Hsieh Convert focused-input-should-assist-on-touch.html into an automated test https://bugs.webkit.org/show_bug.cgi?id=149724 Reviewed by Simon Fraser. Remove a manual test that can now be rewritten as an automated test. * ManualTests/ios/focused-input-should-assist-on-touch.html: Removed. 2015-10-01 Brent Fulgham [Win] Unreviewed CMake build fix. * Source/cmake/OptionsWin.cmake: Clean up options setttings, and make sure exception handling is turned off. 2015-09-30 Brent Fulgham [Win] Unreviewed build fix after CMake conversion. * Source/cmake/OptionsWin.cmake: Correct some Windows build flags. 2015-09-29 Michael Catanzaro [GTK][CMake] Warning about CMP0058 https://bugs.webkit.org/show_bug.cgi?id=149627 Reviewed by Martin Robinson. Opt-in to the new behavior for CMP0058. * CMakeLists.txt: 2015-09-28 Brent Fulgham [Win] Unreviewed build fix for internal systems. * Source/cmake/OptionsWin.cmake: Preferentially use the build target location for include and link libraries, rather than the system locations. 2015-09-28 Alex Christensen Build WK1 with CMake on Mac https://bugs.webkit.org/show_bug.cgi?id=149604 Reviewed by Chris Dumez. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitMacros.cmake: ObjC bindings now have their own list of IDL files, but some of them still don't generate a .mm file. 2015-09-25 Alex Christensen Clean up CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=149573 Reviewed by Chris Dumez. * Source/cmake/OptionsMac.cmake: 2015-09-25 Alex Christensen [Win] Switch to CMake https://bugs.webkit.org/show_bug.cgi?id=148111 Reviewed by Brent Fulgham. * Source/cmake/WinTools.make: Added. * Source/cmake/tools: Added. * Source/cmake/tools/scripts: Copied from WebKitLibraries/win/tools/scripts. * Source/cmake/tools/scripts/auto-version.pl: Copied from WebKitLibraries/win/tools/scripts/auto-version.pl. 2015-09-25 Alex Christensen Prepare internal AppleWin build for CMake https://bugs.webkit.org/show_bug.cgi?id=149570 Reviewed by Brent Fulgham. * Source/PlatformWin.cmake: Include internal CMake files if they exist. 2015-09-22 Gyuyoung Kim Add a file of pointer-lock to cmake ports https://bugs.webkit.org/show_bug.cgi?id=149453 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: Add a ENABLE_POINTER_LOCK. 2015-09-22 Carlos Alberto Lopez Perez [CMake] Allow to enable OpenMP support. https://bugs.webkit.org/show_bug.cgi?id=149457 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsCommon.cmake: Add the option USE_OPENMP that will enable the support for OpenMP. Currently this is only used as an alternative implementation to native threads for the parallelization of the SVG filters. But name the option with a generic name (USE_OPENMP) as it could be also used to enable future features that depend on OpenMP. 2015-09-22 Ryuan Choi [EFL] Build break when DEVELOPER_MODE is OFF https://bugs.webkit.org/show_bug.cgi?id=149448 Reviewed by Gyuyoung Kim. Since r187191, DatabaseProcessMainUnix is missing in symbol filter. * Source/cmake/eflsymbols.filter: 2015-09-21 Alex Christensen Disable PICTURE_SIZES in Windows CMake build like r189745. https://bugs.webkit.org/show_bug.cgi?id=149125 * Source/cmake/OptionsWin.cmake: Do the same thing as r189745. 2015-09-20 Youenn Fablet Removing XHR_TIMEOUT guard Remove XHR_TIMEOUT compilation guard https://bugs.webkit.org/show_bug.cgi?id=149260 Reviewed by Benjamin Poulain. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-09-18 Alex Christensen Fix tests on Windows after switching to CMake. https://bugs.webkit.org/show_bug.cgi?id=149339 Reviewed by Brent Fulgham. * Source/PlatformWin.cmake: Added to copy WebInspectorUI. 2015-09-17 Alex Christensen Fix Windows EWS build after r189934. * Source/cmake/OptionsWin.cmake: Use WEBKIT_LIBRARIES environment variable if it exists. We have the WebKitLibraries directory separate from the repository copy on the EWS bots. 2015-09-15 Ryosuke Niwa Add ShadowRoot interface and Element.prototype.attachShadow https://bugs.webkit.org/show_bug.cgi?id=149187 Reviewed by Antti Koivisto. * Source/cmake/OptionsGTK.cmake: 2015-09-15 Csaba Osztrogonác [cmake] Enable debug fission only if it is supported https://bugs.webkit.org/show_bug.cgi?id=149161 Reviewed by Martin Robinson. * Source/cmake/OptionsCommon.cmake: 2015-09-14 Alex Christensen Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. 2015-09-08 Daniel Bates Convert manual test added in http://trac.webkit.org/changeset/70321 to an automated test https://bugs.webkit.org/show_bug.cgi?id=74729 Reviewed by Jon Honeycutt. * ManualTests/compositing/resources/composited-subframe.html: Removed. * ManualTests/compositing/show-composited-iframe-on-back-button.html: Removed. 2015-09-06 Andy Estes WebKit.xcworkspace should be be able to build iOS platforms https://bugs.webkit.org/show_bug.cgi?id=148881 Reviewed by Daniel Bates. Since we don't want to create platform-specific schemes, all projects in the workspace's schemes need to build for all supported platforms. * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Removed the DumpRenderTree target since its All target was already included. Removed the WebKitTestRunner target and replaced it with its All target. 2015-09-04 Jon Honeycutt [iOS] Need a test for bug #145539: Uploading an animated GIF from the photo library uploads a JPEG https://bugs.webkit.org/show_bug.cgi?id=148849 Reviewed by Daniel Bates. * ManualTests/ios/image-file-uploads-as-original-type.html: Added. On the Mac, file upload tests use EventSender::beginDragWithFiles. This functionality doesn't exist on iOS, so we'll add a manual test. This tests that the first few bytes of the selected file are "GIF". 2015-09-04 Carlos Alberto Lopez Perez Follow-up patch for r189343. https://bugs.webkit.org/show_bug.cgi?id=148795 Rubber-stamped by Csaba Osztrogonác. * Source/cmake/WebKitCommon.cmake: Relax the Ruby version requirement to 1.9, since this seems to be enough to fix the build failure. And 2.0 may cause problems for developers using some distributions like Ubuntu. 2015-09-04 Emanuele Aina [CMake] Trigger the memory-reduction tricks on armhf too https://bugs.webkit.org/show_bug.cgi?id=146640 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsCommon.cmake: Activate --no-keep-memory even on armhf to reduce the amount of memory needed during linking, to avoid out-of-memory failures as much as possible. 2015-09-04 Carlos Alberto Lopez Perez REGRESSION(r189293): JavaScriptCore/offlineasm/x86.rb -- Build failure with ruby < 2.0 https://bugs.webkit.org/show_bug.cgi?id=148795 Rubber-stamped by Carlos Garcia Campos. * Source/cmake/WebKitCommon.cmake: Require now at least Ruby 2.0 2015-09-02 Alex Christensen Make bison grammar compatible with bison 2.1 https://bugs.webkit.org/show_bug.cgi?id=148731 Reviewed by Tim Horton. * Source/cmake/WebKitCommon.cmake: Support bison 2.1. 2015-08-31 Carlos Alberto Lopez Perez [CMake] Build with Debug Fission on by default on Debug builds. https://bugs.webkit.org/show_bug.cgi?id=148639 Reviewed by Martin Robinson. * Source/cmake/OptionsCommon.cmake: 2015-08-29 Alex Christensen Unreviewed build fix after r179923. * Source/CMakeLists.txt: bmalloc isn't ported to Windows yet. 2015-08-27 Alex Christensen Isolate Source directories in CMake build https://bugs.webkit.org/show_bug.cgi?id=148389 Reviewed by Brent Fulgham. * CMakeLists.txt: * Source/cmake/WebKitCommon.cmake: Move package finding to WebKitCommon. 2015-08-26 Per Arne Vollan [Win] Build does not generate debug info. https://bugs.webkit.org/show_bug.cgi?id=148431 Reviewed by Alex Christensen. Generate debug info for Windows builds. * Source/cmake/OptionsWin.cmake: 2015-08-26 Michael Catanzaro [GTK] Disable ACCELERATED_2D_CANVAS by default https://bugs.webkit.org/show_bug.cgi?id=148473 Reviewed by Martin Robinson. Currently ACCELERATED_2D_CANVAS is enabled by default on most systems (which have CairoGL) but not on Debian (which does not). We've known this was problematic for a while, since it means we have two different sets of distro-dependent bugs, but never decided whether that outweighed the benefits of CarioGL or not. I'm making the call now: it's more important to have the same bugs everywhere. We can turn this on again for other distros when we're ready to turn it on for Debian. Also, properly fail the build if ENABLE_ACCELERATED_2D_CANVAS is enabled but CairoGL is not available. * Source/cmake/OptionsGTK.cmake: 2015-08-25 Commit Queue Unreviewed, rolling out r188919. https://bugs.webkit.org/show_bug.cgi?id=148452 broke build (Requested by alexchristensen on #webkit). Reverted changeset: "[Win] Build does not generate debug info." https://bugs.webkit.org/show_bug.cgi?id=148431 http://trac.webkit.org/changeset/188919 2015-08-25 Michael Catanzaro [GTK] r186800 broke the build on Ubuntu 14.04 https://bugs.webkit.org/show_bug.cgi?id=147559 Reviewed by Martin Robinson. * Source/cmake/FindGTK3.cmake: Always define GTK3_SUPPORTS_X11 and GTK3_SUPPORTS_WAYLAND. * Source/cmake/OptionsGTK.cmake: Autodetect support for X11 and Wayland backends. 2015-08-25 Per Arne Vollan [Win] Build does not generate debug info. https://bugs.webkit.org/show_bug.cgi?id=148431 Reviewed by Brent Fulgham. Generate debug info for Windows builds. * Source/cmake/OptionsWin.cmake: 2015-08-20 Gustavo Noronha Silva [GTK] Auto-detection of cairo-gl fails https://bugs.webkit.org/show_bug.cgi?id=148189 Reviewed by Žan Doberšek. * Source/cmake/FindCairoGL.cmake: only check for components if the main package has been found. Otherwise, if either GLX or EGL are available, cairo-gl will also be deemed available, which might not be the case. * Source/cmake/OptionsGTK.cmake: fix the usage of the CAIROGL_FOUND variable. 2015-08-19 Alex Christensen CMake Windows build should not include files directly from other Source directories https://bugs.webkit.org/show_bug.cgi?id=148198 Reviewed by Brent Fulgham. * Source/cmake/WebKitMacros.cmake: 2015-08-19 Alex Christensen Build TestWTF on Mac with CMake. https://bugs.webkit.org/show_bug.cgi?id=147972 Reviewed by Tim Horton. * Source/cmake/OptionsMac.cmake: Enable API tests in Mac's CMake build. 2015-08-18 Alex Christensen [CMake] REGRESSION(r188540): WebKitTestRunner is not longer built and all the tests (layout and perf) fail. https://bugs.webkit.org/show_bug.cgi?id=148127 Reviewed by Martin Robinson. * CMakeLists.txt: TOOLS_DIR hasn't been set yet since its defining has been moved to WebKitFS. 2015-08-17 Alex Christensen [Win CMake] Allow WebKitLibraries directory to be set from the command line https://bugs.webkit.org/show_bug.cgi?id=148112 Reviewed by Brent Fulgham. * Source/cmake/OptionsWin.cmake: Don't use an environment variable for WEBKIT_LIBRARIES_DIR. Instead, use the default location if nothing is passed in from the command line. This way we can set it from the command line for the AppleInternal build. Also, set the output directories to be consistent between the old and new build systems (and ninja). 2015-08-17 Alex Christensen Build Debug Suffix on Windows with CMake https://bugs.webkit.org/show_bug.cgi?id=148083 Reviewed by Brent Fulgham. * Source/cmake/OptionsWin.cmake: Use debug libraries in debug suffix builds. 2015-08-17 Alex Christensen Move some commands from ./CMakeLists.txt to Source/cmake https://bugs.webkit.org/show_bug.cgi?id=148003 Reviewed by Brent Fulgham. * CMakeLists.txt: Moved functionality to WebKitCommon.cmake and WebKitFS.cmake and made conditional so we can change directory structure from command line parameters. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsWin.cmake: Copied from Source/cmake/OptionsWindows.cmake. * Source/cmake/OptionsWinCairo.cmake: * Source/cmake/OptionsWindows.cmake: Removed. * Source/cmake/WebKitCommon.cmake: Added. * Source/cmake/WebKitFS.cmake: 2015-08-13 Commit Queue Unreviewed, rolling out r188428. https://bugs.webkit.org/show_bug.cgi?id=148015 broke cmake build (Requested by alexchristensen on #webkit). Reverted changeset: "Move some commands from ./CMakeLists.txt to Source/cmake" https://bugs.webkit.org/show_bug.cgi?id=148003 http://trac.webkit.org/changeset/188428 2015-08-13 Alex Christensen Move some commands from ./CMakeLists.txt to Source/cmake https://bugs.webkit.org/show_bug.cgi?id=148003 Reviewed by Brent Fulgham. * CMakeLists.txt: Moved functionality to WebKitCommon.cmake and WebKitFS.cmake and made conditional so we can change directory structure from command line parameters. * Source/cmake/WebKitCommon.cmake: Added. * Source/cmake/WebKitFS.cmake: 2015-08-13 Wenson Hsieh A focused node should not be assisted when handling touch events synchronously https://bugs.webkit.org/show_bug.cgi?id=147836 Reviewed by Enrica Casucci. Added manual tests for keyboard assistance behavior due to receiving touch events on iOS. * ManualTests/ios/focused-input-should-assist-on-touch.html: Checks that a currently focused input can still be assisted due to a touch event. * ManualTests/ios/keyboard-should-not-show-on-touch-event.html: Checks that handling a touch event does not automatically cause us to assist the currently focused node. 2015-08-12 Alex Christensen Fix Debug CMake builds on Windows https://bugs.webkit.org/show_bug.cgi?id=147940 Reviewed by Chris Dumez. * Source/cmake/OptionsWindows.cmake: Put 32-bit binaries in a bin32 subdirectory and 64-bit binaries in a bin64 subdirectory. 2015-08-10 Alex Christensen Build TestWebKitAPI with CMake on Windows https://bugs.webkit.org/show_bug.cgi?id=147851 Reviewed by Chris Dumez. * Source/cmake/OptionsWindows.cmake: Enable api tests and set USE_SYSTEM_MALLOC to avoid warnings when redefining it. 2015-08-06 Alex Christensen [Win] CMake build fix after r188098. * Source/cmake/OptionsWinCairo.cmake: OptionsWindows.cmake uses WTF_PLATFORM_WIN_CAIRO now, so we need to set it before including OptionsWindows. 2015-08-04 Alex Christensen Fix quirks with CMake and VS2015 https://bugs.webkit.org/show_bug.cgi?id=147663 Reviewed by Brent Fulgham. * Source/cmake/OptionsWindows.cmake: Hide some warnings. Using the same variable names in nested scopes is ok for now. Disable INTL for now. 2015-08-04 Alex Christensen Enable WebGL on Windows CMake build. https://bugs.webkit.org/show_bug.cgi?id=143311 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsWindows.cmake: Enable WebGL by default in CMake builds now that it works. 2015-08-04 Mario Sanchez Prada [GTK] Accelerated 2D Canvas enabled when cairo-gl is not available https://bugs.webkit.org/show_bug.cgi?id=147625 Reviewed by Martin Robinson. Do not set the CAIRO__* CMake variables for cairo-gl components unless they were actually found, not to accidentally enable Accelerated 2D canvas, which would cause the build to fail. * Source/cmake/FindCairoGL.cmake: Set this variables only when pkg_check_modules() had actually found the relevant component. 2015-08-03 Csaba Osztrogonác [CMake] Add an option to build AllInOne files https://bugs.webkit.org/show_bug.cgi?id=102647 Reviewed by Alex Christensen. * Source/cmake/OptionsEfl.cmake: Disabled by default. * Source/cmake/OptionsGTK.cmake: Disabled by default. * Source/cmake/OptionsWindows.cmake: Enabled by default. * Source/cmake/WebKitFeatures.cmake: * Source/cmake/WebKitMacros.cmake: 2015-08-03 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.9.5 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-07-31 Alex Christensen Prepare for debug CMake builds on Windows. https://bugs.webkit.org/show_bug.cgi?id=147484 Reviewed by Tim Horton. * Source/cmake/OptionsWindows.cmake: Don't use debug runtimes in debug builds because the dependencies are only built with multithreaded runtimes. 2015-07-30 Joonghun Park [EFL] Enable IndexedDB based on DatabaseProcess https://bugs.webkit.org/show_bug.cgi?id=147221 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: 2015-07-30 Alex Christensen Build AppleWin port with CMake https://bugs.webkit.org/show_bug.cgi?id=147385 Reviewed by Martin Robinson. * Source/cmake/OptionsWindows.cmake: Use the static multithreaded runtime. Based on http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F 2015-07-29 Andy VanWagoner Implement basic types for ECMAScript Internationalization API https://bugs.webkit.org/show_bug.cgi?id=146926 Reviewed by Benjamin Poulain. Enable flag now that the basic objects are in place. * Source/cmake/WebKitFeatures.cmake: enable INTL 2015-07-29 Basile Clement Remove native call inlining https://bugs.webkit.org/show_bug.cgi?id=147417 Rubber-stamped by Filip Pizlo. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-07-28 Yusuke Suzuki [ES6] Add ENABLE_ES6_MODULES compile time flag with the default value "false" https://bugs.webkit.org/show_bug.cgi?id=147350 Reviewed by Sam Weinig. * Source/cmake/WebKitFeatures.cmake: 2015-07-27 Alex Christensen Use Ninja on Windows. https://bugs.webkit.org/show_bug.cgi?id=147228 Reviewed by Martin Robinson. * Source/cmake/OptionsWindows.cmake: Only use /MP when using generated Visual Studio solution files to build. It makes compiling parallel in MSVC, but Ninja doesn't like it. 2015-07-27 Alex Christensen Progress towards building AppleWin with CMake https://bugs.webkit.org/show_bug.cgi?id=147325 Reviewed by Martin Robinson. * Source/cmake/OptionsWindows.cmake: Link with 64-bit libraries if building 64-bit binaries. Don't run regular expressions on empty strings when using Ninja. Removed DebugSuffix Visual Studio environment variables. 2015-07-23 Alex Christensen Remove compile and runtime flags for promises. https://bugs.webkit.org/show_bug.cgi?id=147244 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWindows.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-07-22 Sukolsak Sakshuwong Add ENABLE_WEBASSEMBLY feature flag for WebAssembly https://bugs.webkit.org/show_bug.cgi?id=147212 Reviewed by Filip Pizlo. * Source/cmake/WebKitFeatures.cmake: 2015-07-22 Alex Christensen Fix quirks in CMake build on Mac and Windows https://bugs.webkit.org/show_bug.cgi?id=147174 Reviewed by Gyuyoung Kim. * CMakeLists.txt: * Source/cmake/OptionsWindows.cmake: Added options I removed in r187022. They are indeed needed. * Source/cmake/WebKitFS.cmake: Make the DerivedSources/WebKit directory. 2015-07-21 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.9.4 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-07-20 Alex Christensen Resurrect CMake build on Windows. https://bugs.webkit.org/show_bug.cgi?id=147083 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsWindows.cmake: Change features to get it to compile. Still not a complete feature set. 2015-07-19 Michael Catanzaro [GTK] Add seccomp filters support https://bugs.webkit.org/show_bug.cgi?id=110014 Reviewed by Žan Doberšek. Find needed compiler and linker flags for libseccomp. * Source/cmake/OptionsGTK.cmake: 2015-07-17 Ting-Wei Lan Bring back the GNU ar check to create thin archives on non-Linux systems https://bugs.webkit.org/show_bug.cgi?id=146681 Reviewed by Martin Robinson. We already use GNU ar thin archive feature to save time and disk space on creating static archives, but it is only enabled on Linux. Without this feature, the debug build of WebCore can be larger than 4 GiB, which can cause error because GNU ar format uses 32-bit integer to store offsets in the symbol table. This patch is similar to https://bugs.webkit.org/show_bug.cgi?id=128596. * Source/cmake/OptionsCommon.cmake: 2015-07-14 Carlos Alberto Lopez Perez [GTK] [Wayland] Build by default the X11 and Wayland targets. https://bugs.webkit.org/show_bug.cgi?id=146057 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: 2015-07-10 Michael Catanzaro [GTK] ar warning when linking static libraries https://bugs.webkit.org/show_bug.cgi?id=144988 Reviewed by Carlos Garcia Campos. Do not use 'u' when calling ar. This argument conflicts with 'D' and is ignored if 'D' is used, and 'D' is used by default if binutils is built with --enable-deterministic-archives. Using 'u' with 'D' causes a warning to be printed when linking static libraries. At least Fedora and Debian have recently both chosen to use --enable-deterministic-archives, so we should either stop using 'u' or else add 'U' as well in order to disable deterministic archives. Using 'U' should result in a somewhat faster build (at least when using the Makefile generator), but it's unlikely that the difference is significant, so let's simply remove 'u' until someone determines otherwise. This seems like a better option than adding 'U' so as not to foil distributions' attempts to perform deterministic builds. This also aligns us with the behavior of upstream CMake (which has never used 'u'). This is a minor behavior change on distributions that do not use --enable-deterministic-archives, notably Arch and openSUSE. * Source/cmake/OptionsCommon.cmake: 2015-07-03 Emanuele Aina [GTK] Forcefully disable gtk-doc and gobject-introspection when crossbuilding https://bugs.webkit.org/show_bug.cgi?id=146590 Reviewed by Martin Robinson. * Source/PlatformGTK.cmake: override the cached variables to forcefully disable gtk-doc and gobject-introspection when crosscompiling. * Source/cmake/OptionsGTK.cmake: avoid running gtk-doc to check the documentation syntax when cross-building. 2015-07-02 Przemek Piorkowski [EFL] test_ewk2_application_cache_manager has been failed since r185527 https://bugs.webkit.org/show_bug.cgi?id=146016 Reviewed by Gyuyoung Kim. In order to handle properly WebApplicationCacheManagerProxy implementation which use WebsiteDataRecord it is necessary to enable PUBLIC_SUFFIX_LIST for EFL. Implementation of PUBLIC_SUFFIX_LIST already exists for soup so EFL can use it as well. * Source/cmake/OptionsEfl.cmake: set ENABLE_PUBLIC_SUFFIX_LIST to ON for EFL. 2015-06-30 Andy VanWagoner Implement ECMAScript Internationalization API https://bugs.webkit.org/show_bug.cgi?id=90906 Reviewed by Benjamin Poulain. Begin implementing the Intl apis behind ENABLE_INTL flag. Create the base Intl namespace object. * Source/cmake/WebKitFeatures.cmake: add ENABLE_INTL flag 2015-06-30 Philippe Normand [CMake] Error when gst-plugins-base is missing is too confusing https://bugs.webkit.org/show_bug.cgi?id=145682 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Error out if the required GStreamer libraries are not found on the host. 2015-06-28 Philip Chimento CairoGL should be checked unconditionally https://bugs.webkit.org/show_bug.cgi?id=146390 Reviewed by Darin Adler. * Source/cmake/OptionsGTK.cmake: Move check for CairoGL so that it is run unconditionally; this is necessary because its result is used later on, outside of any conditions. 2015-06-27 Carlos Garcia Campos [GTK][SOUP] Implement WebCore::PublicSuffix for soup and enable PUBLIC_SUFFIX_LIST for GTK+ https://bugs.webkit.org/show_bug.cgi?id=146318 Reviewed by Sergio Villar Senin. Enable PUBLIC_SUFFIX_LIST for GTK+. * Source/cmake/OptionsGTK.cmake: 2015-06-22 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.9.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-06-22 Ryuan Choi [EFL] Hyphenation is not supported https://bugs.webkit.org/show_bug.cgi?id=89830 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Added an option for LibHyphen. 2015-06-22 Zan Dobersek [CMake] Add support for building with various sanitizer tools https://bugs.webkit.org/show_bug.cgi?id=131941 Reviewed by Martin Robinson. * Source/PlatformGTK.cmake: Don't generate any documentation when compiling with sanitizers enabled. * Source/cmake/OptionsCommon.cmake: Allow linking with undefined symbols when compiling with sanitizers enabled. 2015-06-21 Philip Chimento libwebkit2gtk fails to link without opengl https://bugs.webkit.org/show_bug.cgi?id=138332 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: USE(TEXTURE_MAPPER) must be enabled regardless of whether OpenGL is, because certain symbols such as WebCore::GraphicsLayer::create() need to be built. 2015-06-20 Michael Catanzaro [EFL][GTK] Define GLIB_VERSION_MIN_REQUIRED and require glib 2.36 for GTK https://bugs.webkit.org/show_bug.cgi?id=146181 Reviewed by Martin Robinson. Bump our GLib requirement to 2.36 to reflect reality, since we are using GTask. * Source/cmake/OptionsGTK.cmake: 2015-06-20 Ryuan Choi [EFL] Do not consider test directories when DEVELOPER_MODE is OFF https://bugs.webkit.org/show_bug.cgi?id=146171 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Exposed ENABLE_DEVELOPER_MODE to Compiler and CMake definition when DEVELOPER_MODE is ON. 2015-06-19 Michael Catanzaro [CMake] FindGTK3.cmake should not modify the values of build options https://bugs.webkit.org/show_bug.cgi?id=144613 Reviewed by Martin Robinson. * Source/cmake/FindGTK3.cmake: Do not check or set the value of ENABLE_X11_TARGET and ENABLE_WAYLAND_TARGET. Instead, simply define the variables GTK3_SUPPORTS_X11 and GTK3_SUPPORTS_WAYLAND as appropriate. Also, rename GTK_SUPPORTS_GESTURES to GTK3_SUPPORTS_GESTURES for consistency. * Source/cmake/OptionsGTK.cmake: Fail the build if the appropriate GTK+ backend is not available. It's not possible to automatically select a backend correctly anymore, since all options are set at the same time. 2015-06-19 Csaba Osztrogonác Remove unnecessary svn:executable flags https://bugs.webkit.org/show_bug.cgi?id=146107 Reviewed by Alexey Proskuryakov. * ManualTests/iframe_notifications/iframe-reparenting-close-window-child.html: Removed property svn:executable. * ManualTests/iframe_notifications/iframe-reparenting-close-window-iframe.html: Removed property svn:executable. * ManualTests/iframe_notifications/iframe-reparenting-close-window.html: Removed property svn:executable. * ManualTests/select-menu-list-wrongly-positioned.html: Removed property svn:executable. * ManualTests/svg-text-float-not-removed-crash.html: Removed property svn:executable. 2015-06-18 Ryuan Choi [EFL] Use SET_AND_EXPOSE_TO_BUILD instead of definitions https://bugs.webkit.org/show_bug.cgi?id=146108 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: 2015-06-16 Ryuan Choi [EFL] Remove duplicated PUBLIC argument in OptionsEfl.cmake https://bugs.webkit.org/show_bug.cgi?id=146035 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: 2015-06-16 Carlos Alberto Lopez Perez [GTK] [Wayland] Should be possible to build with support for both X11 and Wayland. https://bugs.webkit.org/show_bug.cgi?id=145701 Reviewed by Darin Adler. * Source/cmake/OptionsGTK.cmake: Remove conflicting options. 2015-06-15 Jon Honeycutt [iOS] Crash long pressing on https://bugs.webkit.org/show_bug.cgi?id=146009 Reviewed by Ryosuke Niwa. * ManualTests/ios/long-press-input-type-file-crash.html: Added. 2015-06-16 Brent Fulgham Rollout accidental Xcode project change. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: 2015-06-12 Gyuyoung Kim [EFL] Bump EWebKit version from 1.11.0 to 1.14.0 https://bugs.webkit.org/show_bug.cgi?id=145909 Reviewed by Csaba Osztrogonác. Bump EWebKit version based on efl library version used by the EWebKit. * Source/cmake/OptionsEfl.cmake: 2015-06-11 Commit Queue Unreviewed, rolling out r185453. https://bugs.webkit.org/show_bug.cgi?id=145881 it broke the 32-bit build (Requested by clopez on #webkit). Reverted changeset: "[GTK] [Wayland] Should be possible to build with support for both X11 and Wayland." https://bugs.webkit.org/show_bug.cgi?id=145701 http://trac.webkit.org/changeset/185453 2015-06-11 Carlos Alberto Lopez Perez [GTK] [Wayland] Should be possible to build with support for both X11 and Wayland. https://bugs.webkit.org/show_bug.cgi?id=145701 Reviewed by Žan Doberšek. * Source/cmake/OptionsGTK.cmake: Remove conflicting options. 2015-06-03 Daniel Bates Caps lock indicator should not be shown in read-only or disabled field https://bugs.webkit.org/show_bug.cgi?id=145612 Reviewed by Darin Adler. * ManualTests/password-caps-lock-should-not-show-in-read-only-field.html: Added. * ManualTests/password-caps-lock-should-not-show-when-field-becomes-disabled.html: Added. * ManualTests/password-caps-lock-should-not-show-when-field-becomes-read-only.html: Added. 2015-06-01 Csaba Osztrogonác [cmake] Suppress parentheses-equality warnings https://bugs.webkit.org/show_bug.cgi?id=145126 Reviewed by Darin Adler. * Source/cmake/WebKitHelpers.cmake: 2015-05-28 Carlos Alberto Lopez Perez [CMake] Improve detection and usage of GL/GLES/EGL libraries. https://bugs.webkit.org/show_bug.cgi?id=145408 Reviewed by Carlos Garcia Campos. * Source/cmake/FindEGL.cmake: Improve detection of EGL libraries. * Source/cmake/FindGLES.cmake: Removed. It was used by the EGL port. Remove it and make the EGL port use the improved FindOpenGLES2.cmake instead. * Source/cmake/FindOpenGL.cmake: Added. Add module to detect OpenGL libraries. Detect also GLX libraries. * Source/cmake/FindOpenGLES2.cmake: Improve detection of OpenGLES-v2 libraries. Use find_path() to get the include path. * Source/cmake/OptionsEfl.cmake: Use now the improved FindOpenGLES2 module. * Source/cmake/OptionsGTK.cmake: Set default value for ENABLE_GLES2 depending on the libraries found on the system. Move the detection of GLX (and the include of CMakePushCheckState) to FindOpenGL.cmake. Ensure that we only define USE_GLX when we build with OpenGL (but not with GLESv2). 2015-05-27 Dean Jackson img.currentSrc problem in strict mode with old picturefill https://bugs.webkit.org/show_bug.cgi?id=144095 Reviewed by Simon Fraser. Add a PICTURE_SIZES flag. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWindows.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-05-27 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.9.2 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-05-25 Carlos Garcia Campos Unreviewed. Export DatabaseProcessMainUnix symbol. Add DatabaseProcessMainUnix symbol to gtksymbols.filter so that it is exported in production builds. * Source/cmake/gtksymbols.filter: 2015-05-25 Carlos Garcia Campos [GTK] Enable IndexedDB https://bugs.webkit.org/show_bug.cgi?id=98932 Reviewed by Žan Doberšek. * Source/cmake/OptionsGTK.cmake: Enable DATABASE_PROCESS and INDEXED_DATABASE. * Source/cmake/WebKitFeatures.cmake: Add ENABLE_DATABASE_PROCESS. 2015-05-24 Carlos Garcia Campos [GTK] Bump GCC requirements to 4.9.0 https://bugs.webkit.org/show_bug.cgi?id=145211 Reviewed by Žan Doberšek. It's required to build with IndexedDB support when using GCC, clang works just fine. See https://bugs.webkit.org/show_bug.cgi?id=98932. * Source/cmake/OptionsGTK.cmake: 2015-05-18 Michael Catanzaro [CMake] Ignore warnings in system headers https://bugs.webkit.org/show_bug.cgi?id=144747 Reviewed by Darin Adler. Require CMake 2.8.12 when compiling the GTK+ port. This is because we use the target_include_directories command (added in 2.8.11) in GTK-specific cmake files, and also use the SYSTEM argument to the command (added in 2.8.12). * CMakeLists.txt: 2015-05-14 Michael Catanzaro [CMake] Error out when ruby is too old https://bugs.webkit.org/show_bug.cgi?id=145014 Reviewed by Martin Robinson. Error out immediately after checking for Ruby if the ruby executable is not found, or if it is too old. * CMakeLists.txt: 2015-05-14 Zan Dobersek [GTK] Enable plugin-related CMake options and variables for the X11 target only https://bugs.webkit.org/show_bug.cgi?id=144995 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Plugins are only supported for the X11 windowing target at the moment, so the following options and variables should be enabled or disabled accordingly: - ENABLE_PLUGIN_PROCESS_GTK2 - ENABLE_NETSCAPE_PLUGIN_API - ENABLE_PLUGIN_PROCESS 2015-05-12 Ryuan Choi Linker fails without -DDEVELOPER_MODE=ON https://bugs.webkit.org/show_bug.cgi?id=144117 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Remove fvisibility flags. linker script will cover the functionality for ewebkit2.so in release mode, * Source/cmake/eflsymbols.filter: Updated symbol patterns which should be exposed for ewebkit2. 2015-05-10 Philip Chimento CMake defines CAIROGL_FOUND, not CAIRO_GL_FOUND https://bugs.webkit.org/show_bug.cgi?id=144846 Reviewed by Martin Robinson. * Source/cmake/FindCairoGL.cmake: Use CAIROGL_* instead of CAIRO_GL_* throughout, because find_package will define CAIROGL_FOUND. * Source/cmake/OptionsGTK.cmake: Ditto. 2015-05-10 Philip Chimento [CMake] Some macros need to be defined/undefined, rather than ON/OFF https://bugs.webkit.org/show_bug.cgi?id=144845 Reviewed by Martin Robinson. * Source/cmake/OptionsGTK.cmake: Only define MOZ_X11 and XP_UNIX if their corresponding WTF options are ON. The code in npapi.h relies on these being undefined if they are to be switched off. 2015-05-09 Yoav Weiss Remove the PICTURE_SIZES build flag https://bugs.webkit.org/show_bug.cgi?id=144679 Reviewed by Benjamin Poulain. Removed the PICTURE_SIZES build time flag. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWindows.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-05-08 Michael Catanzaro [GTK] [CMake] Check for required X libraries https://bugs.webkit.org/show_bug.cgi?id=144823 Reviewed by Martin Robinson. Error out if missing libXcomposite, libXdamage, libXrender, or libXt. * Source/cmake/OptionsGTK.cmake: 015-05-08 Michael Catanzaro , Martin Robinson [GTK] Checks for DEVELOPMENT_BUILD are all wrong https://bugs.webkit.org/show_bug.cgi?id=144746 Reviewed by Carlos Garcia Campos. Don't set DEVELOPMENT_BUILD. We check whether it is defined for conditional compilation, not what it is defined to, so defining it to 0 effectively turned it on always. Instead set ENABLE_DEVELOPER_MODE so that we can use the ENABLE macro inside WebKit source code. * Source/cmake/OptionsGTK.cmake: 2015-05-08 Daniel Bates [iOS] WebSQL operations are not performed after device is locked https://bugs.webkit.org/show_bug.cgi?id=137503 Rubber-stamped by Alexey Proskuryakov. Add a manual test to help verify that we do not regress this issue. * ManualTests/ios/execute-sql-transaction-callback-after-locking-unlocking-device-in-earlier-transaction.html: Added. 2015-05-08 Commit Queue Unreviewed, rolling out r183945. https://bugs.webkit.org/show_bug.cgi?id=144789 "It broke all the GTK+ tests" (Requested by KaL on #webkit). Reverted changeset: "[GTK] Checks for DEVELOPMENT_BUILD are all wrong" https://bugs.webkit.org/show_bug.cgi?id=144746 http://trac.webkit.org/changeset/183945 2015-05-07 Myles C. Maxfield Cleanup after r183940 https://bugs.webkit.org/show_bug.cgi?id=144768 Unreviewed. Looks like the empty directories were not deleted. * Source/PAL: Removed. * Source/PAL/Configurations: Removed. * Source/PAL/PAL.xcodeproj: Removed. * Source/PAL/graphics: Removed. 2015-05-07 Michael Catanzaro [GTK] Checks for DEVELOPMENT_BUILD are all wrong https://bugs.webkit.org/show_bug.cgi?id=144746 Reviewed by Martin Robinson. Don't set DEVELOPMENT_BUILD. We check whether it is defined for conditional compilation, not what it is defined to, so defining it to 0 effectively turned it on always. * Source/cmake/OptionsGTK.cmake: 2015-05-05 Myles C. Maxfield Revert "Introducing the Platform Abstraction Layer (PAL)" https://bugs.webkit.org/show_bug.cgi?id=144751 Unreviewed. PAL should be a new target inside WebCore, rather than a top-level folder. * WebKit.xcworkspace/contents.xcworkspacedata: Add it to the workspace. 2015-05-07 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.9.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-05-05 Myles C. Maxfield Introducing the Platform Abstraction Layer (PAL) https://bugs.webkit.org/show_bug.cgi?id=143358 Reviewed by Simon Fraser. * WebKit.xcworkspace/contents.xcworkspacedata: Add it to the workspace. 2015-05-04 Csaba Osztrogonác [cmake] Disable GNU Gold linker on Cortex A53 https://bugs.webkit.org/show_bug.cgi?id=144382 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsCommon.cmake: 2015-05-01 Martin Robinson USE(...) macro should expect unprefixed variables https://bugs.webkit.org/show_bug.cgi?id=144454 Reviewed by Daniel Bates. * Source/cmake/OptionsAppleWin.cmake: Replace all occurrences WTF_USE with USE. * Source/cmake/OptionsEfl.cmake: Ditto. * Source/cmake/OptionsGTK.cmake: Ditto. * Source/cmake/OptionsMac.cmake: Ditto. * Source/cmake/OptionsWinCairo.cmake: Ditto. * Source/cmake/WebKitFeatures.cmake: No longer expose WTF_USE when encountering USE variables. 2015-04-30 Martin Robinson [CMake] Automatically expose WTF_USE_FOO to the build when USE_FOO is exposed https://bugs.webkit.org/show_bug.cgi?id=144394 Reviewed by Carlos Garcia Campos. Automatically expose WTF_USE_FOO when USE_FOO is exposed. A side-effect of this change is that it fixes the redirected XComposite window for GTK+, which was accidentally disabled in previous reworking of the CMake configuration. * Source/cmake/OptionsGTK.cmake: We no longer need to expose the WTF_ prefixed version of USE variables. * Source/cmake/WebKitFeatures.cmake: Automatically expose WTF_USE_FOO when USE_FOO is exposed to the build. 2015-04-30 Carlos Garcia Campos Unreviewed. Bump GTK+ version numbers. * Source/cmake/OptionsGTK.cmake: 2015-04-29 Ryuan Choi [EFL] CMake should be failed if openwebrtc package does not exist but ENABLE_MEDIA_STREAM is ON https://bugs.webkit.org/show_bug.cgi?id=144435 Reviewed by Gyuyoung Kim. This patch adds REQUIRED option for OpenWebRTC when ENABLE_MEDIA_STREAM is ON. In addition, this adds DEFAULT_PORT_VALUE for ENABLE_MEDIA_STREAM to match with FeatureList.pm * Source/cmake/OptionsEfl.cmake: 2015-04-29 Joseph Pecoraro REGRESSION(183583): [Mac] make without SDKROOT has issues https://bugs.webkit.org/show_bug.cgi?id=144431 Reviewed by Dan Bernstein. * Source/Makefile: Assume an empty SDKROOT means an macosx variant, so only enable settings if the SDKROOT is not empty and does not contain "macosx". 2015-04-29 Martin Robinson Fix the GTK+ build after r183584 * Source/cmake/OptionsGTK.cmake: Properly use the USE_LIBHYPHEN and HYPHEN_FOUND variables. 2015-04-29 Martin Robinson [GTK] Add support for automatic hyphenation https://bugs.webkit.org/show_bug.cgi?id=44478 Reviewed by Carlos Garcia Campos. * Source/cmake/FindHyphen.cmake: Added. A CMake module for finding libhyphen. * Source/cmake/OptionsGTK.cmake: Look for libhyphen and enable hyphenation if found. * Source/cmakeconfig.h.cmake: Pass through the whether libhyphen is enabled. 2015-04-29 Jake Nielsen Failure when building WebKit for appletvsimulator. https://bugs.webkit.org/show_bug.cgi?id=144356 Reviewed by Alexey Proskuryakov. Changes Makefile logic to check for "not OS X" rather than "is iOS" to make TVOS and WatchOS behave correctly. * Source/Makefile: 2015-04-29 Martin Robinson [CMake] [GTK] Organize and clean up unused CMake variables https://bugs.webkit.org/show_bug.cgi?id=144364 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsGTK.cmake: Remove unused variables and move variables specific to certain projects into their PlatformGTK.cmake files. 2015-04-29 Ryuan Choi [EFL] Build failure to find gio-unix https://bugs.webkit.org/show_bug.cgi?id=144083 Reviewed by Gyuyoung Kim. Original patch by Doug Newgard * Source/cmake/OptionsEfl.cmake: Moved geoclue block before find_package(GLIB...) 2015-04-28 Ryuan Choi [CoordinatedGraphics] Merge TILED_BACKING_STORE guard with COORDINATED_GRAPHICS https://bugs.webkit.org/show_bug.cgi?id=143001 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Removed TILED_BACKING_STORE definition. * Source/cmake/OptionsGTK.cmake: Ditto. 2015-04-28 Michael Catanzaro Unreviewed, fix typo in previous commit libsecretr -> libsecret in the error message. * Source/cmake/OptionsGTK.cmake: 2015-04-28 Michael Catanzaro [GTK] Clean up feature detection and make it hard to accidentally build without optional features https://bugs.webkit.org/show_bug.cgi?id=143546 Reviewed by Martin Robinson. Add USE_GSTREAMER_MPEGTS option and turn it off by default. Turn off ENABLE_SUBTLE_CRYPTO by default. Turn on ENABLE_GEOLOCATION by default. Add USE_LIBNOTIFY and turn it on by default. Fail the build with an informative error message if an optional dependency required for an enabled feature is not present. Perform find_package commands only when necessary. Make ENABLE_API_TESTS private. Alphabetize the feature checks (yes, this is actually possible now!). * Source/cmake/OptionsGTK.cmake: 2015-04-28 Michael Catanzaro [GTK] Make all options actually options https://bugs.webkit.org/show_bug.cgi?id=144106 Reviewed by Martin Robinson. Use WEBKIT_OPTION_DEFINE to set ENABLE_GTKDOC, ENABLE_INTROSPECTION, ENABLE_X11_TARGET, and ENABLE_WAYLAND_TARGET. * Source/cmake/OptionsGTK.cmake: 2015-04-28 Michael Catanzaro Unreviewed, fix GTK build after r183452 * Source/cmake/OptionsGTK.cmake: 2015-04-27 Michael Catanzaro [GTK] Add one single option to control all OpenGL-related options https://bugs.webkit.org/show_bug.cgi?id=144105 Reviewed by Martin Robinson. Add public ENABLE_OPENGL option, which is mandatory for ENABLE_3D_TRANSFORMS, ENABLE_ACCELERATED_2D_CANVAS, ENABLE_GLES2, ENABLE_THREADED_COMPOSITOR, ENABLE_WEBGL, USE_REDIRECTED_XCOMPOSITE_WINDOW, and USE_GSTREAMER_GL. Make ENABLE_GLES2 a proper WebKit option and move code around accordingly. Use WEBKIT_OPTION_DEPEND and rely on it. Add a large comment to explain why default value of ENABLE_ACCELERATED_2D_CANVAS is based on the presence of CairoGL. * Source/cmake/OptionsGTK.cmake: 2015-04-27 Michael Catanzaro [GTK] ENABLE_SMOOTH_SCROLLING should be private https://bugs.webkit.org/show_bug.cgi?id=144306 Reviewed by Martin Robinson. Make ENABLE_SMOOTH_SCROLLING private instead of public. * Source/cmake/OptionsGTK.cmake: 2015-04-27 Michael Catanzaro Rename WTF_USE_3D_GRAPHICS to ENABLE_GRAPHICS_CONTEXT_3D https://bugs.webkit.org/show_bug.cgi?id=144193 Reviewed by Darin Adler. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWinCairo.cmake: * Source/cmake/WebKitFeatures.cmake: 2015-04-27 Michael Catanzaro [CMake] Should be possible for an option to conflict with other options https://bugs.webkit.org/show_bug.cgi?id=143956 Reviewed by Martin Robinson. Add WEBKIT_OPTION_CONFLICT macro, which fails the build if conflicting options are on. * Source/cmake/WebKitFeatures.cmake: 2015-04-22 Martin Robinson [CMake] Autogenerate cmakeconfig.h.cmake https://bugs.webkit.org/show_bug.cgi?id=143997 Reviewed by Csaba Osztrogonác. * CMakeLists.txt: Create the configuration header as the last part of the cmake run. * Source/CMakeLists.txt: No longer use configure_file to create cmakeconfig.h. * Source/cmake/OptionsCommon.cmake: Expose WTF_CPU_ARM64_CORTEXA53 to the build explicitly. * Source/cmake/OptionsGTK.cmake: Expose variables to the build using SET_AND_EXPOSE_TO_BUILD. Do some other miscellaneous related cleanup. * Source/cmake/OptionsEFL.cmake: Expose HAVE_LLVM to the build. * Source/cmake/WebKitFeatures.cmake: Expose all WebKit features to the build. Add support for build exposed variables. Add a macro to generate a configuration from them. * Source/cmakeconfig.h.cmake: Removed. 2015-04-24 Philippe Normand [JHBuild] Move to upstream OpenWebRTC https://bugs.webkit.org/show_bug.cgi?id=144145 Reviewed by Carlos Garcia Campos. * Source/cmake/FindOpenWebRTC.cmake: Check the presence of the owr-gst library. 2015-04-26 Yusuke Suzuki [ES6] Implement ES6 template literals https://bugs.webkit.org/show_bug.cgi?id=142691 Reviewed by Darin Adler. Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2015-04-25 Martin Robinson Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS https://bugs.webkit.org/show_bug.cgi?id=144182 Reviewed by Simon Fraser. * Source/cmake/OptionsEfl.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmake/OptionsGTK.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmake/OptionsMac.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmake/WebKitFeatures.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmakeconfig.h.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. 2015-04-23 Michael Catanzaro [GTK] Add more public options https://bugs.webkit.org/show_bug.cgi?id=144116 Reviewed by Martin Robinson. Add ENABLE_ICONDATABASE, ENABLE_JIT, and USE_SYSTEM_MALLOC as public options. * Source/cmake/OptionsGTK.cmake: 2015-04-23 Michael Catanzaro [CMake] Some internal variables are not marked as advanced https://bugs.webkit.org/show_bug.cgi?id=143595 Reviewed by Martin Robinson. * Source/cmake/FindFreetype2.cmake: Mark internal options as advanced. * Source/cmake/FindHarfBuzz.cmake: Mark HARFBUZZ_ICU_LIBRARIES as advanced. 2015-04-23 Michael Catanzaro [GTK] Mark as advanced the build options we don't want to expose https://bugs.webkit.org/show_bug.cgi?id=143558 Reviewed by Martin Robinson. Mark various options as private instead of public. * Source/cmake/OptionsGTK.cmake: 2015-04-23 Michael Catanzaro [CMake] Should be possible for an option to depend on multiple options https://bugs.webkit.org/show_bug.cgi?id=143839 Reviewed by Martin Robinson. Use a list instead of a single variable to track the dependencies of each option. Iterate over the list as many times as necessary to ensure all options are properly disabled. * Source/cmake/WebKitFeatures.cmake: 2015-04-23 Michael Catanzaro [CMake] ENABLE_THREADED_COMPOSITOR should not be at the bottom of the options list https://bugs.webkit.org/show_bug.cgi?id=144103 Reviewed by Martin Robinson. Just move ENABLE_THREADED_COMPOSITOR so it's alphabetized properly. * Source/cmake/WebKitFeatures.cmake: 2015-04-23 Michael Catanzaro [GTK] Fixups for ENABLE_CREDENTIAL_STORAGE https://bugs.webkit.org/show_bug.cgi?id=144102 Reviewed by Martin Robinson. Use WEBKIT_OPTION_DEFAULT_PORT_VALUE to set ENABLE_CREDENTIAL_STORAGE instead of doing so manually. Fail the build if libsecret is not found but ENABLE_CREDENTIAL_STORAGE is set. Also, do not set ENABLE_CREDENTIAL_STORAGE redundantly. * Source/cmake/OptionsGTK.cmake: 2015-04-22 Michael Catanzaro [CMake] Clean up JSC JIT options https://bugs.webkit.org/show_bug.cgi?id=143998 Reviewed by Filip Pizlo. * Source/cmake/OptionsEfl.cmake: Remove handling of ENABLE_LLINT_C_LOOP and preprocessor define for ENABLE_FTL_NATIVE_CALL_INLINING. * Source/cmake/OptionsMac.cmake: Remove override of ENABLE_LLINT_C_LOOP * Source/cmake/WebKitFeatures.cmake: Remove ENABLE_LLINT_C_LOOP. Add ENABLE_DFG_JIT and ENABLE_FTL_NATIVE_CALL_INLINING. Specify proper dependencies for these features. * Source/cmakeconfig.h.cmake: Remove ENABLE_LLINT_C_LOOP and add ENABLE_DFG_JIT. 2015-04-22 Michael Catanzaro [CMake] Use lowercase for local variables in macros https://bugs.webkit.org/show_bug.cgi?id=144059 Reviewed by Martin Robinson. Convert some variable names to lowercase. * Source/cmake/WebKitFeatures.cmake: 2015-04-22 Commit Queue Unreviewed, rolling out r183116. https://bugs.webkit.org/show_bug.cgi?id=144060 Inadvertently deleted a file... (Requested by mcatanzaro on #webkit). Reverted changeset: "[CMake] Use lowercase for local variables in macros" https://bugs.webkit.org/show_bug.cgi?id=144059 http://trac.webkit.org/changeset/183116 2015-04-22 Michael Catanzaro [CMake] Use lowercase for local variables in macros https://bugs.webkit.org/show_bug.cgi?id=144059 Reviewed by Martin Robinson. Convert some variable names to lowercase. * Source/cmake/WebKitFeatures.cmake: 2015-04-22 Michael Catanzaro [CMake] Features list should print dots every other row https://bugs.webkit.org/show_bug.cgi?id=143832 Reviewed by Martin Robinson. Discount private options when determining whether to print dots on a given row of the features list. Also, simplify the logic by using only one for loop, and fix a couple errors (inverted use of SHOULD_PRINT_DOTS, one use of the renamed variable SHOULD_PRINT_POINTS that wasn't noticed because it only affects the first line, and use of the variable name as a string in a conditional.) * Source/cmake/WebKitFeatures.cmake: 2015-04-22 Michael Catanzaro [CMake] Require specifying visibility of WebKit options https://bugs.webkit.org/show_bug.cgi?id=143831 Reviewed by Alex Christensen. * Source/cmake/OptionsEfl.cmake: Specify all options as PUBLIC * Source/cmake/OptionsGTK.cmake: Specify all options as PUBLIC * Source/cmake/OptionsMac.cmake: Specify all options as PRIVATE * Source/cmake/OptionsWindows.cmake: Specify all options as PUBLIC * Source/cmake/WebKitFeatures.cmake: Require specifying options as PUBLIC or PRIVATE. Remove WEBKIT_OPTION_DEFINE_PUBLIC and WEBKIT_OPTION_PRIVATE_PORT_VALUE. Specify all cross-platform options as PRIVATE. 2015-04-19 Gyuyoung Kim [CMake] Synchronize variables between WebKitFeatures.cmake and cmakedonfig.h.cmake https://bugs.webkit.org/show_bug.cgi?id=143935 Reviewed by Darin Adler. Some variables aren't defined in these files or unused variables aren't removed. This patch cleans up it as well as fix wrong alphabet order. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2015-04-19 Simon Fraser Restore the WebKit.xcworkspace to the way it was before r182899, which inadvertently added the Source directory and a couple of source files. * WebKit.xcworkspace/contents.xcworkspacedata: 2015-04-16 Basile Clement Extract the allocation profile from JSFunction into a rare object https://bugs.webkit.org/show_bug.cgi?id=143807 Reviewed by Filip Pizlo. * WebKit.xcworkspace/contents.xcworkspacedata: 2015-04-16 Csaba Osztrogonác [EFL] Bump LLVM to version 3.6.0 on X86_64 https://bugs.webkit.org/show_bug.cgi?id=143604 Reviewed by Gyuyoung Kim. * Source/cmake/FindLLVM.cmake: Added version handling. * Source/cmake/OptionsEfl.cmake: Require LLVM 3.6.0 on X86_64 and patched LLVM 3.5.0 on AArch64. 2015-04-15 Timothy Horton Custom CSS cursors do not use -webkit-image-set on retina displays https://bugs.webkit.org/show_bug.cgi?id=120783 Reviewed by Beth Dakin. Patch by Evan Wallace . Add a manual test for custom CSS cursors on retina displays. * ManualTests/retina-cursors.html: Added. 2015-04-15 Alex Christensen Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=143785 Reviewed by Csaba Osztrogonác. * CMakeLists.txt: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFS.cmake: 2015-04-10 Jon Honeycutt Cannot click "Next" button on Google two-factor auth setup page Reviewed by Darin Adler. * ManualTests/button-that-focuses-itself-on-click.html: Added. 2015-04-13 Michael Catanzaro [cmake] REGRESSION(182663): It broke feature dependency handling https://bugs.webkit.org/show_bug.cgi?id=143665 Reviewed by Csaba Osztrogonác. Don't try to check the value of options before defining the options. * Source/cmake/WebKitFeatures.cmake: 2015-04-13 Csaba Osztrogonác [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system https://bugs.webkit.org/show_bug.cgi?id=143664 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2015-04-12 Gyuyoung Kim [EFL] Enable Media Source https://bugs.webkit.org/show_bug.cgi?id=143635 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: Add ENABLE_MEDIA_SOURCE switch. 2015-04-11 Michael Catanzaro [CMake] Miscellaneous issues in WebKitFeatures.cmake https://bugs.webkit.org/show_bug.cgi?id=143636 Reviewed by Martin Robinson. Rename _WEBKIT_AVAILABLE_OPTIONS_INITIALVALUE_ variables to _WEBKIT_AVAILABLE_OPTIONS_INITIAL_VALUE_ Rename _WEBKIT_AVAILABLE_OPTIONS_ISPUBLIC_ variables to _WEBKIT_AVAILABLE_OPTIONS_IS_PUBLIC_ Rename _SHOULD_PRINT_POINTS to _SHOULD_PRINT_DOTS Update USE_SYSTEM_MALLOC description to not mention TCmalloc Fix ENABLE_TOUCH_SLIDER so that it can be used Add a comment * Source/cmake/WebKitFeatures.cmake: 2015-04-11 Michael Catanzaro [CMake] Print sorted feature list at the very end of the configure process https://bugs.webkit.org/show_bug.cgi?id=143596 Reviewed by Martin Robinson. * CMakeLists.txt: Call PRINT_WEBKIT_OPTIONS at the bottom of the file. * Source/cmake/WebKitFeatures.cmake: Split option printing into PRINT_WEBKIT_OPTIONS macro, and sort the options before printing. Reorder some code so that features still get propagated to the bindings generators. 2015-04-11 Michael Catanzaro [CMake] Options should be marked as advanced by default https://bugs.webkit.org/show_bug.cgi?id=143572 Reviewed by Gyuyoung Kim. Options defined with WEBKIT_OPTION_DEFINE are now advanced so that they are hidden from users by default, unless WEBKIT_OPTION_DEFAULT_PORT_VALUE is used. Add new macros WEBKIT_OPTION_DEFINE_PUBLIC to define an option that's not hidden by default, to be used for adding port-specific options, and WEBKIT_OPTION_PRIVATE_PORT_VALUE to override an option without making it public. * Source/cmake/WebKitFeatures.cmake: 2015-04-10 Gyuyoung Kim [CMake] Remove unnecessary ENABLE_WEBCORE switch https://bugs.webkit.org/show_bug.cgi?id=143584 Reviewed by Csaba Osztrogonác. WebCore should be built for all ports. So ENABLE_WEBCORE switch looks be redundant. Remove it. * CMakeLists.txt: * Source/CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFS.cmake: 2015-04-08 Filip Pizlo Unreviewed, revert accidental commit. * Makefile.shared: 2015-04-08 Alex Christensen and Patrick Gansterer Add CMake build system for WinCairo port. https://bugs.webkit.org/show_bug.cgi?id=115944 Reviewed by Chris Dumez. * Source/cmake/OptionsWindows.cmake: * Source/cmake/WebKitMacros.cmake: Make ADD_PRECOMPILED_HEADER more like http://stackoverflow.com/questions/148570/using-pre-compiled-headers-with-cmake 2015-04-06 Alberto Garcia [GTK] Fix HPPA build https://bugs.webkit.org/show_bug.cgi?id=143453 Reviewed by Darin Adler. Add HPPA to the list of supported CPUs. * CMakeLists.txt: 2015-04-03 Csaba Osztrogonác Unreviewed, kick the GTK bots to fix an incremental build issue. * Source/cmake/OptionsGTK.cmake: 2015-04-03 Zan Dobersek Fix the EFL and GTK build after r182243 https://bugs.webkit.org/show_bug.cgi?id=143361 Reviewed by Csaba Osztrogonác. * Source/PlatformEfl.cmake: Add a custom command that copies the InspectorBackendCommands.js file into the proper directory under DerivedSources/WebInspectorUI/. 2015-04-01 Alex Christensen Progress towards CMake on Windows and Mac. https://bugs.webkit.org/show_bug.cgi?id=143293 Reviewed by Filip Pizlo. * CMakeLists.txt: Set DERIVED_SOURCES_WTF_DIR for Windows. * Source/CMakeLists.txt: Don't compile bmalloc on Windows. * Source/cmake/OptionsCommon.cmake: Use the absolute path of the C preprocessor. * Source/cmake/OptionsWinCairo.cmake: Added needed definitions. * Source/cmake/OptionsWindows.cmake: Set some default values and removed support for old Visual Studio versions before /MP. * Source/cmake/WebKitFS.cmake: Make WTF DerivedSources directory. * Source/cmake/WebKitMacros.cmake: Added ADD_PRECOMPILED_HEADER macro based on http://stackoverflow.com/questions/148570/using-pre-compiled-headers-with-cmake 2015-04-01 Gwang Yoon Hwang Use colored diagnostics when building with cmake + ninja + clang https://bugs.webkit.org/show_bug.cgi?id=143297 Reviewed by Žan Doberšek. Because that ninja sets subprocess stdout/stderr to a pipe, clang disables colored output. This patch forces clang to use colored diagnostics when we are using the ninja. * Source/cmake/OptionsCommon.cmake: 2015-03-29 Gyuyoung Kim [CMake] Update old CMakeList.txt in gtest https://bugs.webkit.org/show_bug.cgi?id=143192 Reviewed by Darin Adler. CMake ports have used cmake/gtest/CMakeLists.txt instead of ThirdParty/test/CMakeLists.txt in order to build gtest. However it looks ThirdParty/test/CMakeLists.txt won't be used anymore. So this patch moves cmake/gtest/CMakeLists.txt to ThirdPart/test/CMakeLists.txt, and use it. * Source/CMakeLists.txt: * Source/cmake/gtest/CMakeLists.txt: Removed. 2015-03-27 Gyuyoung Kim [CMake] Remove unnecessary INCLUDE_IF_EXISTS macro https://bugs.webkit.org/show_bug.cgi?id=143138 Reviewed by Csaba Osztrogonác. INCLUDE_IF_EXISTS isn't used except for 2 places. However those uses can be replaced with WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS. * Source/cmake/OptionsWindows.cmake: Set "PORT" instead of "PORT_FALLBACK" because there is no benefit to define PORT_FALLBACK. * Source/cmake/WebKitMacros.cmake: 2015-03-27 Víctor Manuel Jáquez Leal [GStreamer] share GL context in pipeline, part 2 https://bugs.webkit.org/show_bug.cgi?id=143049 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: USE_GSTREAMER_GL is set only if OpenGL/ES2 is found and GLX/EGL is found too. 2015-03-26 Alex Christensen Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=143112 Reviewed by Chris Dumez. * Source/cmake/OptionsMac.cmake: 2015-03-24 Csaba Osztrogonác [EFL] Add OpenWebRTC in jhbuild https://bugs.webkit.org/show_bug.cgi?id=142778 Reviewed by Gyuyoung Kim. Original patch by Philippe Normand * Source/cmake/OptionsEfl.cmake: Look for OpenWebRTC library if mediastream build is enabled. 2015-03-23 Carlos Garcia Campos [GTK] Add a configure option to build without Redirected XComposite Window https://bugs.webkit.org/show_bug.cgi?id=142865 Reviewed by Žan Doberšek. The Redirected XComposite Window was added to support some features like GtkOverlay, but in cases where we don't need such features, it's more efficient to use the XID of the WebKitWebView window as the native surface handle for the accelerated compositing. This patch adds USE_REDIRECTED_XCOMPOSITE_WINDOW, that is enabled by default for X11 target when OpenGL is enabled. * Source/cmake/OptionsGTK.cmake: 2015-03-20 Zan Dobersek [GTK] Search for the Wayland dependency when enabling Wayland target https://bugs.webkit.org/show_bug.cgi?id=142876 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: The Wayland dependency isn't a public requirement of either the GTK+ or GDK pkg-config files, so we have to search for it ourselves when WebKitGTK+ has been configured to support the Wayland windowing target. 2015-03-20 Csaba Osztrogonác Unreviewed, kick the GTK bots to regenerate makefile. https://bugs.webkit.org/show_bug.cgi?id=137394 * Source/cmake/OptionsEfl.cmake: Revert my last accidenatal change. * Source/cmake/OptionsGTK.cmake: Really kick the GTK bots. 2015-03-20 Csaba Osztrogonác Unreviewed, kick the GTK bots to regenerate makefile. https://bugs.webkit.org/show_bug.cgi?id=137394 * Source/cmake/OptionsEfl.cmake: 2015-03-19 Csaba Osztrogonác [GTK] Fix inspector userinterface related incremental build issue https://bugs.webkit.org/show_bug.cgi?id=142849 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Revert r181733. 2015-03-18 Csaba Osztrogonác Unreviewed, kick the GTK bots to regenerate makefile. * Source/cmake/OptionsGTK.cmake: 2015-03-17 Ryuan Choi [EFL] Expose JavaScript binding interface through ewk_extension https://bugs.webkit.org/show_bug.cgi?id=142033 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Added HEADER_INSTALL_DIR variable. 2015-03-17 Philippe Normand [GTK] basic OpenWebRTC build support https://bugs.webkit.org/show_bug.cgi?id=142393 Reviewed by Carlos Garcia Campos. * Source/cmake/FindOpenWebRTC.cmake: Added. * Source/cmake/OptionsGTK.cmake: Look for OpenWebRTC library if mediastream build is enabled. 2015-03-17 Gyuyoung Kim [CMake][EFL] Build test tools only for developer mode https://bugs.webkit.org/show_bug.cgi?id=142761 Reviewed by Csaba Osztrogonác. Do not build EFL MiniBrowser, WebKitTestRunner, and ImageDiff on production mode. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: Move ENABLE_MINIBROWSER to common place. * Source/cmake/WebKitFeatures.cmake: Define ENABLE_MINIBROWSER variable. * Source/cmakeconfig.h.cmake: 2015-03-16 Ryosuke Niwa Enable ES6 classes by default https://bugs.webkit.org/show_bug.cgi?id=142774 Reviewed by Gavin Barraclough. * Source/cmake/WebKitFeatures.cmake: 2015-03-16 Gyuyoung Kim [CMake][EFL] Rearrange OptionEFL.cmake to improve readability https://bugs.webkit.org/show_bug.cgi?id=142722 Reviewed by Csaba Osztrogonác. Categorize to define cmake variables, to find necessary packages, use upper case for "glib_conponents" cmake variable name, re-arrange wrong alphabet sorting, and so on. * CMakeLists.txt: Remove WinCE port. * Source/cmake/OptionsEfl.cmake: 2015-03-14 Víctor Manuel Jáquez Leal [GStreamer] share GL context in pipeline https://bugs.webkit.org/show_bug.cgi?id=142693 Reviewed by Philippe Normand. Add search of gstreamer-gl library in the GStreamer installation. If it is found, WTF_USE_GSTREAMER_GL macro is defined. * Source/cmake/FindGStreamer.cmake: * Source/cmake/OptionsGTK.cmake: 2015-03-13 Alex Christensen Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=142680 Reviewed by Gyuyoung Kim. * CMakeLists.txt: * Source/PlatformMac.cmake: Added stub. * Source/cmake/OptionsMac.cmake: Change defines to get CMake working. 2015-03-11 Carlos Garcia Campos [GTK] Add an option to enable MiniBrowser for non developer builds and always install it https://bugs.webkit.org/show_bug.cgi?id=126688 Reviewed by Gustavo Noronha Silva. Add ENABLE_MINIBROWSER option, enabled by default for development builds and disabled for production builds unless explicilty enabled. * Source/cmake/OptionsGTK.cmake: 2015-03-11 Carlos Garcia Campos [GTK] Do not look for child processes in the UI process binary path https://bugs.webkit.org/show_bug.cgi?id=135752 Reviewed by Gustavo Noronha Silva. * Source/cmake/OptionsGTK.cmake: Add -DDEVELOPMENT_BUILD=1 to the build for development builds. 2015-03-10 Carlos Garcia Campos and José Dapena Paz [GTK] Add a configure option to build with OpenGL ES 2 https://bugs.webkit.org/show_bug.cgi?id=142498 Reviewed by Martin Robinson. Add ENABLE_GLES2 option. It's disabled by default, but if passed GLES2 is required and OpenGL is not even searched. Otherwise we search for OpenGL as usual, using it only if present. * Source/cmake/OptionsGTK.cmake: 2015-03-10 Csaba Osztrogonác [cmake] Handle unused parameter warnings as build errors except in WebKit2 https://bugs.webkit.org/show_bug.cgi?id=142338 Reviewed by Gyuyoung Kim. * Source/cmake/WebKitHelpers.cmake: 2015-03-03 Daniel Bates Convert ManualTests/svg-tooltip.svg to a DRT test https://bugs.webkit.org/show_bug.cgi?id=140480 Reviewed by Alex Christensen. * ManualTests/svg-tooltip.svg: Removed. 2015-03-02 Debarshi Ray REGRESSION(r179409): [GTK] Undefined symbol prevents web extensions from being loaded https://bugs.webkit.org/show_bug.cgi?id=142165 Reviewed by Carlos Garcia Campos. * Source/cmake/gtksymbols.filter: 2015-02-26 Csaba Osztrogonác [EFL] Remove unnecessary comment after r179110 https://bugs.webkit.org/show_bug.cgi?id=142042 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: 2015-02-23 Tomas Popela [GTK] Fails to compile with cmake 3.2.x https://bugs.webkit.org/show_bug.cgi?id=141796 With cmake 3.2.x we have to explicitly ask for X11 otherwise the X11_X11_LIB variable won't be set thus the X11 linker flags won't be added and the build will fail. Reviewed by Martin Robinson. * Source/cmake/OptionsGTK.cmake: 2015-02-20 Alexey Proskuryakov Remove svn:keywords property. As far as I can tell, the property had no effect on any of these files, but also, when it has effect it's likely harmful. * ManualTests/animation-with-transition.html: Removed property svn:keywords. * ManualTests/blur-filter-timing.html: Removed property svn:keywords. * ManualTests/compositing/caret-in-compositing-frame.html: Removed property svn:keywords. * ManualTests/compositing/font-smoothing.html: Removed property svn:keywords. * ManualTests/compositing/missing-iframe-contents.html: Removed property svn:keywords. * ManualTests/compositing/requires-backing-change.html: Removed property svn:keywords. * ManualTests/compositing/resources/composited-subframe.html: Removed property svn:keywords. * ManualTests/compositing/resources/editable-compositing-subframe.html: Removed property svn:keywords. * ManualTests/frames/nested-iframe-blit-on-scroll.html: Removed property svn:keywords. * ManualTests/frames/resources/blit-on-scroll-subframe.html: Removed property svn:keywords. * ManualTests/frames/resources/blit-on-scroll-subsubframe.html: Removed property svn:keywords. * ManualTests/plugins/plugin-paint-causes-layout.html: Removed property svn:keywords. * ManualTests/screen-availLeft.html: Removed property svn:keywords. * ManualTests/transition-accelerated.html: Removed property svn:keywords. 2015-02-17 Gyuyoung Kim [CMAKE] Remove CMakeLists.txt in WK1 port https://bugs.webkit.org/show_bug.cgi?id=141617 Reviewed by Anders Carlsson. Nobody uses CMake in WK1 port. Remove it. * CMakeLists.txt: 2015-02-13 Csaba Osztrogonác Unreviewed, remove empty directories. * ManualTests/qt: Removed. 2015-02-11 Carlos Alberto Lopez Perez [CMake] Don't set flag fuse-ld on the C/C++ compiler flags, but on the linker flags. https://bugs.webkit.org/show_bug.cgi?id=141481 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsCommon.cmake: Move -fuse-ld=gold to the linker flags. 2015-02-11 Gyuyoung Kim [EFL][GTK] Use bmalloc instead of tcmalloc https://bugs.webkit.org/show_bug.cgi?id=140162 Reviewed by Carlos Garcia Campos. Add bmalloc directory to build list. * CMakeLists.txt: Define BMALLOC_DIR directory. * Source/CMakeLists.txt: Add bmalloc path to sub-directories list. 2015-02-11 Carlos Garcia Campos [GTK] Add default color chooser implementation using GtkColorChooserDialog https://bugs.webkit.org/show_bug.cgi?id=141392 Reviewed by Gustavo Noronha Silva. Enable INPUT_TYPE_COLOR by default for GTK+ port. * Source/cmake/OptionsGTK.cmake: 2015-02-09 Sergio Villar Senin ASSERTION FAILED: resolvedInitialPosition <= resolvedFinalPosition in WebCore::GridSpan::GridSpan https://bugs.webkit.org/show_bug.cgi?id=141328 Reviewed by Darin Adler. Added as manual test because it involves a huge grid allocation which is very slow on Debug bots, the only ones capable to trigger the assertion. * ManualTests/css-grid-layout-item-with-huge-span-crash.html: Added. 2015-02-05 Youenn Fablet and Xabier Rodriguez Calvar [Streams API] Implement a barebone ReadableStream interface https://bugs.webkit.org/show_bug.cgi?id=141045 Reviewed by Benjamin Poulain. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: Made streams API compilation on by default. 2015-02-02 Filip Pizlo Revert accidental change in r179490. * Makefile.shared: 2015-02-02 Filip Pizlo Unreviewed, revert accidental change to Makefile.shared in r179478 * Makefile.shared: 2015-01-28 Carlos Alberto Lopez Perez [CMake] Minimum python version should be 2.7. https://bugs.webkit.org/show_bug.cgi?id=140997 Reviewed by Csaba Osztrogonác. * CMakeLists.txt: 2015-01-26 Nikos Andronikos Apply feTurbulence spec change to fix zero length vector generation https://bugs.webkit.org/show_bug.cgi?id=140812 Reviewed by Darin Adler. Recently a bug with the turbulence algorithm was corrected in the Filter Effects specification. For some seed values this bug allowed zero length vectors to be generated. This resulted in large solid color squares being present in the generated image. The feTurbulence algorithm was updated to reject zero length vectors. This patch applies that change in WebCore. Test: svg/filters/feTurbulence_bad_seeds.html * platform/graphics/filters/FETurbulence.cpp: (WebCore::FETurbulence::initPaint): Added rejection sampling during vector generation to avoid zero length vectors. 2015-01-26 Csaba Osztrogonác [cmake] Remove compiler version calculate cruft https://bugs.webkit.org/show_bug.cgi?id=140885 Reviewed by Darin Adler. * Source/cmake/WebKitHelpers.cmake: 2015-01-26 Csaba Osztrogonác [cmake] Stop compiling with -Wno-error=uninitialized and -Wno-error=literal-suffix https://bugs.webkit.org/show_bug.cgi?id=140886 Reviewed by Žan Doberšek. * Source/cmake/WebKitHelpers.cmake: 2015-01-26 Michael Catanzaro [GTK] gtkdoc does not appear in DevHelp https://bugs.webkit.org/show_bug.cgi?id=139369 Reviewed by Philippe Normand. Expect the gtkdoc to be generated in folders named with the API version. * Source/PlatformGTK.cmake: 2015-01-26 Zan Dobersek [EFL][GTK] Stop compiling with fno-omit-frame-pointer, -fno-tree-dce https://bugs.webkit.org/show_bug.cgi?id=140609 Reviewed by Csaba Osztrogonác. The latest releases of GCC versions 4.7, 4.8 and 4.9 all compile and run JSC tests fine without the -fno-tree-dce and -fno-omit-frame-pointer compilation flags. Those were added after the jsCStack branch merge, but can now be removed since the -ftree-dce issues were fixed in GCC, and changes in r173282 and r173298 again enable compiling with -fomit-frame-pointer. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2015-01-26 Commit Queue Unreviewed, rolling out r179107. https://bugs.webkit.org/show_bug.cgi?id=140880 The GCC in the bots doesn't support the AsyncTask implementation (Requested by KaL on #webkit). Reverted changeset: "[GTK] Enable IndexedDB" https://bugs.webkit.org/show_bug.cgi?id=98932 http://trac.webkit.org/changeset/179107 2015-01-25 Carlos Garcia Campos [GTK] Enable IndexedDB https://bugs.webkit.org/show_bug.cgi?id=98932 Reviewed by Žan Doberšek. * Source/cmake/OptionsGTK.cmake: Enable DATABASE_PROCESS and INDEXED_DATABASE. * Source/cmake/WebKitFeatures.cmake: Add ENABLE_DATABASE_PROCESS. 2015-01-23 Carlos Garcia Campos [GTK] Add initial database process support https://bugs.webkit.org/show_bug.cgi?id=139491 Reviewed by Sergio Villar Senin. * Source/cmake/OptionsGTK.cmake: Set WebKit2_DatabaseProcess_OUTPUT_NAME. 2015-01-22 Ryosuke Niwa Add a build flag for ES6 class syntax https://bugs.webkit.org/show_bug.cgi?id=140760 Reviewed by Michael Saboff. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2015-01-21 Csaba Osztrogonác [EFL][WK2] EFL MiniBrowser doesn't run because shared library is not found https://bugs.webkit.org/show_bug.cgi?id=140049 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsCommon.cmake: 2015-01-21 Csaba Osztrogonác Remove ENABLE(INSPECTOR) ifdef guards https://bugs.webkit.org/show_bug.cgi?id=140668 Reviewed by Darin Adler. * Source/PlatformEfl.cmake: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2015-01-20 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.7.4 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2015-01-19 Gyuyoung Kim [CMAKE] Fix cmake warning https://bugs.webkit.org/show_bug.cgi?id=140497 Reviewed by Gustavo Noronha Silva. r173155 already tried to fix cmake warning though, the warning is still exist. CMAKE_LINK_INTERFACE_LIBRARIES seems to cause this warning. Individual target is already set for their libraries though, INTERFACE_LINK_LIBRARIES contains the list of transitive link dependencies, and CMAKE_LINK_INTERFACE_LIBRARIES can override the INTERFACE_LINK_LIBRARIES property when CMP0022 is not set. CMake warns this override. To avoid it, EFL port doesn't set CMAKE_LINK_INTERFACE_LIBRARIES. * CMakeLists.txt: 2015-01-19 Michael Catanzaro [GTK] Generate the make dist manifest from a CMake template file https://bugs.webkit.org/show_bug.cgi?id=139387 Reviewed by Martin Robinson. Generate manifest.txt from manifest.txt.in. Only expose the dist and distcheck targets for developer builds, as they won't work when building from a tarball because the manifest is not distributed. * Source/PlatformGTK.cmake: 2015-01-15 Csaba Osztrogonác Remove ENABLE(SQL_DATABASE) guards https://bugs.webkit.org/show_bug.cgi?id=140434 Reviewed by Darin Adler. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2015-01-11 Sam Weinig Remove support for SharedWorkers https://bugs.webkit.org/show_bug.cgi?id=140344 Reviewed by Anders Carlsson. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2015-01-10 Dan Bernstein [Xcode, iOS] Files are recompiled when alternating between using make and the Xcode IDE https://bugs.webkit.org/show_bug.cgi?id=140339 Reviewed by Mark Rowe. * Makefile.shared: Run xcodebuild with the same PATH with which the Xcode IDE runs. This prevents unnecessary rebuilding due to PATH differences. 2015-01-07 Gwang Yoon Hwang [GTK][ThreadedCompositor] Add support for threaded compositor. https://bugs.webkit.org/show_bug.cgi?id=118265 Reviewed by Martin Robinson. Added the ENABLE_THREADED_COMPOSITOR feature flag to the cmake and autotools build systems. The feature is disabled by default. And remove deprecated the WTF_USE_TILED_BACKING_STORE feature flag from the feature flags. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-12-23 Alexey Proskuryakov Simplify building with ASan https://bugs.webkit.org/show_bug.cgi?id=139916 Reviewed by Mark Rowe. * Makefile.shared: Invoke set-webkit-configuration to store ASan choice as appropriate. 2014-12-16 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.7.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2014-12-10 Jon Honeycutt Null dereference performing a "TapAndAHalf" gesture in Google search field Reviewed by Darin Adler. * ManualTests/ios/tap-and-a-half-gesture-in-empty-text-field.html: Added. 2014-12-10 Dean Jackson Blur filter performance test doesn't provide results https://bugs.webkit.org/show_bug.cgi?id=139462 Reviewed by Sam Weinig. This can't currently work under our performance test infrastructure. Move it to a manual test to avoid putting FAILures into the results. * ManualTests/blur-filter-timing.html: Renamed from PerformanceTests/Interactive/blur-filter-timing.html. 2014-12-09 Gustavo Noronha Silva [GTK][WK2] Add HTML5 Notifications support https://bugs.webkit.org/show_bug.cgi?id=61140 Reviewed by Carlos Garcia Campos. * Source/cmake/FindLibNotify.cmake: Added. * Source/cmake/OptionsGTK.cmake: add option to enable notifications, look for libnotify and use it for a default implementation when found. 2014-12-09 Bem Jones-Bey REGRESSION(r155906): Page content disappears on Tuaw article after loading https://bugs.webkit.org/show_bug.cgi?id=138100 Reviewed by Simon Fraser. DRT causes an extra paint which makes it impossible to test this with an automated test. * ManualTests/float-layer-not-painting.html: Added. 2014-12-07 Alberto Garcia [GTK] WebKit has a new required dependency on GnuTLS https://bugs.webkit.org/show_bug.cgi?id=136158 Reviewed by Martin Robinson. Detect if GnuTLS is installed and enable or disable subtle crypto support accordingly. * Source/cmake/OptionsGTK.cmake: 2014-12-07 Carlos Garcia Campos [GTK] Missing API detected in GObject DOM bindings after r176630 https://bugs.webkit.org/show_bug.cgi?id=139201 Reviewed by Gustavo Noronha Silva. Change GENERATE_BINDINGS macro to receive a list of optional additional dependencies, so that we can add more dependecies without having to change the macro. * Source/cmake/WebKitMacros.cmake: 2014-12-05 Simon Fraser Programmatic scrolling and content changes are not always synchronized https://bugs.webkit.org/show_bug.cgi?id=139245 rdar://problem/18833612 Reviewed by Anders Carlsson. Manual test that tries to sync layout with programmatic scrolling. * ManualTests/programmatic-scroll-flicker.html: Added. 2014-12-04 Alberto Garcia can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04 https://bugs.webkit.org/show_bug.cgi?id=136576 Reviewed by Carlos Garcia Campos. CMake should complain if Accelerated 2D Canvas is explicitly enabled but cairo-gl is not found. * Source/cmake/OptionsGTK.cmake: 2014-12-03 Eva Balazsfalvi [EFL] Add subtle crypto to the build system https://bugs.webkit.org/show_bug.cgi?id=138612 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: 2014-12-01 Gyuyoung Kim [EFL] Add a ENABLE_CSS_SCROLL_SNAP macro to CMake build system https://bugs.webkit.org/show_bug.cgi?id=139085 Reviewed by Andreas Kling. * Source/cmake/OptionsEfl.cmake: Add ENABLE_CSS_SCROLL_SNAP. * Source/cmake/WebKitFeatures.cmake: ditto. * Source/cmakeconfig.h.cmake: ditto. 2014-11-30 Ryuan Choi [EFL] Drop support for the EFL 1.7 https://bugs.webkit.org/show_bug.cgi?id=139114 Reviewed by Gyuyoung Kim. * Source/cmake/EFLHelpers.cmake: Removed. * Source/cmake/FindEcore.cmake: Removed. * Source/cmake/FindEdje.cmake: Removed. * Source/cmake/FindEet.cmake: Removed. * Source/cmake/FindEeze.cmake: Removed. * Source/cmake/FindEfreet.cmake: Removed. * Source/cmake/FindEina.cmake: Removed. * Source/cmake/FindElementary.cmake: Removed. * Source/cmake/FindEvas.cmake: Removed. * Source/cmake/OptionsEfl.cmake: 2014-11-28 Philippe Normand [CMake] Build failure against GStreamer git master https://bugs.webkit.org/show_bug.cgi?id=138872 Reviewed by Csaba Osztrogon. * Source/cmake/FindGStreamer.cmake: Simplified the FIND_GSTREAMER_COMPONENT macro. Trust pkg-config for include headers lookup, there's no need to do this manually. Also explicitely check the version specified in GStreamer_FIND_VERSION. 2014-11-27 Ryuan Choi [EFL] Remove E_Dbus dependency https://bugs.webkit.org/show_bug.cgi?id=136355 Reviewed by Gyuyoung Kim. * Source/cmake/FindE_DBus.cmake: Removed. * Source/cmake/OptionsEfl.cmake: 2014-11-24 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.7.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2014-11-20 Csaba Osztrogonác [CMake] Use ld.gold if it is available to speedup builds https://bugs.webkit.org/show_bug.cgi?id=137953 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsCommon.cmake: 2014-11-19 Akos Kiss Fix the detection of toolchain support for Cortex-A53 erratum 835769 workaround https://bugs.webkit.org/show_bug.cgi?id=138840 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsCommon.cmake: 2014-11-13 Csaba Osztrogonác Remove Source/Platform cruft https://bugs.webkit.org/show_bug.cgi?id=138658 Reviewed by Anders Carlsson. * CMakeLists.txt: * Source/Platform: Removed. 2014-11-10 Akos Kiss Enable Cortex-A53-specific code paths by default if core is detected. https://bugs.webkit.org/show_bug.cgi?id=138499 Reviewed by Csaba Osztrogonác. On ARM64/Linux, check /proc/cpuinfo for CPU part 0xd03 (signaling Cortex-A53) and set the initial value of WTF_CPU_ARM64_CORTEXA53 to true if found. Since on ARM64/Linux the part number that cpuinfo reports depends on the core the query is run on, the check is bound to and executed on the available cores one by one. * Source/cmake/OptionsCommon.cmake: 2014-11-10 Eva Balazsfalvi [EFL] Remove unnecessary version check from OptionsEfl.cmake https://bugs.webkit.org/show_bug.cgi?id=138498 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: 2014-11-07 Eva Balazsfalvi [EFL] Require at least EFL 1.9 if ENABLE(ACCESSIBILITY) after r175098 https://bugs.webkit.org/show_bug.cgi?id=138465 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: 2014-11-03 Dean Jackson Add ENABLE_FILTERS_LEVEL_2 feature guard. https://bugs.webkit.org/show_bug.cgi?id=138362 Reviewed by Tim Horton. Add a new feature define for Level 2 of CSS Filters. http://dev.w3.org/fxtf/filters-2/ * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-11-03 Akos Kiss Workaround for Cortex-A53 erratum 835769 https://bugs.webkit.org/show_bug.cgi?id=138315 Reviewed by Filip Pizlo. This patch introduces CMake variable and preprocessor macro WTF_CPU_ARM64_CORTEXA53 with the aim of enabling Cortex-A53-specific code paths, if set true. * Source/cmake/OptionsCommon.cmake: Add -mfix-cortex-a53-835769 to the compiler flags if compiler supports it. * Source/cmakeconfig.h.cmake: #cmakedefine01 for WTF_CPU_ARM64_CORTEXA53 2014-11-02 Akos Kiss [GTK] Fix the build of FTL JIT https://bugs.webkit.org/show_bug.cgi?id=138298 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Remove the need for the LIBCXXABI package. 2014-11-01 Carlos Garcia Campos REGRESSION(CMake): Make it possible to build without introspection https://bugs.webkit.org/show_bug.cgi?id=138006 Reviewed by Philippe Normand. Add ENABLE_INTROSPECTION option. * Source/PlatformGTK.cmake: Dot not add gir global target if introspection is disabled. * Source/cmake/OptionsGTK.cmake: Do not add gir individual targets if introspection is disabled. 2014-10-31 Adrian Perez de Castro [GTK] Support script message handlers WebKitUserContentManager https://bugs.webkit.org/show_bug.cgi?id=133730 Reviewed by Carlos Garcia Campos. Support user script message handlers in WebKitUserContentManager. This needs building with ENABLE_USER_MESSAGE_HANDLERS, for which an option is added to the CMake build files. The option is disabled globally by default, and the WebKitGTK port enables it. On the API level, two new methods to register and unregister names are provided in the "window.webkit" namespace, and on message reception the "WebKitUserContentManager::script-message-received" signal is emitted, using the registered names as signal detail. * Source/cmake/OptionsGTK.cmake: For the GTK port, enable the ENABLE_USER_MESSAGE_HANDLERS feature by default. * Source/cmake/WebKitFeatures.cmake: Add feature description for ENABLE_USER_MESSAGE_HANDLERS, disabled by default. 2014-10-29 Raphael Kubo da Costa [GTK] Bump libsoup's minimum version to 2.42.0. https://bugs.webkit.org/show_bug.cgi?id=138086 Reviewed by Martin Robinson. The SOUP_CHECK_VERSION macro was added in libsoup 2.41.1, and the soup-version.h header was added to soup.h in 2.41.4, which then becomes the minimum version required to build the port these days. In addition, since the autotools build system required 2.42.0 before being retired, require the same version here. Version 2.42.0 was also recommended in https://lists.webkit.org/pipermail/webkit-gtk/2013-March/001387.html. * Source/cmake/OptionsGTK.cmake: 2014-10-28 Tibor Meszaros [EFL] Remove unnecessary defines from OptionsEfl.cmake https://bugs.webkit.org/show_bug.cgi?id=138132 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: 2014-10-28 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.7.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2014-10-21 Ryuan Choi [EFL] Remove unnecessary ENABLE_3D_RENDERING definition from OptionsEfl.cmake https://bugs.webkit.org/show_bug.cgi?id=137946 Reviewed by Gyuyoung Kim. ENABLE_3D_RENDERING is already enabled as WEBKIT_OPTION_DEFAULT_PORT_VALUE since r135813. * Source/cmake/OptionsEfl.cmake: 2014-10-21 Dániel Bátyai Fix FTL Native Inlining for EFL https://bugs.webkit.org/show_bug.cgi?id=137774 Reviewed by Michael Saboff. Updated CMake for FTL Native Inlining. * CMakeLists.txt: * Source/cmake/FindClang.cmake: Added. * Source/cmake/OptionsEfl.cmake: * Source/cmakeconfig.h.cmake: 2014-10-20 Joseph Pecoraro Web Inspector: Generate all Inspector domains together in JavaScriptCore https://bugs.webkit.org/show_bug.cgi?id=137748 Reviewed by Brian Burg. * Source/PlatformEfl.cmake: 2014-10-20 Carlos Garcia Campos [GTK] Add initial gestures support https://bugs.webkit.org/show_bug.cgi?id=137812 Reviewed by Sergio Villar Senin. Check if the GTK+ version supports gestures or not. * Source/cmake/FindGTK3.cmake: * Source/cmake/OptionsGTK.cmake: 2014-10-16 Carlos Garcia Campos REGRESSION(CMake): [GTK] WebKitSettings:enable-smooth-scrolling does nothing https://bugs.webkit.org/show_bug.cgi?id=137781 Reviewed by Martin Robinson. We used to enable smooth scrolling unconditionally in autotools (via WebKitFeatures.m4), but since the switch to CMake it's unconditionally disabled, so changing the setting doesn't have any effect. * Source/cmake/OptionsGTK.cmake: Enable smooth scrolling. 2014-10-16 Pascal Jacquemart Removing CUSTOM_PROTOCOLS guard https://bugs.webkit.org/show_bug.cgi?id=137741 Reviewed by Benjamin Poulain. * Source/cmake/OptionsEfl.cmake: 2014-10-11 KwangHyuk Kim [EFL] Enable WebP support. https://bugs.webkit.org/show_bug.cgi?id=136156 Reviewed by Gyuyoung Kim. Add WebP package finding rule. * Source/cmake/OptionsEfl.cmake: 2014-10-07 Pascal Jacquemart [EFL] Enable custom URI schemes with CustomProtocols https://bugs.webkit.org/show_bug.cgi?id=128177 Reviewed by Gyuyoung Kim. Fixing ewk_context_url_scheme_register() ewebkit2 API rely on r162449 - CustomProtocols implementation from Carlos Garcia Campos * Source/cmake/OptionsEfl.cmake: Forcing CUSTOM_PROTOCOLS flag 2014-10-01 Michael Catanzaro Bump version to 2.7.0 https://bugs.webkit.org/show_bug.cgi?id=137301 Rubber-stamped by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Bump version numbers 2014-09-30 Gyuyoung Kim [EFL] Rename TEST_THEME_DIR macro https://bugs.webkit.org/show_bug.cgi?id=137244 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: Rename TEST_THEME_DIR to DEFAULT_THEME_DIR. 2014-09-27 Dan Bernstein WebKit top of tree sources won't build in 10.9 w/ Xcode 6.0.1 https://bugs.webkit.org/show_bug.cgi?id=137053 Reviewed by Mark Rowe. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: In the build pre-action, pass the --wksi and --llvm options to copy-webkitlibraries-to-product-directory. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Ditto. 2014-09-26 Carlos Garcia Campos [GTK] Enable CSS_IMAGE_SET in production builds https://bugs.webkit.org/show_bug.cgi?id=137142 Reviewed by Alejandro G. Castro. This is required by the inspector to show some of the icons that has a HiDPI variant. * Source/cmake/OptionsGTK.cmake: 2014-09-25 Carlos Garcia Campos [Gtk] build.sh needs a -- before make options when the build command is cmake --build https://bugs.webkit.org/show_bug.cgi?id=136377 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Only create the build.sh script for CMake versions less than 3. 2014-09-25 Csaba Osztrogonác Remove WinCE port from trunk https://bugs.webkit.org/show_bug.cgi?id=136951 Reviewed by Alex Christensen. * Source/cmake/OptionsWinCE.cmake: Removed. * Source/cmake/WebKitPackaging.cmake: 2014-09-17 Renato Nagy [EFL][GTK] Remove WebKit1 related codes https://bugs.webkit.org/show_bug.cgi?id=136853 Reviewed by Csaba Osztrogonác. Gtk and EFL WebKit1 ports no longer exist. Webkit1 related codes were deleted from scripts. * Source/PlatformGTK.cmake: 2014-09-16 Tibor Meszaros Fix FindICU.cmake https://bugs.webkit.org/show_bug.cgi?id=136820 Reviewed by Csaba Osztrogonác. * Source/cmake/FindICU.cmake: 2014-09-15 Zan Dobersek [CMake] Remove FIND_PACKAGE_HANDLE_STANDARD_ARGS call for WAYLAND_EGL in FindWayland.cmake https://bugs.webkit.org/show_bug.cgi?id=136814 Reviewed by Philippe Normand. * Source/cmake/FindWayland.cmake: This line was committed by mistake. We bundle the wayland-egl dependency with wayland-client and wayland-server and store the resulting variables with the WAYLAND_ prefix. Because of this this line wasn't exporting anything useful. 2014-09-12 Csaba Osztrogonác URTBF after r173574. * Source/cmake/WebKitMacros.cmake: 2014-09-11 László Langó [JavaScriptCore] Fix FTL on platform EFL. https://bugs.webkit.org/show_bug.cgi?id=133571 Reviewed by Filip Pizlo. Revert r169181. * Source/cmake/FindLIBCXXABI.cmake: Removed. * Source/cmake/OptionsEfl.cmake: 2014-09-08 Eva Balazsfalvi Remove FILTERS flag https://bugs.webkit.org/show_bug.cgi?id=136571 Reviewed by Darin Adler. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-09-04 Eva Balazsfalvi Remove CSS_FILTERS flag https://bugs.webkit.org/show_bug.cgi?id=136529 Reviewed by Dirk Schulze. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-09-01 Gyuyoung Kim [CMAKE] Build warning by INTERFACE_LINK_LIBRARIES https://bugs.webkit.org/show_bug.cgi?id=136194 Reviewed by Csaba Osztrogonác. Set the LINK_INTERFACE_LIBRARIES target property on the top level CMakeLists.txt. * CMakeLists.txt: 2014-08-29 Eva Balazsfalvi [EFL] Remove non Coordinated Graphics code path from cmake build system after r142169 https://bugs.webkit.org/show_bug.cgi?id=135560 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Removed TILED_BACKING_STORE guard. 2014-08-28 Brian J. Burg WebInspectorUI.framework is not built for the "All Source" Xcode scheme https://bugs.webkit.org/show_bug.cgi?id=136343 Reviewed by David Kilzer. The "build" and "run" actions in Xcode should copy over the latest Inspector resources. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2014-08-27 Krzysztof Czech [EFL] Share fast/speechsynthesis/ with other ports https://bugs.webkit.org/show_bug.cgi?id=136224 Reviewed by Chris Fleizach. Enable WebSpeech for EFL. * Source/cmake/OptionsEfl.cmake: 2014-08-26 Krzysztof Czech [EFL] Utilize espeak as a synthesizer back-end for WebSpeech https://bugs.webkit.org/show_bug.cgi?id=136127 Reviewed by Gyuyoung Kim. Add build support for espeak. * Source/cmake/FindEspeak.cmake: Added. * Source/cmake/OptionsEfl.cmake: Add Espeak dependency. 2014-08-26 Ryuan Choi [EFL] Build break using clang https://bugs.webkit.org/show_bug.cgi?id=136245 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Disable ENABLE_WERROR when compiler is Clang as workaround because there are too many warnings. Some warnings are from system libraries. 2014-08-25 Alberto Garcia [GTK] Unify webkitgtk and webkit2gtk directories https://bugs.webkit.org/show_bug.cgi?id=136209 Reviewed by Carlos Garcia Campos. Use webkit2gtk-X.X both for the process binaries and the injected bundle. * Source/cmake/OptionsGTK.cmake: 2014-08-24 Ryuan Choi [EFL] Move Efl specific code from Source/CMakeLists.txt https://bugs.webkit.org/show_bug.cgi?id=136206 Reviewed by Gyuyoung Kim. WebKit/Efl only uses ENABLE_WERROR so it can be moved into OptionsEfl.cmake. Inaddition, renamed ADDITIONAL_FLAGS to ADDITIONAL_COMPILER_FLAGS. * Source/CMakeLists.txt: * Source/cmake/OptionsEfl.cmake: 2014-08-24 Ryuan Choi [EFL] Introduce DEVELOPER_MODE https://bugs.webkit.org/show_bug.cgi?id=135884 Reviewed by Gyuyoung Kim. Like GTK port, DEVELOPER_MODE can be good solution for developing, debugging and testing instead of SHARED_CORE. SHARED_CORE can reduce link time and memory consumption but it is slightly different from release binary. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitHelpers.cmake: Moved fvisibility=hidden to OptionsEfl.cmake 2014-08-22 KwangHyuk Kim [EFL] Turn on ENABLE_GAMEPAD_DEPRECATED option. https://bugs.webkit.org/show_bug.cgi?id=136110 Reviewed by Gyuyoung Kim. Turn on ENABLE_GAMEPAD_DEPRECATED option for the WK2 Efl. * Source/cmake/OptionsEfl.cmake: 2014-08-22 Gyuyoung Kim [EFL] Apply eflsymbols.filter to WebKit2 https://bugs.webkit.org/show_bug.cgi?id=136148 Reviewed by Csaba Osztrogonác. eflsymbol filter hasn't been applied to WK2 port. Additionally clean up WK1 symbol in the eflsymbols.filter. * Source/cmake/OptionsEfl.cmake: * Source/cmake/eflsymbols.filter: 2014-08-21 Zalan Bujtas Enable SATURATED_LAYOUT_ARITHMETIC. https://bugs.webkit.org/show_bug.cgi?id=136106 Reviewed by Simon Fraser. SATURATED_LAYOUT_ARITHMETIC protects LayoutUnit against arithmetic overflow. (No measurable performance regression on Mac.) * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-08-19 Zalan Bujtas Remove ENABLE(SUBPIXEL_LAYOUT). https://bugs.webkit.org/show_bug.cgi?id=136077 Reviewed by Simon Fraser. Remove compile time flag SUBPIXEL_LAYOUT. All ports have it enabled for a while now. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-08-17 Zan Dobersek [CMake] Optimization-disabling compiler flags should be appended to CMAKE_C(XX)_FLAGS_RELEASE https://bugs.webkit.org/show_bug.cgi?id=135980 Reviewed by Martin Robinson. CMAKE_C(XX)_FLAGS_RELEASE variables usually contain the -On flag which overrides any other disabled optimization that was prepended to these variables or was added to the CMAKE_C(XX)_FLAGS variables which CMake lists first in the final list of compilation flags. To avoid -On re-enabling optimizations that we'd like to keep disabled, the specific compiler flags must be appended to CMAKE_C(XX)_FLAGS_RELEASE. * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsEfl.cmake: Also do the appending with CMAKE_SHARED_LINKER_FLAGS_RELEASE. * Source/cmake/OptionsGTK.cmake: 2014-08-15 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.5.3 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2014-08-15 Ting-Wei Lan [GTK] Disable memory sampler on non-Linux system https://bugs.webkit.org/show_bug.cgi?id=134483 Reviewed by Philippe Normand. Source/WebKit2/Shared/linux/WebMemorySamplerLinux.cpp only works on Linux because it uses many Linux-specific features, so we should disable memory sampler on other systems by default. * Source/cmake/OptionsGTK.cmake: 2014-08-15 Carlos Garcia Campos [GTK] HTML API documentation should also be installed versioned https://bugs.webkit.org/show_bug.cgi?id=135970 Reviewed by Philippe Normand. * Source/PlatformGTK.cmake: Append -${WEBKITGTK_API_VERSION} to the directory name. 2014-08-14 Tomas Popela Add support for ppc, ppc64, ppc64le, s390, s390x into the CMake build https://bugs.webkit.org/show_bug.cgi?id=135937 Reviewed by Carlos Garcia Campos. * CMakeLists.txt: 2014-08-14 Carlos Garcia Campos [GTK] REGRESSION(r171598, CMake): Introspection files are installed at the wrong path https://bugs.webkit.org/show_bug.cgi?id=135934 Reviewed by Gustavo Noronha Silva. Since r171598 gir files are installed under $datadir/webkitgtk-4.0/gir-1.0/. The gir files should installed in $datadir/gir-1.0/ together with all other gir files. We don't need to install introspection files in a versioned directory because their filenames already contain the binary version. But before r171598, the files were only installed to the right directory if the gobject-instrospection pkg-config file was in the same prefix than the one we wanted to install, because the gir and typelibs directories were extracted from the pkg-config file. We should define INTROSPECTION_INSTALL_GIRDIR and INTROSPECTION_INSTALL_TYPELIBDIR in OptionsGTK.cmake based on $datadir and $libdir like we do in the autotools build. * Source/cmake/FindGObjectIntrospection.cmake: Do not define INTROSPECTION_INSTALL_GIRDIR and INTROSPECTION_INSTALL_TYPELIBDIR. * Source/cmake/OptionsGTK.cmake: Define INTROSPECTION_INSTALL_GIRDIR and INTROSPECTION_INSTALL_TYPELIBDIR. 2014-08-14 Carlos Garcia Campos [GTK] WebKit DOM documentation (webkitdomgtk) not installed after make install https://bugs.webkit.org/show_bug.cgi?id=135836 Reviewed by Philippe Normand. * Source/PlatformGTK.cmake: Add install command to also install the GObject DOM bindings API docs. 2014-08-14 Zan Dobersek Unreviewed. In r165709 I mistakenly appended the -fno-exceptions and -fno-strict-aliasing compiler flags to CMAKE_CXX_FLAGS and then re-set CMAKE_C_FLAGS with the new string. The two flags should really be appended to CMAKE_C_FLAGS and the same variable re-set with the new string. * Source/cmake/OptionsCommon.cmake: 2014-08-13 Alex Christensen Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=135819 Reviewed by Laszlo Gombos. * Source/cmake/OptionsMac.cmake: Disable some more features temporarily to get CMake working. * Source/cmake/WebKitMacros.cmake: Added an extension parameter to GENERATE_BINDINGS to allow ObjC bindings to generate .mm files. 2014-08-12 Eduardo Lima Mitev [GTK] Subtle-crypto feature off by default and add a new configure flag to enable it https://bugs.webkit.org/show_bug.cgi?id=135798 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Makes SUBTLE_CRYPTO flag off by default. 2014-08-12 Eduardo Lima Mitev [GTK] Adds dependency on GnuTLS 3.0+ for the implementation of subtle crypto algorithms https://bugs.webkit.org/show_bug.cgi?id=133317 GnuTLS is already an indirect dependency through libsoup -> glib-networking. Reviewed by Philippe Normand. No new tests since no new functionality has been added. * Source/cmake/OptionsGTK.cmake: Adds search for required GnuTLS package 2014-08-11 Commit Queue Unreviewed, rolling out r172393. https://bugs.webkit.org/show_bug.cgi?id=135796 discussion needed about GnuTLS version bump on the bots (Requested by philn on #webkit). Reverted changeset: https://bugs.webkit.org/show_bug.cgi?id=133317 http://trac.webkit.org/changeset/172393 2014-08-11 Eduardo Lima Mitev [GTK] Adds dependency on GnuTLS 3.0+ for the implementation of subtle crypto algorithms https://bugs.webkit.org/show_bug.cgi?id=133317 GnuTLS is already an indirect dependency through libsoup -> glib-networking. Reviewed by Philippe Normand. No new tests since no new functionality has been added. * Source/cmake/OptionsGTK.cmake: Adds search for required GnuTLS package 2014-08-11 Eduardo Lima Mitev [GTK] Adds stubs for all subtle crypto algorithm implemntations https://bugs.webkit.org/show_bug.cgi?id=133316 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Add ENABLE_SUBTLE_CRYPTO option * Source/cmake/WebKitFeatures.cmake: Add ENABLE_SUBTLE_CRYPTO option * Source/cmakeconfig.h.cmake: Define ENABLE_SUBTLE_CRYPTO 2014-08-11 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.5.2 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2014-08-10 Carlos Garcia Campos [GTK] REGRESSION(r166239): The ld version script is not being used https://bugs.webkit.org/show_bug.cgi?id=135694 Reviewed by Martin Robinson. Move the symbols filter file from Tools/gtk to Source/cmake and rename it as gtksymbols.filter. Also updated it, since some of the symbols exported were renamed. * Source/cmake/OptionsGTK.cmake: * Source/cmake/gtksymbols.filter: Renamed from Tools/gtk/symbols.filter. 2014-08-10 Carlos Garcia Campos [GTK] Child processes should be installed in a versioned directory https://bugs.webkit.org/show_bug.cgi?id=135754 Reviewed by Gustavo Noronha Silva. Define LIBEXEC_INSTALL_DIR as ${CMAKE_INSTALL_FULL_LIBEXECDIR}/webkitgtk-${WEBKITGTK_API_VERSION} so that the child processes are installed in $libexec/webkitgtk-4.0. This makes it possible to install 2.6 in parallel to older versions. * Source/cmake/OptionsGTK.cmake: 2014-08-08 Alex Christensen Progress towards using CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=135662 Reviewed by Laszlo Gombos. * CMakeLists.txt: Mavericks has a flex version of "flex 2.5.35 Apple(flex-31)" which CMake doesn't like on Mac. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: Added features that are needed by the Mac port. * Source/cmake/OptionsMac.cmake: Enable CSS_IMAGE_SET based on FeatureDefines.h. Disable the FTL with CMake for now. * Source/cmake/OptionsEFL.cmake: * Source/cmake/OptionsGTK.cmake: Enable subpixel layout to not conflict with FeatureDefines.h 2014-08-08 Simon Fraser Undo some erroneous changes to the Xcode scheme files from r172259. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2014-08-08 Zan Dobersek [CMake] Drop the required version of CMake down to 2.8.8 https://bugs.webkit.org/show_bug.cgi?id=135713 Reviewed by Alex Christensen. * CMakeLists.txt: Require CMake 2.8.8. 2014-08-07 Benjamin Poulain Get rid of INPUT_SPEECH https://bugs.webkit.org/show_bug.cgi?id=135672 Reviewed by Andreas Kling. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-08-07 Csaba Osztrogonác [GTK] Disable IndexedDB https://bugs.webkit.org/show_bug.cgi?id=135692 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: 2014-08-06 Dean Jackson ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED is not used anywhere. Remove it. https://bugs.webkit.org/show_bug.cgi?id=135675 Reviewed by Sam Weinig. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-08-06 David Farler Unreviewed build fix: Make includes semicolon in assignment. * Makefile.shared: Remove a ; 2014-08-06 David Farler Set DSYMUTIL_NUM_THREADS to the number of logical cores https://bugs.webkit.org/show_bug.cgi?id=135655 Reviewed by Mark Rowe. * Makefile.shared: Export DSYMUTIL_NUM_THREADS. 2014-08-06 Carlos Garcia Campos [GTK] Be able to disable gtk2 dependency https://bugs.webkit.org/show_bug.cgi?id=135505 Reviewed by Gustavo Noronha Silva. Add ENABLE_PLUGIN_PROCESS_GTK2 compile option. GTK+2 is only required when it's enabled. It's enabled by default. * Source/cmake/OptionsGTK.cmake: 2014-08-05 Alex Christensen More work on CMake. https://bugs.webkit.org/show_bug.cgi?id=135620 Reviewed by Laszlo Gombos. * Source/cmake/OptionsMac.cmake: Use UDIS86 by default on Mac. 2014-08-04 Benjamin Poulain Add a flag for the CSS Selectors level 4 implementation https://bugs.webkit.org/show_bug.cgi?id=135535 Reviewed by Andreas Kling. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-08-04 Alex Christensen Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=135528 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsMac.cmake: Made options list based on FeatureDefines.xcconfig files. 2014-08-04 Zan Dobersek [GTK] Windowing target support should reflect the support in the GTK+ dependency https://bugs.webkit.org/show_bug.cgi?id=134736 Reviewed by Martin Robinson. * Source/cmake/FindGTK3.cmake: Don't error out if the GTK+ dependency doesn't support the X11 or Wayland windowing targets -- instead, if there's no support the specific target is disabled, and an error is thrown only if neither of the backends is enabled at the end.. For now the X11 target remains enabled by default, and the Wayland target is kept disabled. Once it's possible to have both targets enabled at runtime in WebKit, the Wayland target will be enabled as well and we'll leave it to the GTK+ dependency to determine which targets can be enabled. 2014-08-04 Zan Dobersek [CMake] Add FindWayland.cmake https://bugs.webkit.org/show_bug.cgi?id=135540 Reviewed by Martin Robinson. * Source/cmake/FindWayland.cmake: Added. Enables finding the Wayland dependency. For now bundles the wayland-client, wayland-server and wayland-egl pkg-config targets into one dependency, but these could be split in the future if necessary. 2014-08-03 Ryuan Choi [EFL] Move DATA_INSTALL_DIR to ewebkit2-0 https://bugs.webkit.org/show_bug.cgi?id=135553 Reviewed by Gyuyoung Kim. Since WebKit1/Efl is dropped, we don't need to use ewebkit-1 and ewebkit2-1. And removed WebKit_OUTPUT_NAME variable which is not used anymore on the EFL port. * Source/cmake/OptionsEfl.cmake: 2014-08-01 Bear Travis [Feature Queries] Enable Feature Queries on EFL/GTK https://bugs.webkit.org/show_bug.cgi?id=134902 Reviewed by Benjamin Poulain. Enable CSS Feature Queries by default on the EFL and GTK platforms. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2014-08-01 Alex Christensen Progress towards cmake on Windows. https://bugs.webkit.org/show_bug.cgi?id=135484 Reviewed by Martin Robinson. * CMakeLists.txt: Added Mac to list of ports, even though it is not done yet. Changed minimum bison version to version installed on Macs. * Source/cmake/OptionsAppleWin.cmake: Added some definitions. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: Set WTF_LIBRARY_TYPE to STATIC to not change WTF linking on EFL or GTK ports. * Source/cmake/OptionsMac.cmake: Added blank for now. * Source/cmake/OptionsWinCairo.cmake: * Source/cmake/OptionsWindows.cmake: Added some definitions. Removed /WX (warnings treated as error while compiling). Copied warnings to ignore from WebKitLibraries/win/tools/vsprops/common.props. 2014-08-01 Carlos Garcia Campos [CMake] GTK and EFL are using PROJECT_VERSION_PATCH to define the micro version https://bugs.webkit.org/show_bug.cgi?id=135501 Reviewed by Gyuyoung Kim. Use PROJECT_VERSION_MICRO instead. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitHelpers.cmake: 2014-07-31 Ryuan Choi [EFL] Bump ewebkit version to 1.11 https://bugs.webkit.org/show_bug.cgi?id=135487 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Bump version numbers. 2014-07-31 Carlos Alberto Lopez Perez [EFL] Add support for building with Geoclue2. https://bugs.webkit.org/show_bug.cgi?id=135455 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Add gio-unix if ENABLE_GEOLOCATION is set. 2014-07-31 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.5.1 release. * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2014-07-31 Carlos Garcia Campos [GTK] Bump binary version for 2.6 https://bugs.webkit.org/show_bug.cgi?id=133724 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Bump binary version to 4.0 and update library version numbers. 2014-07-30 Zan Dobersek [CMake] Bump the minimum required version https://bugs.webkit.org/show_bug.cgi?id=135382 Reviewed by Gyuyoung Kim. * CMakeLists.txt: Bump the minimum required version to 2.8.11 after we introduced usage of target_include_directories(). 2014-07-29 Hunseop Jeong [EFL][GTK] Remove ACCELERATED_COMPOSITING compile flag https://bugs.webkit.org/show_bug.cgi?id=135376 Reviewed by Gyuyoung Kim. ACCELERATED_COMPOSITING was changed to the mandatory code after r163079. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2014-07-25 Michael Catanzaro [GTK] CMake tries to install JavaScriptCore-3.0.gir outside of install prefix https://bugs.webkit.org/show_bug.cgi?id=135288 Reviewed by Martin Robinson. * Source/cmake/FindGObjectIntrospection.cmake: pass correct libdir and datadir to pkgconfig * Source/cmake/OptionsGTK.cmake: define install directories early enough to be used in FindGObjectIntrospection.cmake 2014-07-23 Bem Jones-Bey Remove CSS_EXCLUSIONS compile flag and leftover code https://bugs.webkit.org/show_bug.cgi?id=135175 Reviewed by Zoltan Horvath. At this point, the CSS_EXCLUSIONS flag guards nothing but some useless stubs. This removes the flag and the useless code. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-07-22 Adrian Perez de Castro [GStreamer] [GTK] WebKit does not build with GStreamer 1.4 https://bugs.webkit.org/show_bug.cgi?id=135114 Fix build with GStreamer 1.4 Reviewed by Philippe Normand. * Source/cmake/FindGStreamer.cmake: Check version 1.4.0 for the gst-mpegts component instead of the unstable 1.3.x verstions. 2014-07-21 Carlos Garcia Campos [GTK] Simplify make-dist command line arguments https://bugs.webkit.org/show_bug.cgi?id=134832 Reviewed by Martin Robinson. * Source/PlatformGTK.cmake: Use --version instead of --tarball-root when running make-dist.py. 2014-07-18 Jon Honeycutt Add a manual test for r135044 Rubber-stamped by Andy Estes. * ManualTests/ios/typing-in-field-that-clears-on-keyup.html: Added. 2014-07-18 Dana Burkart Add a new 'analyze' target to the makefile. This will make use of a new 'PATH_TO_SCAN_BUILD' which, if set will wrap xcodebuild in the clang static analyzer. https://bugs.webkit.org/show_bug.cgi?id=135057 Reviewed by David Kilzer. * Makefile: * Makefile.shared: * Source/Makefile: 2014-07-15 Ryuan Choi [CMAKE] ENABLE_ENCRYPTED_MEDIA_V2 should depend on ENABLE_VIDEO https://bugs.webkit.org/show_bug.cgi?id=134963 Reviewed by Gyuyoung Kim. ENCRYPTED_MEDIA_V2 requires VIDEO enabled. * Source/cmake/WebKitFeatures.cmake: Added the dependency for ENABLE_ENCRYPTED_MEDIA_V2. 2014-07-14 Daniel Bates [iOS] Add tests to ensure CSS :active and :hover are applied when processing touch events https://bugs.webkit.org/show_bug.cgi?id=134905 Reviewed by Simon Fraser. Add a manual test to ensure that styles for CSS pseudo-class :hover aren't temporarily cleared on the tapped element when processing a touchend as a result of finger pressing and releasing on the same element that is initially positioned outside the visible content area. * ManualTests/ios/touchstart-touchend-on-same-element-should-not-clear-hover.html: Added. 2014-07-11 Carlos Garcia Campos [GTK] Enable VIDEO_TRACK by default https://bugs.webkit.org/show_bug.cgi?id=134801 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: 2014-07-10 Carlos Garcia Campos [GTK][CMake] Add a 'distcheck' target https://bugs.webkit.org/show_bug.cgi?id=130675 Reviewed by Gustavo Noronha Silva. * Source/PlatformGTK.cmake: Add distcheck target. 2014-07-10 Carlos Garcia Campos [GTK] Use the same default options for production builds that previous stable releases https://bugs.webkit.org/show_bug.cgi?id=134589 Reviewed by Martin Robinson. Change the default value of some features to match our stable releases. Add FindCairoGL to find cairo-gl libraries and make accelearetd 2D canvas depend on whether cairo-gl is found. * Source/cmake/FindCairoGL.cmake: Added. * Source/cmake/OptionsGTK.cmake: 2014-07-08 Sun-woo Nam [EFL] Support Encrypted Media Extensions. https://bugs.webkit.org/show_bug.cgi?id=134750 Reviewed by Gyuyoung Kim. Webkit needs to play encrypted media contents when media player is played by Media source extensions and normal video procedure. * Source/cmake/OptionsEfl.cmake: Turn on ENABLE_ENCRYPTED_MEDIA_V2 2014-07-08 Alex Christensen Steps towards CMake on Windows. https://bugs.webkit.org/show_bug.cgi?id=134716 Reviewed by Martin Robinson. * CMakeLists.txt: Added AppleWin and WinCairo to list of CMake ports. * Source/cmake/OptionsAppleWin.cmake: Added. * Source/cmake/OptionsWinCairo.cmake: Added. * Source/cmake/OptionsWindows.cmake: Windows needs to use the system malloc. Other options to come. 2014-07-04 Gyuyoung Kim [EFL] Support Geolocation https://bugs.webkit.org/show_bug.cgi?id=134439 Reviewed by Antonio Gomes. * Source/cmake/OptionsEfl.cmake: Turn on ENABLE_GEOLOCATION. 2014-07-03 Ryuan Choi Broken build with build-webkit --no-video https://bugs.webkit.org/show_bug.cgi?id=134587 Reviewed by Darin Adler. MEDIA_CONTROLS_SCRIPT requires VIDEO enabled. * Source/cmake/WebKitFeatures.cmake: Added the dependency for ENABLE_MEDIA_CONTROLS_SCRIPT. 2014-07-03 Carlos Garcia Campos [GTK] The list of features shown by cmake is not accurate https://bugs.webkit.org/show_bug.cgi?id=134588 Reviewed by Gustavo Noronha Silva. The problem is that some options might change after the feature list has been printed. * Source/cmake/OptionsGTK.cmake: Find package dependencies before setting the default values of features and set WEBGL value depending on the dependencies, and API_TEST depending on whether developer mode is enabled or not. 2014-07-03 Ryuan Choi [CMAKE] Add WEBKIT_OPTION_DEPEND macro to resolve macro dependency https://bugs.webkit.org/show_bug.cgi?id=134578 Reviewed by Gyuyoung Kim. Some options depend on another option such as ENABLE_VIDEO_TRACK and ENABLE_VIDEO. This patch adds WEBKIT_OPTION_DEPEND to check the depending option and disable related option if it is not ON. * Source/cmake/OptionsEfl.cmake: Removed hack for option dependency. * Source/cmake/OptionsGTK.cmake: Ditto. * Source/cmake/WebKitFeatures.cmake: Added WEBKIT_OPTION_DEPEND macro. 2014-07-02 Carlos Garcia Campos [GTK] make dist is broken https://bugs.webkit.org/show_bug.cgi?id=134542 Reviewed by Martin Robinson. * Source/PlatformGTK.cmake: Remove ENABLE_WEBKIT check. 2014-07-01 Zan Dobersek [CMake] Add necessary support for building for the Wayland target https://bugs.webkit.org/show_bug.cgi?id=134160 Reviewed by Darin Adler. * Source/cmake/FindGTK3.cmake: Check for the gtk+-x11-3.0 package if the X11 target is enabled, and that its version matches the version of the generic package. Same for the gtk+-wayland-3.0 package and the Wayland target. * Source/cmake/OptionsCommon.cmake: Don't add the -DXP_UNIX definition here. * Source/cmake/OptionsEfl.cmake: Add -DXP_UNIX here for the EFL port, under the same condition as in OptionsCommon.cmake. ENABLE_X11_TARGET is enabled by default for EFL so they keep building the TestNetscapePlugin target. * Source/cmake/OptionsGTK.cmake: Enable the X11 target and disable the Wayland target by default. Group all the X11-specific macro definitions (WTF_PLATFORM_X11, MOZ_X11, XP_UNIX) and only add them if the X11 target is enabled. Similar goes for the Wayland target and WTF_PLATFORM_WAYLAND. The Wayland target requires GTK+ 3.12.0, so that's the minimum required version as soon as that target is enabled. Only search for GLX if the X11 target is enabled. 2014-06-29 Yoav Weiss Add support for HTMLImageElement's sizes attribute https://bugs.webkit.org/show_bug.cgi?id=133620 Reviewed by Dean Jackson. Added an ENABLE_PICTURE_SIZES compile flag. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-06-26 Daniel Bates [iOS][WK2] Distant focusable element may not be scrolled into view when focused using keyboard https://bugs.webkit.org/show_bug.cgi?id=134309 Reviewed by Darin Adler. Add a manual test to ensure that we scroll to a distant focused text field when it's focused using the keyboard. * ManualTests/ios/scroll-to-distant-keyboard-focused-text-field.html: Added. 2014-06-25 Laszlo Gombos Remove build guard for progress element https://bugs.webkit.org/show_bug.cgi?id=134292 Reviewed by Benjamin Poulain. The build flag is no longer needed as it is always on. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-06-23 Krzysztof Czech [EFL] Platform support for WebSpeech feature. https://bugs.webkit.org/show_bug.cgi?id=116438 Reviewed by Csaba Osztrogonác. Add ENABLE_SPEECH_SYNTHESIS flag to have Speech Synthesis in EFL. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: 2014-06-23 Philippe Normand Unreviewed, GTK build fix after r170266. * Source/cmake/OptionsGTK.cmake: Geoclue also requires gio-unix. 2014-06-22 Gyuyoung Kim Disable gamepad feature on EFL and GTK ports by default https://bugs.webkit.org/show_bug.cgi?id=134169 Reviewed by Brady Eidson. * Source/cmake/OptionsEfl.cmake: Disable ENABLE_GAMEPAD_DEPRECATED. 2014-06-21 Brady Eidson Gamepad API - Deprecate the existing implementation https://bugs.webkit.org/show_bug.cgi?id=134108 Reviewed by Timothy Hatcher. -Add new "GAMEPAD_DEPRECATED" build flag, moving the existing implementation to use it -Add the "Deprecated" suffix to some implementation files * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-06-21 Commit Queue Unreviewed, rolling out r170244. https://bugs.webkit.org/show_bug.cgi?id=134157 GTK/EFL bindings generator works differently, making this patch not work there. Will fix entire patch after a rollout. (Requested by bradee-oh on #webkit). Reverted changeset: "Gamepad API - Deprecate the existing implementation" https://bugs.webkit.org/show_bug.cgi?id=134108 http://trac.webkit.org/changeset/170244 2014-06-21 Brady Eidson Gamepad API - Deprecate the existing implementation https://bugs.webkit.org/show_bug.cgi?id=134108 Reviewed by Timothy Hatcher. -Add new "GAMEPAD_DEPRECATED" build flag, moving the existing implementation to use it -Add the "Deprecated" suffix to some implementation files * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-06-21 Eva Balazsfalvi Removing PAGE_VISIBILITY_API compile guard. https://bugs.webkit.org/show_bug.cgi?id=133844 Reviewed by Gavin Barraclough. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-06-19 Ryuan Choi [EFL][CMAKE] Disable WebKit1 build as a default https://bugs.webkit.org/show_bug.cgi?id=134093 Reviewed by Gyuyoung Kim. Disable WebKit1 build and enable WebKit2 build for the EFL port. * Source/cmake/OptionsEfl.cmake: 2014-06-19 Dániel Bátyai Remove ENABLE(LLINT) and ENABLE(LLINT_C_LOOP) guards https://bugs.webkit.org/show_bug.cgi?id=130389 Reviewed by Mark Lam. Removed ENABLE(LLINT) since we always build with it, and changed ENABLE(LLINT_C_LOOP) into !ENABLE(JIT) since they are mutually exclusive. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-06-17 Zan Dobersek Remove the USE_GTK2=1 branch in OptionsGTK.cmake. This used to determine GTK+ and GDK libraries and include directories for the GTK+ 2 dependency, but we now only support GTK+ 3. The GTK+ 2 dependency is still required by the plugin process, but it is searched and utilized separately. Rubber-stamped by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: 2014-06-16 Commit Queue Unreviewed, rolling out r170003. https://bugs.webkit.org/show_bug.cgi?id=133938 This patch broke GTK build (Requested by kczech on #webkit). Reverted changeset: "[EFL] Platform support for WebSpeech feature." https://bugs.webkit.org/show_bug.cgi?id=116438 http://trac.webkit.org/changeset/170003 2014-06-16 Krzysztof Czech [EFL] Platform support for WebSpeech feature. https://bugs.webkit.org/show_bug.cgi?id=116438 Reviewed by Gyuyoung Kim. Add ENABLE_SPEECH_SYNTHESIS flag to have Speech Synthesis in EFL. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: 2014-06-14 Gyuyoung Kim [EFL] Remove duplicated compiler flag https://bugs.webkit.org/show_bug.cgi?id=133838 Reviewed by Anders Carlsson. In r169798, literal-suffix was added for EFL port in order to fix build break. However, it added to common compiler options. So, it is duplicated. * Source/cmake/WebKitHelpers.cmake: 2014-06-11 Commit Queue Unreviewed, rolling out r169877. https://bugs.webkit.org/show_bug.cgi?id=133784 rollout wrong build fix approach for EFL port (Requested by gyuyoung on #webkit). Reverted changeset: "Unreviewed, EFL build fix since r169869." http://trac.webkit.org/changeset/169877 2014-06-11 Gyuyoung Kim Unreviewed, EFL build fix since r169869. Additionally literal-suffix is removed in EFL compile flag, because it is duplicated. * Source/cmake/WebKitHelpers.cmake: Treat undef error as build warning. 2014-06-11 Gyuyoung Kim Unreviewed, EFL build fix. Treat literal-suffix error as build warning. * Source/cmake/WebKitHelpers.cmake: 2014-05-28 Carlos Garcia Campos [GTK] Make it possible to build with FTL enabled https://bugs.webkit.org/show_bug.cgi?id=133219 Reviewed by Philippe Normand. Add LLVM and LIBCXXABI as dependencies when building with FTL enabled. * Source/cmake/OptionsGTK.cmake: 2014-05-28 Jaehun Lim [CMake] Clean up FAST_MOBILE_SCROLLING https://bugs.webkit.org/show_bug.cgi?id=133342 Reviewed by Gyuyoung Kim. FAST_MOBILE_SCROLLING was removed in r168726. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-05-27 Tibor Meszaros Remove BLOB guards https://bugs.webkit.org/show_bug.cgi?id=132863 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-05-27 Zsolt Borbely Allow building CMake based ports with WEB_REPLAY https://bugs.webkit.org/show_bug.cgi?id=133154 Reviewed by Csaba Osztrogonác. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-05-21 Zsolt Borbely [EFL] Add include path of compact_unwind_encoding.h if FTL JIT is enabled https://bugs.webkit.org/show_bug.cgi?id=132907 Reviewed by Gyuyoung Kim. * Source/cmake/FindLIBCXXABI.cmake: Added. * Source/cmake/OptionsEfl.cmake: 2014-05-21 Michał Pakuła vel Rutka [EFL] Turn on ENABLE_CSS_FILTERS https://bugs.webkit.org/show_bug.cgi?id=133153 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Enable CSS_FILTERS as default option value. 2014-05-16 Martin Robinson [CMake] Improve handling of LIB_INSTALL_DIR, EXEC_INSTALL_DIR, and LIBEXEC_INSTALL_DIR https://bugs.webkit.org/show_bug.cgi?id=132819 Reviewed by Carlos Garcia Campos. * CMakeLists.txt: Hard-code CMAKE_ARCHIVE_OUTPUT_DIRECTORY etc, so that we can accept absolute paths for LIB_INSTALL_DIR and friends. * Source/cmake/OptionsCommon.cmake: Get rid of LIB_SUFFIX and try to make all path variables absolute. Also set CMAKE_ARCHIVE_OUTPUT_DIRECTORY, etc using the last path component of LIB_INSTALL_DIR, etc, so that absolute paths are supported. * Source/cmake/OptionsGTK.cmake: Ditto. Also get rid of all pkg-config specific variables. 2014-05-20 Gustavo Noronha Silva [CMake] Support building with Debug Fission https://bugs.webkit.org/show_bug.cgi?id=131177 Reviewed by Philippe Normand. * Source/cmake/OptionsCommon.cmake: add a DEBUG_FISSION option to enable usage of http://gcc.gnu.org/wiki/DebugFission. 2014-05-20 Carlos Garcia Campos [GTK] Rename translation domain as WebKit2GTK-3.0 https://bugs.webkit.org/show_bug.cgi?id=132953 Reviewed by Gustavo Noronha Silva. * Source/cmake/OptionsGTK.cmake: 2014-05-18 Rik Cabanier support for navigator.hardwareConcurrency https://bugs.webkit.org/show_bug.cgi?id=132588 Reviewed by Filip Pizlo. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-05-14 Tibor Meszaros Remove CSS_STICKY_POSITION guards https://bugs.webkit.org/show_bug.cgi?id=132676 Reviewed by Simon Fraser. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-05-12 Carlos Garcia Campos Unreviewed. Bump version numbers. * Source/cmake/OptionsGTK.cmake: 2014-05-10 Martin Robinson [GTK][CMake] Unable to do make install https://bugs.webkit.org/show_bug.cgi?id=130188 Reviewed by Carlos Garcia Campos. Only try to install the HTML documentation if the build is configured to generate it via the new ENABLE_GTKDOC option. We cannot conditionally install something, so this allows us to keep the HTML documentation directory as an installation source. * Source/PlatformGTK.cmake: The gtkdoc target now always builds HTML documentation, but is only added to the default target when ENABLE_GTKDOC is turned on. gtkdoc-no-html is now only added to the default target when DEVELOPER_MODE is true and ENABLE_GTKDOC is false. When both ENABLE_GTKDOC and DEVELOPER_MODE are false, documentation isn't built at all. * Source/cmake/OptionsGTK.cmake: Add an ENABLE_GTKDOC option to the build. 2014-05-09 Anders Carlsson Rename WebKit2.framework to WebKit.framework https://bugs.webkit.org/show_bug.cgi?id=132743 Reviewed by Dan Bernstein. * Source/Makefile: Build WebKit.xcodeproj before WebKit2.xcodeproj. * WebKit.xcworkspace/xcshareddata/xcschemes/: Ditto. 2014-05-06 David Kilzer Add Makefile targets for copying static libraries (LLVM and WKSI) Reviewed by Mark Rowe. * Makefile: (MODULES): Add WebKitLibraries. 2014-05-06 Commit Queue Unreviewed, rolling out r168304. https://bugs.webkit.org/show_bug.cgi?id=132607 Broke the build (Requested by KaL on #webkit). Reverted changeset: "[GTK][CMake] Unable to do make install" https://bugs.webkit.org/show_bug.cgi?id=130188 http://trac.webkit.org/changeset/168304 2014-05-05 Martin Robinson [GTK][CMake] Unable to do make install https://bugs.webkit.org/show_bug.cgi?id=130188 Reviewed by Carlos Garcia Campos. Only try to install the HTML documentation if the build is configured to generate it via the new ENABLE_GTKDOC option. We cannot conditionally install something, so this allows us to keep the HTML documentation directory as an installation source. * Source/PlatformGTK.cmake: The gtkdoc target now always builds HTML documentation, but is only added to the default target when ENABLE_GTKDOC is turned on. gtkdoc-no-html is never added to the default target, but will be triggered by build-webkit, so that when ENABLE_GTKDOC is off and build-webkit isn't used, documentation isn't built at all. * Source/cmake/OptionsGTK.cmake: Add an ENABLE_GTKDOC option to the build. 2014-05-03 Raphael Kubo da Costa [CMake] Define SHOULD_INSTALL_JS_SHELL before including ports Options files. https://bugs.webkit.org/show_bug.cgi?id=132525 Reviewed by Martin Robinson. * CMakeLists.txt: If OPTION() is called after Options${PORT}.cmake is included, it will override whatever value a port may have set for it. The GTK+ port, for example, tries to set it to SHOULD_INSTALL_JS_SHELL to ON by default, even though it did not happen before. 2014-05-01 David Kilzer Really remove ENABLE_PLUGIN_PROXY_FOR_VIDEO Reviewed by Tim Horton. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: - Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO as build option. 2014-04-30 Simon Fraser Make sure the "All" targets build WebKitLegacy, rather than WebKit. Reviewed by Dan Bernstein/Anders Carlsson. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2014-04-30 Simon Fraser Let Xcode have its way with the WebKit workspace. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2014-04-29 Martin Robinson [GTK] Make it easier to run CMake for downstreams https://bugs.webkit.org/show_bug.cgi?id=132370 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Turn PRODUCTION_MODE into DEVELOPER_MODE. 2014-04-27 Joonghun Park [EFL] Remove indexedDB's dependency on leveldb and disable indexedDB https://bugs.webkit.org/show_bug.cgi?id=132176 Reviewed by Gyuyoung Kim. EFL port will use sqlite to support indexedDB. So, this patch removes levelDB dependency for now. * Source/cmake/OptionsEfl.cmake: 2014-04-22 Alex Christensen Removed old stdbool and inttypes headers. https://bugs.webkit.org/show_bug.cgi?id=131966 Reviewed by Brent Fulgham. * Source/cmake/OptionsWindows.cmake: * Source/cmake/WebKitPackaging.cmake: Removed references to os-win32 directory. 2014-04-22 Zan Dobersek Fix a typo in WebKitFeatures.cmake -- INITALVALUE -> INITIALVALUE. Rubber-stamped by Carlos Garcia Campos. * Source/cmake/WebKitFeatures.cmake: 2014-04-18 Jon Honeycutt Empty RenderInline objects should not be line break objects. https://bugs.webkit.org/show_bug.cgi?id=131861 Reviewed by David Hyatt. * ManualTests/empty-inline-as-line-break-position.html: Added. This issue wouldn't reproduce in WebKitTestRunner. 2014-04-19 Brent Fulgham Revert unintended workspace change in my last commit. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: Set the Scheme type back to Debug. 2014-04-18 Philippe Normand Remove NETWORK_INFO support https://bugs.webkit.org/show_bug.cgi?id=131841 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-04-17 Darin Adler Try to fix EFL and GTK builds. * Source/cmake/OptionsEfl.cmake: Add INDEXED_DATABASE_IN_WORKERS. * Source/cmake/OptionsGTK.cmake: Ditto. * Source/cmakeconfig.h.cmake: Ditto. 2014-04-16 Brendan Long [GTK][CMAKE] build-webkit doesn't detect when the build fails https://bugs.webkit.org/show_bug.cgi?id=130148 Reviewed by Martin Robinson. * Source/cmake/OptionsGTK.cmake: Replace CMake's automatic make -i with make -k, which still continues after errors, but correctly reports tha the build failed. 2014-04-16 Carlos Garcia Campos REGRESSION(r166779): [GTK] Printing doesn't work since r166779 https://bugs.webkit.org/show_bug.cgi?id=131725 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Check GTK_UNIX_PRINT_FOUND instead of GTK_UNIX_PRINTING_FOUND and set the macro HAVE_GTK_UNIX_PRINTING to 1 when found. 2014-04-11 Brian J. Burg Web Replay: memoize nondeterministic attributes of the Navigator interface https://bugs.webkit.org/show_bug.cgi?id=131340 Reviewed by Timothy Hatcher. * ManualTests/inspector/replay-window-navigator-basic.html: Added. 2014-04-09 Brendan Long [GStreamer] Expose MPEG-TS metadata https://bugs.webkit.org/show_bug.cgi?id=122001 Reviewed by Eric Carlson. * Source/cmake/FindGStreamer.cmake: Look for gstreamer-mpegts >= 1.3.0. * Source/cmake/OptionsEfl.cmake: Same. * Source/cmake/OptionsGTK.cmake: Same. 2014-04-08 Brian J. Burg Web Replay: memoize nondeterministic attributes of the Screen interface https://bugs.webkit.org/show_bug.cgi?id=131339 Reviewed by Timothy Hatcher. * ManualTests/inspector/replay-window-screen.html: Added. 2014-04-08 Martin Robinson [GTK] Remove the WebKitGTK+ WebKit 1 code https://bugs.webkit.org/show_bug.cgi?id=131399 Reviewed by Anders Carlsson. * Source/PlatformGTK.cmake: Remove WebKit1 dependency from dist target. * Source/cmake/OptionsGTK.cmake: Remove option to compile with GTK+2 or with WebKit2 disabled. 2014-04-08 Dan Bernstein Added bmalloc to the WebKit workspace. https://bugs.webkit.org/show_bug.cgi?id=131362 Reviewed by Geoff Garen. * WebKit.xcworkspace/contents.xcworkspacedata: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2014-04-08 Geoffrey Garen Build bmalloc on iOS too https://bugs.webkit.org/show_bug.cgi?id=131381 Reviewed by Andreas Kling. * Source/Makefile: Build it. 2014-04-07 Geoffrey Garen Build bmalloc on Mac https://bugs.webkit.org/show_bug.cgi?id=131333 Reviewed by Mark Rowe. * Source/Makefile: * WebKitBuild: Added. * WebKitBuild/Debug: Added. 2014-04-07 Ryuan Choi [EFL] Turn on ENABLE_MEDIA_CONTROLS_SCRIPT https://bugs.webkit.org/show_bug.cgi?id=131257 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Enable MEDIA_CONTROLS_SCRIPT 2014-04-06 Raphael Kubo da Costa [GTK] Stop trying to install WebKit1 documentation https://bugs.webkit.org/show_bug.cgi?id=131278 Reviewed by Martin Robinson. * Source/PlatformGTK.cmake: Remove install() call since the WebKit1 documentation is not built anymore since r166584. This fixes `make install'. 2014-04-04 Brian J. Burg Web Replay: capture and replay wheel events and scroll commands https://bugs.webkit.org/show_bug.cgi?id=129402 Reviewed by Timothy Hatcher. * ManualTests/inspector/replay-wheel-events.html: Added. 2014-04-04 Raphael Kubo da Costa [GTK][CMake] Remove FindXt.cmake. https://bugs.webkit.org/show_bug.cgi?id=131227 Reviewed by Anders Carlsson. Xt is already detected by CMake's own FindX11.cmake, so there is no need to keep a custom FindXt.cmake around. * Source/cmake/FindXt.cmake: Removed. * Source/cmake/OptionsGTK.cmake: 2014-04-04 Tamas Gergely [EFL] Build error due to changed path of generated js files. https://bugs.webkit.org/show_bug.cgi?id=131215 Reviewed by Gyuyoung Kim. r166648 fixed the generation of some .js files on GTK. Due to some changes in the paths it causes a build error on EFL. * Source/PlatformEfl.cmake: Replaced path for two derived source files. 2014-04-02 Raphael Kubo da Costa [GTK][CMake] Look for glx.h in OPENGL_INCLUDE_DIR. https://bugs.webkit.org/show_bug.cgi?id=131095 Reviewed by Martin Robinson. One needs to take into account OpenGL's include directory found via find_package() when looking for glx.h, since if the former is a non-standard location the latter will also be. If this is not it is possible that OpenGL is found but GLX support is not properly detected. * Source/cmake/OptionsGTK.cmake: 2014-04-02 Martin Robinson REGRESSION(r165704): [GTK] Inspector resources not correctly generated https://bugs.webkit.org/show_bug.cgi?id=130343 Reviewed by Gustavo Noronha Silva. * CMakeLists.txt: Add a variable which points to the directory to store WebInspectorUI derived sources. * Source/cmake/WebKitFS.cmake: Generate WebInspectorUI derived sources directories. 2014-04-01 Raphael Kubo da Costa [CMake] Drop port check from FindEGL.cmake. https://bugs.webkit.org/show_bug.cgi?id=131091 Reviewed by Gyuyoung Kim. There is no reason to mark some variables as advanced only for the GTK+ port. * Source/cmake/FindEGL.cmake: Mark EGL_INCLUDE_DIR and EGL_LIBRARY as advanced regardless of the port. 2014-04-01 Dániel Bátyai Fix the !ENABLE(BATTERY_STATUS) build https://bugs.webkit.org/show_bug.cgi?id=130183 Reviewed by Anders Carlsson. * Source/cmake/OptionsEfl.cmake: 2014-03-31 Raphael Kubo da Costa [CMake][GTK] Do not expand variables twice in if() checks. https://bugs.webkit.org/show_bug.cgi?id=130964 Reviewed by Martin Robinson. In CMake, `if (${foo})' causes $foo to be evaluated first and its value to be checked by the if clause. This is not what we want, and configuration fails when, say, GLX support wasn't found as the if clause is actually evaluated as `if (TRUE AND (OR TRUE))'. * Source/cmake/OptionsGTK.cmake: Pass if (FOO) instead of if (${FOO}) where necessary. 2014-03-31 Martin Robinson [GTK] Remove scripts code only applicable to autotools https://bugs.webkit.org/show_bug.cgi?id=130841 Reviewed by Anders Carlsson. * Source/cmake/WebKitPackaging.cmake: No longer need to consider autotools files. 2014-03-31 Martin Robinson [GTK] Use PROJECT_VERSION_* instead of WEBKIT_*_VERSION https://bugs.webkit.org/show_bug.cgi?id=130936 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: No longer emulate the Autotools macro names. 2014-03-31 Carlos Garcia Campos [GTK] Add support for GTK3 plugins https://bugs.webkit.org/show_bug.cgi?id=130599 Reviewed by Martin Robinson. * Source/cmake/OptionsGTK.cmake: 2014-03-28 Gyuyoung Kim [EFL] Bump glib version from 2.36 to 2.38 https://bugs.webkit.org/show_bug.cgi?id=130886 Reviewed by Csaba Osztrogonác. * Source/cmake/OptionsEfl.cmake: Required glib-2.38 version. 2014-03-26 Zoltan Horvath [CSS Shapes] Remove shape-inside support https://bugs.webkit.org/show_bug.cgi?id=130698 Reviewed by David Hyatt. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-03-25 Martin Robinson [GTK] Remove the autotools build https://bugs.webkit.org/show_bug.cgi?id=130717 Reviewed by Anders Carlsson. * .gitignore: Remove references to autotools files. * GNUmakefile.am: Removed. * Source/autotools/CheckSystemAndBasicDependencies.m4: Removed. * Source/autotools/CustomMacros.m4: Removed. * Source/autotools/FindDependencies.m4: Removed. * Source/autotools/PrintBuildConfiguration.m4: Removed. * Source/autotools/ReadCommandLineArguments.m4: Removed. * Source/autotools/SetupAutoconfHeader.m4: Removed. * Source/autotools/SetupAutomake.m4: Removed. * Source/autotools/SetupCompilerFlags.m4: Removed. * Source/autotools/SetupLibtool.m4: Removed. * Source/autotools/SetupWebKitFeatures.m4: Removed. * Source/autotools/Versions.m4: Removed. * Source/autotools/acinclude.m4: Removed. * Source/autotools/dolt.m4: Removed. * Source/autotools/gsettings.m4: Removed. * Source/cmake/OptionsGTK.cmake: * autogen.sh: Removed. * configure.ac: Removed. 2014-03-25 Gabor Rapcsanyi [EFL] Add ARM64 build support https://bugs.webkit.org/show_bug.cgi?id=130506 Rubber stamped by Gyuyoung Kim. * CMakeLists.txt: Set WTF_CPU_ARM64 when aarch64 is defined. 2014-03-25 Michał Pakuła vel Rutka [EFL][WK2] Add NETWORK_PROCESS build option https://bugs.webkit.org/show_bug.cgi?id=130131 Reviewed by Gyuyoung Kim. Add option to build EFL port with NETWORK_PROCESS set on. By default NETWORK_PROCESS is set off. * Source/cmake/OptionsEfl.cmake: 2014-03-24 Brian Burg Web Replay: capture and replay keyboard events https://bugs.webkit.org/show_bug.cgi?id=130314 Reviewed by Joseph Pecoraro. * ManualTests/inspector/replay-keyboard-events.html: Added. 2014-03-24 Sangyong Park [EFL] Inspector page is not loaded. https://bugs.webkit.org/show_bug.cgi?id=130661 Reviewed by Gyuyoung Kim. Inspector page is not loaded, because some javascript files are not installed. (InspectorJSBackendCommands.js, InspectorWebBackendCommands.js) * Source/PlatformEfl.cmake: 2014-03-20 Thiago de Barros Lacerda [EFL][GTK] Get CMake to find Freetype2 properly https://bugs.webkit.org/show_bug.cgi?id=130150 Reviewed by Martin Robinson. Newer versions of CMake are not able to find Freetype2 correctly. FindFreetype2.cmake checks for the version number in freetype.h header, since it seems that bug exists in freetype2 repo, because a completely different version number is found in freetype2.pc. * Source/cmake/FindFreetype2.cmake: Added. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2014-03-20 Brian Burg Web Replay: capture and replay mouse events https://bugs.webkit.org/show_bug.cgi?id=129395 Reviewed by Joseph Pecoraro. Create a manual test for capture/replay of mouse events. Copy over the crypto-md5.js library from SunSpider. * ManualTests/inspector/replay-mouse-events.html: Added. * ManualTests/inspector/resources/crypto-md5.js: Added. 2014-03-20 Zan Dobersek [GTK][CMake] Add support for building with Clang https://bugs.webkit.org/show_bug.cgi?id=130260 Reviewed by Martin Robinson. * Source/PlatformGTK.cmake: Run the generate-gtkdoc script with the CFLAGS env set to the list C compiler flags as constructed by CMake. * Source/cmake/OptionsCommon.cmake: When building with Clang, use the -Qunused-arguments compiler option to suppress verbose warnings about arguments that went unused by the driver. * Source/cmake/OptionsGTK.cmake: Use -fno-omit-frame-pointer for both GCC and Clang. -fno-tree-dce should be used only for GCC. * Source/cmake/gtest/CMakeLists.txt: When building with Clang the GTest framework should be built with GTEST_HAS_TR1_TUPLE macro defined to 0 to avoid build failures. 2014-03-20 Commit Queue Unreviewed, rolling out r165962. https://bugs.webkit.org/show_bug.cgi?id=130512 It broke the build (Requested by Ossy on #webkit). Reverted changeset: "[EFL][GTK] Get CMake to find Freetype2 properly" https://bugs.webkit.org/show_bug.cgi?id=130150 http://trac.webkit.org/changeset/165962 2014-03-20 Thiago de Barros Lacerda [EFL][GTK] Get CMake to find Freetype2 properly https://bugs.webkit.org/show_bug.cgi?id=130150 Reviewed by Csaba Osztrogonác. Newer versions of CMake are not able to find Freetype2 correctly. FindFreetype2.cmake checks for the version number in freetype.h header, since it seems that bug exists in freetype2 repo, because a completely different version number is found in freetype2.pc. * Source/cmake/FindFreetype2.cmake: Added. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: 2014-03-17 Brendan Long [GStreamer] human readable language code for tracks https://bugs.webkit.org/show_bug.cgi?id=124514 Reviewed by Martin Robinson. * Source/autotools/FindDependencies.m4: Add gstreamer-tag-1.0. * Source/cmake/FindGStreamer.cmake: Same. * Source/cmake/OptionsEfl.cmake: Same. * Source/cmake/OptionsGTK.cmake: Same. 2014-03-17 Martin Robinson [GTK][CMake] Credential storage is not enabled https://bugs.webkit.org/show_bug.cgi?id=130149 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Add an ENABLE_CREDENTIAL_STORAGE option to the configuration and look libsecret when it's enabled. * Source/cmakeconfig.h.cmake: Expose the ENABLE_CREDENTIAL_STORAGE option to the build. 2014-03-17 Martin Robinson [GTK][CMake] Ensure that HAVE_GTK_UNIX_PRINTING is defined when appropriate https://bugs.webkit.org/show_bug.cgi?id=130155 Reviewed by Philippe Normand. * Source/cmake/FindGTKUnixPrint.cmake: Added. * Source/cmake/OptionsGTK.cmake: Look for gtk+-unix-print and use it to turn on HAVE_GTK_UNIX_PRINTING. * Source/cmakeconfig.h.cmake: Add the HAVE_GTK_UNIX_PRINTING define. 2014-03-16 Kim Byung Jun [EFL] Enable TOUCH_SLIDER macro. https://bugs.webkit.org/show_bug.cgi?id=130186 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: 2014-03-16 Zan Dobersek [GTK][CMake] Build with -fno-rtti https://bugs.webkit.org/show_bug.cgi?id=130261 Reviewed by Martin Robinson. * Source/cmake/OptionsCommon.cmake: List the -fno-exceptions, -fno-strict-aliasing and -fno-rtti options in the global CMAKE_C_FLAGS and CMAKE_CXX_FLAGS (-fno-rtti is only listed in the latter). Replace -std=gnu++0x with the official -std=c++11 option. * Source/cmake/WebKitHelpers.cmake: Stop -fno-exceptions and -fno-strict-aliasing from being set through the WEBKIT_SET_EXTRA_COMPILER_FLAGS macro, they are now listed in CMAKE_C_FLAGS and CMAKE_CXX_FLAGS. * Source/cmake/gtest/CMakeLists.txt: Build GTest code with GTEST_HAS_RTTI macro defined to 0. 2014-03-16 Brendan Long [GStreamer] CMake doesn't find the include path for gstreamer-base https://bugs.webkit.org/show_bug.cgi?id=130098 Reviewed by Philippe Normand. * Source/cmake/FindGStreamer.cmake: Look for a header in gstreamer-base instead of looking for gst/gst.h twice. 2014-03-14 Maciej Stachowiak Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 Reviewed by Simon Fraser. * ManualTests/NPN_Invoke/Info.plist: * ManualTests/NPN_Invoke/main.c: * ManualTests/accessibility/resources/AppletTest.java: 2014-03-14 Zan Dobersek [CMake] Remove -fno-tree-sra workaround for GCC 4.5 https://bugs.webkit.org/show_bug.cgi?id=130258 Reviewed by Martin Robinson. GCC compilers 4.7 and later are supported, so there's no need for disabling the -ftree-sra optimization which was causing problems when enabled on GCC 4.5. * Source/cmake/WebKitHelpers.cmake: 2014-03-14 Landry Breuil Add autotools boilerplate for proper os defines on OpenBSD/NetBSD/DragonFly https://bugs.webkit.org/show_bug.cgi?id=129966 Reviewed by Andreas Kling. * Source/autotools/CheckSystemAndBasicDependencies.m4: * Source/autotools/SetupAutomake.m4: 2014-03-13 Mario Sanchez Prada [CMake] Failure to link with older installations of WebP https://bugs.webkit.org/show_bug.cgi?id=130195 Reviewed by Gustavo Noronha Silva. Fix the issue by using a temporary variable as the output parameter to check_include_files(), setting WEBP_FOUND accordingly later. * Source/cmake/FindWebP.cmake: Avoid reusing the WEBP_FOUND variable in check_include_files(), as it will lead to misleading results (will always be FALSE). Use a temporary variable instead and explicitly set WEBP_FOUND to TRUE later if needed. 2014-03-12 Martin Robinson [CMake] Changes to the bindings generator Perl modules do not trigger regeneration of bindings https://bugs.webkit.org/show_bug.cgi?id=130170 Reviewed by Daniel Bates. * Source/cmake/WebKitMacros.cmake: Add the Perl modules used in script generation to the dependency list. We must check whether or not the specific one exists first, because the InjectedBundle uses a fake "TestRunner" generator. 2014-03-12 Carlos Garcia Campos [GTK][CMAKE] Remove compile warnings about GTK+ deprecated API https://bugs.webkit.org/show_bug.cgi?id=130014 Reviewed by Martin Robinson. Set GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_6. * Source/cmake/OptionsGTK.cmake: * Source/cmakeconfig.h.cmake: 2014-03-12 Martin Robinson [GTK][CMAKE] Too verbose build output https://bugs.webkit.org/show_bug.cgi?id=130076 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Generate a script which does the actual build. This works around an issue where cmake --build doesn't support ninja's pretty printing. 2014-03-10 Mario Sanchez Prada [GTK] Add support for Geoclue2 https://bugs.webkit.org/show_bug.cgi?id=120185 Reviewed by Carlos Garcia Campos. Patch by Anton Obzhirov and Mario Sanchez Prada Add support for Geoclue2 using autotools. * Source/autotools/FindDependencies.m4: Add support for handling both Geoclue 1.0 and 2.0. * Source/autotools/PrintBuildConfiguration.m4: Print the version of geoclue that is being used. * Source/autotools/SetupAutoconfHeader.m4: Define GEOCLUE_API_VERSION_2. * Source/autotools/SetupAutomake.m4: Likewise, for AM_CONDITIONAL. * Source/autotools/Versions.m4: Added minimum required version for Geoclue2. Add support for Geoclue2 using CMake. * Source/cmake/FindGeoClue2.cmake: Added. * Source/cmake/OptionsGTK.cmake: Add support for handling Geoclue 1.0 and 2.0. * Source/cmakeconfig.h.cmake: Define WTF_USE_GEOCLUE2. 2014-03-10 Martin Robinson [GTK][CMAKE] gtk-doc HTML documentation is generated by default when building with CMake https://bugs.webkit.org/show_bug.cgi?id=130016 Reviewed by Carlos Garcia Campos. * Source/PlatformGTK.cmake: Add two gtkdoc targets, one which builds HTML and one which doesn't. Add the non-HTML version to the default target, but not the HTML version. The HTML version will still run when building the distribution tarball. 2014-03-10 Martin Robinson [GTK] [CMake] Clean up library linking https://bugs.webkit.org/show_bug.cgi?id=129782 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: Add a macro to wrap all libraries in a list with --whole-archive so that unused symbols are not dropped. This is useful when building up shared libraries from convenience libraries. 2014-03-08 Landry Breuil Don't check for shm_open on librt on OpenBSD, lib doesnt exist. https://bugs.webkit.org/show_bug.cgi?id=129973 Reviewed by Martin Robinson. * Source/autotools/FindDependencies.m4: 2014-03-06 Anders Carlsson Build WebKit2 before building WebKit https://bugs.webkit.org/show_bug.cgi?id=129831 Reviewed by Dan Bernstein. * Source/Makefile: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2014-03-06 Commit Queue Unreviewed, rolling out r165193. http://trac.webkit.org/changeset/165193 https://bugs.webkit.org/show_bug.cgi?id=129823 Not specifying libc++ as the stdlib for Clang through CXXFLAGS env confuses libtool (Requested by zdobersek on #webkit). * Source/autotools/SetupCompilerFlags.m4: 2014-03-06 Zan Dobersek [GTK][Autotools] Default to libc++ when compiling with Clang https://bugs.webkit.org/show_bug.cgi?id=129798 Reviewed by Anders Carlsson. * Source/autotools/SetupCompilerFlags.m4: Default to using libc++ when compiling with the Clang compiler. This is still overridable if -stdlib=* flag was set through CXXFLAGS, in case people would for some reason still prefer libstdc++ (i.e. on setups where a functional libc++ is not yet available). 2014-03-05 Martin Robinson [CMake] Ninja generator builds fail with "Argument list too long" https://bugs.webkit.org/show_bug.cgi?id=129771 Reviewed by Daniel Bates. * Source/cmake/OptionsCommon.cmake: Work around a bug in the Ninja CMake generator, by forcing the use of response files. 2014-03-05 Ryuan Choi [CMake] Use thin archives if building on Linux for non-shared-core debug builds https://bugs.webkit.org/show_bug.cgi?id=108330 Reviewed by Martin Robinson. In order to get non-shared debug builds, this patch applied T option for thin archives to the flags passed to ar when cmake based ports build on linux. In addition, applied u option which avoids adding a file twice. * Source/cmake/OptionsCommon.cmake: Moved archive options from OptionsGTK.cmake. * Source/cmake/OptionsEfl.cmake: Removed error messages for non-shared-core debug builds. * Source/cmake/OptionsGTK.cmake: Moved archive options to OptionsCommon.cmake. 2014-03-04 Zan Dobersek [GTK] Build the Udis86 disassembler https://bugs.webkit.org/show_bug.cgi?id=129679 Reviewed by Michael Saboff. * GNUmakefile.am: Add the Udis86_nosources variable. * Source/cmake/OptionsGTK.cmake: Enable the Udis86 disassembler. 2014-03-04 Martin Robinson [GTK] Simplify the GObject DOM bindings API break check into one step https://bugs.webkit.org/show_bug.cgi?id=129571 Reviewed by Carlos Garcia Campos. * Source/PlatformGTK.cmake: We don't need to run the API break check before gtkdoc generation. Add the check to 'make check.' 2014-03-04 Martin Robinson [GTK][CMake] ENABLE_NAVIGATOR_CONTENT_UTILS is mistakenly enabled for the CMake build https://bugs.webkit.org/show_bug.cgi?id=129502 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Disable the option for GTK+. 2014-03-03 Jozsef Berta [cmake] *Names.cpp file should be regenerated after touching StaticString.pm https://bugs.webkit.org/show_bug.cgi?id=129031 Reviewed by Csaba Osztrogonác. * Source/cmake/WebKitMacros.cmake: Added a call for make_names.pm dependencies in GENERATE_FONT_NAMES and GENERATE_DOM_NAMES macros. 2014-03-03 Carlos Garcia Campos [GTK] WebKit2WebExtension GIR can't be used in vala https://bugs.webkit.org/show_bug.cgi?id=127179 Reviewed by Martin Robinson. Add a different pkg-config file for the web extensions API. * Source/cmake/OptionsGTK.cmake: * configure.ac: 2014-03-02 Dirkjan Ochtman Support ENABLE_ENCRYPTED_MEDIA in cmake builds https://bugs.webkit.org/show_bug.cgi?id=129575 Reviewed by Philippe Normand. * Source/cmake/OptionsEfl.cmake: Enabled ENABLE_ENCRYPTED_MEDIA{,_V2} usage. * Source/cmake/OptionsGTK.cmake: Enabled ENABLE_ENCRYPTED_MEDIA{,_V2} usage. * Source/cmake/WebKitFeatures.cmake: Enabled ENABLE_ENCRYPTED_MEDIA{,_V2} usage. * Source/cmakeconfig.h.cmake: Added ENABLE_ENCRYPTED_MEDIA{,_V2} flags. 2014-02-27 Peter Molnar Enable support of X-Content-Type-Options: nosniff header for EFL https://bugs.webkit.org/show_bug.cgi?id=128673 Reviewed by Gyuyoung Kim. * Source/cmake/OptionsEfl.cmake: Enabled NOSNIFF feature flag for EFL. 2014-02-27 Koop Mast Fallback on checking for libz manualy if zlib.pc isn't available. https://bugs.webkit.org/show_bug.cgi?id=127061 Reviewed by Gustavo Noronha Silva. * Source/autotools/FindDependencies.m4: 2014-02-25 Sergio Villar Senin [CSS Grid Layout] Add ENABLE flag https://bugs.webkit.org/show_bug.cgi?id=129153 Reviewed by Simon Fraser. Added the ENABLE_CSS_GRID_LAYOUT feature flag to the cmake and autotools build systems. The feature is disabled by default for production builds. * Source/autotools/SetupWebKitFeatures.m4: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-02-24 Martin Robinson [GTK] generate-gtkdoc should not generate documentation for source files for unbuilt source files https://bugs.webkit.org/show_bug.cgi?id=128417 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Define the paths to the pkgconfig files here, so that they may one day be used in the webkitdom config file generation. 2014-02-18 Gyuyoung Kim [EFL][CMake] Fix javascriptcore test failings by the jsCStack branch merge https://bugs.webkit.org/show_bug.cgi?id=128961 Reviewed by Ryosuke Niwa. Javascriptcore test on EFL port has been broken since the jsCStack branch merge. For now we can fix almost tests by using "-fno-tree-dce option". Unfortunately, EFL port needs not to check "uninitialized" build warning as error in order to adjust the option to EFL port. This patch don't take it as error temporarily. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitHelpers.cmake: 2014-02-16 Martin Robinson [GTK] [CMake] JavaScriptCore crashes in JSC::eval https://bugs.webkit.org/show_bug.cgi?id=128434 Reviewed by Anders Carlsson. * Source/cmake/OptionsGTK.cmake: Add -fno-omit-frame-pointer to the GTK+ CMake port as well as -fno-tree-dce, like it is used in the autotools build. 2014-02-17 ChangSeok Oh [GTK] MEDIA_CONTROLS_SCRIPT depends on VIDEO_TRACK https://bugs.webkit.org/show_bug.cgi?id=128799 Reviewed by Philippe Normand. MEDIA_CONTROLS_SCRIPT has a dependency on VIDEO_TRACK. So it causes a build break if building with autotools. cmake system has enabled it as default. So I propose enabling VIDEO_TRACK as well. * Source/autotools/SetupWebKitFeatures.m4: 2014-02-14 Commit Queue Unreviewed, rolling out r164090. http://trac.webkit.org/changeset/164090 https://bugs.webkit.org/show_bug.cgi?id=128807 It broke the EFL build (Requested by Ossy on #webkit). * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsEfl.cmake: 2014-02-09 Martin Robinson [GTK] [CMake] JavaScriptCore crashes in JSC::eval https://bugs.webkit.org/show_bug.cgi?id=128434 Extend a fix for EFL to all ports that use GCC. Also include further fixes that were applied only to the autotools build. Reviewed by Gyuyoung Kim. * Source/cmake/OptionsCommon.cmake: Add -fno-omit-frame-pointer to all ports as well as -fno-tree-dce, which is necessary for GTK+. * Source/cmake/OptionsEfl.cmake: The GCC flag additions are now in the common options file. 2014-02-04 Gustavo Noronha Silva [GTK][CMake] Generate GObject DOM bindings .symbols files https://bugs.webkit.org/show_bug.cgi?id=126210 Reviewed by Martin Robinson. * Source/PlatformGTK.cmake: add checking DOM bindings API as a dependency for documentation generation. 2014-02-13 Xabier Rodriguez Calvar [GTK] MEDIA_CONTROLS_SCRIPT support https://bugs.webkit.org/show_bug.cgi?id=123097 Reviewed by Jer Noble. Part of the Autotools and CMake structure to build the media controls script. * Source/autotools/SetupWebKitFeatures.m4: Activated the media controls script by default. * Source/cmake/OptionsGTK.cmake: Activated the media controls script by default. * Source/cmake/WebKitFeatures.cmake: Created the option to activate the controls script. * Source/cmakeconfig.h.cmake: Created the define template the the media controls script. 2014-02-12 Zan Dobersek [GDB] Add .gdbinit to the list of files ignored by Git https://bugs.webkit.org/show_bug.cgi?id=128455 Reviewed by Anders Carlsson. * .gitignore: Ignore the .gdbinit file which can be used to perform WebKit-specific GDB initialization when the debugger is launched in the repository's root directory. Also remove a Chromium-specific comment that covers already removed entries. 2014-02-11 Oliver Hunt Make it possible to implement JS builtins in JS https://bugs.webkit.org/show_bug.cgi?id=127887 Reviewed by Michael Saboff. * GNUmakefile.am: * Source/cmake/gtest/CMakeLists.txt: 2014-02-12 Ryan Lortie 'ar T' is not portable and breaks the build on FreeBSD https://bugs.webkit.org/show_bug.cgi?id=128596 Reviewed by Gustavo Noronha Silva. Create thin archives only if we are using GNU ar. * Source/autotools/SetupLibtool.m4: 2014-02-10 Krzysztof Wolanski Add the CSS_SHAPE_INSIDE to CMake feature list https://bugs.webkit.org/show_bug.cgi?id=128530 Reviewed by Gyuyoung Kim. CSS_SHAPE_INSIDE flag was added in r163333, this patch is adding this flag to CMake feature list. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-02-09 Carlos Garnacho [GTK] Enable touch features https://bugs.webkit.org/show_bug.cgi?id=98931 Reviewed by Carlos Garcia Campos. * Source/autotools/SetupWebKitFeatures.m4: * Source/cmake/OptionsGTK.cmake: set ENABLE_TOUCH_EVENTS to 1 if building with GTK+. 2014-02-06 Andreas Kling Remove unused ENABLE(REPAINT_THROTTLING) flag. Reviewed by Antti Koivisto. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-02-06 Joseph Pecoraro [iOS] make should build WebKit2 https://bugs.webkit.org/show_bug.cgi?id=128351 Reviewed by Daniel Bates. * Source/Makefile: 2014-02-05 Andreas Kling Remove ENABLE(DIRECTORY_UPLOAD). Rubber-stamped by Ryosuke Niwa. * Source/autotools/SetupWebKitFeatures.m4: * Source/cmake/WebKitFeatures.cmake: 2014-02-05 Csaba Osztrogonác Remove ENABLE(SVG) guards https://bugs.webkit.org/show_bug.cgi?id=127991 Reviewed by Sam Weinig. * Source/autotools/FindDependencies.m4: * Source/autotools/PrintBuildConfiguration.m4: * Source/autotools/ReadCommandLineArguments.m4: * Source/autotools/SetupAutomake.m4: * Source/autotools/SetupWebKitFeatures.m4: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: 2014-02-04 Andreas Kling Remove