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