[CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64...
[WebKit-https.git] / ChangeLog
1 2018-05-22  Alberto Garcia  <berto@igalia.com>
2
3         [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
4         https://bugs.webkit.org/show_bug.cgi?id=182622
5         <rdar://problem/40292317>
6
7         Reviewed by Michael Catanzaro.
8
9         * Source/cmake/WebKitCompilerFlags.cmake:
10         Move the test to detect whether we need to link against libatomic
11         to a common CMake file so it can be used from both JavaScriptCore
12         and WebKit.
13
14 2018-05-22  Michael Catanzaro  <mcatanzaro@igalia.com>
15
16         Unreviewed, rolling out r231843.
17
18         Broke cross build
19
20         Reverted changeset:
21
22         "[CMake] Properly detect compiler flags, needed libs, and
23         fallbacks for usage of 64-bit atomic operations"
24         https://bugs.webkit.org/show_bug.cgi?id=182622
25         https://trac.webkit.org/changeset/231843
26
27 2018-05-21  Fujii Hironori  <Hironori.Fujii@sony.com>
28
29         [WinCairo] Enable WebKit build by default
30         https://bugs.webkit.org/show_bug.cgi?id=185141
31
32         Reviewed by Per Arne Vollan.
33
34         * Source/cmake/OptionsWin.cmake: Disable
35         ENABLE_NETSCAPE_PLUGIN_API unconditionally for WinCairo port
36         because it builds both WK1 and WK2.
37         * Source/cmake/OptionsWinCairo.cmake: Turn ENABLE_WEBKIT on by default.
38         Remove BUILDING_WIN_CAIRO_WEBKIT macro.
39
40 2018-05-21  Carlos Garcia Campos  <cgarcia@igalia.com>
41
42         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.2 release.
43
44         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
45
46 2018-05-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
47
48         [WPE] Implement and enable FULLSCREEN_API
49         https://bugs.webkit.org/show_bug.cgi?id=185676
50
51         Reviewed by Žan Doberšek.
52
53         Remove the CMake option to disable this option for WPE.
54         This feature gets enabled now via Source/cmake/WebKitFeatures.cmake
55
56         * Source/cmake/OptionsWPE.cmake:
57
58 2018-05-16  Don Olmstead  <don.olmstead@sony.com>
59
60         [WinCairo] Update WinCairoRequirements
61         https://bugs.webkit.org/show_bug.cgi?id=185700
62
63         Reviewed by Per Arne Vollan.
64
65         * Source/cmake/OptionsWinCairo.cmake:
66
67 2018-05-16  Andy VanWagoner  <andy@vanwagoner.family>
68
69         Add support for Intl NumberFormat formatToParts
70         https://bugs.webkit.org/show_bug.cgi?id=185375
71
72         Reviewed by Yusuke Suzuki.
73
74         Add flag for NumberFormat formatToParts.
75
76         * Source/cmake/OptionsJSCOnly.cmake:
77         * Source/cmake/WebKitFeatures.cmake:
78
79 2018-05-14  Yusuke Suzuki  <utatane.tea@gmail.com>
80
81         [Win] Use C++17 in MSVC
82         https://bugs.webkit.org/show_bug.cgi?id=185232
83
84         Reviewed by Alex Christensen.
85
86         Use /std:c++17 option.
87
88         * Source/cmake/OptionsMSVC.cmake:
89
90 2018-05-16  Alberto Garcia  <berto@igalia.com>
91
92         [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
93         https://bugs.webkit.org/show_bug.cgi?id=182622
94
95         Reviewed by Michael Catanzaro.
96
97         * Source/cmake/OptionsGTK.cmake:
98         * Source/cmake/OptionsJSCOnly.cmake:
99         * Source/cmake/OptionsWPE.cmake:
100         Enable THREADS_PREFER_PTHREAD_FLAG. This uses -pthread instead of
101         -lpthread, fixing the 64-bit RISC-V build of the GTK+ port due to
102         missing atomic primitives.
103
104         * Source/cmake/WebKitCompilerFlags.cmake:
105         Move the test to detect whether we need to link against libatomic
106         to a common CMake file so it can be used from both JavaScriptCore
107         and WebKit.
108
109 2018-05-14  Zan Dobersek  <zdobersek@igalia.com>
110
111         [GTK] REGRESSION(r231170) Build broken with Clang 5.0
112         https://bugs.webkit.org/show_bug.cgi?id=185198
113
114         Reviewed by Michael Catanzaro.
115
116         * Source/cmake/WebKitCompilerFlags.cmake: Fall back to the -std=c++1z
117         compiler flag if -std=c++17 is not supported. If that flag is not
118         supported either, bail with an error message.
119
120 2018-05-09  Jan Alexander Steffens  <jan.steffens@gmail.com>
121
122         [GTK] gtk-doc installation subdir duplicated
123         https://bugs.webkit.org/show_bug.cgi?id=185468
124
125         Reviewed by Carlos Garcia Campos.
126
127         The GTK docs are installed into a duplicated subdir,
128         e.g. /usr/share/doc/gtk-doc/html/webkit2gtk-4.0/webkit2gtk-4.0.
129
130         * Source/PlatformGTK.cmake:
131
132 2018-05-09  Michael Catanzaro  <mcatanzaro@igalia.com>
133
134         Unreviewed. Bump WPE soname for good measure.
135
136         * Source/cmake/OptionsWPE.cmake:
137
138 2018-05-09  Michael Catanzaro  <mcatanzaro@igalia.com>
139
140         Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.1 release.
141
142         * Source/cmake/OptionsWPE.cmake: Bump version numbers.
143
144 2018-05-06  Yusuke Suzuki  <utatane.tea@gmail.com>
145
146         [JSC][GTK][JSCONLY] Use capstone disassembler
147         https://bugs.webkit.org/show_bug.cgi?id=185283
148
149         Reviewed by Michael Catanzaro.
150
151         * Source/CMakeLists.txt:
152         * Source/cmake/FindLLVM.cmake: Removed.
153         * Source/cmake/OptionsCommon.cmake:
154         * Source/cmake/OptionsGTK.cmake:
155         * Source/cmake/OptionsJSCOnly.cmake:
156         * Source/cmake/OptionsWPE.cmake:
157
158 2018-05-08  Valerie R Young  <valerie@bocoup.com>
159
160         test262/Runner.pm: create results dir for results of test262 run
161         https://bugs.webkit.org/show_bug.cgi?id=185392
162
163         Reviewed by Michael Saboff.
164
165         Remove reference to no longer existing files.
166
167         * .gitignore:
168
169 2018-05-07  Yusuke Suzuki  <utatane.tea@gmail.com>
170
171         [JSCOnly] Enable Intl.PluralRules
172         https://bugs.webkit.org/show_bug.cgi?id=185359
173
174         Reviewed by Daniel Bates.
175
176         Enable Intl.PluralRules because JSCOnly port enables features aggressively.
177
178         * Source/cmake/OptionsJSCOnly.cmake:
179
180 2018-05-07  Don Olmstead  <don.olmstead@sony.com>
181
182         [WinCairo] Disable plugin api when building modern WebKit
183         https://bugs.webkit.org/show_bug.cgi?id=185312
184
185         Reviewed by Michael Catanzaro.
186
187         * Source/cmake/OptionsWin.cmake:
188
189 2018-05-02  Valerie R Young  <valerie@bocoup.com>
190
191         test262/Runner.pm: save summary to file
192         https://bugs.webkit.org/show_bug.cgi?id=185200
193
194         Reviewed by Michael Saboff.
195
196         * .gitignore:
197
198 2018-05-01  Leo Balter  <leonardo.balter@gmail.com>
199
200         Auto save the results for Test262
201         https://bugs.webkit.org/show_bug.cgi?id=184926
202
203         Reviewed by Michael Saboff.
204
205 2018-05-01  Oleksandr Skachkov  <gskachkov@gmail.com>
206
207         WebAssembly: add support for stream APIs - JavaScript API
208         https://bugs.webkit.org/show_bug.cgi?id=183442
209
210         Reviewed by Yusuke Suzuki and JF Bastien.
211
212         * Source/cmake/WebKitFeatures.cmake:
213
214 2018-04-30  JF Bastien  <jfbastien@apple.com>
215
216         Use some C++17 features
217         https://bugs.webkit.org/show_bug.cgi?id=185135
218
219         Reviewed by Alex Christensen.
220
221         As discussed here [0] let's move WebKit to a subset of C++17. We
222         now require GCC 6 [1] which means that, according to [2] we can
223         use the following C++17 language features (I removed some
224         uninteresting ones):
225
226          - New auto rules for direct-list-initialization
227          - static_assert with no message
228          - typename in a template template parameter
229          - Nested namespace definition
230          - Attributes for namespaces and enumerators
231          - u8 character literals
232          - Allow constant evaluation for all non-type template arguments
233          - Fold Expressions
234          - Unary fold expressions and empty parameter packs
235          - __has_include in preprocessor conditional
236          - Differing begin and end types in range-based for
237          - Improving std::pair and std::tuple
238
239         Consult the Tony Tables [3] to see before / after examples.
240
241         Of course we can use any library feature if we're willing to
242         import them to WTF (and they don't require language support).
243
244
245           [0]: https://lists.webkit.org/pipermail/webkit-dev/2018-March/029922.html
246           [1]: https://trac.webkit.org/changeset/231152/webkit
247           [2]: https://en.cppreference.com/w/cpp/compiler_support
248           [3]: https://github.com/tvaneerd/cpp17_in_TTs/blob/master/ALL_IN_ONE.md
249
250         * Source/cmake/WebKitCompilerFlags.cmake:
251
252 2018-04-29  Michael Catanzaro  <mcatanzaro@igalia.com>
253
254         [CMake] Require GCC 6
255         https://bugs.webkit.org/show_bug.cgi?id=184985
256
257         Reviewed by Alex Christensen.
258
259         Require it.
260
261         * CMakeLists.txt:
262
263 2018-04-26  Daniel Bates  <dabates@apple.com>
264
265         ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
266         https://bugs.webkit.org/show_bug.cgi?id=184161
267         <rdar://problem/39051645>
268
269         Reviewed by Dan Bernstein.
270
271         * ManualTests/DragInlinePDFImageDocument.html: Added.
272         * ManualTests/resources/simple.pdf: Added.
273
274 2018-04-26  Andy VanWagoner  <thetalecrafter@gmail.com>
275
276         [INTL] Implement Intl.PluralRules
277         https://bugs.webkit.org/show_bug.cgi?id=184312
278
279         Reviewed by JF Bastien.
280
281         Added Intl.PluralRules feature flag.
282
283         * Source/cmake/WebKitFeatures.cmake:
284
285 2018-04-26  Zan Dobersek  <zdobersek@igalia.com>
286
287         [GTK][WPE] Initial ASYNC_SCROLLING support
288         https://bugs.webkit.org/show_bug.cgi?id=184961
289
290         Reviewed by Carlos Garcia Campos.
291
292         * Source/cmake/OptionsGTK.cmake: Enable ASYNC_SCROLLING as a private option.
293         * Source/cmake/OptionsWPE.cmake: Ditto.
294
295 2018-04-25  Michael Catanzaro  <mcatanzaro@igalia.com>
296
297         [WPE] Build and link against latest WPEBackend and WPEBackend-fdo
298         https://bugs.webkit.org/show_bug.cgi?id=184643
299
300         Reviewed by Žan Doberšek.
301
302         Update find modules to include the API versions.
303
304         * Source/cmake/FindWPEBackend-fdo.cmake:
305         * Source/cmake/FindWPEBackend.cmake:
306
307 2018-04-25  Michael Catanzaro  <mcatanzaro@igalia.com>
308
309         [CMake] Some options should be marked as advanced
310         https://bugs.webkit.org/show_bug.cgi?id=184972
311
312         Reviewed by Konstantin Tokarev.
313
314         * Source/cmake/FindLibGcrypt.cmake:
315         * Source/cmake/FindWebP.cmake:
316
317 2018-04-25  Michael Catanzaro  <mcatanzaro@igalia.com>
318
319         [GTK] Miscellaneous build cleanups
320         https://bugs.webkit.org/show_bug.cgi?id=184399
321
322         Reviewed by Žan Doberšek.
323
324         * Source/cmake/OptionsGTK.cmake:
325
326 2018-04-24  Leo Balter  <leonardo.balter@gmail.com>
327
328         Land test262 test results associated with Test262 runner
329         https://bugs.webkit.org/show_bug.cgi?id=184667
330
331         Reviewed by Michael Saboff.
332
333         * .gitignore: Ignore test262 results file.
334
335 2018-04-24  Zan Dobersek  <zdobersek@igalia.com>
336
337         [WPE] Remove libgbm dependency
338         https://bugs.webkit.org/show_bug.cgi?id=184906
339
340         Reviewed by Carlos Garcia Campos.
341
342         Remove the libgbm CMake search module. It's not necessary anymore
343         after r230562.
344
345         * Source/cmake/FindLibGBM.cmake: Removed.
346
347 2018-04-23  Michael Catanzaro  <mcatanzaro@igalia.com>
348
349         [GTK] check target looks broken
350         https://bugs.webkit.org/show_bug.cgi?id=184407
351
352         Reviewed by Carlos Garcia Campos.
353
354         It's pretty clear that nobody has been using check for a long time.
355
356         We got rid of check-for-webkitdom-api-breaks a long time ago, when we stopped autogenerating
357         the DOM API, but it's still used in the check target. Fix this.
358
359         Also, the check target for some reason runs itself from the Source subdirectory of the
360         builddir, but the test script expects to be run from the toplevel build directory. Fix this
361         too.
362
363         Add VERBATIM for good measure.
364
365         * Source/PlatformGTK.cmake:
366
367 2018-04-20  Daniel Bates  <dabates@apple.com>
368
369         Unreviewed, rolling out r230117.
370
371         Broke find-in-page for PDFs
372
373         Reverted changeset:
374
375         "ASSERTION FAILED: ASSERT(!containsImage ||
376         MIMETypeRegistry::isSupportedImageResourceMIMEType([resource
377         MIMEType])) in -[NSPasteboard(WebExtras)
378         _web_writePromisedRTFDFromArchive:containsImage:]"
379         https://bugs.webkit.org/show_bug.cgi?id=184161
380         https://trac.webkit.org/changeset/230117
381
382 2018-04-20  Carlos Garcia Campos  <cgarcia@igalia.com>
383
384         [GTK] Local cross references are broken in API documentation
385         https://bugs.webkit.org/show_bug.cgi?id=184771
386
387         Reviewed by Michael Catanzaro.
388
389         Update the documentation html paths and install the JSC GLib API too.
390
391         * Source/PlatformGTK.cmake:
392
393 2018-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
394
395         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.1 release.
396
397         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
398
399 2018-04-17  Zan Dobersek  <zdobersek@igalia.com>
400
401         [CMake] Add and enable the ENABLE_CSS_ANIMATIONS_LEVEL_2 feature define
402         https://bugs.webkit.org/show_bug.cgi?id=184681
403
404         Reviewed by Carlos Garcia Campos.
405
406         * Source/cmake/WebKitFeatures.cmake: Add the ENABLE_CSS_ANIMATIONS_LEVEL_2
407         feature define. Follow Cocoa ports and enable it by default.
408
409 2018-04-15  Michael Catanzaro  <mcatanzaro@igalia.com>
410
411         [WPE] Install files needed for WebKitWebExtensions
412         https://bugs.webkit.org/show_bug.cgi?id=179915
413
414         Reviewed by Žan Doberšek.
415
416         * Source/cmake/OptionsWPE.cmake:
417
418 2018-04-12  Ryan Haddad  <ryanhaddad@apple.com>
419
420         Unreviewed, rolling out r230554.
421
422         The non-ASCII character in the filename causes issues with SVN
423
424         Reverted changeset:
425
426         "input.webkitEntries does not work as expected when folder
427         contains accented chars"
428         https://bugs.webkit.org/show_bug.cgi?id=184517
429         https://trac.webkit.org/changeset/230554
430
431 2018-04-12  Zan Dobersek  <zdobersek@igalia.com>
432
433         [WPE] Switch testing process to using WPEBackend-fdo
434         https://bugs.webkit.org/show_bug.cgi?id=184357
435
436         Reviewed by Carlos Alberto Lopez Perez.
437
438         * Source/cmake/FindWPEBackend-fdo.cmake: Renamed from Source/cmake/FindWPEBackend-mesa.cmake.
439
440 2018-04-11  Thibault Saunier  <tsaunier@igalia.com>
441
442         [GStreamer] Use of playbin3 when USE_PLAYBIN3 environment variable is set
443         https://bugs.webkit.org/show_bug.cgi?id=184498
444
445         Reviewed by Philippe Normand.
446
447         This is the same behaviour as with playbin itself.
448
449         Make sure to keep using "playbin" for MediaSource.
450
451         * Source/cmake/GStreamerDefinitions.cmake:
452
453 2018-04-09  Michael Catanzaro  <mcatanzaro@igalia.com>
454
455         [WPE] Use GNU install directories
456         https://bugs.webkit.org/show_bug.cgi?id=184377
457
458         Reviewed by Carlos Garcia Campos.
459
460         Notably, this means all the CMake arguments that distributors use to customize install
461         directories (-DCMAKE_INSTALL_*DIR) will no longer be ignored.
462
463         * Source/cmake/OptionsCommon.cmake:
464         * Source/cmake/OptionsWPE.cmake:
465
466 2018-04-08  Fujii Hironori  <Hironori.Fujii@sony.com>
467
468         [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
469         https://bugs.webkit.org/show_bug.cgi?id=184127
470
471         Reviewed by Konstantin Tokarev.
472
473         Building TestWebKitLib on Windows causes a linkage error of
474         multiply defined symbols because TestWebKitLib links to
475         both WebCore and WebKit. TestWebKitLib explicitly links only with
476         WebKit, But, WebCore is propagated because WebKit links WebCore as
477         public.
478
479         * Source/cmake/OptionsGTK.cmake (ADD_WHOLE_ARCHIVE_TO_LIBRARIES):
480         Do not wrap PRIVATE and PUBLIC keywords with -Wl,--whole-archive.
481
482 2018-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
483
484         [WPE][GTK] Remove applicationDirectoryPath() and sharedResourcePath()
485         https://bugs.webkit.org/show_bug.cgi?id=184381
486
487         Reviewed by Carlos Garcia Campos.
488
489         * Source/cmake/OptionsGTK.cmake:
490         * Source/cmake/OptionsWPE.cmake:
491
492 2018-04-02  Per Arne Vollan  <pvollan@apple.com>
493
494         Remove references to internal version of WebKitQuartzCoreAdditions in CMake files.
495         https://bugs.webkit.org/show_bug.cgi?id=184246
496         <rdar://problem/39116563>
497
498         Unreviewed build fix.
499
500         * Source/PlatformWin.cmake:
501
502 2018-04-02  Alejandro G. Castro  <alex@igalia.com>
503
504         [GTK] Make libwebrtc backend buildable for GTK  port
505         https://bugs.webkit.org/show_bug.cgi?id=178860
506
507         Reviewed by Youenn Fablet.
508
509         * Source/CMakeLists.txt: Add the libwebrtc directory to the compilation.
510         * Source/cmake/OptionsGTK.cmake: Add the USE_LIBWEBRTC option to
511         allow compilation of the specific code.
512
513 2018-03-30  Daniel Bates  <dabates@apple.com>
514
515         ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
516         https://bugs.webkit.org/show_bug.cgi?id=184161
517
518         Reviewed by Per Arne Vollan.
519
520         * ManualTests/DragInlinePDFImageDocument.html: Added.
521         * ManualTests/resources/simple.pdf: Added.
522
523 2018-03-28  Tim Horton  <timothy_horton@apple.com>
524
525         Make it possible to disable building the tools with Make
526         https://bugs.webkit.org/show_bug.cgi?id=184109
527
528         Reviewed by Simon Fraser.
529
530         * Makefile:
531
532 2018-03-25  Carlos Garcia Campos  <cgarcia@igalia.com>
533
534         [GTK][WPE] Add API to convert between DOM and JSCValue
535         https://bugs.webkit.org/show_bug.cgi?id=183448
536
537         Reviewed by Michael Catanzaro.
538
539         Define FORWARDING_HEADERS_WPE_DOM_DIR.
540
541         * Source/cmake/OptionsWPE.cmake:
542
543 2018-03-22  Adrian Perez de Castro  <aperez@igalia.com>
544
545         [WPE] Enable WOFF2 support
546         https://bugs.webkit.org/show_bug.cgi?id=178158
547
548         Reviewed by Frédéric Wang.
549
550         * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
551
552 2018-03-21  Carlos Garcia Campos  <cgarcia@igalia.com>
553
554         [GTK][WPE] Initial implementation of JavaScriptCore glib bindings
555         https://bugs.webkit.org/show_bug.cgi?id=164061
556
557         Reviewed by Michael Catanzaro.
558
559         Set global variables used by the makefiles.
560
561         * Source/cmake/OptionsGTK.cmake:
562         * Source/cmake/OptionsWPE.cmake:
563
564 2018-03-15  Ms2ger  <Ms2ger@igalia.com>
565
566         [GTK][WPE] Enable service workers
567         https://bugs.webkit.org/show_bug.cgi?id=178576
568
569         Reviewed by Žan Doberšek.
570
571         * Source/cmake/OptionsGTK.cmake:
572         * Source/cmake/OptionsWPE.cmake:
573
574 2018-03-12  Yoav Weiss  <yoav@yoav.ws>
575
576         Runtime flag for link prefetch and remove link subresource.
577         https://bugs.webkit.org/show_bug.cgi?id=183540
578
579         Reviewed by Chris Dumez.
580
581         Remove the LINK_PREFETCH build time flag.
582
583         * Source/cmake/OptionsWin.cmake:
584         * Source/cmake/WebKitFeatures.cmake:
585         * Source/cmake/tools/vsprops/FeatureDefines.props:
586         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
587
588 2018-03-12  Zan Dobersek  <zdobersek@igalia.com>
589
590         Unreviewed. Unbreak the WPE layout testing that's been broken since
591         r229470. Due to disassociation between ENABLE(ACCESSIBILITY) and
592         HAVE(ACCESSIBILITY), the injected bundle for the WPE port was left with
593         undefined symbols. This is fixed with ENABLE_ACCESSIBILITY being enabled
594         for the WPE port as well.
595
596         * Source/cmake/OptionsWPE.cmake:
597
598 2018-03-12  Carlos Garcia Campos  <cgarcia@igalia.com>
599
600         Unreviewed. Fix library version of JavaScriptCoreGTK.
601
602         * Source/cmake/OptionsGTK.cmake:
603
604 2018-03-09  Carlos Garcia Campos  <cgarcia@igalia.com>
605
606         Unreviewed. Bump WebKitGTK+ version to 2.21.0.
607
608         * Source/cmake/OptionsGTK.cmake:
609
610 2018-03-08  Tim Horton  <timothy_horton@apple.com>
611
612         Add a way to not build libwebrtc when building WebKit via Makefiles
613         https://bugs.webkit.org/show_bug.cgi?id=183437
614         <rdar://problem/38254840>
615
616         Reviewed by Dan Bernstein.
617
618         * Source/Makefile:
619
620 2018-03-05  Don Olmstead  <don.olmstead@sony.com>
621
622         [CMake] Split JSC header copying into public and private targets
623         https://bugs.webkit.org/show_bug.cgi?id=183251
624
625         Reviewed by Konstantin Tokarev.
626
627         * Source/cmake/WebKitMacros.cmake:
628
629 2018-03-02  Don Olmstead  <don.olmstead@sony.com>
630
631         Add clang-format configuration
632         https://bugs.webkit.org/show_bug.cgi?id=183302
633
634         Reviewed by Ryosuke Niwa.
635
636         * .clang-format: Added.
637
638 2018-03-01  Michael Catanzaro  <mcatanzaro@igalia.com>
639
640         [CMake] configure failure for aarch64
641         https://bugs.webkit.org/show_bug.cgi?id=183268
642
643         Unreviewed build fix. This failure is caused by a simple typo.
644
645         * Source/cmake/OptionsCommon.cmake:
646
647 2018-02-26  Yousuke Kimoto  <yousuke.kimoto@sony.com>
648
649         [WinCairo] WebKit2_C.h should be included for TestWebKit
650         https://bugs.webkit.org/show_bug.cgi?id=182682
651
652         Reviewed by Yusuke Suzuki.
653
654         Added a new definition "BUILDING_WIN_CAIRO_WEBKIT" to specify
655         the wincairo webkit build.
656
657         * Source/cmake/OptionsWinCairo.cmake:
658
659 2018-02-26  Fujii Hironori  <Hironori.Fujii@sony.com>
660
661         [CMake][OpenVR] Linkage errors happen because only OpenVR is compiled with -stdlib=libc++ if Clang is used
662         https://bugs.webkit.org/show_bug.cgi?id=183116
663
664         Reviewed by Žan Doberšek.
665
666         OpenVR has a option USE_LIBCXX to enable/disable that behavior. Let's disable it.
667
668         * Source/CMakeLists.txt: Added a option command for USE_LIBCXX to set OFF as default.
669
670 2018-02-21  Don Olmstead  <don.olmstead@sony.com>
671
672         [CMake] Expose HAVE macros globally
673         https://bugs.webkit.org/show_bug.cgi?id=183011
674
675         Reviewed by Michael Catanzaro.
676
677         * Source/cmake/OptionsCommon.cmake:
678         * Source/cmake/WebKitFeatures.cmake:
679
680 2018-02-21  Don Olmstead  <don.olmstead@sony.com>
681
682         [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
683         https://bugs.webkit.org/show_bug.cgi?id=182883
684
685         Reviewed by Per Arne Vollan.
686
687         * Source/cmake/OptionsAppleWin.cmake:
688         * Source/cmake/OptionsWin.cmake:
689         * Source/cmake/OptionsWinCairo.cmake:
690
691 2018-02-21  Michael Catanzaro  <mcatanzaro@igalia.com>
692
693         [GTK] USE_UPOWER causes crashes inside a chroot or on systems with broken dbus/upower
694         https://bugs.webkit.org/show_bug.cgi?id=181825
695
696         Reviewed by Carlos Garcia Campos.
697
698         Get rid of the upower-glib dependency. We will use upower's D-Bus API instead.
699
700         * Source/cmake/FindUPowerGLib.cmake: Removed.
701         * Source/cmake/OptionsGTK.cmake:
702
703 2018-02-20  Adrian Perez de Castro  <aperez@igalia.com>
704
705         [GTK][CMake] Support building with Enchant 2.x
706         https://bugs.webkit.org/show_bug.cgi?id=182933
707
708         Reviewed by Michael Catanzaro.
709
710         * Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
711         pkg-config components, picking the first available for which the headers and
712         library are usable.
713
714 2018-02-19  Philippe Normand  <pnormand@igalia.com>
715
716         [GStreamer] Playbin3 support
717         https://bugs.webkit.org/show_bug.cgi?id=182530
718
719         Reviewed by Xabier Rodriguez-Calvar.
720
721         * Source/cmake/GStreamerDefinitions.cmake: New
722         USE(GSTREAMER_PLAYBIN3) feature. This should be enabled only for
723         very recent versions of GStreamer (1.14 at least) and is optional, for now.
724
725 2018-02-18  Philippe Normand  <pnormand@igalia.com>
726
727         [GTK][WPE] Fullscreen video is broken
728         https://bugs.webkit.org/show_bug.cgi?id=182740
729
730         Reviewed by Michael Catanzaro.
731
732         * Source/cmake/WebKitFeatures.cmake: Enable the
733         VIDEO_USES_ELEMENT_FULLSCREEN feature on CMake ports.
734
735 2018-02-16  Dean Jackson  <dino@apple.com>
736
737         Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
738         https://bugs.webkit.org/show_bug.cgi?id=182894
739
740         Reviewed by Tim Horton.
741
742         Rename OPENGL_ES_2 to OPENGL_ES.
743
744         * Source/cmake/OptionsGTK.cmake:
745         * Source/cmake/OptionsWPE.cmake:
746
747 2018-02-09  Ross Kirsling  <ross.kirsling@sony.com>
748
749         Simplify .gitignore's WebKitLibraries/win section.
750         https://bugs.webkit.org/show_bug.cgi?id=182618
751
752         Reviewed by Per Arne Vollan.
753
754         We need to update this section for WinCairoRequirements regardless, but
755         it never needed to be this longwinded in the first place.
756
757         * .gitignore:
758
759 2018-02-08  Fujii Hironori  <Hironori.Fujii@sony.com>
760
761         [Meta][Win] Support ICU 59.1+
762         https://bugs.webkit.org/show_bug.cgi?id=181004
763
764         Reviewed by Alex Christensen.
765
766         ICU 59 changed the type of UChar from wchar_t to char16_t on
767         Windows. We need a lot of conversions between UChar* and wchar_t*
768         to call Windows API because it takes string as wchar_t*.
769
770         Fortunately, ICU is configurable to define UChar as wchar_t as
771         well as the prior ICU.
772         <http://icu-project.org/apiref/icu4c/umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac>
773
774         * Source/cmake/OptionsWin.cmake: Add a compile option -DUCHAR_TYPE=wchar_t.
775
776 2018-02-08  Michael Catanzaro  <mcatanzaro@igalia.com>
777
778         Unreviewed, switch -pthread to -lpthread per recommendation from Adrian
779         https://bugs.webkit.org/show_bug.cgi?id=182400
780         <rdar://problem/37252242>
781
782         This is tested and works fine.
783
784         * Source/cmake/WebKitCompilerFlags.cmake:
785
786 2018-02-05  Yousuke Kimoto  <yousuke.kimoto@sony.com>
787
788         [WinCairo] Refine WebKitLegacy and WebKit build for wincairo
789         https://bugs.webkit.org/show_bug.cgi?id=182478
790
791         Reviewed by Alex Christensen.
792
793         * Source/cmake/OptionsWinCairo.cmake: Added a ENABLE_WIN_CAIRO_WEBKIT option to build webkit for wincairo.
794
795 2018-02-05  Michael Catanzaro  <mcatanzaro@igalia.com>
796
797         Unreviewed, fix build using the new ENABLE_ADDRESS_SANITIZER option
798         https://bugs.webkit.org/show_bug.cgi?id=182400
799         <rdar://problem/37252242>
800
801         I failed to properly test a last-minute change.
802
803         * Source/cmake/WebKitCompilerFlags.cmake:
804
805 2018-02-05  Michael Catanzaro  <mcatanzaro@igalia.com>
806
807         [CMake] Add ENABLE_ADDRESS_SANITIZER to make it easier to build with asan support
808         https://bugs.webkit.org/show_bug.cgi?id=182400
809
810         Reviewed by Konstantin Tokarev.
811
812         * Source/cmake/OptionsGTK.cmake:
813         * Source/cmake/WebKitCompilerFlags.cmake:
814
815 2018-01-31  Michael Catanzaro  <mcatanzaro@igalia.com>
816
817         Update ReadMe.md
818         https://bugs.webkit.org/show_bug.cgi?id=182314
819
820         Reviewed by Alex Christensen.
821
822         Add download link for Epiphany Technology Preview. Improve build instructions for GTK. Add
823         build instructions for WPE. Add instructions to run MiniBrowser on Linux. Miscellaneous
824         typographical adjustments.
825
826         * ReadMe.md:
827
828 2018-01-30  Sergio Villar Senin  <svillar@igalia.com>
829
830         [WebVR][GTK][WPE] Exclude OpenVR from tarballs
831         https://bugs.webkit.org/show_bug.cgi?id=182284
832
833         Reviewed by Michael Catanzaro.
834
835         Added private build options for USE_OPENVR.
836
837         * Source/cmake/OptionsGTK.cmake:
838         * Source/cmake/OptionsWPE.cmake:
839
840 2018-01-30  Basuke Suzuki  <Basuke.Suzuki@sony.com>
841
842         [WinCairo] Fix forwarding header conflict of WebKit on WinCairo
843         https://bugs.webkit.org/show_bug.cgi?id=177202
844
845         Reviewed by Alex Christensen.
846
847         * Source/cmake/WebKitMacros.cmake:
848
849 2018-01-29  Jiewen Tan  <jiewen_tan@apple.com>
850
851         [WebAuthN] Add a compile-time feature flag
852         https://bugs.webkit.org/show_bug.cgi?id=182211
853         <rdar://problem/36936365>
854
855         Reviewed by Brent Fulgham.
856
857         * Source/cmake/WebKitFeatures.cmake:
858         * Source/cmake/tools/vsprops/FeatureDefines.props:
859         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
860
861 2018-01-18  Sergio Villar Senin  <svillar@igalia.com>
862
863         [WebVR] Add OpenVR to the tree and to the build
864         https://bugs.webkit.org/show_bug.cgi?id=177298
865
866         Reviewed by Žan Doberšek.
867
868         * Source/CMakeLists.txt:
869         * Source/cmake/OptionsGTK.cmake: Enable USE_OPENVR.
870         * Source/cmake/OptionsWPE.cmake: Ditto.
871
872 2018-01-18  Dan Bernstein  <mitz@apple.com>
873
874         [Xcode] Shared schemes in the WebKit workspace still have build pre-actions that invoke copy-webkitlibraries-to-product-directory
875         https://bugs.webkit.org/show_bug.cgi?id=181784
876
877         Reviewed by Anders Carlsson.
878
879         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Remove the build pre-action.
880         * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Ditto.
881
882 2018-01-17  Michael Catanzaro  <mcatanzaro@igalia.com>
883
884         WEBKIT_FRAMEWORK should not modify file-global include directories
885         https://bugs.webkit.org/show_bug.cgi?id=181656
886
887         Reviewed by Konstantin Tokarev.
888
889         Only modify the system include directories of the target passed to WEBKIT_FRAMEWORK.
890
891         * Source/cmake/WebKitMacros.cmake:
892
893 2018-01-17  Carlos Garcia Campos  <cgarcia@igalia.com>
894
895         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.6 release.
896
897         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
898
899 2018-01-15  Michael Catanzaro  <mcatanzaro@igalia.com>
900
901         REGRESSION(r226266): [GTK] RELEASE_ASSERT(reservedZoneSize >= minimumReservedZoneSize) in JSC::VM::updateStackLimits
902         https://bugs.webkit.org/show_bug.cgi?id=181438
903         <rdar://problem/36376724>
904
905         Reviewed by Carlos Garcia Campos.
906
907         Build JSC as a shared library.
908
909         Stop using -fvisibility=hidden. This is a shame, but it is causing problems that I don't
910         know how to fix.
911
912         * Source/cmake/OptionsGTK.cmake:
913         * Source/cmake/WebKitCompilerFlags.cmake:
914
915 2018-01-11  Keith Miller  <keith_miller@apple.com>
916
917         Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
918         https://bugs.webkit.org/show_bug.cgi?id=181573
919
920         Reviewed by Simon Fraser.
921
922         * Source/cmake/WebKitFeatures.cmake:
923
924 2018-01-10  Per Arne Vollan  <pvollan@apple.com>
925
926         [Win] WebKitLegacy should be a dll, not a static library.
927         https://bugs.webkit.org/show_bug.cgi?id=181500
928
929         Reviewed by Alex Christensen.
930
931         Set WebKitLegacy library type to shared.
932
933         * Source/cmake/OptionsWin.cmake:
934
935 2018-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
936
937         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.5 release.
938
939         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
940
941 2018-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
942
943         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.4 release.
944
945         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
946
947 2018-01-05  Fujii Hironori  <Hironori.Fujii@sony.com>
948
949         REGRESSION(r226306)[Win][CMake] Unnecessary recompilations triggered by unconditionally copied header files of DerivedSources
950         https://bugs.webkit.org/show_bug.cgi?id=181324
951
952         Reviewed by Konstantin Tokarev.
953
954         r226306 changed to use cmake -E copy to copy header files of
955         DerivedSources. This command copies files unconditionally, then
956         introduced unnecessary recompilations.
957
958         * Source/cmake/WebKitMacros.cmake: Use copy_if_different instead of copy.
959
960 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
961
962         Replace hard-coded paths in shebangs with #!/usr/bin/env
963         https://bugs.webkit.org/show_bug.cgi?id=181040
964
965         Reviewed by Alex Christensen.
966
967         * Source/cmake/tools/scripts/auto-version.pl:
968         * Source/cmake/tools/scripts/feature-defines.pl:
969         * Source/cmake/tools/scripts/version-stamp.pl:
970
971 == Rolled over to ChangeLog-2018-01-01 ==