1 2017-12-05 Stephan Szabo <stephan.szabo@sony.com>
3 Switch windows build to Visual Studio 2017
4 https://bugs.webkit.org/show_bug.cgi?id=172412
6 Reviewed by Per Arne Vollan.
8 * Source/cmake/OptionsMSVC.cmake:
10 2017-12-01 Konstantin Tokarev <annulen@yandex.ru>
12 [cmake] Make description of ENABLE_DRAG_SUPPORT more informative
13 https://bugs.webkit.org/show_bug.cgi?id=180266
15 Reviewed by Michael Catanzaro.
17 When disabled, it also disables selection of text with dragging, and this
18 comes as a surprise for many people.
20 * Source/cmake/WebKitFeatures.cmake:
22 2017-12-01 Michael Catanzaro <mcatanzaro@igalia.com>
24 [GStreamer] Fix USE_GSTREAMER_GL check for GStreamer 1.10
25 https://bugs.webkit.org/show_bug.cgi?id=180256
27 Reviewed by Carlos Alberto Lopez Perez.
29 It's not safe to change the value of build options after WEBKIT_OPTION_END, since it breaks
30 the option dependency checker. I don't think that actually hurts anything in this case, but
31 let's not encourage bad practice. Also, it's not good for features to be secretly disabled.
32 Nobody reads CMake output unless there is a fatal error. Failing the build at the CMake
33 stage lets distributors know that a feature will be missing. And of course, it's still
34 possible to disable USE_GSTREAMER_GL to avoid the increased GStreamer requirement.
36 * Source/cmake/GStreamerChecks.cmake:
38 2017-12-01 Michael Catanzaro <mcatanzaro@igalia.com>
40 [GTK] [MSE] Turn MSE on by default
41 https://bugs.webkit.org/show_bug.cgi?id=167107
43 Reviewed by Carlos Alberto Lopez Perez.
45 Turn on the ENABLE_MEDIA_SOURCE build option. Fail the build if GStreamer 1.8 is not
46 installed and ENABLE_MEDIA_SOURCE has not been disabled.
48 * Source/cmake/GStreamerChecks.cmake:
49 * Source/cmake/GStreamerDefinitions.cmake:
50 * Source/cmake/OptionsGTK.cmake:
51 * Source/cmake/OptionsWPE.cmake:
53 2017-11-30 Stephan Szabo <stephan.szabo@sony.com>
55 Make LegacyCustomProtocolManager optional for network process
56 https://bugs.webkit.org/show_bug.cgi?id=176230
58 Reviewed by Alex Christensen.
60 * Source/cmake/OptionsWin.cmake:
61 * Source/cmake/WebKitFeatures.cmake:
63 2017-11-29 Alex Christensen <achristensen@webkit.org>
67 * Source/cmake/OptionsMac.cmake:
69 2017-11-28 Michael Catanzaro <mcatanzaro@igalia.com>
71 REGRESSION(r225098): [WPE] Some features have changed of value (70 new failures)
72 https://bugs.webkit.org/show_bug.cgi?id=180004
74 Reviewed by Alex Christensen.
76 Turn on ENABLE_ENCRYPTED_MEDIA and ENABLE_WEBGL2 when building with
77 ENABLE_EXPERIMENTAL_FEATURES. Also, let's stop turning off ENABLE_USERSELECT_ALL, as I doubt
78 there's any good reason for that.
80 * Source/cmake/OptionsWPE.cmake:
82 2017-11-27 Don Olmstead <don.olmstead@sony.com>
84 [CMake][Win] Conditionally select DLL CRT or static CRT
85 https://bugs.webkit.org/show_bug.cgi?id=170594
87 Reviewed by Alex Christensen.
89 * Source/cmake/OptionsAppleWin.cmake:
90 * Source/cmake/OptionsMSVC.cmake:
92 2017-11-27 Adrian Perez de Castro <aperez@igalia.com>
94 [CMake] Values of CMAKE_BUILD_TYPE from toolchain file are ignored
95 https://bugs.webkit.org/show_bug.cgi?id=179971
97 Reviewed by Carlos Alberto Lopez Perez.
99 * CMakeLists.txt: Call project() first, as it loads the toolchain
100 file, so that's done before checking CMAKE_BUILD_TYPE.
102 2017-11-22 Michael Catanzaro <mcatanzaro@igalia.com>
104 Sanity-check feature defaults in WebKitFeatures.cmake
105 https://bugs.webkit.org/show_bug.cgi?id=179095
107 Reviewed by Konstantin Tokarev.
109 Change the default value of some features in WebKitFeatures.cmake to reduce the number of
110 Options*.cmake files the feature's default value must be overridden in.
112 Remove feature definitions where they are redundant with the definition in
113 WebKitFeatures.cmake, particluarly in OptionsMac.cmake.
115 This commit should not include any functional changes. It just aims to reduce the total
116 number of times we need to call WEBKIT_OPTION_DEFAULT_PORT_VALUE.
118 * Source/cmake/OptionsGTK.cmake:
119 * Source/cmake/OptionsJSCOnly.cmake:
120 * Source/cmake/OptionsMac.cmake:
121 * Source/cmake/OptionsWPE.cmake:
122 * Source/cmake/OptionsWin.cmake:
123 * Source/cmake/WebKitFeatures.cmake:
125 2017-11-22 Tim Horton <timothy_horton@apple.com> and Michael Catanzaro <mcatanzaro@igalia.com>
127 Remove build-webkit's notion of feature flags having a default value
128 https://bugs.webkit.org/show_bug.cgi?id=177338
130 Reviewed by Carlos Alberto Lopez Perez.
132 Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features.
134 * Source/cmake/OptionsGTK.cmake:
135 * Source/cmake/WebKitFeatures.cmake:
137 2017-11-21 Zan Dobersek <zdobersek@igalia.com>
139 Drop ENABLE_IMAGE_DECODER_DOWN_SAMPLING code
140 https://bugs.webkit.org/show_bug.cgi?id=179921
142 Reviewed by Carlos Garcia Campos.
144 * Source/cmake/WebKitFeatures.cmake: Remove the CMake option that
145 enabled IMAGE_DECODER_DOWN_SAMPLING code.
147 2017-11-20 Carlos Garcia Campos <cgarcia@igalia.com>
149 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.2 release.
151 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
153 2017-11-20 Michael Catanzaro <mcatanzaro@igalia.com>
155 Remove ENABLE_ALLINONE_BUILD option
156 https://bugs.webkit.org/show_bug.cgi?id=179823
158 Reviewed by Darin Adler.
160 * Source/cmake/OptionsWin.cmake:
161 * Source/cmake/WebKitFeatures.cmake:
163 2017-11-19 Tim Horton <timothy_horton@apple.com>
165 Remove unused TOUCH_ICON_LOADING feature flag
166 https://bugs.webkit.org/show_bug.cgi?id=179873
168 Reviewed by Simon Fraser.
170 * Source/cmake/OptionsMac.cmake:
171 * Source/cmake/WebKitFeatures.cmake:
173 2017-11-19 Yusuke Suzuki <utatane.tea@gmail.com>
175 Add CPU(UNKNOWN) to cover all the unknown CPU types
176 https://bugs.webkit.org/show_bug.cgi?id=179243
178 Reviewed by JF Bastien.
180 Drop SH4, S390, and S390X explicit support. They are handled as CPU(UNKNOWN).
184 2017-11-19 Tim Horton <timothy_horton@apple.com>
186 Remove unused LEGACY_VENDOR_PREFIXES feature flag
187 https://bugs.webkit.org/show_bug.cgi?id=179872
189 Reviewed by Darin Adler.
191 * Source/cmake/OptionsMac.cmake:
192 * Source/cmake/OptionsWin.cmake:
193 * Source/cmake/WebKitFeatures.cmake:
195 2017-11-16 Don Olmstead <don.olmstead@sony.com>
197 [WinCairo] Update WinCairoRequirements
198 https://bugs.webkit.org/show_bug.cgi?id=179790
200 Reviewed by Alex Christensen.
202 * Source/cmake/OptionsWinCairo.cmake:
204 2017-11-16 Daniel Bates <dabates@apple.com>
206 Add feature define for alternative presentation button element
207 https://bugs.webkit.org/show_bug.cgi?id=179692
208 Part of <rdar://problem/34917108>
210 Reviewed by Andy Estes.
212 Only enabled on Cocoa platforms by default.
214 * Source/cmake/OptionsMac.cmake:
215 * Source/cmake/WebKitFeatures.cmake:
216 * Source/cmake/tools/vsprops/FeatureDefines.props:
217 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
219 2017-11-16 Michael Catanzaro <mcatanzaro@igalia.com>
221 [WPE] Expose ENABLE_JIT and USE_SYSTEM_MALLOC options
222 https://bugs.webkit.org/show_bug.cgi?id=179730
224 Reviewed by Carlos Alberto Lopez Perez.
226 * Source/cmake/OptionsWPE.cmake:
228 2017-11-15 Carlos Garcia Campos <cgarcia@igalia.com>
230 [WPE] Add initial support for WebDriver
231 https://bugs.webkit.org/show_bug.cgi?id=179727
233 Reviewed by Michael Catanzaro.
235 Enable WebDriver by default in WPE.
237 * Source/cmake/OptionsWPE.cmake:
239 2017-11-15 Keith Miller <keith_miller@apple.com>
241 Unreviewed, sort async iteration feature.
243 * Source/cmake/WebKitFeatures.cmake:
245 2017-11-15 Keith Miller <keith_miller@apple.com>
247 REGRESSION(r224787): [Linux] Introduced 144 GTK/WPE JS test failures
248 https://bugs.webkit.org/show_bug.cgi?id=179704
250 Reviewed by Yusuke Suzuki.
252 Add feature flag for Async iteration.
254 * Source/cmake/WebKitFeatures.cmake:
256 2017-11-13 Michael Catanzaro <mcatanzaro@igalia.com>
258 [GTK] Require woff2 1.0.2 and drop direct brotli dependency
259 https://bugs.webkit.org/show_bug.cgi?id=179630
261 Reviewed by Frédéric Wang.
263 * Source/cmake/FindBrotliDec.cmake: Removed.
264 * Source/cmake/OptionsGTK.cmake:
266 2017-11-09 Michael Catanzaro <mcatanzaro@igalia.com>
268 [WPE] Use linker script to control exported symbols
269 https://bugs.webkit.org/show_bug.cgi?id=179358
271 Reviewed by Carlos Alberto Lopez Perez.
273 The C API is being inadvertently exported because it's marked as WEBKIT_EXPORT in the header
274 files. But of course it should only be exported in DEVELOPER_MODE, where it's needed for
275 WebKitTestRunner. Use (almost) the same linker version script as GTK to fix this. It's
276 slightly different because WPE does not have WebKitPluginProcess.
278 This also reduces binary size of libWPEWebKit.so in debug mode from 615 MB down to 497 MB.
279 (Haven't checked release mode.)
281 * Source/cmake/OptionsWPE.cmake:
282 * Source/cmake/wpesymbols.filter: Added.
284 2017-11-08 Michael Catanzaro <mcatanzaro@igalia.com>
286 [WPE] Turn on ENABLE_INDEXED_DATABASE_IN_WORKERS
287 https://bugs.webkit.org/show_bug.cgi?id=179094
289 Reviewed by Carlos Alberto Lopez Perez.
291 * Source/cmake/OptionsWPE.cmake:
293 2017-11-07 Michael Catanzaro <mcatanzaro@igalia.com>
295 [WPE] Turn on ENABLE_MEDIA_SOURCE
296 https://bugs.webkit.org/show_bug.cgi?id=179093
298 Reviewed by Carlos Alberto Lopez Perez.
300 * Source/cmake/OptionsWPE.cmake:
302 2017-11-06 Michael Catanzaro <mcatanzaro@igalia.com>
304 Unreviewed, fix WPE build after r224492
305 https://bugs.webkit.org/show_bug.cgi?id=179009
307 * Source/cmake/OptionsWPE.cmake:
309 2017-11-06 Michael Catanzaro <mcatanzaro@igalia.com>
311 [WPE] Clean up OptionsWPE.cmake
312 https://bugs.webkit.org/show_bug.cgi?id=179009
314 Reviewed by Žan Doberšek.
316 * Source/cmake/OptionsWPE.cmake:
318 2017-11-06 Michael Catanzaro <mcatanzaro@igalia.com>
320 [WPE][GTK] Always use SET_AND_EXPOSE_TO_BUILD to set build variables
321 https://bugs.webkit.org/show_bug.cgi?id=179038
323 Reviewed by Žan Doberšek.
325 * Source/cmake/OptionsGTK.cmake:
326 * Source/cmake/OptionsWPE.cmake:
328 2017-11-03 Michael Catanzaro <mcatanzaro@igalia.com>
330 [WPE][GTK] Avoid duplicating code for dist and distcheck targets
331 https://bugs.webkit.org/show_bug.cgi?id=179154
333 Reviewed by Carlos Garcia Campos.
335 This commit just reduces some CMake code duplication between GTK and WPE.
337 * Source/PlatformGTK.cmake:
338 * Source/PlatformWPE.cmake:
339 * Source/cmake/WebKitDist.cmake: Added.
341 2017-11-02 Tim Horton <timothy_horton@apple.com>
343 Reduce duplication in the toplevel Makefile
344 https://bugs.webkit.org/show_bug.cgi?id=179204
346 Unreviewed build fix.
349 Take three. An empty SDKROOT should be like Mac (and build all the things).
351 2017-11-02 Tim Horton <timothy_horton@apple.com>
353 Reduce duplication in the toplevel Makefile
354 https://bugs.webkit.org/show_bug.cgi?id=179204
357 Address some post-landing review comments to keep the order of the MODULES correct.
359 2017-11-02 Tim Horton <timothy_horton@apple.com>
361 Reduce duplication in the toplevel Makefile
362 https://bugs.webkit.org/show_bug.cgi?id=179204
364 Reviewed by Simon Fraser.
367 Make MODULES additive instead of completely repeated, and only build
368 libwebrtc where it's needed.
370 2017-11-02 Alberto Garcia <berto@igalia.com>
372 Unreviewed, fix typos in library names for the GTK+ port.
374 * Source/cmake/OptionsGTK.cmake:
376 2017-10-31 Carlos Garcia Campos <cgarcia@igalia.com>
378 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.1 release.
380 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
382 2017-10-31 Carlos Garcia Campos <cgarcia@igalia.com>
384 Unreviewed. Fix GTK+/WPE make distcheck.
386 * CMakeLists.txt: Only include PerformanceTests directory to the build for GTK+ and WPE ports when developer
389 2017-10-26 Adrian Perez de Castro <aperez@igalia.com>
391 [WPE] Use proper shared object versioning for libWPEWebKit.so
392 https://bugs.webkit.org/show_bug.cgi?id=178878
394 Reviewed by Michael Catanzaro.
396 Move the CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE() to a new CMake include file,
397 and use it both for the GTK+ and WPE ports. Also add a SET_PROJECT_VERSION() macro to
398 unify setting the PROJECT_VERSION* family of variables.
400 * Source/cmake/OptionsGTK.cmake: Use the common macros imported from VersioningUtils.cmake.
401 * Source/cmake/OptionsWPE.cmake: Properly assign a shared object version to libWPEWebKit.so,
402 using the common macros from VersioningUtils.cmake.
403 * Source/cmake/VersioningUtils.cmake: Added.
405 2017-10-26 Adrian Perez de Castro <aperez@igalia.com>
407 [GTK] WebKit library .so version is not being set correctly
408 https://bugs.webkit.org/show_bug.cgi?id=178873
410 Reviewed by Michael Catanzaro.
412 * Source/cmake/OptionsGTK.cmake: Adjust name of the target for which the .so version gets calculated.
414 2017-10-24 Stephan Szabo <stephan.szabo@sony.com>
416 [Win][JSCOnly] Make jsconly build testapi and dlls and copy dlls when running tests
417 https://bugs.webkit.org/show_bug.cgi?id=177279
419 Reviewed by Yusuke Suzuki.
421 * Source/cmake/OptionsJSCOnly.cmake:
423 2017-10-21 Tim Horton <timothy_horton@apple.com>
425 Turn on ccache for Mac cmake builds by default
426 https://bugs.webkit.org/show_bug.cgi?id=177059
428 Reviewed by Sam Weinig.
430 * Source/cmake/WebKitCCache.cmake: Added.
431 * Source/cmake/WebKitCommon.cmake:
432 Turn on ccache for Mac CMake builds (Makefile and Ninja generators only)
433 if it's installed, making use of CMake's ability to wrap the compiler invocation.
435 2017-10-20 Antoine Quint <graouts@apple.com>
437 [Web Animations] Provide basic timeline and animation interfaces
438 https://bugs.webkit.org/show_bug.cgi?id=178526
440 Reviewed by Dean Jackson.
442 Remove the WEB_ANIMATIONS compile-time flag.
444 * Source/cmake/OptionsWPE.cmake:
445 * Source/cmake/OptionsWin.cmake:
446 * Source/cmake/WebKitFeatures.cmake:
447 * Source/cmake/tools/vsprops/FeatureDefines.props:
448 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
450 2017-10-18 Keith Miller <keith_miller@apple.com>
452 Setup WebCore build to start using unified sources.
453 https://bugs.webkit.org/show_bug.cgi?id=178362
455 Reviewed by Tim Horton.
457 Pass features to the unified source bundler script.
459 * Source/cmake/WebKitCommon.cmake:
460 * Source/cmake/WebKitFeatures.cmake:
461 * Source/cmake/WebKitMacros.cmake:
463 2017-10-18 Zan Dobersek <zdobersek@igalia.com>
465 Remove remnants of OpenWebRTC
466 https://bugs.webkit.org/show_bug.cgi?id=178437
468 Reviewed by Alejandro G. Castro.
470 Remove the FindOpenWebRTC.cmake file and the searches for it in both
471 OptionsGTK and OptionsWPE.
473 * Source/cmake/FindOpenWebRTC.cmake: Removed.
474 * Source/cmake/OptionsGTK.cmake:
475 * Source/cmake/OptionsWPE.cmake:
477 2017-10-10 Adrian Perez de Castro <aperez@igalia.com>
479 [WPE] Remove the possibility of installing the old WebKit2 C API
480 https://bugs.webkit.org/show_bug.cgi?id=178125
482 Reviewed by Michael Catanzaro.
484 * Source/cmake/OptionsWPE.cmake: Remove definition of the EXPORT_DEPRECATED_WEBKIT2_C_API
487 2017-10-10 Michael Catanzaro <mcatanzaro@igalia.com>
489 [WPE] Expose ENABLE_XSLT option
490 https://bugs.webkit.org/show_bug.cgi?id=177857
492 Reviewed by Carlos Alberto Lopez Perez.
494 * Source/cmake/OptionsWPE.cmake:
496 2017-10-09 Adrian Perez de Castro <aperez@igalia.com>
498 [WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config
499 https://bugs.webkit.org/show_bug.cgi?id=178081
501 Reviewed by Carlos Alberto Lopez Perez.
503 * Source/cmake/FindLibEpoxy.cmake: Define the ${LIBEPOXY_DEFINITIONS} variable when libepoxy
504 is found by pkg-config. This contains the value of the "Cflags" field from "epoxy.pc".
506 2017-10-05 Frederic Wang <fwang@igalia.com>
508 Remove WOFF2 from Source/ThirdParty.
509 https://bugs.webkit.org/show_bug.cgi?id=177862
511 Reviewed by Michael Catanzaro.
513 * Source/CMakeLists.txt: Do not build the woff2 source.
514 * Source/cmake/FindWOFF2Dec.cmake: Added. New cmake module for woff2.
515 * Source/cmake/OptionsGTK.cmake: Load the woff2 package.
517 2017-10-05 Carlos Alberto Lopez Perez <clopez@igalia.com>
519 Generate a compile error if release is built without compiler optimizations
520 https://bugs.webkit.org/show_bug.cgi?id=177665
522 Reviewed by Brian Burg.
524 Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset.
528 2017-10-05 Tim Horton <timothy_horton@apple.com>
530 Make progress toward properly-formed XPC services in the Mac CMake build
531 https://bugs.webkit.org/show_bug.cgi?id=177918
533 Reviewed by Alex Christensen.
535 * Source/cmake/WebKitMacros.cmake:
536 Add a macro wrapper around 'ln'.
538 2017-10-03 Frederic Wang <fwang@igalia.com>
540 Remove Brotli from Source/ThirdParty
541 https://bugs.webkit.org/show_bug.cgi?id=177804
543 Reviewed by Michael Catanzaro.
545 * Source/CMakeLists.txt: Do not build ThirdParty/brotli anymore.
546 * Source/cmake/FindBrotliDec.cmake: Added. New cmake module to find Brotli via PkgConfig.
547 * Source/cmake/OptionsGTK.cmake: Expose USE_WOFF2 as a public option and use find_package
550 2017-10-05 Yusuke Suzuki <utatane.tea@gmail.com>
552 [Linux] Port MallocBench
553 https://bugs.webkit.org/show_bug.cgi?id=177856
555 Reviewed by Filip Pizlo.
559 2017-10-04 Ryan Haddad <ryanhaddad@apple.com>
561 Unreviewed, rolling out r222840.
563 This change breaks internal builds.
567 "Generate a compile error if release is built without compiler
569 https://bugs.webkit.org/show_bug.cgi?id=177665
570 http://trac.webkit.org/changeset/222840
572 2017-10-04 Commit Queue <commit-queue@webkit.org>
574 Unreviewed, rolling out r222775.
575 https://bugs.webkit.org/show_bug.cgi?id=177890
577 Significantly increased the WebKit build time (Requested by
582 "Build libwebrtc unit tests executables"
583 https://bugs.webkit.org/show_bug.cgi?id=177211
584 http://trac.webkit.org/changeset/222775
586 2017-10-04 Miguel Gomez <magomez@igalia.com>
588 Add animation support for WebP images
589 https://bugs.webkit.org/show_bug.cgi?id=113124
591 Reviewed by Žan Doberšek.
593 * Source/cmake/FindWebP.cmake:
595 2017-10-04 Carlos Alberto Lopez Perez <clopez@igalia.com>
597 Generate a compile error if release is built without compiler optimizations
598 https://bugs.webkit.org/show_bug.cgi?id=177665
600 Reviewed by Michael Catanzaro.
602 Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset.
606 2017-10-03 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
608 [GLib] Let WebCore know of low power situations
609 https://bugs.webkit.org/show_bug.cgi?id=177810
611 Reviewed by Carlos Garcia Campos.
613 WebCore can use knowledge of low power situations to throttle timers and avoid expensive
614 checks, lowering power usage. We can use upower's warning level to let WebCore know we are
617 * Source/cmake/OptionsGTK.cmake: depend on upower-glib.
618 * Source/cmake/FindUPowerGLib.cmake: Added.
620 2017-10-03 Youenn Fablet <youenn@apple.com>
622 Build libwebrtc unit tests executables
623 https://bugs.webkit.org/show_bug.cgi?id=177211
625 Reviewed by Alex Christensen.
627 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
629 2017-10-02 Olivier Blin <olivier.blin@softathome.com>
631 [WPE] Remove GnuTLS dependency
632 https://bugs.webkit.org/show_bug.cgi?id=177750
634 Reviewed by Michael Catanzaro.
636 libgcrypt is used by default instead of GnuTLS.
639 * Source/cmake/OptionsWPE.cmake:
641 2017-10-02 Olivier Blin <olivier.blin@softathome.com>
643 [WPE] Do not require XSLT if disabled
644 https://bugs.webkit.org/show_bug.cgi?id=177752
646 Reviewed by Michael Catanzaro.
648 * Source/cmake/OptionsWPE.cmake: libxslt is not a hard dep
650 2017-10-02 Michael Catanzaro <mcatanzaro@igalia.com>
652 Remove ENABLE_CSS_REGIONS
653 https://bugs.webkit.org/show_bug.cgi?id=177689
655 Reviewed by Darin Adler.
657 * Source/cmake/OptionsGTK.cmake:
658 * Source/cmake/OptionsMac.cmake:
659 * Source/cmake/OptionsWPE.cmake:
660 * Source/cmake/OptionsWin.cmake:
661 * Source/cmake/WebKitFeatures.cmake:
662 * Source/cmake/tools/vsprops/FeatureDefines.props:
663 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
665 2017-09-29 Matt Lewis <jlewis3@apple.com>
667 Unreviewed, rolling out r222652.
669 This broke an internal build.
673 "Build libwebrtc unit tests executables"
674 https://bugs.webkit.org/show_bug.cgi?id=177211
675 http://trac.webkit.org/changeset/222652
677 2017-09-29 Youenn Fablet <youenn@apple.com>
679 Build libwebrtc unit tests executables
680 https://bugs.webkit.org/show_bug.cgi?id=177211
682 Reviewed by Alex Christensen.
684 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
686 2017-09-27 Ryan Haddad <ryanhaddad@apple.com>
688 Unreviewed, rolling out r222537.
690 This change broke internal builds.
694 "Build libwebrtc unit tests executables"
695 https://bugs.webkit.org/show_bug.cgi?id=177211
696 http://trac.webkit.org/changeset/222537
698 2017-09-26 Youenn Fablet <youenn@apple.com>
700 Build libwebrtc unit tests executables
701 https://bugs.webkit.org/show_bug.cgi?id=177211
703 Reviewed by Alex Christensen.
705 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
707 2017-09-26 Keith Miller <keith_miller@apple.com>
709 CMake should reconfigure if the Sources.txt files are touched
710 https://bugs.webkit.org/show_bug.cgi?id=177508
712 Reviewed by JF Bastien.
714 * Source/cmake/WebKitMacros.cmake:
716 2017-09-24 Keith Miller <keith_miller@apple.com>
718 JSC build should use unified sources for derived sources
719 https://bugs.webkit.org/show_bug.cgi?id=177421
721 Reviewed by JF Bastien.
723 * Source/cmake/WebKitMacros.cmake:
725 2017-09-26 Zan Dobersek <zdobersek@igalia.com>
727 [CMake] Use implicit include directories for Clang as well
728 https://bugs.webkit.org/show_bug.cgi?id=177426
730 Reviewed by Michael Catanzaro.
732 In WebKitCompilerFlags.cmake, also gather and use the system
733 include directories for C and C++ build targets when compiling
734 with Clang. This fixes compilation errors when cross-building
735 WebKit with a Clang-based toolchain.
737 COMPILER_IS_GCC_OR_CLANG is used to check for GCC or Clang
738 compilers. That only checks for the C++ compiler, but it's not
739 reasonable to expect two widely different compilers being used
740 for C and C++ compilation.
742 * Source/cmake/WebKitCompilerFlags.cmake:
744 2017-09-25 Timothy Horton <timothy_horton@apple.com>
746 Make progress on getting Mac CMake building again
747 https://bugs.webkit.org/show_bug.cgi?id=177443
749 Unreviewed, just "fixing" the build.
751 * Source/cmake/OptionsMac.cmake:
752 Turn on WEB_CRYPTO on Mac. We need to do a bigger cleanup of feature
753 defines, but this one is important because we have SUBTLE_CRYPTO on
754 and there is some amount of interdependency.
756 2017-09-22 Per Arne Vollan <pvollan@apple.com>
758 [Win] WebKit is built as a static library, and not as a dll.
759 https://bugs.webkit.org/show_bug.cgi?id=177365
761 Reviewed by Brent Fulgham.
763 Set target type for WebKitLegacy target.
765 * Source/cmake/OptionsWin.cmake:
767 2017-09-22 Matt Lewis <jlewis3@apple.com>
769 Unreviewed, rolling out r222394.
771 This broke the Windows Debug Build.
775 "Remove build-webkit's notion of feature flags having a
777 https://bugs.webkit.org/show_bug.cgi?id=177338
778 http://trac.webkit.org/changeset/222394
780 2017-09-22 Tim Horton <timothy_horton@apple.com> and Michael Catanzaro <mcatanzaro@igalia.com>
782 Remove build-webkit's notion of feature flags having a default value
783 https://bugs.webkit.org/show_bug.cgi?id=177338
785 Reviewed by Alex Christensen.
787 Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features.
789 * Source/cmake/OptionsGTK.cmake:
790 * Source/cmake/OptionsWPE.cmake:
791 * Source/cmake/WebKitFeatures.cmake:
793 2017-09-20 Keith Miller <keith_miller@apple.com>
795 JSC should use unified sources for platform specific files.
796 https://bugs.webkit.org/show_bug.cgi?id=177290
798 Reviewed by Michael Saboff.
800 Change WEBKIT_COMPUTE_SOURCES CMake macro to look for platform
801 specific unified source lists. This is done in the same way that
802 we look for port specific configuration files. For example, if I
803 were building for the Mac port WEBKIT_COMPUTE_SOURCES would add
804 the Sources.txt and SourcesMac.txt source lists to the list of
807 * Source/cmake/WebKitMacros.cmake:
809 2017-09-20 Keith Miller <keith_miller@apple.com>
811 JSC Xcode build should use unified sources for platform independent files
812 https://bugs.webkit.org/show_bug.cgi?id=177190
814 Reviewed by Saam Barati.
816 Add a macro for collecting the set of "header" source files and adding the bundle
817 files to the "sources" list.
819 * Source/cmake/WebKitMacros.cmake:
821 2017-09-20 Michael Catanzaro <mcatanzaro@igalia.com>
823 REGRESSION(r222194) [WPE] Library and executable output names broken
824 https://bugs.webkit.org/show_bug.cgi?id=177273
826 Reviewed by Carlos Alberto Lopez Perez.
828 Move the WebKit2 output name variables from here to Source/WebKit.
830 * Source/cmake/OptionsWPE.cmake:
832 2017-09-20 Alberto Garcia <berto@igalia.com>
834 Fix HPPA and Alpha builds
835 https://bugs.webkit.org/show_bug.cgi?id=177224
837 Reviewed by Alex Christensen.
841 2017-09-19 Carlos Alberto Lopez Perez <clopez@igalia.com>
843 [CMake] Add ENABLE_WEB_CRYPTO option and make ENABLE_SUBTLE_CRYPTO depend on it.
844 https://bugs.webkit.org/show_bug.cgi?id=177180
846 Reviewed by Michael Catanzaro.
848 This adds a ENABLE_WEB_CRYPTO flag and makes ENABLE_SUBTLE_CRYPTO depend on it.
849 The GTK and WPE ports enable them and set ENABLE_WEB_CRYPTO to public.
851 * Source/cmake/OptionsGTK.cmake: Set both features to ON and ENABLE_WEB_CRYPTO to public. No change in behaviour for GTK.
852 * Source/cmake/OptionsWPE.cmake: Do like on the GTK port. The public flag is now ENABLE_WEB_CRYPTO.
853 * Source/cmake/WebKitFeatures.cmake: Add the definition of ENABLE_WEB_CRYPTO and make ENABLE_SUBTLE_CRYPTO depend on it.
855 2017-09-18 Michael Catanzaro <mcatanzaro@igalia.com>
857 [CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit
858 https://bugs.webkit.org/show_bug.cgi?id=174558
860 Reviewed by Alex Christensen.
863 * Source/PlatformGTK.cmake:
864 * Source/cmake/OptionsGTK.cmake:
865 * Source/cmake/OptionsWPE.cmake:
866 * Source/cmake/WebKitCommon.cmake:
867 * Source/cmake/WebKitFS.cmake:
869 2017-09-18 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>
871 [Win][PAL] Move WebCoreHeaderDetection.h to PAL
872 https://bugs.webkit.org/show_bug.cgi?id=176990
874 Reviewed by Alex Christensen.
876 Create DerivedSources directory for PAL if WebCore build is enabled.
878 * Source/cmake/WebKitCommon.cmake:
879 * Source/cmake/WebKitFS.cmake:
881 2017-09-15 Konstantin Tokarev <annulen@yandex.ru>
883 Consider enabling -Wno-expansion-to-defined for gcc 7
884 https://bugs.webkit.org/show_bug.cgi?id=167643
886 Reviewed by Michael Catanzaro.
888 Don't disable -Wexpansion-to-defined for Clang.
889 As suggested by Nico Weber, this warning produces false positives with
892 * Source/cmake/WebKitCompilerFlags.cmake:
894 2017-09-14 Yousuke Kimoto <yousuke.kimoto@sony.com>
896 [WinCairo] Add an option to build WebKitLegacy or WebKit
897 https://bugs.webkit.org/show_bug.cgi?id=176891
899 Added an option to build WebKitLegacy or WebKit.
901 Reviewed by Alex Christensen.
903 * Source/cmake/OptionsWin.cmake:
905 2017-09-13 Don Olmstead <don.olmstead@sony.com>
907 [CMake] Detect harfbuzz without pkgconfig
908 https://bugs.webkit.org/show_bug.cgi?id=176886
910 Reviewed by Michael Catanzaro.
912 * Source/cmake/FindHarfBuzz.cmake:
914 2017-09-07 Adrian Perez de Castro <aperez@igalia.com>
916 [WPE][CMake] Add "dist" and "distcheck" targets
917 https://bugs.webkit.org/show_bug.cgi?id=176448
919 Reviewed by Carlos Garcia Campos.
921 Add "dist" and "distcheck" CMake targets, which create release tarballs.
922 These are available only when configuring with -DDEVELOPER_MODE=TRUE.
924 * Source/PlatformWPE.cmake: Added.
925 * Source/cmake/FindXz.cmake: Added.
927 2017-09-05 Carlos Garcia Campos <cgarcia@igalia.com>
929 [GTK] Wrong use of PLUGIN_ARCHITECTURE(X11) in several places
930 https://bugs.webkit.org/show_bug.cgi?id=176329
932 Reviewed by Michael Catanzaro.
934 Only define MOZ_X11 if X11 target is enabled and always define XP_UNIX if NETSCAPE_PLUGIN_API is enabled.
936 * Source/cmake/OptionsGTK.cmake:
938 2017-09-03 Sam Weinig <sam@webkit.org>
941 https://bugs.webkit.org/show_bug.cgi?id=176288
943 Reviewed by Yusuke Suzuki.
945 CanvasProxy does not appear to be in any current HTML spec
946 and was disabled and unimplemented in our tree. Time to
949 * Source/cmake/OptionsMac.cmake:
950 * Source/cmake/OptionsWin.cmake:
951 * Source/cmake/WebKitFeatures.cmake:
952 * Source/cmake/tools/vsprops/FeatureDefines.props:
953 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
955 2017-08-31 Don Olmstead <don.olmstead@sony.com>
957 [CMake] Make USE_CF conditional within Windows
958 https://bugs.webkit.org/show_bug.cgi?id=176173
960 Reviewed by Alex Christensen.
962 * Source/cmake/OptionsAppleWin.cmake:
963 * Source/cmake/OptionsWinCairo.cmake:
965 2017-08-30 Don Olmstead <don.olmstead@sony.com>
967 [CMake][WinCairo] Use find_package for libpng and libjpeg
968 https://bugs.webkit.org/show_bug.cgi?id=176113
970 Reviewed by Alex Christensen.
972 * Source/cmake/OptionsWinCairo.cmake:
974 2017-08-30 Carlos Alberto Lopez Perez <clopez@igalia.com>
976 [WPE] Enable MEMORY_SAMPLER
977 https://bugs.webkit.org/show_bug.cgi?id=176099
979 Reviewed by Michael Catanzaro.
981 Enable the otion at build time by default on Linux (currently
982 there are only Linux and Mac implementations of this feature).
984 * Source/cmake/OptionsWPE.cmake:
985 * Source/cmake/OptionsGTK.cmake:
987 2017-08-30 Carlos Garcia Campos <cgarcia@igalia.com>
989 Unreviewed. Fix versions numbers after r221136.
991 We normally use .0 in trunk after branching, and bump to .1 when making the first unstable release. We also need
992 to bump the library version.
994 * Source/cmake/OptionsGTK.cmake:
996 2017-08-29 Don Olmstead <don.olmstead@sony.com>
998 [CMake] Use find_package for zlib
999 https://bugs.webkit.org/show_bug.cgi?id=176075
1001 Reviewed by Alex Christensen.
1003 * Source/cmake/OptionsAppleWin.cmake:
1004 * Source/cmake/OptionsWinCairo.cmake:
1006 2017-08-29 Don Olmstead <don.olmstead@sony.com>
1008 [CMake] Use find_package for libxml2 and libxstl
1009 https://bugs.webkit.org/show_bug.cgi?id=176042
1011 Reviewed by Konstantin Tokarev.
1013 * Source/cmake/OptionsAppleWin.cmake:
1014 * Source/cmake/OptionsWinCairo.cmake:
1016 2017-08-24 Tomas Popela <tpopela@redhat.com>
1018 Bump trunk version to be 2.19.1
1020 Rubber-stamped by Michael Catanzaro.
1022 * Source/cmake/OptionsGTK.cmake:
1024 2017-08-24 Don Olmstead <don.olmstead@sony.com>
1026 [CMake] Use find_package for SQLite
1027 https://bugs.webkit.org/show_bug.cgi?id=175803
1029 Reviewed by Konstantin Tokarev.
1031 * Source/cmake/OptionsAppleWin.cmake:
1032 * Source/cmake/OptionsWinCairo.cmake:
1034 2017-08-23 Xabier Rodriguez Calvar <calvaris@igalia.com>
1036 [GStreamer][GTK][WPE] Move common things to GStreamer cmake files
1037 https://bugs.webkit.org/show_bug.cgi?id=175625
1039 Three files were created as kind of hooks for the GTK and WPE
1040 CMake option files. The definitions one is to enable, disable and
1041 create the common options (that can be and are actually overriden
1042 in some cases. The dependencies one adds dependencies for the
1043 option switches that are set. The checks one ensure the
1044 dependencies are met depending on the option switches.
1046 Reviewed by Carlos Alberto Lopez Perez.
1048 * Source/cmake/GStreamerChecks.cmake: Added.
1049 * Source/cmake/GStreamerDefinitions.cmake: Added.
1050 * Source/cmake/GStreamerDependencies.cmake: Added.
1051 * Source/cmake/OptionsGTK.cmake:
1052 * Source/cmake/OptionsWPE.cmake:
1054 2017-08-22 Commit Queue <commit-queue@webkit.org>
1056 Unreviewed, rolling out r221006.
1057 https://bugs.webkit.org/show_bug.cgi?id=175821
1059 generates build failures in the bots (Requested by calvaris[m]
1064 "[GStreamer][GTK][WPE] Move common things to GStreamer cmake
1066 https://bugs.webkit.org/show_bug.cgi?id=175625
1067 http://trac.webkit.org/changeset/221006
1069 2017-08-22 Xabier Rodriguez Calvar <calvaris@igalia.com>
1071 [GStreamer][GTK][WPE] Move common things to GStreamer cmake files
1072 https://bugs.webkit.org/show_bug.cgi?id=175625
1074 Three files were created as kind of hooks for the GTK and WPE
1075 CMake option files. The definitions one is to enable, disable and
1076 create the common options (that can be and are actually overriden
1077 in some cases. The dependencies one adds dependencies for the
1078 option switches that are set. The checks one ensure the
1079 dependencies are met depending on the option switches.
1081 Reviewed by Žan Doberšek.
1083 * Source/cmake/GStreamerChecks.cmake: Added.
1084 * Source/cmake/GStreamerDefinitions.cmake: Added.
1085 * Source/cmake/GStreamerDependencies.cmake: Added.
1086 * Source/cmake/OptionsGTK.cmake:
1087 * Source/cmake/OptionsWPE.cmake:
1089 2017-08-17 Andreas Kling <akling@apple.com>
1091 Disable CSS regions at compile time
1092 https://bugs.webkit.org/show_bug.cgi?id=175630
1094 Reviewed by Antti Koivisto.
1096 * Source/cmake/OptionsGTK.cmake:
1097 * Source/cmake/OptionsMac.cmake:
1098 * Source/cmake/OptionsWPE.cmake:
1099 * Source/cmake/OptionsWin.cmake:
1100 * Source/cmake/tools/vsprops/FeatureDefines.props:
1101 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1103 2017-08-14 Simon Fraser <simon.fraser@apple.com>
1105 Remove Proximity Events and related code
1106 https://bugs.webkit.org/show_bug.cgi?id=175545
1108 Reviewed by Daniel Bates.
1110 No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
1111 and other related code.
1113 * Source/cmake/OptionsMac.cmake:
1114 * Source/cmake/OptionsWin.cmake:
1115 * Source/cmake/WebKitFeatures.cmake:
1116 * Source/cmake/tools/vsprops/FeatureDefines.props:
1117 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1119 2017-08-14 Simon Fraser <simon.fraser@apple.com>
1121 Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
1122 https://bugs.webkit.org/show_bug.cgi?id=175557
1124 Reviewed by Jon Lee.
1126 No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.
1128 * Source/cmake/OptionsMac.cmake:
1129 * Source/cmake/OptionsWPE.cmake:
1130 * Source/cmake/OptionsWin.cmake:
1131 * Source/cmake/WebKitFeatures.cmake:
1132 * Source/cmake/tools/vsprops/FeatureDefines.props:
1133 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1135 2017-08-14 Adrian Perez de Castro <aperez@igalia.com>
1137 [WPE] Implement WebCore::standardUserAgent()
1138 https://bugs.webkit.org/show_bug.cgi?id=175507
1140 Reviewed by Michael Catanzaro.
1142 Remove "_GLIB" from user-agent version macros.
1144 * Source/cmake/OptionsGTK.cmake:
1145 * Source/cmake/OptionsWPE.cmake:
1147 2017-08-13 Adrian Perez de Castro <aperez@igalia.com>
1149 [WPE] Implement WebCore::standardUserAgent()
1150 https://bugs.webkit.org/show_bug.cgi?id=175507
1152 Reviewed by Carlos Alberto Lopez Perez.
1154 Implement missing User-Agent handling for the WPE port by sharing the code with the GTK+ port.
1156 * Source/cmake/OptionsGTK.cmake: Rename "GTK" with "GLIB" in UA version macros.
1157 * Source/cmake/OptionsWPE.cmake: Add UA version macros.
1159 2017-08-11 Ryosuke Niwa <rniwa@webkit.org>
1161 Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
1162 https://bugs.webkit.org/show_bug.cgi?id=175474
1163 <rdar://problem/33844628>
1165 Reviewed by Wenson Hsieh.
1167 * Source/cmake/OptionsMac.cmake:
1168 * Source/cmake/OptionsWin.cmake:
1169 * Source/cmake/WebKitFeatures.cmake:
1170 * Source/cmake/tools/vsprops/FeatureDefines.props:
1171 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1173 2017-08-11 Konstantin Tokarev <annulen@yandex.ru>
1175 [CMake] Fix broken use of REQUIRED with find modules
1176 https://bugs.webkit.org/show_bug.cgi?id=175427
1178 Reviewed by Michael Catanzaro.
1180 Module name passed to find_package_handle_standard_args() must exactly
1181 match file name of CMake find module including letter case, e.g. "WebP"
1182 must be used in FindWebP.cmake file. Otherwise find_package() arguments
1183 (REQUIRED, QUIET, version) are not processed correctly.
1185 To continue using old XXX_FOUND variables without case changes porting
1186 to new find_package_handle_standard_args syntax which has FOUND_VAR
1187 parameter. Unfortunately, variable name GTK_UNIX_PRINT_FOUND is not
1188 allowed by find_package_handle_standard_args when package name is
1189 GTKUnixPrint, so it's replaced to GTKUnixPrint_FOUND (default).
1191 * Source/cmake/FindGTKUnixPrint.cmake:
1192 * Source/cmake/FindGeoClue2.cmake:
1193 * Source/cmake/FindHyphen.cmake:
1194 * Source/cmake/FindLibEpoxy.cmake:
1195 * Source/cmake/FindLibGBM.cmake:
1196 * Source/cmake/FindLibsecret.cmake:
1197 * Source/cmake/FindLibtasn1.cmake:
1198 * Source/cmake/FindLibxkbcommon.cmake:
1199 * Source/cmake/FindOpenGL.cmake:
1200 * Source/cmake/FindOpenGLES2.cmake:
1201 * Source/cmake/FindOpenWebRTC.cmake:
1202 * Source/cmake/FindWPEBackend-mesa.cmake:
1203 * Source/cmake/FindWPEBackend.cmake:
1204 * Source/cmake/FindWayland.cmake:
1205 * Source/cmake/FindWebP.cmake:
1206 * Source/cmake/OptionsGTK.cmake:
1208 2017-08-10 Michael Catanzaro <mcatanzaro@igalia.com>
1210 REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie
1211 https://bugs.webkit.org/show_bug.cgi?id=175426
1213 Reviewed by Carlos Alberto Lopez Perez.
1215 * Source/cmake/FindGeoClue2.cmake:
1217 2017-08-10 Michael Catanzaro <mcatanzaro@igalia.com>
1219 Remove ENABLE_GAMEPAD_DEPRECATED
1220 https://bugs.webkit.org/show_bug.cgi?id=175361
1222 Reviewed by Carlos Garcia Campos.
1224 * Source/cmake/FindGUdev.cmake: Removed.
1225 * Source/cmake/OptionsGTK.cmake:
1226 * Source/cmake/OptionsMac.cmake:
1227 * Source/cmake/WebKitFeatures.cmake:
1229 2017-08-10 Carlos Alberto Lopez Perez <clopez@igalia.com>
1231 REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie
1232 https://bugs.webkit.org/show_bug.cgi?id=175426
1234 Reviewed by Carlos Garcia Campos.
1236 Fix the pkg-config file name.
1237 We really require geoclue-2.0 and not libgeoclue-2.0.
1239 * Source/cmake/FindGeoClue2.cmake:
1241 2017-08-09 Michael Catanzaro <mcatanzaro@igalia.com>
1243 [GTK] Remove support for geoclue1
1244 https://bugs.webkit.org/show_bug.cgi?id=164205
1246 Reviewed by Carlos Garcia Campos.
1248 * Source/cmake/FindGeoClue.cmake: Removed.
1249 * Source/cmake/OptionsGTK.cmake:
1251 2017-08-09 Michael Catanzaro <mcatanzaro@igalia.com>
1253 [CMake] Remove unused find modules
1254 https://bugs.webkit.org/show_bug.cgi?id=175363
1256 Reviewed by Carlos Alberto Lopez Perez.
1258 * Source/cmake/FindCFLite.cmake: Removed.
1259 * Source/cmake/FindClang.cmake: Removed.
1260 * Source/cmake/FindDBus.cmake: Removed.
1261 * Source/cmake/FindDirectX.cmake: Removed.
1262 * Source/cmake/FindEspeak.cmake: Removed.
1263 * Source/cmake/FindQuickTimeSDK.cmake: Removed.
1265 2017-08-09 Zan Dobersek <zdobersek@igalia.com>
1267 [WPE] Enable SUBTLE_CRYPTO in release builds
1268 https://bugs.webkit.org/show_bug.cgi?id=175371
1270 Reviewed by Carlos Garcia Campos.
1272 * Source/cmake/OptionsWPE.cmake:
1273 Use ON as the default port value for ENABLE_SUBTLE_CRYPTO in WPE.
1275 2017-08-09 Carlos Garcia Campos <cgarcia@igalia.com>
1277 [GTK] Enable SUBTLE_CRYPTO in GTK+ releases
1278 https://bugs.webkit.org/show_bug.cgi?id=172758
1280 Reviewed by Žan Doberšek.
1282 Add ENABLE_WEB_CRYPTO public option and make ENABLE_SUBTLE_CRYPTO depend on it.
1284 * Source/cmake/OptionsGTK.cmake:
1286 2017-08-08 Michael Catanzaro <mcatanzaro@igalia.com>
1288 [CMake] Properly test if compiler supports compiler flags
1289 https://bugs.webkit.org/show_bug.cgi?id=174490
1291 Reviewed by Konstantin Tokarev.
1293 This turned out to be a massive pain. I didn't want to merely check options before using
1294 them: I also wanted to organize the code to avoid setting similar flags in different places.
1295 Right now we set a bunch of global flags in OptionsCommon.cmake, and a bunch more flags in
1296 WEBKIT_SET_EXTRA_COMPILER_FLAGS on a per-target basis.
1298 Setting flags per-target seems better in general, e.g. because it makes it very easy to
1299 disable warnings for particular ThirdParty targets. But it turns out that all the flags set
1300 on a per-target basis get passed to both the C compiler and the C++ compiler, so it's
1301 impossible to pass C++-only flags there. That's terrible. It's possible to make the flags
1302 language-conditional using generator expressions, but that doesn't work for the Visual
1303 Studio backend, so we would have to drop support for that (not going to happen). The CMake
1304 documentation suggests that C and C++ files ought to be built in separate targets to avoid
1305 this. It's a mess, basically.
1307 So I've wound up removing WEBKIT_SET_EXTRA_COMPILER_FLAGS and adding most of those flags to
1308 CMAKE_C_FLAGS and CMAKE_CXX_FLAGS instead. Really the only disadvantage of this is we now
1309 have to suppress individual warnings when building ANGLESupport in WebCore. That's not the
1310 end of the world. The only remaining useful feature of WEBKIT_SET_EXTRA_COMPILER_FLAGS was
1311 to add -fPIC to static library targets, but turns out CMake does that for us if we just set
1312 the variable CMAKE_POSITION_INDEPENDENT_CODE, so we can get rid of it completely.
1314 Of course there are also macros for setting target-specific compiler flags, which we
1315 frequently need in order to suppress specific warnings, particularly warnings coming from
1316 third-party libraries like ANGLE and gtest. But remember the footgun: these macros will test
1317 the flag against only one compiler, but must work with both C and C++ compilers unless the
1318 build target exclusively contains targets built with just one of those compilers. Yuck.
1321 * Source/CMakeLists.txt:
1322 * Source/PlatformGTK.cmake:
1323 * Source/cmake/OptionsCommon.cmake:
1324 * Source/cmake/WebKitCommon.cmake:
1325 * Source/cmake/WebKitCompilerFlags.cmake: Added.
1326 * Source/cmake/WebKitMacros.cmake:
1328 2017-08-07 Brian Burg <bburg@apple.com>
1330 Remove CANVAS_PATH compilation guard
1331 https://bugs.webkit.org/show_bug.cgi?id=175207
1333 Reviewed by Sam Weinig.
1335 * Source/cmake/OptionsGTK.cmake:
1336 * Source/cmake/OptionsMac.cmake:
1337 * Source/cmake/OptionsWin.cmake:
1338 * Source/cmake/WebKitFeatures.cmake:
1339 * Source/cmake/tools/vsprops/FeatureDefines.props:
1340 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1342 2017-08-03 Brian Burg <bburg@apple.com>
1344 Remove ENABLE(WEB_SOCKET) guards
1345 https://bugs.webkit.org/show_bug.cgi?id=167044
1347 Reviewed by Joseph Pecoraro.
1349 * Source/cmake/OptionsMac.cmake:
1350 * Source/cmake/OptionsWin.cmake:
1351 * Source/cmake/WebKitFeatures.cmake:
1352 * Source/cmake/tools/vsprops/FeatureDefines.props:
1353 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1355 2017-08-03 Brady Eidson <beidson@apple.com>
1357 Add SW IDLs and stub out basic functionality.
1358 https://bugs.webkit.org/show_bug.cgi?id=175115
1360 Reviewed by Chris Dumez.
1362 * Source/cmake/WebKitFeatures.cmake:
1363 * Source/cmake/tools/vsprops/FeatureDefines.props:
1364 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1366 2017-08-01 Brady Eidson <beidson@apple.com>
1368 Part 1 of: Rename DatabaseProcess to StorageProcess.
1369 https://bugs.webkit.org/show_bug.cgi?id=174879
1371 Reviewed by Andy Estes.
1373 * Source/cmake/OptionsWPE.cmake:
1374 * Source/cmake/gtksymbols.filter:
1376 2017-08-01 Michael Catanzaro <mcatanzaro@igalia.com>
1378 [CMake] WebKitFS.cmake depends on options set in Option cmake files that are included later
1379 https://bugs.webkit.org/show_bug.cgi?id=174855
1381 Reviewed by Carlos Garcia Campos.
1383 Create derived sources directories in WebKitCommon.cmake instead of WebKitFS.cmake, which is
1384 too soon. I tried changing the include order, but other stuff in WebKitFS.cmake really is
1385 needed before including the port options file.
1387 * Source/cmake/WebKitCommon.cmake:
1388 * Source/cmake/WebKitFS.cmake:
1390 2017-07-29 Yusuke Suzuki <utatane.tea@gmail.com>
1392 Unreviewed, build fix for GTK and WPE about StorageProcess renaming
1394 * Source/cmake/OptionsWPE.cmake:
1396 2017-07-28 Commit Queue <commit-queue@webkit.org>
1398 Unreviewed, rolling out r219986.
1399 https://bugs.webkit.org/show_bug.cgi?id=174962
1401 "broke PLT on iOS (rdar://problem/33602751)" (Requested by
1406 "Part 1 of: Rename DatabaseProcess to StorageProcess."
1407 https://bugs.webkit.org/show_bug.cgi?id=174879
1408 http://trac.webkit.org/changeset/219986
1410 2017-07-28 Adrian Perez de Castro <aperez@igalia.com>
1412 [GTK] Building with ENABLE_VIDEO=OFF fails
1413 https://bugs.webkit.org/show_bug.cgi?id=174940
1415 Reviewed by Alex Christensen.
1417 Code guarded by ENABLE(MEDIA_STREAM) requires the definition of HTMLVideoElement to
1418 be available, which in turn is guarded by ENABLE(VIDEO).
1420 * Source/cmake/WebKitFeatures.cmake: Make ENABLE_MEDIA_STREAM depend on ENABLE_VIDEO.
1422 2017-07-28 Claudio Saavedra <csaavedra@igalia.com>
1424 [WPE] Implement EventSenderProxy in WTR
1425 https://bugs.webkit.org/show_bug.cgi?id=173419
1427 Reviewed by Žan Doberšek.
1429 Add the implementation of EventSenderProxy to the WTR. This
1430 allows us to extend the coverage of the test suite in WKWPE.
1432 * Source/cmake/FindLibxkbcommon.cmake: Added.
1434 2017-07-28 Zan Dobersek <zdobersek@igalia.com>
1436 Unreviewed. Bumping the patch version for WPEWebKit library to 20170728.
1438 * Source/cmake/OptionsWPE.cmake:
1440 2017-07-27 Brady Eidson <beidson@apple.com>
1442 Part 1 of: Rename DatabaseProcess to StorageProcess.
1443 https://bugs.webkit.org/show_bug.cgi?id=174879
1445 Reviewed by Andy Estes.
1447 * Source/cmake/OptionsWPE.cmake:
1448 * Source/cmake/gtksymbols.filter:
1451 2017-07-26 Brady Eidson <beidson@apple.com>
1453 Remove DATABASE_PROCESS build flag.
1454 https://bugs.webkit.org/show_bug.cgi?id=174868
1456 Reviewed by Andy Estes.
1458 * Source/cmake/OptionsGTK.cmake:
1459 * Source/cmake/OptionsMac.cmake:
1460 * Source/cmake/OptionsWPE.cmake:
1461 * Source/cmake/WebKitFeatures.cmake:
1463 2017-07-26 Brian Burg <bburg@apple.com>
1465 Remove WEB_TIMING feature flag
1466 https://bugs.webkit.org/show_bug.cgi?id=174795
1468 Reviewed by Alex Christensen.
1470 * Source/cmake/OptionsWPE.cmake:
1471 * Source/cmake/OptionsWin.cmake:
1472 * Source/cmake/WebKitFeatures.cmake:
1473 * Source/cmake/tools/vsprops/FeatureDefines.props:
1474 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1476 2017-07-26 Carlos Garcia Campos <cgarcia@igalia.com>
1478 Unreviewed. Fix WebKit2 derived sources directory creation after r219488.
1480 The variable is still DERIVED_SOURCES_WEBKIT2_DIR, not DERIVED_SOURCES_WEBKIT_DIR. Build was not really affected
1481 because WebKit2 makefile creates the directory too.
1483 * Source/cmake/WebKitFS.cmake:
1485 2017-07-26 Carlos Garcia Campos <cgarcia@igalia.com>
1487 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.5 release.
1489 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1491 2017-07-25 Carlos Garcia Campos <cgarcia@igalia.com>
1493 Unreviewed. Fix GTK+ WebKit2 library soname after r219488.
1495 The WebKit2 -> WebKit rename shouldn't affect the GTK+ library that is still called libwebkit2gtk, so keep using
1496 WEBKIT2 as the library name in CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE, since that's also what the WebKit
1497 makefile passes to WEBKIT_POPULATE_LIBRARY_VERSION.
1499 * Source/cmake/OptionsGTK.cmake:
1501 2017-07-24 Zan Dobersek <zdobersek@igalia.com>
1503 [WPE] Add libepoxy to the Jhbuild moduleset
1504 https://bugs.webkit.org/show_bug.cgi?id=174711
1506 Reviewed by Carlos Alberto Lopez Perez.
1508 libepoxy 1.3.1 that's widely available in current stable distributions (Debian stable,
1509 Ubuntu LTS) does suffice our needs, but also contains a bug that incorrectly determines
1510 the current EGL context and the API version of OpenGL that's bound to that context.
1511 Focusing on experiences on Debian systems, while the current stable Debian release has
1512 this bug patched, the package for the testing distribution of Debian removed that same
1513 patch for whatever reason, despite using the 1.3.1 version as the package basis.
1515 To avoid this, libepoxy 1.4.3 is now added to WPE's Jhbuild moduleset. The WPE port
1516 also now demands at least the 1.4.0 version to be available when configuring.
1518 We should revisit the minimum version for libepoxy in the future if the 1.3 release
1519 branch gets updated with the proper fix.
1521 * Source/cmake/FindLibEpoxy.cmake:
1522 * Source/cmake/OptionsWPE.cmake:
1524 2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
1526 [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
1528 macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
1529 U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
1530 explicitly, because ICU headers in the tree are not modified anymore.
1532 * Source/cmake/OptionsJSCOnly.cmake:
1533 * Source/cmake/OptionsMac.cmake:
1535 2017-07-17 Carlos Garcia Campos <cgarcia@igalia.com>
1537 Add initial implementation of WebDriver process to run the HTTP server
1538 https://bugs.webkit.org/show_bug.cgi?id=166682
1540 Reviewed by Brian Burg.
1542 Enable WebDriver in the GTK port by default.
1544 * Source/CMakeLists.txt:
1545 * Source/cmake/OptionsGTK.cmake:
1546 * Source/cmake/WebKitFS.cmake:
1547 * Source/cmake/WebKitFeatures.cmake:
1549 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1551 [cmake] Set library types before their targets are created
1552 https://bugs.webkit.org/show_bug.cgi?id=174600
1554 Reviewed by Michael Catanzaro.
1556 Since r219560 library targets are created before PlatformXXX.cmake
1557 files are processed, however library type must be passed in
1558 add_library() call and cannot be changed afterwards. Set these
1559 variables in OptionsXXX.cmake.
1562 * Source/cmake/OptionsMac.cmake:
1563 * Source/cmake/OptionsWPE.cmake:
1564 * Source/cmake/OptionsWin.cmake:
1566 2017-07-17 Michael Catanzaro <mcatanzaro@igalia.com>
1568 [CMake] Include most CMake modules from WebKitCommon.cmake
1569 https://bugs.webkit.org/show_bug.cgi?id=174546
1571 Reviewed by Konstantin Tokarev.
1574 * Source/cmake/OptionsCommon.cmake:
1575 * Source/cmake/WebKitCommon.cmake:
1576 * Source/cmake/WebKitMacros.cmake:
1578 2017-07-17 Michael Catanzaro <mcatanzaro@igalia.com>
1580 [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1581 https://bugs.webkit.org/show_bug.cgi?id=174547
1583 Reviewed by Alex Christensen.
1585 * Source/cmake/WebKitMacros.cmake:
1587 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1589 [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
1590 https://bugs.webkit.org/show_bug.cgi?id=174557
1592 Reviewed by Michael Catanzaro.
1594 * Source/cmake/WebKitMacros.cmake:
1596 2017-07-16 Michael Catanzaro <mcatanzaro@igalia.com>
1598 [CMake] Raise minimum CMake requirement
1599 https://bugs.webkit.org/show_bug.cgi?id=174545
1601 Reviewed by Konstantin Tokarev.
1604 * Source/cmake/OptionsCommon.cmake:
1605 * Source/cmake/OptionsGTK.cmake:
1606 * Source/cmake/OptionsJSCOnly.cmake:
1608 2017-07-14 Michael Catanzaro <mcatanzaro@igalia.com>
1610 [CMake] Unclear distinction between WebKitHelpers and WebKitMacros
1611 https://bugs.webkit.org/show_bug.cgi?id=153189
1613 Reviewed by Antonio Gomes.
1615 Merge WebKitHelpers.cmake into WebKitMacros.cmake, since there is no meaningful distinction
1616 between the macros that belong in each file. Then, move the macros that are only needed by
1617 one project into project-specific CMake files. Retain here only the macros that are needed
1620 * Source/cmake/OptionsCommon.cmake: Update a comment.
1621 * Source/cmake/OptionsGTK.cmake: New location for libtool macro, exclusively needed here.
1622 * Source/cmake/WebKitCommon.cmake: Do not include WebKitHelpers.cmake.
1623 * Source/cmake/WebKitHelpers.cmake: Removed.
1624 * Source/cmake/WebKitMacros.cmake:
1626 2017-07-13 Michael Catanzaro <mcatanzaro@igalia.com>
1628 [GTK][WPE] Avoid setting settings that are set by default
1632 * Source/cmake/OptionsGTK.cmake:
1633 * Source/cmake/OptionsWPE.cmake:
1635 2017-07-13 Konstantin Tokarev <annulen@ynadex.ru>
1637 Unreviewed, Windows ports should enable WebKitLegacy and disable
1640 * Source/cmake/OptionsWin.cmake:
1642 2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
1644 Fix the Mac CMake build.
1646 Unreviewed build fix.
1648 Fix the Mac CMake build after r219488 broke it. r219488 erroneously updated
1649 the variable name DERIVED_SOURCES_WEBKITLEGACY_DIR to DERIVED_SOURCES_WEBKIT_LEGACY_DIR
1650 without updating subsequent users of that variable.
1652 * Source/cmake/WebKitFS.cmake:
1653 Rename DERIVED_SOURCES_WEBKIT_LEGACY_DIR back to DERIVED_SOURCES_WEBKITLEGACY_DIR.
1655 2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
1657 Fix the cMake builds (GTK and WPE.)
1658 https://bugs.webkit.org/show_bug.cgi?id=174164
1659 rdar://problem/33137595
1661 Reviewed by Dan Bernstein.
1663 * Source/CMakeLists.txt:
1664 * Source/cmake/OptionsGTK.cmake:
1665 * Source/cmake/OptionsJSCOnly.cmake:
1666 * Source/cmake/OptionsMac.cmake:
1667 * Source/cmake/OptionsWPE.cmake:
1668 * Source/cmake/WebKitFS.cmake:
1669 * Source/cmake/WebKitPackaging.cmake:
1671 2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
1673 Rename WebKit2.xcodeproj to WebKit.xcodeproj.
1674 https://bugs.webkit.org/show_bug.cgi?id=174164
1675 rdar://problem/33137595
1677 Reviewed by Dan Bernstein.
1679 * WebKit.xcworkspace/contents.xcworkspacedata:
1680 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1682 2017-07-13 Matthew Hanson <matthew_hanson@apple.com>
1684 Update tools and configurations after renaming Source/WebKit2 to Source/WebKit.
1685 https://bugs.webkit.org/show_bug.cgi?id=174164
1686 rdar://problem/33137595
1688 Reviewed by Dan Bernstein.
1691 * Source/PlatformGTK.cmake:
1692 * Source/cmake/OptionsGTK.cmake:
1693 * Source/cmake/WebKitFS.cmake:
1694 * Source/cmake/WebKitPackaging.cmake:
1695 * WebKit.xcworkspace/contents.xcworkspacedata:
1696 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1698 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1700 Update the Xcode project name from WebKit to WebKitLegacy.
1701 https://bugs.webkit.org/show_bug.cgi?id=174162
1702 rdar://problem/33137594
1704 Reviewed by Dan Bernstein.
1706 Rename WebKit to WebKitLegacy.
1708 * WebKit.xcworkspace/contents.xcworkspacedata:
1709 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1711 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1713 Update tools and configurations after renaming Source/WebKit to Source/WebKitLegacy.
1714 https://bugs.webkit.org/show_bug.cgi?id=174162
1715 rdar://problem/33137594
1717 Reviewed by Dan Bernstein.
1719 Mass rename of Source/WebKit to Source/WebKitLegacy in OpenSource cmake files
1720 and Xcode project files.
1722 * Source/cmake/OptionsGTK.cmake:
1723 * Source/cmake/WebKitFS.cmake:
1724 * WebKit.xcworkspace/contents.xcworkspacedata:
1725 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1727 2017-07-13 Michael Catanzaro <mcatanzaro@igalia.com>
1729 Fix compiler warnings when building with GCC 7
1730 https://bugs.webkit.org/show_bug.cgi?id=174463
1732 Reviewed by Darin Adler.
1734 * Source/cmake/OptionsCommon.cmake:
1736 2017-07-12 Matt Lewis <jlewis3@apple.com>
1738 Unreviewed, rolling out r219401.
1740 This revision rolled out the previous patch, but after talking
1741 with reviewer, a rebaseline is what was needed.Rolling back in
1746 "Unreviewed, rolling out r219379."
1747 https://bugs.webkit.org/show_bug.cgi?id=174400
1748 http://trac.webkit.org/changeset/219401
1750 2017-07-12 Matt Lewis <jlewis3@apple.com>
1752 Unreviewed, rolling out r219379.
1754 This revision caused a consistent failure in the test
1755 fast/dom/Window/property-access-on-cached-window-after-frame-
1760 "Remove NAVIGATOR_HWCONCURRENCY"
1761 https://bugs.webkit.org/show_bug.cgi?id=174400
1762 http://trac.webkit.org/changeset/219379
1764 2017-07-12 Zan Dobersek <zdobersek@igalia.com>
1767 https://bugs.webkit.org/show_bug.cgi?id=172104
1769 Reviewed by Michael Catanzaro.
1771 * Source/cmake/FindLibEpoxy.cmake: Added.
1772 * Source/cmake/OptionsWPE.cmake: Find libepoxy, don't search for
1773 EGL or OpenGL ES anymore, and enable USE_LIBEPOXY by default.
1775 2017-07-11 Carlos Garcia Campos <cgarcia@igalia.com>
1777 [GTK][WPE] Enable FILE_LOCK and implement lockFile and unlockFile
1778 https://bugs.webkit.org/show_bug.cgi?id=174357
1780 Reviewed by Michael Catanzaro.
1782 * Source/cmake/OptionsGTK.cmake: Use gio-unix unconditionally.
1784 2017-07-11 Dean Jackson <dino@apple.com>
1786 Remove NAVIGATOR_HWCONCURRENCY
1787 https://bugs.webkit.org/show_bug.cgi?id=174400
1789 Reviewed by Sam Weinig.
1791 * Source/cmake/OptionsMac.cmake:
1792 * Source/cmake/WebKitFeatures.cmake:
1794 2017-07-11 Dean Jackson <dino@apple.com>
1796 Rolling out r219372.
1798 * Source/cmake/OptionsMac.cmake:
1799 * Source/cmake/WebKitFeatures.cmake:
1801 2017-07-11 Dean Jackson <dino@apple.com>
1803 Remove NAVIGATOR_HWCONCURRENCY
1804 https://bugs.webkit.org/show_bug.cgi?id=174400
1806 Reviewed by Sam Weinig.
1808 * Source/cmake/OptionsMac.cmake:
1809 * Source/cmake/WebKitFeatures.cmake:
1811 2017-07-03 Brian Burg <bburg@apple.com>
1813 Web Replay: remove some unused code
1814 https://bugs.webkit.org/show_bug.cgi?id=173903
1816 Rubber-stamped by Joseph Pecoraro.
1818 * ManualTests/inspector/replay-keyboard-events.html: Removed.
1819 * ManualTests/inspector/replay-mouse-events.html: Removed.
1820 * ManualTests/inspector/replay-wheel-events.html: Removed.
1821 * ManualTests/inspector/replay-window-navigator-basic.html: Removed.
1822 * ManualTests/inspector/replay-window-screen.html: Removed.
1823 * Source/cmake/OptionsMac.cmake:
1824 * Source/cmake/WebKitFeatures.cmake:
1826 2017-07-10 Carlos Garcia Campos <cgarcia@igalia.com>
1828 Move make-js-file-arrays.py from WebCore to JavaScriptCore
1829 https://bugs.webkit.org/show_bug.cgi?id=174024
1831 Reviewed by Michael Catanzaro.
1833 Make MAKE_JS_FILE_ARRAYS independent of WebCore and update it to use make-js-file-arrays.py from
1834 JavaScriptCore. It's no longer needed to set PYTHON_PATH to find jsmin.py.
1836 * Source/cmake/WebKitMacros.cmake:
1838 2017-07-08 Yusuke Suzuki <utatane.tea@gmail.com>
1840 Drop NOSNIFF compile flag
1841 https://bugs.webkit.org/show_bug.cgi?id=174289
1843 Reviewed by Michael Catanzaro.
1845 * Source/cmake/WebKitFeatures.cmake:
1847 2017-07-07 Yusuke Suzuki <utatane.tea@gmail.com>
1849 [GTK][WPE] Enable X-Content-Type-Options: nosniff
1850 https://bugs.webkit.org/show_bug.cgi?id=174250
1852 Reviewed by Carlos Alberto Lopez Perez.
1854 Make nosniff enabled by default in all the ports.
1856 * Source/cmake/OptionsMac.cmake:
1857 * Source/cmake/OptionsWin.cmake:
1858 * Source/cmake/WebKitFeatures.cmake:
1860 2017-07-06 Stephan Szabo <stephan.szabo@sony.com>
1862 [Win] Build precompiled header successfully with clang-cl
1863 https://bugs.webkit.org/show_bug.cgi?id=174221
1865 Reviewed by Alex Christensen.
1867 * Source/cmake/WebKitMacros.cmake:
1869 2017-07-05 Yusuke Suzuki <utatane.tea@gmail.com>
1871 Upgrade GCC baseline
1872 https://bugs.webkit.org/show_bug.cgi?id=174155
1874 Reviewed by Michael Catanzaro.
1876 This patch bumps the version of GCC from 4.9.0 to 5.0.0,
1877 which is shipped with Ubuntu 16.04 LTS. And the latest
1878 Debian stable (stretch) already ships newer GCC (6.3.0).
1879 Remove workaround for old GCC. And move GCC version check
1880 to the top-level CMakeLists.txt.
1883 * Source/cmake/OptionsGTK.cmake:
1884 * Source/cmake/WebKitHelpers.cmake:
1886 2017-07-05 Don Olmstead <don.olmstead@sony.com>
1888 [WinCairo] Consolidate CMake code related to CURL
1889 https://bugs.webkit.org/show_bug.cgi?id=170860
1891 Reviewed by Alex Christensen.
1893 * Source/cmake/OptionsWinCairo.cmake:
1895 2017-06-28 Stephan Szabo <stephan.szabo@am.sony.com>
1897 [Win] Build JSCOnly on Windows with clang-cl
1898 https://bugs.webkit.org/show_bug.cgi?id=173889
1900 Reviewed by Konstantin Tokarev.
1903 * Source/cmake/OptionsCommon.cmake:
1904 * Source/cmake/OptionsMSVC.cmake:
1906 2017-06-23 Carlos Garcia Campos <cgarcia@igalia.com>
1908 [WPE] User script messages don't work
1909 https://bugs.webkit.org/show_bug.cgi?id=173712
1911 Reviewed by Žan Doberšek.
1913 Enable user script messages.
1915 * Source/cmake/OptionsWPE.cmake:
1917 2017-06-23 Carlos Garcia Campos <cgarcia@igalia.com>
1919 [WPE] Enable PUBLIC_SUFFIX_LIST
1920 https://bugs.webkit.org/show_bug.cgi?id=173758
1922 Reviewed by Žan Doberšek.
1924 WebsiteDataStore needs it when fetching data.
1926 Fixes: /wpe/WebKitCookieManager/accept-policy
1927 /wpe/WebKitCookieManager/delete-cookies
1928 /wpe/WebKitCookieManager/cookies-changed
1929 /wpe/WebKitCookieManager/persistent-storage
1930 /wpe/WebKitCookieManager/ephemeral
1931 /wpe/WebKitWebsiteData/ephemeral
1932 /wpe/WebKitWebsiteData/cache
1933 /wpe/WebKitWebsiteData/storage
1934 /wpe/WebKitWebsiteData/databases
1935 /wpe/WebKitWebsiteData/appcache
1936 /wpe/WebKitWebsiteData/cookies
1938 * Source/cmake/OptionsWPE.cmake:
1940 2017-06-22 Carlos Garcia Campos <cgarcia@igalia.com>
1942 [WPE] Add initial web extensions API
1943 https://bugs.webkit.org/show_bug.cgi?id=173640
1945 Reviewed by Žan Doberšek.
1947 * Source/cmake/OptionsWPE.cmake:
1949 2017-06-21 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>
1951 [MSVC] Fix compilation in CP932 (Shift_JIS) environment
1952 https://bugs.webkit.org/show_bug.cgi?id=173638
1954 Reviewed by Alex Christensen.
1956 Give "/utf-8 /validate-charset" options to the MSVC compiler
1957 to specify the source code encoding.
1959 * Source/cmake/OptionsMSVC.cmake:
1961 2017-06-21 Miguel Gomez <magomez@igalia.com>
1963 [GTK] Fix the condition to enable/disable GSTREAMER_GL
1964 https://bugs.webkit.org/show_bug.cgi?id=173650
1966 Reviewed by Carlos Garcia Campos.
1968 If GSTREAMER_GL is enabled, check for the GStreamer version. If the version is < 1.10, disable
1969 GSTREAMER_GL and continue. If the version is >= 1.10 but there's no gstreamer-gl package available
1972 * Source/cmake/FindGStreamer.cmake:
1973 * Source/cmake/OptionsGTK.cmake:
1975 2017-06-21 Miguel Gomez <magomez@igalia.com>
1977 [GTK] Enable GStreamer GL by default on production builds
1978 https://bugs.webkit.org/show_bug.cgi?id=173406
1980 Reviewed by Carlos Garcia Campos.
1982 Enable GStreamer GL by default when the GStreamer version >= 1.10.
1984 * Source/cmake/OptionsGTK.cmake:
1986 2017-06-21 Carlos Garcia Campos <cgarcia@igalia.com>
1988 [GTK] Move WebGtkExtensionManager and WebGtkInjectedBundleMain to glib API dir
1989 https://bugs.webkit.org/show_bug.cgi?id=173606
1991 Reviewed by Žan Doberšek.
1993 Update public symbols that were renamed.
1995 * Source/cmake/gtksymbols.filter:
1997 2017-06-20 Zan Dobersek <zdobersek@igalia.com>
1999 [GCrypt] Implement CryptoKeyEC SPKI imports
2000 https://bugs.webkit.org/show_bug.cgi?id=172927
2002 Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos.
2004 * Source/cmake/FindLibtasn1.cmake: Added.
2005 * Source/cmake/OptionsGTK.cmake: Require libtasn1 when SUBTLE_CRYPTO is enabled.
2006 * Source/cmake/OptionsWPE.cmake: Ditto.
2008 2017-06-20 Carlos Garcia Campos <cgarcia@igalia.com>
2010 [WPE] Add initial implementation of glib API
2011 https://bugs.webkit.org/show_bug.cgi?id=173546
2013 Reviewed by Žan Doberšek.
2015 Add some definitions required to build WPE glib API.
2017 * Source/cmake/OptionsWPE.cmake:
2019 2017-06-18 Carlos Garcia Campos <cgarcia@igalia.com>
2021 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.4 release.
2023 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2025 2017-06-16 Alex Christensen <achristensen@webkit.org>
2027 Fix Mac CMake build.
2029 * Source/cmake/WebKitFS.cmake:
2030 Add new DerivedSources/WTF directory.
2032 2017-06-15 Konstantin Tokarev <annulen@yandex.ru>
2034 [cmake] ADD_PRECOMPILED_HEADER should append OBJECT_DEPENDS, not overwrite it
2035 https://bugs.webkit.org/show_bug.cgi?id=173428
2037 Reviewed by Michael Catanzaro.
2039 Right now, if any of source files that are passed to
2040 ADD_PRECOMPILED_HEADER have non-empty OBJECT_DEPENDS property (e.g.
2041 changed with ADD_SOURCE_DEPENDENCIES call), its value is lost.
2043 * Source/cmake/WebKitMacros.cmake:
2045 2017-06-15 Carlos Garcia Campos <cgarcia@igalia.com>
2047 [GTK] Do not use the C API in WebGtkExtensionManager
2048 https://bugs.webkit.org/show_bug.cgi?id=173408
2050 Reviewed by Michael Catanzaro.
2052 Update exported symbol signature.
2054 * Source/cmake/gtksymbols.filter:
2056 2017-06-09 Zan Dobersek <zdobersek@igalia.com>
2058 [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
2059 https://bugs.webkit.org/show_bug.cgi?id=173103
2061 Reviewed by Xabier Rodriguez-Calvar.
2063 * Source/cmake/OptionsWPE.cmake: Expose the ENABLE_ENCRYPTED_MEDIA
2064 configuration option, keeping it disabled by default.
2066 2017-06-09 Xabier Rodriguez Calvar <calvaris@igalia.com>
2068 [GStreamer][EME] Remove the legacy code that was not even official and is deprecated
2069 https://bugs.webkit.org/show_bug.cgi?id=173096
2071 Reviewed by Žan Doberšek.
2073 * Source/cmake/OptionsWPE.cmake: Remove LEGACY_ENCRYPTED_MEDIA support
2075 2017-06-07 Ryosuke Niwa <rniwa@webkit.org>
2077 IsInShadowTreeFlag does not get updated for a non-container node
2078 https://bugs.webkit.org/show_bug.cgi?id=173084
2080 Reviewed by Antti Koivisto.
2082 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2084 2017-06-07 Carlos Garcia Campos <cgarcia@igalia.com>
2086 [WPE] Enable resource usage
2087 https://bugs.webkit.org/show_bug.cgi?id=173054
2089 Reviewed by Žan Doberšek.
2091 Add private option for resource usage enabled by default.
2093 * Source/cmake/OptionsWPE.cmake:
2095 2017-06-07 Carlos Garcia Campos <cgarcia@igalia.com>
2097 Remove legacy INSPECTOR_SERVER implementation
2098 https://bugs.webkit.org/show_bug.cgi?id=172966
2100 Reviewed by Žan Doberšek.
2102 * Source/PlatformWin.cmake:
2104 2017-06-07 Loïc Yhuel <loic.yhuel@softathome.com>
2106 [CMake] Only force response files for Ninja with CMake < 3.2 on Linux
2107 https://bugs.webkit.org/show_bug.cgi?id=173066
2109 Reviewed by Michael Catanzaro.
2111 CMake automatically uses response files when needed, but the limit was
2112 wrong on Linux before 3.2.
2114 * Source/cmake/OptionsCommon.cmake:
2116 2017-06-07 Zan Dobersek <zdobersek@igalia.com>
2118 [GCrypt] RSA-PSS support
2119 https://bugs.webkit.org/show_bug.cgi?id=172856
2121 Reviewed by Jiewen Tan.
2123 * Source/cmake/OptionsGTK.cmake: Set and expose the USE_GCRYPT preprocessor macro when
2124 SUBTLE_CRYPTO is enabled.
2125 * Source/cmake/OptionsWPE.cmake: Match the GTK+ port in demanding at least version 1.7.0
2126 of libgcrypt. Also set and expose the USE_GCRYPT preprocessor macro.
2128 2017-06-06 Carlos Garcia Campos <cgarcia@igalia.com>
2130 [WPE] Enable remote inspector
2131 https://bugs.webkit.org/show_bug.cgi?id=172971
2133 Reviewed by Žan Doberšek.
2135 Add private option for remote inspector enabled by default.
2137 * Source/cmake/OptionsWPE.cmake:
2139 2017-06-02 Stephan Szabo <stephan.szabo@am.sony.com>
2141 [JSCOnly] Build static jsc.exe on Windows
2142 https://bugs.webkit.org/show_bug.cgi?id=172833
2144 Reviewed by Konstantin Tokarev.
2146 * Source/cmake/OptionsJSCOnly.cmake:
2148 2017-05-31 Adrian Perez de Castro <aperez@igalia.com>
2150 [CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0
2151 https://bugs.webkit.org/show_bug.cgi?id=172750
2153 Reviewed by Michael Catanzaro.
2155 * Source/cmake/OptionsCommon.cmake:
2157 2017-05-31 Adrian Perez de Castro <aperez@igalia.com>
2159 Consider enabling -Wno-expansion-to-defined for gcc 7
2160 https://bugs.webkit.org/show_bug.cgi?id=167643
2162 Reviewed by Žan Doberšek.
2164 * Source/cmake/OptionsCommon.cmake: Pass -Wno-expansion-to-defined to
2165 GCC, the flag is supported all the way back to version 4.9, which is
2166 the oldest we support
2168 2017-05-26 Don Olmstead <don.olmstead@am.sony.com>
2170 [CMake] Wrap CODE_GENERATOR_PREPROCESSOR_EXECUTABLE on Windows hosts
2171 https://bugs.webkit.org/show_bug.cgi?id=172553
2173 Reviewed by Brent Fulgham.
2175 * Source/cmake/OptionsCommon.cmake:
2177 2017-05-26 Adrian Perez de Castro <aperez@igalia.com>
2179 [CMake] Pass -fdiagnostics-color=always to GCC when building with Ninja
2180 https://bugs.webkit.org/show_bug.cgi?id=172638
2182 Reviewed by Yusuke Suzuki.
2184 The oldest version of GCC supported for building WebKit is 4.9, which already accepts
2185 -fdiagnostics-color=, therefore it is not needed to check the compiler version.
2187 * Source/cmake/OptionsCommon.cmake:
2189 2017-05-25 Don Olmstead <don.olmstead@am.sony.com>
2191 [CMake][Win] Use WTF_CPU not MSCV_CXX_ARCHITECTURE_ID when determining lib directories
2192 https://bugs.webkit.org/show_bug.cgi?id=172570
2194 Reviewed by Per Arne Vollan.
2196 * Source/cmake/OptionsWin.cmake:
2198 2017-05-24 Don Olmstead <don.olmstead@am.sony.com>
2200 [CMake] Consolidate CMake code related to Cairo
2201 https://bugs.webkit.org/show_bug.cgi?id=172568
2203 Reviewed by Alex Christensen.
2205 * Source/cmake/OptionsGTK.cmake:
2206 * Source/cmake/OptionsWPE.cmake:
2207 * Source/cmake/OptionsWinCairo.cmake:
2209 2017-05-23 Myles C. Maxfield <mmaxfield@apple.com>
2211 Remove dead ENABLE(FONT_LOAD_EVENTS) code
2212 https://bugs.webkit.org/show_bug.cgi?id=172517
2214 Rubber-stamped by Simon Fraser.
2216 * Source/cmake/OptionsMac.cmake:
2217 * Source/cmake/WebKitFeatures.cmake:
2219 2017-05-22 Gwang Yoon Hwang <yoon@igalia.com>
2221 [CMake] Do not use a --no-keep-memory linker flag in 64bit system
2222 https://bugs.webkit.org/show_bug.cgi?id=172429
2224 Reviewed by Michael Catanzaro.
2226 * Source/cmake/OptionsCommon.cmake:
2227 In x86_64, cmake accidentally applies --no-keep-memory since MATCHES
2228 uses the given value as a regex. It reduces linking performance
2229 due to the frequent disk operations in x86_64.
2231 2017-05-22 Carlos Garcia Campos <cgarcia@igalia.com>
2233 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.3 release.
2235 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2237 2017-05-22 Don Olmstead <don.olmstead@am.sony.com>
2239 [Win][CMake] Move MSVC compiler options to a common location
2240 https://bugs.webkit.org/show_bug.cgi?id=172230
2242 Reviewed by Yusuke Suzuki.
2244 * Source/cmake/OptionsMSVC.cmake: Added.
2245 * Source/cmake/OptionsWin.cmake:
2247 2017-05-19 Don Olmstead <don.olmstead@am.sony.com>
2249 [CMake] Add HAVE check for __int128_t
2250 https://bugs.webkit.org/show_bug.cgi?id=172317
2252 Reviewed by Yusuke Suzuki.
2254 * Source/cmake/OptionsCommon.cmake:
2256 2017-05-16 Zan Dobersek <zdobersek@igalia.com>
2258 [WPE] Set and expose ENABLE_DEVELOPER_MODE in build when DEVELOPER_MODE is enabled
2259 https://bugs.webkit.org/show_bug.cgi?id=172159
2261 Reviewed by Carlos Garcia Campos.
2263 * Source/cmake/OptionsWPE.cmake: Expose the ENABLE_DEVELOPER_MODE macro
2264 when the DEVELOPER_MODE configuration options is enabled.
2266 2017-05-11 Don Olmstead <don.olmstead@am.sony.com>
2268 [CMake] Add HAVE check for regex.h
2269 https://bugs.webkit.org/show_bug.cgi?id=171950
2271 Reviewed by Michael Catanzaro.
2273 * Source/cmake/OptionsCommon.cmake:
2275 2017-05-11 Joseph Pecoraro <pecoraro@apple.com>
2277 Remove Vibration API
2278 https://bugs.webkit.org/show_bug.cgi?id=171766
2280 Rubber-stamped by Alexey Proskuryakov.
2282 * Source/cmake/WebKitFeatures.cmake:
2284 2017-05-11 Carlos Garcia Campos <cgarcia@igalia.com>
2286 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.2 release.
2288 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2290 2017-05-10 Don Olmstead <don.olmstead@am.sony.com>
2292 [Win] Specify source file type when preprocessing IDL files
2293 https://bugs.webkit.org/show_bug.cgi?id=171864
2295 Reviewed by Alex Christensen.
2297 * Source/cmake/OptionsCommon.cmake:
2299 2017-05-10 Adrian Perez de Castro <aperez@igalia.com>
2301 Remove some last remnants of the EFL port
2302 https://bugs.webkit.org/show_bug.cgi?id=171922
2304 Reviewed by Antonio Gomes.
2306 The EFL port is no more.
2308 * Source/PlatformEfl.cmake: Removed.
2310 2017-05-10 Zan Dobersek <zdobersek@igalia.com>
2312 Enable FTL JIT by default on AArch64
2313 https://bugs.webkit.org/show_bug.cgi?id=144039
2315 Reviewed by Yusuke Suzuki.
2317 * Source/cmake/OptionsWPE.cmake:
2318 * Source/cmake/WebKitFeatures.cmake: Set FTL as enabled by default
2319 when targeting either WTF_CPU_X86_64 or WTF_CPU_ARM64.
2321 2017-05-09 Zan Dobersek <zdobersek@igalia.com>
2323 Upstream the WPE port
2324 https://bugs.webkit.org/show_bug.cgi?id=171110
2326 Reviewed by Alex Christensen.
2329 https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html
2331 * CMakeLists.txt: Add the WPE port identifier.
2332 * Source/cmake/FindLibGBM.cmake: Added.
2333 * Source/cmake/FindWPEBackend-mesa.cmake: Added.
2334 * Source/cmake/FindWPEBackend.cmake: Added.
2335 * Source/cmake/OptionsWPE.cmake: Added.
2337 2017-05-04 Commit Queue <commit-queue@webkit.org>
2339 Unreviewed, rolling out r216206.
2340 https://bugs.webkit.org/show_bug.cgi?id=171714
2342 Multiple LayoutTests crashing in Document::page() (Requested
2347 "Remove support for legacy Notifications"
2348 https://bugs.webkit.org/show_bug.cgi?id=171487
2349 http://trac.webkit.org/changeset/216206
2351 2017-05-04 Don Olmstead <don.olmstead@am.sony.com>
2353 [Win] Remove redundant macros that are set in the CMake config
2354 https://bugs.webkit.org/show_bug.cgi?id=171571
2356 Reviewed by Brent Fulgham.
2358 * Source/cmake/OptionsWin.cmake:
2360 2017-05-03 Carlos Garcia Campos <cgarcia@igalia.com>
2362 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.1 release.
2364 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2366 2017-05-01 Aakash Jain <aakash_jain@apple.com>
2368 fix check-webkit-style errors in webkitpy about two blank lines before class definitions
2369 https://bugs.webkit.org/show_bug.cgi?id=171509
2371 Reviewed by Alexey Proskuryakov.
2373 * Scripts/webkitpy/common/config/committers.py: Added two blank lines before class definition.
2374 * Scripts/webkitpy/layout_tests/models/test_run_results.py: Ditto.
2375 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Ditto.
2376 * Scripts/webkitpy/port/base_unittest.py: Ditto.
2377 * Scripts/webkitpy/port/device.py: Ditto.
2378 * Scripts/webkitpy/port/linux_get_crash_log.py: Ditto.
2379 * Scripts/webkitpy/style/checkers/featuredefines.py: Ditto.
2380 * Scripts/webkitpy/style/checkers/jsonchecker.py: Ditto.
2381 * Scripts/webkitpy/tool/bot/patchanalysistask.py: Ditto.
2382 * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Ditto.
2383 (ManagerTest.test_uses_custom_device.MockCustomDevicePort): Added blank line before method.
2384 (ManagerTest.test_uses_custom_device): Removed extra blank line at end of file.
2386 2017-04-25 Daniel Bates <dabates@apple.com>
2388 [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
2389 https://bugs.webkit.org/show_bug.cgi?id=136452
2390 <rdar://problem/23412620>
2392 Reviewed by Brent Fulgham.
2394 Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms.
2396 * Source/cmake/OptionsMac.cmake:
2397 * Source/cmake/OptionsWin.cmake:
2399 2017-04-24 Zan Dobersek <zdobersek@igalia.com>
2401 Unreviewed follow-up to r215681.
2403 * Source/cmake/OptionsGTK.cmake: Don't re-define the ENABLE_SUBTLE_CRYPTO
2404 macro, that's already done by the option macro.
2406 2017-04-24 Carlos Garcia Campos <cgarcia@igalia.com>
2408 [GTK] Switch to use ENABLE_REMOTE_INSPECTOR instead of ENABLE_INSPECTOR_SERVER for the remote inspector
2409 https://bugs.webkit.org/show_bug.cgi?id=166680
2411 Reviewed by Michael Catanzaro.
2413 Add private option for ENABLE_REMOTE_INSPECTOR and enabled it by default.
2415 * Source/cmake/OptionsGTK.cmake:
2417 2017-04-24 Zan Dobersek <zdobersek@igalia.com>
2419 [GTK] Make the ENABLE_SUBTLE_CRYPTO option depend on libgcrypt 1.7.0
2420 https://bugs.webkit.org/show_bug.cgi?id=171112
2422 Reviewed by Michael Catanzaro.
2424 * Source/cmake/OptionsGTK.cmake: When ENABLE_SUBTLE_CRYPTO feature is enabled,
2425 the detected libgcrypt library version should be at least 1.7.0 since we'll be
2426 relying on API that was introduced in that version.
2428 2017-04-21 Konstantin Tokarev <annulen@yandex.ru>
2430 [cmake] WTF target should not have wtf and subdirectries in public interface
2431 https://bugs.webkit.org/show_bug.cgi?id=171115
2433 Reviewed by Michael Catanzaro.
2435 In r209665 WEBCORE_FRAMEWORK macro started to export INCLUDE_DIRECTORIES of
2436 targets as their public interface, so that linked targets can use them
2437 implicitly without copying directory lists around. This matches existing
2438 practice for all targets except WTF, headers from which are always included
2439 with full path starting from "<wtf/...".
2441 Since r209665 it became possible to include headers from wtf or its
2442 subdirectories in CMake builds without using "<wtf/..." path. It should
2445 * Source/cmake/WebKitMacros.cmake: Support xxx_PRIVATE_HEADERS
2448 2017-04-20 Konstantin Tokarev <annulen@yandex.ru>
2450 [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
2451 https://bugs.webkit.org/show_bug.cgi?id=171071
2453 Reviewed by Michael Catanzaro.
2455 "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
2456 build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
2457 be available for all ports.
2459 * Source/cmake/OptionsGTK.cmake:
2460 * Source/cmake/WebKitFS.cmake:
2461 * Source/cmake/WebKitMacros.cmake:
2463 2017-04-17 Yusuke Suzuki <utatane.tea@gmail.com>
2465 [JSCOnly] Fix build failures in macOS
2466 https://bugs.webkit.org/show_bug.cgi?id=170887
2468 Reviewed by Alex Christensen.
2470 Align ICU header configuration to MacCMake port.
2472 * Source/cmake/OptionsJSCOnly.cmake:
2474 2017-04-16 Sam Weinig <sam@webkit.org>
2476 [WebIDL] Switch IDLAttributes.txt over to a more structured format so that more information can be added for each attribute
2477 https://bugs.webkit.org/show_bug.cgi?id=170843
2479 Reviewed by Chris Dumez.
2481 * Source/cmake/WebKitMacros.cmake:
2482 Update extension of IDLAttributes to .json
2484 2017-04-13 Don Olmstead <don.olmstead@am.sony.com>
2486 [WinCairo] Assign WEBKIT_LIBRARIES_DIR to CMAKE_PREFIX_PATH
2487 https://bugs.webkit.org/show_bug.cgi?id=170797
2489 Reviewed by Alex Christensen.
2491 * Source/cmake/FindCairo.cmake:
2492 * Source/cmake/OptionsWin.cmake:
2494 2017-04-11 Zan Dobersek <zdobersek@igalia.com>
2496 [CMake] OpenWebRTC libraries path isn't properly deduced
2497 https://bugs.webkit.org/show_bug.cgi?id=170670
2499 Reviewed by Carlos Garcia Campos.
2501 When using OpenWebRTC installation that's outside of the usual Jhbuild
2502 installation directories, the library paths are ignored because the
2503 dependency libraries are simply gathered from the pkg-config file.
2505 Instead, the pkg-config data should be used to search for the correct
2506 paths to the header and library locations. Both libopenwebrtc and
2507 libopenwebrtc_gst libraries are needed, so the two library paths are
2508 concatenated into the OPENWEBRTC_LIBRARIES variable.
2510 * Source/cmake/FindOpenWebRTC.cmake:
2512 2017-04-08 Ting-Wei Lan <lantw44@gmail.com>
2514 Elftoolchain ar doesn't support response files
2515 https://bugs.webkit.org/show_bug.cgi?id=170105
2517 Reviewed by Michael Catanzaro.
2519 WebKit enables the use of response files when cmake and ninja is used.
2520 However, the default implementation of ar command used in FreeBSD, which
2521 is part of elftoolchain project, doesn't support reading arguments from
2522 response files. To avoid causing undefined reference error on FreeBSD,
2523 we disable the use of response files when elftoolchain ar is detected.
2525 * Source/cmake/OptionsCommon.cmake:
2527 2017-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
2529 Unreviewed, rolling out r215150.
2535 "[CMake] Don't force-enable response files when using Ninja
2537 https://bugs.webkit.org/show_bug.cgi?id=170105
2538 http://trac.webkit.org/changeset/215150
2540 2017-04-08 Ting-Wei Lan <lantw44@gmail.com>
2542 [CMake] Don't force-enable response files when using Ninja generator
2543 https://bugs.webkit.org/show_bug.cgi?id=170105
2545 Reviewed by Michael Catanzaro.
2547 Not all platforms support response files, and unconditionally enabling
2548 response files is known to cause build failure for some platforms.
2549 Since WebKit builds fine on many platforms without force-enabling
2550 response files and bug 129771 didn't mention which platform required
2551 it, we remove it instead of adding more platform checks.
2553 * Source/cmake/OptionsCommon.cmake:
2555 2017-04-07 Michael Catanzaro <mcatanzaro@igalia.com>
2557 [GTK] Various build errors when plugin support is disabled
2558 https://bugs.webkit.org/show_bug.cgi?id=170015
2560 Reviewed by Carlos Garcia Campos.
2562 Allow building with ENABLE_NETSCAPE_PLUGIN_API=ON and ENABLE_X11_TARGET=OFF. This should be
2563 possible as Carlos worked to ensure windowless plugins work properly outside X11. The GTK2
2564 plugin process still depends on ENABLE_X11_TARGET because a plugin that uses GTK+ surely
2565 wants to display a window, and is not going to work outside X11. (If the plugin links to
2566 GTK+ but does not display a window, it's dumb and deserves to be broken.)
2568 Also, make ENABLE_PLUGIN_PROCESS conditional on ENABLE_NETSCAPE_PLUGIN_API, not
2571 * Source/cmake/OptionsGTK.cmake:
2573 2017-04-07 Fujii Hironori <Hironori.Fujii@sony.com>
2575 [CMake][Windows] WebKitGUID.lib should be built with the release CRT
2576 https://bugs.webkit.org/show_bug.cgi?id=170593
2578 Reviewed by Brent Fulgham.
2580 Source/cmake/OptionsWin.cmake has a trick to force using the
2581 release CRT even for debug build configuration. But, this works
2582 only for C++, but for C. As the result, WebKitGUID.lib is built
2583 with the debug CRT in debug build configuration because it has C
2586 * Source/cmake/OptionsWin.cmake: Process CMAKE_C_FLAGS_* as well as CMAKE_CXX_FLAGS_*.
2588 2017-04-06 Nael Ouedraogo <nael.ouedraogo@crf.canon.fr>
2590 [GTK] Build fails when using icecream, ccache and cmake 3.6
2591 https://bugs.webkit.org/show_bug.cgi?id=170498
2593 Reviewed by Michael Catanzaro.
2595 Disable ninja response file when using icecream, ccache and cmake > 3.5.
2597 * Source/cmake/OptionsCommon.cmake:
2599 2017-04-04 Ross Kirsling <ross.kirsling@sony.com>
2601 [CMake] Enforce Python 2
2602 https://bugs.webkit.org/show_bug.cgi?id=170439
2604 Reviewed by Brent Fulgham.
2606 * Source/cmake/WebKitCommon.cmake: Fail build immediately if Python 3 is detected.
2608 2017-03-24 Carlos Garcia Campos <cgarcia@igalia.com>
2610 [GTK] Add MIMETypeRegistry implementation using xdgmime and remove the GTK+ one
2611 https://bugs.webkit.org/show_bug.cgi?id=170001
2613 Reviewed by Michael Catanzaro.
2615 * Source/CMakeLists.txt: Compile xdgmime if USE_XDGMIME is ON.
2616 * Source/cmake/OptionsGTK.cmake: Set USE_XDGMIME to ON.
2618 2017-03-10 Per Arne Vollan <pvollan@apple.com>
2620 Unreviewed Win64 build fix. FTL is not ready to be turned on yet.
2622 * Source/cmake/OptionsWin.cmake:
2624 2017-03-10 Alex Christensen <achristensen@webkit.org>
2628 * Source/cmake/OptionsWin.cmake:
2629 WASM got turned on on Win64. Judging by the state of WasmMemory.cpp, I'm going to
2630 assume this was a mistake and turn it off until someone writes a version that uses
2631 VirtualAlloc/VirtualFree instead of mmap.
2632 The FTL seems a bit unstable, though. This fixes the build, but more fixes are necessary.
2634 2017-03-06 Yusuke Suzuki <utatane.tea@gmail.com>
2636 Unreviewed, fix AppleWin build
2637 https://bugs.webkit.org/show_bug.cgi?id=164032
2639 * Source/cmake/WebKitFeatures.cmake:
2641 2017-03-06 Yusuke Suzuki <utatane.tea@gmail.com>
2643 [GTK][JSCOnly] Enable WebAssembly on Linux environment
2644 https://bugs.webkit.org/show_bug.cgi?id=164032
2646 Reviewed by Michael Catanzaro.
2648 * Source/cmake/OptionsGTK.cmake:
2649 * Source/cmake/OptionsJSCOnly.cmake:
2650 * Source/cmake/OptionsMac.cmake:
2651 * Source/cmake/WebKitFeatures.cmake:
2653 2017-03-04 Michael Catanzaro <mcatanzaro@igalia.com>
2655 Unreviewed, remove stray period from readme
2659 2017-03-03 Dean Jackson <dino@apple.com>
2661 Add WebGPU compile flag and experimental feature flag
2662 https://bugs.webkit.org/show_bug.cgi?id=169161
2663 <rdar://problem/30846689>
2665 Reviewed by Tim Horton.
2667 Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature,
2668 and an InternalSetting.
2670 * Source/cmake/OptionsMac.cmake:
2671 * Source/cmake/WebKitFeatures.cmake:
2672 * Source/cmake/tools/vsprops/FeatureDefines.props:
2673 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2675 2017-03-01 Andy Estes <aestes@apple.com>
2677 Build libwebrtc as part of the All Source scheme in WebKit.xcworkspace.
2679 Rubber-stamped by Tim Horton.
2681 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2683 2017-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
2685 Unreviewed. Bump GTK+ versions numbers.
2687 * Source/cmake/OptionsGTK.cmake:
2689 2017-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
2691 Unreviewed, rolling out r213024.
2693 Wrong version numbers
2697 "[GTK] Unreviewed, bump GTK version numbers also on trunk"
2698 http://trac.webkit.org/changeset/213024
2700 2017-02-26 Michael Catanzaro <mcatanzaro@igalia.com>
2702 [GTK] Unreviewed, bump GTK version numbers also on trunk
2704 * Source/cmake/OptionsGTK.cmake:
2706 2017-02-23 Tomas Popela <tpopela@redhat.com>
2708 [GTK] Compilation fails if using ninja together with icecream and cmake > 3.5
2709 https://bugs.webkit.org/show_bug.cgi?id=168770
2711 Reviewed by Carlos Garcia Campos.
2713 If using cmake >= 3.6 together with ninja generator and icecream, the
2714 build will fail as icecream does not correctly handle the response
2715 files and it's not passing compiler flags from there to the compiler
2716 itself (in our case it's not passing -fPIC which leads to the
2717 failure while linking). Don't enable the ninja's response files
2718 support if we fulfill the preconditions.
2720 * Source/cmake/OptionsCommon.cmake:
2722 2017-02-22 Ryosuke Niwa <rniwa@webkit.org>
2724 Add GTK+ build instruction to ReadMe.md
2725 https://bugs.webkit.org/show_bug.cgi?id=168745
2727 Reviewed by Michael Catanzaro.
2729 Add instructions to build GTK+ port.
2731 Removed the instruction to set the default configuration since that didn't seem important.
2735 2017-02-22 Alberto Garcia <berto@igalia.com>
2737 [GTK] [2.15.90] Disable RESOURCE_USAGE on non-Linux systems
2738 https://bugs.webkit.org/show_bug.cgi?id=168714
2740 Reviewed by Carlos Garcia Campos.
2742 * Source/cmake/OptionsGTK.cmake:
2744 2017-02-21 Ryosuke Niwa <rniwa@webkit.org>
2746 Remove the extra `'s errornously added during the final editing.
2750 2017-02-21 Ryosuke Niwa <rniwa@webkit.org>
2752 Add ReadMe.md to WebKit
2753 https://bugs.webkit.org/show_bug.cgi?id=168413
2755 Reviewed by Chris Dumez.
2757 Add a ReadMe.md to be read on https://github.com/WebKit/webkit based on webkit.org content.
2761 2017-02-20 Carlos Garcia Campos <cgarcia@igalia.com>
2763 Remove ENABLE_THREADED_COMPOSITOR build option
2764 https://bugs.webkit.org/show_bug.cgi?id=168606
2766 Reviewed by Michael Catanzaro.
2768 * Source/cmake/OptionsGTK.cmake:
2769 * Source/cmake/WebKitFeatures.cmake:
2771 2017-02-20 Manuel Rego Casasnovas <rego@igalia.com>
2773 [css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT
2774 https://bugs.webkit.org/show_bug.cgi?id=167693
2776 Reviewed by Sergio Villar Senin.
2778 CSS Grid Layout has been enabled by default in r211415,
2779 and Safari 10.1 is shipping it.
2780 It seems like a good moment to remove the compilation flag.
2782 * Source/cmake/OptionsMac.cmake:
2783 * Source/cmake/OptionsWin.cmake:
2784 * Source/cmake/WebKitFeatures.cmake:
2785 * Source/cmake/tools/vsprops/FeatureDefines.props:
2786 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2788 2017-02-17 Michael Catanzaro <mcatanzaro@igalia.com>
2790 Remove EFL from Source/cmake
2791 https://bugs.webkit.org/show_bug.cgi?id=168512
2793 Reviewed by Carlos Garcia Campos.
2795 * Source/cmake/OptionsEfl.cmake: Removed.
2796 * Source/cmake/WebKitPackaging.cmake:
2797 * Source/cmake/eflsymbols.filter: Removed.
2799 2017-02-16 Konstantin Tokarev <annulen@yandex.ru>
2801 [cmake] Use env command to set PYTHONPATH if cmake is new enough
2802 https://bugs.webkit.org/show_bug.cgi?id=156833
2804 Reviewed by Alex Christensen.
2806 This change fixes 2 issues when CMake >= 3.1 is used:
2807 - When PYTHONPATH contains special characters, CMake adds quotes around
2808 "PYTHONPATH=..." and produces broken build command in non-WIN32 case.
2809 - On WIN32, unix-like shell can be used instead of cmd.exe, but this case
2810 cannot be easily detected in cmake.
2812 * Source/cmake/WebKitMacros.cmake:
2814 2017-02-15 Carlos Garcia Campos <cgarcia@igalia.com>
2816 Unreviewed. Add ENABLE_INTERSECTION_OBSERVER option to CMake.
2818 It's now a runtime enabled feature so we should always build it.
2820 Fixes: intersection-observer/intersection-observer-entry-interface.html
2821 intersection-observer/intersection-observer-interface.html
2823 * Source/cmake/WebKitFeatures.cmake:
2825 2017-02-10 Brian Burg <bburg@apple.com>
2827 Add basic debugging macros for CMake
2828 https://bugs.webkit.org/show_bug.cgi?id=161538
2830 Reviewed by Michael Catanzaro.
2832 It's useful to be able to dump the state of everything when debugging
2833 CMake build problems, especially when they happen on EWS (but not locally).
2835 Start with macros for:
2836 - dumping out all CMake variables
2837 - dumping all executed commands (by turning off pretty-printing)
2839 * Source/cmake/WebKitMacros.cmake:
2841 2017-02-09 Alex Christensen <achristensen@webkit.org>
2843 Build libwebrtc on bots without using it yet
2844 https://bugs.webkit.org/show_bug.cgi?id=168062
2846 Reviewed by Brent Fulgham.
2850 2017-02-07 Olivier Blin <olivier.blin@softathome.com>
2852 [GTK][Efl] Do not require LibXslt if XSLT is disabled
2853 https://bugs.webkit.org/show_bug.cgi?id=167931
2855 This fixes build with --no-xslt, when the libxslt dev files are not installed.
2857 Reviewed by Michael Catanzaro.
2859 * Source/cmake/OptionsEfl.cmake:
2860 * Source/cmake/OptionsGTK.cmake:
2862 2017-02-03 Konstantin Tokarev <annulen@yandex.ru>
2864 [CMake] RelWithDebInfo builds are super broken at runtime
2865 https://bugs.webkit.org/show_bug.cgi?id=163897
2867 Reviewed by Michael Catanzaro.
2869 * Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing,
2870 -fno-exceptions, and -fno-rtti flags to all configurations,
2871 instead of only "Release".
2873 2017-02-03 Carlos Garcia Campos <cgarcia@igalia.com>
2875 [GTK] Add initial implementation of resource usage overlay
2876 https://bugs.webkit.org/show_bug.cgi?id=167731
2878 Reviewed by Michael Catanzaro.
2880 Enable RESOURCE_USAGE.
2882 * Source/cmake/OptionsGTK.cmake:
2884 2017-02-02 Alex Christensen <achristensen@webkit.org>
2886 Build fix after r211602
2887 https://bugs.webkit.org/show_bug.cgi?id=167758
2890 Don't build libwebrtc by default. It's not used yet anyway.
2892 2017-02-02 David Kilzer <ddkilzer@apple.com>
2894 Make the Makefile great again after r211570, r211572
2896 * Makefile: Restore tabs and ending newline.
2898 2017-02-02 Jonathan Bedard <jbedard@apple.com>
2900 Unreviewed build fix after r211570
2902 * Makefile: Placed back.
2904 2017-02-01 Yusuke Suzuki <utatane.tea@gmail.com>
2906 Propagate networking errors correctly for import() operator
2907 https://bugs.webkit.org/show_bug.cgi?id=167501
2909 Reviewed by Ryosuke Niwa.
2911 * Source/ModuleFetchFailureKind.h: Added.
2913 2017-01-31 Carlos Garcia Campos <cgarcia@igalia.com>
2915 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.4 release.
2917 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2919 2017-01-24 Joseph Pecoraro <pecoraro@apple.com>
2921 Fold USER_TIMING into WEB_TIMING and make it a RuntimeEnabledFeature
2922 https://bugs.webkit.org/show_bug.cgi?id=167394
2924 Reviewed by Ryosuke Niwa.
2926 * Source/cmake/OptionsEfl.cmake:
2927 * Source/cmake/OptionsWin.cmake:
2928 * Source/cmake/WebKitFeatures.cmake:
2929 * Source/cmake/tools/vsprops/FeatureDefines.props:
2930 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2932 2017-01-22 Don Olmstead <don.olmstead@am.sony.com> and Myles C. Maxfield <mmaxfield@apple.com>
2934 Introducing the Platform Abstraction Layer (PAL)
2935 https://bugs.webkit.org/show_bug.cgi?id=143358
2937 Reviewed by Alex Christensen.
2940 * Source/CMakeLists.txt:
2941 * Source/cmake/WebKitFS.cmake:
2943 2017-01-20 Joseph Pecoraro <pecoraro@apple.com>
2945 Remove outdated ENABLE(CSP_NEXT) build flag
2946 https://bugs.webkit.org/show_bug.cgi?id=167252
2948 Reviewed by Brent Fulgham.
2950 * Source/cmake/OptionsMac.cmake:
2951 * Source/cmake/OptionsWin.cmake:
2952 * Source/cmake/WebKitFeatures.cmake:
2953 * Source/cmake/tools/vsprops/FeatureDefines.props:
2954 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2956 2017-01-20 Youenn Fablet <youenn@apple.com>
2958 [WebRTC] Add libwebrtc build infrastructure
2959 https://bugs.webkit.org/show_bug.cgi?id=167207
2961 Reviewed by Alex Christensen.
2963 * WebKit.xcworkspace/contents.xcworkspacedata:
2965 2017-01-20 Carlos Garcia Campos <cgarcia@igalia.com>
2967 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.3 release.
2969 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2971 2017-01-17 Joseph Pecoraro <pecoraro@apple.com>
2973 ENABLE(USER_TIMING) Not Defined for Apple Windows or OS X Ports
2974 https://bugs.webkit.org/show_bug.cgi?id=116551
2975 <rdar://problem/13949830>
2977 Reviewed by Alex Christensen.
2979 * Source/cmake/OptionsEfl.cmake:
2980 * Source/cmake/OptionsWin.cmake:
2981 * Source/cmake/WebKitFeatures.cmake:
2982 * Source/cmake/tools/vsprops/FeatureDefines.props:
2983 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2985 2017-01-16 Joseph Pecoraro <pecoraro@apple.com>
2987 Remove the REQUEST_ANIMATION_FRAME flag
2988 https://bugs.webkit.org/show_bug.cgi?id=156980
2989 <rdar://problem/25906849>
2991 Reviewed by Simon Fraser.
2993 * Source/cmake/OptionsEfl.cmake:
2994 * Source/cmake/OptionsWin.cmake:
2995 * Source/cmake/WebKitFeatures.cmake:
2996 * Source/cmake/tools/vsprops/FeatureDefines.props:
2997 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2999 2017-01-14 Joseph Pecoraro <pecoraro@apple.com>
3001 Remove stale references to ENABLE_ES6_GENERATORS and ENABLE_PROMISES
3002 https://bugs.webkit.org/show_bug.cgi?id=167043
3004 Reviewed by Darin Adler.
3006 * Source/cmake/tools/vsprops/FeatureDefines.props:
3007 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3009 2017-01-13 Joseph Pecoraro <pecoraro@apple.com>
3011 Remove ENABLE(DETAILS_ELEMENT) guards
3012 https://bugs.webkit.org/show_bug.cgi?id=167042
3014 Reviewed by Alex Christensen.
3016 * Source/cmake/OptionsMac.cmake:
3017 * Source/cmake/OptionsWin.cmake:
3018 * Source/cmake/WebKitFeatures.cmake:
3019 * Source/cmake/tools/vsprops/FeatureDefines.props:
3020 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3022 2017-01-13 Michael Catanzaro <mcatanzaro@igalia.com>
3024 [CMake] Clean up SHARED_CORE option
3025 https://bugs.webkit.org/show_bug.cgi?id=167004
3027 Reviewed by Alex Christensen.
3031 2016-12-21 Konstantin Tokarev <annulen@yandex.ru>
3033 set PYTHONPATH in separate COMMAND doesn't work with all CMake generators
3034 https://bugs.webkit.org/show_bug.cgi?id=164997
3036 Reviewed by Alex Christensen.
3040 * Source/cmake/WebKitMacros.cmake:
3042 2016-12-17 Joonghun Park <jh718.park@samsung.com>
3044 [EFL] bump EFL version to 1.18.4
3045 https://bugs.webkit.org/show_bug.cgi?id=166004
3047 Reviewed by Gyuyoung Kim.
3049 * Source/cmake/OptionsEfl.cmake: Use efl-1.18.4 instead of 1.18.1.
3051 2016-12-15 Alex Christensen <achristensen@webkit.org>
3053 Remove flex and bison build dependencies; commit generated XPath parser
3054 https://bugs.webkit.org/show_bug.cgi?id=165783
3056 Reviewed by Brent Fulgham.
3058 * Source/cmake/WebKitCommon.cmake:
3059 * Source/cmake/WebKitMacros.cmake:
3061 2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
3063 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
3064 https://bugs.webkit.org/show_bug.cgi?id=165686
3066 Reviewed by Michael Catanzaro.
3068 This change reduces duplication of include path lists between modules,
3069 and reduces future need for fixes like r209605 (broken build because of
3070 WebCore header suddenly becoming used in WebKit2).
3072 * Source/cmake/WebKitMacros.cmake:
3074 2016-11-30 Brent Fulgham <bfulgham@apple.com>
3076 [Win] Apple build is using incorrect ICU library (if present)
3077 https://bugs.webkit.org/show_bug.cgi?id=164934
3078 <rdar://problem/29329654>
3080 Reviewed by Alex Christensen.
3082 Move the 'icuuc.lib' and 'icuin.lib' library names to the end of the set of choices when searching for ICU.
3083 so that we preferentially select the 'new' version of these libraries if they are available.
3085 * Source/cmake/FindICU.cmake:
3087 2016-11-23 Zan Dobersek <zdobersek@igalia.com>
3089 Remove ENABLE_ASSEMBLER_WX_EXCLUSIVE code
3090 https://bugs.webkit.org/show_bug.cgi?id=165027
3092 Reviewed by Darin Adler.
3094 * Source/cmake/WebKitFeatures.cmake: Remove the ENABLE_ASSEMBLER_WX_EXCLUSIVE option.
3096 2016-11-21 Carlos Garcia Campos <cgarcia@igalia.com>
3098 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.2 release.
3100 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3102 2016-11-17 Saam Barati <sbarati@apple.com>
3104 Remove async/await compile time flag and enable tests
3105 https://bugs.webkit.org/show_bug.cgi?id=164828
3106 <rdar://problem/28639334>
3108 Reviewed by Yusuke Suzuki.
3110 * Source/cmake/WebKitFeatures.cmake:
3112 2016-11-16 Yusuke Suzuki <utatane.tea@gmail.com>
3114 [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
3115 https://bugs.webkit.org/show_bug.cgi?id=164827
3117 Reviewed by Ryosuke Niwa.
3119 * Source/cmake/OptionsWin.cmake:
3120 * Source/cmake/WebKitFeatures.cmake:
3121 * Source/cmake/tools/vsprops/FeatureDefines.props:
3122 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3124 2016-11-12 Michael Catanzaro <mcatanzaro@igalia.com>
3126 Unreviewed, rolling out r207872.
3127 https://bugs.webkit.org/show_bug.cgi?id=162623
3129 Did not disable anything, just made them public
3133 "[GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default"
3134 https://bugs.webkit.org/show_bug.cgi?id=162623
3135 http://trac.webkit.org/changeset/207872
3137 2016-11-09 Gyuyoung Kim <gyuyoung.kim@webkit.org>
3139 [EFL] Use libgcrypt instead of GnuTLS for CryptoDigest
3140 https://bugs.webkit.org/show_bug.cgi?id=164461
3142 Reviewed by Michael Catanzaro.
3144 * Source/cmake/OptionsEfl.cmake: Find LibGcrypt package instead of GnuTLS.
3146 2016-11-05 Konstantin Tokarev <annulen@yandex.ru>
3148 [MinGW] Fixed C99/C++11 format attributes in printf-like functions
3149 https://bugs.webkit.org/show_bug.cgi?id=164448
3151 Reviewed by Michael Catanzaro.
3153 By default MinGW uses printf-like function provided in msvcrt.dll,
3154 however they miss support for C99/C++11 format attributes. Use MinGW
3155 implementations instead.
3157 * Source/cmake/OptionsCommon.cmake: Define __USE_MINGW_ANSI_STDIO
3159 2016-11-03 Konstantin Tokarev <annulen@yandex.ru>
3161 Fixes to build JSCOnly on macOS
3162 https://bugs.webkit.org/show_bug.cgi?id=164379
3164 Reviewed by Michael Catanzaro.
3166 * Source/cmake/OptionsJSCOnly.cmake: Define BUILDING_JSCONLY__, use
3167 system ICU libraries on macOS
3168 * Source/cmake/WebKitMacros.cmake: Fixed WEBKIT_FRAMEWORK macro for
3171 2016-11-03 Konstantin Tokarev <annulen@yandex.ru>
3173 [cmake][MinGW] Don't use MS bitfield layout to reduce sizes of data structures
3174 https://bugs.webkit.org/show_bug.cgi?id=164026
3176 Reviewed by Michael Catanzaro.
3178 With MS bitfileds RegisterAtOffset becomes wider than ptrdiff_t because of
3179 different alignment requirements, invoking static_assert. Instead of
3180 muting assert for MinGW like it's done for MSVC, it's a better choice to
3181 use more dense layout, as bitfields are not used in public APIs.
3183 Also, suppress MinGW warnings from "#pragma warning" which it doesn't
3186 * Source/cmake/OptionsCommon.cmake:
3188 2016-11-02 Alex Christensen <achristensen@webkit.org>
3190 Remove Battery Status API from the tree
3191 https://bugs.webkit.org/show_bug.cgi?id=164213
3193 Reviewed by Sam Weinig.
3195 * Source/cmake/OptionsEfl.cmake:
3196 * Source/cmake/WebKitFeatures.cmake:
3198 2016-11-02 Olivier Blin <olivier.blin@softathome.com>
3200 [GTK] Use libgcrypt instead of GnuTLS for CryptoDigest and SubtleCrypto HMAC implementation
3201 https://bugs.webkit.org/show_bug.cgi?id=163125
3203 Reviewed by Michael Catanzaro.
3205 * Source/cmake/OptionsGTK.cmake: Updated to use libgcrypt files instead of gnutls.
3206 At least version 1.6.0 is needed for the HMAC APIs.
3207 libgcrypt is now needed unconditionally for CryptoDigest, used by CSP.
3209 2016-11-02 Romain Bellessort <romain.bellessort@crf.canon.fr>
3211 [Readable Streams API] Enable creation of ReadableByteStreamController
3212 https://bugs.webkit.org/show_bug.cgi?id=164014
3214 Reviewed by Youenn Fablet.
3216 Added flag for the byte stream part of Readable Streams API.
3218 * Source/cmake/WebKitFeatures.cmake:
3220 2016-11-01 Ryosuke Niwa <rniwa@webkit.org>
3222 Remove CUSTOM_ELEMENTS build flag
3223 https://bugs.webkit.org/show_bug.cgi?id=164267
3225 Reviewed by Antti Koivisto.
3227 Removed the build flag.
3229 * Source/cmake/OptionsEfl.cmake:
3230 * Source/cmake/OptionsWin.cmake:
3231 * Source/cmake/WebKitFeatures.cmake:
3233 2016-11-01 Fujii Hironori <Hironori.Fujii@sony.com>
3235 [CMake] generate-bindings-all.pl uses USES_TERMINAL which leaves a noisy line in interactive Ninja build
3236 https://bugs.webkit.org/show_bug.cgi?id=163868
3238 Reviewed by Michael Catanzaro.
3240 It takes long time for generate-bindings-all.pl to generate all
3241 bindings. So, it shows the progress while running and
3242 USES_TERMINAL option of add_custom_target have been used to invoke
3243 the command. However, USES_TERMINAL leaves a noisy line in
3244 Ninja's neat build log of interactive build.
3246 A new CMake option SHOW_BINDINGS_GENERATION_PROGRESS is added to
3247 stop using USES_TERMINAL only in case of interactive Ninja build.
3249 * Source/cmake/WebKitMacros.cmake: Added a new option
3250 SHOW_BINDINGS_GENERATION_PROGRESS. Apended --showProgress switch
3251 of generate-bindings-all.pl and used USES_TERMINAL only if
3252 SHOW_BINDINGS_GENERATION_PROGRESS is enabled.
3254 2016-10-31 Ryosuke Niwa <rniwa@webkit.org>
3256 Enable custom elements by default everywhere
3257 https://bugs.webkit.org/show_bug.cgi?id=164242
3259 Reviewed by Michael Catanzaro.
3261 Enable the Custom Elements API in CMake builds.
3263 * Source/cmake/WebKitFeatures.cmake:
3265 2016-10-30 Frederic Wang <fwang@igalia.com>
3267 Use HarfBuzz ot-math API to parse the OpenType MATH table
3268 https://bugs.webkit.org/show_bug.cgi?id=162671
3270 Reviewed by Michael Catanzaro.
3272 * Source/cmake/OptionsGTK.cmake: Enable internal OpenType MATH parsing for HarfBuzz < 1.3.3.
3274 2016-10-30 Hyowon Kim <hw1008.kim@samsung.com>
3276 [GTK] Build break by missing geoclue-2.0.
3277 https://bugs.webkit.org/show_bug.cgi?id=164170
3279 Reviewed by Michael Catanzaro.
3281 Revise the module name for pkg_check_modules() in FindGeoClue2.cmake.
3283 * Source/cmake/FindGeoClue2.cmake: replace geoclue-2.0 with libgeoclue-2.0.
3285 2016-10-29 Fujii Hironori <Hironori.Fujii@sony.com>
3287 [CMake][Win] Visual Studio invokes make_settings.pl twice
3288 https://bugs.webkit.org/show_bug.cgi?id=163774
3290 Reviewed by Michael Catanzaro.
3292 build-webkit recompiles some files just after finishing
3293 build-webkit in case of using CMake VisualStudio generator because
3294 both WebCoreDerivedSources.vcxproj and WebCoreTestSupport.vcxproj
3295 triggers make_settings.pl.
3297 make_settings.pl generates four files
3298 InternalSettingsGenerated.{h,cpp,idl} and SettingsMacros.h.
3299 WebCoreDerivedSources depends on SettingsMacros.h, and
3300 WebCoreTestSupport depends on InternalSettingsGenerated.cpp.
3302 This problem is described in CMake documentation:
3303 <https://cmake.org/cmake/help/v3.0/command/add_custom_command.html>
3305 > Do not list the output in more than one independent target that may
3306 > build in parallel or the two instances of the rule may conflict
3308 To solve this problem, only SettingsMacros.h is specified as
3309 OUTPUT of add_custom_command, and other generated files are marked
3310 as BYPRODUCTS. As the result, only WebCoreDerivedSources target
3311 triggers make_settings.pl. And other targets already have a
3312 dependency to WebCoreDerivedSources target.
3314 To support earlier versions than CMake 3.2, it uses GENERATED
3315 source file property instead of BYPRODUCTS option.
3317 * Source/cmake/WebKitMacros.cmake(GENERATE_SETTINGS_MACROS):
3318 Removed extra output files from OUTPUT of add_custom_command and
3319 added BYPRODUCTS option.
3321 2016-10-28 Fujii Hironori <Hironori.Fujii@sony.com>
3323 [CMake] Changing enabled features should trigger recompiling all IDL
3324 https://bugs.webkit.org/show_bug.cgi?id=164121
3326 Reviewed by Michael Catanzaro.
3328 Changing enabled features should trigger recompiling all IDL
3329 because some of them use #if. generate-bindings-all.pl was
3330 introduced in <http://trac.webkit.org/changeset/207617>. Before
3331 this change, updating supplemental_dependency.tmp triggered
3332 recompiling all IDL. Changing enabled features usually involves
3333 adding or removing IDL files. As the result, all IDL would be
3334 recompiled. After the change, adding or removing IDL does not
3335 trigger recompiling all IDL. So, we need to explicitly trigger
3336 recompiling all IDL if enabled features are changed.
3338 * Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Added
3339 cmakeconfig.h to extra dependencies.
3341 2016-10-26 Carlos Garcia Campos <cgarcia@igalia.com>
3343 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.1 release.
3345 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3347 2016-10-26 Enrique Ocaña González <eocanha@igalia.com>
3349 [cmake][GStreamer][MSE][EME] Build MSE and EME code after refactoring
3350 https://bugs.webkit.org/show_bug.cgi?id=162928
3352 Reviewed by Xabier Rodriguez-Calvar.
3354 Consolidate all the source file tree changes after refactoring.
3356 This patch is co-authored with Philippe Normand <philn@igalia.com> (EME support).
3358 * Source/cmake/FindLibGcrypt.cmake: Added.
3359 * Source/cmake/OptionsGTK.cmake:
3361 2016-10-26 Enrique Ocaña González <eocanha@igalia.com>
3363 [GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default
3364 https://bugs.webkit.org/show_bug.cgi?id=162623
3366 Reviewed by Xabier Rodriguez-Calvar.
3368 * Source/cmake/OptionsGTK.cmake:
3370 2016-10-25 Konstantin Tokarev <annulen@yandex.ru>
3372 [cmake] Don't enable ld.gold by default on non-ELF platforms
3373 https://bugs.webkit.org/show_bug.cgi?id=163946
3375 Reviewed by Alex Christensen.
3377 For example, MinGW toolchain may be shipped with gold, but it fails to link
3380 * Source/cmake/OptionsCommon.cmake:
3382 2016-10-25 Konstantin Tokarev <annulen@yandex.ru>
3384 [cmake] Don't add -fPIC flag when on Windows (MinGW)
3385 https://bugs.webkit.org/show_bug.cgi?id=163949
3387 Reviewed by Michael Catanzaro.
3389 -fPIC flag does not do anything on Windows and produces warning noise
3390 with MinGW. There is no position independent code in Unix sense on
3391 32-bit Windows, and 64-bit Windows code is always relocatable.
3394 https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00836.html
3396 * Source/cmake/WebKitHelpers.cmake:
3398 2016-10-21 Csaba Osztrogonác <ossy@webkit.org>
3400 [EFL] REGRESSION(r207616): Build is broken due to missing libgeoclue-dev package
3401 https://bugs.webkit.org/show_bug.cgi?id=163733
3403 Reviewed by Gyuyoung Kim.
3405 * Source/cmake/OptionsEfl.cmake: Expose USE_GEOCLUE2 to the build properly.
3407 2016-10-21 Adam Bergkvist <adam.bergkvist@ericsson.com>
3409 WebRTC: [GTK] Add MediaEndpointOwr - an OpenWebRTC WebRTC backend
3410 https://bugs.webkit.org/show_bug.cgi?id=163327
3412 Reviewed by Philippe Normand.
3414 Add manual WebRTC test. Test features:
3415 - Two RTCPeerConnection instances communicate in a single browser tab.
3416 - Supports setting up bidirectional media with a single SDP dialog, as
3417 well as one direction at a time.
3418 - Strips vendor prefixes (runs in Chrome and Firefox as well)
3419 - Supports modern as well as legacy APIs (mainly to make the test run
3422 * ManualTests/webrtc-one-tab-p2p.html: Added.
3424 2016-10-20 Carlos Garcia Campos <cgarcia@igalia.com>
3426 [GTK] Configures but fails to link with ENABLE_OPENGL=OFF
3427 https://bugs.webkit.org/show_bug.cgi?id=163449
3429 Reviewed by Michael Catanzaro.
3431 Remove wrong dependency of Wayland on OpenGL introduced in r190615, it should be possible to build for Wayland
3434 * Source/cmake/OptionsGTK.cmake:
3436 2016-10-20 Fujii Hironori <Hironori.Fujii@sony.com>
3438 [CMake] CMake does not support the dep files for implicit dependency
3439 https://bugs.webkit.org/show_bug.cgi?id=161433
3441 Reviewed by Brent Fulgham.
3443 Created a Perl script to generate all IDL bindings for CMake.
3444 This script can regenerate outdated bindings by based on the
3445 supplemental dependency and dep files created by
3446 '--write-dependencies' switch of generate-bindings.pl.
3448 add_custom_target is used to invoke the script instead of
3449 add_custom_command because Ninja deletes all output files before
3450 executing the command in case of add_custom_command.
3452 USES_TERMINAL option of add_custom_target has two effects:
3453 1) Not buffering output of the command
3454 2) Invoking the command in the special Ninja pool which inhibits parallel build
3455 One needs to use CMake 3.2 or later to enable this feature.
3457 * Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included
3458 ProcessorCount. Added a new argument 'target'. Use
3459 add_custom_target instead of add_custom_command. Invoke the new
3462 2016-10-19 Alex Christensen <achristensen@webkit.org>
3465 https://bugs.webkit.org/show_bug.cgi?id=163675
3467 Reviewed by Brent Fulgham.
3469 * Source/cmake/OptionsAppleWin.cmake:
3471 2016-10-18 Dean Jackson <dino@apple.com>
3473 Remove CSS_SHAPES feature definition. This should always be on.
3474 https://bugs.webkit.org/show_bug.cgi?id=163628
3475 <rdar://problem/28834613>
3477 Reviewed by Tim Horton.
3479 * Source/cmake/OptionsMac.cmake:
3480 * Source/cmake/OptionsWin.cmake:
3481 * Source/cmake/WebKitFeatures.cmake:
3482 * Source/cmake/tools/vsprops/FeatureDefines.props:
3483 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3485 2016-10-14 Michael Catanzaro <mcatanzaro@igalia.com>
3487 [CMake] Private/unsupported build options should be marked as advanced
3488 https://bugs.webkit.org/show_bug.cgi?id=163451
3490 Reviewed by Carlos Garcia Campos.
3492 When checking to decide whether to mark an option as advanced, the conditional checks
3493 whether _WEBKIT_AVAILABLE_OPTIONS_IS_PUBLIC_${_name} is defined. It is always defined. We
3494 need to check its value instead.
3496 * Source/cmake/WebKitFeatures.cmake:
3498 2016-10-13 Brian Burg <bburg@apple.com>
3500 [CMake] Split the definition of CODE_GENERATOR_PREPROCESSOR so it can be used in a custom command
3501 https://bugs.webkit.org/show_bug.cgi?id=163401
3503 Reviewed by Michael Catanzaro.
3505 In another patch, we need to use CODE_GENERATOR_PREPROCESSOR as the COMMAND argument
3506 when defining an add_custom_command. Previously, it has only been used as a quoted argument
3507 to various Perl code generation scripts.
3509 To support both use cases, we need to be able to provide the executable and its arguments as
3510 an unbroken quoted string, and as a CMake list suitable for passing as an argument to COMMAND.
3512 * Source/cmake/OptionsCommon.cmake:
3513 Split out the executable and argument string into separate variables that can be used elsewhere.
3514 Compute the final unbroken quoted string using the two separate variables to arrive at the same result.
3516 * Source/cmake/WebKitMacros.cmake:
3517 Drive-by cleanup to add quotes around the use of CODE_GENERATOR_PREPROCESSOR so it matches other uses.
3519 2016-10-12 Chris Dumez <cdumez@apple.com>
3521 [Web IDL] Drop support for legacy [ConstructorConditional=*]
3522 https://bugs.webkit.org/show_bug.cgi?id=163368
3524 Reviewed by Ryosuke Niwa.
3526 Drop ENABLE_DOM4_EVENTS_CONSTRUCTOR compiler flag.
3528 * Source/cmake/OptionsEfl.cmake:
3529 * Source/cmake/OptionsMac.cmake:
3530 * Source/cmake/OptionsWin.cmake:
3531 * Source/cmake/WebKitFeatures.cmake:
3532 * Source/cmake/tools/vsprops/FeatureDefines.props:
3533 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3535 2016-10-11 Alex Christensen <achristensen@webkit.org>
3537 Remove dead networking code
3538 https://bugs.webkit.org/show_bug.cgi?id=163263
3540 Reviewed by Daniel Bates.
3542 * Source/cmake/OptionsAppleWin.cmake:
3544 2016-10-11 Konstantin Tokarev <annulen@yandex.ru>
3546 [cmake] Make INDEXED_DATABASE_IN_WORKERS depending on INDEXED_DATABASE
3547 https://bugs.webkit.org/show_bug.cgi?id=163280
3549 Reviewed by Csaba Osztrogonác.
3551 * Source/cmake/WebKitFeatures.cmake:
3553 2016-10-11 Per Arne Vollan <pvollan@apple.com>
3555 [Win][Direct2D] Compile fix.
3556 https://bugs.webkit.org/show_bug.cgi?id=163273
3558 Reviewed by Brent Fulgham.
3560 Define USE_DIRECT2D.
3562 * Source/cmake/OptionsAppleWin.cmake:
3564 2016-10-10 Zan Dobersek <zdobersek@igalia.com>
3566 Add ENABLE_ENCRYPTED_MEDIA configuration option
3567 https://bugs.webkit.org/show_bug.cgi?id=163219
3569 Reviewed by Darin Adler.
3571 Add the ENABLE_ENCRYPTED_MEDIA configuration option to the
3572 CMake and MSVC build systems. It will be used to enable or
3573 disable the new EME implementation at build-time.
3575 * Source/cmake/WebKitFeatures.cmake:
3576 * Source/cmake/tools/vsprops/FeatureDefines.props:
3577 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3579 2016-10-10 Commit Queue <commit-queue@webkit.org>
3581 Unreviewed, rolling out r206972.
3582 https://bugs.webkit.org/show_bug.cgi?id=163227
3584 Making EWS flaky (Requested by bfulgham_ on #webkit).
3588 "[CMake] CMake does not support the dep files for implicit
3590 https://bugs.webkit.org/show_bug.cgi?id=161433
3591 http://trac.webkit.org/changeset/206972
3593 2016-10-09 Fujii Hironori <Hironori.Fujii@sony.com>
3595 [CMake] CMake does not support the dep files for implicit dependency
3596 https://bugs.webkit.org/show_bug.cgi?id=161433
3598 Reviewed by Brent Fulgham.
3600 Created a Perl script to generate all IDL bindings for CMake.
3601 This script can regenerate outdated bindings by based on the
3602 supplemental dependency and dep files created by
3603 '--write-dependencies' switch of generate-bindings.pl.
3605 add_custom_target is used to invoke the script instead of
3606 add_custom_command because Ninja deletes all output files before
3607 executing the command in case of add_custom_command.
3609 USES_TERMINAL option of add_custom_target has two effects:
3610 1) Not buffering output of the command
3611 2) Invoking the command in the special Ninja pool which inhibits parallel build
3612 One needs to use CMake 3.2 or later to enable this feature.
3614 * Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included
3615 ProcessorCount. Added a new argument 'target'. Use
3616 add_custom_target instead of add_custom_command. Invoke the new
3619 2016-10-07 Fujii Hironori <Hironori.Fujii@sony.com>
3621 Use 'use lib $FindBin::Bin' to append Perl module include path
3622 https://bugs.webkit.org/show_bug.cgi?id=162256
3624 Reviewed by Carlos Garcia Campos.
3626 * Source/cmake/WebKitMacros.cmake: Removed '-I' options from
3629 2016-10-06 Brent Fulgham <bfulgham@apple.com>
3631 [Win][Direct2D] Add Direct2D CMake rules
3632 https://bugs.webkit.org/show_bug.cgi?id=162925
3634 Reviewed by Brent Fulgham.
3636 * Source/cmake/OptionsAppleWin.cmake: Add a new 'USE_DIRECT2D' option
3637 flag for the build. Currently this is commented out and is unused.
3639 2016-10-05 Zan Dobersek <zdobersek@igalia.com>
3641 Rename ENABLE_ENCRYPTED_MEDIA_V2 to ENABLE_LEGACY_ENCRYPTED_MEDIA
3642 https://bugs.webkit.org/show_bug.cgi?id=162903
3644 Reviewed by Alex Christensen.
3646 Rename build guards for the remaining implementation of the legacy EME API
3647 to ENABLE_LEGACY_ENCRYPTED_MEDIA. This will allow for the future implementation
3648 of the near-finished API to be guarded with the simple ENABLE_ENCRYPTED_MEDIA guards.
3650 * Source/cmake/OptionsEfl.cmake:
3651 * Source/cmake/OptionsMac.cmake:
3652 * Source/cmake/OptionsWin.cmake:
3653 * Source/cmake/WebKitFeatures.cmake:
3654 * Source/cmake/tools/vsprops/FeatureDefines.props:
3655 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3657 2016-10-03 Carlos Garcia Campos <cgarcia@igalia.com>
3659 [SOUP] Cleanup persistent credential storage code
3660 https://bugs.webkit.org/show_bug.cgi?id=162777
3662 Reviewed by Alex Christensen.
3664 Remove ENABLE(CREDENTIAL_STORAGE) build flag and replace it by USE(LIBSECRET).
3666 * Source/cmake/OptionsGTK.cmake:
3667 * Source/cmake/WebKitFeatures.cmake:
3669 2016-09-29 Aaron Chu <aaron_chu@apple.com>
3671 Web Inspector: AXI: linkified refs to #document and #text are not usually navigable nodes; consider delinkifying them
3672 https://bugs.webkit.org/show_bug.cgi?id=130600
3673 <rdar://problem/16391333>
3675 Reviewed by Brian Burg.
3677 Added a manual test to test the node links in the Accessibility Inspector
3678 https://bugs.webkit.org/show_bug.cgi?id=130600
3680 * ManualTests/accessibility/delinkified-non-navigable-links.html: Added.
3682 2016-09-28 Michael Catanzaro <mcatanzaro@igalia.com>
3684 [GTK] Remove obsolete comment from OptionsGTK.cmake
3685 https://bugs.webkit.org/show_bug.cgi?id=162622
3687 Reviewed by Alex Christensen.
3689 * Source/cmake/OptionsGTK.cmake:
3691 2016-09-28 Yusuke Suzuki <utatane.tea@gmail.com>
3693 Unreviewed, build fix for several CMake ports after r206440
3695 * Source/cmake/OptionsEfl.cmake:
3696 * Source/cmake/OptionsMac.cmake:
3697 * Source/cmake/WebKitFeatures.cmake:
3699 2016-09-27 Don Olmstead <don.olmstead@am.sony.com>
3701 [CMake] Add HAVE_LOCALTIME_R definition
3702 https://bugs.webkit.org/show_bug.cgi?id=162636
3704 Reviewed by Alex Christensen.
3706 * Source/cmake/OptionsCommon.cmake:
3708 2016-09-27 Don Olmstead <don.olmstead@am.sony.com>
3710 [CMake] Use CMake to determine HAVE_* defines
3711 https://bugs.webkit.org/show_bug.cgi?id=162368
3713 Reviewed by Alex Christensen.
3715 * Source/cmake/OptionsCommon.cmake:
3717 2016-09-27 Konstantin Tokarev <annulen@yandex.ru>
3719 [cmake] Simplify Clang checks and prepare for compiler ID split
3720 https://bugs.webkit.org/show_bug.cgi?id=162609
3722 Reviewed by Michael Catanzaro.
3724 CMake 3.x introduces separate compiler id for AppleClang, making condition
3725 (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") inappropriate as check for
3726 any clang version. Introduce COMPILER_IS_CLANG instead, which is also
3727 shorter that CMAKE_CXX_COMPILER_ID comparison.
3730 * Source/cmake/OptionsCommon.cmake:
3731 * Source/cmake/WebKitHelpers.cmake:
3732 * Source/cmake/OptionsEfl.cmake: Use CMAKE_COMPILER_IS_GNUCXX instead of
3733 !Clang check because this is what was really meant here.
3735 2016-09-27 Konstantin Tokarev <annulen@yandex.ru>
3737 [cmake] Added COMPILER_IS_GCC_OR_CLANG variable to simplify conditions.
3738 https://bugs.webkit.org/show_bug.cgi?id=162605
3740 Reviewed by Michael Catanzaro.
3743 * Source/cmake/OptionsCommon.cmake:
3744 * Source/cmake/WebKitHelpers.cmake:
3746 2016-09-26 Daniel Bates <dabates@apple.com>
3748 Rename IOS_TEXT_AUTOSIZING to TEXT_AUTOSIZING
3749 https://bugs.webkit.org/show_bug.cgi?id=162365
3751 Reviewed by Simon Fraser.
3753 * Source/cmake/OptionsMac.cmake:
3754 * Source/cmake/WebKitFeatures.cmake: Substitute ENABLE_TEXT_AUTOSIZING for ENABLE_IOS_TEXT_AUTOSIZING,
3755 update the description of this feature to better describe what it does and re-order the define in the
3756 list of defines such that it is in sorted order.
3758 2016-09-26 Konstantin Tokarev <annulen@yandex.ru>
3760 [cmake] Added an option to disable thin archives when they are undesirable.
3761 https://bugs.webkit.org/show_bug.cgi?id=162561
3763 Reviewed by Michael Catanzaro.
3765 * Source/cmake/OptionsCommon.cmake: Added USE_THIN_ARCHIVES option.
3767 2016-09-23 Caitlin Potter <caitp@igalia.com>
3769 [JSC] Implement parsing of Async Functions
3770 https://bugs.webkit.org/show_bug.cgi?id=161409
3772 Reviewed by Yusuke Suzuki.
3774 * Source/cmake/WebKitFeatures.cmake:
3776 2016-09-22 Daniel Bates <dabates@apple.com>
3778 Remove more ENABLE(TEXT_AUTOSIZING) code
3779 https://bugs.webkit.org/show_bug.cgi?id=162456
3781 Reviewed by Simon Fraser.
3783 * Source/cmake/tools/vsprops/FeatureDefines.props:
3784 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3786 2016-09-20 Don Olmstead <don.olmstead@am.sony.com>
3788 [WinCairo] Use find_package cairo in build
3789 https://bugs.webkit.org/show_bug.cgi?id=162239
3791 Reviewed by Alex Christensen.
3793 * Source/cmake/FindCairo.cmake:
3794 * Source/cmake/OptionsWinCairo.cmake:
3796 2016-09-19 Daniel Bates <dabates@apple.com>
3798 Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code
3799 https://bugs.webkit.org/show_bug.cgi?id=162167
3801 Reviewed by Simon Fraser.
3803 * Source/cmake/OptionsMac.cmake:
3804 * Source/cmake/OptionsWin.cmake:
3805 * Source/cmake/WebKitFeatures.cmake:
3807 2016-09-19 Michael Catanzaro <mcatanzaro@igalia.com>
3809 [GTK] Make ENABLE_THREADED_COMPOSITOR a public option
3810 https://bugs.webkit.org/show_bug.cgi?id=162148
3812 Reviewed by Carlos Garcia Campos.
3814 * Source/cmake/OptionsGTK.cmake:
3816 2016-09-18 Gyuyoung Kim <gyuyoung.kim@navercorp.com>
3818 [EFL] Bump efl library to 1.18.1
3819 https://bugs.webkit.org/show_bug.cgi?id=162120
3821 Reviewed by Michael Catanzaro.
3823 * Source/cmake/OptionsEfl.cmake: Use efl-1.18.1 instead of 1.18.
3825 2016-09-16 Carlos Garcia Campos <cgarcia@igalia.com>
3827 [CMake] Build broken with current debian testing
3828 https://bugs.webkit.org/show_bug.cgi?id=162054
3830 Reviewed by Žan Doberšek.
3832 Building WTR bindings is broken now in Debian testing. The reason is that '.' is no longer included in @INC for
3833 perl, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588017 and
3834 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1238.
3836 * Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Pass also the given BASE_DIR to perl executable so that it
3837 can find modules in the current directory even if '.' is not in @INC. Also include generators in BASE_DIR to the
3838 list of dependencies.
3840 2016-09-15 Fujii Hironori <Hironori.Fujii@sony.com>
3842 [CMake] Refactor GENERATE_BINDINGS
3843 https://bugs.webkit.org/show_bug.cgi?id=161854
3845 Reviewed by Gyuyoung Kim.
3847 * Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Use
3848 CMakeParseArguments for argument parsing. Defined as a function
3849 instread of a macro because function has its own variable scope.
3850 Wrapped both preprocess-idls.pl and generate-bindings.pl scripts.
3851 Downcased local variables COMMON_GENERATOR_DEPENDENCIES and
3852 BINDING_GENERATOR. Generate idl_files.tmp. Removed arguments
3853 _prefix and _extension because they are always JS and cpp now.
3855 2016-09-08 Carlos Alberto Lopez Perez <clopez@igalia.com>
3857 [CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory)
3858 https://bugs.webkit.org/show_bug.cgi?id=161697
3860 Reviewed by Michael Catanzaro.
3862 Get the list of system includes from GCC and add it to the CMake
3863 list of implicit includes. This way, CMake will filter any of this
3864 directories from the list of includes when calling the compiler.