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