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