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