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