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