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