blob: b50c8643828a355c884ae62ad1b96dec16739822 [file] [log] [blame]
2017-12-28 Fujii Hironori <Hironori.Fujii@sony.com>
[Win][CMake] Use add_custom_command to copy each forwarding header files
https://bugs.webkit.org/show_bug.cgi?id=180921
Reviewed by Brent Fulgham.
Modifying WTF header files didn't trigger the recompilation of
TestWTF because Ninja doesn't know which command generates the
forwarding header.
Use add_custom_command to copy each forwarding header files.
* Source/cmake/WebKitMacros.cmake: Added a new function WEBKIT_MAKE_FORWARDING_HEADERS.
2017-12-22 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] Duplicated symbols in libjavascriptcoregtk and libwebkit2gtk can cause crashes in production builds
https://bugs.webkit.org/show_bug.cgi?id=179914
Reviewed by Carlos Garcia Campos.
Let's build JSC as a static library, and link that static lib to *both* our shared
libjavascriptcoregtk and libwebkit2gtk. Then we can fix this and also filter out all the
private symbols that we're currently exposing in libjavascriptcoregtk, which wouldn't be
possible otherwise. The cost of this is disk space. I think this trade-off is reasonable,
because it's the best way I could think of that accomplishes all our goals: (a) install two
shared libs, (b) export only public API symbols, (c) does not require any linker hacks.
Additionally, build with -fvisibility=hidden so that the compiler knows that many symbols
will be stripped out. This should improve code generation. It's actually how WPE was
previously compiled, but I removed this when I added the version script for WPE, because I
thought it was redundant with the version script. It is not, and we should use both,
according to Ulrich Drepper's "How to Write Shared Libraries." We will use
-fvisibility=hidden on all ports; this should be fine, as long as export macros are used
where needed. This is actually a totally separate change, but it makes sense to do it now if
we consider this bug a catch-all "fix how we link WebKit" issue.
* CMakeLists.txt: Rejigger the default library types, and remove the SHARED_CORE option,
which is not likely to work properly in ports that are not expecting it. These changes are
only mildly-related and certainly not required, but it makes sense to clean them up now.
* Source/cmake/OptionsGTK.cmake: Don't set the version script here.
* Source/cmake/OptionsJSCOnly.cmake: Adjust to changes in default library types.
* Source/cmake/OptionsMac.cmake: Adjust to changes in default library types. Override the
library type variables only when required.
* Source/cmake/OptionsWPE.cmake: Overriding the library type variables is no longer
required. Also, don't set the version script here.
* Source/cmake/OptionsWin.cmake: Adjust to changes in default library types. Override the
library type variables only when required.
* Source/cmake/WebKitCompilerFlags.cmake: Build with -fvisibility=hidden,
-fvisibility-inlines-hidden, and -Wno-attributes.
* Source/cmake/wpesymbols.filter: Removed.
2017-12-20 Don Olmstead <don.olmstead@sony.com>
[CMake][Win] Add a way to set CMAKE_IGNORE_PATH
https://bugs.webkit.org/show_bug.cgi?id=181056
Reviewed by Konstantin Tokarev.
* Source/cmake/OptionsWin.cmake:
2017-12-20 Daniel Bates <dabates@apple.com>
Remove Alternative Presentation Button
https://bugs.webkit.org/show_bug.cgi?id=180500
<rdar://problem/35891047>
Reviewed by Simon Fraser.
We no longer need the alternative presentation button.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-12-20 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake][WTF] Lowercase ForwardingHeaders directory name of WTF
https://bugs.webkit.org/show_bug.cgi?id=181022
Reviewed by Konstantin Tokarev.
ForwardingHeaders of WTF are included as <wtf/FooBar.h>. But, the
directory name was uppercase DerivedSources/ForwardingHeaders/WTF.
This confuses Ninja dependency tracking. It should be lowercase.
* Source/cmake/WebKitMacros.cmake: Renamed ForwardingHeaders directory name WTF to wtf.
2017-12-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
[WinCairo] Move the destination of WinCairoRequirements.zip into WebKitLibraries and register it and related files as git ignore files.
https://bugs.webkit.org/show_bug.cgi?id=180875
Reviewed by Alex Christensen.
Add files extracted from WinCairoRequirements.zip
* .gitignore:
2017-12-14 Tomas Popela <tpopela@redhat.com>
Build should fail early is needed Perl modules are not installed
https://bugs.webkit.org/show_bug.cgi?id=180137
Reviewed by Michael Catanzaro.
Don't finish the configure successfully if the required Perl modules
are not installed. Start to require modules that are needed for
WPE/GTK+ ports.
* Source/cmake/FindPerlModules.cmake: Copied from
https://github.com/KDE/kdelibs4support/blob/master/cmake/FindPerlModules.cmake
and made it WebKit style compliant.
* Source/cmake/WebKitCommon.cmake:
2017-12-13 Carlos Alberto Lopez Perez <clopez@igalia.com>
[WPE] WebCrypto should be a public option.
https://bugs.webkit.org/show_bug.cgi?id=180780
Reviewed by Konstantin Tokarev.
Make ENABLE_WEB_CRYPTO public and lower the dependency requirements
when this option is not enabled. This is also how the GTK+ port
configures the visibility of this option and its dependencies.
* Source/cmake/OptionsWPE.cmake:
2017-12-13 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.3 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-12-12 Don Olmstead <don.olmstead@sony.com>
[WinCairo] Enable WebP support
https://bugs.webkit.org/show_bug.cgi?id=179908
Reviewed by Konstantin Tokarev.
* Source/cmake/OptionsWinCairo.cmake:
2017-12-08 Fujii Hironori <Hironori.Fujii@sony.com>
[WinCairo][Ninja] Incremental build failure of WTF
https://bugs.webkit.org/show_bug.cgi?id=180521
Reviewed by Konstantin Tokarev.
WTF included its forwarding headers in Windows ports. The
directory DerivedSources/ForwardingHeaders shouldn't be a include
path for WTF.
* Source/cmake/OptionsWin.cmake:
Removed DerivedSources/ForwardingHeaders and DerivedSources from include paths.
2017-12-07 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE][GTK] Freeze WebKit version in user agent
https://bugs.webkit.org/show_bug.cgi?id=180475
Reviewed by Carlos Garcia Campos.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-12-05 Stephan Szabo <stephan.szabo@sony.com>
Switch windows build to Visual Studio 2017
https://bugs.webkit.org/show_bug.cgi?id=172412
Reviewed by Per Arne Vollan.
* Source/cmake/OptionsMSVC.cmake:
2017-12-01 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Make description of ENABLE_DRAG_SUPPORT more informative
https://bugs.webkit.org/show_bug.cgi?id=180266
Reviewed by Michael Catanzaro.
When disabled, it also disables selection of text with dragging, and this
comes as a surprise for many people.
* Source/cmake/WebKitFeatures.cmake:
2017-12-01 Michael Catanzaro <mcatanzaro@igalia.com>
[GStreamer] Fix USE_GSTREAMER_GL check for GStreamer 1.10
https://bugs.webkit.org/show_bug.cgi?id=180256
Reviewed by Carlos Alberto Lopez Perez.
It's not safe to change the value of build options after WEBKIT_OPTION_END, since it breaks
the option dependency checker. I don't think that actually hurts anything in this case, but
let's not encourage bad practice. Also, it's not good for features to be secretly disabled.
Nobody reads CMake output unless there is a fatal error. Failing the build at the CMake
stage lets distributors know that a feature will be missing. And of course, it's still
possible to disable USE_GSTREAMER_GL to avoid the increased GStreamer requirement.
* Source/cmake/GStreamerChecks.cmake:
2017-12-01 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] [MSE] Turn MSE on by default
https://bugs.webkit.org/show_bug.cgi?id=167107
Reviewed by Carlos Alberto Lopez Perez.
Turn on the ENABLE_MEDIA_SOURCE build option. Fail the build if GStreamer 1.8 is not
installed and ENABLE_MEDIA_SOURCE has not been disabled.
* Source/cmake/GStreamerChecks.cmake:
* Source/cmake/GStreamerDefinitions.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-11-30 Stephan Szabo <stephan.szabo@sony.com>
Make LegacyCustomProtocolManager optional for network process
https://bugs.webkit.org/show_bug.cgi?id=176230
Reviewed by Alex Christensen.
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-11-29 Alex Christensen <achristensen@webkit.org>
Fix Mac CMake build.
* Source/cmake/OptionsMac.cmake:
2017-11-28 Michael Catanzaro <mcatanzaro@igalia.com>
REGRESSION(r225098): [WPE] Some features have changed of value (70 new failures)
https://bugs.webkit.org/show_bug.cgi?id=180004
Reviewed by Alex Christensen.
Turn on ENABLE_ENCRYPTED_MEDIA and ENABLE_WEBGL2 when building with
ENABLE_EXPERIMENTAL_FEATURES. Also, let's stop turning off ENABLE_USERSELECT_ALL, as I doubt
there's any good reason for that.
* Source/cmake/OptionsWPE.cmake:
2017-11-27 Don Olmstead <don.olmstead@sony.com>
[CMake][Win] Conditionally select DLL CRT or static CRT
https://bugs.webkit.org/show_bug.cgi?id=170594
Reviewed by Alex Christensen.
* Source/cmake/OptionsAppleWin.cmake:
* Source/cmake/OptionsMSVC.cmake:
2017-11-27 Adrian Perez de Castro <aperez@igalia.com>
[CMake] Values of CMAKE_BUILD_TYPE from toolchain file are ignored
https://bugs.webkit.org/show_bug.cgi?id=179971
Reviewed by Carlos Alberto Lopez Perez.
* CMakeLists.txt: Call project() first, as it loads the toolchain
file, so that's done before checking CMAKE_BUILD_TYPE.
2017-11-22 Michael Catanzaro <mcatanzaro@igalia.com>
Sanity-check feature defaults in WebKitFeatures.cmake
https://bugs.webkit.org/show_bug.cgi?id=179095
Reviewed by Konstantin Tokarev.
Change the default value of some features in WebKitFeatures.cmake to reduce the number of
Options*.cmake files the feature's default value must be overridden in.
Remove feature definitions where they are redundant with the definition in
WebKitFeatures.cmake, particluarly in OptionsMac.cmake.
This commit should not include any functional changes. It just aims to reduce the total
number of times we need to call WEBKIT_OPTION_DEFAULT_PORT_VALUE.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsJSCOnly.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-11-22 Tim Horton <timothy_horton@apple.com> and Michael Catanzaro <mcatanzaro@igalia.com>
Remove build-webkit's notion of feature flags having a default value
https://bugs.webkit.org/show_bug.cgi?id=177338
Reviewed by Carlos Alberto Lopez Perez.
Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-11-21 Zan Dobersek <zdobersek@igalia.com>
Drop ENABLE_IMAGE_DECODER_DOWN_SAMPLING code
https://bugs.webkit.org/show_bug.cgi?id=179921
Reviewed by Carlos Garcia Campos.
* Source/cmake/WebKitFeatures.cmake: Remove the CMake option that
enabled IMAGE_DECODER_DOWN_SAMPLING code.
2017-11-20 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.2 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-11-20 Michael Catanzaro <mcatanzaro@igalia.com>
Remove ENABLE_ALLINONE_BUILD option
https://bugs.webkit.org/show_bug.cgi?id=179823
Reviewed by Darin Adler.
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-11-19 Tim Horton <timothy_horton@apple.com>
Remove unused TOUCH_ICON_LOADING feature flag
https://bugs.webkit.org/show_bug.cgi?id=179873
Reviewed by Simon Fraser.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-11-19 Yusuke Suzuki <utatane.tea@gmail.com>
Add CPU(UNKNOWN) to cover all the unknown CPU types
https://bugs.webkit.org/show_bug.cgi?id=179243
Reviewed by JF Bastien.
Drop SH4, S390, and S390X explicit support. They are handled as CPU(UNKNOWN).
* CMakeLists.txt:
2017-11-19 Tim Horton <timothy_horton@apple.com>
Remove unused LEGACY_VENDOR_PREFIXES feature flag
https://bugs.webkit.org/show_bug.cgi?id=179872
Reviewed by Darin Adler.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-11-16 Don Olmstead <don.olmstead@sony.com>
[WinCairo] Update WinCairoRequirements
https://bugs.webkit.org/show_bug.cgi?id=179790
Reviewed by Alex Christensen.
* Source/cmake/OptionsWinCairo.cmake:
2017-11-16 Daniel Bates <dabates@apple.com>
Add feature define for alternative presentation button element
https://bugs.webkit.org/show_bug.cgi?id=179692
Part of <rdar://problem/34917108>
Reviewed by Andy Estes.
Only enabled on Cocoa platforms by default.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-11-16 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE] Expose ENABLE_JIT and USE_SYSTEM_MALLOC options
https://bugs.webkit.org/show_bug.cgi?id=179730
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/OptionsWPE.cmake:
2017-11-15 Carlos Garcia Campos <cgarcia@igalia.com>
[WPE] Add initial support for WebDriver
https://bugs.webkit.org/show_bug.cgi?id=179727
Reviewed by Michael Catanzaro.
Enable WebDriver by default in WPE.
* Source/cmake/OptionsWPE.cmake:
2017-11-15 Keith Miller <keith_miller@apple.com>
Unreviewed, sort async iteration feature.
* Source/cmake/WebKitFeatures.cmake:
2017-11-15 Keith Miller <keith_miller@apple.com>
REGRESSION(r224787): [Linux] Introduced 144 GTK/WPE JS test failures
https://bugs.webkit.org/show_bug.cgi?id=179704
Reviewed by Yusuke Suzuki.
Add feature flag for Async iteration.
* Source/cmake/WebKitFeatures.cmake:
2017-11-13 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] Require woff2 1.0.2 and drop direct brotli dependency
https://bugs.webkit.org/show_bug.cgi?id=179630
Reviewed by Frédéric Wang.
* Source/cmake/FindBrotliDec.cmake: Removed.
* Source/cmake/OptionsGTK.cmake:
2017-11-09 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE] Use linker script to control exported symbols
https://bugs.webkit.org/show_bug.cgi?id=179358
Reviewed by Carlos Alberto Lopez Perez.
The C API is being inadvertently exported because it's marked as WEBKIT_EXPORT in the header
files. But of course it should only be exported in DEVELOPER_MODE, where it's needed for
WebKitTestRunner. Use (almost) the same linker version script as GTK to fix this. It's
slightly different because WPE does not have WebKitPluginProcess.
This also reduces binary size of libWPEWebKit.so in debug mode from 615 MB down to 497 MB.
(Haven't checked release mode.)
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/wpesymbols.filter: Added.
2017-11-08 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE] Turn on ENABLE_INDEXED_DATABASE_IN_WORKERS
https://bugs.webkit.org/show_bug.cgi?id=179094
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/OptionsWPE.cmake:
2017-11-07 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE] Turn on ENABLE_MEDIA_SOURCE
https://bugs.webkit.org/show_bug.cgi?id=179093
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/OptionsWPE.cmake:
2017-11-06 Michael Catanzaro <mcatanzaro@igalia.com>
Unreviewed, fix WPE build after r224492
https://bugs.webkit.org/show_bug.cgi?id=179009
* Source/cmake/OptionsWPE.cmake:
2017-11-06 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE] Clean up OptionsWPE.cmake
https://bugs.webkit.org/show_bug.cgi?id=179009
Reviewed by Žan Doberšek.
* Source/cmake/OptionsWPE.cmake:
2017-11-06 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE][GTK] Always use SET_AND_EXPOSE_TO_BUILD to set build variables
https://bugs.webkit.org/show_bug.cgi?id=179038
Reviewed by Žan Doberšek.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-11-03 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE][GTK] Avoid duplicating code for dist and distcheck targets
https://bugs.webkit.org/show_bug.cgi?id=179154
Reviewed by Carlos Garcia Campos.
This commit just reduces some CMake code duplication between GTK and WPE.
* Source/PlatformGTK.cmake:
* Source/PlatformWPE.cmake:
* Source/cmake/WebKitDist.cmake: Added.
2017-11-02 Tim Horton <timothy_horton@apple.com>
Reduce duplication in the toplevel Makefile
https://bugs.webkit.org/show_bug.cgi?id=179204
Unreviewed build fix.
* Source/Makefile:
Take three. An empty SDKROOT should be like Mac (and build all the things).
2017-11-02 Tim Horton <timothy_horton@apple.com>
Reduce duplication in the toplevel Makefile
https://bugs.webkit.org/show_bug.cgi?id=179204
* Source/Makefile:
Address some post-landing review comments to keep the order of the MODULES correct.
2017-11-02 Tim Horton <timothy_horton@apple.com>
Reduce duplication in the toplevel Makefile
https://bugs.webkit.org/show_bug.cgi?id=179204
Reviewed by Simon Fraser.
* Source/Makefile:
Make MODULES additive instead of completely repeated, and only build
libwebrtc where it's needed.
2017-11-02 Alberto Garcia <berto@igalia.com>
Unreviewed, fix typos in library names for the GTK+ port.
* Source/cmake/OptionsGTK.cmake:
2017-10-31 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.1 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-10-31 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Fix GTK+/WPE make distcheck.
* CMakeLists.txt: Only include PerformanceTests directory to the build for GTK+ and WPE ports when developer
mode is enabled.
2017-10-26 Adrian Perez de Castro <aperez@igalia.com>
[WPE] Use proper shared object versioning for libWPEWebKit.so
https://bugs.webkit.org/show_bug.cgi?id=178878
Reviewed by Michael Catanzaro.
Move the CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE() to a new CMake include file,
and use it both for the GTK+ and WPE ports. Also add a SET_PROJECT_VERSION() macro to
unify setting the PROJECT_VERSION* family of variables.
* Source/cmake/OptionsGTK.cmake: Use the common macros imported from VersioningUtils.cmake.
* Source/cmake/OptionsWPE.cmake: Properly assign a shared object version to libWPEWebKit.so,
using the common macros from VersioningUtils.cmake.
* Source/cmake/VersioningUtils.cmake: Added.
2017-10-26 Adrian Perez de Castro <aperez@igalia.com>
[GTK] WebKit library .so version is not being set correctly
https://bugs.webkit.org/show_bug.cgi?id=178873
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake: Adjust name of the target for which the .so version gets calculated.
2017-10-24 Stephan Szabo <stephan.szabo@sony.com>
[Win][JSCOnly] Make jsconly build testapi and dlls and copy dlls when running tests
https://bugs.webkit.org/show_bug.cgi?id=177279
Reviewed by Yusuke Suzuki.
* Source/cmake/OptionsJSCOnly.cmake:
2017-10-21 Tim Horton <timothy_horton@apple.com>
Turn on ccache for Mac cmake builds by default
https://bugs.webkit.org/show_bug.cgi?id=177059
Reviewed by Sam Weinig.
* Source/cmake/WebKitCCache.cmake: Added.
* Source/cmake/WebKitCommon.cmake:
Turn on ccache for Mac CMake builds (Makefile and Ninja generators only)
if it's installed, making use of CMake's ability to wrap the compiler invocation.
2017-10-20 Antoine Quint <graouts@apple.com>
[Web Animations] Provide basic timeline and animation interfaces
https://bugs.webkit.org/show_bug.cgi?id=178526
Reviewed by Dean Jackson.
Remove the WEB_ANIMATIONS compile-time flag.
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-10-18 Keith Miller <keith_miller@apple.com>
Setup WebCore build to start using unified sources.
https://bugs.webkit.org/show_bug.cgi?id=178362
Reviewed by Tim Horton.
Pass features to the unified source bundler script.
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/WebKitMacros.cmake:
2017-10-18 Zan Dobersek <zdobersek@igalia.com>
Remove remnants of OpenWebRTC
https://bugs.webkit.org/show_bug.cgi?id=178437
Reviewed by Alejandro G. Castro.
Remove the FindOpenWebRTC.cmake file and the searches for it in both
OptionsGTK and OptionsWPE.
* Source/cmake/FindOpenWebRTC.cmake: Removed.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-10-10 Adrian Perez de Castro <aperez@igalia.com>
[WPE] Remove the possibility of installing the old WebKit2 C API
https://bugs.webkit.org/show_bug.cgi?id=178125
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsWPE.cmake: Remove definition of the EXPORT_DEPRECATED_WEBKIT2_C_API
build option.
2017-10-10 Michael Catanzaro <mcatanzaro@igalia.com>
[WPE] Expose ENABLE_XSLT option
https://bugs.webkit.org/show_bug.cgi?id=177857
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/OptionsWPE.cmake:
2017-10-09 Adrian Perez de Castro <aperez@igalia.com>
[WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config
https://bugs.webkit.org/show_bug.cgi?id=178081
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/FindLibEpoxy.cmake: Define the ${LIBEPOXY_DEFINITIONS} variable when libepoxy
is found by pkg-config. This contains the value of the "Cflags" field from "epoxy.pc".
2017-10-05 Frederic Wang <fwang@igalia.com>
Remove WOFF2 from Source/ThirdParty.
https://bugs.webkit.org/show_bug.cgi?id=177862
Reviewed by Michael Catanzaro.
* Source/CMakeLists.txt: Do not build the woff2 source.
* Source/cmake/FindWOFF2Dec.cmake: Added. New cmake module for woff2.
* Source/cmake/OptionsGTK.cmake: Load the woff2 package.
2017-10-05 Carlos Alberto Lopez Perez <clopez@igalia.com>
Generate a compile error if release is built without compiler optimizations
https://bugs.webkit.org/show_bug.cgi?id=177665
Reviewed by Brian Burg.
Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset.
* CMakeLists.txt:
2017-10-05 Tim Horton <timothy_horton@apple.com>
Make progress toward properly-formed XPC services in the Mac CMake build
https://bugs.webkit.org/show_bug.cgi?id=177918
Reviewed by Alex Christensen.
* Source/cmake/WebKitMacros.cmake:
Add a macro wrapper around 'ln'.
2017-10-03 Frederic Wang <fwang@igalia.com>
Remove Brotli from Source/ThirdParty
https://bugs.webkit.org/show_bug.cgi?id=177804
Reviewed by Michael Catanzaro.
* Source/CMakeLists.txt: Do not build ThirdParty/brotli anymore.
* Source/cmake/FindBrotliDec.cmake: Added. New cmake module to find Brotli via PkgConfig.
* Source/cmake/OptionsGTK.cmake: Expose USE_WOFF2 as a public option and use find_package
to look for brotli.
2017-10-05 Yusuke Suzuki <utatane.tea@gmail.com>
[Linux] Port MallocBench
https://bugs.webkit.org/show_bug.cgi?id=177856
Reviewed by Filip Pizlo.
* CMakeLists.txt:
2017-10-04 Ryan Haddad <ryanhaddad@apple.com>
Unreviewed, rolling out r222840.
This change breaks internal builds.
Reverted changeset:
"Generate a compile error if release is built without compiler
optimizations"
https://bugs.webkit.org/show_bug.cgi?id=177665
http://trac.webkit.org/changeset/222840
2017-10-04 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r222775.
https://bugs.webkit.org/show_bug.cgi?id=177890
Significantly increased the WebKit build time (Requested by
rniwa on #webkit).
Reverted changeset:
"Build libwebrtc unit tests executables"
https://bugs.webkit.org/show_bug.cgi?id=177211
http://trac.webkit.org/changeset/222775
2017-10-04 Miguel Gomez <magomez@igalia.com>
Add animation support for WebP images
https://bugs.webkit.org/show_bug.cgi?id=113124
Reviewed by Žan Doberšek.
* Source/cmake/FindWebP.cmake:
2017-10-04 Carlos Alberto Lopez Perez <clopez@igalia.com>
Generate a compile error if release is built without compiler optimizations
https://bugs.webkit.org/show_bug.cgi?id=177665
Reviewed by Michael Catanzaro.
Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset.
* CMakeLists.txt:
2017-10-03 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
[GLib] Let WebCore know of low power situations
https://bugs.webkit.org/show_bug.cgi?id=177810
Reviewed by Carlos Garcia Campos.
WebCore can use knowledge of low power situations to throttle timers and avoid expensive
checks, lowering power usage. We can use upower's warning level to let WebCore know we are
in such a situation.
* Source/cmake/OptionsGTK.cmake: depend on upower-glib.
* Source/cmake/FindUPowerGLib.cmake: Added.
2017-10-03 Youenn Fablet <youenn@apple.com>
Build libwebrtc unit tests executables
https://bugs.webkit.org/show_bug.cgi?id=177211
Reviewed by Alex Christensen.
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-10-02 Olivier Blin <olivier.blin@softathome.com>
[WPE] Remove GnuTLS dependency
https://bugs.webkit.org/show_bug.cgi?id=177750
Reviewed by Michael Catanzaro.
libgcrypt is used by default instead of GnuTLS.
See bug 163125
* Source/cmake/OptionsWPE.cmake:
2017-10-02 Olivier Blin <olivier.blin@softathome.com>
[WPE] Do not require XSLT if disabled
https://bugs.webkit.org/show_bug.cgi?id=177752
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsWPE.cmake: libxslt is not a hard dep
2017-10-02 Michael Catanzaro <mcatanzaro@igalia.com>
Remove ENABLE_CSS_REGIONS
https://bugs.webkit.org/show_bug.cgi?id=177689
Reviewed by Darin Adler.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-09-29 Matt Lewis <jlewis3@apple.com>
Unreviewed, rolling out r222652.
This broke an internal build.
Reverted changeset:
"Build libwebrtc unit tests executables"
https://bugs.webkit.org/show_bug.cgi?id=177211
http://trac.webkit.org/changeset/222652
2017-09-29 Youenn Fablet <youenn@apple.com>
Build libwebrtc unit tests executables
https://bugs.webkit.org/show_bug.cgi?id=177211
Reviewed by Alex Christensen.
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-09-27 Ryan Haddad <ryanhaddad@apple.com>
Unreviewed, rolling out r222537.
This change broke internal builds.
Reverted changeset:
"Build libwebrtc unit tests executables"
https://bugs.webkit.org/show_bug.cgi?id=177211
http://trac.webkit.org/changeset/222537
2017-09-26 Youenn Fablet <youenn@apple.com>
Build libwebrtc unit tests executables
https://bugs.webkit.org/show_bug.cgi?id=177211
Reviewed by Alex Christensen.
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-09-26 Keith Miller <keith_miller@apple.com>
CMake should reconfigure if the Sources.txt files are touched
https://bugs.webkit.org/show_bug.cgi?id=177508
Reviewed by JF Bastien.
* Source/cmake/WebKitMacros.cmake:
2017-09-24 Keith Miller <keith_miller@apple.com>
JSC build should use unified sources for derived sources
https://bugs.webkit.org/show_bug.cgi?id=177421
Reviewed by JF Bastien.
* Source/cmake/WebKitMacros.cmake:
2017-09-26 Zan Dobersek <zdobersek@igalia.com>
[CMake] Use implicit include directories for Clang as well
https://bugs.webkit.org/show_bug.cgi?id=177426
Reviewed by Michael Catanzaro.
In WebKitCompilerFlags.cmake, also gather and use the system
include directories for C and C++ build targets when compiling
with Clang. This fixes compilation errors when cross-building
WebKit with a Clang-based toolchain.
COMPILER_IS_GCC_OR_CLANG is used to check for GCC or Clang
compilers. That only checks for the C++ compiler, but it's not
reasonable to expect two widely different compilers being used
for C and C++ compilation.
* Source/cmake/WebKitCompilerFlags.cmake:
2017-09-25 Timothy Horton <timothy_horton@apple.com>
Make progress on getting Mac CMake building again
https://bugs.webkit.org/show_bug.cgi?id=177443
Unreviewed, just "fixing" the build.
* Source/cmake/OptionsMac.cmake:
Turn on WEB_CRYPTO on Mac. We need to do a bigger cleanup of feature
defines, but this one is important because we have SUBTLE_CRYPTO on
and there is some amount of interdependency.
2017-09-22 Per Arne Vollan <pvollan@apple.com>
[Win] WebKit is built as a static library, and not as a dll.
https://bugs.webkit.org/show_bug.cgi?id=177365
Reviewed by Brent Fulgham.
Set target type for WebKitLegacy target.
* Source/cmake/OptionsWin.cmake:
2017-09-22 Matt Lewis <jlewis3@apple.com>
Unreviewed, rolling out r222394.
This broke the Windows Debug Build.
Reverted changeset:
"Remove build-webkit's notion of feature flags having a
default value"
https://bugs.webkit.org/show_bug.cgi?id=177338
http://trac.webkit.org/changeset/222394
2017-09-22 Tim Horton <timothy_horton@apple.com> and Michael Catanzaro <mcatanzaro@igalia.com>
Remove build-webkit's notion of feature flags having a default value
https://bugs.webkit.org/show_bug.cgi?id=177338
Reviewed by Alex Christensen.
Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-09-20 Keith Miller <keith_miller@apple.com>
JSC should use unified sources for platform specific files.
https://bugs.webkit.org/show_bug.cgi?id=177290
Reviewed by Michael Saboff.
Change WEBKIT_COMPUTE_SOURCES CMake macro to look for platform
specific unified source lists. This is done in the same way that
we look for port specific configuration files. For example, if I
were building for the Mac port WEBKIT_COMPUTE_SOURCES would add
the Sources.txt and SourcesMac.txt source lists to the list of
unified sources.
* Source/cmake/WebKitMacros.cmake:
2017-09-20 Keith Miller <keith_miller@apple.com>
JSC Xcode build should use unified sources for platform independent files
https://bugs.webkit.org/show_bug.cgi?id=177190
Reviewed by Saam Barati.
Add a macro for collecting the set of "header" source files and adding the bundle
files to the "sources" list.
* Source/cmake/WebKitMacros.cmake:
2017-09-20 Michael Catanzaro <mcatanzaro@igalia.com>
REGRESSION(r222194) [WPE] Library and executable output names broken
https://bugs.webkit.org/show_bug.cgi?id=177273
Reviewed by Carlos Alberto Lopez Perez.
Move the WebKit2 output name variables from here to Source/WebKit.
* Source/cmake/OptionsWPE.cmake:
2017-09-20 Alberto Garcia <berto@igalia.com>
Fix HPPA and Alpha builds
https://bugs.webkit.org/show_bug.cgi?id=177224
Reviewed by Alex Christensen.
* CMakeLists.txt:
2017-09-19 Carlos Alberto Lopez Perez <clopez@igalia.com>
[CMake] Add ENABLE_WEB_CRYPTO option and make ENABLE_SUBTLE_CRYPTO depend on it.
https://bugs.webkit.org/show_bug.cgi?id=177180
Reviewed by Michael Catanzaro.
This adds a ENABLE_WEB_CRYPTO flag and makes ENABLE_SUBTLE_CRYPTO depend on it.
The GTK and WPE ports enable them and set ENABLE_WEB_CRYPTO to public.
* Source/cmake/OptionsGTK.cmake: Set both features to ON and ENABLE_WEB_CRYPTO to public. No change in behaviour for GTK.
* Source/cmake/OptionsWPE.cmake: Do like on the GTK port. The public flag is now ENABLE_WEB_CRYPTO.
* Source/cmake/WebKitFeatures.cmake: Add the definition of ENABLE_WEB_CRYPTO and make ENABLE_SUBTLE_CRYPTO depend on it.
2017-09-18 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit
https://bugs.webkit.org/show_bug.cgi?id=174558
Reviewed by Alex Christensen.
* CMakeLists.txt:
* Source/PlatformGTK.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitFS.cmake:
2017-09-18 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>
[Win][PAL] Move WebCoreHeaderDetection.h to PAL
https://bugs.webkit.org/show_bug.cgi?id=176990
Reviewed by Alex Christensen.
Create DerivedSources directory for PAL if WebCore build is enabled.
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitFS.cmake:
2017-09-15 Konstantin Tokarev <annulen@yandex.ru>
Consider enabling -Wno-expansion-to-defined for gcc 7
https://bugs.webkit.org/show_bug.cgi?id=167643
Reviewed by Michael Catanzaro.
Don't disable -Wexpansion-to-defined for Clang.
As suggested by Nico Weber, this warning produces false positives with
GCC only.
* Source/cmake/WebKitCompilerFlags.cmake:
2017-09-14 Yousuke Kimoto <yousuke.kimoto@sony.com>
[WinCairo] Add an option to build WebKitLegacy or WebKit
https://bugs.webkit.org/show_bug.cgi?id=176891
Added an option to build WebKitLegacy or WebKit.
Reviewed by Alex Christensen.
* Source/cmake/OptionsWin.cmake:
2017-09-13 Don Olmstead <don.olmstead@sony.com>
[CMake] Detect harfbuzz without pkgconfig
https://bugs.webkit.org/show_bug.cgi?id=176886
Reviewed by Michael Catanzaro.
* Source/cmake/FindHarfBuzz.cmake:
2017-09-07 Adrian Perez de Castro <aperez@igalia.com>
[WPE][CMake] Add "dist" and "distcheck" targets
https://bugs.webkit.org/show_bug.cgi?id=176448
Reviewed by Carlos Garcia Campos.
Add "dist" and "distcheck" CMake targets, which create release tarballs.
These are available only when configuring with -DDEVELOPER_MODE=TRUE.
* Source/PlatformWPE.cmake: Added.
* Source/cmake/FindXz.cmake: Added.
2017-09-05 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Wrong use of PLUGIN_ARCHITECTURE(X11) in several places
https://bugs.webkit.org/show_bug.cgi?id=176329
Reviewed by Michael Catanzaro.
Only define MOZ_X11 if X11 target is enabled and always define XP_UNIX if NETSCAPE_PLUGIN_API is enabled.
* Source/cmake/OptionsGTK.cmake:
2017-09-03 Sam Weinig <sam@webkit.org>
Remove CanvasProxy
https://bugs.webkit.org/show_bug.cgi?id=176288
Reviewed by Yusuke Suzuki.
CanvasProxy does not appear to be in any current HTML spec
and was disabled and unimplemented in our tree. Time to
get rid of it.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-31 Don Olmstead <don.olmstead@sony.com>
[CMake] Make USE_CF conditional within Windows
https://bugs.webkit.org/show_bug.cgi?id=176173
Reviewed by Alex Christensen.
* Source/cmake/OptionsAppleWin.cmake:
* Source/cmake/OptionsWinCairo.cmake:
2017-08-30 Don Olmstead <don.olmstead@sony.com>
[CMake][WinCairo] Use find_package for libpng and libjpeg
https://bugs.webkit.org/show_bug.cgi?id=176113
Reviewed by Alex Christensen.
* Source/cmake/OptionsWinCairo.cmake:
2017-08-30 Carlos Alberto Lopez Perez <clopez@igalia.com>
[WPE] Enable MEMORY_SAMPLER
https://bugs.webkit.org/show_bug.cgi?id=176099
Reviewed by Michael Catanzaro.
Enable the otion at build time by default on Linux (currently
there are only Linux and Mac implementations of this feature).
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsGTK.cmake:
2017-08-30 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Fix versions numbers after r221136.
We normally use .0 in trunk after branching, and bump to .1 when making the first unstable release. We also need
to bump the library version.
* Source/cmake/OptionsGTK.cmake:
2017-08-29 Don Olmstead <don.olmstead@sony.com>
[CMake] Use find_package for zlib
https://bugs.webkit.org/show_bug.cgi?id=176075
Reviewed by Alex Christensen.
* Source/cmake/OptionsAppleWin.cmake:
* Source/cmake/OptionsWinCairo.cmake:
2017-08-29 Don Olmstead <don.olmstead@sony.com>
[CMake] Use find_package for libxml2 and libxstl
https://bugs.webkit.org/show_bug.cgi?id=176042
Reviewed by Konstantin Tokarev.
* Source/cmake/OptionsAppleWin.cmake:
* Source/cmake/OptionsWinCairo.cmake:
2017-08-24 Tomas Popela <tpopela@redhat.com>
Bump trunk version to be 2.19.1
Rubber-stamped by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake:
2017-08-24 Don Olmstead <don.olmstead@sony.com>
[CMake] Use find_package for SQLite
https://bugs.webkit.org/show_bug.cgi?id=175803
Reviewed by Konstantin Tokarev.
* Source/cmake/OptionsAppleWin.cmake:
* Source/cmake/OptionsWinCairo.cmake:
2017-08-23 Xabier Rodriguez Calvar <calvaris@igalia.com>
[GStreamer][GTK][WPE] Move common things to GStreamer cmake files
https://bugs.webkit.org/show_bug.cgi?id=175625
Three files were created as kind of hooks for the GTK and WPE
CMake option files. The definitions one is to enable, disable and
create the common options (that can be and are actually overriden
in some cases. The dependencies one adds dependencies for the
option switches that are set. The checks one ensure the
dependencies are met depending on the option switches.
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/GStreamerChecks.cmake: Added.
* Source/cmake/GStreamerDefinitions.cmake: Added.
* Source/cmake/GStreamerDependencies.cmake: Added.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-08-22 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r221006.
https://bugs.webkit.org/show_bug.cgi?id=175821
generates build failures in the bots (Requested by calvaris[m]
on #webkit).
Reverted changeset:
"[GStreamer][GTK][WPE] Move common things to GStreamer cmake
files"
https://bugs.webkit.org/show_bug.cgi?id=175625
http://trac.webkit.org/changeset/221006
2017-08-22 Xabier Rodriguez Calvar <calvaris@igalia.com>
[GStreamer][GTK][WPE] Move common things to GStreamer cmake files
https://bugs.webkit.org/show_bug.cgi?id=175625
Three files were created as kind of hooks for the GTK and WPE
CMake option files. The definitions one is to enable, disable and
create the common options (that can be and are actually overriden
in some cases. The dependencies one adds dependencies for the
option switches that are set. The checks one ensure the
dependencies are met depending on the option switches.
Reviewed by Žan Doberšek.
* Source/cmake/GStreamerChecks.cmake: Added.
* Source/cmake/GStreamerDefinitions.cmake: Added.
* Source/cmake/GStreamerDependencies.cmake: Added.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-08-17 Andreas Kling <akling@apple.com>
Disable CSS regions at compile time
https://bugs.webkit.org/show_bug.cgi?id=175630
Reviewed by Antti Koivisto.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-14 Simon Fraser <simon.fraser@apple.com>
Remove Proximity Events and related code
https://bugs.webkit.org/show_bug.cgi?id=175545
Reviewed by Daniel Bates.
No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
and other related code.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-14 Simon Fraser <simon.fraser@apple.com>
Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
https://bugs.webkit.org/show_bug.cgi?id=175557
Reviewed by Jon Lee.
No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-14 Adrian Perez de Castro <aperez@igalia.com>
[WPE] Implement WebCore::standardUserAgent()
https://bugs.webkit.org/show_bug.cgi?id=175507
Reviewed by Michael Catanzaro.
Remove "_GLIB" from user-agent version macros.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-08-13 Adrian Perez de Castro <aperez@igalia.com>
[WPE] Implement WebCore::standardUserAgent()
https://bugs.webkit.org/show_bug.cgi?id=175507
Reviewed by Carlos Alberto Lopez Perez.
Implement missing User-Agent handling for the WPE port by sharing the code with the GTK+ port.
* Source/cmake/OptionsGTK.cmake: Rename "GTK" with "GLIB" in UA version macros.
* Source/cmake/OptionsWPE.cmake: Add UA version macros.
2017-08-11 Ryosuke Niwa <rniwa@webkit.org>
Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
https://bugs.webkit.org/show_bug.cgi?id=175474
<rdar://problem/33844628>
Reviewed by Wenson Hsieh.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-11 Konstantin Tokarev <annulen@yandex.ru>
[CMake] Fix broken use of REQUIRED with find modules
https://bugs.webkit.org/show_bug.cgi?id=175427
Reviewed by Michael Catanzaro.
Module name passed to find_package_handle_standard_args() must exactly
match file name of CMake find module including letter case, e.g. "WebP"
must be used in FindWebP.cmake file. Otherwise find_package() arguments
(REQUIRED, QUIET, version) are not processed correctly.
To continue using old XXX_FOUND variables without case changes porting
to new find_package_handle_standard_args syntax which has FOUND_VAR
parameter. Unfortunately, variable name GTK_UNIX_PRINT_FOUND is not
allowed by find_package_handle_standard_args when package name is
GTKUnixPrint, so it's replaced to GTKUnixPrint_FOUND (default).
* Source/cmake/FindGTKUnixPrint.cmake:
* Source/cmake/FindGeoClue2.cmake:
* Source/cmake/FindHyphen.cmake:
* Source/cmake/FindLibEpoxy.cmake:
* Source/cmake/FindLibGBM.cmake:
* Source/cmake/FindLibsecret.cmake:
* Source/cmake/FindLibtasn1.cmake:
* Source/cmake/FindLibxkbcommon.cmake:
* Source/cmake/FindOpenGL.cmake:
* Source/cmake/FindOpenGLES2.cmake:
* Source/cmake/FindOpenWebRTC.cmake:
* Source/cmake/FindWPEBackend-mesa.cmake:
* Source/cmake/FindWPEBackend.cmake:
* Source/cmake/FindWayland.cmake:
* Source/cmake/FindWebP.cmake:
* Source/cmake/OptionsGTK.cmake:
2017-08-10 Michael Catanzaro <mcatanzaro@igalia.com>
REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie
https://bugs.webkit.org/show_bug.cgi?id=175426
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/FindGeoClue2.cmake:
2017-08-10 Michael Catanzaro <mcatanzaro@igalia.com>
Remove ENABLE_GAMEPAD_DEPRECATED
https://bugs.webkit.org/show_bug.cgi?id=175361
Reviewed by Carlos Garcia Campos.
* Source/cmake/FindGUdev.cmake: Removed.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-08-10 Carlos Alberto Lopez Perez <clopez@igalia.com>
REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie
https://bugs.webkit.org/show_bug.cgi?id=175426
Reviewed by Carlos Garcia Campos.
Fix the pkg-config file name.
We really require geoclue-2.0 and not libgeoclue-2.0.
* Source/cmake/FindGeoClue2.cmake:
2017-08-09 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] Remove support for geoclue1
https://bugs.webkit.org/show_bug.cgi?id=164205
Reviewed by Carlos Garcia Campos.
* Source/cmake/FindGeoClue.cmake: Removed.
* Source/cmake/OptionsGTK.cmake:
2017-08-09 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Remove unused find modules
https://bugs.webkit.org/show_bug.cgi?id=175363
Reviewed by Carlos Alberto Lopez Perez.
* Source/cmake/FindCFLite.cmake: Removed.
* Source/cmake/FindClang.cmake: Removed.
* Source/cmake/FindDBus.cmake: Removed.
* Source/cmake/FindDirectX.cmake: Removed.
* Source/cmake/FindEspeak.cmake: Removed.
* Source/cmake/FindQuickTimeSDK.cmake: Removed.
2017-08-09 Zan Dobersek <zdobersek@igalia.com>
[WPE] Enable SUBTLE_CRYPTO in release builds
https://bugs.webkit.org/show_bug.cgi?id=175371
Reviewed by Carlos Garcia Campos.
* Source/cmake/OptionsWPE.cmake:
Use ON as the default port value for ENABLE_SUBTLE_CRYPTO in WPE.
2017-08-09 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Enable SUBTLE_CRYPTO in GTK+ releases
https://bugs.webkit.org/show_bug.cgi?id=172758
Reviewed by Žan Doberšek.
Add ENABLE_WEB_CRYPTO public option and make ENABLE_SUBTLE_CRYPTO depend on it.
* Source/cmake/OptionsGTK.cmake:
2017-08-08 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Properly test if compiler supports compiler flags
https://bugs.webkit.org/show_bug.cgi?id=174490
Reviewed by Konstantin Tokarev.
This turned out to be a massive pain. I didn't want to merely check options before using
them: I also wanted to organize the code to avoid setting similar flags in different places.
Right now we set a bunch of global flags in OptionsCommon.cmake, and a bunch more flags in
WEBKIT_SET_EXTRA_COMPILER_FLAGS on a per-target basis.
Setting flags per-target seems better in general, e.g. because it makes it very easy to
disable warnings for particular ThirdParty targets. But it turns out that all the flags set
on a per-target basis get passed to both the C compiler and the C++ compiler, so it's
impossible to pass C++-only flags there. That's terrible. It's possible to make the flags
language-conditional using generator expressions, but that doesn't work for the Visual
Studio backend, so we would have to drop support for that (not going to happen). The CMake
documentation suggests that C and C++ files ought to be built in separate targets to avoid
this. It's a mess, basically.
So I've wound up removing WEBKIT_SET_EXTRA_COMPILER_FLAGS and adding most of those flags to
CMAKE_C_FLAGS and CMAKE_CXX_FLAGS instead. Really the only disadvantage of this is we now
have to suppress individual warnings when building ANGLESupport in WebCore. That's not the
end of the world. The only remaining useful feature of WEBKIT_SET_EXTRA_COMPILER_FLAGS was
to add -fPIC to static library targets, but turns out CMake does that for us if we just set
the variable CMAKE_POSITION_INDEPENDENT_CODE, so we can get rid of it completely.
Of course there are also macros for setting target-specific compiler flags, which we
frequently need in order to suppress specific warnings, particularly warnings coming from
third-party libraries like ANGLE and gtest. But remember the footgun: these macros will test
the flag against only one compiler, but must work with both C and C++ compilers unless the
build target exclusively contains targets built with just one of those compilers. Yuck.
* CMakeLists.txt:
* Source/CMakeLists.txt:
* Source/PlatformGTK.cmake:
* Source/cmake/OptionsCommon.cmake:
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitCompilerFlags.cmake: Added.
* Source/cmake/WebKitMacros.cmake:
2017-08-07 Brian Burg <bburg@apple.com>
Remove CANVAS_PATH compilation guard
https://bugs.webkit.org/show_bug.cgi?id=175207
Reviewed by Sam Weinig.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-03 Brian Burg <bburg@apple.com>
Remove ENABLE(WEB_SOCKET) guards
https://bugs.webkit.org/show_bug.cgi?id=167044
Reviewed by Joseph Pecoraro.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-03 Brady Eidson <beidson@apple.com>
Add SW IDLs and stub out basic functionality.
https://bugs.webkit.org/show_bug.cgi?id=175115
Reviewed by Chris Dumez.
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-08-01 Brady Eidson <beidson@apple.com>
Part 1 of: Rename DatabaseProcess to StorageProcess.
https://bugs.webkit.org/show_bug.cgi?id=174879
Reviewed by Andy Estes.
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/gtksymbols.filter:
2017-08-01 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] WebKitFS.cmake depends on options set in Option cmake files that are included later
https://bugs.webkit.org/show_bug.cgi?id=174855
Reviewed by Carlos Garcia Campos.
Create derived sources directories in WebKitCommon.cmake instead of WebKitFS.cmake, which is
too soon. I tried changing the include order, but other stuff in WebKitFS.cmake really is
needed before including the port options file.
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitFS.cmake:
2017-07-29 Yusuke Suzuki <utatane.tea@gmail.com>
Unreviewed, build fix for GTK and WPE about StorageProcess renaming
* Source/cmake/OptionsWPE.cmake:
2017-07-28 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r219986.
https://bugs.webkit.org/show_bug.cgi?id=174962
"broke PLT on iOS (rdar://problem/33602751)" (Requested by
estes on #webkit).
Reverted changeset:
"Part 1 of: Rename DatabaseProcess to StorageProcess."
https://bugs.webkit.org/show_bug.cgi?id=174879
http://trac.webkit.org/changeset/219986
2017-07-28 Adrian Perez de Castro <aperez@igalia.com>
[GTK] Building with ENABLE_VIDEO=OFF fails
https://bugs.webkit.org/show_bug.cgi?id=174940
Reviewed by Alex Christensen.
Code guarded by ENABLE(MEDIA_STREAM) requires the definition of HTMLVideoElement to
be available, which in turn is guarded by ENABLE(VIDEO).
* Source/cmake/WebKitFeatures.cmake: Make ENABLE_MEDIA_STREAM depend on ENABLE_VIDEO.
2017-07-28 Claudio Saavedra <csaavedra@igalia.com>
[WPE] Implement EventSenderProxy in WTR
https://bugs.webkit.org/show_bug.cgi?id=173419
Reviewed by Žan Doberšek.
Add the implementation of EventSenderProxy to the WTR. This
allows us to extend the coverage of the test suite in WKWPE.
* Source/cmake/FindLibxkbcommon.cmake: Added.
2017-07-28 Zan Dobersek <zdobersek@igalia.com>
Unreviewed. Bumping the patch version for WPEWebKit library to 20170728.
* Source/cmake/OptionsWPE.cmake:
2017-07-27 Brady Eidson <beidson@apple.com>
Part 1 of: Rename DatabaseProcess to StorageProcess.
https://bugs.webkit.org/show_bug.cgi?id=174879
Reviewed by Andy Estes.
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/gtksymbols.filter:
2017-07-26 Brady Eidson <beidson@apple.com>
Remove DATABASE_PROCESS build flag.
https://bugs.webkit.org/show_bug.cgi?id=174868
Reviewed by Andy Estes.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-07-26 Brian Burg <bburg@apple.com>
Remove WEB_TIMING feature flag
https://bugs.webkit.org/show_bug.cgi?id=174795
Reviewed by Alex Christensen.
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-07-26 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Fix WebKit2 derived sources directory creation after r219488.
The variable is still DERIVED_SOURCES_WEBKIT2_DIR, not DERIVED_SOURCES_WEBKIT_DIR. Build was not really affected
because WebKit2 makefile creates the directory too.
* Source/cmake/WebKitFS.cmake:
2017-07-26 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.5 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-07-25 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Fix GTK+ WebKit2 library soname after r219488.
The WebKit2 -> WebKit rename shouldn't affect the GTK+ library that is still called libwebkit2gtk, so keep using
WEBKIT2 as the library name in CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE, since that's also what the WebKit
makefile passes to WEBKIT_POPULATE_LIBRARY_VERSION.
* Source/cmake/OptionsGTK.cmake:
2017-07-24 Zan Dobersek <zdobersek@igalia.com>
[WPE] Add libepoxy to the Jhbuild moduleset
https://bugs.webkit.org/show_bug.cgi?id=174711
Reviewed by Carlos Alberto Lopez Perez.
libepoxy 1.3.1 that's widely available in current stable distributions (Debian stable,
Ubuntu LTS) does suffice our needs, but also contains a bug that incorrectly determines
the current EGL context and the API version of OpenGL that's bound to that context.
Focusing on experiences on Debian systems, while the current stable Debian release has
this bug patched, the package for the testing distribution of Debian removed that same
patch for whatever reason, despite using the 1.3.1 version as the package basis.
To avoid this, libepoxy 1.4.3 is now added to WPE's Jhbuild moduleset. The WPE port
also now demands at least the 1.4.0 version to be available when configuring.
We should revisit the minimum version for libepoxy in the future if the 1.3 release
branch gets updated with the proper fix.
* Source/cmake/FindLibEpoxy.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
explicitly, because ICU headers in the tree are not modified anymore.
* Source/cmake/OptionsJSCOnly.cmake:
* Source/cmake/OptionsMac.cmake:
2017-07-17 Carlos Garcia Campos <cgarcia@igalia.com>
Add initial implementation of WebDriver process to run the HTTP server
https://bugs.webkit.org/show_bug.cgi?id=166682
Reviewed by Brian Burg.
Enable WebDriver in the GTK port by default.
* Source/CMakeLists.txt:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFS.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Set library types before their targets are created
https://bugs.webkit.org/show_bug.cgi?id=174600
Reviewed by Michael Catanzaro.
Since r219560 library targets are created before PlatformXXX.cmake
files are processed, however library type must be passed in
add_library() call and cannot be changed afterwards. Set these
variables in OptionsXXX.cmake.
* CMakeLists.txt:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
2017-07-17 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Include most CMake modules from WebKitCommon.cmake
https://bugs.webkit.org/show_bug.cgi?id=174546
Reviewed by Konstantin Tokarev.
* CMakeLists.txt:
* Source/cmake/OptionsCommon.cmake:
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitMacros.cmake:
2017-07-17 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
https://bugs.webkit.org/show_bug.cgi?id=174547
Reviewed by Alex Christensen.
* Source/cmake/WebKitMacros.cmake:
2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
[CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
https://bugs.webkit.org/show_bug.cgi?id=174557
Reviewed by Michael Catanzaro.
* Source/cmake/WebKitMacros.cmake:
2017-07-16 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Raise minimum CMake requirement
https://bugs.webkit.org/show_bug.cgi?id=174545
Reviewed by Konstantin Tokarev.
* CMakeLists.txt:
* Source/cmake/OptionsCommon.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsJSCOnly.cmake:
2017-07-14 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Unclear distinction between WebKitHelpers and WebKitMacros
https://bugs.webkit.org/show_bug.cgi?id=153189
Reviewed by Antonio Gomes.
Merge WebKitHelpers.cmake into WebKitMacros.cmake, since there is no meaningful distinction
between the macros that belong in each file. Then, move the macros that are only needed by
one project into project-specific CMake files. Retain here only the macros that are needed
in multiple places.
* Source/cmake/OptionsCommon.cmake: Update a comment.
* Source/cmake/OptionsGTK.cmake: New location for libtool macro, exclusively needed here.
* Source/cmake/WebKitCommon.cmake: Do not include WebKitHelpers.cmake.
* Source/cmake/WebKitHelpers.cmake: Removed.
* Source/cmake/WebKitMacros.cmake:
2017-07-13 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK][WPE] Avoid setting settings that are set by default
Unreviewed.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
2017-07-13 Konstantin Tokarev <annulen@ynadex.ru>
Unreviewed, Windows ports should enable WebKitLegacy and disable
WebKit.
* Source/cmake/OptionsWin.cmake:
2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
Fix the Mac CMake build.
Unreviewed build fix.
Fix the Mac CMake build after r219488 broke it. r219488 erroneously updated
the variable name DERIVED_SOURCES_WEBKITLEGACY_DIR to DERIVED_SOURCES_WEBKIT_LEGACY_DIR
without updating subsequent users of that variable.
* Source/cmake/WebKitFS.cmake:
Rename DERIVED_SOURCES_WEBKIT_LEGACY_DIR back to DERIVED_SOURCES_WEBKITLEGACY_DIR.
2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
Fix the cMake builds (GTK and WPE.)
https://bugs.webkit.org/show_bug.cgi?id=174164
rdar://problem/33137595
Reviewed by Dan Bernstein.
* Source/CMakeLists.txt:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsJSCOnly.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/WebKitFS.cmake:
* Source/cmake/WebKitPackaging.cmake:
2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
Rename WebKit2.xcodeproj to WebKit.xcodeproj.
https://bugs.webkit.org/show_bug.cgi?id=174164
rdar://problem/33137595
Reviewed by Dan Bernstein.
* WebKit.xcworkspace/contents.xcworkspacedata:
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
Update tools and configurations after renaming Source/WebKit2 to Source/WebKit.
https://bugs.webkit.org/show_bug.cgi?id=174164
rdar://problem/33137595
Reviewed by Dan Bernstein.
* Source/Makefile:
* Source/PlatformGTK.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFS.cmake:
* Source/cmake/WebKitPackaging.cmake:
* WebKit.xcworkspace/contents.xcworkspacedata:
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
Update the Xcode project name from WebKit to WebKitLegacy.
https://bugs.webkit.org/show_bug.cgi?id=174162
rdar://problem/33137594
Reviewed by Dan Bernstein.
Rename WebKit to WebKitLegacy.
* WebKit.xcworkspace/contents.xcworkspacedata:
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
Update tools and configurations after renaming Source/WebKit to Source/WebKitLegacy.
https://bugs.webkit.org/show_bug.cgi?id=174162
rdar://problem/33137594
Reviewed by Dan Bernstein.
Mass rename of Source/WebKit to Source/WebKitLegacy in OpenSource cmake files
and Xcode project files.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFS.cmake:
* WebKit.xcworkspace/contents.xcworkspacedata:
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-07-13 Michael Catanzaro <mcatanzaro@igalia.com>
Fix compiler warnings when building with GCC 7
https://bugs.webkit.org/show_bug.cgi?id=174463
Reviewed by Darin Adler.
* Source/cmake/OptionsCommon.cmake:
2017-07-12 Matt Lewis <jlewis3@apple.com>
Unreviewed, rolling out r219401.
This revision rolled out the previous patch, but after talking
with reviewer, a rebaseline is what was needed.Rolling back in
before rebaseline.
Reverted changeset:
"Unreviewed, rolling out r219379."
https://bugs.webkit.org/show_bug.cgi?id=174400
http://trac.webkit.org/changeset/219401
2017-07-12 Matt Lewis <jlewis3@apple.com>
Unreviewed, rolling out r219379.
This revision caused a consistent failure in the test
fast/dom/Window/property-access-on-cached-window-after-frame-
removed.html.
Reverted changeset:
"Remove NAVIGATOR_HWCONCURRENCY"
https://bugs.webkit.org/show_bug.cgi?id=174400
http://trac.webkit.org/changeset/219379
2017-07-12 Zan Dobersek <zdobersek@igalia.com>
[WPE] Use libepoxy
https://bugs.webkit.org/show_bug.cgi?id=172104
Reviewed by Michael Catanzaro.
* Source/cmake/FindLibEpoxy.cmake: Added.
* Source/cmake/OptionsWPE.cmake: Find libepoxy, don't search for
EGL or OpenGL ES anymore, and enable USE_LIBEPOXY by default.
2017-07-11 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK][WPE] Enable FILE_LOCK and implement lockFile and unlockFile
https://bugs.webkit.org/show_bug.cgi?id=174357
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake: Use gio-unix unconditionally.
2017-07-11 Dean Jackson <dino@apple.com>
Remove NAVIGATOR_HWCONCURRENCY
https://bugs.webkit.org/show_bug.cgi?id=174400
Reviewed by Sam Weinig.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-07-11 Dean Jackson <dino@apple.com>
Rolling out r219372.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-07-11 Dean Jackson <dino@apple.com>
Remove NAVIGATOR_HWCONCURRENCY
https://bugs.webkit.org/show_bug.cgi?id=174400
Reviewed by Sam Weinig.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-07-03 Brian Burg <bburg@apple.com>
Web Replay: remove some unused code
https://bugs.webkit.org/show_bug.cgi?id=173903
Rubber-stamped by Joseph Pecoraro.
* ManualTests/inspector/replay-keyboard-events.html: Removed.
* ManualTests/inspector/replay-mouse-events.html: Removed.
* ManualTests/inspector/replay-wheel-events.html: Removed.
* ManualTests/inspector/replay-window-navigator-basic.html: Removed.
* ManualTests/inspector/replay-window-screen.html: Removed.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-07-10 Carlos Garcia Campos <cgarcia@igalia.com>
Move make-js-file-arrays.py from WebCore to JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=174024
Reviewed by Michael Catanzaro.
Make MAKE_JS_FILE_ARRAYS independent of WebCore and update it to use make-js-file-arrays.py from
JavaScriptCore. It's no longer needed to set PYTHON_PATH to find jsmin.py.
* Source/cmake/WebKitMacros.cmake:
2017-07-08 Yusuke Suzuki <utatane.tea@gmail.com>
Drop NOSNIFF compile flag
https://bugs.webkit.org/show_bug.cgi?id=174289
Reviewed by Michael Catanzaro.
* Source/cmake/WebKitFeatures.cmake:
2017-07-07 Yusuke Suzuki <utatane.tea@gmail.com>
[GTK][WPE] Enable X-Content-Type-Options: nosniff
https://bugs.webkit.org/show_bug.cgi?id=174250
Reviewed by Carlos Alberto Lopez Perez.
Make nosniff enabled by default in all the ports.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-07-06 Stephan Szabo <stephan.szabo@sony.com>
[Win] Build precompiled header successfully with clang-cl
https://bugs.webkit.org/show_bug.cgi?id=174221
Reviewed by Alex Christensen.
* Source/cmake/WebKitMacros.cmake:
2017-07-05 Yusuke Suzuki <utatane.tea@gmail.com>
Upgrade GCC baseline
https://bugs.webkit.org/show_bug.cgi?id=174155
Reviewed by Michael Catanzaro.
This patch bumps the version of GCC from 4.9.0 to 5.0.0,
which is shipped with Ubuntu 16.04 LTS. And the latest
Debian stable (stretch) already ships newer GCC (6.3.0).
Remove workaround for old GCC. And move GCC version check
to the top-level CMakeLists.txt.
* CMakeLists.txt:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitHelpers.cmake:
2017-07-05 Don Olmstead <don.olmstead@sony.com>
[WinCairo] Consolidate CMake code related to CURL
https://bugs.webkit.org/show_bug.cgi?id=170860
Reviewed by Alex Christensen.
* Source/cmake/OptionsWinCairo.cmake:
2017-06-28 Stephan Szabo <stephan.szabo@am.sony.com>
[Win] Build JSCOnly on Windows with clang-cl
https://bugs.webkit.org/show_bug.cgi?id=173889
Reviewed by Konstantin Tokarev.
* CMakeLists.txt:
* Source/cmake/OptionsCommon.cmake:
* Source/cmake/OptionsMSVC.cmake:
2017-06-23 Carlos Garcia Campos <cgarcia@igalia.com>
[WPE] User script messages don't work
https://bugs.webkit.org/show_bug.cgi?id=173712
Reviewed by Žan Doberšek.
Enable user script messages.
* Source/cmake/OptionsWPE.cmake:
2017-06-23 Carlos Garcia Campos <cgarcia@igalia.com>
[WPE] Enable PUBLIC_SUFFIX_LIST
https://bugs.webkit.org/show_bug.cgi?id=173758
Reviewed by Žan Doberšek.
WebsiteDataStore needs it when fetching data.
Fixes: /wpe/WebKitCookieManager/accept-policy
/wpe/WebKitCookieManager/delete-cookies
/wpe/WebKitCookieManager/cookies-changed
/wpe/WebKitCookieManager/persistent-storage
/wpe/WebKitCookieManager/ephemeral
/wpe/WebKitWebsiteData/ephemeral
/wpe/WebKitWebsiteData/cache
/wpe/WebKitWebsiteData/storage
/wpe/WebKitWebsiteData/databases
/wpe/WebKitWebsiteData/appcache
/wpe/WebKitWebsiteData/cookies
* Source/cmake/OptionsWPE.cmake:
2017-06-22 Carlos Garcia Campos <cgarcia@igalia.com>
[WPE] Add initial web extensions API
https://bugs.webkit.org/show_bug.cgi?id=173640
Reviewed by Žan Doberšek.
* Source/cmake/OptionsWPE.cmake:
2017-06-21 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>
[MSVC] Fix compilation in CP932 (Shift_JIS) environment
https://bugs.webkit.org/show_bug.cgi?id=173638
Reviewed by Alex Christensen.
Give "/utf-8 /validate-charset" options to the MSVC compiler
to specify the source code encoding.
* Source/cmake/OptionsMSVC.cmake:
2017-06-21 Miguel Gomez <magomez@igalia.com>
[GTK] Fix the condition to enable/disable GSTREAMER_GL
https://bugs.webkit.org/show_bug.cgi?id=173650
Reviewed by Carlos Garcia Campos.
If GSTREAMER_GL is enabled, check for the GStreamer version. If the version is < 1.10, disable
GSTREAMER_GL and continue. If the version is >= 1.10 but there's no gstreamer-gl package available
then fail.
* Source/cmake/FindGStreamer.cmake:
* Source/cmake/OptionsGTK.cmake:
2017-06-21 Miguel Gomez <magomez@igalia.com>
[GTK] Enable GStreamer GL by default on production builds
https://bugs.webkit.org/show_bug.cgi?id=173406
Reviewed by Carlos Garcia Campos.
Enable GStreamer GL by default when the GStreamer version >= 1.10.
* Source/cmake/OptionsGTK.cmake:
2017-06-21 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Move WebGtkExtensionManager and WebGtkInjectedBundleMain to glib API dir
https://bugs.webkit.org/show_bug.cgi?id=173606
Reviewed by Žan Doberšek.
Update public symbols that were renamed.
* Source/cmake/gtksymbols.filter:
2017-06-20 Zan Dobersek <zdobersek@igalia.com>
[GCrypt] Implement CryptoKeyEC SPKI imports
https://bugs.webkit.org/show_bug.cgi?id=172927
Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos.
* Source/cmake/FindLibtasn1.cmake: Added.
* Source/cmake/OptionsGTK.cmake: Require libtasn1 when SUBTLE_CRYPTO is enabled.
* Source/cmake/OptionsWPE.cmake: Ditto.
2017-06-20 Carlos Garcia Campos <cgarcia@igalia.com>
[WPE] Add initial implementation of glib API
https://bugs.webkit.org/show_bug.cgi?id=173546
Reviewed by Žan Doberšek.
Add some definitions required to build WPE glib API.
* Source/cmake/OptionsWPE.cmake:
2017-06-18 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.4 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-06-16 Alex Christensen <achristensen@webkit.org>
Fix Mac CMake build.
* Source/cmake/WebKitFS.cmake:
Add new DerivedSources/WTF directory.
2017-06-15 Konstantin Tokarev <annulen@yandex.ru>
[cmake] ADD_PRECOMPILED_HEADER should append OBJECT_DEPENDS, not overwrite it
https://bugs.webkit.org/show_bug.cgi?id=173428
Reviewed by Michael Catanzaro.
Right now, if any of source files that are passed to
ADD_PRECOMPILED_HEADER have non-empty OBJECT_DEPENDS property (e.g.
changed with ADD_SOURCE_DEPENDENCIES call), its value is lost.
* Source/cmake/WebKitMacros.cmake:
2017-06-15 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Do not use the C API in WebGtkExtensionManager
https://bugs.webkit.org/show_bug.cgi?id=173408
Reviewed by Michael Catanzaro.
Update exported symbol signature.
* Source/cmake/gtksymbols.filter:
2017-06-09 Zan Dobersek <zdobersek@igalia.com>
[WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
https://bugs.webkit.org/show_bug.cgi?id=173103
Reviewed by Xabier Rodriguez-Calvar.
* Source/cmake/OptionsWPE.cmake: Expose the ENABLE_ENCRYPTED_MEDIA
configuration option, keeping it disabled by default.
2017-06-09 Xabier Rodriguez Calvar <calvaris@igalia.com>
[GStreamer][EME] Remove the legacy code that was not even official and is deprecated
https://bugs.webkit.org/show_bug.cgi?id=173096
Reviewed by Žan Doberšek.
* Source/cmake/OptionsWPE.cmake: Remove LEGACY_ENCRYPTED_MEDIA support
2017-06-07 Ryosuke Niwa <rniwa@webkit.org>
IsInShadowTreeFlag does not get updated for a non-container node
https://bugs.webkit.org/show_bug.cgi?id=173084
Reviewed by Antti Koivisto.
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-06-07 Carlos Garcia Campos <cgarcia@igalia.com>
[WPE] Enable resource usage
https://bugs.webkit.org/show_bug.cgi?id=173054
Reviewed by Žan Doberšek.
Add private option for resource usage enabled by default.
* Source/cmake/OptionsWPE.cmake:
2017-06-07 Carlos Garcia Campos <cgarcia@igalia.com>
Remove legacy INSPECTOR_SERVER implementation
https://bugs.webkit.org/show_bug.cgi?id=172966
Reviewed by Žan Doberšek.
* Source/PlatformWin.cmake:
2017-06-07 Loïc Yhuel <loic.yhuel@softathome.com>
[CMake] Only force response files for Ninja with CMake < 3.2 on Linux
https://bugs.webkit.org/show_bug.cgi?id=173066
Reviewed by Michael Catanzaro.
CMake automatically uses response files when needed, but the limit was
wrong on Linux before 3.2.
* Source/cmake/OptionsCommon.cmake:
2017-06-07 Zan Dobersek <zdobersek@igalia.com>
[GCrypt] RSA-PSS support
https://bugs.webkit.org/show_bug.cgi?id=172856
Reviewed by Jiewen Tan.
* Source/cmake/OptionsGTK.cmake: Set and expose the USE_GCRYPT preprocessor macro when
SUBTLE_CRYPTO is enabled.
* Source/cmake/OptionsWPE.cmake: Match the GTK+ port in demanding at least version 1.7.0
of libgcrypt. Also set and expose the USE_GCRYPT preprocessor macro.
2017-06-06 Carlos Garcia Campos <cgarcia@igalia.com>
[WPE] Enable remote inspector
https://bugs.webkit.org/show_bug.cgi?id=172971
Reviewed by Žan Doberšek.
Add private option for remote inspector enabled by default.
* Source/cmake/OptionsWPE.cmake:
2017-06-02 Stephan Szabo <stephan.szabo@am.sony.com>
[JSCOnly] Build static jsc.exe on Windows
https://bugs.webkit.org/show_bug.cgi?id=172833
Reviewed by Konstantin Tokarev.
* Source/cmake/OptionsJSCOnly.cmake:
2017-05-31 Adrian Perez de Castro <aperez@igalia.com>
[CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0
https://bugs.webkit.org/show_bug.cgi?id=172750
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsCommon.cmake:
2017-05-31 Adrian Perez de Castro <aperez@igalia.com>
Consider enabling -Wno-expansion-to-defined for gcc 7
https://bugs.webkit.org/show_bug.cgi?id=167643
Reviewed by Žan Doberšek.
* Source/cmake/OptionsCommon.cmake: Pass -Wno-expansion-to-defined to
GCC, the flag is supported all the way back to version 4.9, which is
the oldest we support
2017-05-26 Don Olmstead <don.olmstead@am.sony.com>
[CMake] Wrap CODE_GENERATOR_PREPROCESSOR_EXECUTABLE on Windows hosts
https://bugs.webkit.org/show_bug.cgi?id=172553
Reviewed by Brent Fulgham.
* Source/cmake/OptionsCommon.cmake:
2017-05-26 Adrian Perez de Castro <aperez@igalia.com>
[CMake] Pass -fdiagnostics-color=always to GCC when building with Ninja
https://bugs.webkit.org/show_bug.cgi?id=172638
Reviewed by Yusuke Suzuki.
The oldest version of GCC supported for building WebKit is 4.9, which already accepts
-fdiagnostics-color=, therefore it is not needed to check the compiler version.
* Source/cmake/OptionsCommon.cmake:
2017-05-25 Don Olmstead <don.olmstead@am.sony.com>
[CMake][Win] Use WTF_CPU not MSCV_CXX_ARCHITECTURE_ID when determining lib directories
https://bugs.webkit.org/show_bug.cgi?id=172570
Reviewed by Per Arne Vollan.
* Source/cmake/OptionsWin.cmake:
2017-05-24 Don Olmstead <don.olmstead@am.sony.com>
[CMake] Consolidate CMake code related to Cairo
https://bugs.webkit.org/show_bug.cgi?id=172568
Reviewed by Alex Christensen.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWinCairo.cmake:
2017-05-23 Myles C. Maxfield <mmaxfield@apple.com>
Remove dead ENABLE(FONT_LOAD_EVENTS) code
https://bugs.webkit.org/show_bug.cgi?id=172517
Rubber-stamped by Simon Fraser.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-05-22 Gwang Yoon Hwang <yoon@igalia.com>
[CMake] Do not use a --no-keep-memory linker flag in 64bit system
https://bugs.webkit.org/show_bug.cgi?id=172429
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsCommon.cmake:
In x86_64, cmake accidentally applies --no-keep-memory since MATCHES
uses the given value as a regex. It reduces linking performance
due to the frequent disk operations in x86_64.
2017-05-22 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.3 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-05-22 Don Olmstead <don.olmstead@am.sony.com>
[Win][CMake] Move MSVC compiler options to a common location
https://bugs.webkit.org/show_bug.cgi?id=172230
Reviewed by Yusuke Suzuki.
* Source/cmake/OptionsMSVC.cmake: Added.
* Source/cmake/OptionsWin.cmake:
2017-05-19 Don Olmstead <don.olmstead@am.sony.com>
[CMake] Add HAVE check for __int128_t
https://bugs.webkit.org/show_bug.cgi?id=172317
Reviewed by Yusuke Suzuki.
* Source/cmake/OptionsCommon.cmake:
2017-05-16 Zan Dobersek <zdobersek@igalia.com>
[WPE] Set and expose ENABLE_DEVELOPER_MODE in build when DEVELOPER_MODE is enabled
https://bugs.webkit.org/show_bug.cgi?id=172159
Reviewed by Carlos Garcia Campos.
* Source/cmake/OptionsWPE.cmake: Expose the ENABLE_DEVELOPER_MODE macro
when the DEVELOPER_MODE configuration options is enabled.
2017-05-11 Don Olmstead <don.olmstead@am.sony.com>
[CMake] Add HAVE check for regex.h
https://bugs.webkit.org/show_bug.cgi?id=171950
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsCommon.cmake:
2017-05-11 Joseph Pecoraro <pecoraro@apple.com>
Remove Vibration API
https://bugs.webkit.org/show_bug.cgi?id=171766
Rubber-stamped by Alexey Proskuryakov.
* Source/cmake/WebKitFeatures.cmake:
2017-05-11 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.2 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-05-10 Don Olmstead <don.olmstead@am.sony.com>
[Win] Specify source file type when preprocessing IDL files
https://bugs.webkit.org/show_bug.cgi?id=171864
Reviewed by Alex Christensen.
* Source/cmake/OptionsCommon.cmake:
2017-05-10 Adrian Perez de Castro <aperez@igalia.com>
Remove some last remnants of the EFL port
https://bugs.webkit.org/show_bug.cgi?id=171922
Reviewed by Antonio Gomes.
The EFL port is no more.
* Source/PlatformEfl.cmake: Removed.
2017-05-10 Zan Dobersek <zdobersek@igalia.com>
Enable FTL JIT by default on AArch64
https://bugs.webkit.org/show_bug.cgi?id=144039
Reviewed by Yusuke Suzuki.
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/WebKitFeatures.cmake: Set FTL as enabled by default
when targeting either WTF_CPU_X86_64 or WTF_CPU_ARM64.
2017-05-09 Zan Dobersek <zdobersek@igalia.com>
Upstream the WPE port
https://bugs.webkit.org/show_bug.cgi?id=171110
Reviewed by Alex Christensen.
webkit-dev thread:
https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html
* CMakeLists.txt: Add the WPE port identifier.
* Source/cmake/FindLibGBM.cmake: Added.
* Source/cmake/FindWPEBackend-mesa.cmake: Added.
* Source/cmake/FindWPEBackend.cmake: Added.
* Source/cmake/OptionsWPE.cmake: Added.
2017-05-04 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r216206.
https://bugs.webkit.org/show_bug.cgi?id=171714
Multiple LayoutTests crashing in Document::page() (Requested
by ap on #webkit).
Reverted changeset:
"Remove support for legacy Notifications"
https://bugs.webkit.org/show_bug.cgi?id=171487
http://trac.webkit.org/changeset/216206
2017-05-04 Don Olmstead <don.olmstead@am.sony.com>
[Win] Remove redundant macros that are set in the CMake config
https://bugs.webkit.org/show_bug.cgi?id=171571
Reviewed by Brent Fulgham.
* Source/cmake/OptionsWin.cmake:
2017-05-03 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.1 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-05-01 Aakash Jain <aakash_jain@apple.com>
fix check-webkit-style errors in webkitpy about two blank lines before class definitions
https://bugs.webkit.org/show_bug.cgi?id=171509
Reviewed by Alexey Proskuryakov.
* Scripts/webkitpy/common/config/committers.py: Added two blank lines before class definition.
* Scripts/webkitpy/layout_tests/models/test_run_results.py: Ditto.
* Scripts/webkitpy/layout_tests/run_webkit_tests.py: Ditto.
* Scripts/webkitpy/port/base_unittest.py: Ditto.
* Scripts/webkitpy/port/device.py: Ditto.
* Scripts/webkitpy/port/linux_get_crash_log.py: Ditto.
* Scripts/webkitpy/style/checkers/featuredefines.py: Ditto.
* Scripts/webkitpy/style/checkers/jsonchecker.py: Ditto.
* Scripts/webkitpy/tool/bot/patchanalysistask.py: Ditto.
* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Ditto.
(ManagerTest.test_uses_custom_device.MockCustomDevicePort): Added blank line before method.
(ManagerTest.test_uses_custom_device): Removed extra blank line at end of file.
2017-04-25 Daniel Bates <dabates@apple.com>
[Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
https://bugs.webkit.org/show_bug.cgi?id=136452
<rdar://problem/23412620>
Reviewed by Brent Fulgham.
Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
2017-04-24 Zan Dobersek <zdobersek@igalia.com>
Unreviewed follow-up to r215681.
* Source/cmake/OptionsGTK.cmake: Don't re-define the ENABLE_SUBTLE_CRYPTO
macro, that's already done by the option macro.
2017-04-24 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Switch to use ENABLE_REMOTE_INSPECTOR instead of ENABLE_INSPECTOR_SERVER for the remote inspector
https://bugs.webkit.org/show_bug.cgi?id=166680
Reviewed by Michael Catanzaro.
Add private option for ENABLE_REMOTE_INSPECTOR and enabled it by default.
* Source/cmake/OptionsGTK.cmake:
2017-04-24 Zan Dobersek <zdobersek@igalia.com>
[GTK] Make the ENABLE_SUBTLE_CRYPTO option depend on libgcrypt 1.7.0
https://bugs.webkit.org/show_bug.cgi?id=171112
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake: When ENABLE_SUBTLE_CRYPTO feature is enabled,
the detected libgcrypt library version should be at least 1.7.0 since we'll be
relying on API that was introduced in that version.
2017-04-21 Konstantin Tokarev <annulen@yandex.ru>
[cmake] WTF target should not have wtf and subdirectries in public interface
https://bugs.webkit.org/show_bug.cgi?id=171115
Reviewed by Michael Catanzaro.
In r209665 WEBCORE_FRAMEWORK macro started to export INCLUDE_DIRECTORIES of
targets as their public interface, so that linked targets can use them
implicitly without copying directory lists around. This matches existing
practice for all targets except WTF, headers from which are always included
with full path starting from "<wtf/...".
Since r209665 it became possible to include headers from wtf or its
subdirectories in CMake builds without using "<wtf/..." path. It should
not be allowed.
* Source/cmake/WebKitMacros.cmake: Support xxx_PRIVATE_HEADERS
CMake variables.
2017-04-20 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
https://bugs.webkit.org/show_bug.cgi?id=171071
Reviewed by Michael Catanzaro.
"${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
be available for all ports.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFS.cmake:
* Source/cmake/WebKitMacros.cmake:
2017-04-17 Yusuke Suzuki <utatane.tea@gmail.com>
[JSCOnly] Fix build failures in macOS
https://bugs.webkit.org/show_bug.cgi?id=170887
Reviewed by Alex Christensen.
Align ICU header configuration to MacCMake port.
* Source/cmake/OptionsJSCOnly.cmake:
2017-04-16 Sam Weinig <sam@webkit.org>
[WebIDL] Switch IDLAttributes.txt over to a more structured format so that more information can be added for each attribute
https://bugs.webkit.org/show_bug.cgi?id=170843
Reviewed by Chris Dumez.
* Source/cmake/WebKitMacros.cmake:
Update extension of IDLAttributes to .json
2017-04-13 Don Olmstead <don.olmstead@am.sony.com>
[WinCairo] Assign WEBKIT_LIBRARIES_DIR to CMAKE_PREFIX_PATH
https://bugs.webkit.org/show_bug.cgi?id=170797
Reviewed by Alex Christensen.
* Source/cmake/FindCairo.cmake:
* Source/cmake/OptionsWin.cmake:
2017-04-11 Zan Dobersek <zdobersek@igalia.com>
[CMake] OpenWebRTC libraries path isn't properly deduced
https://bugs.webkit.org/show_bug.cgi?id=170670
Reviewed by Carlos Garcia Campos.
When using OpenWebRTC installation that's outside of the usual Jhbuild
installation directories, the library paths are ignored because the
dependency libraries are simply gathered from the pkg-config file.
Instead, the pkg-config data should be used to search for the correct
paths to the header and library locations. Both libopenwebrtc and
libopenwebrtc_gst libraries are needed, so the two library paths are
concatenated into the OPENWEBRTC_LIBRARIES variable.
* Source/cmake/FindOpenWebRTC.cmake:
2017-04-08 Ting-Wei Lan <lantw44@gmail.com>
Elftoolchain ar doesn't support response files
https://bugs.webkit.org/show_bug.cgi?id=170105
Reviewed by Michael Catanzaro.
WebKit enables the use of response files when cmake and ninja is used.
However, the default implementation of ar command used in FreeBSD, which
is part of elftoolchain project, doesn't support reading arguments from
response files. To avoid causing undefined reference error on FreeBSD,
we disable the use of response files when elftoolchain ar is detected.
* Source/cmake/OptionsCommon.cmake:
2017-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
Unreviewed, rolling out r215150.
Broke buildbot
Reverted changeset:
"[CMake] Don't force-enable response files when using Ninja
generator"
https://bugs.webkit.org/show_bug.cgi?id=170105
http://trac.webkit.org/changeset/215150
2017-04-08 Ting-Wei Lan <lantw44@gmail.com>
[CMake] Don't force-enable response files when using Ninja generator
https://bugs.webkit.org/show_bug.cgi?id=170105
Reviewed by Michael Catanzaro.
Not all platforms support response files, and unconditionally enabling
response files is known to cause build failure for some platforms.
Since WebKit builds fine on many platforms without force-enabling
response files and bug 129771 didn't mention which platform required
it, we remove it instead of adding more platform checks.
* Source/cmake/OptionsCommon.cmake:
2017-04-07 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] Various build errors when plugin support is disabled
https://bugs.webkit.org/show_bug.cgi?id=170015
Reviewed by Carlos Garcia Campos.
Allow building with ENABLE_NETSCAPE_PLUGIN_API=ON and ENABLE_X11_TARGET=OFF. This should be
possible as Carlos worked to ensure windowless plugins work properly outside X11. The GTK2
plugin process still depends on ENABLE_X11_TARGET because a plugin that uses GTK+ surely
wants to display a window, and is not going to work outside X11. (If the plugin links to
GTK+ but does not display a window, it's dumb and deserves to be broken.)
Also, make ENABLE_PLUGIN_PROCESS conditional on ENABLE_NETSCAPE_PLUGIN_API, not
ENABLE_X11_TARGET.
* Source/cmake/OptionsGTK.cmake:
2017-04-07 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake][Windows] WebKitGUID.lib should be built with the release CRT
https://bugs.webkit.org/show_bug.cgi?id=170593
Reviewed by Brent Fulgham.
Source/cmake/OptionsWin.cmake has a trick to force using the
release CRT even for debug build configuration. But, this works
only for C++, but for C. As the result, WebKitGUID.lib is built
with the debug CRT in debug build configuration because it has C
source files.
* Source/cmake/OptionsWin.cmake: Process CMAKE_C_FLAGS_* as well as CMAKE_CXX_FLAGS_*.
2017-04-06 Nael Ouedraogo <nael.ouedraogo@crf.canon.fr>
[GTK] Build fails when using icecream, ccache and cmake 3.6
https://bugs.webkit.org/show_bug.cgi?id=170498
Reviewed by Michael Catanzaro.
Disable ninja response file when using icecream, ccache and cmake > 3.5.
* Source/cmake/OptionsCommon.cmake:
2017-04-04 Ross Kirsling <ross.kirsling@sony.com>
[CMake] Enforce Python 2
https://bugs.webkit.org/show_bug.cgi?id=170439
Reviewed by Brent Fulgham.
* Source/cmake/WebKitCommon.cmake: Fail build immediately if Python 3 is detected.
2017-03-24 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Add MIMETypeRegistry implementation using xdgmime and remove the GTK+ one
https://bugs.webkit.org/show_bug.cgi?id=170001
Reviewed by Michael Catanzaro.
* Source/CMakeLists.txt: Compile xdgmime if USE_XDGMIME is ON.
* Source/cmake/OptionsGTK.cmake: Set USE_XDGMIME to ON.
2017-03-10 Per Arne Vollan <pvollan@apple.com>
Unreviewed Win64 build fix. FTL is not ready to be turned on yet.
* Source/cmake/OptionsWin.cmake:
2017-03-10 Alex Christensen <achristensen@webkit.org>
Win64 build fix.
* Source/cmake/OptionsWin.cmake:
WASM got turned on on Win64. Judging by the state of WasmMemory.cpp, I'm going to
assume this was a mistake and turn it off until someone writes a version that uses
VirtualAlloc/VirtualFree instead of mmap.
The FTL seems a bit unstable, though. This fixes the build, but more fixes are necessary.
2017-03-06 Yusuke Suzuki <utatane.tea@gmail.com>
Unreviewed, fix AppleWin build
https://bugs.webkit.org/show_bug.cgi?id=164032
* Source/cmake/WebKitFeatures.cmake:
2017-03-06 Yusuke Suzuki <utatane.tea@gmail.com>
[GTK][JSCOnly] Enable WebAssembly on Linux environment
https://bugs.webkit.org/show_bug.cgi?id=164032
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsJSCOnly.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-03-04 Michael Catanzaro <mcatanzaro@igalia.com>
Unreviewed, remove stray period from readme
* ReadMe.md:
2017-03-03 Dean Jackson <dino@apple.com>
Add WebGPU compile flag and experimental feature flag
https://bugs.webkit.org/show_bug.cgi?id=169161
<rdar://problem/30846689>
Reviewed by Tim Horton.
Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature,
and an InternalSetting.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-03-01 Andy Estes <aestes@apple.com>
Build libwebrtc as part of the All Source scheme in WebKit.xcworkspace.
Rubber-stamped by Tim Horton.
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2017-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Bump GTK+ versions numbers.
* Source/cmake/OptionsGTK.cmake:
2017-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed, rolling out r213024.
Wrong version numbers
Reverted changeset:
"[GTK] Unreviewed, bump GTK version numbers also on trunk"
http://trac.webkit.org/changeset/213024
2017-02-26 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] Unreviewed, bump GTK version numbers also on trunk
* Source/cmake/OptionsGTK.cmake:
2017-02-23 Tomas Popela <tpopela@redhat.com>
[GTK] Compilation fails if using ninja together with icecream and cmake > 3.5
https://bugs.webkit.org/show_bug.cgi?id=168770
Reviewed by Carlos Garcia Campos.
If using cmake >= 3.6 together with ninja generator and icecream, the
build will fail as icecream does not correctly handle the response
files and it's not passing compiler flags from there to the compiler
itself (in our case it's not passing -fPIC which leads to the
failure while linking). Don't enable the ninja's response files
support if we fulfill the preconditions.
* Source/cmake/OptionsCommon.cmake:
2017-02-22 Ryosuke Niwa <rniwa@webkit.org>
Add GTK+ build instruction to ReadMe.md
https://bugs.webkit.org/show_bug.cgi?id=168745
Reviewed by Michael Catanzaro.
Add instructions to build GTK+ port.
Removed the instruction to set the default configuration since that didn't seem important.
* ReadMe.md:
2017-02-22 Alberto Garcia <berto@igalia.com>
[GTK] [2.15.90] Disable RESOURCE_USAGE on non-Linux systems
https://bugs.webkit.org/show_bug.cgi?id=168714
Reviewed by Carlos Garcia Campos.
* Source/cmake/OptionsGTK.cmake:
2017-02-21 Ryosuke Niwa <rniwa@webkit.org>
Remove the extra `'s errornously added during the final editing.
* ReadMe.md:
2017-02-21 Ryosuke Niwa <rniwa@webkit.org>
Add ReadMe.md to WebKit
https://bugs.webkit.org/show_bug.cgi?id=168413
Reviewed by Chris Dumez.
Add a ReadMe.md to be read on https://github.com/WebKit/webkit based on webkit.org content.
* ReadMe.md: Added.
2017-02-20 Carlos Garcia Campos <cgarcia@igalia.com>
Remove ENABLE_THREADED_COMPOSITOR build option
https://bugs.webkit.org/show_bug.cgi?id=168606
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
2017-02-20 Manuel Rego Casasnovas <rego@igalia.com>
[css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT
https://bugs.webkit.org/show_bug.cgi?id=167693
Reviewed by Sergio Villar Senin.
CSS Grid Layout has been enabled by default in r211415,
and Safari 10.1 is shipping it.
It seems like a good moment to remove the compilation flag.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-02-17 Michael Catanzaro <mcatanzaro@igalia.com>
Remove EFL from Source/cmake
https://bugs.webkit.org/show_bug.cgi?id=168512
Reviewed by Carlos Garcia Campos.
* Source/cmake/OptionsEfl.cmake: Removed.
* Source/cmake/WebKitPackaging.cmake:
* Source/cmake/eflsymbols.filter: Removed.
2017-02-16 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Use env command to set PYTHONPATH if cmake is new enough
https://bugs.webkit.org/show_bug.cgi?id=156833
Reviewed by Alex Christensen.
This change fixes 2 issues when CMake >= 3.1 is used:
- When PYTHONPATH contains special characters, CMake adds quotes around
"PYTHONPATH=..." and produces broken build command in non-WIN32 case.
- On WIN32, unix-like shell can be used instead of cmd.exe, but this case
cannot be easily detected in cmake.
* Source/cmake/WebKitMacros.cmake:
2017-02-15 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Add ENABLE_INTERSECTION_OBSERVER option to CMake.
It's now a runtime enabled feature so we should always build it.
Fixes: intersection-observer/intersection-observer-entry-interface.html
intersection-observer/intersection-observer-interface.html
* Source/cmake/WebKitFeatures.cmake:
2017-02-10 Brian Burg <bburg@apple.com>
Add basic debugging macros for CMake
https://bugs.webkit.org/show_bug.cgi?id=161538
Reviewed by Michael Catanzaro.
It's useful to be able to dump the state of everything when debugging
CMake build problems, especially when they happen on EWS (but not locally).
Start with macros for:
- dumping out all CMake variables
- dumping all executed commands (by turning off pretty-printing)
* Source/cmake/WebKitMacros.cmake:
2017-02-09 Alex Christensen <achristensen@webkit.org>
Build libwebrtc on bots without using it yet
https://bugs.webkit.org/show_bug.cgi?id=168062
Reviewed by Brent Fulgham.
* Source/Makefile:
2017-02-07 Olivier Blin <olivier.blin@softathome.com>
[GTK][Efl] Do not require LibXslt if XSLT is disabled
https://bugs.webkit.org/show_bug.cgi?id=167931
This fixes build with --no-xslt, when the libxslt dev files are not installed.
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
2017-02-03 Konstantin Tokarev <annulen@yandex.ru>
[CMake] RelWithDebInfo builds are super broken at runtime
https://bugs.webkit.org/show_bug.cgi?id=163897
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing,
-fno-exceptions, and -fno-rtti flags to all configurations,
instead of only "Release".
2017-02-03 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Add initial implementation of resource usage overlay
https://bugs.webkit.org/show_bug.cgi?id=167731
Reviewed by Michael Catanzaro.
Enable RESOURCE_USAGE.
* Source/cmake/OptionsGTK.cmake:
2017-02-02 Alex Christensen <achristensen@webkit.org>
Build fix after r211602
https://bugs.webkit.org/show_bug.cgi?id=167758
* Source/Makefile:
Don't build libwebrtc by default. It's not used yet anyway.
2017-02-02 David Kilzer <ddkilzer@apple.com>
Make the Makefile great again after r211570, r211572
* Makefile: Restore tabs and ending newline.
2017-02-02 Jonathan Bedard <jbedard@apple.com>
Unreviewed build fix after r211570
* Makefile: Placed back.
2017-02-01 Yusuke Suzuki <utatane.tea@gmail.com>
Propagate networking errors correctly for import() operator
https://bugs.webkit.org/show_bug.cgi?id=167501
Reviewed by Ryosuke Niwa.
* Source/ModuleFetchFailureKind.h: Added.
2017-01-31 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.4 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-01-24 Joseph Pecoraro <pecoraro@apple.com>
Fold USER_TIMING into WEB_TIMING and make it a RuntimeEnabledFeature
https://bugs.webkit.org/show_bug.cgi?id=167394
Reviewed by Ryosuke Niwa.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-01-22 Don Olmstead <don.olmstead@am.sony.com> and Myles C. Maxfield <mmaxfield@apple.com>
Introducing the Platform Abstraction Layer (PAL)
https://bugs.webkit.org/show_bug.cgi?id=143358
Reviewed by Alex Christensen.
* CMakeLists.txt:
* Source/CMakeLists.txt:
* Source/cmake/WebKitFS.cmake:
2017-01-20 Joseph Pecoraro <pecoraro@apple.com>
Remove outdated ENABLE(CSP_NEXT) build flag
https://bugs.webkit.org/show_bug.cgi?id=167252
Reviewed by Brent Fulgham.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-01-20 Youenn Fablet <youenn@apple.com>
[WebRTC] Add libwebrtc build infrastructure
https://bugs.webkit.org/show_bug.cgi?id=167207
Reviewed by Alex Christensen.
* WebKit.xcworkspace/contents.xcworkspacedata:
2017-01-20 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.3 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2017-01-17 Joseph Pecoraro <pecoraro@apple.com>
ENABLE(USER_TIMING) Not Defined for Apple Windows or OS X Ports
https://bugs.webkit.org/show_bug.cgi?id=116551
<rdar://problem/13949830>
Reviewed by Alex Christensen.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-01-16 Joseph Pecoraro <pecoraro@apple.com>
Remove the REQUEST_ANIMATION_FRAME flag
https://bugs.webkit.org/show_bug.cgi?id=156980
<rdar://problem/25906849>
Reviewed by Simon Fraser.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-01-14 Joseph Pecoraro <pecoraro@apple.com>
Remove stale references to ENABLE_ES6_GENERATORS and ENABLE_PROMISES
https://bugs.webkit.org/show_bug.cgi?id=167043
Reviewed by Darin Adler.
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-01-13 Joseph Pecoraro <pecoraro@apple.com>
Remove ENABLE(DETAILS_ELEMENT) guards
https://bugs.webkit.org/show_bug.cgi?id=167042
Reviewed by Alex Christensen.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2017-01-13 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Clean up SHARED_CORE option
https://bugs.webkit.org/show_bug.cgi?id=167004
Reviewed by Alex Christensen.
* CMakeLists.txt:
2016-12-21 Konstantin Tokarev <annulen@yandex.ru>
set PYTHONPATH in separate COMMAND doesn't work with all CMake generators
https://bugs.webkit.org/show_bug.cgi?id=164997
Reviewed by Alex Christensen.
Fix for r201413.
* Source/cmake/WebKitMacros.cmake:
2016-12-17 Joonghun Park <jh718.park@samsung.com>
[EFL] bump EFL version to 1.18.4
https://bugs.webkit.org/show_bug.cgi?id=166004
Reviewed by Gyuyoung Kim.
* Source/cmake/OptionsEfl.cmake: Use efl-1.18.4 instead of 1.18.1.
2016-12-15 Alex Christensen <achristensen@webkit.org>
Remove flex and bison build dependencies; commit generated XPath parser
https://bugs.webkit.org/show_bug.cgi?id=165783
Reviewed by Brent Fulgham.
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitMacros.cmake:
2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
https://bugs.webkit.org/show_bug.cgi?id=165686
Reviewed by Michael Catanzaro.
This change reduces duplication of include path lists between modules,
and reduces future need for fixes like r209605 (broken build because of
WebCore header suddenly becoming used in WebKit2).
* Source/cmake/WebKitMacros.cmake:
2016-11-30 Brent Fulgham <bfulgham@apple.com>
[Win] Apple build is using incorrect ICU library (if present)
https://bugs.webkit.org/show_bug.cgi?id=164934
<rdar://problem/29329654>
Reviewed by Alex Christensen.
Move the 'icuuc.lib' and 'icuin.lib' library names to the end of the set of choices when searching for ICU.
so that we preferentially select the 'new' version of these libraries if they are available.
* Source/cmake/FindICU.cmake:
2016-11-23 Zan Dobersek <zdobersek@igalia.com>
Remove ENABLE_ASSEMBLER_WX_EXCLUSIVE code
https://bugs.webkit.org/show_bug.cgi?id=165027
Reviewed by Darin Adler.
* Source/cmake/WebKitFeatures.cmake: Remove the ENABLE_ASSEMBLER_WX_EXCLUSIVE option.
2016-11-21 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.2 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2016-11-17 Saam Barati <sbarati@apple.com>
Remove async/await compile time flag and enable tests
https://bugs.webkit.org/show_bug.cgi?id=164828
<rdar://problem/28639334>
Reviewed by Yusuke Suzuki.
* Source/cmake/WebKitFeatures.cmake:
2016-11-16 Yusuke Suzuki <utatane.tea@gmail.com>
[ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
https://bugs.webkit.org/show_bug.cgi?id=164827
Reviewed by Ryosuke Niwa.
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2016-11-12 Michael Catanzaro <mcatanzaro@igalia.com>
Unreviewed, rolling out r207872.
https://bugs.webkit.org/show_bug.cgi?id=162623
Did not disable anything, just made them public
Reverted changeset:
"[GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default"
https://bugs.webkit.org/show_bug.cgi?id=162623
http://trac.webkit.org/changeset/207872
2016-11-09 Gyuyoung Kim <gyuyoung.kim@webkit.org>
[EFL] Use libgcrypt instead of GnuTLS for CryptoDigest
https://bugs.webkit.org/show_bug.cgi?id=164461
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsEfl.cmake: Find LibGcrypt package instead of GnuTLS.
2016-11-05 Konstantin Tokarev <annulen@yandex.ru>
[MinGW] Fixed C99/C++11 format attributes in printf-like functions
https://bugs.webkit.org/show_bug.cgi?id=164448
Reviewed by Michael Catanzaro.
By default MinGW uses printf-like function provided in msvcrt.dll,
however they miss support for C99/C++11 format attributes. Use MinGW
implementations instead.
* Source/cmake/OptionsCommon.cmake: Define __USE_MINGW_ANSI_STDIO
2016-11-03 Konstantin Tokarev <annulen@yandex.ru>
Fixes to build JSCOnly on macOS
https://bugs.webkit.org/show_bug.cgi?id=164379
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsJSCOnly.cmake: Define BUILDING_JSCONLY__, use
system ICU libraries on macOS
* Source/cmake/WebKitMacros.cmake: Fixed WEBKIT_FRAMEWORK macro for
static JSC
2016-11-03 Konstantin Tokarev <annulen@yandex.ru>
[cmake][MinGW] Don't use MS bitfield layout to reduce sizes of data structures
https://bugs.webkit.org/show_bug.cgi?id=164026
Reviewed by Michael Catanzaro.
With MS bitfileds RegisterAtOffset becomes wider than ptrdiff_t because of
different alignment requirements, invoking static_assert. Instead of
muting assert for MinGW like it's done for MSVC, it's a better choice to
use more dense layout, as bitfields are not used in public APIs.
Also, suppress MinGW warnings from "#pragma warning" which it doesn't
understand.
* Source/cmake/OptionsCommon.cmake:
2016-11-02 Alex Christensen <achristensen@webkit.org>
Remove Battery Status API from the tree
https://bugs.webkit.org/show_bug.cgi?id=164213
Reviewed by Sam Weinig.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/WebKitFeatures.cmake:
2016-11-02 Olivier Blin <olivier.blin@softathome.com>
[GTK] Use libgcrypt instead of GnuTLS for CryptoDigest and SubtleCrypto HMAC implementation
https://bugs.webkit.org/show_bug.cgi?id=163125
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake: Updated to use libgcrypt files instead of gnutls.
At least version 1.6.0 is needed for the HMAC APIs.
libgcrypt is now needed unconditionally for CryptoDigest, used by CSP.
2016-11-02 Romain Bellessort <romain.bellessort@crf.canon.fr>
[Readable Streams API] Enable creation of ReadableByteStreamController
https://bugs.webkit.org/show_bug.cgi?id=164014
Reviewed by Youenn Fablet.
Added flag for the byte stream part of Readable Streams API.
* Source/cmake/WebKitFeatures.cmake:
2016-11-01 Ryosuke Niwa <rniwa@webkit.org>
Remove CUSTOM_ELEMENTS build flag
https://bugs.webkit.org/show_bug.cgi?id=164267
Reviewed by Antti Koivisto.
Removed the build flag.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
2016-11-01 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake] generate-bindings-all.pl uses USES_TERMINAL which leaves a noisy line in interactive Ninja build
https://bugs.webkit.org/show_bug.cgi?id=163868
Reviewed by Michael Catanzaro.
It takes long time for generate-bindings-all.pl to generate all
bindings. So, it shows the progress while running and
USES_TERMINAL option of add_custom_target have been used to invoke
the command. However, USES_TERMINAL leaves a noisy line in
Ninja's neat build log of interactive build.
A new CMake option SHOW_BINDINGS_GENERATION_PROGRESS is added to
stop using USES_TERMINAL only in case of interactive Ninja build.
* Source/cmake/WebKitMacros.cmake: Added a new option
SHOW_BINDINGS_GENERATION_PROGRESS. Apended --showProgress switch
of generate-bindings-all.pl and used USES_TERMINAL only if
SHOW_BINDINGS_GENERATION_PROGRESS is enabled.
2016-10-31 Ryosuke Niwa <rniwa@webkit.org>
Enable custom elements by default everywhere
https://bugs.webkit.org/show_bug.cgi?id=164242
Reviewed by Michael Catanzaro.
Enable the Custom Elements API in CMake builds.
* Source/cmake/WebKitFeatures.cmake:
2016-10-30 Frederic Wang <fwang@igalia.com>
Use HarfBuzz ot-math API to parse the OpenType MATH table
https://bugs.webkit.org/show_bug.cgi?id=162671
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsGTK.cmake: Enable internal OpenType MATH parsing for HarfBuzz < 1.3.3.
2016-10-30 Hyowon Kim <hw1008.kim@samsung.com>
[GTK] Build break by missing geoclue-2.0.
https://bugs.webkit.org/show_bug.cgi?id=164170
Reviewed by Michael Catanzaro.
Revise the module name for pkg_check_modules() in FindGeoClue2.cmake.
* Source/cmake/FindGeoClue2.cmake: replace geoclue-2.0 with libgeoclue-2.0.
2016-10-29 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake][Win] Visual Studio invokes make_settings.pl twice
https://bugs.webkit.org/show_bug.cgi?id=163774
Reviewed by Michael Catanzaro.
build-webkit recompiles some files just after finishing
build-webkit in case of using CMake VisualStudio generator because
both WebCoreDerivedSources.vcxproj and WebCoreTestSupport.vcxproj
triggers make_settings.pl.
make_settings.pl generates four files
InternalSettingsGenerated.{h,cpp,idl} and SettingsMacros.h.
WebCoreDerivedSources depends on SettingsMacros.h, and
WebCoreTestSupport depends on InternalSettingsGenerated.cpp.
This problem is described in CMake documentation:
<https://cmake.org/cmake/help/v3.0/command/add_custom_command.html>
> Do not list the output in more than one independent target that may
> build in parallel or the two instances of the rule may conflict
To solve this problem, only SettingsMacros.h is specified as
OUTPUT of add_custom_command, and other generated files are marked
as BYPRODUCTS. As the result, only WebCoreDerivedSources target
triggers make_settings.pl. And other targets already have a
dependency to WebCoreDerivedSources target.
To support earlier versions than CMake 3.2, it uses GENERATED
source file property instead of BYPRODUCTS option.
* Source/cmake/WebKitMacros.cmake(GENERATE_SETTINGS_MACROS):
Removed extra output files from OUTPUT of add_custom_command and
added BYPRODUCTS option.
2016-10-28 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake] Changing enabled features should trigger recompiling all IDL
https://bugs.webkit.org/show_bug.cgi?id=164121
Reviewed by Michael Catanzaro.
Changing enabled features should trigger recompiling all IDL
because some of them use #if. generate-bindings-all.pl was
introduced in <http://trac.webkit.org/changeset/207617>. Before
this change, updating supplemental_dependency.tmp triggered
recompiling all IDL. Changing enabled features usually involves
adding or removing IDL files. As the result, all IDL would be
recompiled. After the change, adding or removing IDL does not
trigger recompiling all IDL. So, we need to explicitly trigger
recompiling all IDL if enabled features are changed.
* Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Added
cmakeconfig.h to extra dependencies.
2016-10-26 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.1 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2016-10-26 Enrique Ocaña González <eocanha@igalia.com>
[cmake][GStreamer][MSE][EME] Build MSE and EME code after refactoring
https://bugs.webkit.org/show_bug.cgi?id=162928
Reviewed by Xabier Rodriguez-Calvar.
Consolidate all the source file tree changes after refactoring.
This patch is co-authored with Philippe Normand <philn@igalia.com> (EME support).
* Source/cmake/FindLibGcrypt.cmake: Added.
* Source/cmake/OptionsGTK.cmake:
2016-10-26 Enrique Ocaña González <eocanha@igalia.com>
[GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default
https://bugs.webkit.org/show_bug.cgi?id=162623
Reviewed by Xabier Rodriguez-Calvar.
* Source/cmake/OptionsGTK.cmake:
2016-10-25 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Don't enable ld.gold by default on non-ELF platforms
https://bugs.webkit.org/show_bug.cgi?id=163946
Reviewed by Alex Christensen.
For example, MinGW toolchain may be shipped with gold, but it fails to link
WebKit.
* Source/cmake/OptionsCommon.cmake:
2016-10-25 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Don't add -fPIC flag when on Windows (MinGW)
https://bugs.webkit.org/show_bug.cgi?id=163949
Reviewed by Michael Catanzaro.
-fPIC flag does not do anything on Windows and produces warning noise
with MinGW. There is no position independent code in Unix sense on
32-bit Windows, and 64-bit Windows code is always relocatable.
For reference see
https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00836.html
* Source/cmake/WebKitHelpers.cmake:
2016-10-21 Csaba Osztrogonác <ossy@webkit.org>
[EFL] REGRESSION(r207616): Build is broken due to missing libgeoclue-dev package
https://bugs.webkit.org/show_bug.cgi?id=163733
Reviewed by Gyuyoung Kim.
* Source/cmake/OptionsEfl.cmake: Expose USE_GEOCLUE2 to the build properly.
2016-10-21 Adam Bergkvist <adam.bergkvist@ericsson.com>
WebRTC: [GTK] Add MediaEndpointOwr - an OpenWebRTC WebRTC backend
https://bugs.webkit.org/show_bug.cgi?id=163327
Reviewed by Philippe Normand.
Add manual WebRTC test. Test features:
- Two RTCPeerConnection instances communicate in a single browser tab.
- Supports setting up bidirectional media with a single SDP dialog, as
well as one direction at a time.
- Strips vendor prefixes (runs in Chrome and Firefox as well)
- Supports modern as well as legacy APIs (mainly to make the test run
in Chrome)
* ManualTests/webrtc-one-tab-p2p.html: Added.
2016-10-20 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Configures but fails to link with ENABLE_OPENGL=OFF
https://bugs.webkit.org/show_bug.cgi?id=163449
Reviewed by Michael Catanzaro.
Remove wrong dependency of Wayland on OpenGL introduced in r190615, it should be possible to build for Wayland
without GL.
* Source/cmake/OptionsGTK.cmake:
2016-10-20 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake] CMake does not support the dep files for implicit dependency
https://bugs.webkit.org/show_bug.cgi?id=161433
Reviewed by Brent Fulgham.
Created a Perl script to generate all IDL bindings for CMake.
This script can regenerate outdated bindings by based on the
supplemental dependency and dep files created by
'--write-dependencies' switch of generate-bindings.pl.
add_custom_target is used to invoke the script instead of
add_custom_command because Ninja deletes all output files before
executing the command in case of add_custom_command.
USES_TERMINAL option of add_custom_target has two effects:
1) Not buffering output of the command
2) Invoking the command in the special Ninja pool which inhibits parallel build
One needs to use CMake 3.2 or later to enable this feature.
* Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included
ProcessorCount. Added a new argument 'target'. Use
add_custom_target instead of add_custom_command. Invoke the new
script.
2016-10-19 Alex Christensen <achristensen@webkit.org>
Revert r207151
https://bugs.webkit.org/show_bug.cgi?id=163675
Reviewed by Brent Fulgham.
* Source/cmake/OptionsAppleWin.cmake:
2016-10-18 Dean Jackson <dino@apple.com>
Remove CSS_SHAPES feature definition. This should always be on.
https://bugs.webkit.org/show_bug.cgi?id=163628
<rdar://problem/28834613>
Reviewed by Tim Horton.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2016-10-14 Michael Catanzaro <mcatanzaro@igalia.com>
[CMake] Private/unsupported build options should be marked as advanced
https://bugs.webkit.org/show_bug.cgi?id=163451
Reviewed by Carlos Garcia Campos.
When checking to decide whether to mark an option as advanced, the conditional checks
whether _WEBKIT_AVAILABLE_OPTIONS_IS_PUBLIC_${_name} is defined. It is always defined. We
need to check its value instead.
* Source/cmake/WebKitFeatures.cmake:
2016-10-13 Brian Burg <bburg@apple.com>
[CMake] Split the definition of CODE_GENERATOR_PREPROCESSOR so it can be used in a custom command
https://bugs.webkit.org/show_bug.cgi?id=163401
Reviewed by Michael Catanzaro.
In another patch, we need to use CODE_GENERATOR_PREPROCESSOR as the COMMAND argument
when defining an add_custom_command. Previously, it has only been used as a quoted argument
to various Perl code generation scripts.
To support both use cases, we need to be able to provide the executable and its arguments as
an unbroken quoted string, and as a CMake list suitable for passing as an argument to COMMAND.
* Source/cmake/OptionsCommon.cmake:
Split out the executable and argument string into separate variables that can be used elsewhere.
Compute the final unbroken quoted string using the two separate variables to arrive at the same result.
* Source/cmake/WebKitMacros.cmake:
Drive-by cleanup to add quotes around the use of CODE_GENERATOR_PREPROCESSOR so it matches other uses.
2016-10-12 Chris Dumez <cdumez@apple.com>
[Web IDL] Drop support for legacy [ConstructorConditional=*]
https://bugs.webkit.org/show_bug.cgi?id=163368
Reviewed by Ryosuke Niwa.
Drop ENABLE_DOM4_EVENTS_CONSTRUCTOR compiler flag.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2016-10-11 Alex Christensen <achristensen@webkit.org>
Remove dead networking code
https://bugs.webkit.org/show_bug.cgi?id=163263
Reviewed by Daniel Bates.
* Source/cmake/OptionsAppleWin.cmake:
2016-10-11 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Make INDEXED_DATABASE_IN_WORKERS depending on INDEXED_DATABASE
https://bugs.webkit.org/show_bug.cgi?id=163280
Reviewed by Csaba Osztrogonác.
* Source/cmake/WebKitFeatures.cmake:
2016-10-11 Per Arne Vollan <pvollan@apple.com>
[Win][Direct2D] Compile fix.
https://bugs.webkit.org/show_bug.cgi?id=163273
Reviewed by Brent Fulgham.
Define USE_DIRECT2D.
* Source/cmake/OptionsAppleWin.cmake:
2016-10-10 Zan Dobersek <zdobersek@igalia.com>
Add ENABLE_ENCRYPTED_MEDIA configuration option
https://bugs.webkit.org/show_bug.cgi?id=163219
Reviewed by Darin Adler.
Add the ENABLE_ENCRYPTED_MEDIA configuration option to the
CMake and MSVC build systems. It will be used to enable or
disable the new EME implementation at build-time.
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2016-10-10 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r206972.
https://bugs.webkit.org/show_bug.cgi?id=163227
Making EWS flaky (Requested by bfulgham_ on #webkit).
Reverted changeset:
"[CMake] CMake does not support the dep files for implicit
dependency"
https://bugs.webkit.org/show_bug.cgi?id=161433
http://trac.webkit.org/changeset/206972
2016-10-09 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake] CMake does not support the dep files for implicit dependency
https://bugs.webkit.org/show_bug.cgi?id=161433
Reviewed by Brent Fulgham.
Created a Perl script to generate all IDL bindings for CMake.
This script can regenerate outdated bindings by based on the
supplemental dependency and dep files created by
'--write-dependencies' switch of generate-bindings.pl.
add_custom_target is used to invoke the script instead of
add_custom_command because Ninja deletes all output files before
executing the command in case of add_custom_command.
USES_TERMINAL option of add_custom_target has two effects:
1) Not buffering output of the command
2) Invoking the command in the special Ninja pool which inhibits parallel build
One needs to use CMake 3.2 or later to enable this feature.
* Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included
ProcessorCount. Added a new argument 'target'. Use
add_custom_target instead of add_custom_command. Invoke the new
script.
2016-10-07 Fujii Hironori <Hironori.Fujii@sony.com>
Use 'use lib $FindBin::Bin' to append Perl module include path
https://bugs.webkit.org/show_bug.cgi?id=162256
Reviewed by Carlos Garcia Campos.
* Source/cmake/WebKitMacros.cmake: Removed '-I' options from
invocation of Perl.
2016-10-06 Brent Fulgham <bfulgham@apple.com>
[Win][Direct2D] Add Direct2D CMake rules
https://bugs.webkit.org/show_bug.cgi?id=162925
Reviewed by Brent Fulgham.
* Source/cmake/OptionsAppleWin.cmake: Add a new 'USE_DIRECT2D' option
flag for the build. Currently this is commented out and is unused.
2016-10-05 Zan Dobersek <zdobersek@igalia.com>
Rename ENABLE_ENCRYPTED_MEDIA_V2 to ENABLE_LEGACY_ENCRYPTED_MEDIA
https://bugs.webkit.org/show_bug.cgi?id=162903
Reviewed by Alex Christensen.
Rename build guards for the remaining implementation of the legacy EME API
to ENABLE_LEGACY_ENCRYPTED_MEDIA. This will allow for the future implementation
of the near-finished API to be guarded with the simple ENABLE_ENCRYPTED_MEDIA guards.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2016-10-03 Carlos Garcia Campos <cgarcia@igalia.com>
[SOUP] Cleanup persistent credential storage code
https://bugs.webkit.org/show_bug.cgi?id=162777
Reviewed by Alex Christensen.
Remove ENABLE(CREDENTIAL_STORAGE) build flag and replace it by USE(LIBSECRET).
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
2016-09-29 Aaron Chu <aaron_chu@apple.com>
Web Inspector: AXI: linkified refs to #document and #text are not usually navigable nodes; consider delinkifying them
https://bugs.webkit.org/show_bug.cgi?id=130600
<rdar://problem/16391333>
Reviewed by Brian Burg.
Added a manual test to test the node links in the Accessibility Inspector
https://bugs.webkit.org/show_bug.cgi?id=130600
* ManualTests/accessibility/delinkified-non-navigable-links.html: Added.
2016-09-28 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] Remove obsolete comment from OptionsGTK.cmake
https://bugs.webkit.org/show_bug.cgi?id=162622
Reviewed by Alex Christensen.
* Source/cmake/OptionsGTK.cmake:
2016-09-28 Yusuke Suzuki <utatane.tea@gmail.com>
Unreviewed, build fix for several CMake ports after r206440
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2016-09-27 Don Olmstead <don.olmstead@am.sony.com>
[CMake] Add HAVE_LOCALTIME_R definition
https://bugs.webkit.org/show_bug.cgi?id=162636
Reviewed by Alex Christensen.
* Source/cmake/OptionsCommon.cmake:
2016-09-27 Don Olmstead <don.olmstead@am.sony.com>
[CMake] Use CMake to determine HAVE_* defines
https://bugs.webkit.org/show_bug.cgi?id=162368
Reviewed by Alex Christensen.
* Source/cmake/OptionsCommon.cmake:
2016-09-27 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Simplify Clang checks and prepare for compiler ID split
https://bugs.webkit.org/show_bug.cgi?id=162609
Reviewed by Michael Catanzaro.
CMake 3.x introduces separate compiler id for AppleClang, making condition
(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") inappropriate as check for
any clang version. Introduce COMPILER_IS_CLANG instead, which is also
shorter that CMAKE_CXX_COMPILER_ID comparison.
* CMakeLists.txt:
* Source/cmake/OptionsCommon.cmake:
* Source/cmake/WebKitHelpers.cmake:
* Source/cmake/OptionsEfl.cmake: Use CMAKE_COMPILER_IS_GNUCXX instead of
!Clang check because this is what was really meant here.
2016-09-27 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Added COMPILER_IS_GCC_OR_CLANG variable to simplify conditions.
https://bugs.webkit.org/show_bug.cgi?id=162605
Reviewed by Michael Catanzaro.
* CMakeLists.txt:
* Source/cmake/OptionsCommon.cmake:
* Source/cmake/WebKitHelpers.cmake:
2016-09-26 Daniel Bates <dabates@apple.com>
Rename IOS_TEXT_AUTOSIZING to TEXT_AUTOSIZING
https://bugs.webkit.org/show_bug.cgi?id=162365
Reviewed by Simon Fraser.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake: Substitute ENABLE_TEXT_AUTOSIZING for ENABLE_IOS_TEXT_AUTOSIZING,
update the description of this feature to better describe what it does and re-order the define in the
list of defines such that it is in sorted order.
2016-09-26 Konstantin Tokarev <annulen@yandex.ru>
[cmake] Added an option to disable thin archives when they are undesirable.
https://bugs.webkit.org/show_bug.cgi?id=162561
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsCommon.cmake: Added USE_THIN_ARCHIVES option.
2016-09-23 Caitlin Potter <caitp@igalia.com>
[JSC] Implement parsing of Async Functions
https://bugs.webkit.org/show_bug.cgi?id=161409
Reviewed by Yusuke Suzuki.
* Source/cmake/WebKitFeatures.cmake:
2016-09-22 Daniel Bates <dabates@apple.com>
Remove more ENABLE(TEXT_AUTOSIZING) code
https://bugs.webkit.org/show_bug.cgi?id=162456
Reviewed by Simon Fraser.
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2016-09-20 Don Olmstead <don.olmstead@am.sony.com>
[WinCairo] Use find_package cairo in build
https://bugs.webkit.org/show_bug.cgi?id=162239
Reviewed by Alex Christensen.
* Source/cmake/FindCairo.cmake:
* Source/cmake/OptionsWinCairo.cmake:
2016-09-19 Daniel Bates <dabates@apple.com>
Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code
https://bugs.webkit.org/show_bug.cgi?id=162167
Reviewed by Simon Fraser.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
2016-09-19 Michael Catanzaro <mcatanzaro@igalia.com>
[GTK] Make ENABLE_THREADED_COMPOSITOR a public option
https://bugs.webkit.org/show_bug.cgi?id=162148
Reviewed by Carlos Garcia Campos.
* Source/cmake/OptionsGTK.cmake:
2016-09-18 Gyuyoung Kim <gyuyoung.kim@navercorp.com>
[EFL] Bump efl library to 1.18.1
https://bugs.webkit.org/show_bug.cgi?id=162120
Reviewed by Michael Catanzaro.
* Source/cmake/OptionsEfl.cmake: Use efl-1.18.1 instead of 1.18.
2016-09-16 Carlos Garcia Campos <cgarcia@igalia.com>
[CMake] Build broken with current debian testing
https://bugs.webkit.org/show_bug.cgi?id=162054
Reviewed by Žan Doberšek.
Building WTR bindings is broken now in Debian testing. The reason is that '.' is no longer included in @INC for
perl, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588017 and
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1238.
* Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Pass also the given BASE_DIR to perl executable so that it
can find modules in the current directory even if '.' is not in @INC. Also include generators in BASE_DIR to the
list of dependencies.
2016-09-15 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake] Refactor GENERATE_BINDINGS
https://bugs.webkit.org/show_bug.cgi?id=161854
Reviewed by Gyuyoung Kim.
* Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Use
CMakeParseArguments for argument parsing. Defined as a function
instread of a macro because function has its own variable scope.
Wrapped both preprocess-idls.pl and generate-bindings.pl scripts.
Downcased local variables COMMON_GENERATOR_DEPENDENCIES and
BINDING_GENERATOR. Generate idl_files.tmp. Removed arguments
_prefix and _extension because they are always JS and cpp now.
2016-09-08 Carlos Alberto Lopez Perez <clopez@igalia.com>
[CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory)
https://bugs.webkit.org/show_bug.cgi?id=161697
Reviewed by Michael Catanzaro.
Get the list of system includes from GCC and add it to the CMake
list of implicit includes. This way, CMake will filter any of this
directories from the list of includes when calling the compiler.
This avoids an issue with GCC 6 that causes build failures when
including the default include path as a system include (-isystem).
* Source/cmake/OptionsCommon.cmake:
2016-09-07 Michael Catanzaro <mcatanzaro@igalia.com>
[EFL] Switch to ENABLE_NETWORK_CACHE
https://bugs.webkit.org/show_bug.cgi?id=152676
Reviewed by Alex Christensen.
Build with -Wno-error=missing-field-initializers to avoid spurious build failures.
* Source/cmake/OptionsEfl.cmake:
2016-09-07 Youenn Fablet <youenn@apple.com>
[Streams API] Separate compile flag for ReadableStream and WritableStream
https://bugs.webkit.org/show_bug.cgi?id=161044
Reviewed by Alex Christensen.
Moving from STREAMS_API to READABLESTREAM_API and WRITABLESTREAM_API compilation flags.
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
2016-09-06 Fujii Hironori <Hironori.Fujii@sony.com>
[CMake] Decouple generating bindings of WebCore and WebCoreTestSupport
https://bugs.webkit.org/show_bug.cgi?id=161474
Generating bindings of WebCore and WebCoreTestSupport shares a
single supplementalDependencyFile. But, nothing supplements any
IDL of WebCoreTestSupport. This introduces unnecessary
dependencies.
Reviewed by Alex Christensen.
* Source/cmake/WebKitMacros.cmake:
(GENERATE_BINDINGS): Clear uninitialized variables before
use. This causes a problem in the second time of calling
GENERATE_BINDINGS.
2016-09-04 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r205415.
https://bugs.webkit.org/show_bug.cgi?id=161573
Many bots see inspector test failures, rolling out now and
investigating later. (Requested by brrian on #webkit).
Reverted changeset:
"Web Inspector: unify Main.html and Test.html sources and
generate different copies with the preprocessor"
https://bugs.webkit.org/show_bug.cgi?id=161212
http://trac.webkit.org/changeset/205415
2016-09-01 Brian Burg <bburg@apple.com>
Web Inspector: unify Main.html and Test.html sources and generate different copies with the preprocessor
https://bugs.webkit.org/show_bug.cgi?id=161212
<rdar://problem/28017961>
Reviewed by Joseph Pecoraro.
Rearrange some CMake rules so most Inspector UI work is done in WebInspectorUI.
* Source/CMakeLists.txt: Add 'WebInspectorUI' subdirectory.
* Source/PlatformEfl.cmake:
- Move the rule to copy InspectorBackendCommands.js into WebInspectorUI/CMakeLists.txt.
- Add a FIXME to use the cross-port list of Inspector resources instead of copying everything.
- Add new dependency so generated WebInspectorUI files are made by web-inspector-resources.
- Copy over generated files Main.html and Test.html.
* Source/PlatformWin.cmake:
- Add a FIXME to use the cross-port list of Inspector resources instead of copying everything.
- Add new dependency so generated WebInspectorUI files are made by web-inspector-resources.
- Copy over generated files Main.html and Test.html.
* Source/cmake/WebKitFS.cmake:
- Set up WEBINSPECTORUI_DIR and use it.
- Move directory creation commands here from JavaScriptCore.
* Source/cmake/WebKitMacros.cmake:
Add a helper to turn a CMake list into a space-delimited string of elements.
2016-09-01 Brian Burg <bburg@apple.com>
Update root .gitignore for latest WebKitLibraries
https://bugs.webkit.org/show_bug.cgi?id=161501
Reviewed by Alex Christensen.
* .gitignore:
2016-08-31 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Move GObject DOM bindings to WebKit2 layer and stop auto generating them
https://bugs.webkit.org/show_bug.cgi?id=161438
Reviewed by Michael Catanzaro.
* Source/PlatformGTK.cmake:
* Source/cmake/OptionsGTK.cmake:
2016-08-31 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Bump GTK+ versions numbers.
* Source/cmake/OptionsGTK.cmake:
2016-08-30 Philippe Normand <pnormand@igalia.com>
[GStreamer] bump required version to 1.2.3
https://bugs.webkit.org/show_bug.cgi?id=159667
Reviewed by Xabier Rodriguez Calvar.
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
2016-08-29 Per Arne Vollan <pvollan@apple.com>
Attempt to fix WinCairo build after r205090.
Unreviewed build fix.
* Source/cmake/OptionsAppleWin.cmake:
* Source/cmake/OptionsWin.cmake:
2016-08-27 Per Arne Vollan <pvollan@apple.com>
[Win] Enable 'warning as error' compiler setting.
https://bugs.webkit.org/show_bug.cgi?id=161243
Reviewed by Darin Adler.
* Source/cmake/OptionsWin.cmake:
2016-08-26 Jer Noble <jer.noble@apple.com>
Add a test harness for running UI tests on the iOS Simulator
https://bugs.webkit.org/show_bug.cgi?id=161265
Add the new MobileMiniBrowser project to the WebKit workspace.
Reviewed by Simon Fraser.
* WebKit.xcworkspace/contents.xcworkspacedata:
2016-08-24 Alexey Proskuryakov <ap@apple.com>
Add svn:global-ignores to the root to ignore *.pyc files everythere in the repository.
* .: Added property svn:global-ignores.
2016-08-19 Dean Jackson <dino@apple.com>
Implement preferLowPowerToHighPerformance for WebGL
https://bugs.webkit.org/show_bug.cgi?id=161017
<rdar://problem/26819135>
Reviewed by Myles Maxfield.
A manual test that creates contexts with and without preferLowPowerToHighPerformance
to see what is used. This has to be manual because it depends on the hardware
configuration, and we don't have a way to detect it up-front. Also, if the
code was failing, it would be the same result as on a single GPU system.
* ManualTests/webgl-preferLowPowerToHighPerformance.html: Added.
2016-08-19 Per Arne Vollan <pvollan@apple.com>
[Win] Warning fix.
https://bugs.webkit.org/show_bug.cgi?id=160994
Reviewed by Anders Carlsson.
Ignore warning when function declared with __declspec(noreturn) has non void return type.
* Source/cmake/OptionsWin.cmake:
2016-08-17 Don Olmstead <don.olmstead@am.sony.com>
Use find_library within Windows build
https://bugs.webkit.org/show_bug.cgi?id=160904
Reviewed by Brent Fulgham.
* Source/cmake/FindICU.cmake:
* Source/cmake/OptionsWin.cmake:
2016-08-17 Gyuyoung Kim <gyuyoung.kim@navercorp.com>
[EFL] Bump efl version from 1.17 to 1.18
https://bugs.webkit.org/show_bug.cgi?id=160899
Reviewed by Antonio Gomes.
* Source/cmake/OptionsEfl.cmake: Update ewebkit version to 1.18.0.
2016-08-04 Csaba Osztrogonác <ossy@webkit.org>
[Mac][cmake] Fix the build after Objective-C bindings generator removal
https://bugs.webkit.org/show_bug.cgi?id=160545
Reviewed by Alex Christensen.
* Source/cmake/WebKitMacros.cmake:
2016-08-03 Csaba Osztrogonác <ossy@webkit.org>
Lacking support on a arm-traditional disassembler.
https://bugs.webkit.org/show_bug.cgi?id=123717
Reviewed by Mark Lam.
* Source/cmake/FindLLVM.cmake: Added back the r196749 state.
* Source/cmake/OptionsCommon.cmake: Added back the r196749 state.
2016-08-01 Keith Miller <keith_miller@apple.com>
We should not keep the JavaScript tests inside the Source/JavaScriptCore/ directory.
https://bugs.webkit.org/show_bug.cgi?id=160372
Rubber stamped by Geoffrey Garen.
This patch moves all the JavaScript tests from Source/JavaScriptCore/tests to
a new top level directory, JSTests. Having the tests in the Source directory
was both confusing and inconvenient for people that just want to checkout the
source code of WebKit. Since there is no other obvious place to put all the
JavaScript tests a new top level directory seemed the most sensible.
* JSTests/: Copied from Source/JavaScriptCore/tests.
* Source/JavaScriptCore/tests/: Deleted.
* Scripts/import-test262-tests:
* Scripts/run-javascriptcore-tests:
* Scripts/update-javascriptcore-test-res:
2016-07-27 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.13.4 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2016-07-22 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Enable threaded compositor by default
https://bugs.webkit.org/show_bug.cgi?id=160079
Reviewed by Žan Doberšek.
* Source/cmake/OptionsGTK.cmake:
2016-07-20 Csaba Osztrogonác <ossy@webkit.org>
JSC JIT Broken on ARMv7 Traditional (without Thumb2)
https://bugs.webkit.org/show_bug.cgi?id=159880
Reviewed by Carlos Garcia Campos.
* Source/cmake/OptionsCommon.cmake: Use the BFD linker on ARM traditional because of a gold linker bug.
2016-07-18 Alexey Proskuryakov <ap@apple.com>
"make ARCHS=x86_64" fails to build
https://bugs.webkit.org/show_bug.cgi?id=159867
Reviewed by Dan Bernstein.
* Makefile.shared: Override VALID_ARCHS when ARCHS is set, so that even projects
that normally customize VALID_ARCHS wouldn't fail to build.
2016-07-18 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.13.3 release.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2016-07-13 Per Arne Vollan <pvollan@apple.com>
[Win] DLLs are missing version information.
https://bugs.webkit.org/show_bug.cgi?id=159349
Reviewed by Alex Christensen.
Avoid using environment variable WEBKIT_LIBRARIES when finding version stamper utility,
in case it is not defined. Instead, use the location of the perl script to find the
utility.
* Source/cmake/tools/scripts/version-stamp.pl:
2016-07-12 Gyuyoung Kim <gyuyoung.kim@webkit.org>
Remove ENABLE_CSS3_TEXT_LINE_BREAK flag
https://bugs.webkit.org/show_bug.cgi?id=159671
Reviewed by Csaba Osztrogonác.
ENABLE_CSS3_TEXT_LINE_BREAK feature was implemented without guards.
https://bugs.webkit.org/show_bug.cgi?id=89235
So this guard can be removed in build scripts.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
2016-07-12 Per Arne Vollan <pvollan@apple.com>
[Win] DLLs are missing version information.
https://bugs.webkit.org/show_bug.cgi?id=159349
Reviewed by Brent Fulgham.
The version stamping will fail if the target path has forward slashes.
* Source/cmake/tools/scripts/version-stamp.pl: Replace forward slashes with backslashes.
2016-07-05 Olivier Blin <olivier.blin@softathome.com>
ENABLE_MEDIA_SOURCE should depend on ENABLE_VIDEO
https://bugs.webkit.org/show_bug.cgi?id=159424
Reviewed by Philippe Normand.
MEDIA_SOURCE requires VIDEO enabled, since MediaSource needs HTMLMediaElement.
* Source/cmake/WebKitFeatures.cmake:
2016-07-05 Per Arne Vollan <pvollan@apple.com>
[Win] Layout Test http/tests/security/contentSecurityPolicy/source-list-parsing-10.html is failing
https://bugs.webkit.org/show_bug.cgi?id=147646
Reviewed by Brent Fulgham.
Disable CSP_NEXT. We can then use the common expected test results for this test.
* Source/cmake/OptionsWin.cmake:
2016-07-04 Gyuyoung Kim <gyuyoung.kim@webkit.org>
[EFL] Remove mac configuration dependency in WebKit Version definition
https://bugs.webkit.org/show_bug.cgi?id=159407