Make sure only WebsiteDataStores with valid SessionIDs register themselves.
[WebKit-https.git] / ChangeLog
1 2017-12-14  Tomas Popela  <tpopela@redhat.com>
2
3         Build should fail early is needed Perl modules are not installed
4         https://bugs.webkit.org/show_bug.cgi?id=180137
5
6         Reviewed by Michael Catanzaro.
7
8         Don't finish the configure successfully if the required Perl modules
9         are not installed. Start to require modules that are needed for
10         WPE/GTK+ ports.
11
12         * Source/cmake/FindPerlModules.cmake: Copied from
13         https://github.com/KDE/kdelibs4support/blob/master/cmake/FindPerlModules.cmake
14         and made it WebKit style compliant.
15         * Source/cmake/WebKitCommon.cmake:
16
17 2017-12-13  Carlos Alberto Lopez Perez  <clopez@igalia.com>
18
19         [WPE] WebCrypto should be a public option.
20         https://bugs.webkit.org/show_bug.cgi?id=180780
21
22         Reviewed by Konstantin Tokarev.
23
24         Make ENABLE_WEB_CRYPTO public and lower the dependency requirements
25         when this option is not enabled. This is also how the GTK+ port
26         configures the visibility of this option and its dependencies.
27
28         * Source/cmake/OptionsWPE.cmake:
29
30 2017-12-13  Carlos Garcia Campos  <cgarcia@igalia.com>
31
32         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.3 release.
33
34         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
35
36 2017-12-12  Don Olmstead  <don.olmstead@sony.com>
37
38         [WinCairo] Enable WebP support
39         https://bugs.webkit.org/show_bug.cgi?id=179908
40
41         Reviewed by Konstantin Tokarev.
42
43         * Source/cmake/OptionsWinCairo.cmake:
44
45 2017-12-08  Fujii Hironori  <Hironori.Fujii@sony.com>
46
47         [WinCairo][Ninja] Incremental build failure of WTF
48         https://bugs.webkit.org/show_bug.cgi?id=180521
49
50         Reviewed by Konstantin Tokarev.
51
52         WTF included its forwarding headers in Windows ports. The
53         directory DerivedSources/ForwardingHeaders shouldn't be a include
54         path for WTF.
55
56         * Source/cmake/OptionsWin.cmake:
57         Removed DerivedSources/ForwardingHeaders and DerivedSources from include paths.
58
59 2017-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
60
61         [WPE][GTK] Freeze WebKit version in user agent
62         https://bugs.webkit.org/show_bug.cgi?id=180475
63
64         Reviewed by Carlos Garcia Campos.
65
66         * Source/cmake/OptionsGTK.cmake:
67         * Source/cmake/OptionsWPE.cmake:
68
69 2017-12-05  Stephan Szabo  <stephan.szabo@sony.com>
70
71         Switch windows build to Visual Studio 2017
72         https://bugs.webkit.org/show_bug.cgi?id=172412
73
74         Reviewed by Per Arne Vollan.
75
76         * Source/cmake/OptionsMSVC.cmake:
77
78 2017-12-01  Konstantin Tokarev  <annulen@yandex.ru>
79
80         [cmake] Make description of ENABLE_DRAG_SUPPORT more informative
81         https://bugs.webkit.org/show_bug.cgi?id=180266
82
83         Reviewed by Michael Catanzaro.
84
85         When disabled, it also disables selection of text with dragging, and this
86         comes as a surprise for many people.
87
88         * Source/cmake/WebKitFeatures.cmake:
89
90 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
91
92         [GStreamer] Fix USE_GSTREAMER_GL check for GStreamer 1.10
93         https://bugs.webkit.org/show_bug.cgi?id=180256
94
95         Reviewed by Carlos Alberto Lopez Perez.
96
97         It's not safe to change the value of build options after WEBKIT_OPTION_END, since it breaks
98         the option dependency checker. I don't think that actually hurts anything in this case, but
99         let's not encourage bad practice. Also, it's not good for features to be secretly disabled.
100         Nobody reads CMake output unless there is a fatal error. Failing the build at the CMake
101         stage lets distributors know that a feature will be missing. And of course, it's still
102         possible to disable USE_GSTREAMER_GL to avoid the increased GStreamer requirement.
103
104         * Source/cmake/GStreamerChecks.cmake:
105
106 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
107
108         [GTK] [MSE] Turn MSE on by default
109         https://bugs.webkit.org/show_bug.cgi?id=167107
110
111         Reviewed by Carlos Alberto Lopez Perez.
112
113         Turn on the ENABLE_MEDIA_SOURCE build option. Fail the build if GStreamer 1.8 is not
114         installed and ENABLE_MEDIA_SOURCE has not been disabled.
115
116         * Source/cmake/GStreamerChecks.cmake:
117         * Source/cmake/GStreamerDefinitions.cmake:
118         * Source/cmake/OptionsGTK.cmake:
119         * Source/cmake/OptionsWPE.cmake:
120
121 2017-11-30  Stephan Szabo  <stephan.szabo@sony.com>
122
123         Make LegacyCustomProtocolManager optional for network process
124         https://bugs.webkit.org/show_bug.cgi?id=176230
125
126         Reviewed by Alex Christensen.
127
128         * Source/cmake/OptionsWin.cmake:
129         * Source/cmake/WebKitFeatures.cmake:
130
131 2017-11-29  Alex Christensen  <achristensen@webkit.org>
132
133         Fix Mac CMake build.
134
135         * Source/cmake/OptionsMac.cmake:
136
137 2017-11-28  Michael Catanzaro  <mcatanzaro@igalia.com>
138
139         REGRESSION(r225098): [WPE] Some features have changed of value (70 new failures)
140         https://bugs.webkit.org/show_bug.cgi?id=180004
141
142         Reviewed by Alex Christensen.
143
144         Turn on ENABLE_ENCRYPTED_MEDIA and ENABLE_WEBGL2 when building with
145         ENABLE_EXPERIMENTAL_FEATURES. Also, let's stop turning off ENABLE_USERSELECT_ALL, as I doubt
146         there's any good reason for that.
147
148         * Source/cmake/OptionsWPE.cmake:
149
150 2017-11-27  Don Olmstead  <don.olmstead@sony.com>
151
152         [CMake][Win] Conditionally select DLL CRT or static CRT
153         https://bugs.webkit.org/show_bug.cgi?id=170594
154
155         Reviewed by Alex Christensen.
156
157         * Source/cmake/OptionsAppleWin.cmake:
158         * Source/cmake/OptionsMSVC.cmake:
159
160 2017-11-27  Adrian Perez de Castro  <aperez@igalia.com>
161
162         [CMake] Values of CMAKE_BUILD_TYPE from toolchain file are ignored
163         https://bugs.webkit.org/show_bug.cgi?id=179971
164
165         Reviewed by Carlos Alberto Lopez Perez.
166
167         * CMakeLists.txt: Call project() first, as it loads the toolchain
168         file, so that's done before checking CMAKE_BUILD_TYPE.
169
170 2017-11-22  Michael Catanzaro  <mcatanzaro@igalia.com>
171
172         Sanity-check feature defaults in WebKitFeatures.cmake
173         https://bugs.webkit.org/show_bug.cgi?id=179095
174
175         Reviewed by Konstantin Tokarev.
176
177         Change the default value of some features in WebKitFeatures.cmake to reduce the number of
178         Options*.cmake files the feature's default value must be overridden in.
179
180         Remove feature definitions where they are redundant with the definition in
181         WebKitFeatures.cmake, particluarly in OptionsMac.cmake.
182
183         This commit should not include any functional changes. It just aims to reduce the total
184         number of times we need to call WEBKIT_OPTION_DEFAULT_PORT_VALUE.
185
186         * Source/cmake/OptionsGTK.cmake:
187         * Source/cmake/OptionsJSCOnly.cmake:
188         * Source/cmake/OptionsMac.cmake:
189         * Source/cmake/OptionsWPE.cmake:
190         * Source/cmake/OptionsWin.cmake:
191         * Source/cmake/WebKitFeatures.cmake:
192
193 2017-11-22  Tim Horton <timothy_horton@apple.com> and Michael Catanzaro <mcatanzaro@igalia.com>
194
195         Remove build-webkit's notion of feature flags having a default value
196         https://bugs.webkit.org/show_bug.cgi?id=177338
197
198         Reviewed by Carlos Alberto Lopez Perez.
199
200         Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features.
201
202         * Source/cmake/OptionsGTK.cmake:
203         * Source/cmake/WebKitFeatures.cmake:
204
205 2017-11-21  Zan Dobersek  <zdobersek@igalia.com>
206
207         Drop ENABLE_IMAGE_DECODER_DOWN_SAMPLING code
208         https://bugs.webkit.org/show_bug.cgi?id=179921
209
210         Reviewed by Carlos Garcia Campos.
211
212         * Source/cmake/WebKitFeatures.cmake: Remove the CMake option that
213         enabled IMAGE_DECODER_DOWN_SAMPLING code.
214
215 2017-11-20  Carlos Garcia Campos  <cgarcia@igalia.com>
216
217         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.2 release.
218
219         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
220
221 2017-11-20  Michael Catanzaro  <mcatanzaro@igalia.com>
222
223         Remove ENABLE_ALLINONE_BUILD option
224         https://bugs.webkit.org/show_bug.cgi?id=179823
225
226         Reviewed by Darin Adler.
227
228         * Source/cmake/OptionsWin.cmake:
229         * Source/cmake/WebKitFeatures.cmake:
230
231 2017-11-19  Tim Horton  <timothy_horton@apple.com>
232
233         Remove unused TOUCH_ICON_LOADING feature flag
234         https://bugs.webkit.org/show_bug.cgi?id=179873
235
236         Reviewed by Simon Fraser.
237
238         * Source/cmake/OptionsMac.cmake:
239         * Source/cmake/WebKitFeatures.cmake:
240
241 2017-11-19  Yusuke Suzuki  <utatane.tea@gmail.com>
242
243         Add CPU(UNKNOWN) to cover all the unknown CPU types
244         https://bugs.webkit.org/show_bug.cgi?id=179243
245
246         Reviewed by JF Bastien.
247
248         Drop SH4, S390, and S390X explicit support. They are handled as CPU(UNKNOWN).
249
250         * CMakeLists.txt:
251
252 2017-11-19  Tim Horton  <timothy_horton@apple.com>
253
254         Remove unused LEGACY_VENDOR_PREFIXES feature flag
255         https://bugs.webkit.org/show_bug.cgi?id=179872
256
257         Reviewed by Darin Adler.
258
259         * Source/cmake/OptionsMac.cmake:
260         * Source/cmake/OptionsWin.cmake:
261         * Source/cmake/WebKitFeatures.cmake:
262
263 2017-11-16  Don Olmstead  <don.olmstead@sony.com>
264
265         [WinCairo] Update WinCairoRequirements
266         https://bugs.webkit.org/show_bug.cgi?id=179790
267
268         Reviewed by Alex Christensen.
269
270         * Source/cmake/OptionsWinCairo.cmake:
271
272 2017-11-16  Daniel Bates  <dabates@apple.com>
273
274         Add feature define for alternative presentation button element
275         https://bugs.webkit.org/show_bug.cgi?id=179692
276         Part of <rdar://problem/34917108>
277
278         Reviewed by Andy Estes.
279
280         Only enabled on Cocoa platforms by default.
281
282         * Source/cmake/OptionsMac.cmake:
283         * Source/cmake/WebKitFeatures.cmake:
284         * Source/cmake/tools/vsprops/FeatureDefines.props:
285         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
286
287 2017-11-16  Michael Catanzaro  <mcatanzaro@igalia.com>
288
289         [WPE] Expose ENABLE_JIT and USE_SYSTEM_MALLOC options
290         https://bugs.webkit.org/show_bug.cgi?id=179730
291
292         Reviewed by Carlos Alberto Lopez Perez.
293
294         * Source/cmake/OptionsWPE.cmake:
295
296 2017-11-15  Carlos Garcia Campos  <cgarcia@igalia.com>
297
298         [WPE] Add initial support for WebDriver
299         https://bugs.webkit.org/show_bug.cgi?id=179727
300
301         Reviewed by Michael Catanzaro.
302
303         Enable WebDriver by default in WPE.
304
305         * Source/cmake/OptionsWPE.cmake:
306
307 2017-11-15  Keith Miller  <keith_miller@apple.com>
308
309         Unreviewed, sort async iteration feature.
310
311         * Source/cmake/WebKitFeatures.cmake:
312
313 2017-11-15  Keith Miller  <keith_miller@apple.com>
314
315         REGRESSION(r224787): [Linux] Introduced 144 GTK/WPE JS test failures
316         https://bugs.webkit.org/show_bug.cgi?id=179704
317
318         Reviewed by Yusuke Suzuki.
319
320         Add feature flag for Async iteration.
321
322         * Source/cmake/WebKitFeatures.cmake:
323
324 2017-11-13  Michael Catanzaro  <mcatanzaro@igalia.com>
325
326         [GTK] Require woff2 1.0.2 and drop direct brotli dependency
327         https://bugs.webkit.org/show_bug.cgi?id=179630
328
329         Reviewed by Frédéric Wang.
330
331         * Source/cmake/FindBrotliDec.cmake: Removed.
332         * Source/cmake/OptionsGTK.cmake:
333
334 2017-11-09  Michael Catanzaro  <mcatanzaro@igalia.com>
335
336         [WPE] Use linker script to control exported symbols
337         https://bugs.webkit.org/show_bug.cgi?id=179358
338
339         Reviewed by Carlos Alberto Lopez Perez.
340
341         The C API is being inadvertently exported because it's marked as WEBKIT_EXPORT in the header
342         files. But of course it should only be exported in DEVELOPER_MODE, where it's needed for
343         WebKitTestRunner. Use (almost) the same linker version script as GTK to fix this. It's
344         slightly different because WPE does not have WebKitPluginProcess.
345
346         This also reduces binary size of libWPEWebKit.so in debug mode from 615 MB down to 497 MB.
347         (Haven't checked release mode.)
348
349         * Source/cmake/OptionsWPE.cmake:
350         * Source/cmake/wpesymbols.filter: Added.
351
352 2017-11-08  Michael Catanzaro  <mcatanzaro@igalia.com>
353
354         [WPE] Turn on ENABLE_INDEXED_DATABASE_IN_WORKERS
355         https://bugs.webkit.org/show_bug.cgi?id=179094
356
357         Reviewed by Carlos Alberto Lopez Perez.
358
359         * Source/cmake/OptionsWPE.cmake:
360
361 2017-11-07  Michael Catanzaro  <mcatanzaro@igalia.com>
362
363         [WPE] Turn on ENABLE_MEDIA_SOURCE
364         https://bugs.webkit.org/show_bug.cgi?id=179093
365
366         Reviewed by Carlos Alberto Lopez Perez.
367
368         * Source/cmake/OptionsWPE.cmake:
369
370 2017-11-06  Michael Catanzaro  <mcatanzaro@igalia.com>
371
372         Unreviewed, fix WPE build after r224492
373         https://bugs.webkit.org/show_bug.cgi?id=179009
374
375         * Source/cmake/OptionsWPE.cmake:
376
377 2017-11-06  Michael Catanzaro  <mcatanzaro@igalia.com>
378
379         [WPE] Clean up OptionsWPE.cmake
380         https://bugs.webkit.org/show_bug.cgi?id=179009
381
382         Reviewed by Žan Doberšek.
383
384         * Source/cmake/OptionsWPE.cmake:
385
386 2017-11-06  Michael Catanzaro  <mcatanzaro@igalia.com>
387
388         [WPE][GTK] Always use SET_AND_EXPOSE_TO_BUILD to set build variables
389         https://bugs.webkit.org/show_bug.cgi?id=179038
390
391         Reviewed by Žan Doberšek.
392
393         * Source/cmake/OptionsGTK.cmake:
394         * Source/cmake/OptionsWPE.cmake:
395
396 2017-11-03  Michael Catanzaro  <mcatanzaro@igalia.com>
397
398         [WPE][GTK] Avoid duplicating code for dist and distcheck targets
399         https://bugs.webkit.org/show_bug.cgi?id=179154
400
401         Reviewed by Carlos Garcia Campos.
402
403         This commit just reduces some CMake code duplication between GTK and WPE.
404
405         * Source/PlatformGTK.cmake:
406         * Source/PlatformWPE.cmake:
407         * Source/cmake/WebKitDist.cmake: Added.
408
409 2017-11-02  Tim Horton  <timothy_horton@apple.com>
410
411         Reduce duplication in the toplevel Makefile
412         https://bugs.webkit.org/show_bug.cgi?id=179204
413
414         Unreviewed build fix.
415
416         * Source/Makefile:
417         Take three. An empty SDKROOT should be like Mac (and build all the things).
418
419 2017-11-02  Tim Horton  <timothy_horton@apple.com>
420
421         Reduce duplication in the toplevel Makefile
422         https://bugs.webkit.org/show_bug.cgi?id=179204
423
424         * Source/Makefile:
425         Address some post-landing review comments to keep the order of the MODULES correct.
426
427 2017-11-02  Tim Horton  <timothy_horton@apple.com>
428
429         Reduce duplication in the toplevel Makefile
430         https://bugs.webkit.org/show_bug.cgi?id=179204
431
432         Reviewed by Simon Fraser.
433
434         * Source/Makefile:
435         Make MODULES additive instead of completely repeated, and only build
436         libwebrtc where it's needed.
437
438 2017-11-02  Alberto Garcia  <berto@igalia.com>
439
440         Unreviewed, fix typos in library names for the GTK+ port.
441
442         * Source/cmake/OptionsGTK.cmake:
443
444 2017-10-31  Carlos Garcia Campos  <cgarcia@igalia.com>
445
446         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.1 release.
447
448         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
449
450 2017-10-31  Carlos Garcia Campos  <cgarcia@igalia.com>
451
452         Unreviewed. Fix GTK+/WPE make distcheck.
453
454         * CMakeLists.txt: Only include PerformanceTests directory to the build for GTK+ and WPE ports when developer
455         mode is enabled.
456
457 2017-10-26  Adrian Perez de Castro  <aperez@igalia.com>
458
459         [WPE] Use proper shared object versioning for libWPEWebKit.so
460         https://bugs.webkit.org/show_bug.cgi?id=178878
461
462         Reviewed by Michael Catanzaro.
463
464         Move the CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE() to a new CMake include file,
465         and use it both for the GTK+ and WPE ports. Also add a SET_PROJECT_VERSION() macro to
466         unify setting the PROJECT_VERSION* family of variables.
467
468         * Source/cmake/OptionsGTK.cmake: Use the common macros imported from VersioningUtils.cmake.
469         * Source/cmake/OptionsWPE.cmake: Properly assign a shared object version to libWPEWebKit.so,
470         using the common macros from VersioningUtils.cmake.
471         * Source/cmake/VersioningUtils.cmake: Added.
472
473 2017-10-26  Adrian Perez de Castro  <aperez@igalia.com>
474
475         [GTK] WebKit library .so version is not being set correctly
476         https://bugs.webkit.org/show_bug.cgi?id=178873
477
478         Reviewed by Michael Catanzaro.
479
480         * Source/cmake/OptionsGTK.cmake: Adjust name of the target for which the .so version gets calculated.
481
482 2017-10-24  Stephan Szabo  <stephan.szabo@sony.com>
483
484         [Win][JSCOnly] Make jsconly build testapi and dlls and copy dlls when running tests
485         https://bugs.webkit.org/show_bug.cgi?id=177279
486
487         Reviewed by Yusuke Suzuki.
488
489         * Source/cmake/OptionsJSCOnly.cmake:
490
491 2017-10-21  Tim Horton  <timothy_horton@apple.com>
492
493         Turn on ccache for Mac cmake builds by default
494         https://bugs.webkit.org/show_bug.cgi?id=177059
495
496         Reviewed by Sam Weinig.
497
498         * Source/cmake/WebKitCCache.cmake: Added.
499         * Source/cmake/WebKitCommon.cmake:
500         Turn on ccache for Mac CMake builds (Makefile and Ninja generators only)
501         if it's installed, making use of CMake's ability to wrap the compiler invocation.
502
503 2017-10-20  Antoine Quint  <graouts@apple.com>
504
505         [Web Animations] Provide basic timeline and animation interfaces
506         https://bugs.webkit.org/show_bug.cgi?id=178526
507
508         Reviewed by Dean Jackson.
509
510         Remove the WEB_ANIMATIONS compile-time flag.
511
512         * Source/cmake/OptionsWPE.cmake:
513         * Source/cmake/OptionsWin.cmake:
514         * Source/cmake/WebKitFeatures.cmake:
515         * Source/cmake/tools/vsprops/FeatureDefines.props:
516         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
517
518 2017-10-18  Keith Miller  <keith_miller@apple.com>
519
520         Setup WebCore build to start using unified sources.
521         https://bugs.webkit.org/show_bug.cgi?id=178362
522
523         Reviewed by Tim Horton.
524
525         Pass features to the unified source bundler script.
526
527         * Source/cmake/WebKitCommon.cmake:
528         * Source/cmake/WebKitFeatures.cmake:
529         * Source/cmake/WebKitMacros.cmake:
530
531 2017-10-18  Zan Dobersek  <zdobersek@igalia.com>
532
533         Remove remnants of OpenWebRTC
534         https://bugs.webkit.org/show_bug.cgi?id=178437
535
536         Reviewed by Alejandro G. Castro.
537
538         Remove the FindOpenWebRTC.cmake file and the searches for it in both
539         OptionsGTK and OptionsWPE.
540
541         * Source/cmake/FindOpenWebRTC.cmake: Removed.
542         * Source/cmake/OptionsGTK.cmake:
543         * Source/cmake/OptionsWPE.cmake:
544
545 2017-10-10  Adrian Perez de Castro  <aperez@igalia.com>
546
547         [WPE] Remove the possibility of installing the old WebKit2 C API
548         https://bugs.webkit.org/show_bug.cgi?id=178125
549
550         Reviewed by Michael Catanzaro.
551
552         * Source/cmake/OptionsWPE.cmake: Remove definition of the EXPORT_DEPRECATED_WEBKIT2_C_API
553         build option.
554
555 2017-10-10  Michael Catanzaro  <mcatanzaro@igalia.com>
556
557         [WPE] Expose ENABLE_XSLT option
558         https://bugs.webkit.org/show_bug.cgi?id=177857
559
560         Reviewed by Carlos Alberto Lopez Perez.
561
562         * Source/cmake/OptionsWPE.cmake:
563
564 2017-10-09  Adrian Perez de Castro  <aperez@igalia.com>
565
566         [WPE][GTK] Propagate libepoxy compiler flags obtained from pkg-config
567         https://bugs.webkit.org/show_bug.cgi?id=178081
568
569         Reviewed by Carlos Alberto Lopez Perez.
570
571         * Source/cmake/FindLibEpoxy.cmake: Define the ${LIBEPOXY_DEFINITIONS} variable when libepoxy
572         is found by pkg-config. This contains the value of the "Cflags" field from "epoxy.pc".
573
574 2017-10-05  Frederic Wang  <fwang@igalia.com>
575
576         Remove WOFF2 from Source/ThirdParty.
577         https://bugs.webkit.org/show_bug.cgi?id=177862
578
579         Reviewed by Michael Catanzaro.
580
581         * Source/CMakeLists.txt: Do not build the woff2 source.
582         * Source/cmake/FindWOFF2Dec.cmake: Added. New cmake module for woff2.
583         * Source/cmake/OptionsGTK.cmake: Load the woff2 package.
584
585 2017-10-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
586
587         Generate a compile error if release is built without compiler optimizations
588         https://bugs.webkit.org/show_bug.cgi?id=177665
589
590         Reviewed by Brian Burg.
591
592         Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset.
593
594         * CMakeLists.txt:
595
596 2017-10-05  Tim Horton  <timothy_horton@apple.com>
597
598         Make progress toward properly-formed XPC services in the Mac CMake build
599         https://bugs.webkit.org/show_bug.cgi?id=177918
600
601         Reviewed by Alex Christensen.
602
603         * Source/cmake/WebKitMacros.cmake:
604         Add a macro wrapper around 'ln'.
605
606 2017-10-03  Frederic Wang  <fwang@igalia.com>
607
608         Remove Brotli from Source/ThirdParty
609         https://bugs.webkit.org/show_bug.cgi?id=177804
610
611         Reviewed by Michael Catanzaro.
612
613         * Source/CMakeLists.txt: Do not build ThirdParty/brotli anymore.
614         * Source/cmake/FindBrotliDec.cmake: Added. New cmake module to find Brotli via PkgConfig.
615         * Source/cmake/OptionsGTK.cmake: Expose USE_WOFF2 as a public option and use find_package
616         to look for brotli.
617
618 2017-10-05  Yusuke Suzuki  <utatane.tea@gmail.com>
619
620         [Linux] Port MallocBench
621         https://bugs.webkit.org/show_bug.cgi?id=177856
622
623         Reviewed by Filip Pizlo.
624
625         * CMakeLists.txt:
626
627 2017-10-04  Ryan Haddad  <ryanhaddad@apple.com>
628
629         Unreviewed, rolling out r222840.
630
631         This change breaks internal builds.
632
633         Reverted changeset:
634
635         "Generate a compile error if release is built without compiler
636         optimizations"
637         https://bugs.webkit.org/show_bug.cgi?id=177665
638         http://trac.webkit.org/changeset/222840
639
640 2017-10-04  Commit Queue  <commit-queue@webkit.org>
641
642         Unreviewed, rolling out r222775.
643         https://bugs.webkit.org/show_bug.cgi?id=177890
644
645         Significantly increased the WebKit build time (Requested by
646         rniwa on #webkit).
647
648         Reverted changeset:
649
650         "Build libwebrtc unit tests executables"
651         https://bugs.webkit.org/show_bug.cgi?id=177211
652         http://trac.webkit.org/changeset/222775
653
654 2017-10-04  Miguel Gomez  <magomez@igalia.com>
655
656         Add animation support for WebP images
657         https://bugs.webkit.org/show_bug.cgi?id=113124
658
659         Reviewed by Žan Doberšek.
660
661         * Source/cmake/FindWebP.cmake:
662
663 2017-10-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
664
665         Generate a compile error if release is built without compiler optimizations
666         https://bugs.webkit.org/show_bug.cgi?id=177665
667
668         Reviewed by Michael Catanzaro.
669
670         Default to RelWithDebInfo if CMAKE_BUILD_TYPE is unset.
671
672         * CMakeLists.txt:
673
674 2017-10-03  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
675
676         [GLib] Let WebCore know of low power situations
677         https://bugs.webkit.org/show_bug.cgi?id=177810
678
679         Reviewed by Carlos Garcia Campos.
680
681         WebCore can use knowledge of low power situations to throttle timers and avoid expensive
682         checks, lowering power usage. We can use upower's warning level to let WebCore know we are
683         in such a situation.
684
685         * Source/cmake/OptionsGTK.cmake: depend on upower-glib.
686         * Source/cmake/FindUPowerGLib.cmake: Added.
687
688 2017-10-03  Youenn Fablet  <youenn@apple.com>
689
690         Build libwebrtc unit tests executables
691         https://bugs.webkit.org/show_bug.cgi?id=177211
692
693         Reviewed by Alex Christensen.
694
695         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
696
697 2017-10-02  Olivier Blin  <olivier.blin@softathome.com>
698
699         [WPE] Remove GnuTLS dependency
700         https://bugs.webkit.org/show_bug.cgi?id=177750
701
702         Reviewed by Michael Catanzaro.
703
704         libgcrypt is used by default instead of GnuTLS.
705         See bug 163125
706
707         * Source/cmake/OptionsWPE.cmake:
708
709 2017-10-02  Olivier Blin  <olivier.blin@softathome.com>
710
711         [WPE] Do not require XSLT if disabled
712         https://bugs.webkit.org/show_bug.cgi?id=177752
713
714         Reviewed by Michael Catanzaro.
715
716         * Source/cmake/OptionsWPE.cmake: libxslt is not a hard dep
717
718 2017-10-02  Michael Catanzaro  <mcatanzaro@igalia.com>
719
720         Remove ENABLE_CSS_REGIONS
721         https://bugs.webkit.org/show_bug.cgi?id=177689
722
723         Reviewed by Darin Adler.
724
725         * Source/cmake/OptionsGTK.cmake:
726         * Source/cmake/OptionsMac.cmake:
727         * Source/cmake/OptionsWPE.cmake:
728         * Source/cmake/OptionsWin.cmake:
729         * Source/cmake/WebKitFeatures.cmake:
730         * Source/cmake/tools/vsprops/FeatureDefines.props:
731         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
732
733 2017-09-29  Matt Lewis  <jlewis3@apple.com>
734
735         Unreviewed, rolling out r222652.
736
737         This broke an internal build.
738
739         Reverted changeset:
740
741         "Build libwebrtc unit tests executables"
742         https://bugs.webkit.org/show_bug.cgi?id=177211
743         http://trac.webkit.org/changeset/222652
744
745 2017-09-29  Youenn Fablet  <youenn@apple.com>
746
747         Build libwebrtc unit tests executables
748         https://bugs.webkit.org/show_bug.cgi?id=177211
749
750         Reviewed by Alex Christensen.
751
752         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
753
754 2017-09-27  Ryan Haddad  <ryanhaddad@apple.com>
755
756         Unreviewed, rolling out r222537.
757
758         This change broke internal builds.
759
760         Reverted changeset:
761
762         "Build libwebrtc unit tests executables"
763         https://bugs.webkit.org/show_bug.cgi?id=177211
764         http://trac.webkit.org/changeset/222537
765
766 2017-09-26  Youenn Fablet  <youenn@apple.com>
767
768         Build libwebrtc unit tests executables
769         https://bugs.webkit.org/show_bug.cgi?id=177211
770
771         Reviewed by Alex Christensen.
772
773         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
774
775 2017-09-26  Keith Miller  <keith_miller@apple.com>
776
777         CMake should reconfigure if the Sources.txt files are touched
778         https://bugs.webkit.org/show_bug.cgi?id=177508
779
780         Reviewed by JF Bastien.
781
782         * Source/cmake/WebKitMacros.cmake:
783
784 2017-09-24  Keith Miller  <keith_miller@apple.com>
785
786         JSC build should use unified sources for derived sources
787         https://bugs.webkit.org/show_bug.cgi?id=177421
788
789         Reviewed by JF Bastien.
790
791         * Source/cmake/WebKitMacros.cmake:
792
793 2017-09-26  Zan Dobersek  <zdobersek@igalia.com>
794
795         [CMake] Use implicit include directories for Clang as well
796         https://bugs.webkit.org/show_bug.cgi?id=177426
797
798         Reviewed by Michael Catanzaro.
799
800         In WebKitCompilerFlags.cmake, also gather and use the system
801         include directories for C and C++ build targets when compiling
802         with Clang. This fixes compilation errors when cross-building
803         WebKit with a Clang-based toolchain.
804
805         COMPILER_IS_GCC_OR_CLANG is used to check for GCC or Clang
806         compilers. That only checks for the C++ compiler, but it's not
807         reasonable to expect two widely different compilers being used
808         for C and C++ compilation.
809
810         * Source/cmake/WebKitCompilerFlags.cmake:
811
812 2017-09-25  Timothy Horton  <timothy_horton@apple.com>
813
814         Make progress on getting Mac CMake building again
815         https://bugs.webkit.org/show_bug.cgi?id=177443
816
817         Unreviewed, just "fixing" the build.
818
819         * Source/cmake/OptionsMac.cmake:
820         Turn on WEB_CRYPTO on Mac. We need to do a bigger cleanup of feature
821         defines, but this one is important because we have SUBTLE_CRYPTO on
822         and there is some amount of interdependency.
823
824 2017-09-22  Per Arne Vollan  <pvollan@apple.com>
825
826         [Win] WebKit is built as a static library, and not as a dll.
827         https://bugs.webkit.org/show_bug.cgi?id=177365
828
829         Reviewed by Brent Fulgham.
830
831         Set target type for WebKitLegacy target.
832
833         * Source/cmake/OptionsWin.cmake:
834
835 2017-09-22  Matt Lewis  <jlewis3@apple.com>
836
837         Unreviewed, rolling out r222394.
838
839         This broke the Windows Debug Build.
840
841         Reverted changeset:
842
843         "Remove build-webkit's notion of feature flags having a
844         default value"
845         https://bugs.webkit.org/show_bug.cgi?id=177338
846         http://trac.webkit.org/changeset/222394
847
848 2017-09-22  Tim Horton <timothy_horton@apple.com> and Michael Catanzaro <mcatanzaro@igalia.com>
849
850         Remove build-webkit's notion of feature flags having a default value
851         https://bugs.webkit.org/show_bug.cgi?id=177338
852
853         Reviewed by Alex Christensen.
854
855         Add an ENABLE_EXPERIMENTAL_FEATURES flag and use it to enable certain features.
856
857         * Source/cmake/OptionsGTK.cmake:
858         * Source/cmake/OptionsWPE.cmake:
859         * Source/cmake/WebKitFeatures.cmake:
860
861 2017-09-20  Keith Miller  <keith_miller@apple.com>
862
863         JSC should use unified sources for platform specific files.
864         https://bugs.webkit.org/show_bug.cgi?id=177290
865
866         Reviewed by Michael Saboff.
867
868         Change WEBKIT_COMPUTE_SOURCES CMake macro to look for platform
869         specific unified source lists. This is done in the same way that
870         we look for port specific configuration files. For example, if I
871         were building for the Mac port WEBKIT_COMPUTE_SOURCES would add
872         the Sources.txt and SourcesMac.txt source lists to the list of
873         unified sources.
874
875         * Source/cmake/WebKitMacros.cmake:
876
877 2017-09-20  Keith Miller  <keith_miller@apple.com>
878
879         JSC Xcode build should use unified sources for platform independent files
880         https://bugs.webkit.org/show_bug.cgi?id=177190
881
882         Reviewed by Saam Barati.
883
884         Add a macro for collecting the set of "header" source files and adding the bundle
885         files to the "sources" list.
886
887         * Source/cmake/WebKitMacros.cmake:
888
889 2017-09-20  Michael Catanzaro  <mcatanzaro@igalia.com>
890
891         REGRESSION(r222194) [WPE] Library and executable output names broken
892         https://bugs.webkit.org/show_bug.cgi?id=177273
893
894         Reviewed by Carlos Alberto Lopez Perez.
895
896         Move the WebKit2 output name variables from here to Source/WebKit.
897
898         * Source/cmake/OptionsWPE.cmake:
899
900 2017-09-20  Alberto Garcia  <berto@igalia.com>
901
902         Fix HPPA and Alpha builds
903         https://bugs.webkit.org/show_bug.cgi?id=177224
904
905         Reviewed by Alex Christensen.
906
907         * CMakeLists.txt:
908
909 2017-09-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
910
911         [CMake] Add ENABLE_WEB_CRYPTO option and make ENABLE_SUBTLE_CRYPTO depend on it.
912         https://bugs.webkit.org/show_bug.cgi?id=177180
913
914         Reviewed by Michael Catanzaro.
915
916         This adds a ENABLE_WEB_CRYPTO flag and makes ENABLE_SUBTLE_CRYPTO depend on it.
917         The GTK and WPE ports enable them and set ENABLE_WEB_CRYPTO to public.
918
919         * Source/cmake/OptionsGTK.cmake: Set both features to ON and ENABLE_WEB_CRYPTO to public. No change in behaviour for GTK.
920         * Source/cmake/OptionsWPE.cmake: Do like on the GTK port. The public flag is now ENABLE_WEB_CRYPTO.
921         * Source/cmake/WebKitFeatures.cmake: Add the definition of ENABLE_WEB_CRYPTO and make ENABLE_SUBTLE_CRYPTO depend on it.
922
923 2017-09-18  Michael Catanzaro  <mcatanzaro@igalia.com>
924
925         [CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit
926         https://bugs.webkit.org/show_bug.cgi?id=174558
927
928         Reviewed by Alex Christensen.
929
930         * CMakeLists.txt:
931         * Source/PlatformGTK.cmake:
932         * Source/cmake/OptionsGTK.cmake:
933         * Source/cmake/OptionsWPE.cmake:
934         * Source/cmake/WebKitCommon.cmake:
935         * Source/cmake/WebKitFS.cmake:
936
937 2017-09-18  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
938
939         [Win][PAL] Move WebCoreHeaderDetection.h to PAL
940         https://bugs.webkit.org/show_bug.cgi?id=176990
941
942         Reviewed by Alex Christensen.
943
944         Create DerivedSources directory for PAL if WebCore build is enabled.
945
946         * Source/cmake/WebKitCommon.cmake:
947         * Source/cmake/WebKitFS.cmake:
948
949 2017-09-15  Konstantin Tokarev  <annulen@yandex.ru>
950
951         Consider enabling -Wno-expansion-to-defined for gcc 7
952         https://bugs.webkit.org/show_bug.cgi?id=167643
953
954         Reviewed by Michael Catanzaro.
955
956         Don't disable -Wexpansion-to-defined for Clang.
957         As suggested by Nico Weber, this warning produces false positives with
958         GCC only.
959
960         * Source/cmake/WebKitCompilerFlags.cmake:
961
962 2017-09-14  Yousuke Kimoto  <yousuke.kimoto@sony.com>
963
964         [WinCairo] Add an option to build WebKitLegacy or WebKit
965         https://bugs.webkit.org/show_bug.cgi?id=176891
966
967         Added an option to build WebKitLegacy or WebKit.
968
969         Reviewed by Alex Christensen.
970
971         * Source/cmake/OptionsWin.cmake:
972
973 2017-09-13  Don Olmstead  <don.olmstead@sony.com>
974
975         [CMake] Detect harfbuzz without pkgconfig
976         https://bugs.webkit.org/show_bug.cgi?id=176886
977
978         Reviewed by Michael Catanzaro.
979
980         * Source/cmake/FindHarfBuzz.cmake:
981
982 2017-09-07  Adrian Perez de Castro  <aperez@igalia.com>
983
984         [WPE][CMake] Add "dist" and "distcheck" targets
985         https://bugs.webkit.org/show_bug.cgi?id=176448
986
987         Reviewed by Carlos Garcia Campos.
988
989         Add "dist" and "distcheck" CMake targets, which create release tarballs.
990         These are available only when configuring with -DDEVELOPER_MODE=TRUE.
991
992         * Source/PlatformWPE.cmake: Added.
993         * Source/cmake/FindXz.cmake: Added.
994
995 2017-09-05  Carlos Garcia Campos  <cgarcia@igalia.com>
996
997         [GTK] Wrong use of PLUGIN_ARCHITECTURE(X11) in several places
998         https://bugs.webkit.org/show_bug.cgi?id=176329
999
1000         Reviewed by Michael Catanzaro.
1001
1002         Only define MOZ_X11 if X11 target is enabled and always define XP_UNIX if NETSCAPE_PLUGIN_API is enabled.
1003
1004         * Source/cmake/OptionsGTK.cmake:
1005
1006 2017-09-03  Sam Weinig  <sam@webkit.org>
1007
1008         Remove CanvasProxy
1009         https://bugs.webkit.org/show_bug.cgi?id=176288
1010
1011         Reviewed by Yusuke Suzuki.
1012
1013         CanvasProxy does not appear to be in any current HTML spec
1014         and was disabled and unimplemented in our tree. Time to 
1015         get rid of it.
1016
1017         * Source/cmake/OptionsMac.cmake:
1018         * Source/cmake/OptionsWin.cmake:
1019         * Source/cmake/WebKitFeatures.cmake:
1020         * Source/cmake/tools/vsprops/FeatureDefines.props:
1021         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1022
1023 2017-08-31  Don Olmstead  <don.olmstead@sony.com>
1024
1025         [CMake] Make USE_CF conditional within Windows
1026         https://bugs.webkit.org/show_bug.cgi?id=176173
1027
1028         Reviewed by Alex Christensen.
1029
1030         * Source/cmake/OptionsAppleWin.cmake:
1031         * Source/cmake/OptionsWinCairo.cmake:
1032
1033 2017-08-30  Don Olmstead  <don.olmstead@sony.com>
1034
1035         [CMake][WinCairo] Use find_package for libpng and libjpeg
1036         https://bugs.webkit.org/show_bug.cgi?id=176113
1037
1038         Reviewed by Alex Christensen.
1039
1040         * Source/cmake/OptionsWinCairo.cmake:
1041
1042 2017-08-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1043
1044         [WPE] Enable MEMORY_SAMPLER
1045         https://bugs.webkit.org/show_bug.cgi?id=176099
1046
1047         Reviewed by Michael Catanzaro.
1048
1049         Enable the otion at build time by default on Linux (currently
1050         there are only Linux and Mac implementations of this feature).
1051
1052         * Source/cmake/OptionsWPE.cmake:
1053         * Source/cmake/OptionsGTK.cmake:
1054
1055 2017-08-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1056
1057         Unreviewed. Fix versions numbers after r221136.
1058
1059         We normally use .0 in trunk after branching, and bump to .1 when making the first unstable release. We also need
1060         to bump the library version.
1061
1062         * Source/cmake/OptionsGTK.cmake:
1063
1064 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
1065
1066         [CMake] Use find_package for zlib
1067         https://bugs.webkit.org/show_bug.cgi?id=176075
1068
1069         Reviewed by Alex Christensen.
1070
1071         * Source/cmake/OptionsAppleWin.cmake:
1072         * Source/cmake/OptionsWinCairo.cmake:
1073
1074 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
1075
1076         [CMake] Use find_package for libxml2 and libxstl
1077         https://bugs.webkit.org/show_bug.cgi?id=176042
1078
1079         Reviewed by Konstantin Tokarev.
1080
1081         * Source/cmake/OptionsAppleWin.cmake:
1082         * Source/cmake/OptionsWinCairo.cmake:
1083
1084 2017-08-24  Tomas Popela  <tpopela@redhat.com>
1085
1086         Bump trunk version to be 2.19.1
1087
1088         Rubber-stamped by Michael Catanzaro.
1089
1090         * Source/cmake/OptionsGTK.cmake:
1091
1092 2017-08-24  Don Olmstead  <don.olmstead@sony.com>
1093
1094         [CMake] Use find_package for SQLite
1095         https://bugs.webkit.org/show_bug.cgi?id=175803
1096
1097         Reviewed by Konstantin Tokarev.
1098
1099         * Source/cmake/OptionsAppleWin.cmake:
1100         * Source/cmake/OptionsWinCairo.cmake:
1101
1102 2017-08-23  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1103
1104         [GStreamer][GTK][WPE] Move common things to GStreamer cmake files
1105         https://bugs.webkit.org/show_bug.cgi?id=175625
1106
1107         Three files were created as kind of hooks for the GTK and WPE
1108         CMake option files. The definitions one is to enable, disable and
1109         create the common options (that can be and are actually overriden
1110         in some cases. The dependencies one adds dependencies for the
1111         option switches that are set. The checks one ensure the
1112         dependencies are met depending on the option switches.
1113
1114         Reviewed by Carlos Alberto Lopez Perez.
1115
1116         * Source/cmake/GStreamerChecks.cmake: Added.
1117         * Source/cmake/GStreamerDefinitions.cmake: Added.
1118         * Source/cmake/GStreamerDependencies.cmake: Added.
1119         * Source/cmake/OptionsGTK.cmake:
1120         * Source/cmake/OptionsWPE.cmake:
1121
1122 2017-08-22  Commit Queue  <commit-queue@webkit.org>
1123
1124         Unreviewed, rolling out r221006.
1125         https://bugs.webkit.org/show_bug.cgi?id=175821
1126
1127         generates build failures in the bots (Requested by calvaris[m]
1128         on #webkit).
1129
1130         Reverted changeset:
1131
1132         "[GStreamer][GTK][WPE] Move common things to GStreamer cmake
1133         files"
1134         https://bugs.webkit.org/show_bug.cgi?id=175625
1135         http://trac.webkit.org/changeset/221006
1136
1137 2017-08-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1138
1139         [GStreamer][GTK][WPE] Move common things to GStreamer cmake files
1140         https://bugs.webkit.org/show_bug.cgi?id=175625
1141
1142         Three files were created as kind of hooks for the GTK and WPE
1143         CMake option files. The definitions one is to enable, disable and
1144         create the common options (that can be and are actually overriden
1145         in some cases. The dependencies one adds dependencies for the
1146         option switches that are set. The checks one ensure the
1147         dependencies are met depending on the option switches.
1148
1149         Reviewed by Žan Doberšek.
1150
1151         * Source/cmake/GStreamerChecks.cmake: Added.
1152         * Source/cmake/GStreamerDefinitions.cmake: Added.
1153         * Source/cmake/GStreamerDependencies.cmake: Added.
1154         * Source/cmake/OptionsGTK.cmake:
1155         * Source/cmake/OptionsWPE.cmake:
1156
1157 2017-08-17  Andreas Kling  <akling@apple.com>
1158
1159         Disable CSS regions at compile time
1160         https://bugs.webkit.org/show_bug.cgi?id=175630
1161
1162         Reviewed by Antti Koivisto.
1163
1164         * Source/cmake/OptionsGTK.cmake:
1165         * Source/cmake/OptionsMac.cmake:
1166         * Source/cmake/OptionsWPE.cmake:
1167         * Source/cmake/OptionsWin.cmake:
1168         * Source/cmake/tools/vsprops/FeatureDefines.props:
1169         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1170
1171 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1172
1173         Remove Proximity Events and related code
1174         https://bugs.webkit.org/show_bug.cgi?id=175545
1175
1176         Reviewed by Daniel Bates.
1177
1178         No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
1179         and other related code.
1180
1181         * Source/cmake/OptionsMac.cmake:
1182         * Source/cmake/OptionsWin.cmake:
1183         * Source/cmake/WebKitFeatures.cmake:
1184         * Source/cmake/tools/vsprops/FeatureDefines.props:
1185         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1186
1187 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1188
1189         Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
1190         https://bugs.webkit.org/show_bug.cgi?id=175557
1191
1192         Reviewed by Jon Lee.
1193
1194         No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.
1195
1196         * Source/cmake/OptionsMac.cmake:
1197         * Source/cmake/OptionsWPE.cmake:
1198         * Source/cmake/OptionsWin.cmake:
1199         * Source/cmake/WebKitFeatures.cmake:
1200         * Source/cmake/tools/vsprops/FeatureDefines.props:
1201         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1202
1203 2017-08-14  Adrian Perez de Castro  <aperez@igalia.com>
1204
1205         [WPE] Implement WebCore::standardUserAgent()
1206         https://bugs.webkit.org/show_bug.cgi?id=175507
1207
1208         Reviewed by Michael Catanzaro.
1209
1210         Remove "_GLIB" from user-agent version macros.
1211
1212         * Source/cmake/OptionsGTK.cmake:
1213         * Source/cmake/OptionsWPE.cmake:
1214
1215 2017-08-13  Adrian Perez de Castro  <aperez@igalia.com>
1216
1217         [WPE] Implement WebCore::standardUserAgent()
1218         https://bugs.webkit.org/show_bug.cgi?id=175507
1219
1220         Reviewed by Carlos Alberto Lopez Perez.
1221
1222         Implement missing User-Agent handling for the WPE port by sharing the code with the GTK+ port.
1223
1224         * Source/cmake/OptionsGTK.cmake: Rename "GTK" with "GLIB" in UA version macros.
1225         * Source/cmake/OptionsWPE.cmake: Add UA version macros.
1226
1227 2017-08-11  Ryosuke Niwa  <rniwa@webkit.org>
1228
1229         Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
1230         https://bugs.webkit.org/show_bug.cgi?id=175474
1231         <rdar://problem/33844628>
1232
1233         Reviewed by Wenson Hsieh.
1234
1235         * Source/cmake/OptionsMac.cmake:
1236         * Source/cmake/OptionsWin.cmake:
1237         * Source/cmake/WebKitFeatures.cmake:
1238         * Source/cmake/tools/vsprops/FeatureDefines.props:
1239         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1240
1241 2017-08-11  Konstantin Tokarev  <annulen@yandex.ru>
1242
1243         [CMake] Fix broken use of REQUIRED with find modules
1244         https://bugs.webkit.org/show_bug.cgi?id=175427
1245
1246         Reviewed by Michael Catanzaro.
1247
1248         Module name passed to find_package_handle_standard_args() must exactly
1249         match file name of CMake find module including letter case, e.g. "WebP"
1250         must be used in FindWebP.cmake file. Otherwise find_package() arguments
1251         (REQUIRED, QUIET, version) are not processed correctly.
1252
1253         To continue using old XXX_FOUND variables without case changes porting
1254         to new find_package_handle_standard_args syntax which has FOUND_VAR
1255         parameter. Unfortunately, variable name GTK_UNIX_PRINT_FOUND is not
1256         allowed by find_package_handle_standard_args when package name is
1257         GTKUnixPrint, so it's replaced to GTKUnixPrint_FOUND (default).
1258
1259         * Source/cmake/FindGTKUnixPrint.cmake:
1260         * Source/cmake/FindGeoClue2.cmake:
1261         * Source/cmake/FindHyphen.cmake:
1262         * Source/cmake/FindLibEpoxy.cmake:
1263         * Source/cmake/FindLibGBM.cmake:
1264         * Source/cmake/FindLibsecret.cmake:
1265         * Source/cmake/FindLibtasn1.cmake:
1266         * Source/cmake/FindLibxkbcommon.cmake:
1267         * Source/cmake/FindOpenGL.cmake:
1268         * Source/cmake/FindOpenGLES2.cmake:
1269         * Source/cmake/FindOpenWebRTC.cmake:
1270         * Source/cmake/FindWPEBackend-mesa.cmake:
1271         * Source/cmake/FindWPEBackend.cmake:
1272         * Source/cmake/FindWayland.cmake:
1273         * Source/cmake/FindWebP.cmake:
1274         * Source/cmake/OptionsGTK.cmake:
1275
1276 2017-08-10  Michael Catanzaro  <mcatanzaro@igalia.com>
1277
1278         REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie
1279         https://bugs.webkit.org/show_bug.cgi?id=175426
1280
1281         Reviewed by Carlos Alberto Lopez Perez.
1282
1283         * Source/cmake/FindGeoClue2.cmake:
1284
1285 2017-08-10  Michael Catanzaro  <mcatanzaro@igalia.com>
1286
1287         Remove ENABLE_GAMEPAD_DEPRECATED
1288         https://bugs.webkit.org/show_bug.cgi?id=175361
1289
1290         Reviewed by Carlos Garcia Campos.
1291
1292         * Source/cmake/FindGUdev.cmake: Removed.
1293         * Source/cmake/OptionsGTK.cmake:
1294         * Source/cmake/OptionsMac.cmake:
1295         * Source/cmake/WebKitFeatures.cmake:
1296
1297 2017-08-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1298
1299         REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie
1300         https://bugs.webkit.org/show_bug.cgi?id=175426
1301
1302         Reviewed by Carlos Garcia Campos.
1303
1304         Fix the pkg-config file name.
1305         We really require geoclue-2.0 and not libgeoclue-2.0.
1306
1307         * Source/cmake/FindGeoClue2.cmake:
1308
1309 2017-08-09  Michael Catanzaro  <mcatanzaro@igalia.com>
1310
1311         [GTK] Remove support for geoclue1
1312         https://bugs.webkit.org/show_bug.cgi?id=164205
1313
1314         Reviewed by Carlos Garcia Campos.
1315
1316         * Source/cmake/FindGeoClue.cmake: Removed.
1317         * Source/cmake/OptionsGTK.cmake:
1318
1319 2017-08-09  Michael Catanzaro  <mcatanzaro@igalia.com>
1320
1321         [CMake] Remove unused find modules
1322         https://bugs.webkit.org/show_bug.cgi?id=175363
1323
1324         Reviewed by Carlos Alberto Lopez Perez.
1325
1326         * Source/cmake/FindCFLite.cmake: Removed.
1327         * Source/cmake/FindClang.cmake: Removed.
1328         * Source/cmake/FindDBus.cmake: Removed.
1329         * Source/cmake/FindDirectX.cmake: Removed.
1330         * Source/cmake/FindEspeak.cmake: Removed.
1331         * Source/cmake/FindQuickTimeSDK.cmake: Removed.
1332
1333 2017-08-09  Zan Dobersek  <zdobersek@igalia.com>
1334
1335         [WPE] Enable SUBTLE_CRYPTO in release builds
1336         https://bugs.webkit.org/show_bug.cgi?id=175371
1337
1338         Reviewed by Carlos Garcia Campos.
1339
1340         * Source/cmake/OptionsWPE.cmake:
1341         Use ON as the default port value for ENABLE_SUBTLE_CRYPTO in WPE.
1342
1343 2017-08-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1344
1345         [GTK] Enable SUBTLE_CRYPTO in GTK+ releases
1346         https://bugs.webkit.org/show_bug.cgi?id=172758
1347
1348         Reviewed by Žan Doberšek.
1349
1350         Add ENABLE_WEB_CRYPTO public option and make ENABLE_SUBTLE_CRYPTO depend on it.
1351
1352         * Source/cmake/OptionsGTK.cmake:
1353
1354 2017-08-08  Michael Catanzaro  <mcatanzaro@igalia.com>
1355
1356         [CMake] Properly test if compiler supports compiler flags
1357         https://bugs.webkit.org/show_bug.cgi?id=174490
1358
1359         Reviewed by Konstantin Tokarev.
1360
1361         This turned out to be a massive pain. I didn't want to merely check options before using
1362         them: I also wanted to organize the code to avoid setting similar flags in different places.
1363         Right now we set a bunch of global flags in OptionsCommon.cmake, and a bunch more flags in
1364         WEBKIT_SET_EXTRA_COMPILER_FLAGS on a per-target basis.
1365
1366         Setting flags per-target seems better in general, e.g. because it makes it very easy to
1367         disable warnings for particular ThirdParty targets. But it turns out that all the flags set
1368         on a per-target basis get passed to both the C compiler and the C++ compiler, so it's
1369         impossible to pass C++-only flags there. That's terrible. It's possible to make the flags
1370         language-conditional using generator expressions, but that doesn't work for the Visual
1371         Studio backend, so we would have to drop support for that (not going to happen). The CMake
1372         documentation suggests that C and C++ files ought to be built in separate targets to avoid
1373         this. It's a mess, basically.
1374
1375         So I've wound up removing WEBKIT_SET_EXTRA_COMPILER_FLAGS and adding most of those flags to
1376         CMAKE_C_FLAGS and CMAKE_CXX_FLAGS instead. Really the only disadvantage of this is we now
1377         have to suppress individual warnings when building ANGLESupport in WebCore. That's not the
1378         end of the world. The only remaining useful feature of WEBKIT_SET_EXTRA_COMPILER_FLAGS was
1379         to add -fPIC to static library targets, but turns out CMake does that for us if we just set
1380         the variable CMAKE_POSITION_INDEPENDENT_CODE, so we can get rid of it completely.
1381
1382         Of course there are also macros for setting target-specific compiler flags, which we
1383         frequently need in order to suppress specific warnings, particularly warnings coming from
1384         third-party libraries like ANGLE and gtest. But remember the footgun: these macros will test
1385         the flag against only one compiler, but must work with both C and C++ compilers unless the
1386         build target exclusively contains targets built with just one of those compilers. Yuck.
1387
1388         * CMakeLists.txt:
1389         * Source/CMakeLists.txt:
1390         * Source/PlatformGTK.cmake:
1391         * Source/cmake/OptionsCommon.cmake:
1392         * Source/cmake/WebKitCommon.cmake:
1393         * Source/cmake/WebKitCompilerFlags.cmake: Added.
1394         * Source/cmake/WebKitMacros.cmake:
1395
1396 2017-08-07  Brian Burg  <bburg@apple.com>
1397
1398         Remove CANVAS_PATH compilation guard
1399         https://bugs.webkit.org/show_bug.cgi?id=175207
1400
1401         Reviewed by Sam Weinig.
1402
1403         * Source/cmake/OptionsGTK.cmake:
1404         * Source/cmake/OptionsMac.cmake:
1405         * Source/cmake/OptionsWin.cmake:
1406         * Source/cmake/WebKitFeatures.cmake:
1407         * Source/cmake/tools/vsprops/FeatureDefines.props:
1408         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1409
1410 2017-08-03  Brian Burg  <bburg@apple.com>
1411
1412         Remove ENABLE(WEB_SOCKET) guards
1413         https://bugs.webkit.org/show_bug.cgi?id=167044
1414
1415         Reviewed by Joseph Pecoraro.
1416
1417         * Source/cmake/OptionsMac.cmake:
1418         * Source/cmake/OptionsWin.cmake:
1419         * Source/cmake/WebKitFeatures.cmake:
1420         * Source/cmake/tools/vsprops/FeatureDefines.props:
1421         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1422
1423 2017-08-03  Brady Eidson  <beidson@apple.com>
1424
1425         Add SW IDLs and stub out basic functionality.
1426         https://bugs.webkit.org/show_bug.cgi?id=175115
1427
1428         Reviewed by Chris Dumez.
1429
1430         * Source/cmake/WebKitFeatures.cmake:
1431         * Source/cmake/tools/vsprops/FeatureDefines.props:
1432         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1433
1434 2017-08-01  Brady Eidson  <beidson@apple.com>
1435
1436         Part 1 of: Rename DatabaseProcess to StorageProcess.
1437         https://bugs.webkit.org/show_bug.cgi?id=174879
1438
1439         Reviewed by Andy Estes.
1440
1441         * Source/cmake/OptionsWPE.cmake:
1442         * Source/cmake/gtksymbols.filter:
1443
1444 2017-08-01  Michael Catanzaro  <mcatanzaro@igalia.com>
1445
1446         [CMake] WebKitFS.cmake depends on options set in Option cmake files that are included later
1447         https://bugs.webkit.org/show_bug.cgi?id=174855
1448
1449         Reviewed by Carlos Garcia Campos.
1450
1451         Create derived sources directories in WebKitCommon.cmake instead of WebKitFS.cmake, which is
1452         too soon. I tried changing the include order, but other stuff in WebKitFS.cmake really is
1453         needed before including the port options file.
1454
1455         * Source/cmake/WebKitCommon.cmake:
1456         * Source/cmake/WebKitFS.cmake:
1457
1458 2017-07-29  Yusuke Suzuki  <utatane.tea@gmail.com>
1459
1460         Unreviewed, build fix for GTK and WPE about StorageProcess renaming
1461
1462         * Source/cmake/OptionsWPE.cmake:
1463
1464 2017-07-28  Commit Queue  <commit-queue@webkit.org>
1465
1466         Unreviewed, rolling out r219986.
1467         https://bugs.webkit.org/show_bug.cgi?id=174962
1468
1469         "broke PLT on iOS (rdar://problem/33602751)" (Requested by
1470         estes on #webkit).
1471
1472         Reverted changeset:
1473
1474         "Part 1 of: Rename DatabaseProcess to StorageProcess."
1475         https://bugs.webkit.org/show_bug.cgi?id=174879
1476         http://trac.webkit.org/changeset/219986
1477
1478 2017-07-28  Adrian Perez de Castro  <aperez@igalia.com>
1479
1480         [GTK] Building with ENABLE_VIDEO=OFF fails
1481         https://bugs.webkit.org/show_bug.cgi?id=174940
1482
1483         Reviewed by Alex Christensen.
1484
1485         Code guarded by ENABLE(MEDIA_STREAM) requires the definition of HTMLVideoElement to
1486         be available, which in turn is guarded by ENABLE(VIDEO).
1487
1488         * Source/cmake/WebKitFeatures.cmake: Make ENABLE_MEDIA_STREAM depend on ENABLE_VIDEO.
1489
1490 2017-07-28  Claudio Saavedra  <csaavedra@igalia.com>
1491
1492         [WPE] Implement EventSenderProxy in WTR
1493         https://bugs.webkit.org/show_bug.cgi?id=173419
1494
1495         Reviewed by Žan Doberšek.
1496
1497         Add the implementation of EventSenderProxy to the WTR. This
1498         allows us to extend the coverage of the test suite in WKWPE.
1499
1500         * Source/cmake/FindLibxkbcommon.cmake: Added.
1501
1502 2017-07-28  Zan Dobersek  <zdobersek@igalia.com>
1503
1504         Unreviewed. Bumping the patch version for WPEWebKit library to 20170728.
1505
1506         * Source/cmake/OptionsWPE.cmake:
1507
1508 2017-07-27  Brady Eidson  <beidson@apple.com>
1509
1510         Part 1 of: Rename DatabaseProcess to StorageProcess.
1511         https://bugs.webkit.org/show_bug.cgi?id=174879
1512
1513         Reviewed by Andy Estes.
1514
1515         * Source/cmake/OptionsWPE.cmake:
1516         * Source/cmake/gtksymbols.filter:
1517
1518
1519 2017-07-26  Brady Eidson  <beidson@apple.com>
1520
1521         Remove DATABASE_PROCESS build flag.
1522         https://bugs.webkit.org/show_bug.cgi?id=174868
1523
1524         Reviewed by Andy Estes.
1525
1526         * Source/cmake/OptionsGTK.cmake:
1527         * Source/cmake/OptionsMac.cmake:
1528         * Source/cmake/OptionsWPE.cmake:
1529         * Source/cmake/WebKitFeatures.cmake:
1530
1531 2017-07-26  Brian Burg  <bburg@apple.com>
1532
1533         Remove WEB_TIMING feature flag
1534         https://bugs.webkit.org/show_bug.cgi?id=174795
1535
1536         Reviewed by Alex Christensen.
1537
1538         * Source/cmake/OptionsWPE.cmake:
1539         * Source/cmake/OptionsWin.cmake:
1540         * Source/cmake/WebKitFeatures.cmake:
1541         * Source/cmake/tools/vsprops/FeatureDefines.props:
1542         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1543
1544 2017-07-26  Carlos Garcia Campos  <cgarcia@igalia.com>
1545
1546         Unreviewed. Fix WebKit2 derived sources directory creation after r219488.
1547
1548         The variable is still DERIVED_SOURCES_WEBKIT2_DIR, not DERIVED_SOURCES_WEBKIT_DIR. Build was not really affected
1549         because WebKit2 makefile creates the directory too.
1550
1551         * Source/cmake/WebKitFS.cmake:
1552
1553 2017-07-26  Carlos Garcia Campos  <cgarcia@igalia.com>
1554
1555         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.5 release.
1556
1557         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1558
1559 2017-07-25  Carlos Garcia Campos  <cgarcia@igalia.com>
1560
1561         Unreviewed. Fix GTK+ WebKit2 library soname after r219488.
1562
1563         The WebKit2 -> WebKit rename shouldn't affect the GTK+ library that is still called libwebkit2gtk, so keep using
1564         WEBKIT2 as the library name in CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE, since that's also what the WebKit
1565         makefile passes to WEBKIT_POPULATE_LIBRARY_VERSION.
1566
1567         * Source/cmake/OptionsGTK.cmake:
1568
1569 2017-07-24  Zan Dobersek  <zdobersek@igalia.com>
1570
1571         [WPE] Add libepoxy to the Jhbuild moduleset
1572         https://bugs.webkit.org/show_bug.cgi?id=174711
1573
1574         Reviewed by Carlos Alberto Lopez Perez.
1575
1576         libepoxy 1.3.1 that's widely available in current stable distributions (Debian stable,
1577         Ubuntu LTS) does suffice our needs, but also contains a bug that incorrectly determines
1578         the current EGL context and the API version of OpenGL that's bound to that context.
1579         Focusing on experiences on Debian systems, while the current stable Debian release has
1580         this bug patched, the package for the testing distribution of Debian removed that same
1581         patch for whatever reason, despite using the 1.3.1 version as the package basis.
1582
1583         To avoid this, libepoxy 1.4.3 is now added to WPE's Jhbuild moduleset. The WPE port
1584         also now demands at least the 1.4.0 version to be available when configuring.
1585
1586         We should revisit the minimum version for libepoxy in the future if the 1.3 release
1587         branch gets updated with the proper fix.
1588
1589         * Source/cmake/FindLibEpoxy.cmake:
1590         * Source/cmake/OptionsWPE.cmake:
1591
1592 2017-07-21  Konstantin Tokarev  <annulen@yandex.ru>
1593
1594        [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
1595
1596        macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
1597        U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
1598        explicitly, because ICU headers in the tree are not modified anymore.
1599
1600         * Source/cmake/OptionsJSCOnly.cmake:
1601         * Source/cmake/OptionsMac.cmake:
1602
1603 2017-07-17  Carlos Garcia Campos  <cgarcia@igalia.com>
1604
1605         Add initial implementation of WebDriver process to run the HTTP server
1606         https://bugs.webkit.org/show_bug.cgi?id=166682
1607
1608         Reviewed by Brian Burg.
1609
1610         Enable WebDriver in the GTK port by default.
1611
1612         * Source/CMakeLists.txt:
1613         * Source/cmake/OptionsGTK.cmake:
1614         * Source/cmake/WebKitFS.cmake:
1615         * Source/cmake/WebKitFeatures.cmake:
1616
1617 2017-07-17  Konstantin Tokarev  <annulen@yandex.ru>
1618
1619         [cmake] Set library types before their targets are created
1620         https://bugs.webkit.org/show_bug.cgi?id=174600
1621
1622         Reviewed by Michael Catanzaro.
1623
1624         Since r219560 library targets are created before PlatformXXX.cmake
1625         files are processed, however library type must be passed in
1626         add_library() call and cannot be changed afterwards. Set these
1627         variables in OptionsXXX.cmake.
1628
1629         * CMakeLists.txt:
1630         * Source/cmake/OptionsMac.cmake:
1631         * Source/cmake/OptionsWPE.cmake:
1632         * Source/cmake/OptionsWin.cmake:
1633
1634 2017-07-17  Michael Catanzaro  <mcatanzaro@igalia.com>
1635
1636         [CMake] Include most CMake modules from WebKitCommon.cmake
1637         https://bugs.webkit.org/show_bug.cgi?id=174546
1638
1639         Reviewed by Konstantin Tokarev.
1640
1641         * CMakeLists.txt:
1642         * Source/cmake/OptionsCommon.cmake:
1643         * Source/cmake/WebKitCommon.cmake:
1644         * Source/cmake/WebKitMacros.cmake:
1645
1646 2017-07-17  Michael Catanzaro  <mcatanzaro@igalia.com>
1647
1648         [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1649         https://bugs.webkit.org/show_bug.cgi?id=174547
1650
1651         Reviewed by Alex Christensen.
1652
1653         * Source/cmake/WebKitMacros.cmake:
1654
1655 2017-07-17  Konstantin Tokarev  <annulen@yandex.ru>
1656
1657         [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
1658         https://bugs.webkit.org/show_bug.cgi?id=174557
1659
1660         Reviewed by Michael Catanzaro.
1661
1662         * Source/cmake/WebKitMacros.cmake:
1663
1664 2017-07-16  Michael Catanzaro  <mcatanzaro@igalia.com>
1665
1666         [CMake] Raise minimum CMake requirement
1667         https://bugs.webkit.org/show_bug.cgi?id=174545
1668
1669         Reviewed by Konstantin Tokarev.
1670
1671         * CMakeLists.txt:
1672         * Source/cmake/OptionsCommon.cmake:
1673         * Source/cmake/OptionsGTK.cmake:
1674         * Source/cmake/OptionsJSCOnly.cmake:
1675
1676 2017-07-14  Michael Catanzaro  <mcatanzaro@igalia.com>
1677
1678         [CMake] Unclear distinction between WebKitHelpers and WebKitMacros
1679         https://bugs.webkit.org/show_bug.cgi?id=153189
1680
1681         Reviewed by Antonio Gomes.
1682
1683         Merge WebKitHelpers.cmake into WebKitMacros.cmake, since there is no meaningful distinction
1684         between the macros that belong in each file. Then, move the macros that are only needed by
1685         one project into project-specific CMake files. Retain here only the macros that are needed
1686         in multiple places.
1687
1688         * Source/cmake/OptionsCommon.cmake: Update a comment.
1689         * Source/cmake/OptionsGTK.cmake: New location for libtool macro, exclusively needed here.
1690         * Source/cmake/WebKitCommon.cmake: Do not include WebKitHelpers.cmake.
1691         * Source/cmake/WebKitHelpers.cmake: Removed.
1692         * Source/cmake/WebKitMacros.cmake:
1693
1694 2017-07-13  Michael Catanzaro  <mcatanzaro@igalia.com>
1695
1696         [GTK][WPE] Avoid setting settings that are set by default
1697
1698         Unreviewed.
1699
1700         * Source/cmake/OptionsGTK.cmake:
1701         * Source/cmake/OptionsWPE.cmake:
1702
1703 2017-07-13  Konstantin Tokarev  <annulen@ynadex.ru>
1704
1705         Unreviewed, Windows ports should enable WebKitLegacy and disable
1706         WebKit.
1707
1708         * Source/cmake/OptionsWin.cmake:
1709
1710 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
1711
1712         Fix the Mac CMake build.
1713
1714         Unreviewed build fix.
1715
1716         Fix the Mac CMake build after r219488 broke it. r219488 erroneously updated
1717         the variable name DERIVED_SOURCES_WEBKITLEGACY_DIR to DERIVED_SOURCES_WEBKIT_LEGACY_DIR
1718         without updating subsequent users of that variable.
1719
1720         * Source/cmake/WebKitFS.cmake:
1721         Rename DERIVED_SOURCES_WEBKIT_LEGACY_DIR back to DERIVED_SOURCES_WEBKITLEGACY_DIR.
1722
1723 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
1724
1725         Fix the cMake builds (GTK and WPE.)
1726         https://bugs.webkit.org/show_bug.cgi?id=174164
1727         rdar://problem/33137595
1728
1729         Reviewed by Dan Bernstein.
1730
1731         * Source/CMakeLists.txt:
1732         * Source/cmake/OptionsGTK.cmake:
1733         * Source/cmake/OptionsJSCOnly.cmake:
1734         * Source/cmake/OptionsMac.cmake:
1735         * Source/cmake/OptionsWPE.cmake:
1736         * Source/cmake/WebKitFS.cmake:
1737         * Source/cmake/WebKitPackaging.cmake:
1738
1739 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
1740
1741         Rename WebKit2.xcodeproj to WebKit.xcodeproj.
1742         https://bugs.webkit.org/show_bug.cgi?id=174164
1743         rdar://problem/33137595
1744
1745         Reviewed by Dan Bernstein.
1746
1747         * WebKit.xcworkspace/contents.xcworkspacedata:
1748         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1749
1750 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
1751
1752         Update tools and configurations after renaming Source/WebKit2 to Source/WebKit.
1753         https://bugs.webkit.org/show_bug.cgi?id=174164
1754         rdar://problem/33137595
1755
1756         Reviewed by Dan Bernstein.
1757
1758         * Source/Makefile:
1759         * Source/PlatformGTK.cmake:
1760         * Source/cmake/OptionsGTK.cmake:
1761         * Source/cmake/WebKitFS.cmake:
1762         * Source/cmake/WebKitPackaging.cmake:
1763         * WebKit.xcworkspace/contents.xcworkspacedata:
1764         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1765
1766 2017-07-05  Matthew Hanson  <matthew_hanson@apple.com>
1767
1768         Update the Xcode project name from WebKit to WebKitLegacy.
1769         https://bugs.webkit.org/show_bug.cgi?id=174162
1770         rdar://problem/33137594
1771
1772         Reviewed by Dan Bernstein.
1773
1774         Rename WebKit to WebKitLegacy.
1775
1776         * WebKit.xcworkspace/contents.xcworkspacedata:
1777         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1778
1779 2017-07-05  Matthew Hanson  <matthew_hanson@apple.com>
1780
1781         Update tools and configurations after renaming Source/WebKit to Source/WebKitLegacy.
1782         https://bugs.webkit.org/show_bug.cgi?id=174162
1783         rdar://problem/33137594
1784
1785         Reviewed by Dan Bernstein.
1786
1787         Mass rename of Source/WebKit to Source/WebKitLegacy in OpenSource cmake files
1788         and Xcode project files.
1789
1790         * Source/cmake/OptionsGTK.cmake:
1791         * Source/cmake/WebKitFS.cmake:
1792         * WebKit.xcworkspace/contents.xcworkspacedata:
1793         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
1794
1795 2017-07-13  Michael Catanzaro  <mcatanzaro@igalia.com>
1796
1797         Fix compiler warnings when building with GCC 7
1798         https://bugs.webkit.org/show_bug.cgi?id=174463
1799
1800         Reviewed by Darin Adler.
1801
1802         * Source/cmake/OptionsCommon.cmake:
1803
1804 2017-07-12  Matt Lewis  <jlewis3@apple.com>
1805
1806         Unreviewed, rolling out r219401.
1807
1808         This revision rolled out the previous patch, but after talking
1809         with reviewer, a rebaseline is what was needed.Rolling back in
1810         before rebaseline.
1811
1812         Reverted changeset:
1813
1814         "Unreviewed, rolling out r219379."
1815         https://bugs.webkit.org/show_bug.cgi?id=174400
1816         http://trac.webkit.org/changeset/219401
1817
1818 2017-07-12  Matt Lewis  <jlewis3@apple.com>
1819
1820         Unreviewed, rolling out r219379.
1821
1822         This revision caused a consistent failure in the test
1823         fast/dom/Window/property-access-on-cached-window-after-frame-
1824         removed.html.
1825
1826         Reverted changeset:
1827
1828         "Remove NAVIGATOR_HWCONCURRENCY"
1829         https://bugs.webkit.org/show_bug.cgi?id=174400
1830         http://trac.webkit.org/changeset/219379
1831
1832 2017-07-12  Zan Dobersek  <zdobersek@igalia.com>
1833
1834         [WPE] Use libepoxy
1835         https://bugs.webkit.org/show_bug.cgi?id=172104
1836
1837         Reviewed by Michael Catanzaro.
1838
1839         * Source/cmake/FindLibEpoxy.cmake: Added.
1840         * Source/cmake/OptionsWPE.cmake: Find libepoxy, don't search for
1841         EGL or OpenGL ES anymore, and enable USE_LIBEPOXY by default.
1842
1843 2017-07-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1844
1845         [GTK][WPE] Enable FILE_LOCK and implement lockFile and unlockFile
1846         https://bugs.webkit.org/show_bug.cgi?id=174357
1847
1848         Reviewed by Michael Catanzaro.
1849
1850         * Source/cmake/OptionsGTK.cmake: Use gio-unix unconditionally.
1851
1852 2017-07-11  Dean Jackson  <dino@apple.com>
1853
1854         Remove NAVIGATOR_HWCONCURRENCY
1855         https://bugs.webkit.org/show_bug.cgi?id=174400
1856
1857         Reviewed by Sam Weinig.
1858
1859         * Source/cmake/OptionsMac.cmake:
1860         * Source/cmake/WebKitFeatures.cmake:
1861
1862 2017-07-11  Dean Jackson  <dino@apple.com>
1863
1864         Rolling out r219372.
1865
1866         * Source/cmake/OptionsMac.cmake:
1867         * Source/cmake/WebKitFeatures.cmake:
1868
1869 2017-07-11  Dean Jackson  <dino@apple.com>
1870
1871         Remove NAVIGATOR_HWCONCURRENCY
1872         https://bugs.webkit.org/show_bug.cgi?id=174400
1873
1874         Reviewed by Sam Weinig.
1875
1876         * Source/cmake/OptionsMac.cmake:
1877         * Source/cmake/WebKitFeatures.cmake:
1878
1879 2017-07-03  Brian Burg  <bburg@apple.com>
1880
1881         Web Replay: remove some unused code
1882         https://bugs.webkit.org/show_bug.cgi?id=173903
1883
1884         Rubber-stamped by Joseph Pecoraro.
1885
1886         * ManualTests/inspector/replay-keyboard-events.html: Removed.
1887         * ManualTests/inspector/replay-mouse-events.html: Removed.
1888         * ManualTests/inspector/replay-wheel-events.html: Removed.
1889         * ManualTests/inspector/replay-window-navigator-basic.html: Removed.
1890         * ManualTests/inspector/replay-window-screen.html: Removed.
1891         * Source/cmake/OptionsMac.cmake:
1892         * Source/cmake/WebKitFeatures.cmake:
1893
1894 2017-07-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1895
1896         Move make-js-file-arrays.py from WebCore to JavaScriptCore
1897         https://bugs.webkit.org/show_bug.cgi?id=174024
1898
1899         Reviewed by Michael Catanzaro.
1900
1901         Make MAKE_JS_FILE_ARRAYS independent of WebCore and update it to use make-js-file-arrays.py from
1902         JavaScriptCore. It's no longer needed to set PYTHON_PATH to find jsmin.py.
1903
1904         * Source/cmake/WebKitMacros.cmake:
1905
1906 2017-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
1907
1908         Drop NOSNIFF compile flag
1909         https://bugs.webkit.org/show_bug.cgi?id=174289
1910
1911         Reviewed by Michael Catanzaro.
1912
1913         * Source/cmake/WebKitFeatures.cmake:
1914
1915 2017-07-07  Yusuke Suzuki  <utatane.tea@gmail.com>
1916
1917         [GTK][WPE] Enable X-Content-Type-Options: nosniff
1918         https://bugs.webkit.org/show_bug.cgi?id=174250
1919
1920         Reviewed by Carlos Alberto Lopez Perez.
1921
1922         Make nosniff enabled by default in all the ports.
1923
1924         * Source/cmake/OptionsMac.cmake:
1925         * Source/cmake/OptionsWin.cmake:
1926         * Source/cmake/WebKitFeatures.cmake:
1927
1928 2017-07-06  Stephan Szabo  <stephan.szabo@sony.com>
1929
1930         [Win] Build precompiled header successfully with clang-cl
1931         https://bugs.webkit.org/show_bug.cgi?id=174221
1932
1933         Reviewed by Alex Christensen.
1934
1935         * Source/cmake/WebKitMacros.cmake:
1936
1937 2017-07-05  Yusuke Suzuki  <utatane.tea@gmail.com>
1938
1939         Upgrade GCC baseline
1940         https://bugs.webkit.org/show_bug.cgi?id=174155
1941
1942         Reviewed by Michael Catanzaro.
1943
1944         This patch bumps the version of GCC from 4.9.0 to 5.0.0,
1945         which is shipped with Ubuntu 16.04 LTS. And the latest
1946         Debian stable (stretch) already ships newer GCC (6.3.0).
1947         Remove workaround for old GCC. And move GCC version check
1948         to the top-level CMakeLists.txt.
1949
1950         * CMakeLists.txt:
1951         * Source/cmake/OptionsGTK.cmake:
1952         * Source/cmake/WebKitHelpers.cmake:
1953
1954 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
1955
1956         [WinCairo] Consolidate CMake code related to CURL
1957         https://bugs.webkit.org/show_bug.cgi?id=170860
1958
1959         Reviewed by Alex Christensen.
1960
1961         * Source/cmake/OptionsWinCairo.cmake:
1962
1963 2017-06-28  Stephan Szabo  <stephan.szabo@am.sony.com>
1964
1965         [Win] Build JSCOnly on Windows with clang-cl
1966         https://bugs.webkit.org/show_bug.cgi?id=173889
1967
1968         Reviewed by Konstantin Tokarev.
1969
1970         * CMakeLists.txt:
1971         * Source/cmake/OptionsCommon.cmake:
1972         * Source/cmake/OptionsMSVC.cmake:
1973
1974 2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1975
1976         [WPE] User script messages don't work
1977         https://bugs.webkit.org/show_bug.cgi?id=173712
1978
1979         Reviewed by Žan Doberšek.
1980
1981         Enable user script messages.
1982
1983         * Source/cmake/OptionsWPE.cmake:
1984
1985 2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1986
1987         [WPE] Enable PUBLIC_SUFFIX_LIST
1988         https://bugs.webkit.org/show_bug.cgi?id=173758
1989
1990         Reviewed by Žan Doberšek.
1991
1992         WebsiteDataStore needs it when fetching data.
1993
1994         Fixes: /wpe/WebKitCookieManager/accept-policy
1995                /wpe/WebKitCookieManager/delete-cookies
1996                /wpe/WebKitCookieManager/cookies-changed
1997                /wpe/WebKitCookieManager/persistent-storage
1998                /wpe/WebKitCookieManager/ephemeral
1999                /wpe/WebKitWebsiteData/ephemeral
2000                /wpe/WebKitWebsiteData/cache
2001                /wpe/WebKitWebsiteData/storage
2002                /wpe/WebKitWebsiteData/databases
2003                /wpe/WebKitWebsiteData/appcache
2004                /wpe/WebKitWebsiteData/cookies
2005
2006         * Source/cmake/OptionsWPE.cmake:
2007
2008 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2009
2010         [WPE] Add initial web extensions API
2011         https://bugs.webkit.org/show_bug.cgi?id=173640
2012
2013         Reviewed by Žan Doberšek.
2014
2015         * Source/cmake/OptionsWPE.cmake:
2016
2017 2017-06-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2018
2019         [MSVC] Fix compilation in CP932 (Shift_JIS) environment
2020         https://bugs.webkit.org/show_bug.cgi?id=173638
2021
2022         Reviewed by Alex Christensen.
2023
2024         Give "/utf-8 /validate-charset" options to the MSVC compiler
2025         to specify the source code encoding.
2026
2027         * Source/cmake/OptionsMSVC.cmake:
2028
2029 2017-06-21  Miguel Gomez  <magomez@igalia.com>
2030
2031         [GTK] Fix the condition to enable/disable GSTREAMER_GL
2032         https://bugs.webkit.org/show_bug.cgi?id=173650
2033
2034         Reviewed by Carlos Garcia Campos.
2035
2036         If GSTREAMER_GL is enabled, check for the GStreamer version. If the version is < 1.10, disable
2037         GSTREAMER_GL and continue. If the version is >= 1.10 but there's no gstreamer-gl package available
2038         then fail.
2039
2040         * Source/cmake/FindGStreamer.cmake:
2041         * Source/cmake/OptionsGTK.cmake:
2042
2043 2017-06-21  Miguel Gomez  <magomez@igalia.com>
2044
2045         [GTK] Enable GStreamer GL by default on production builds
2046         https://bugs.webkit.org/show_bug.cgi?id=173406
2047
2048         Reviewed by Carlos Garcia Campos.
2049
2050         Enable GStreamer GL by default when the GStreamer version >= 1.10.
2051
2052         * Source/cmake/OptionsGTK.cmake:
2053
2054 2017-06-21  Carlos Garcia Campos  <cgarcia@igalia.com>
2055
2056         [GTK] Move WebGtkExtensionManager and WebGtkInjectedBundleMain to glib API dir
2057         https://bugs.webkit.org/show_bug.cgi?id=173606
2058
2059         Reviewed by Žan Doberšek.
2060
2061         Update public symbols that were renamed.
2062
2063         * Source/cmake/gtksymbols.filter:
2064
2065 2017-06-20  Zan Dobersek  <zdobersek@igalia.com>
2066
2067         [GCrypt] Implement CryptoKeyEC SPKI imports
2068         https://bugs.webkit.org/show_bug.cgi?id=172927
2069
2070         Reviewed by Jiewen Tan, Michael Catanzaro and Carlos Garcia Campos.
2071
2072         * Source/cmake/FindLibtasn1.cmake: Added.
2073         * Source/cmake/OptionsGTK.cmake: Require libtasn1 when SUBTLE_CRYPTO is enabled.
2074         * Source/cmake/OptionsWPE.cmake: Ditto.
2075
2076 2017-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2077
2078         [WPE] Add initial implementation of glib API
2079         https://bugs.webkit.org/show_bug.cgi?id=173546
2080
2081         Reviewed by Žan Doberšek.
2082
2083         Add some definitions required to build WPE glib API.
2084
2085         * Source/cmake/OptionsWPE.cmake:
2086
2087 2017-06-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2088
2089         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.4 release.
2090
2091         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2092
2093 2017-06-16  Alex Christensen  <achristensen@webkit.org>
2094
2095         Fix Mac CMake build.
2096
2097         * Source/cmake/WebKitFS.cmake:
2098         Add new DerivedSources/WTF directory.
2099
2100 2017-06-15  Konstantin Tokarev  <annulen@yandex.ru>
2101
2102         [cmake] ADD_PRECOMPILED_HEADER should append OBJECT_DEPENDS, not overwrite it
2103         https://bugs.webkit.org/show_bug.cgi?id=173428
2104
2105         Reviewed by Michael Catanzaro.
2106
2107         Right now, if any of source files that are passed to
2108         ADD_PRECOMPILED_HEADER have non-empty OBJECT_DEPENDS property (e.g.
2109         changed with ADD_SOURCE_DEPENDENCIES call), its value is lost.
2110
2111         * Source/cmake/WebKitMacros.cmake:
2112
2113 2017-06-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2114
2115         [GTK] Do not use the C API in WebGtkExtensionManager
2116         https://bugs.webkit.org/show_bug.cgi?id=173408
2117
2118         Reviewed by Michael Catanzaro.
2119
2120         Update exported symbol signature.
2121
2122         * Source/cmake/gtksymbols.filter:
2123
2124 2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
2125
2126         [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
2127         https://bugs.webkit.org/show_bug.cgi?id=173103
2128
2129         Reviewed by Xabier Rodriguez-Calvar.
2130
2131         * Source/cmake/OptionsWPE.cmake: Expose the ENABLE_ENCRYPTED_MEDIA
2132         configuration option, keeping it disabled by default.
2133
2134 2017-06-09  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2135
2136         [GStreamer][EME] Remove the legacy code that was not even official and is deprecated
2137         https://bugs.webkit.org/show_bug.cgi?id=173096
2138
2139         Reviewed by Žan Doberšek.
2140
2141         * Source/cmake/OptionsWPE.cmake: Remove LEGACY_ENCRYPTED_MEDIA support
2142
2143 2017-06-07  Ryosuke Niwa  <rniwa@webkit.org>
2144
2145         IsInShadowTreeFlag does not get updated for a non-container node
2146         https://bugs.webkit.org/show_bug.cgi?id=173084
2147
2148         Reviewed by Antti Koivisto.
2149
2150         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2151
2152 2017-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2153
2154         [WPE] Enable resource usage
2155         https://bugs.webkit.org/show_bug.cgi?id=173054
2156
2157         Reviewed by Žan Doberšek.
2158
2159         Add private option for resource usage enabled by default.
2160
2161         * Source/cmake/OptionsWPE.cmake:
2162
2163 2017-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2164
2165         Remove legacy INSPECTOR_SERVER implementation
2166         https://bugs.webkit.org/show_bug.cgi?id=172966
2167
2168         Reviewed by Žan Doberšek.
2169
2170         * Source/PlatformWin.cmake:
2171
2172 2017-06-07  Loïc Yhuel  <loic.yhuel@softathome.com>
2173
2174         [CMake] Only force response files for Ninja with CMake < 3.2 on Linux
2175         https://bugs.webkit.org/show_bug.cgi?id=173066
2176
2177         Reviewed by Michael Catanzaro.
2178
2179         CMake automatically uses response files when needed, but the limit was
2180         wrong on Linux before 3.2.
2181
2182         * Source/cmake/OptionsCommon.cmake:
2183
2184 2017-06-07  Zan Dobersek  <zdobersek@igalia.com>
2185
2186         [GCrypt] RSA-PSS support
2187         https://bugs.webkit.org/show_bug.cgi?id=172856
2188
2189         Reviewed by Jiewen Tan.
2190
2191         * Source/cmake/OptionsGTK.cmake: Set and expose the USE_GCRYPT preprocessor macro when
2192         SUBTLE_CRYPTO is enabled.
2193         * Source/cmake/OptionsWPE.cmake: Match the GTK+ port in demanding at least version 1.7.0
2194         of libgcrypt. Also set and expose the USE_GCRYPT preprocessor macro.
2195
2196 2017-06-06  Carlos Garcia Campos  <cgarcia@igalia.com>
2197
2198         [WPE] Enable remote inspector
2199         https://bugs.webkit.org/show_bug.cgi?id=172971
2200
2201         Reviewed by Žan Doberšek.
2202
2203         Add private option for remote inspector enabled by default.
2204
2205         * Source/cmake/OptionsWPE.cmake:
2206
2207 2017-06-02  Stephan Szabo  <stephan.szabo@am.sony.com>
2208
2209         [JSCOnly] Build static jsc.exe on Windows
2210         https://bugs.webkit.org/show_bug.cgi?id=172833
2211
2212         Reviewed by Konstantin Tokarev.
2213
2214         * Source/cmake/OptionsJSCOnly.cmake:
2215
2216 2017-05-31  Adrian Perez de Castro  <aperez@igalia.com>
2217
2218         [CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0
2219         https://bugs.webkit.org/show_bug.cgi?id=172750
2220
2221         Reviewed by Michael Catanzaro.
2222
2223         * Source/cmake/OptionsCommon.cmake:
2224
2225 2017-05-31  Adrian Perez de Castro  <aperez@igalia.com>
2226
2227         Consider enabling -Wno-expansion-to-defined for gcc 7
2228         https://bugs.webkit.org/show_bug.cgi?id=167643
2229
2230         Reviewed by Žan Doberšek.
2231
2232         * Source/cmake/OptionsCommon.cmake: Pass -Wno-expansion-to-defined to
2233         GCC, the flag is supported all the way back to version 4.9, which is
2234         the oldest we support
2235
2236 2017-05-26  Don Olmstead  <don.olmstead@am.sony.com>
2237
2238         [CMake] Wrap CODE_GENERATOR_PREPROCESSOR_EXECUTABLE on Windows hosts
2239         https://bugs.webkit.org/show_bug.cgi?id=172553
2240
2241         Reviewed by Brent Fulgham.
2242
2243         * Source/cmake/OptionsCommon.cmake:
2244
2245 2017-05-26  Adrian Perez de Castro  <aperez@igalia.com>
2246
2247         [CMake] Pass -fdiagnostics-color=always to GCC when building with Ninja
2248         https://bugs.webkit.org/show_bug.cgi?id=172638
2249
2250         Reviewed by Yusuke Suzuki.
2251
2252         The oldest version of GCC supported for building WebKit is 4.9, which already accepts
2253         -fdiagnostics-color=, therefore it is not needed to check the compiler version.
2254
2255         * Source/cmake/OptionsCommon.cmake:
2256
2257 2017-05-25  Don Olmstead  <don.olmstead@am.sony.com>
2258
2259         [CMake][Win] Use WTF_CPU not MSCV_CXX_ARCHITECTURE_ID when determining lib directories
2260         https://bugs.webkit.org/show_bug.cgi?id=172570
2261
2262         Reviewed by Per Arne Vollan.
2263
2264         * Source/cmake/OptionsWin.cmake:
2265
2266 2017-05-24  Don Olmstead  <don.olmstead@am.sony.com>
2267
2268         [CMake] Consolidate CMake code related to Cairo
2269         https://bugs.webkit.org/show_bug.cgi?id=172568
2270
2271         Reviewed by Alex Christensen.
2272
2273         * Source/cmake/OptionsGTK.cmake:
2274         * Source/cmake/OptionsWPE.cmake:
2275         * Source/cmake/OptionsWinCairo.cmake:
2276
2277 2017-05-23  Myles C. Maxfield  <mmaxfield@apple.com>
2278
2279         Remove dead ENABLE(FONT_LOAD_EVENTS) code
2280         https://bugs.webkit.org/show_bug.cgi?id=172517
2281
2282         Rubber-stamped by Simon Fraser.
2283
2284         * Source/cmake/OptionsMac.cmake:
2285         * Source/cmake/WebKitFeatures.cmake:
2286
2287 2017-05-22  Gwang Yoon Hwang  <yoon@igalia.com>
2288
2289         [CMake] Do not use a --no-keep-memory linker flag in 64bit system
2290         https://bugs.webkit.org/show_bug.cgi?id=172429
2291
2292         Reviewed by Michael Catanzaro.
2293
2294         * Source/cmake/OptionsCommon.cmake:
2295         In x86_64, cmake accidentally applies --no-keep-memory since MATCHES
2296         uses the given value as a regex. It reduces linking performance
2297         due to the frequent disk operations in x86_64.
2298
2299 2017-05-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2300
2301         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.3 release.
2302
2303         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2304
2305 2017-05-22  Don Olmstead  <don.olmstead@am.sony.com>
2306
2307         [Win][CMake] Move MSVC compiler options to a common location
2308         https://bugs.webkit.org/show_bug.cgi?id=172230
2309
2310         Reviewed by Yusuke Suzuki.
2311
2312         * Source/cmake/OptionsMSVC.cmake: Added.
2313         * Source/cmake/OptionsWin.cmake:
2314
2315 2017-05-19  Don Olmstead  <don.olmstead@am.sony.com>
2316
2317         [CMake] Add HAVE check for __int128_t
2318         https://bugs.webkit.org/show_bug.cgi?id=172317
2319
2320         Reviewed by Yusuke Suzuki.
2321
2322         * Source/cmake/OptionsCommon.cmake:
2323
2324 2017-05-16  Zan Dobersek  <zdobersek@igalia.com>
2325
2326         [WPE] Set and expose ENABLE_DEVELOPER_MODE in build when DEVELOPER_MODE is enabled
2327         https://bugs.webkit.org/show_bug.cgi?id=172159
2328
2329         Reviewed by Carlos Garcia Campos.
2330
2331         * Source/cmake/OptionsWPE.cmake: Expose the ENABLE_DEVELOPER_MODE macro
2332         when the DEVELOPER_MODE configuration options is enabled.
2333
2334 2017-05-11  Don Olmstead  <don.olmstead@am.sony.com>
2335
2336         [CMake] Add HAVE check for regex.h
2337         https://bugs.webkit.org/show_bug.cgi?id=171950
2338
2339         Reviewed by Michael Catanzaro.
2340
2341         * Source/cmake/OptionsCommon.cmake:
2342
2343 2017-05-11  Joseph Pecoraro  <pecoraro@apple.com>
2344
2345         Remove Vibration API
2346         https://bugs.webkit.org/show_bug.cgi?id=171766
2347
2348         Rubber-stamped by Alexey Proskuryakov.
2349
2350         * Source/cmake/WebKitFeatures.cmake:
2351
2352 2017-05-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2353
2354         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.2 release.
2355
2356         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2357
2358 2017-05-10  Don Olmstead  <don.olmstead@am.sony.com>
2359
2360         [Win] Specify source file type when preprocessing IDL files
2361         https://bugs.webkit.org/show_bug.cgi?id=171864
2362
2363         Reviewed by Alex Christensen.
2364
2365         * Source/cmake/OptionsCommon.cmake:
2366
2367 2017-05-10  Adrian Perez de Castro  <aperez@igalia.com>
2368
2369         Remove some last remnants of the EFL port
2370         https://bugs.webkit.org/show_bug.cgi?id=171922
2371
2372         Reviewed by Antonio Gomes.
2373
2374         The EFL port is no more.
2375
2376         * Source/PlatformEfl.cmake: Removed.
2377
2378 2017-05-10  Zan Dobersek  <zdobersek@igalia.com>
2379
2380         Enable FTL JIT by default on AArch64
2381         https://bugs.webkit.org/show_bug.cgi?id=144039
2382
2383         Reviewed by Yusuke Suzuki.
2384
2385         * Source/cmake/OptionsWPE.cmake:
2386         * Source/cmake/WebKitFeatures.cmake: Set FTL as enabled by default
2387         when targeting either WTF_CPU_X86_64 or WTF_CPU_ARM64.
2388
2389 2017-05-09  Zan Dobersek  <zdobersek@igalia.com>
2390
2391         Upstream the WPE port
2392         https://bugs.webkit.org/show_bug.cgi?id=171110
2393
2394         Reviewed by Alex Christensen.
2395
2396         webkit-dev thread:
2397         https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html
2398
2399         * CMakeLists.txt: Add the WPE port identifier.
2400         * Source/cmake/FindLibGBM.cmake: Added.
2401         * Source/cmake/FindWPEBackend-mesa.cmake: Added.
2402         * Source/cmake/FindWPEBackend.cmake: Added.
2403         * Source/cmake/OptionsWPE.cmake: Added.
2404
2405 2017-05-04  Commit Queue  <commit-queue@webkit.org>
2406
2407         Unreviewed, rolling out r216206.
2408         https://bugs.webkit.org/show_bug.cgi?id=171714
2409
2410         Multiple LayoutTests crashing in Document::page() (Requested
2411         by ap on #webkit).
2412
2413         Reverted changeset:
2414
2415         "Remove support for legacy Notifications"
2416         https://bugs.webkit.org/show_bug.cgi?id=171487
2417         http://trac.webkit.org/changeset/216206
2418
2419 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
2420
2421         [Win] Remove redundant macros that are set in the CMake config
2422         https://bugs.webkit.org/show_bug.cgi?id=171571
2423
2424         Reviewed by Brent Fulgham.
2425
2426         * Source/cmake/OptionsWin.cmake:
2427
2428 2017-05-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2429
2430         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.17.1 release.
2431
2432         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2433
2434 2017-05-01  Aakash Jain  <aakash_jain@apple.com>
2435
2436         fix check-webkit-style errors in webkitpy about two blank lines before class definitions
2437         https://bugs.webkit.org/show_bug.cgi?id=171509
2438
2439         Reviewed by Alexey Proskuryakov.
2440
2441         * Scripts/webkitpy/common/config/committers.py: Added two blank lines before class definition.
2442         * Scripts/webkitpy/layout_tests/models/test_run_results.py: Ditto.
2443         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Ditto.
2444         * Scripts/webkitpy/port/base_unittest.py: Ditto.
2445         * Scripts/webkitpy/port/device.py: Ditto.
2446         * Scripts/webkitpy/port/linux_get_crash_log.py: Ditto.
2447         * Scripts/webkitpy/style/checkers/featuredefines.py: Ditto.
2448         * Scripts/webkitpy/style/checkers/jsonchecker.py: Ditto.
2449         * Scripts/webkitpy/tool/bot/patchanalysistask.py: Ditto.
2450         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Ditto.
2451         (ManagerTest.test_uses_custom_device.MockCustomDevicePort): Added blank line before method.
2452         (ManagerTest.test_uses_custom_device): Removed extra blank line at end of file.
2453
2454 2017-04-25  Daniel Bates  <dabates@apple.com>
2455
2456         [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
2457         https://bugs.webkit.org/show_bug.cgi?id=136452
2458         <rdar://problem/23412620>
2459
2460         Reviewed by Brent Fulgham.
2461
2462         Enable X-Content-Type-Options: nosniff on Mac, iOS and Windows platforms.
2463
2464         * Source/cmake/OptionsMac.cmake:
2465         * Source/cmake/OptionsWin.cmake:
2466
2467 2017-04-24  Zan Dobersek  <zdobersek@igalia.com>
2468
2469         Unreviewed follow-up to r215681.
2470
2471         * Source/cmake/OptionsGTK.cmake: Don't re-define the ENABLE_SUBTLE_CRYPTO
2472         macro, that's already done by the option macro.
2473
2474 2017-04-24  Carlos Garcia Campos  <cgarcia@igalia.com>
2475
2476         [GTK] Switch to use ENABLE_REMOTE_INSPECTOR instead of ENABLE_INSPECTOR_SERVER for the remote inspector
2477         https://bugs.webkit.org/show_bug.cgi?id=166680
2478
2479         Reviewed by Michael Catanzaro.
2480
2481         Add private option for ENABLE_REMOTE_INSPECTOR and enabled it by default.
2482
2483         * Source/cmake/OptionsGTK.cmake:
2484
2485 2017-04-24  Zan Dobersek  <zdobersek@igalia.com>
2486
2487         [GTK] Make the ENABLE_SUBTLE_CRYPTO option depend on libgcrypt 1.7.0
2488         https://bugs.webkit.org/show_bug.cgi?id=171112
2489
2490         Reviewed by Michael Catanzaro.
2491
2492         * Source/cmake/OptionsGTK.cmake: When ENABLE_SUBTLE_CRYPTO feature is enabled,
2493         the detected libgcrypt library version should be at least 1.7.0 since we'll be
2494         relying on API that was introduced in that version.
2495
2496 2017-04-21  Konstantin Tokarev  <annulen@yandex.ru>
2497
2498         [cmake] WTF target should not have wtf and subdirectries in public interface
2499         https://bugs.webkit.org/show_bug.cgi?id=171115
2500
2501         Reviewed by Michael Catanzaro.
2502
2503         In r209665 WEBCORE_FRAMEWORK macro started to export INCLUDE_DIRECTORIES of
2504         targets as their public interface, so that linked targets can use them
2505         implicitly without copying directory lists around. This matches existing
2506         practice for all targets except WTF, headers from which are always included
2507         with full path starting from "<wtf/...".
2508
2509         Since r209665 it became possible to include headers from wtf or its
2510         subdirectories in CMake builds without using "<wtf/..." path. It should
2511         not be allowed.
2512
2513         * Source/cmake/WebKitMacros.cmake: Support xxx_PRIVATE_HEADERS
2514         CMake variables.
2515
2516 2017-04-20  Konstantin Tokarev  <annulen@yandex.ru>
2517
2518         [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
2519         https://bugs.webkit.org/show_bug.cgi?id=171071
2520
2521         Reviewed by Michael Catanzaro.
2522
2523         "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
2524         build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
2525         be available for all ports.
2526
2527         * Source/cmake/OptionsGTK.cmake:
2528         * Source/cmake/WebKitFS.cmake:
2529         * Source/cmake/WebKitMacros.cmake:
2530
2531 2017-04-17  Yusuke Suzuki  <utatane.tea@gmail.com>
2532
2533         [JSCOnly] Fix build failures in macOS
2534         https://bugs.webkit.org/show_bug.cgi?id=170887
2535
2536         Reviewed by Alex Christensen.
2537
2538         Align ICU header configuration to MacCMake port.
2539
2540         * Source/cmake/OptionsJSCOnly.cmake:
2541
2542 2017-04-16  Sam Weinig  <sam@webkit.org>
2543
2544         [WebIDL] Switch IDLAttributes.txt over to a more structured format so that more information can be added for each attribute
2545         https://bugs.webkit.org/show_bug.cgi?id=170843
2546
2547         Reviewed by Chris Dumez.
2548
2549         * Source/cmake/WebKitMacros.cmake:
2550         Update extension of IDLAttributes to .json
2551
2552 2017-04-13  Don Olmstead  <don.olmstead@am.sony.com>
2553
2554         [WinCairo] Assign WEBKIT_LIBRARIES_DIR to CMAKE_PREFIX_PATH
2555         https://bugs.webkit.org/show_bug.cgi?id=170797
2556
2557         Reviewed by Alex Christensen.
2558
2559         * Source/cmake/FindCairo.cmake:
2560         * Source/cmake/OptionsWin.cmake:
2561
2562 2017-04-11  Zan Dobersek  <zdobersek@igalia.com>
2563
2564         [CMake] OpenWebRTC libraries path isn't properly deduced
2565         https://bugs.webkit.org/show_bug.cgi?id=170670
2566
2567         Reviewed by Carlos Garcia Campos.
2568
2569         When using OpenWebRTC installation that's outside of the usual Jhbuild
2570         installation directories, the library paths are ignored because the
2571         dependency libraries are simply gathered from the pkg-config file.
2572
2573         Instead, the pkg-config data should be used to search for the correct
2574         paths to the header and library locations. Both libopenwebrtc and
2575         libopenwebrtc_gst libraries are needed, so the two library paths are
2576         concatenated into the OPENWEBRTC_LIBRARIES variable.
2577
2578         * Source/cmake/FindOpenWebRTC.cmake:
2579
2580 2017-04-08  Ting-Wei Lan  <lantw44@gmail.com>
2581
2582         Elftoolchain ar doesn't support response files
2583         https://bugs.webkit.org/show_bug.cgi?id=170105
2584
2585         Reviewed by Michael Catanzaro.
2586
2587         WebKit enables the use of response files when cmake and ninja is used.
2588         However, the default implementation of ar command used in FreeBSD, which
2589         is part of elftoolchain project, doesn't support reading arguments from
2590         response files. To avoid causing undefined reference error on FreeBSD,
2591         we disable the use of response files when elftoolchain ar is detected.
2592
2593         * Source/cmake/OptionsCommon.cmake:
2594
2595 2017-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
2596
2597         Unreviewed, rolling out r215150.
2598
2599         Broke buildbot
2600
2601         Reverted changeset:
2602
2603         "[CMake] Don't force-enable response files when using Ninja
2604         generator"
2605         https://bugs.webkit.org/show_bug.cgi?id=170105
2606         http://trac.webkit.org/changeset/215150
2607
2608 2017-04-08  Ting-Wei Lan  <lantw44@gmail.com>
2609
2610         [CMake] Don't force-enable response files when using Ninja generator
2611         https://bugs.webkit.org/show_bug.cgi?id=170105
2612
2613         Reviewed by Michael Catanzaro.
2614
2615         Not all platforms support response files, and unconditionally enabling
2616         response files is known to cause build failure for some platforms.
2617         Since WebKit builds fine on many platforms without force-enabling
2618         response files and bug 129771 didn't mention which platform required
2619         it, we remove it instead of adding more platform checks.
2620
2621         * Source/cmake/OptionsCommon.cmake:
2622
2623 2017-04-07  Michael Catanzaro  <mcatanzaro@igalia.com>
2624
2625         [GTK] Various build errors when plugin support is disabled
2626         https://bugs.webkit.org/show_bug.cgi?id=170015
2627
2628         Reviewed by Carlos Garcia Campos.
2629
2630         Allow building with ENABLE_NETSCAPE_PLUGIN_API=ON and ENABLE_X11_TARGET=OFF. This should be
2631         possible as Carlos worked to ensure windowless plugins work properly outside X11. The GTK2
2632         plugin process still depends on ENABLE_X11_TARGET because a plugin that uses GTK+ surely
2633         wants to display a window, and is not going to work outside X11. (If the plugin links to
2634         GTK+ but does not display a window, it's dumb and deserves to be broken.)
2635
2636         Also, make ENABLE_PLUGIN_PROCESS conditional on ENABLE_NETSCAPE_PLUGIN_API, not
2637         ENABLE_X11_TARGET.
2638
2639         * Source/cmake/OptionsGTK.cmake:
2640
2641 2017-04-07  Fujii Hironori  <Hironori.Fujii@sony.com>
2642
2643         [CMake][Windows] WebKitGUID.lib should be built with the release CRT
2644         https://bugs.webkit.org/show_bug.cgi?id=170593
2645
2646         Reviewed by Brent Fulgham.
2647
2648         Source/cmake/OptionsWin.cmake has a trick to force using the
2649         release CRT even for debug build configuration. But, this works
2650         only for C++, but for C. As the result, WebKitGUID.lib is built
2651         with the debug CRT in debug build configuration because it has C
2652         source files.
2653
2654         * Source/cmake/OptionsWin.cmake: Process CMAKE_C_FLAGS_* as well as CMAKE_CXX_FLAGS_*.
2655
2656 2017-04-06  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
2657
2658         [GTK] Build fails when using icecream, ccache and cmake 3.6
2659         https://bugs.webkit.org/show_bug.cgi?id=170498
2660
2661         Reviewed by Michael Catanzaro.
2662
2663         Disable ninja response file when using icecream, ccache and cmake > 3.5.
2664
2665         * Source/cmake/OptionsCommon.cmake:
2666
2667 2017-04-04  Ross Kirsling  <ross.kirsling@sony.com>
2668
2669         [CMake] Enforce Python 2
2670         https://bugs.webkit.org/show_bug.cgi?id=170439
2671
2672         Reviewed by Brent Fulgham.
2673
2674         * Source/cmake/WebKitCommon.cmake: Fail build immediately if Python 3 is detected.
2675
2676 2017-03-24  Carlos Garcia Campos  <cgarcia@igalia.com>
2677
2678         [GTK] Add MIMETypeRegistry implementation using xdgmime and remove the GTK+ one
2679         https://bugs.webkit.org/show_bug.cgi?id=170001
2680
2681         Reviewed by Michael Catanzaro.
2682
2683         * Source/CMakeLists.txt: Compile xdgmime if USE_XDGMIME is ON.
2684         * Source/cmake/OptionsGTK.cmake: Set USE_XDGMIME to ON.
2685
2686 2017-03-10  Per Arne Vollan  <pvollan@apple.com>
2687
2688         Unreviewed Win64 build fix. FTL is not ready to be turned on yet.
2689
2690         * Source/cmake/OptionsWin.cmake:
2691
2692 2017-03-10  Alex Christensen  <achristensen@webkit.org>
2693
2694         Win64 build fix.
2695
2696         * Source/cmake/OptionsWin.cmake:
2697         WASM got turned on on Win64.  Judging by the state of WasmMemory.cpp, I'm going to
2698         assume this was a mistake and turn it off until someone writes a version that uses
2699         VirtualAlloc/VirtualFree instead of mmap.
2700         The FTL seems a bit unstable, though.  This fixes the build, but more fixes are necessary.
2701
2702 2017-03-06  Yusuke Suzuki  <utatane.tea@gmail.com>
2703
2704         Unreviewed, fix AppleWin build
2705         https://bugs.webkit.org/show_bug.cgi?id=164032
2706
2707         * Source/cmake/WebKitFeatures.cmake:
2708
2709 2017-03-06  Yusuke Suzuki  <utatane.tea@gmail.com>
2710
2711         [GTK][JSCOnly] Enable WebAssembly on Linux environment
2712         https://bugs.webkit.org/show_bug.cgi?id=164032
2713
2714         Reviewed by Michael Catanzaro.
2715
2716         * Source/cmake/OptionsGTK.cmake:
2717         * Source/cmake/OptionsJSCOnly.cmake:
2718         * Source/cmake/OptionsMac.cmake:
2719         * Source/cmake/WebKitFeatures.cmake:
2720
2721 2017-03-04  Michael Catanzaro  <mcatanzaro@igalia.com>
2722
2723         Unreviewed, remove stray period from readme
2724
2725         * ReadMe.md:
2726
2727 2017-03-03  Dean Jackson  <dino@apple.com>
2728
2729         Add WebGPU compile flag and experimental feature flag
2730         https://bugs.webkit.org/show_bug.cgi?id=169161
2731         <rdar://problem/30846689>
2732
2733         Reviewed by Tim Horton.
2734
2735         Add ENABLE_WEBGPU, an experimental feature flag, a RuntimeEnabledFeature,
2736         and an InternalSetting.
2737
2738         * Source/cmake/OptionsMac.cmake:
2739         * Source/cmake/WebKitFeatures.cmake:
2740         * Source/cmake/tools/vsprops/FeatureDefines.props:
2741         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2742
2743 2017-03-01  Andy Estes  <aestes@apple.com>
2744
2745         Build libwebrtc as part of the All Source scheme in WebKit.xcworkspace.
2746
2747         Rubber-stamped by Tim Horton.
2748
2749         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2750
2751 2017-02-26  Carlos Garcia Campos  <cgarcia@igalia.com>
2752
2753         Unreviewed. Bump GTK+ versions numbers.
2754
2755         * Source/cmake/OptionsGTK.cmake:
2756
2757 2017-02-26  Carlos Garcia Campos  <cgarcia@igalia.com>
2758
2759         Unreviewed, rolling out r213024.
2760
2761         Wrong version numbers
2762
2763         Reverted changeset:
2764
2765         "[GTK] Unreviewed, bump GTK version numbers also on trunk"
2766         http://trac.webkit.org/changeset/213024
2767
2768 2017-02-26  Michael Catanzaro  <mcatanzaro@igalia.com>
2769
2770         [GTK] Unreviewed, bump GTK version numbers also on trunk
2771
2772         * Source/cmake/OptionsGTK.cmake:
2773
2774 2017-02-23  Tomas Popela  <tpopela@redhat.com>
2775
2776         [GTK] Compilation fails if using ninja together with icecream and cmake > 3.5
2777         https://bugs.webkit.org/show_bug.cgi?id=168770
2778
2779         Reviewed by Carlos Garcia Campos.
2780
2781         If using cmake >= 3.6 together with ninja generator and icecream, the
2782         build will fail as icecream does not correctly handle the response
2783         files and it's not passing compiler flags from there to the compiler
2784         itself (in our case it's not passing -fPIC which leads to the
2785         failure while linking). Don't enable the ninja's response files
2786         support if we fulfill the preconditions.
2787
2788         * Source/cmake/OptionsCommon.cmake:
2789
2790 2017-02-22  Ryosuke Niwa  <rniwa@webkit.org>
2791
2792         Add GTK+ build instruction to ReadMe.md
2793         https://bugs.webkit.org/show_bug.cgi?id=168745
2794
2795         Reviewed by Michael Catanzaro.
2796
2797         Add instructions to build GTK+ port.
2798
2799         Removed the instruction to set the default configuration since that didn't seem important.
2800
2801         * ReadMe.md:
2802
2803 2017-02-22  Alberto Garcia  <berto@igalia.com>
2804
2805         [GTK] [2.15.90] Disable RESOURCE_USAGE on non-Linux systems
2806         https://bugs.webkit.org/show_bug.cgi?id=168714
2807
2808         Reviewed by Carlos Garcia Campos.
2809
2810         * Source/cmake/OptionsGTK.cmake:
2811
2812 2017-02-21  Ryosuke Niwa  <rniwa@webkit.org>
2813
2814         Remove the extra `'s errornously added during the final editing.
2815
2816         * ReadMe.md:
2817
2818 2017-02-21  Ryosuke Niwa  <rniwa@webkit.org>
2819
2820         Add ReadMe.md to WebKit
2821         https://bugs.webkit.org/show_bug.cgi?id=168413
2822
2823         Reviewed by Chris Dumez.
2824
2825         Add a ReadMe.md to be read on https://github.com/WebKit/webkit based on webkit.org content.
2826
2827         * ReadMe.md: Added.
2828
2829 2017-02-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2830
2831         Remove ENABLE_THREADED_COMPOSITOR build option
2832         https://bugs.webkit.org/show_bug.cgi?id=168606
2833
2834         Reviewed by Michael Catanzaro.
2835
2836         * Source/cmake/OptionsGTK.cmake:
2837         * Source/cmake/WebKitFeatures.cmake:
2838
2839 2017-02-20  Manuel Rego Casasnovas  <rego@igalia.com>
2840
2841         [css-grid] Remove compilation flag ENABLE_CSS_GRID_LAYOUT
2842         https://bugs.webkit.org/show_bug.cgi?id=167693
2843
2844         Reviewed by Sergio Villar Senin.
2845
2846         CSS Grid Layout has been enabled by default in r211415,
2847         and Safari 10.1 is shipping it.
2848         It seems like a good moment to remove the compilation flag.
2849
2850         * Source/cmake/OptionsMac.cmake:
2851         * Source/cmake/OptionsWin.cmake:
2852         * Source/cmake/WebKitFeatures.cmake:
2853         * Source/cmake/tools/vsprops/FeatureDefines.props:
2854         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2855
2856 2017-02-17  Michael Catanzaro  <mcatanzaro@igalia.com>
2857
2858         Remove EFL from Source/cmake
2859         https://bugs.webkit.org/show_bug.cgi?id=168512
2860
2861         Reviewed by Carlos Garcia Campos.
2862
2863         * Source/cmake/OptionsEfl.cmake: Removed.
2864         * Source/cmake/WebKitPackaging.cmake:
2865         * Source/cmake/eflsymbols.filter: Removed.
2866
2867 2017-02-16  Konstantin Tokarev  <annulen@yandex.ru>
2868
2869         [cmake] Use env command to set PYTHONPATH if cmake is new enough
2870         https://bugs.webkit.org/show_bug.cgi?id=156833
2871
2872         Reviewed by Alex Christensen.
2873
2874         This change fixes 2 issues when CMake >= 3.1 is used:
2875         - When PYTHONPATH contains special characters, CMake adds quotes around
2876         "PYTHONPATH=..." and produces broken build command in non-WIN32 case.
2877         - On WIN32, unix-like shell can be used instead of cmd.exe, but this case
2878         cannot be easily detected in cmake.
2879
2880         * Source/cmake/WebKitMacros.cmake:
2881
2882 2017-02-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2883
2884         Unreviewed. Add ENABLE_INTERSECTION_OBSERVER option to CMake.
2885
2886         It's now a runtime enabled feature so we should always build it.
2887
2888         Fixes: intersection-observer/intersection-observer-entry-interface.html
2889                intersection-observer/intersection-observer-interface.html
2890
2891         * Source/cmake/WebKitFeatures.cmake:
2892
2893 2017-02-10  Brian Burg  <bburg@apple.com>
2894
2895         Add basic debugging macros for CMake
2896         https://bugs.webkit.org/show_bug.cgi?id=161538
2897
2898         Reviewed by Michael Catanzaro.
2899
2900         It's useful to be able to dump the state of everything when debugging
2901         CMake build problems, especially when they happen on EWS (but not locally).
2902
2903         Start with macros for:
2904             - dumping out all CMake variables
2905             - dumping all executed commands (by turning off pretty-printing)
2906
2907         * Source/cmake/WebKitMacros.cmake:
2908
2909 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2910
2911         Build libwebrtc on bots without using it yet
2912         https://bugs.webkit.org/show_bug.cgi?id=168062
2913
2914         Reviewed by Brent Fulgham.
2915
2916         * Source/Makefile:
2917
2918 2017-02-07  Olivier Blin  <olivier.blin@softathome.com>
2919
2920         [GTK][Efl] Do not require LibXslt if XSLT is disabled
2921         https://bugs.webkit.org/show_bug.cgi?id=167931
2922
2923         This fixes build with --no-xslt, when the libxslt dev files are not installed.
2924
2925         Reviewed by Michael Catanzaro.
2926
2927         * Source/cmake/OptionsEfl.cmake:
2928         * Source/cmake/OptionsGTK.cmake:
2929
2930 2017-02-03  Konstantin Tokarev  <annulen@yandex.ru>
2931
2932         [CMake] RelWithDebInfo builds are super broken at runtime
2933         https://bugs.webkit.org/show_bug.cgi?id=163897
2934
2935         Reviewed by Michael Catanzaro.
2936
2937         * Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing,
2938         -fno-exceptions, and -fno-rtti flags to all configurations,
2939         instead of only "Release".
2940
2941 2017-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2942
2943         [GTK] Add initial implementation of resource usage overlay
2944         https://bugs.webkit.org/show_bug.cgi?id=167731
2945
2946         Reviewed by Michael Catanzaro.
2947
2948         Enable RESOURCE_USAGE.
2949
2950         * Source/cmake/OptionsGTK.cmake:
2951
2952 2017-02-02  Alex Christensen  <achristensen@webkit.org>
2953
2954         Build fix after r211602
2955         https://bugs.webkit.org/show_bug.cgi?id=167758
2956
2957         * Source/Makefile:
2958         Don't build libwebrtc by default.  It's not used yet anyway.
2959
2960 2017-02-02  David Kilzer  <ddkilzer@apple.com>
2961
2962         Make the Makefile great again after r211570, r211572
2963
2964         * Makefile: Restore tabs and ending newline.
2965
2966 2017-02-02  Jonathan Bedard  <jbedard@apple.com>
2967
2968         Unreviewed build fix after r211570
2969
2970         * Makefile: Placed back.
2971
2972 2017-02-01  Yusuke Suzuki  <utatane.tea@gmail.com>
2973
2974         Propagate networking errors correctly for import() operator
2975         https://bugs.webkit.org/show_bug.cgi?id=167501
2976
2977         Reviewed by Ryosuke Niwa.
2978
2979         * Source/ModuleFetchFailureKind.h: Added.
2980
2981 2017-01-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2982
2983         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.4 release.
2984
2985         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2986
2987 2017-01-24  Joseph Pecoraro  <pecoraro@apple.com>
2988
2989         Fold USER_TIMING into WEB_TIMING and make it a RuntimeEnabledFeature
2990         https://bugs.webkit.org/show_bug.cgi?id=167394
2991
2992         Reviewed by Ryosuke Niwa.
2993
2994         * Source/cmake/OptionsEfl.cmake:
2995         * Source/cmake/OptionsWin.cmake:
2996         * Source/cmake/WebKitFeatures.cmake:
2997         * Source/cmake/tools/vsprops/FeatureDefines.props:
2998         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2999
3000 2017-01-22  Don Olmstead <don.olmstead@am.sony.com> and Myles C. Maxfield <mmaxfield@apple.com>
3001
3002         Introducing the Platform Abstraction Layer (PAL)
3003         https://bugs.webkit.org/show_bug.cgi?id=143358
3004
3005         Reviewed by Alex Christensen.
3006
3007         * CMakeLists.txt:
3008         * Source/CMakeLists.txt:
3009         * Source/cmake/WebKitFS.cmake:
3010
3011 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
3012
3013         Remove outdated ENABLE(CSP_NEXT) build flag
3014         https://bugs.webkit.org/show_bug.cgi?id=167252
3015
3016         Reviewed by Brent Fulgham.
3017
3018         * Source/cmake/OptionsMac.cmake:
3019         * Source/cmake/OptionsWin.cmake:
3020         * Source/cmake/WebKitFeatures.cmake:
3021         * Source/cmake/tools/vsprops/FeatureDefines.props:
3022         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3023
3024 2017-01-20  Youenn Fablet  <youenn@apple.com>
3025
3026         [WebRTC] Add libwebrtc build infrastructure
3027         https://bugs.webkit.org/show_bug.cgi?id=167207
3028
3029         Reviewed by Alex Christensen.
3030
3031         * WebKit.xcworkspace/contents.xcworkspacedata:
3032
3033 2017-01-20  Carlos Garcia Campos  <cgarcia@igalia.com>
3034
3035         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.3 release.
3036
3037         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3038
3039 2017-01-17  Joseph Pecoraro  <pecoraro@apple.com>
3040
3041         ENABLE(USER_TIMING) Not Defined for Apple Windows or OS X Ports
3042         https://bugs.webkit.org/show_bug.cgi?id=116551
3043         <rdar://problem/13949830>
3044
3045         Reviewed by Alex Christensen.
3046
3047         * Source/cmake/OptionsEfl.cmake:
3048         * Source/cmake/OptionsWin.cmake:
3049         * Source/cmake/WebKitFeatures.cmake:
3050         * Source/cmake/tools/vsprops/FeatureDefines.props:
3051         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3052
3053 2017-01-16  Joseph Pecoraro  <pecoraro@apple.com>
3054
3055         Remove the REQUEST_ANIMATION_FRAME flag
3056         https://bugs.webkit.org/show_bug.cgi?id=156980
3057         <rdar://problem/25906849>
3058
3059         Reviewed by Simon Fraser.
3060
3061         * Source/cmake/OptionsEfl.cmake:
3062         * Source/cmake/OptionsWin.cmake:
3063         * Source/cmake/WebKitFeatures.cmake:
3064         * Source/cmake/tools/vsprops/FeatureDefines.props:
3065         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3066
3067 2017-01-14  Joseph Pecoraro  <pecoraro@apple.com>
3068
3069         Remove stale references to ENABLE_ES6_GENERATORS and ENABLE_PROMISES
3070         https://bugs.webkit.org/show_bug.cgi?id=167043
3071
3072         Reviewed by Darin Adler.
3073
3074         * Source/cmake/tools/vsprops/FeatureDefines.props:
3075         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3076
3077 2017-01-13  Joseph Pecoraro  <pecoraro@apple.com>
3078
3079         Remove ENABLE(DETAILS_ELEMENT) guards
3080         https://bugs.webkit.org/show_bug.cgi?id=167042
3081
3082         Reviewed by Alex Christensen.
3083
3084         * Source/cmake/OptionsMac.cmake:
3085         * Source/cmake/OptionsWin.cmake:
3086         * Source/cmake/WebKitFeatures.cmake:
3087         * Source/cmake/tools/vsprops/FeatureDefines.props:
3088         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3089
3090 2017-01-13  Michael Catanzaro  <mcatanzaro@igalia.com>
3091
3092         [CMake] Clean up SHARED_CORE option
3093         https://bugs.webkit.org/show_bug.cgi?id=167004
3094
3095         Reviewed by Alex Christensen.
3096
3097         * CMakeLists.txt:
3098
3099 2016-12-21  Konstantin Tokarev  <annulen@yandex.ru>
3100
3101         set PYTHONPATH in separate COMMAND doesn't work with all CMake generators
3102         https://bugs.webkit.org/show_bug.cgi?id=164997
3103
3104         Reviewed by Alex Christensen.
3105
3106         Fix for r201413.
3107
3108         * Source/cmake/WebKitMacros.cmake:
3109
3110 2016-12-17  Joonghun Park  <jh718.park@samsung.com>
3111
3112         [EFL] bump EFL version to 1.18.4
3113         https://bugs.webkit.org/show_bug.cgi?id=166004
3114
3115         Reviewed by Gyuyoung Kim.
3116
3117         * Source/cmake/OptionsEfl.cmake: Use efl-1.18.4 instead of 1.18.1.
3118
3119 2016-12-15  Alex Christensen  <achristensen@webkit.org>
3120
3121         Remove flex and bison build dependencies; commit generated XPath parser
3122         https://bugs.webkit.org/show_bug.cgi?id=165783
3123
3124         Reviewed by Brent Fulgham.
3125
3126         * Source/cmake/WebKitCommon.cmake:
3127         * Source/cmake/WebKitMacros.cmake:
3128
3129 2016-12-10  Konstantin Tokarev  <annulen@yandex.ru>
3130
3131         [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
3132         https://bugs.webkit.org/show_bug.cgi?id=165686
3133
3134         Reviewed by Michael Catanzaro.
3135
3136         This change reduces duplication of include path lists between modules,
3137         and reduces future need for fixes like r209605 (broken build because of
3138         WebCore header suddenly becoming used in WebKit2).
3139
3140         * Source/cmake/WebKitMacros.cmake:
3141
3142 2016-11-30  Brent Fulgham  <bfulgham@apple.com>
3143
3144         [Win] Apple build is using incorrect ICU library (if present)
3145         https://bugs.webkit.org/show_bug.cgi?id=164934
3146         <rdar://problem/29329654>
3147
3148         Reviewed by Alex Christensen.
3149
3150         Move the 'icuuc.lib' and 'icuin.lib' library names to the end of the set of choices when searching for ICU.
3151         so that we preferentially select the 'new' version of these libraries if they are available.
3152
3153         * Source/cmake/FindICU.cmake:
3154
3155 2016-11-23  Zan Dobersek  <zdobersek@igalia.com>
3156
3157         Remove ENABLE_ASSEMBLER_WX_EXCLUSIVE code
3158         https://bugs.webkit.org/show_bug.cgi?id=165027
3159
3160         Reviewed by Darin Adler.
3161
3162         * Source/cmake/WebKitFeatures.cmake: Remove the ENABLE_ASSEMBLER_WX_EXCLUSIVE option.
3163
3164 2016-11-21  Carlos Garcia Campos  <cgarcia@igalia.com>
3165
3166         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.2 release.
3167
3168         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3169
3170 2016-11-17  Saam Barati  <sbarati@apple.com>
3171
3172         Remove async/await compile time flag and enable tests
3173         https://bugs.webkit.org/show_bug.cgi?id=164828
3174         <rdar://problem/28639334>
3175
3176         Reviewed by Yusuke Suzuki.
3177
3178         * Source/cmake/WebKitFeatures.cmake:
3179
3180 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
3181
3182         [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
3183         https://bugs.webkit.org/show_bug.cgi?id=164827
3184
3185         Reviewed by Ryosuke Niwa.
3186
3187         * Source/cmake/OptionsWin.cmake:
3188         * Source/cmake/WebKitFeatures.cmake:
3189         * Source/cmake/tools/vsprops/FeatureDefines.props:
3190         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3191
3192 2016-11-12  Michael Catanzaro  <mcatanzaro@igalia.com>
3193
3194         Unreviewed, rolling out r207872.
3195         https://bugs.webkit.org/show_bug.cgi?id=162623
3196
3197         Did not disable anything, just made them public
3198
3199         Reverted changeset:
3200
3201         "[GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default"
3202         https://bugs.webkit.org/show_bug.cgi?id=162623
3203         http://trac.webkit.org/changeset/207872
3204
3205 2016-11-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3206
3207         [EFL] Use libgcrypt instead of GnuTLS for CryptoDigest
3208         https://bugs.webkit.org/show_bug.cgi?id=164461
3209
3210         Reviewed by Michael Catanzaro.
3211
3212         * Source/cmake/OptionsEfl.cmake: Find LibGcrypt package instead of GnuTLS.
3213
3214 2016-11-05  Konstantin Tokarev  <annulen@yandex.ru>
3215
3216         [MinGW] Fixed C99/C++11 format attributes in printf-like functions
3217         https://bugs.webkit.org/show_bug.cgi?id=164448
3218
3219         Reviewed by Michael Catanzaro.
3220
3221         By default MinGW uses printf-like function provided in msvcrt.dll,
3222         however they miss support for C99/C++11 format attributes. Use MinGW
3223         implementations instead.
3224
3225         * Source/cmake/OptionsCommon.cmake: Define __USE_MINGW_ANSI_STDIO
3226
3227 2016-11-03  Konstantin Tokarev  <annulen@yandex.ru>
3228
3229         Fixes to build JSCOnly on macOS
3230         https://bugs.webkit.org/show_bug.cgi?id=164379
3231
3232         Reviewed by Michael Catanzaro.
3233
3234         * Source/cmake/OptionsJSCOnly.cmake: Define BUILDING_JSCONLY__, use
3235         system ICU libraries on macOS
3236         * Source/cmake/WebKitMacros.cmake: Fixed WEBKIT_FRAMEWORK macro for
3237         static JSC
3238
3239 2016-11-03  Konstantin Tokarev  <annulen@yandex.ru>
3240
3241         [cmake][MinGW] Don't use MS bitfield layout to reduce sizes of data structures
3242         https://bugs.webkit.org/show_bug.cgi?id=164026
3243
3244         Reviewed by Michael Catanzaro.
3245
3246         With MS bitfileds RegisterAtOffset becomes wider than ptrdiff_t because of
3247         different alignment requirements, invoking static_assert. Instead of
3248         muting assert for MinGW like it's done for MSVC, it's a better choice to
3249         use more dense layout, as bitfields are not used in public APIs.
3250
3251         Also, suppress MinGW warnings from "#pragma warning" which it doesn't
3252         understand.
3253
3254         * Source/cmake/OptionsCommon.cmake:
3255
3256 2016-11-02  Alex Christensen  <achristensen@webkit.org>
3257
3258         Remove Battery Status API from the tree
3259         https://bugs.webkit.org/show_bug.cgi?id=164213
3260
3261         Reviewed by Sam Weinig.
3262
3263         * Source/cmake/OptionsEfl.cmake:
3264         * Source/cmake/WebKitFeatures.cmake:
3265
3266 2016-11-02  Olivier Blin  <olivier.blin@softathome.com>
3267
3268         [GTK] Use libgcrypt instead of GnuTLS for CryptoDigest and SubtleCrypto HMAC implementation
3269         https://bugs.webkit.org/show_bug.cgi?id=163125
3270
3271         Reviewed by Michael Catanzaro.
3272
3273         * Source/cmake/OptionsGTK.cmake: Updated to use libgcrypt files instead of gnutls.
3274         At least version 1.6.0 is needed for the HMAC APIs.
3275         libgcrypt is now needed unconditionally for CryptoDigest, used by CSP.
3276
3277 2016-11-02  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3278
3279         [Readable Streams API] Enable creation of ReadableByteStreamController
3280         https://bugs.webkit.org/show_bug.cgi?id=164014
3281
3282         Reviewed by Youenn Fablet.
3283
3284         Added flag for the byte stream part of Readable Streams API.
3285
3286         * Source/cmake/WebKitFeatures.cmake:
3287
3288 2016-11-01  Ryosuke Niwa  <rniwa@webkit.org>
3289
3290         Remove CUSTOM_ELEMENTS build flag
3291         https://bugs.webkit.org/show_bug.cgi?id=164267
3292
3293         Reviewed by Antti Koivisto.
3294
3295         Removed the build flag.
3296
3297         * Source/cmake/OptionsEfl.cmake:
3298         * Source/cmake/OptionsWin.cmake:
3299         * Source/cmake/WebKitFeatures.cmake:
3300
3301 2016-11-01  Fujii Hironori  <Hironori.Fujii@sony.com>
3302
3303         [CMake] generate-bindings-all.pl uses USES_TERMINAL which leaves a noisy line in interactive Ninja build
3304         https://bugs.webkit.org/show_bug.cgi?id=163868
3305
3306         Reviewed by Michael Catanzaro.
3307
3308         It takes long time for generate-bindings-all.pl to generate all
3309         bindings.  So, it shows the progress while running and
3310         USES_TERMINAL option of add_custom_target have been used to invoke
3311         the command.  However, USES_TERMINAL leaves a noisy line in
3312         Ninja's neat build log of interactive build.
3313
3314         A new CMake option SHOW_BINDINGS_GENERATION_PROGRESS is added to
3315         stop using USES_TERMINAL only in case of interactive Ninja build.
3316
3317         * Source/cmake/WebKitMacros.cmake: Added a new option
3318         SHOW_BINDINGS_GENERATION_PROGRESS.  Apended --showProgress switch
3319         of generate-bindings-all.pl and used USES_TERMINAL only if
3320         SHOW_BINDINGS_GENERATION_PROGRESS is enabled.
3321
3322 2016-10-31  Ryosuke Niwa  <rniwa@webkit.org>
3323
3324         Enable custom elements by default everywhere
3325         https://bugs.webkit.org/show_bug.cgi?id=164242
3326
3327         Reviewed by Michael Catanzaro.
3328
3329         Enable the Custom Elements API in CMake builds.
3330
3331         * Source/cmake/WebKitFeatures.cmake:
3332
3333 2016-10-30  Frederic Wang  <fwang@igalia.com>
3334
3335         Use HarfBuzz ot-math API to parse the OpenType MATH table
3336         https://bugs.webkit.org/show_bug.cgi?id=162671
3337
3338         Reviewed by Michael Catanzaro.
3339
3340         * Source/cmake/OptionsGTK.cmake: Enable internal OpenType MATH parsing for HarfBuzz < 1.3.3.
3341
3342 2016-10-30  Hyowon Kim  <hw1008.kim@samsung.com>
3343
3344         [GTK] Build break by missing geoclue-2.0.
3345         https://bugs.webkit.org/show_bug.cgi?id=164170
3346
3347         Reviewed by Michael Catanzaro.
3348
3349         Revise the module name for pkg_check_modules() in FindGeoClue2.cmake.
3350
3351         * Source/cmake/FindGeoClue2.cmake: replace geoclue-2.0 with libgeoclue-2.0.
3352
3353 2016-10-29  Fujii Hironori  <Hironori.Fujii@sony.com>
3354
3355         [CMake][Win] Visual Studio invokes make_settings.pl twice
3356         https://bugs.webkit.org/show_bug.cgi?id=163774
3357
3358         Reviewed by Michael Catanzaro.
3359
3360         build-webkit recompiles some files just after finishing
3361         build-webkit in case of using CMake VisualStudio generator because
3362         both WebCoreDerivedSources.vcxproj and WebCoreTestSupport.vcxproj
3363         triggers make_settings.pl.
3364
3365         make_settings.pl generates four files
3366         InternalSettingsGenerated.{h,cpp,idl} and SettingsMacros.h.
3367         WebCoreDerivedSources depends on SettingsMacros.h, and
3368         WebCoreTestSupport depends on InternalSettingsGenerated.cpp.
3369
3370         This problem is described in CMake documentation:
3371         <https://cmake.org/cmake/help/v3.0/command/add_custom_command.html>
3372
3373         > Do not list the output in more than one independent target that may
3374         > build in parallel or the two instances of the rule may conflict
3375
3376         To solve this problem, only SettingsMacros.h is specified as
3377         OUTPUT of add_custom_command, and other generated files are marked
3378         as BYPRODUCTS.  As the result, only WebCoreDerivedSources target
3379         triggers make_settings.pl. And other targets already have a
3380         dependency to WebCoreDerivedSources target.
3381
3382         To support earlier versions than CMake 3.2, it uses GENERATED
3383         source file property instead of BYPRODUCTS option.
3384
3385         * Source/cmake/WebKitMacros.cmake(GENERATE_SETTINGS_MACROS):
3386         Removed extra output files from OUTPUT of add_custom_command and
3387         added BYPRODUCTS option.
3388
3389 2016-10-28  Fujii Hironori  <Hironori.Fujii@sony.com>
3390
3391         [CMake] Changing enabled features should trigger recompiling all IDL
3392         https://bugs.webkit.org/show_bug.cgi?id=164121
3393
3394         Reviewed by Michael Catanzaro.
3395
3396         Changing enabled features should trigger recompiling all IDL
3397         because some of them use #if.  generate-bindings-all.pl was
3398         introduced in <http://trac.webkit.org/changeset/207617>.  Before
3399         this change, updating supplemental_dependency.tmp triggered
3400         recompiling all IDL. Changing enabled features usually involves
3401         adding or removing IDL files. As the result, all IDL would be
3402         recompiled.  After the change, adding or removing IDL does not
3403         trigger recompiling all IDL. So, we need to explicitly trigger
3404         recompiling all IDL if enabled features are changed.
3405
3406         * Source/cmake/WebKitMacros.cmake(GENERATE_BINDINGS): Added
3407         cmakeconfig.h to extra dependencies.
3408
3409 2016-10-26  Carlos Garcia Campos  <cgarcia@igalia.com>
3410
3411         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.15.1 release.
3412
3413         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3414
3415 2016-10-26  Enrique Ocaña González  <eocanha@igalia.com>
3416
3417         [cmake][GStreamer][MSE][EME] Build MSE and EME code after refactoring
3418         https://bugs.webkit.org/show_bug.cgi?id=162928
3419
3420         Reviewed by Xabier Rodriguez-Calvar.
3421
3422         Consolidate all the source file tree changes after refactoring.
3423
3424         This patch is co-authored with Philippe Normand <philn@igalia.com> (EME support).
3425
3426         * Source/cmake/FindLibGcrypt.cmake: Added.
3427         * Source/cmake/OptionsGTK.cmake:
3428
3429 2016-10-26  Enrique Ocaña González  <eocanha@igalia.com>
3430
3431         [GTK][GStreamer] Disable MEDIA_SOURCE and ENCRYPTED_MEDIA_V2 by default
3432         https://bugs.webkit.org/show_bug.cgi?id=162623
3433
3434         Reviewed by Xabier Rodriguez-Calvar.
3435
3436         * Source/cmake/OptionsGTK.cmake:
3437
3438 2016-10-25  Konstantin Tokarev  <annulen@yandex.ru>
3439
3440         [cmake] Don't enable ld.gold by default on non-ELF platforms
3441         https://bugs.webkit.org/show_bug.cgi?id=163946
3442
3443         Reviewed by Alex Christensen.
3444
3445         For example, MinGW toolchain may be shipped with gold, but it fails to link
3446         WebKit.
3447
3448         * Source/cmake/OptionsCommon.cmake:
3449
3450 2016-10-25  Konstantin Tokarev  <annulen@yandex.ru>
3451
3452         [cmake] Don't add -fPIC flag when on Windows (MinGW)
3453         https://bugs.webkit.org/show_bug.cgi?id=163949
3454
3455         Reviewed by Michael Catanzaro.
3456
3457         -fPIC flag does not do anything on Windows and produces warning noise
3458         with MinGW. There is no position independent code in Unix sense on
3459         32-bit Windows, and 64-bit Windows code is always relocatable.
3460
3461         For reference see
3462         https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00836.html
3463
3464         * Source/cmake/WebKitHelpers.cmake:
3465
3466 2016-10-21  Csaba Osztrogonác  <ossy@webkit.org>
3467
3468         [EFL] REGRESSION(r207616): Build is broken due to missing libgeoclue-dev package
3469         https://bugs.webkit.org/show_bug.cgi?id=163733
3470
3471         Reviewed by Gyuyoung Kim.
3472
3473         * Source/cmake/OptionsEfl.cmake: Expose USE_GEOCLUE2 to the build properly.
3474
3475 2016-10-21  Adam Bergkvist  <adam.bergkvist@ericsson.com>
3476
3477         WebRTC: [GTK] Add MediaEndpointOwr - an OpenWebRTC WebRTC backend
3478         https://bugs.webkit.org/show_bug.cgi?id=163327
3479
3480         Reviewed by Philippe Normand.
3481
3482         Add manual WebRTC test. Test features:
3483         - Two RTCPeerConnection instances communicate in a single browser tab.
3484         - Supports setting up bidirectional media with a single SDP dialog, as
3485           well as one direction at a time.
3486         - Strips vendor prefixes (runs in Chrome and Firefox as well)
3487         - Supports modern as well as legacy APIs (mainly to make the test run
3488           in Chrome)
3489
3490         * ManualTests/webrtc-one-tab-p2p.html: Added.
3491
3492 2016-10-20  Carlos Garcia Campos  <cgarcia@igalia.com>
3493
3494         [GTK] Configures but fails to link with ENABLE_OPENGL=OFF
3495         https://bugs.webkit.org/show_bug.cgi?id=163449
3496
3497         Reviewed by Michael Catanzaro.
3498
3499         Remove wrong dependency of Wayland on OpenGL introduced in r190615, it should be possible to build for Wayland
3500         without GL.
3501
3502         * Source/cmake/OptionsGTK.cmake:
3503
3504 2016-10-20  Fujii Hironori  <Hironori.Fujii@sony.com>
3505
3506         [CMake] CMake does not support the dep files for implicit dependency
3507         https://bugs.webkit.org/show_bug.cgi?id=161433
3508
3509         Reviewed by Brent Fulgham.
3510
3511         Created a Perl script to generate all IDL bindings for CMake.
3512         This script can regenerate outdated bindings by based on the
3513         supplemental dependency and dep files created by
3514         '--write-dependencies' switch of generate-bindings.pl.
3515
3516         add_custom_target is used to invoke the script instead of
3517         add_custom_command because Ninja deletes all output files before
3518         executing the command in case of add_custom_command.
3519
3520         USES_TERMINAL option of add_custom_target has two effects:
3521         1) Not buffering output of the command
3522         2) Invoking the command in the special Ninja pool which inhibits parallel build
3523         One needs to use CMake 3.2 or later to enable this feature.
3524
3525         * Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included
3526         ProcessorCount.  Added a new argument 'target'.  Use
3527         add_custom_target instead of add_custom_command.  Invoke the new
3528         script.
3529
3530 2016-10-19  Alex Christensen  <achristensen@webkit.org>
3531
3532         Revert r207151
3533         https://bugs.webkit.org/show_bug.cgi?id=163675
3534
3535         Reviewed by Brent Fulgham.
3536
3537         * Source/cmake/OptionsAppleWin.cmake:
3538
3539 2016-10-18  Dean Jackson  <dino@apple.com>
3540
3541         Remove CSS_SHAPES feature definition. This should always be on.
3542         https://bugs.webkit.org/show_bug.cgi?id=163628
3543         <rdar://problem/28834613>
3544
3545         Reviewed by Tim Horton.
3546
3547         * Source/cmake/OptionsMac.cmake:
3548         * Source/cmake/OptionsWin.cmake:
3549         * Source/cmake/WebKitFeatures.cmake:
3550         * Source/cmake/tools/vsprops/FeatureDefines.props:
3551         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3552
3553 2016-10-14  Michael Catanzaro  <mcatanzaro@igalia.com>
3554
3555         [CMake] Private/unsupported build options should be marked as advanced
3556         https://bugs.webkit.org/show_bug.cgi?id=163451
3557
3558         Reviewed by Carlos Garcia Campos.
3559
3560         When checking to decide whether to mark an option as advanced, the conditional checks
3561         whether _WEBKIT_AVAILABLE_OPTIONS_IS_PUBLIC_${_name} is defined. It is always defined. We
3562         need to check its value instead.
3563
3564         * Source/cmake/WebKitFeatures.cmake:
3565
3566 2016-10-13  Brian Burg  <bburg@apple.com>
3567
3568         [CMake] Split the definition of CODE_GENERATOR_PREPROCESSOR so it can be used in a custom command
3569         https://bugs.webkit.org/show_bug.cgi?id=163401
3570
3571         Reviewed by Michael Catanzaro.
3572
3573         In another patch, we need to use CODE_GENERATOR_PREPROCESSOR as the COMMAND argument
3574         when defining an add_custom_command. Previously, it has only been used as a quoted argument
3575         to various Perl code generation scripts.
3576
3577         To support both use cases, we need to be able to provide the executable and its arguments as
3578         an unbroken quoted string, and as a CMake list suitable for passing as an argument to COMMAND.
3579
3580         * Source/cmake/OptionsCommon.cmake:
3581         Split out the executable and argument string into separate variables that can be used elsewhere.
3582         Compute the final unbroken quoted string using the two separate variables to arrive at the same result.
3583
3584         * Source/cmake/WebKitMacros.cmake:
3585         Drive-by cleanup to add quotes around the use of CODE_GENERATOR_PREPROCESSOR so it matches other uses.
3586
3587 2016-10-12  Chris Dumez  <cdumez@apple.com>
3588
3589         [Web IDL] Drop support for legacy [ConstructorConditional=*]
3590         https://bugs.webkit.org/show_bug.cgi?id=163368
3591
3592         Reviewed by Ryosuke Niwa.
3593
3594         Drop ENABLE_DOM4_EVENTS_CONSTRUCTOR compiler flag.
3595
3596         * Source/cmake/OptionsEfl.cmake:
3597         * Source/cmake/OptionsMac.cmake:
3598         * Source/cmake/OptionsWin.cmake:
3599         * Source/cmake/WebKitFeatures.cmake:
3600         * Source/cmake/tools/vsprops/FeatureDefines.props:
3601         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3602
3603 2016-10-11  Alex Christensen  <achristensen@webkit.org>
3604
3605         Remove dead networking code
3606         https://bugs.webkit.org/show_bug.cgi?id=163263
3607
3608         Reviewed by Daniel Bates.
3609
3610         * Source/cmake/OptionsAppleWin.cmake:
3611
3612 2016-10-11  Konstantin Tokarev  <annulen@yandex.ru>
3613
3614         [cmake] Make INDEXED_DATABASE_IN_WORKERS depending on INDEXED_DATABASE
3615         https://bugs.webkit.org/show_bug.cgi?id=163280
3616
3617         Reviewed by Csaba Osztrogonác.
3618
3619         * Source/cmake/WebKitFeatures.cmake:
3620
3621 2016-10-11  Per Arne Vollan  <pvollan@apple.com>
3622
3623         [Win][Direct2D] Compile fix.
3624         https://bugs.webkit.org/show_bug.cgi?id=163273
3625
3626         Reviewed by Brent Fulgham.
3627
3628         Define USE_DIRECT2D.
3629
3630         * Source/cmake/OptionsAppleWin.cmake:
3631
3632 2016-10-10  Zan Dobersek  <zdobersek@igalia.com>
3633
3634         Add ENABLE_ENCRYPTED_MEDIA configuration option
3635         https://bugs.webkit.org/show_bug.cgi?id=163219
3636
3637         Reviewed by Darin Adler.
3638
3639         Add the ENABLE_ENCRYPTED_MEDIA configuration option to the
3640         CMake and MSVC build systems. It will be used to enable or
3641         disable the new EME implementation at build-time.
3642
3643         * Source/cmake/WebKitFeatures.cmake:
3644         * Source/cmake/tools/vsprops/FeatureDefines.props:
3645         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3646
3647 2016-10-10  Commit Queue  <commit-queue@webkit.org>
3648
3649         Unreviewed, rolling out r206972.
3650         https://bugs.webkit.org/show_bug.cgi?id=163227
3651
3652         Making EWS flaky (Requested by bfulgham_ on #webkit).
3653
3654         Reverted changeset:
3655
3656         "[CMake] CMake does not support the dep files for implicit
3657         dependency"
3658         https://bugs.webkit.org/show_bug.cgi?id=161433
3659         http://trac.webkit.org/changeset/206972
3660
3661 2016-10-09  Fujii Hironori  <Hironori.Fujii@sony.com>
3662
3663         [CMake] CMake does not support the dep files for implicit dependency
3664         https://bugs.webkit.org/show_bug.cgi?id=161433
3665
3666         Reviewed by Brent Fulgham.
3667
3668         Created a Perl script to generate all IDL bindings for CMake.
3669         This script can regenerate outdated bindings by based on the
3670         supplemental dependency and dep files created by
3671         '--write-dependencies' switch of generate-bindings.pl.
3672
3673         add_custom_target is used to invoke the script instead of
3674         add_custom_command because Ninja deletes all output files before
3675         executing the command in case of add_custom_command.
3676
3677         USES_TERMINAL option of add_custom_target has two effects:
3678         1) Not buffering output of the command
3679         2) Invoking the command in the special Ninja pool which inhibits parallel build
3680         One needs to use CMake 3.2 or later to enable this feature.
3681
3682         * Source/cmake/WebKitMacros.cmake (GENERATE_BINDINGS): Included
3683         ProcessorCount.  Added a new argument 'target'.  Use
3684         add_custom_target instead of add_custom_command.  Invoke the new
3685         script.
3686
3687 2016-10-07  Fujii Hironori  <Hironori.Fujii@sony.com>
3688
3689         Use 'use lib $FindBin::Bin' to append Perl module include path
3690         https://bugs.webkit.org/show_bug.cgi?id=162256
3691
3692         Reviewed by Carlos Garcia Campos.
3693
3694         * Source/cmake/WebKitMacros.cmake: Removed '-I' options from
3695         invocation of Perl.
3696
3697 2016-10-06  Brent Fulgham  <bfulgham@apple.com>
3698
3699         [Win][Direct2D] Add Direct2D CMake rules
3700         https://bugs.webkit.org/show_bug.cgi?id=162925
3701
3702         Reviewed by Brent Fulgham.
3703
3704         * Source/cmake/OptionsAppleWin.cmake: Add a new 'USE_DIRECT2D' option
3705         flag for the build. Currently this is commented out and is unused.
3706
3707 2016-10-05  Zan Dobersek  <zdobersek@igalia.com>
3708
3709         Rename ENABLE_ENCRYPTED_MEDIA_V2 to ENABLE_LEGACY_ENCRYPTED_MEDIA
3710         https://bugs.webkit.org/show_bug.cgi?id=162903
3711
3712         Reviewed by Alex Christensen.
3713
3714         Rename build guards for the remaining implementation of the legacy EME API
3715         to ENABLE_LEGACY_ENCRYPTED_MEDIA. This will allow for the future implementation
3716         of the near-finished API to be guarded with the simple ENABLE_ENCRYPTED_MEDIA guards.
3717
3718         * Source/cmake/OptionsEfl.cmake:
3719         * Source/cmake/OptionsMac.cmake:
3720         * Source/cmake/OptionsWin.cmake:
3721         * Source/cmake/WebKitFeatures.cmake:
3722         * Source/cmake/tools/vsprops/FeatureDefines.props:
3723         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3724
3725 2016-10-03  Carlos Garcia Campos  <cgarcia@igalia.com>
3726
3727         [SOUP] Cleanup persistent credential storage code
3728         https://bugs.webkit.org/show_bug.cgi?id=162777
3729
3730         Reviewed by Alex Christensen.
3731
3732         Remove ENABLE(CREDENTIAL_STORAGE) build flag and replace it by USE(LIBSECRET).
3733
3734         * Source/cmake/OptionsGTK.cmake:
3735         * Source/cmake/WebKitFeatures.cmake:
3736
3737 2016-09-29  Aaron Chu  <aaron_chu@apple.com>
3738
3739         Web Inspector: AXI: linkified refs to #document and #text are not usually navigable nodes; consider delinkifying them
3740         https://bugs.webkit.org/show_bug.cgi?id=130600
3741         <rdar://problem/16391333>
3742
3743         Reviewed by Brian Burg.
3744
3745         Added a manual test to test the node links in the Accessibility Inspector
3746         https://bugs.webkit.org/show_bug.cgi?id=130600
3747
3748         * ManualTests/accessibility/delinkified-non-navigable-links.html: Added.
3749
3750 2016-09-28  Michael Catanzaro  <mcatanzaro@igalia.com>
3751
3752         [GTK] Remove obsolete comment from OptionsGTK.cmake
3753         https://bugs.webkit.org/show_bug.cgi?id=162622
3754
3755         Reviewed by Alex Christensen.
3756
3757         * Source/cmake/OptionsGTK.cmake:
3758
3759 2016-09-28  Yusuke Suzuki  <utatane.tea@gmail.com>
3760
3761         Unreviewed, build fix for several CMake ports after r206440
3762
3763         * Source/cmake/OptionsEfl.cmake:
3764         * Source/cmake/OptionsMac.cmake:
3765         * Source/cmake/WebKitFeatures.cmake:
3766
3767 2016-09-27  Don Olmstead  <don.olmstead@am.sony.com>
3768
3769         [CMake] Add HAVE_LOCALTIME_R definition
3770         https://bugs.webkit.org/show_bug.cgi?id=162636
3771
3772         Reviewed by Alex Christensen.
3773
3774         * Source/cmake/OptionsCommon.cmake:
3775
3776 2016-09-27  Don Olmstead  <don.olmstead@am.sony.com>
3777
3778         [CMake] Use CMake to determine HAVE_* defines
3779         https://bugs.webkit.org/show_bug.cgi?id=162368
3780
3781         Reviewed by Alex Christensen.
3782
3783         * Source/cmake/OptionsCommon.cmake:
3784
3785 2016-09-27  Konstantin Tokarev  <annulen@yandex.ru>
3786
3787         [cmake] Simplify Clang checks and prepare for compiler ID split
3788         https://bugs.webkit.org/show_bug.cgi?id=162609
3789
3790         Reviewed by Michael Catanzaro.
3791
3792         CMake 3.x introduces separate compiler id for AppleClang, making condition
3793         (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") inappropriate as check for
3794         any clang version. Introduce COMPILER_IS_CLANG instead, which is also
3795         shorter that CMAKE_CXX_COMPILER_ID comparison.
3796
3797         * CMakeLists.txt:
3798         * Source/cmake/OptionsCommon.cmake:
3799         * Source/cmake/WebKitHelpers.cmake:
3800         * Source/cmake/OptionsEfl.cmake: Use CMAKE_COMPILER_IS_GNUCXX instead of
3801         !Clang check because this is what was really meant here.
3802
3803 2016-09-27  Konstantin Tokarev  <annulen@yandex.ru>
3804
3805         [cmake] Added COMPILER_IS_GCC_OR_CLANG variable to simplify conditions.
3806         https://bugs.webkit.org/show_bug.cgi?id=162605
3807
3808         Reviewed by Michael Catanzaro.
3809
3810         * CMakeLists.txt:
3811         * Source/cmake/OptionsCommon.cmake:
3812         * Source/cmake/WebKitHelpers.cmake:
3813
3814 2016-09-26  Daniel Bates  <dabates@apple.com>
3815
3816         Rename IOS_TEXT_AUTOSIZING to TEXT_AUTOSIZING
3817         https://bugs.webkit.org/show_bug.cgi?id=162365
3818
3819         Reviewed by Simon Fraser.
3820
3821         * Source/cmake/OptionsMac.cmake:
3822         * Source/cmake/WebKitFeatures.cmake: Substitute ENABLE_TEXT_AUTOSIZING for ENABLE_IOS_TEXT_AUTOSIZING,
3823         update the description of this feature to better describe what it does and re-order the define in the
3824         list of defines such that it is in sorted order.
3825
3826 2016-09-26  Konstantin Tokarev  <annulen@yandex.ru>
3827
3828         [cmake] Added an option to disable thin archives when they are undesirable.
3829         https://bugs.webkit.org/show_bug.cgi?id=162561
3830
3831         Reviewed by Michael Catanzaro.
3832
3833         * Source/cmake/OptionsCommon.cmake: Added USE_THIN_ARCHIVES option.
3834
3835 2016-09-23  Caitlin Potter  <caitp@igalia.com>
3836
3837         [JSC] Implement parsing of Async Functions
3838         https://bugs.webkit.org/show_bug.cgi?id=161409
3839
3840         Reviewed by Yusuke Suzuki.
3841
3842         * Source/cmake/WebKitFeatures.cmake:
3843
3844 2016-09-22  Daniel Bates  <dabates@apple.com>
3845
3846         Remove more ENABLE(TEXT_AUTOSIZING) code
3847         https://bugs.webkit.org/show_bug.cgi?id=162456
3848
3849         Reviewed by Simon Fraser.
3850
3851         * Source/cmake/tools/vsprops/FeatureDefines.props:
3852         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3853
3854 2016-09-20  Don Olmstead  <don.olmstead@am.sony.com>
3855
3856         [WinCairo] Use find_package cairo in build
3857         https://bugs.webkit.org/show_bug.cgi?id=162239
3858
3859         Reviewed by Alex Christensen.
3860
3861         * Source/cmake/FindCairo.cmake:
3862         * Source/cmake/OptionsWinCairo.cmake:
3863
3864 2016-09-19  Daniel Bates  <dabates@apple.com>
3865
3866         Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code
3867         https://bugs.webkit.org/show_bug.cgi?id=162167
3868
3869    &n