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