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