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