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