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