Revision control

1
2021-05-06 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
2
3
[OpenSSL] Implement CryptoAlgorithmRSA*
5
6
Reviewed by Don Olmstead.
7
8
Implement RSA for OpenSSL.
9
10
Implement CryptoAlgorithmRSA_OAEP, CryptoAlgorithmRSA_PSS,
11
CryptoAlgorithmRSAES_PKCS1_v1_5, CryptoAlgorithmRSASA_PKCS1_v1_5,
12
and CryptoKeyRSA for OpenSSL.
13
14
Note that if such OpenSSL version that does not support RSA_OAEP or
15
RSA_PSS, the WebCrypto API for those algorithm will return a
16
NotSupportedError.
17
18
* Source/cmake/OptionsPlayStation.cmake:
19
* Source/cmake/OptionsWinCairo.cmake:
20
21
2021-05-05 Michael Catanzaro <mcatanzaro@gnome.org>
22
23
USE_64KB_PAGE_BLOCK build option is broken
25
26
Reviewed by Adrian Perez de Castro.
27
28
Call SET_AND_EXPOSE_TO_BUILD().
29
30
* Source/cmake/WebKitFeatures.cmake:
31
32
2021-05-05 Michael Catanzaro <mcatanzaro@gnome.org>
33
34
Fix typo in comment in WebKitFeatures.cmake
36
37
Unreviewed.
38
39
* Source/cmake/WebKitFeatures.cmake:
40
41
2021-04-27 Don Olmstead <don.olmstead@sony.com>
42
43
[CMake] Don't use FORWARDING_HEADERS_DIR for GTK WebKit headers
45
46
Reviewed by Michael Catanzaro.
47
48
Create CMake variables WebKit2Gtk_FRAMEWORK_HEADERS_DIR and WebKit2Gtk_DERIVED_SOURCES_DIR
49
to represent where the WebKit2 GTK headers and derived sources will reside. The names and
50
locations set then follow along with the conventions used for the other frameworks.
51
52
* Source/cmake/OptionsGTK.cmake:
53
54
2021-04-26 Alex Christensen <achristensen@webkit.org>
55
56
Update Mac-specific CMake files
58
59
Rubber-stamped by Tim Horton.
60
61
* Source/cmake/OptionsMac.cmake:
62
* Source/cmake/WebKitCommon.cmake:
63
64
2021-04-26 Don Olmstead <don.olmstead@sony.com>
65
66
[PlayStation] Fix build break after r276368
68
69
Reviewed by Ross Kirsling.
70
71
Ensure that the OpenGL::GLES target is created.
72
73
* Source/cmake/OptionsPlayStation.cmake:
74
75
2021-04-22 Martin Robinson <mrobinson@webkit.org>
76
77
[GTK] Turn on editable <input type=date> and <input type=time> fields
79
80
Reviewed by Carlos Garcia Campos.
81
82
Turn on editable date and time inputs for GTK
83
84
* Source/cmake/OptionsGTK.cmake: Add new source file to the list.
85
86
2021-04-22 Imanol Fernandez <ifernandez@igalia.com>
87
88
Implement WebXR Input Sources
90
91
Reviewed by Youenn Fablet.
92
93
Enable WPE Gamepad when WebXR is enabled.
94
95
* Source/cmake/OptionsWPE.cmake:
96
97
2021-04-22 Carlos Garcia Campos <cgarcia@igalia.com>
98
99
[SOUP] Add support for preconnect
101
102
Reviewed by Sergio Villar Senin.
103
104
Enable server preconnect support when building with libsoup3.
105
106
* Source/cmake/OptionsGTK.cmake:
107
* Source/cmake/OptionsWPE.cmake:
108
109
2021-04-22 Carlos Garcia Campos <cgarcia@igalia.com>
110
111
[GTK][WPE] Bump libsoup3 version to 2.99.4
113
114
Reviewed by Philippe Normand.
115
116
* Source/cmake/OptionsGTK.cmake:
117
* Source/cmake/OptionsWPE.cmake:
118
119
2021-04-21 Martin Robinson <mrobinson@igalia.com>
120
121
Enable CSS Scroll Snap by default
123
124
Reviewed by Don Olmstead.
125
126
* Source/cmake/OptionsFTW.cmake: Remove redundant line enabling scroll snap.
127
* Source/cmake/OptionsGTK.cmake: Ditto.
128
* Source/cmake/OptionsMac.cmake: Ditto.
129
* Source/cmake/OptionsWPE.cmake: Ditto.
130
* Source/cmake/OptionsWin.cmake: Explicitly disable scroll snap for AppleWin port
131
until it can be approved by maintainers.
132
* Source/cmake/WebKitFeatures.cmake: Enable scroll snap by default.
133
134
2021-04-21 Don Olmstead <don.olmstead@sony.com>
135
136
[CMake] Add OpenGLES2 targets
138
139
Reviewed by Adrian Perez de Castro.
140
141
Modernize the FindOpenGLES2.cmake module. Add an OpenGL::GLES target. Also add an
142
OpenGLES2_API_VERSION value so HAVE_OPENGL_ES_3 can be determined.
143
144
For WPE add a find_package for OpenGL ES so the target is present.
145
146
For GTK set HAVE_OPENGL_ES_3 if OpenGLES2_API_VERSION supports it.
147
148
* Source/cmake/FindOpenGLES2.cmake:
149
* Source/cmake/OptionsGTK.cmake:
150
* Source/cmake/OptionsWPE.cmake:
151
152
2021-04-20 Don Olmstead <don.olmstead@sony.com>
153
154
[CMake] Don't use FORWARDING_HEADERS_DIR for JSC GLib headers
156
157
Reviewed by Michael Catanzaro.
158
159
Create CMake variables JavaScriptCoreGLib_FRAMEWORK_HEADERS_DIR and
160
JavaScriptCoreGLib_DERIVED_SOURCES_DIR to represent where the JavaScriptCore GLib headers
161
and derived sources will reside. The names and locations set then follow along with the
162
conventions used for the other frameworks.
163
164
* Source/cmake/OptionsGTK.cmake:
165
* Source/cmake/OptionsWPE.cmake:
166
167
2021-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
168
169
[WPE] Switch to libsoup3 by default
171
172
Reviewed by Žan Doberšek.
173
174
* Source/cmake/OptionsWPE.cmake:
175
176
2021-04-19 Carlos Garcia Campos <cgarcia@igalia.com>
177
178
[GTK] Switch to libsoup3 by default
180
181
Reviewed by Sergio Villar Senin.
182
183
* Source/cmake/OptionsGTK.cmake:
184
185
2021-04-19 Philippe Normand <pnormand@igalia.com>
186
187
[WPE][GTK] Enable AVIF decoder as experimental feature and unskip tests
189
190
Reviewed by Xabier Rodriguez-Calvar.
191
192
Make the USE_AVIF option public and enable it as experimental feature.
193
194
* Source/cmake/OptionsGTK.cmake:
195
* Source/cmake/OptionsWPE.cmake:
196
197
2021-04-16 Philippe Normand <pnormand@igalia.com>
198
199
[CMake] UBSan build fixes
201
202
Reviewed by Adrian Perez de Castro.
203
204
Synchronize UBSan compiler flags with the ones defined in ubsan.xcconfig.
205
206
* Source/cmake/WebKitCompilerFlags.cmake:
207
208
2021-04-15 Don Olmstead <don.olmstead@sony.com>
209
210
ANGLE is only being built when WebGL is enabled
212
213
Reviewed by Fujii Hironori.
214
215
ANGLE should be built if either USE_ANGLE_EGL or ENABLE_WEBGL is ON.
216
217
* Source/CMakeLists.txt:
218
219
2021-04-15 Basuke Suzuki <basuke.suzuki@sony.com>
220
221
Remove warnings caused by export g_config extern definition in WTFConfig.h
223
224
Reviewed by Don Olmstead.
225
226
While building PlayStation port, lots of warnings are displayed:
227
228
> WTF/Headers\wtf/WTFConfig.h:49:36: warning: redeclaration of 'WebConfig::g_config'
229
> should not add 'dllimport' attribute [-Wdll-attribute-on-redeclaration]
230
> extern "C" WTF_EXPORT_PRIVATE Slot g_config[];
231
> ^
232
> bmalloc/Headers\bmalloc/GigacageConfig.h:38:17: note: previous declaration is here
233
> extern "C" Slot g_config[];
234
235
This is because the two definitions are not same.
236
Becasue we can't solve the situation completely, we just ignore these warnings at
237
this morment.
238
239
* Source/cmake/OptionsPlayStation.cmake:
240
241
2021-04-15 Philippe Normand <pnormand@igalia.com>
242
243
[WebRTC][GStreamer] Build and use the openh264 based encoder if present on the system
246
247
Reviewed by Xabier Rodriguez-Calvar.
248
249
* Source/CMakeLists.txt:
250
* Source/cmake/GStreamerChecks.cmake:
251
252
2021-04-14 Don Olmstead <don.olmstead@sony.com>
253
254
[PlayStation] Disable WebGL
256
257
Reviewed by Alex Christensen.
258
259
WebGL support on PlayStation platforms is deprecated.
260
261
* Source/cmake/OptionsPlayStation.cmake:
262
263
2021-04-13 Philippe Normand <pnormand@igalia.com>
264
265
[GTK][WPE] Avif decoder build broken
267
268
Reviewed by Carlos Garcia Campos.
269
270
* Source/cmake/OptionsGTK.cmake: Require 0.9.0 due to avifIO usage in the decoder.
271
272
2021-04-09 Carlos Garcia Campos <cgarcia@igalia.com>
273
274
[GTK][WPE] Bump libsoup3 version to 2.99.3
276
277
Reviewed by Žan Doberšek.
278
279
* Source/cmake/OptionsGTK.cmake:
280
* Source/cmake/OptionsWPE.cmake:
281
282
2021-04-07 Michael Catanzaro <mcatanzaro@gnome.org>
283
284
[GTK] webkit://gpu should print runtime libwpe and wpebackend-fdo versions
286
287
Reviewed by Adrian Perez de Castro.
288
289
* Source/cmake/OptionsGTK.cmake:
290
291
2021-04-07 Don Olmstead <don.olmstead@sony.com>
292
293
[CMake] Mark _LIBRARY not _LIBRARIES in find modules
295
296
Reviewed by Michael Catanzaro.
297
298
A few find modules are erroniously sending _LIBRARIES to mark_as_advanced rather than
299
_LIBRARY. The former is created from the _LIBRARY value so it isn't valid at that point.
300
301
* Source/cmake/FindCairo.cmake:
302
* Source/cmake/FindFontconfig.cmake:
303
* Source/cmake/FindSQLite3.cmake:
304
305
2021-04-07 Kimmo Kinnunen <kkinnunen@apple.com>
306
307
.gitignore contains 'build/' which causes all directories named 'build/' to be ignored
309
310
Reviewed by Ryosuke Niwa.
311
312
Remove 'build/' from .gitignore, it was causing errors by hiding files.
313
WebGL conformance test suite files have directiories with 'build/' in its path.
314
315
Most likely '/build/' is not a common build directory, since the scripts
316
seem to default to '/WebKitBuild/'.
317
318
* .gitignore:
319
320
2021-04-06 Philippe Normand <pnormand@igalia.com>
321
322
REGRESSION(r275275): Broke some build configs lacking openh264
324
325
Unreviewed, manual revert of r275275 and r275409.
326
327
* Source/CMakeLists.txt:
328
* Source/cmake/GStreamerChecks.cmake:
329
330
2021-04-06 Mark Lam <mark.lam@apple.com>
331
332
Speculative build fix for Windows port.
335
336
Reviewed by Saam Barati.
337
338
Source/cmake/tools/scripts/auto-version.pl was limiting our `minor` and `micro`
339
version to only 2 decimal digits only. In practice, we can use up to 3 digits.
340
341
* Source/cmake/tools/scripts/auto-version.pl:
342
(packTwoValues):
343
344
2021-04-05 Alex Christensen <achristensen@webkit.org>
345
346
Resurrect Mac CMake build
348
349
Reviewed by Tim Horton.
350
351
* Source/cmake/OptionsMac.cmake:
352
353
2021-04-05 Tyler Wilcock <twilco.o@protonmail.com>
354
355
Document how to use logging in WebKit
357
358
Reviewed by Simon Fraser.
359
360
Add documentation about how to use logging in WebKit.
361
362
* Introduction.md:
363
364
2021-03-28 David Kilzer <ddkilzer@apple.com>
365
366
Compile WebKit with UBSan
369
370
Reviewed by Alexey Proskuryakov.
371
372
* Makefile.shared:
373
- Add support for "UBSAN=YES" argument to make.
374
375
2021-03-27 Philippe Normand <pnormand@igalia.com>
376
377
REGRESSION(r275111) [GLIB] Fix build with new derived sources and forwarding headers scheme
379
380
Unreviewed build fix.
381
382
* Source/cmake/OptionsGTK.cmake:
383
* Source/cmake/OptionsWPE.cmake:
384
385
2021-03-26 Lauro Moura <lmoura@igalia.com>
386
387
REGRESSION(r275111) [GLIB] Fix build with new derived sources and forwarding headers scheme
389
390
Unreviewed build fix.
391
392
Buildfix for now. Actual removal of older scheme will come in the
393
future.
394
395
* Source/cmake/OptionsWPE.cmake: Add some missing variables with the
396
per framework source and header dirs.
397
398
2021-03-26 Don Olmstead <don.olmstead@sony.com>
399
400
[CMake] Deprecate using DERIVED_SOURCES_DIR/FOWARDING_HEADERS_DIR directly
402
403
Reviewed by Michael Catanzaro.
404
405
Remove any usages of DERIVED_SOURCES_DIR and FOWARDING_HEADERS_DIR. There are still some
406
uses in GTK/WPE but those should be phased out.
407
408
Sets the directory structure to look like an Apple build in terms of where headers and
409
derived sources are held. Rather than having one root derived sources and one root
410
header directory those directories are now per project. This helps catch any errors with
411
header includes.
412
413
Deletes some old Mac CMake code that is no longer relevant around creating forwarding
414
headers.
415
416
For AppleWin the old structure is used because of its internal build which assumes the
417
old structure.
418
419
* Source/cmake/OptionsAppleWin.cmake:
420
* Source/cmake/OptionsFTW.cmake:
421
* Source/cmake/OptionsGTK.cmake:
422
* Source/cmake/OptionsPlayStation.cmake:
423
* Source/cmake/OptionsWPE.cmake:
424
* Source/cmake/OptionsWinCairo.cmake:
425
* Source/cmake/WebKitCommon.cmake:
426
* Source/cmake/WebKitFS.cmake:
427
* Source/cmake/WebKitMacros.cmake:
428
429
2021-03-23 Adrian Perez de Castro <aperez@igalia.com>
430
431
[CMake] Use an imported target for the LCMS2 library
433
434
Reviewed by Carlos Garcia Campos.
435
436
* Source/cmake/FindLCMS2.cmake: Replaced find module by a new one which
437
defines a LCMS2::LCMS2 imported target and in general uses more modern CMake
438
constructs.
439
440
2021-03-23 Cameron McCormack <heycam@apple.com>
441
442
Update .clang-format to reflect WebKit style better.
444
445
First, SpaceBeforeCpp11BracedList is set to true so that a space
446
is introduced after a variable name and before a braced initializer.
447
448
Second, AlwaysBreakTemplateDeclarations is changed from false (an
449
invalid value) to No, which should result in no line breaks being
450
introduced in template declarations. Although there is a mix of
451
template declaration line breaking styles in the codebase, changing
452
this option to No will prevent clang-format from introducing one
453
where the patch author decides to write the declaration all on one
454
line.
455
456
Reviewed by Alex Christensen.
457
458
* .clang-format:
459
460
2021-03-22 Adrian Perez de Castro <aperez@igalia.com>
461
462
[CMake] Wrong variable used in FindFontconfig used to pick version from pkg-config
464
465
Reviewed by Michael Catanzaro.
466
467
* Source/cmake/FindFontconfig.cmake: Fix to use ${PC_FONTCONFIG_VERSION}.
468
469
2021-03-18 Carlos Garcia Campos <cgarcia@igalia.com>
470
471
[WPE] Bump API version when building with libsoup3
473
474
Reviewed by Adrian Perez de Castro.
475
476
Use 1.1 as the API version when building with soup3.
477
478
* Source/PlatformWPE.cmake:
479
* Source/cmake/OptionsWPE.cmake:
480
481
2021-03-17 Martin Robinson <mrobinson@igalia.com>
482
483
[GTK][WPE] Enable CSS scroll snap support by default
485
486
Reviewed by Carlos Garcia Campos.
487
488
* Source/cmake/OptionsGTK.cmake: Enable CSS scroll snap by default.
489
* Source/cmake/OptionsWPE.cmake: Ditto.
490
491
2021-03-16 Khem Raj <raj.khem@gmail.com>
492
493
[CMake] Build fails on RISC-V with GCC 11
495
496
Reviewed by Carlos Alberto Lopez Perez.
497
498
Check for 1 byte atomic operations along with 64bit ones, some
499
architevtures (e.g. RISCV) operations on less than 4 bytes are not lock-free
500
501
* Source/cmake/WebKitCompilerFlags.cmake:
502
503
2021-03-14 Lauro Moura <lmoura@igalia.com>
504
505
[GLIB] Keep GPUProcess disabled when using experimental features
507
508
Reviewed by Philippe Normand.
509
510
At least two recent GPUProcess-related revisions caused issues in
511
GLIB, causing serious regressions in the bots. Disabling it for now
512
until we improve its support.
513
514
Revisions:
515
516
r274327 - 2D Canvas enabled by default in GPUProcess
517
r272842 - Media enabled by default in GPUProcess
518
519
* Source/cmake/OptionsGTK.cmake:
520
* Source/cmake/OptionsWPE.cmake:
521
522
2021-03-12 Carlos Garcia Campos <cgarcia@igalia.com>
523
524
[GTK] Bump API version when building with libsoup3
526
527
Reviewed by Adrian Perez de Castro.
528
529
Use 4.1 as the API version when building with soup3 and keep using 5.0 for GTK4. Also make it impossible to
530
build with GTK4 and soup2.
531
532
* Source/PlatformGTK.cmake:
533
* Source/cmake/OptionsGTK.cmake:
534
535
2021-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
536
537
Unreviewed. [GTK][WPE] Bump libsoup3 version to 2.99.3
538
539
* Source/cmake/OptionsGTK.cmake:
540
* Source/cmake/OptionsWPE.cmake:
541
542
2021-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
543
544
[WPE][GTK] Add support for ICC color management
546
547
Reviewed by Adrian Perez de Castro.
548
549
Add optional lcms2 dependency.
550
551
* Source/cmake/FindLCMS2.cmake: Added.
552
* Source/cmake/OptionsGTK.cmake:
553
* Source/cmake/OptionsWPE.cmake:
554
555
2021-03-10 Michael Catanzaro <mcatanzaro@gnome.org>
556
557
[GTK] Reenable -fvisibility=hidden
559
560
Reviewed by Don Olmstead.
561
562
In non-DEVELOPER_MODE builds, we rely on a linker version script to hide symbols that we
563
don't want to export. Building with hidden visibility might seem redundant with this, but
564
actually building with hidden visibility has advantages anyway. See
566
567
Note that I'm not confident GTK port can safely use -fvisibility-inlines-hidden, since it's
568
split between two shared objects. Also, because GTK is split into two shared objects, GTK
569
needs to build bmalloc and WTF as CMake OBJECT libraries, which is effectively the same as
570
using -Wl,--whole-archive to prevent symbols from being prematurely stripped away.
571
572
P.S. Major credit to Don Olmstead, who did most of the work to make this possible, which has
573
already landed in previous patches.
574
575
* Source/cmake/OptionsGTK.cmake:
576
577
2021-03-10 Commit Queue <commit-queue@webkit.org>
578
579
Unreviewed, reverting r274166.
581
582
Broke GTK Debug builds
583
584
Reverted changeset:
585
586
"[GTK] Reenable -fvisibility=hidden"
589
590
2021-03-09 Don Olmstead <don.olmstead@sony.com>
591
592
GLib JSC API headers should only include other GLib JSC API headers
594
595
Reviewed by Michael Catanzaro.
596
597
GTK and WPE both build the JavaScriptCore GLib API. However they diverged with their CMake
598
variable names for the directory containing jsc. Declare a single variable for that
599
directory, DERIVED_SOURCES_JAVASCRIPTCORE_GLIB_DIR, that is shared between GLib ports.
600
601
Remove the GLIB_API_DIR variant which will just be replaced with
602
${DERIVED_SOURCES_JAVASCRIPTCORE_GLIB_DIR}/jsc in the CMake code.
603
604
* Source/cmake/OptionsGTK.cmake:
605
* Source/cmake/OptionsWPE.cmake:
606
607
2021-03-09 Michael Catanzaro <mcatanzaro@gnome.org>
608
609
[GTK] Reenable -fvisibility=hidden
611
612
Reviewed by Don Olmstead.
613
614
In non-DEVELOPER_MODE builds, we rely on a linker version script to hide symbols that we
615
don't want to export. Building with hidden visibility might seem redundant with this, but
616
actually building with hidden visibility has advantages anyway. See
618
619
Note that I'm not confident GTK port can safely use -fvisibility-inlines-hidden, since it's
620
split between two shared objects. Also, because GTK is split into two shared objects, GTK
621
needs to build bmalloc and WTF as CMake OBJECT libraries, which is effectively the same as
622
using -Wl,--whole-archive to prevent symbols from being prematurely stripped away.
623
624
P.S. Major credit to Don Olmstead, who did most of the work to make this possible, which has
625
already landed in previous patches.
626
627
* Source/cmake/OptionsGTK.cmake:
628
629
2021-03-05 Michael Catanzaro <mcatanzaro@gnome.org>
630
631
[GTK] Remove ADD_WHOLE_ARCHIVE_TO_LIBRARIES
633
634
Reviewed by Don Olmstead.
635
636
I don't know why it's no longer needed, but GTK links without it, so it can go away.
637
638
* Source/cmake/OptionsGTK.cmake:
639
640
2021-03-05 Don Olmstead <don.olmstead@sony.com>
641
642
[CMake] Bump cmake_minimum_required version to 3.12 or later
645
646
Reviewed by Konstantin Tokarev.
647
648
Updates the minimum version to 3.12. In CMake 3.12 OBJECT library functionality was
649
expanded to the point where they can successfully be used as a replacement for
650
--whole-archive within WebKit. The check in JSCOnly for the minimum version before
651
using hidden visibility was removed accordingly.
652
653
* CMakeLists.txt:
654
* Source/cmake/OptionsJSCOnly.cmake:
655
656
2021-03-05 ChangSeok Oh <changseok@webkit.org>
657
658
AVIF decoding support
660
661
Reviewed by Philippe Normand.
662
663
This patch brings an initial support of AVIF image format to the gtk port.
664
AVIF is a new royalty-free image format derived from the keyframes of AV1 video.
665
FireFox and Chromium-variant browsers already support it. Its specification can be found
667
This patch aims to land a build option for AVIF and a basic decoding ability
668
for still images by using libavif. Animated AVIF images will be covered later.
669
670
* Source/cmake/FindAVIF.cmake: Added to find libavif.
671
* Source/cmake/OptionsGTK.cmake: A build option, USE_AVIF is added.
672
673
2021-03-03 Commit Queue <commit-queue@webkit.org>
674
675
Unreviewed, reverting r273814.
677
678
Unresolved types in JavaScriptCore-4.0.gir
679
680
Reverted changeset:
681
682
"[CMake] JavaScriptCore GLib headers should be copies"
685
686
2021-03-03 Don Olmstead <don.olmstead@sony.com>
687
688
[CMake] JavaScriptCore GLib headers should be copies
690
691
Reviewed by Michael Catanzaro.
692
693
Specify the directories for JavaScriptCore GLib headers and derived sources.
694
695
* Source/cmake/OptionsGTK.cmake:
696
* Source/cmake/OptionsWPE.cmake:
697
698
2021-03-01 Per Arne <pvollan@apple.com>
699
700
[Win] Fix build failure
703
Reviewed by Brent Fulgham.
704
705
It appears a recent change has unintentionally enabled WebInspectorUI on Apple Win. Address this by explicitly disabling it.
706
707
* Source/cmake/OptionsAppleWin.cmake:
708
709
2021-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
710
711
Unreviewed. [GTK] Bump version numbers
712
713
* Source/cmake/OptionsGTK.cmake:
714
715
2021-02-26 Imanol Fernandez <ifernandez@igalia.com>
716
717
Implement OpenXR port graphics binding
719
720
Reviewed by Sergio Villar Senin.
721
722
Enable OpenXR defines required for EGL graphics binding.
723
724
* Source/cmake/OptionsWPE.cmake:
725
726
2021-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
727
728
[GTK][WPE] Bump libsoup3 version to 2.99.1
730
731
Reviewed by Adrian Perez de Castro.
732
733
* Source/cmake/OptionsGTK.cmake:
734
* Source/cmake/OptionsWPE.cmake:
735
736
2021-02-24 Cameron McCormack <heycam@apple.com>
737
738
Fix typo in Introduction.md.
740
741
Reviewed by Ryosuke Niwa.
742
743
* Introduction.md:
744
745
2021-02-23 Don Olmstead <don.olmstead@sony.com>
746
747
[CMake] Fix JSCOnly build on Windows
749
750
Reviewed by Michael Catanzaro.
751
752
Turn off ENABLE_WEBASSEMBLY for Windows on JSCOnly now that its possible to build it
753
without FTL.
754
755
* Source/cmake/OptionsJSCOnly.cmake:
756
757
2021-02-22 Carlos Garcia Campos <cgarcia@igalia.com>
758
759
[SOUP] Add support for libsoup3
761
762
Reviewed by Adrian Perez de Castro.
763
764
* Source/cmake/FindLibSoup.cmake:
765
* Source/cmake/OptionsGTK.cmake:
766
* Source/cmake/OptionsWPE.cmake:
767
768
2021-02-18 Martin Robinson <mrobinson@igalia.com>
769
770
[GTK][WPE] Implement support for CSS Scroll Snap
772
773
Reviewed by Carlos Garcia Campos.
774
775
Add initial support for css-scroll-snap on WebKitGTK+ and WebKitWPE. This
776
adds support for all types of scroll snapping that WebKit supports apart
777
from mouse wheel snapping. Support for that will be added in a followup
778
change.
779
780
* Source/cmake/OptionsGTK.cmake: Enable scroll snapping when experimental features
781
are enabled.
782
* Source/cmake/OptionsWPE.cmake: Ditto.
783
784
2021-02-16 Tim Horton <timothy_horton@apple.com>
785
786
Local macCatalyst builds should not build WebInspectorUI
788
789
Reviewed by Wenson Hsieh.
790
791
* Source/Makefile:
792
This project is not used in macCatalyst, and is not even built in production builds.
793
We should stop building it in local release/debug builds as well.
794
795
2021-02-11 Don Olmstead <don.olmstead@sony.com>
796
797
[CMake] WEBKIT_EXECUTABLE can incorrectly link framework
799
800
Reviewed by Michael Catanzaro.
801
802
After r272484 which added an additional test for TestJavaScriptCore the PlayStation build
803
began failing with an unresolved symbol in bmalloc. On PlayStation both WTF and bmalloc
804
are linked into JavaScriptCore. That library was building successfully which implied that
805
WTF was being erroniously linked into TestJavaScriptCore.
806
807
Inside _WEBKIT_EXECUTABLE_LINK_FRAMEWORK there was an invalid conditional which was causing
808
WTF to be linked. Fixed the logic to ensure that if the requested framework is linked into
809
another framework that is being linked then it is not added to the linker.
810
811
* Source/cmake/WebKitMacros.cmake:
812
813
2021-02-10 Don Olmstead <don.olmstead@sony.com>
814
815
[CMake] Enable hidden visibility on JSCOnly
817
818
Reviewed by Yusuke Suzuki.
819
820
Turn on hidden visibility for all *NIX ports of JSCOnly. To properly export the symbols
821
from WTF/bmalloc OBJECT libraries are used. This requires CMake 3.12 or later to
822
function properly.
823
824
* Source/cmake/OptionsJSCOnly.cmake:
825
826
2021-02-10 Christopher Reid <chris.reid@sony.com>
827
828
[PlayStation] Add initial RESOURCE_USAGE implementation
830
831
Reviewed by Ross Kirsling.
832
833
* Source/cmake/OptionsPlayStation.cmake:
834
835
2021-02-10 Philippe Normand <pnormand@igalia.com>
836
837
[WPE] Optionally build Cog as external project and replacement for MiniBrowser
839
840
Reviewed by Adrian Perez de Castro.
841
842
* Source/cmake/OptionsWPE.cmake: New variable for JSC forwarded headers path, useful
843
uninstalled builds of projects depending on JSC.
844
845
2021-02-09 Jonathan Bedard <jbedard@apple.com>
846
847
AX: introduction.md broken architecture.png link
850
851
Reviewed by Sam Weinig.
852
853
* Introduction.md: webkit2-process-architecture.png Moved to resources.
854
855
2021-02-08 Alicia Boya García <aboya@igalia.com>
856
857
ConsoleMessage: Don't encode string JSONLogValue's as JSON
859
860
Reviewed by Eric Carlson.
861
862
Enable JavaScriptCore API tests.
863
864
* Source/cmake/WebKitCommon.cmake:
865
866
2021-02-05 Don Olmstead <don.olmstead@sony.com>
867
868
[MSVC] Catalog warnings
870
871
Unreviewed build fix.
872
873
Missed a warning generated when building AppleWin.
874
875
* Source/cmake/OptionsMSVC.cmake:
876
877
2021-02-05 Don Olmstead <don.olmstead@sony.com>
878
879
[MSVC] Catalog warnings
881
882
Reviewed by Fujii Hironori.
883
884
Catalog all the MSVC warnings providing the message and a link to documentation
885
for the warning. Some warnings are noted as being against the style guide so they
886
won't be addressed. All other warnings could potentially be fixed in the codebase.
887
888
* Source/cmake/OptionsMSVC.cmake:
889
890
2021-02-04 Adrian Perez de Castro <aperez@igalia.com>
891
892
Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.31.1 release
893
894
* Source/cmake/OptionsWPE.cmake: Bump version numbers.
895
896
2021-02-04 Philippe Normand <pnormand@igalia.com>
897
898
[GStreamer] Misc Thunder nitpicks
900
901
Reviewed by Xabier Rodriguez-Calvar.
902
903
* Source/cmake/FindThunder.cmake: Look-up Thunder through pkg-config before attempting a
904
direct libocdm lookup.
905
906
2021-02-01 Saam Barati <sbarati@apple.com>
907
908
Lazily create m_windowCloseWatchpoints so we don't mistakenly think we have a frame when re-associating a document to a given cached frame
911
912
Reviewed by Ryosuke Niwa and Mark Lam.
913
914
* ManualTests/dont-create-invalid-watchpoint-when-going-back.html: Added.
915
* ManualTests/resources/empty-text.txt: Added.
916
* ManualTests/resources/full_results.json: Added.
917
* ManualTests/resources/test-results-page.html: Added.
918
919
2021-02-01 Don Olmstead <don.olmstead@sony.com>
920
921
[Curl] Enable FTP protocol only when ENABLE_FTPDIR is on
923
924
Reviewed by Fujii Hironori.
925
926
Turn off ENABLE_FTPDIR for WinCairo. The version of cURL used has FTP support explicitly
927
disabled.
928
929
* Source/cmake/OptionsWin.cmake:
930
931
2021-01-27 Yusuke Suzuki <ysuzuki@apple.com>
932
933
WebAssembly: add support for stream APIs
935
936
Reviewed by Keith Miller.
937
938
* Source/cmake/OptionsFTW.cmake:
939
* Source/cmake/WebKitFeatures.cmake:
940
941
2021-01-27 Angelos Oikonomopoulos <angelos@igalia.com>
942
943
Set ruby-indent-level to 4
945
946
Reviewed by Fujii Hironori.
947
948
All the ruby source files seem to default to 4 as the indent
949
level; make it official.
950
951
* .dir-locals.el:
952
* .editorconfig:
953
954
2021-01-23 Xan Lopez <xan@igalia.com>
955
956
[JSC] Allow to build WebAssembly without B3
958
959
Reviewed by Yusuke Suzuki.
960
961
Make the WebAssembly feature depend on Baseline JIT, not B3
962
JIT. Also add a WEBASSEMBLY_B3JIT feature to enable or disable the
963
B3 tier in WebAssembly.
964
965
* Source/cmake/WebKitFeatures.cmake: disable on 32bit.
966
967
2021-01-21 Fujii Hironori <Hironori.Fujii@sony.com>
968
969
Remove ENABLE_USERSELECT_ALL macro which is enabled for all ports
971
972
Reviewed by Don Olmstead.
973
974
* Source/cmake/OptionsMac.cmake:
975
* Source/cmake/WebKitFeatures.cmake:
976
977
2021-01-20 Yusuke Suzuki <ysuzuki@apple.com>
978
979
Unreviewed, ANGLE should not be built in JSCOnly port
980
981
ANGLE is not a part of JSC. Do not build it.
982
983
* Source/cmake/OptionsJSCOnly.cmake:
984
985
2021-01-19 Lauro Moura <lmoura@igalia.com>
986
987
REGRESSION(r271580) [GTK] LTS/Debian build failure due to unsupported g-ir-scanner parameter
989
990
Reviewed by Philippe Normand.
991
992
* Source/cmake/FindGObjectIntrospection.cmake: Expose variable about the
993
presence of --sources-top-dirs.
994
995
2021-01-14 Jonathan Bedard <jbedard@apple.com>
996
997
[GitHub] Reference GitHub repository in readme
1000
1001
Reviewed by Aakash Jain.
1002
1003
* ReadMe.md: Reference GitHub repository.
1004
1005
2021-01-12 Fujii Hironori <Hironori.Fujii@sony.com>
1006
1007
[PlayStation] Enable ENABLE_USERSELECT_ALL for -webkit-user-select:all support
1009
1010
Reviewed by Don Olmstead.
1011
1012
* Source/cmake/OptionsPlayStation.cmake: Removed the line disabling ENABLE_USERSELECT_ALL.
1013
1014
2021-01-12 Philippe Normand <pnormand@igalia.com>
1015
1016
[GStreamer] Bump version requirement
1018
1019
Reviewed by Xabier Rodriguez-Calvar.
1020
1021
* Source/cmake/GStreamerChecks.cmake: Bump required version to 1.14.
1022
1023
2021-01-12 Xabier Rodriguez Calvar <calvaris@igalia.com>
1024
1025
[GStreamer] Switch from ENABLE_ to USE_ in native audio/video and text sink options
1027
1028
Reviewed by Philippe Normand.
1029
1030
* Source/cmake/GStreamerDefinitions.cmake: Add USE_ definitions.
1031
* Source/cmake/WebKitFeatures.cmake: Remove global ENABLE_
1032
definitions.
1033
1034
2021-01-12 Carlos Garcia Campos <cgarcia@igalia.com>
1035
1036
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.31.1 release
1037
1038
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
1039
1040
2021-01-11 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
1041
1042
[PlayStation] Add MiniBrowser
1044
1045
Reviewed by Don Olmstead.
1046
1047
Enable Fullscreen API.
1048
1049
* Source/cmake/OptionsPlayStation.cmake:
1050
1051
2021-01-11 Xabier Rodriguez Calvar <calvaris@igalia.com>
1052
1053
[GStreamer] Add support to build with native audio and video
1055
1056
Reviewed by Philippe Normand.
1057
1058
* Source/cmake/GStreamerDefinitions.cmake: Enable TEXT_SINK.
1059
* Source/cmake/WebKitFeatures.cmake: Declare TEXT_SINK, NATIVE_VIDEO and NATIVE_AUDIO.
1060
1061
2021-01-08 Ryan Hostetler <rhost@apple.com>
1062
1063
Add support for source caching between platforms
1066
1067
Reviewed by Andy Estes.
1068
1069
Include WebInspectorUI Source during any installsrc phase.
1070
1071
* Source/Makefile:
1072
1073
2021-01-08 Fujii Hironori <Hironori.Fujii@sony.com>
1074
1075
[Win] Enable ENABLE_USERSELECT_ALL for -webkit-user-select:all support
1077
1078
Reviewed by Don Olmstead.
1079
1080
This change also fixes the assertion failure of
1081
editing/inserting/insert-list-user-select-none-crash.html
1082
(Bug 216256).
1083
1084
* Source/cmake/OptionsFTW.cmake: Removed the line disabling ENABLE_USERSELECT_ALL.
1085
* Source/cmake/OptionsWin.cmake: Ditto.
1086
1087
2021-01-07 Ryan Hostetler <rhost@apple.com>
1088
1089
make clean/installsrc fail: You cannot specify -alltargets and also specify individual targets.
1092
1093
Reviewed by Andy Estes.
1094
1095
Update hardcoded '-alltargets' to use new XCODE_TARGET variable.
1096
1097
* Makefile.shared:
1098
1099
2021-01-07 Monson Shao <holymonson@gmail.com>
1100
1101
[CMake] Add USE_APPLE_ICU option
1103
1104
Reviewed by Yusuke Suzuki.
1105
1106
Add USE_APPLE_ICU option to allow non-Mac ports (GTK or JSCOnly) on Darwin could build with
1107
non-Apple ICU.
1108
1109
* Source/cmake/OptionsCommon.cmake:
1110
* Source/cmake/WebKitFindPackage.cmake:
1111
1112
2021-01-06 Alexey Proskuryakov <ap@apple.com>
1113
1114
Make svn status ignore Python 3 __pycache__ directories.
1115
1116
Unreviewed.
1117
1118
Python 2 *.pyc files are still inconsistently handled via svn:ignore on each
1119
directory, but it is not worth cleaning up before GitHub move.
1120
1121
* Tools: Added property svn:global-ignores.
1122
1123
2021-01-06 Fujii Hironori <Hironori.Fujii@sony.com>
1124
1125
[GTK][CMake] Add a build switch USE_OPENGL_OR_ES to be able to disable OpenGL and ES
1127
1128
Reviewed by Kenneth Russell.
1129
1130
r270477 removed ENABLE_GRAPHICS_CONTEXT_GL macro and build switch,
1131
but GTK port still needs the build switch. Revert r270477
1132
partially to restore the build switch and rename it to
1133
USE_OPENGL_OR_ES.
1134
1135
* Source/cmake/OptionsGTK.cmake:
1136
1137
2021-01-05 Fujii Hironori <Hironori.Fujii@sony.com>
1138
1139
[WinCairo][curl] Enable CURLSSLOPT_NATIVE_CA flag to use system's CA certs instead of cacert.pem
1141
1142
Reviewed by Don Olmstead.
1143
1144
Libcurl 7.71 added a new flag CURLSSLOPT_NATIVE_CA to use the
1145
operating system's native CA store only for Windows. Use the flag
1146
for WinCairo port.
1147
1148
* Source/cmake/OptionsWinCairo.cmake: Bumped the minimum Curl version.
1149
1150
2021-01-04 Lauro Moura <lmoura@igalia.com>
1151
1152
[WebXR][WPE] Build fails without openxr installed
1154
1155
Reviewed by Carlos Alberto Lopez Perez.
1156
1157
* Source/cmake/FindOpenXR.cmake: Fix some names and export
1158
OPENXR_FOUND var.
1159
* Source/cmake/OptionsWPE.cmake: Fail config is WebXR is enabled but
1160
couldn't find OpenXR.
1161
1162
2021-01-04 Jeff Miller <jeffm@apple.com>
1163
1164
Update user-visible copyright strings to include 2021
1166
1167
Reviewed by Anders Carlsson.
1168
1169
* Source/cmake/tools/scripts/COPYRIGHT-END-YEAR:
1170
1171
2020-12-23 Fujii Hironori <Hironori.Fujii@sony.com>
1172
1173
[WinCairo] Enable WebGL 2
1175
1176
Reviewed by Kenneth Russell.
1177
1178
* Source/cmake/OptionsWin.cmake: Turned ENABLE_WEBGL2 on.
1179
1180
2020-12-23 Monson Shao <holymonson@gmail.com>
1181
1182
[CMake] Fix seperated include dir of harfbuzz and harfbuzz-icu
1184
1185
Reviewed by Alex Christensen.
1186
1187
In some distros (NixOS) harfbuzz and harfbuzz-icu may have different include dir.
1188
1189
* Source/cmake/FindHarfBuzz.cmake:
1190
1191
2020-12-21 Ryan Hostetler <rhost@apple.com>
1192
1193
$(findstring iphone,$(SDKROOT)) fails when SDKROOT is not lowercase
1196
1197
Reviewed by Darin Adler.
1198
1199
Update SDKROOT evaluation to be lowercase and SDK filename only.
1200
1201
* Source/Makefile:
1202
1203
2020-12-16 Fujii Hironori <Hironori.Fujii@sony.com>
1204
1205
[WinCairo] Enable USE_ANGLE
1207
1208
Reviewed by Don Olmstead.
1209
1210
* Source/cmake/OptionsWinCairo.cmake:
1211
1212
2020-12-13 Don Olmstead <don.olmstead@sony.com>
1213
1214
[CMake] Version of LibPSL not reported
1216
1217
Reviewed by Adrian Perez de Castro.
1218
1219
When determining the version of LibPSL from the header file LIBPSL_VERSION was set
1220
but the VERSION_VAR reported was LibPSL_VERSION. Consistently use LibPSL_VERSION
1221
within the file to prevent this.
1222
1223
Additionally LibPSL_LIBRARY not LibPSL_LIBRARIES should be marked_as_advanced.
1224
1225
* Source/cmake/FindLibPSL.cmake:
1226
1227
2020-12-11 Don Olmstead <don.olmstead@sony.com>
1228
1229
[CMake] Determine correct visibility for linked frameworks
1231
1232
Reviewed by Michael Catanzaro.
1233
1234
WebKit has some frameworks that are compiled statically into a larger shared library. For
1235
example Apple compiles bmalloc and WTF into JavaScriptCore. This means the JavaScriptCore
1236
framework also exposes the symbols for those two libraries and that targets depending
1237
on WTF or bmalloc should link to JavaScriptCore and never to WTF or bmalloc directly.
1238
1239
The CMake code allows each port to decide the type of library for a WEBKIT_FRAMEWORK.
1240
This means there are many different combinations that it needs to support. To ensure that
1241
everything links properly some bookkeeping is required.
1242
1243
WEBKIT_FRAMEWORK now uses ${target}_FRAMEWORKS to determine how to link the frameworks
1244
it depends on. First the macro determines if the framework is a SHARED library or is linked
1245
into a shared library, and if so it is linked as PUBLIC. If the framework itself is not a
1246
SHARED library, then it links other STATIC/OBJECT framework as PUBLIC. If the framework
1247
itself is SHARED then any framework that is a STATIC/OBJECT library is linked as PRIVATE
1248
to stop propagation. The linked framework's header directories are added to the
1249
WebKit::${framework} target to allow the framework to present as that framework. A global
1250
property is set to inform consumers that they should link to this different framework
1251
to get the requested framework.
1252
1253
This ensures that all ports can ship with hidden visibility turned on which is a precursor
1254
to a port turning on link time optimization (LTO).
1255
1256
* Source/cmake/WebKitMacros.cmake:
1257
1258
2020-12-10 Don Olmstead <don.olmstead@sony.com>
1259
1260
[CMake] Determine when to use $<TARGET_OBJECTS> for executables
1262
1263
Reviewed by Michael Catanzaro.
1264
1265
When a WebKit framework is declared as an OBJECT library the WebKit::${framework} ALIAS
1266
does not propagate the objects to the executable being built. As a workaround ports will
1267
explicitly add $<TARGET_OBJECTS> to the list of libraries being linked. There is already
1268
enough information to determine when $<TARGET_OBJECTS> is needed so this decision is moved
1269
into the WEBKIT_EXECUTABLE macros.
1270
1271
An additional ${taget_name}_FRAMEWORKS variable is added which specifies the WebKit
1272
frameworks being used. This will link the WebKit::${framework} alias and if necessary the
1273
associated $<TARGET_OBJECTS>.
1274
1275
This functionality will be expanded upon when support for ${target_name}_FRAMEWORKS is
1276
added to WebKit frameworks to support hidden visibility across ports.
1277
1278
* Source/cmake/WebKitMacros.cmake:
1279
1280
2020-12-07 Don Olmstead <don.olmstead@sony.com>
1281
1282
[CMake] Remove WEBKIT_WRAP_SOURCELIST
1284
1285
Reviewed by Michael Catanzaro.
1286
1287
WEBKIT_WRAP_SOURCELIST macro is used only to adjust source groups in Visual Studio
1288
projects without any impact on build process. Its references variable specific to
1289
particular targets (WebCore) which contradicts our goal of having target-oriented
1290
CMake project. It can be reintroduced later in a more clean way, in case anyone needs
1291
to have such grouping.
1292
1293
* Source/cmake/WebKitMacros.cmake:
1294
1295
2020-12-05 Fujii Hironori <Hironori.Fujii@sony.com>
1296
1297
Remove ENABLE_GRAPHICS_CONTEXT_GL by replacing it with ENABLE(WEBGL)
1299
1300
Reviewed by Kenneth Russell.
1301
1302
* Source/CMakeLists.txt:
1303
* Source/cmake/GStreamerDependencies.cmake:
1304
* Source/cmake/OptionsFTW.cmake:
1305
* Source/cmake/OptionsGTK.cmake:
1306
* Source/cmake/OptionsMac.cmake:
1307
* Source/cmake/OptionsPlayStation.cmake:
1308
* Source/cmake/OptionsWPE.cmake:
1309
* Source/cmake/OptionsWinCairo.cmake:
1310
1311
2020-11-26 Lauro Moura <lmoura@igalia.com>
1312
1313
[GTK][GTK4] Building with GObject-Introspection support does not work
1315
1316
Reviewed by Carlos Garcia Campos.
1317
1318
* Source/cmake/OptionsGTK.cmake: Allow introspection with GTK4.
1319
1320
2020-11-26 Fujii Hironori <Hironori.Fujii@sony.com>
1321
1322
[WinCairo] Enable GPU process
1324
1325
Reviewed by Don Olmstead.
1326
1327
* Source/cmake/OptionsWin.cmake: Turned ENABLE_GPU_PROCESS on for WinCairo.
1328
1329
2020-11-26 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
1330
1331
[PlayStation] Enable ResourceLoadStatistics
1333
1334
Reviewed by Fujii Hironori.
1335
1336
* Source/cmake/OptionsPlayStation.cmake:
1337
1338
2020-11-20 Don Olmstead <don.olmstead@sony.com>
1339
1340
Remove quota module
1342
1343
Reviewed by Anders Carlsson.
1344
1345
Remove the ability to set ENABLE_QUOTA. The Storage Quota API is deprecated and no
1346
WebKit port is enabling it.
1347
1348
* Source/cmake/OptionsFTW.cmake:
1349
* Source/cmake/OptionsWin.cmake:
1350
* Source/cmake/WebKitFeatures.cmake:
1351
* Source/cmake/tools/vsprops/FeatureDefines.props:
1352
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1353
1354
2020-11-09 Michael Catanzaro <mcatanzaro@gnome.org>
1355
1356
Enable llint asm on aarch64 when USE(64KB_PAGE_BLOCK) is enabled
1358
1359
Reviewed by Carlos Alberto Lopez Perez.
1360
1361
Normally we fall back to cloop when JIT is not supported. But on aarch64, llint asm is well-
1362
supported, so it is safe to use that here. This will only happen on aarch64, and only when
1363
USE(64KB_PAGE_BLOCK) is enabled, which should probably only be used by RHEL and SUSE.
1364
Everyone else should get the JIT.
1365
1366
* Source/cmake/WebKitFeatures.cmake:
1367
1368
2020-11-04 Sergey Rubanov <chi187@gmail.com>
1369
1370
Fix JSC build on macOS Big Sur
1372
1373
Reviewed by David Kilzer.
1374
1375
* Source/cmake/WebKitFindPackage.cmake:
1376
1377
2020-11-04 Michael Catanzaro <mcatanzaro@gnome.org>
1378
1379
Add new build option USE(64KB_PAGE_BLOCK)
1381
1382
Reviewed by Yusuke Suzuki.
1383
1384
Why do we need this option? Because JSC and bmalloc both want to know the userspace page
1385
size at compile time, which is impossible on Linux because it's a runtime setting. We
1386
cannot test the system page size at build time in hopes that it will be the same on the
1387
target system, because (a) cross compiling wouldn't work, and (b) the build system could
1388
use a different page size than the target system (which will be true for Fedora aarch64,
1389
because Fedora is built using RHEL), so the best we can do is guess based on the target CPU
1390
architecture. In practice, guessing works for all architectures except aarch64 (unless
1391
unusual page sizes are used), but it fails for aarch64 because distros are split between
1392
using 4 KB and 64 KB pages there. Most distros (including Fedora) use 4 KB, but RHEL uses
1393
64 KB. SUSE actually supports both. Since there is no way to guess correctly, the best we
1394
can do is provide an option for it. You should probably only use this if building for
1395
aarch64. Otherwise, known CPUs except PowerPC will use 4 KB, while PowerPC and unknown CPUs
1396
will use 64 KB (see wtf/PageBlock.h). aarch64 will continue to default to 4 KB because this
1397
is a much better default on systems where it doesn't crash.
1398
1399
Having one flag will help avoid mistakes. E.g. both RHEL and SUSE were manually passing
1400
-DENABLE_JIT=OFF and -DUSE_SYSTEM_MALLOC=ON, but we missed -DENABLE_C_LOOP=ON and
1401
-DENABLE_SAMPLING_PROFILER=OFF, so wound up running with both JIT and cloop disabled, a
1402
configuration not otherwise used on Linux (and not supported by GTK or WPE ports). It will
1403
be easier to not mess up if we only have to pass one special build option. This will also
1404
allow us to stop patching PageBlock.h downstream, because I don't like downstream patches
1405
that we have to keep forever.
1406
1407
* Source/cmake/WebKitFeatures.cmake:
1408
1409
2020-10-30 Ryosuke Niwa <rniwa@webkit.org>
1410
1411
Add Introduction to WebKit
1413
1414
Rubber-stamped by Simon Fraser.
1415
1416
Added the basic introductory documentation for WebKit.
1417
1418
* Introduction.md: Added.
1419
* resources/js-wrapper.png: Added.
1420
* resources/webkit2-process-architecture.png: Added.
1421
* resources/xcode-add-file.png: Added.
1422
* resources/xcode-build-settings-for-run.png: Added.
1423
* resources/xcode-export-header.png: Added.
1424
* resources/xcode-scheme-dumprendertree.png: Added.
1425
* resources/xcode-scheme-layout-test.png: Added.
1426
* resources/xcode-workspace-build-location.png: Added.
1427
* resources/xcode-workspace-settings.png: Added.
1428
1429
2020-10-30 Jonathan Bedard <jbedard@apple.com>
1430
1431
Github mirror ReadMe need to update
1434
1435
Reviewed by Aakash Jain.
1436
1437
* ReadMe.md:
1438
1439
2020-10-27 Keith Rollin <krollin@apple.com>
1440
1441
Fix "usage" message when invoking `ar -V`
1444
1445
Reviewed by Fujii Hironori.
1446
1447
The Mac/BSD version of `ar` does not support the -V flag. This flag is
1448
used unconditionally in OptionsCommon.cmake when trying to determine
1449
if the installed `ar` supports the thinning of archives, leading to a
1450
"usage" message being emitted on macOS.
1451
1452
Avoid this message by capturing the error-output. Examine the output
1453
to see if it's a "usage" message. If so, then treat the `ar` as one
1454
that does not support thinning. Any other error-output is printed as a
1455
warning. If there is no error-output, continue processing as normal.
1456
1457
* Source/cmake/OptionsCommon.cmake:
1458
1459
2020-10-27 Brian Burg <bburg@apple.com>
1460
1461
Web Inspector: add ENABLE(INSPECTOR_EXTENSIONS) to feature defines
1464
1465
Reviewed by Antti Koivisto.
1466
1467
* Source/cmake/OptionsMac.cmake:
1468
* Source/cmake/WebKitFeatures.cmake:
1469
Add ENABLE(INSPECTOR_EXTENSIONS), which is only on for the Cocoa macOS port.
1470
1471
2020-10-26 Keith Rollin <krollin@apple.com>
1472
1473
Move some initialization code from top-level CMakeLists.txt to WebKitCommon.cmake
1476
1477
Reviewed by Fujii Hironori.
1478
1479
Moving this initialization code into a central location allows other
1480
top-level CMakeLists.txt files to include WebKitCommon.cmake and get
1481
that same initialization.
1482
1483
* CMakeLists.txt:
1484
* Source/cmake/WebKitCommon.cmake:
1485
1486
2020-10-23 Philippe Normand <pnormand@igalia.com>
1487
1488
[GStreamer] Replace USE(WEBAUDIO_GSTREAMER) with USE(GSTREAMER)
1490
1491
Reviewed by Xabier Rodriguez-Calvar.
1492
1493
A separate define was introduced back when we thought enabling WebAudio without enabling
1494
<audio> would be a highly relevant scenario. I don't think it is very relevant, let's clean
1495
this up.
1496
1497
* Source/cmake/GStreamerChecks.cmake: Wrap the WebAudio platform bits in the USE(GSTREAMER) umbrella.
1498
1499
2020-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
1500
1501
WebDriver: add support for wheel actions
1503
1504
Reviewed by Brian Burg.
1505
1506
Enable WEBDRIVER_WHEEL_INTERACTIONS for GTK and WPE ports.
1507
1508
* Source/cmake/OptionsGTK.cmake:
1509
* Source/cmake/OptionsWPE.cmake:
1510
* Source/cmake/WebKitFeatures.cmake:
1511
1512
2020-10-20 Michael Catanzaro <mcatanzaro@gnome.org>
1513
1514
[GTK] Move ENABLE_ASYNC_SCROLLING build option to right place in OptionsGTK.cmake
1516
1517
Unreviewed. No functional changes.
1518
1519
* Source/cmake/OptionsGTK.cmake:
1520
1521
2020-10-20 Adrian Perez de Castro <aperez@igalia.com>
1522
1523
[GTK] Implement HTML5 Gamepad API
1525
1526
Reviewed by Michael Catanzaro.
1527
1528
Enable the gamepad support by default for the GTK port. The option is marked PUBLIC
1529
because libmanette is not available in the current Debian "old stable" (Buster), which
1530
we need to support until September 2021.
1531
1532
* Source/cmake/OptionsGTK.cmake: Set ENABLE_GAMEPAD to PUBLIC and ON by default.
1533
1534
2020-10-19 Lauro Moura <lmoura@igalia.com>
1535
1536
REGRESSION(r268115) [GTK] Build failures with GCC 7 (Ubuntu 18.04) and GCC 8 (Debian Buster)
1538
1539
Reviewed by Carlos Alberto Lopez Perez.
1540
1541
The root cause is lack of proper <filesystem> support in gcc7/8 (and
1542
incompatibility with llvm's header that was included). As such, we
1543
need to check whether to use <filesystem>, <experimental/filesystem>,
1544
or fallback to the included header.
1545
1546
Note: In some systems like Ubuntu 20.04, gcc-8 can use gcc-9's
1547
libstdc++ and link successfully, but running will fail as it should
1548
actually link with its libstc++fs to provide the correct symbols. As
1549
this is some corner case (Ubuntu's 20 default gcc is 9), LDFLAGS
1550
can be used to overcome this.
1551
1552
* Source/cmake/OptionsCommon.cmake: Add a HAVE directive to
1553
check whether <experimental/filesystem> is the filesystem impl
1554
available.
1555
* Source/cmake/WebKitCompilerFlags.cmake: Test first whether
1556
<filesystem> can be used, with <experimental/filestystem> as fallback.
1557
1558
2020-10-14 Zan Dobersek <zdobersek@igalia.com>
1559
1560
Remove ACCELERATED_2D_CANVAS build flags and guarded code
1562
1563
Reviewed by Carlos Garcia Campos.
1564
1565
Yank the CMake ENABLE_ACCELERATED_2D_CANVAS option now that it won't
1566
have any effect. FindCairoGL.cmake can also be removed.
1567
1568
* Source/cmake/FindCairoGL.cmake: Removed.
1569
* Source/cmake/OptionsFTW.cmake:
1570
* Source/cmake/OptionsGTK.cmake:
1571
* Source/cmake/OptionsWPE.cmake:
1572
* Source/cmake/OptionsWin.cmake:
1573
* Source/cmake/WebKitFeatures.cmake:
1574
* Source/cmake/tools/vsprops/FeatureDefines.props:
1575
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1576
1577
2020-10-13 Adrian Perez de Castro <aperez@igalia.com>
1578
1579
[GTK] Set ENABLE_GAMEPAD=ON for developer builds
1581
1582
Reviewed by Carlos Garcia Campos.
1583
1584
* Source/cmake/OptionsGTK.cmake: Make the default value of ENABLE_GAMEPAD
1585
depend on ENABLE_EXPERIMENTAL_FEATURES.
1586
1587
2020-10-13 Michael Catanzaro <mcatanzaro@gnome.org>
1588
1589
[WPE][GTK] ENABLE_SHAREABLE_RESOURCE should be PRIVATE build option
1591
1592
Reviewed by Carlos Garcia Campos.
1593
1594
* Source/cmake/OptionsGTK.cmake:
1595
* Source/cmake/OptionsWPE.cmake:
1596
1597
2020-10-09 Fujii Hironori <Hironori.Fujii@sony.com>
1598
1599
[WinCairo][GraphicsLayerTextureMapper] backdrop-filter support
1601
1602
Reviewed by Don Olmstead.
1603
1604
* Source/cmake/OptionsWin.cmake: Turn ENABLE_FILTERS_LEVEL_2 on for WinCairo.
1605
1606
2020-10-08 Keith Rollin <krollin@apple.com>
1607
1608
Remove copy-webkitlibraries-to-product-directory
1611
1612
Reviewed by Darin Adler.
1613
1614
This script no longer does anything, so remove it along with the
1615
scaffolding around it that invokes it during the build.
1616
1617
* Makefile:
1618
1619
2020-10-04 Ryan Hostetler <rhost@apple.com>
1620
1621
Submission failure with "make: *** No rule to make target `installsrc'. Stop"
1624
1625
Reviewed by Darin Adler.
1626
1627
Add installsrc phase to support xbs submitproject for WebKit repository.
1628
This change allows internal tools to submit and build in a single step.
1629
1630
* Makefile:
1631
* Makefile.shared:
1632
* Source/Makefile:
1633
1634
2020-10-02 Keith Rollin <krollin@apple.com>
1635
1636
Seeing "usage: basename string [suffix]" spam when using make to build
1639
1640
Reviewed by Darin Adler.
1641
1642
The name of the project being built is no longer displayed when using
1644
taught the Makefile to perform this logging. The approach took
1645
advantage of a `make` variable (PATH_FROM_ROOT) that tracks the
1646
relative path from the root of the build hierarchy to the current
1647
project. However, that variable may not be initialized if the build is
1648
not initiated from the root. Therefore, don't count on that variable,
1649
and get the name of the current project by invoking `pwd`.
1650
1651
* Makefile.shared:
1652
1653
2020-10-02 Sam Weinig <weinig@apple.com>
1654
1655
Remove code behind ENABLE(MEDIA_SESSION), no ports enable it
1657
1658
Reviewed by Alex Christensen.
1659
1660
* Source/cmake/OptionsFTW.cmake:
1661
* Source/cmake/WebKitFeatures.cmake:
1662
Remove option to build with MEDIA_SESSION, no one was doing it.
1663
1664
2020-10-02 Karl Rackler <rackler@apple.com>
1665
1666
Unreviewed, reverting r267796.
1667
1668
This change is breaking the build on AzulE debug bots.
1669
1670
Reverted changeset:
1671
1672
"Remove code behind ENABLE(MEDIA_SESSION), no ports enable it"
1675
1676
2020-10-02 Adrian Perez de Castro <aperez@igalia.com>
1677
1678
[GTK] Build broken with ENABLE_MEDIA_STREAM enabled and ENABLE_WEB_RTC_DISABLED
1680
1681
Reviewed by Philippe Normand.
1682
1683
* Source/cmake/GStreamerChecks.cmake: Only enable USE_LIBWEBRTC when both
1684
ENABLE_MEDIA_STREAM and ENABLE_WEB_RTC is defined. This prevents trying to
1685
build code that uses libwebrtc types when ENABLE_WEB_RTC is disabled but
1686
ENABLE_MEDIA_STREAM is enabled.
1687
1688
2020-09-30 Sam Weinig <weinig@apple.com>
1689
1690
Remove code behind ENABLE(MEDIA_SESSION), no ports enable it
1692
1693
Reviewed by Alex Christensen.
1694
1695
* Source/cmake/OptionsFTW.cmake:
1696
* Source/cmake/WebKitFeatures.cmake:
1697
Remove option to build with MEDIA_SESSION, no one was doing it.
1698
1699
2020-09-30 Philippe Normand <pnormand@igalia.com>
1700
1701
[GStreamer] Internal audio rendering support
1703
1704
Reviewed by Xabier Rodriguez-Calvar.
1705
1706
* Source/cmake/FindWPEBackend_fdo.cmake: Check for the audio extension header initially
1707
shipped in the 1.8.0 release.
1708
* Source/cmake/GStreamerChecks.cmake: Check and enable external audio rendering support if
1709
the WPEBackend-FDO audio extension was found.
1710
1711
2020-09-29 Don Olmstead <don.olmstead@sony.com>
1712
1713
[CMake][WebGPU] Add FindDawn module
1715
1716
Reviewed by Darin Adler.
1717
1718
Add a FindDawn CMake module to use for a WebGPU implementation on non-Cocoa platforms.
1719
If ENABLE_WEBGPU is on for WinCairo it will attempt to detect Dawn.
1720
1721
* Source/cmake/FindDawn.cmake: Added.
1722
* Source/cmake/OptionsWinCairo.cmake:
1723
1724
2020-09-28 Keith Rollin <krollin@apple.com>
1725
1726
Print message saying what project is being built
1729
1730
Reviewed by Andy Estes.
1731
1732
XCBuild removes the progress messages saying which project/target is
1733
being built. We can't show the target, but update the Makefiles to at
1734
least show which project is being built.
1735
1736
* Makefile.shared:
1737
1738
2020-09-27 Philippe Normand <pnormand@igalia.com>
1739
1740
Add .ccls config file
1742
1743
Reviewed by Darin Adler.
1744
1745
ccls is a stand-alone server implementing the Language Server Protocol for C, C++, and
1746
Objective-C languages. It can be used with any editor which provides an LSP client
1747
implementation. It originates from cquery.
1748
1750
1751
It's basically used to provide semantic highlighting and code navigation. Many IDEs support
1752
LSP nowadays.
1753
1754
* .ccls: Added.
1755
* .gitignore:
1756
1757
2020-09-25 Fujii Hironori <Hironori.Fujii@sony.com>
1758
1759
make_names.pl no longer needs C preprocessor
1761
1762
Reviewed by Sam Weinig.
1763
1764
* Source/cmake/WebKitCompilerFlags.cmake: Removed CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS which was used only for make_names.pl.
1765
1766
2020-09-25 Antti Koivisto <antti@apple.com>
1767
1768
[LFC][Integration] Enable on Apple Windows port
1771
1772
Reviewed by Zalan Bujtas.
1773
1774
* Source/cmake/OptionsWin.cmake:
1775
1776
2020-09-23 Fujii Hironori <Hironori.Fujii@sony.com>
1777
1778
Remove ENABLE_SVG_FONTS macro
1780
1781
Reviewed by Don Olmstead.
1782
1783
No ports have this disabled, so remove it.
1784
1785
* Source/cmake/OptionsFTW.cmake:
1786
* Source/cmake/OptionsMac.cmake:
1787
* Source/cmake/OptionsWin.cmake:
1788
* Source/cmake/WebKitFeatures.cmake:
1789
* Source/cmake/tools/vsprops/FeatureDefines.props:
1790
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1791
1792
2020-09-22 Keith Rollin <krollin@apple.com>
1793
1794
Unify debug and release target aliases
1797
1798
Reviewed by Tim Horton.
1799
1800
All Makefiles have "debug", "d", "release", and "r" for build
1801
targets. Others -- but not all -- also include "dev", "develop",
1802
"development", "dep", "deploy", and "deployment". Because of this
1803
inconsistency, trying to use those additional targets didn't work. It
1804
looks like all Makefiles used to support all of those targets, but
1805
some got dropped along the way. For instance, the top-level Makefile
1806
and Source/Makefile dropped them in 2013 as part of Bug 107863. And it
1807
looks like WebKitLibraries/Makefile never had them. Given that those
1808
additional targets don't work, it seems like no one uses them, so
1809
let's remove them completely.
1810
1811
* Makefile.shared:
1812
1813
2020-09-22 Keith Rollin <krollin@apple.com>
1814
1815
Refactor build rules in Makefiles and Makefile.shared
1818
1819
Reviewed by David Kilzer.
1820
1821
Build fix: Previous change for this bug broke the ability to perform a
1822
build with just `make`, due to that code path invoking
1823
`set-webkit-configuration` with no parameters, which causes that
1824
script to error-out.
1825
1826
* Makefile.shared:
1827
1828
2020-09-22 Keith Rollin <krollin@apple.com>
1829
1830
Refactor build rules in Makefiles and Makefile.shared
1833
1834
Reviewed by David Kilzer.
1835
1836
Factor out the common aspects of the build rules in Makefile.shared
1837
and the various Makefiles. This allows us to more easily see what's
1838
different between the various build targets, and to apply uniform
1839
changes across all of the targets.
1840
1841
* Makefile:
1842
* Makefile.shared:
1843
* Source/Makefile:
1844
1845
2020-09-22 Jonathan Bedard <jbedard@apple.com>
1846
1847
Correct instructions for building iOS in ReadMe
1850
1851
Reviewed by David Kilzer.
1852
1853
* ReadMe.md: Update iOS build instructions to apply to all embedded platforms.
1854
1855
2020-09-21 Adrian Perez de Castro <aperez@igalia.com>
1856
1857
[CMake] Use imported targets in find module for the ATK SPI2 bridge dependency
1859
1860
Reviewed by Don Olmstead.
1861
1862
* Source/cmake/FindATKBridge.cmake: Rewrite to define an ATK::Bridge imported target.
1863
* Source/cmake/OptionsWPE.cmake: Use the ATK::Bridge imported target.
1864
1865
2020-09-16 Fujii Hironori <Hironori.Fujii@sony.com>
1866
1867
[CMake] Add a new library target TestRunnerShared
1869
1870
WinCairo port is using both DRT and WTR. However, it has a problem
1871
for precompiled header builds to compile the source of
1872
TestRunnerShared twice for DRT and WTR.
1873
1874
Add a new library target TestRunnerShared. Re-enable precompiled
1875
header for DRT and WTR for WinCairo.
1876
1877
Reviewed by Don Olmstead.
1878
1879
* Source/cmake/OptionsWinCairo.cmake:
1880
* Source/cmake/WebKitFS.cmake:
1881
1882
2020-09-16 Stephan Szabo <stephan.szabo@sony.com>
1883
1884
Remove ENABLE_METER_ELEMENT
1886
1887
Reviewed by Fujii Hironori.
1888
1889
With PlayStation finally planning to turn this on,
1890
no ports had this disabled, so remove the enable flag.
1891
1892
* Source/cmake/OptionsFTW.cmake:
1893
* Source/cmake/OptionsMac.cmake:
1894
* Source/cmake/OptionsPlayStation.cmake:
1895
* Source/cmake/OptionsWin.cmake:
1896
* Source/cmake/WebKitFeatures.cmake:
1897
* Source/cmake/tools/vsprops/FeatureDefines.props:
1898
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1899
1900
2020-09-15 David Kilzer <ddkilzer@apple.com>
1901
1902
WebKit should support building with clang ThreadSanitizer enabled
1905
1906
Reviewed by Darin Adler.
1907
1908
This patch doesn't attempt to resolve every potential false
1909
positive, but makes it easy to build WebKit with TSan enabled.
1910
1911
* Makefile.shared:
1912
- Update to work with `make [args] TSAN=YES`.
1913
1914
2020-09-14 Fujii Hironori <Hironori.Fujii@sony.com>
1915
1916
[PlayStation] Enable ENABLE_SVG_FONTS
1918
1919
Reviewed by Don Olmstead.
1920
1921
* Source/cmake/OptionsPlayStation.cmake:
1922
1923
2020-09-12 Myles C. Maxfield <mmaxfield@apple.com>
1924
1925
[Apple Win] Add a CTFont member to FontPlatformData
1927
1928
Reviewed by Darin Adler.
1929
1930
Include ***CoreText.cpp files on the Apple Win port.
1931
1932
* Source/cmake/OptionsAppleWin.cmake:
1933
1934
2020-09-10 Adrian Perez de Castro <aperez@igalia.com>
1935
1936
[CMake] Use imported targets in find module for libseccomp
1938
1939
Reviewed by Don Olmstead.
1940
1941
* Source/cmake/BubblewrapSandboxChecks.cmake: Use Libseccomp_FOUND.
1942
* Source/cmake/FindLibseccomp.cmake: Rewrite to define the
1943
Libseccomp::Libseccomp target, fall-back to read version from the main
1944
header, and define variables with Libseccomp_ as prefix.
1945
1946
2020-09-04 Adrian Perez de Castro <aperez@igalia.com>
1947
1948
Unreviewed. [WPE] Bump version numbers
1949
1950
* Source/cmake/OptionsWPE.cmake:
1951
1952
2020-09-04 Carlos Garcia Campos <cgarcia@igalia.com>
1953
1954
Unreviewed. [GTK] Bump version numbers
1955
1956
* Source/cmake/OptionsGTK.cmake:
1957
1958
2020-09-02 Philippe Normand <pnormand@igalia.com>
1959
1960
[Flatpak SDK] Update to FDO 20.08
1962
1963
Reviewed by Žan Doberšek.
1964
1965
* .gitignore: Ignore buildstream local Flatpak repository. This is created only when
1966
manually building the SDK.
1967
1968
2020-08-31 Stephan Szabo <stephan.szabo@sony.com>
1969
1970
[PlayStation] Build fix for intermittent copy errors
1972
1973
Reviewed by Ross Kirsling.
1974
1975
* Source/cmake/OptionsPlayStation.cmake:
1976
When copying platform specific files into the binary
1977
directory post build on executable targets, we'd
1978
intermittently get copy errors in parallel builds.
1979
1980
2020-08-28 Adrian Perez de Castro <aperez@igalia.com>
1981
1982
[WPE] Enable Notifications support
1984
1985
Reviewed by Philippe Normand.
1986
1987
Enable web notifications support for the WPE port. The code is shared with the GTK
1988
port, but as we do not try to find and enable libnotify the default implementation
1989
is a stub: embedders can customize how to display notifications by connecting to
1990
the WebKitWebView:show-notification signal. This way we do not add any additional
1991
build dependencies.
1992
1993
* Source/cmake/OptionsWPE.cmake: Flip ENABLE_NOTIFICATIONS to ON.
1994
1995
2020-08-27 Stephan Szabo <stephan.szabo@sony.com>
1996
1997
[PlayStation] Build fix due to memmem not always being available.
1999
2000
Unreviewed build fix
2001
2002
* Source/cmake/OptionsPlayStation.cmake: Check for memmem
2003
2004
2020-08-22 Philippe Normand <pnormand@igalia.com>
2005
2006
[GTK][WPE] Compilation warnings with clang/gcc 10
2008
2009
Reviewed by Darin Adler.
2010
2011
* Source/cmake/WebKitCompilerFlags.cmake: Disable tautological-compare and
2012
misleading-indentation warnings triggering false-positive when building JSC.
2013
2014
2020-08-17 Carlos Garcia Campos <cgarcia@igalia.com>
2015
2016
[GTK][WPE] Remove support for NPAPI plugins
2018
2019
Reviewed by Darin Adler.
2020
2021
* Source/cmake/OptionsGTK.cmake:
2022
2023
2020-08-12 Keith Rollin <krollin@apple.com>
2024
2025
Remove the need for defining USE_NEW_BUILD_SYSTEM
2027
2028
Reviewed by Darin Adler.
2029
2030
When building WebKit for XCBuild, we currently require that the
2031
external build system (such as the Makefile, build-webkit, etc.)
2032
defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting
2033
controls parts of our build instructions that are sensitive to when
2034
XCBuild or the Legacy build system are being used. Notably, we need to
2035
know when to use our custom “copy and modify” scripts with copying
2036
certain header files (used with the Legacy build system) vs. using the
2037
enhanced Copy Headers build phase that’s enabled with
2038
APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild).
2039
The choice of which method to copy headers is used is controlled by
2040
USE_NEW_BUILD_SYSTEM.
2041
2042
There is no built-in build setting that we can probe to help us
2043
determine which approach to take when copying and modifying headers,
2044
which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it
2045
turns out that we can *detect* which build system is being used by
2046
taking advantage of a subtle difference between the two systems. As
2047
noted in:
2048
2050
2051
“When an .xcconfig file contains multiple assignments of the same
2052
build setting, later assignments using $(inherited) or
2053
$(<setting_name>) will inherit from earlier assignments in the
2054
.xcconfig. The legacy build system caused every use of
2055
$(inherited) or $(<setting_name>) skip any other values defined
2056
within the .xcconfig.”
2057
2058
This difference can be exploited as follows:
2059
2060
WK_WHICH_BUILD_SYSTEM = not_
2061
WK_WHICH_BUILD_SYSTEM = $(inherited)legacy
2062
WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM))
2063
WK_USE_NEW_BUILD_SYSTEM_legacy = NO
2064
WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES
2065
2066
We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the
2067
externally-defined USE_NEW_BUILD_SYSTEM.
2068
2069
* Makefile.shared:
2070
2071
2020-08-11 Philippe Normand <pnormand@igalia.com>
2072
2073
[GStreamer] gst-full standalone library support
2075
2076
Reviewed by Xabier Rodriguez-Calvar.
2077
2078
* Source/cmake/FindGStreamer.cmake:
2079
* Source/cmake/GStreamerChecks.cmake:
2080
* Source/cmake/GStreamerDefinitions.cmake:
2081
2082
2020-08-03 Wenson Hsieh <wenson_hsieh@apple.com>
2083
2084
Remove the ENABLE_DATA_INTERACTION feature flag
2086
2087
Reviewed by Megan Gardner.
2088
2089
* Source/cmake/OptionsFTW.cmake:
2090
* Source/cmake/WebKitFeatures.cmake:
2091
2092
2020-07-15 Carlos Garcia Campos <cgarcia@igalia.com>
2093
2094
[GTK4] Enable API tests
2096
2097
Reviewed by Adrian Perez de Castro.
2098
2099
Build API tests for GTK4 too.
2100
2101
* Source/cmake/OptionsGTK.cmake:
2102
2103
2020-07-29 Adrian Perez de Castro <aperez@igalia.com>
2104
2105
Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.29.2 release
2106
2107
* Source/cmake/OptionsWPE.cmake: Bump version numbers.
2108
2109
2020-07-29 Carlos Garcia Campos <cgarcia@igalia.com>
2110
2111
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.4 release
2112
2113
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2114
2115
2020-07-27 Carlos Garcia Campos <cgarcia@igalia.com>
2116
2117
[GTK][WPE] Support for backdrop-filter
2119
2120
Reviewed by Adrian Perez de Castro.
2121
2122
Enable FILTERS_LEVEL_2 by default for WPE and GTK.
2123
2124
* Source/cmake/OptionsGTK.cmake:
2125
* Source/cmake/OptionsWPE.cmake:
2126
2127
2020-07-27 Alberto Garcia <berto@igalia.com>
2128
2129
[GTK] Default to OpenGL ES in arm
2131
2132
Reviewed by Carlos Garcia Campos.
2133
2134
* Source/cmake/OptionsGTK.cmake:
2135
2136
2020-07-24 Yusuke Suzuki <ysuzuki@apple.com>
2137
2138
Add project.pbxproj editorconfig entry
2140
2141
Reviewed by Mark Lam.
2142
2143
We should use tab for project.pbxproj file.
2144
2145
* .editorconfig:
2146
2147
2020-07-21 Adrian Perez de Castro <aperez@igalia.com>
2148
2149
Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.29.1 release
2150
2151
* Source/cmake/OptionsWPE.cmake: Bump version numbers.
2152
2153
2020-07-20 Adrian Perez de Castro <aperez@igalia.com>
2154
2155
[CMake] Do not use ${DEVELOPER_MODE} directly, as it may be undefined
2156
2157
Unreviewed build fix.
2158
2159
Instead of using ${DEVELOPER_MODE} directly, which might be undefined an cause errors, set
2160
first ENABLE_DEVELOPER_MODE based on its value with SET_AND_EXPOSE_TO_BUILD(), and then use
2161
the ${ENABLE_DEVELOPER_MODE} expansion in the rest of the file.
2162
2163
* Source/cmake/OptionsWPE.cmake:
2164
2165
2020-07-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
2166
2167
Unreviewed. Fixed copy&paste typos of gcrypt -> Thunder
2168
2169
* Source/cmake/FindThunder.cmake:
2170
2171
2020-07-11 Fujii Hironori <Hironori.Fujii@sony.com>
2172
2173
[WinCairo] Conic gradients support
2175
2176
Reviewed by Sam Weinig.
2177
2178
* Source/cmake/OptionsWin.cmake: Turn ENABLE_CSS_CONIC_GRADIENTS on.
2179
2180
2020-07-10 Don Olmstead <don.olmstead@sony.com> and Fujii Hironori <Hironori.Fujii@sony.com>
2181
2182
[WinCairo] WOFF2 font support
2184
2185
Reviewed by Per Arne Vollan.
2186
2187
* Source/cmake/OptionsWinCairo.cmake: Unmarked fast/text/woff2-totalsfntsize.html and fast/text/woff2.html.
2188
2189
2020-07-10 Xabier Rodriguez Calvar <calvaris@igalia.com>
2190
2191
[GStreamer][EME][OpenCDM] Implement OpenCDM support
2193
2194
Reviewed by Philippe Normand.
2195
2196
Added support to enable OpenCDM and find it it needed.
2197
2198
* Source/cmake/FindOpenCDM.cmake: Added.
2199
* Source/cmake/OptionsGTK.cmake:
2200
* Source/cmake/OptionsWPE.cmake:
2201
* Source/cmake/WebKitFeatures.cmake:
2202
2203
2020-07-08 Carlos Garcia Campos <cgarcia@igalia.com>
2204
2205
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.3 release
2206
2207
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2208
2209
2020-07-07 Adrian Perez de Castro <aperez@igalia.com>
2210
2211
[CMake] Fix typo in version variable assingment in FindWOFF2.cmake
2213
2214
Reviewed by Carlos Garcia Campos.
2215
2216
* Source/cmake/FindWOFF2.cmake: Properly use PC_WOFF2_VERSION as the version
2217
detected from pkg-config.
2218
2219
2020-07-04 Sergio Villar Senin <svillar@igalia.com>
2220
2221
[Flatpak SDK] Require OpenXR 1.0.9
2223
2224
Reviewed by Philippe Normand.
2225
2226
Require version 1.0.9 because is the first one that include EGL support for Monado.
2227
2228
* Source/cmake/OptionsWPE.cmake:
2229
2230
2020-07-03 Darin Adler <darin@apple.com>
2231
2232
Make generate-unified-sources.sh not depend on features being listed in FEATURE_DEFINES environment variable
2234
2235
Reviewed by Don Olmstead.
2236
2237
* Source/cmake/WebKitCommon.cmake: Removed call to SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS.
2238
* Source/cmake/WebKitFeatures.cmake: Removed SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS.
2239
* Source/cmake/WebKitMacros.cmake: Removed use of "--feature-flags" when invoking the
2240
generate-unified-source-bundles.rb, which also means no longer depending on the
2241
UNIFIED_SOURCE_LIST_ENABLED_FEATURES variable, which was set by the
2242
SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS function.
2243
2244
2020-07-03 Sam Weinig <weinig@apple.com>
2245
2246
Remove support for ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE
2248
2249
Reviewed by Darin Adler.
2250
2251
Removes support for non-standard <input type="datetime">, currently being
2252
guarded by the macro ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE. This macro, was
2253
added back in 2013 as a temporary measure to support some engines who shipped
2254
support for <input type="datetime">. It is currently not enabled for any
2255
ports so now seems like as good a time as any to remove it.
2256
2257
* Source/cmake/OptionsWin.cmake:
2258
* Source/cmake/WebKitFeatures.cmake:
2259
* Source/cmake/tools/vsprops/FeatureDefines.props:
2260
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2261
2262
2020-07-02 Alex Christensen <achristensen@webkit.org>
2263
2264
Update Mac CMake build
2265
2266
* Source/cmake/OptionsMac.cmake:
2267
2268
2020-07-01 Don Olmstead <don.olmstead@sony.com>
2269
2270
[CMake] Add WOFF2 targets
2272
2273
Reviewed by Fujii Hironori.
2274
2275
Rework the Find module for WOFF2 to provide targets for libwoff2common and
2276
libwoff2dec. Previously only libwoff2dec was specified in the find module. This
2277
is because pkg-config works on that platform and because shared libraries are
2278
supported. Neither is true for Windows so the module was expanded in anticipation
2279
of support for WinCairo.
2280
2281
* Source/cmake/FindWOFF2.cmake: Added.
2282
* Source/cmake/FindWOFF2Dec.cmake: Removed.
2283
* Source/cmake/OptionsGTK.cmake:
2284
* Source/cmake/OptionsWPE.cmake:
2285
2286
2020-06-30 Andres Gonzalez <andresg_22@apple.com>
2287
2288
Code cleanup in AccessibilityMenuList.cpp and AXIsolatedTree.h.
2290
2291
Reviewed by Darin Adler.
2292
2293
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
2294
2295
2020-06-29 Guowei Yang <guowei_yang@apple.com>
2296
2297
Adding Experimental Feature Flags for CoreImage backed SVG/CSS Filters
2299
2300
Reviewed by Darin Adler, Simon Fraser, Myles C. Maxfield.
2301
2302
Preparing to implement CoreImage backed filter rendering
2303
Needs Compiler guards and experimental feature guard.
2304
2305
* Source/cmake/WebKitFeatures.cmake: added definition of
2306
CoreImage-accelerated filter rendering feature flag,
2307
ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER
2308
2309
2020-06-29 Tetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>
2310
2311
Remove ENABLE_STREAMS_API compilation flag
2313
2314
Reviewed by Sam Weinig.
2315
2316
* Source/cmake/OptionsFTW.cmake:
2317
* Source/cmake/OptionsMac.cmake:
2318
* Source/cmake/OptionsWin.cmake:
2319
* Source/cmake/WebKitFeatures.cmake:
2320
* Source/cmake/tools/vsprops/FeatureDefines.props:
2321
2322
2020-06-25 Diego Pino Garcia <dpino@igalia.com>
2323
2324
[GTK] Enable WEB_API_STATISTICS
2326
2327
Reviewed by Carlos Garcia Campos.
2328
2329
* Source/cmake/OptionsGTK.cmake:
2330
2331
2020-06-24 Carlos Garcia Campos <cgarcia@igalia.com>
2332
2333
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.2 release
2334
2335
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2336
2337
2020-06-22 Saam Barati <sbarati@apple.com>
2338
2339
Allow building JavaScriptCore Mac+arm64 in public SDK build
2341
2342
Reviewed by Sam Weinig.
2343
2344
* Source/cmake/OptionsFTW.cmake:
2345
* Source/cmake/WebKitFeatures.cmake:
2346
2347
2020-06-18 Tim Horton <timothy_horton@apple.com>
2348
2349
Remove some vestiges of the 32-bit Plugin Process
2351
2352
Reviewed by Dan Bernstein.
2353
2354
* Makefile.shared:
2355
This hack from r203348 is no longer needed, because WebKit cannot be built for 32-bit anymore.
2356
2357
2020-06-17 Michael Catanzaro <mcatanzaro@gnome.org>
2358
2359
REGRESSION(r260760): ENABLE_GRAPHICS_CONTEXT_GL should be ON, not TRUE
2361
2362
Reviewed by Carlos Garcia Campos.
2363
2364
This is already set by feature policy. Don't clobber it.
2365
2366
* Source/cmake/OptionsGTK.cmake:
2367
2368
2020-06-10 Dean Jackson <dino@apple.com>
2369
2370
Add a dynamic library target for ANGLE
2372
2373
Reviewed by Tim Horton.
2374
2375
In preparation for moving to a dynamic library, start
2376
by compiling and linking it. It isn't used anywhere
2377
but getting it into the build will help Apple's
2378
build system remain happy as we migrate, as well
2379
as have the system know it exists for building
2380
the shared system cache.
2381
2382
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
2383
2384
2020-06-12 Adrian Perez de Castro <aperez@igalia.com>
2385
2386
Build is broken with EVENT_LOOP_TYPE=GLib
2388
2389
Reviewed by Konstantin Tokarev.
2390
2391
* Source/cmake/OptionsJSCOnly.cmake: Add gio-unix as a required component of the GLib
2392
package, as it is needed for the remote inspector support with EVENT_LOOP_TYPE=GLib.
2393
2394
2020-06-12 Carlos Garcia Campos <cgarcia@igalia.com>
2395
2396
[GTK4] Get MiniBrowser ready for GTK4
2398
2399
Reviewed by Adrian Perez de Castro.
2400
2401
Bump GTK4 required version.
2402
2403
* Source/cmake/OptionsGTK.cmake:
2404
2405
2020-06-07 Philippe Normand <pnormand@igalia.com>
2406
2407
Remove ENABLE_VIDEO_TRACK ifdef guards
2409
2410
Reviewed by Youenn Fablet.
2411
2412
VIDEO_TRACK has been enabled by default on all ports for a long time. As the spec is stable,
2413
the feature can unconditionally be enabled and is now guarded under ENABLE(VIDEO).
2414
2415
* Source/cmake/OptionsFTW.cmake:
2416
* Source/cmake/OptionsMac.cmake:
2417
* Source/cmake/OptionsWin.cmake:
2418
* Source/cmake/WebKitFeatures.cmake:
2419
* Source/cmake/tools/vsprops/FeatureDefines.props:
2420
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2421
2422
2020-06-05 Andy Estes <aestes@apple.com>
2423
2424
[Apple Pay] Remove conditionals for ENABLE_APPLE_PAY_SESSION_V(3|4)
2427
2428
Reviewed by Darin Adler.
2429
2430
APPLE_PAY_SESSION_V(3|4) is now enabled whenever APPLE_PAY itself is enabled.
2431
2432
* Source/cmake/OptionsFTW.cmake:
2433
* Source/cmake/OptionsMac.cmake:
2434
* Source/cmake/WebKitFeatures.cmake:
2435
2436
2020-06-04 Mark Lam <mark.lam@apple.com>
2437
2438
Editors should not automatically trim trailing whitespace.
2440
2441
Reviewed by Yusuke Suzuki.
2442
2443
Doing so would force a lot of unnecessary code changes and make patches hard to
2444
review. It is common WebKit practice to not make unrelated changes in patches.
2445
2446
* .editorconfig:
2447
2448
2020-06-02 Keith Rollin <krollin@apple.com>
2449
2450
Revert FEATURES_DEFINES related changes
2453
2454
Reviewed by Andy Estes.
2455
2456
Bug 262310, Bug 262311, Bug 262318, and Bug 262331 involve changes to
2457
FEATURE_DEFINES and how the values there relate to those found in the
2458
Platform*.h files. Those changes break XCBuild (by removing the
2459
.xcfilelist related to UnifiedSources and the process for generating
2460
them), and so are being reverted.
2461
2462
* Source/cmake/OptionsFTW.cmake:
2463
* Source/cmake/OptionsMac.cmake:
2464
* Source/cmake/WebKitFeatures.cmake:
2465
2466
2020-06-02 Yoshiaki JITSUKAWA <yoshiaki.jitsukawa@sony.com>
2467
2468
Add .editorconfig
2470
2471
Add .editorconfig for Visual Studio.
2472
2473
Initally following file types are supported:
2474
- .h/.c/.cpp
2475
- CMakeFilelist.txt/.cmake
2476
- .editorconfig itself
2477
2478
Reviewed by Fujii Hironori.
2479
2480
* .editorconfig: Added.
2481
2482
2020-05-29 Andy Estes <aestes@apple.com>
2483
2484
[Apple Pay] Remove conditionals for ENABLE_APPLE_PAY_SESSION_V(3|4)
2486
2487
Reviewed by Darin Adler.
2488
2489
APPLE_PAY_SESSION_V(3|4) is now enabled whenever APPLE_PAY itself is enabled.
2490
2491
* Source/cmake/OptionsFTW.cmake:
2492
* Source/cmake/OptionsMac.cmake:
2493
* Source/cmake/WebKitFeatures.cmake:
2494
2495
2020-05-29 Keith Rollin <krollin@apple.com>
2496
2497
Revert switch to XCBuild
2500
2501
Unreviewed build fix.
2502
2503
Bug 209890 enabled the use of XCBuild by default. Since then, some
2504
build issues have shown up. While addressing them, temporarily turn
2505
off the use of XCBuild by default.
2506
2507
* Makefile.shared:
2508
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
2509
2510
2020-05-27 Kenneth Russell <kbr@chromium.org>
2511
2512
Update MobileMiniBrowser project settings to current Xcode
2514
2515
Reviewed by Dean Jackson.
2516
2517
Accept Xcode's suggested upgrade to use the new build system.
2518
2519
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
2520
2521
2020-05-27 ChangSeok Oh <changseok@webkit.org>
2522
2523
[GTK] Manette_INCLUDE_DIR and Manette_LIBRARY are undefined.
2525
2526
Reviewed by Michael Catanzaro.
2527
2528
The cmake complains Manette_INCLUDE_DIR and Manette_LIBRARY are missing
2529
in finding the manette package where GAMEPAD is enabled for the gtk port.
2530
In r261965, we thought they would be automatically defined with IMPORTED_TARGET
2531
but they seem not. We explicitly find the header and library paths, following FindOpenJPEG.cmake.
2532
2533
* Source/cmake/FindManette.cmake:
2534
* Source/cmake/OptionsGTK.cmake: REQUIRED removed.
2535
2536
2020-05-26 Fujii Hironori <Hironori.Fujii@sony.com>
2537
2538
[WinCairo][WK2] Use GraphicsLayerTextureMapper for Accelerated Compositing mode
2540
2541
Reviewed by Don Olmstead.
2542
2543
* Source/cmake/OptionsWinCairo.cmake: Added a new build option
2544
USE_GRAPHICS_LAYER_TEXTURE_MAPPER, and set ON as the default.
2545
2546
2020-05-26 Don Olmstead <don.olmstead@sony.com>
2547
2548
[CMake] Add static analyzers
2550
2551
Reviewed by David Kilzer.
2552
2553
Add support for static analyzers within CMake builds. Supported analyzers are
2554
clang-tidy, iwyu (include-what-you-use) and lwyu (link-what-you-use). They can
2555
be enabled by passing a semicolon separated list to CMake through the ANALYZERS
2556
option.
2557
2558
* Source/cmake/WebKitCommon.cmake:
2559
* Source/cmake/WebKitFeatures.cmake:
2560
* Source/cmake/WebKitMacros.cmake:
2561
* Source/cmake/WebKitStaticAnalysis.cmake: Added.
2562
2563
2020-05-26 Keith Rollin <krollin@apple.com>
2564
2565
Enable the use of XCBuild by default in Apple builds
2568
2569
Reviewed by Darin Adler.
2570
2571
Switch from the "legacy" Xcode build system to the "new" build system
2572
(also known as "XCBuild"). Switching to the new system speeds up
2573
builds by a small percentage, better validates projects for
2574
build-related issues (such as dependency cycles), lets WebKit benefit
2575
from future improvements in XCBuild such as those coming from the
2576
underlying llbuild open source project, and prepares us for any other
2577
tools built for this new ecosystem.
2578
2579
Specific changes:
2580
2581
- Remove Xcode project and workspace settings that selected the Build
2582
system, allowing the default to take hold (which is currently the
2583
New build system).
2584
- Updated webkitdirs.pm with a terser check for Xcode version.
2585
- Update build-webkit and Makefile.shared to be explicit when using
2586
the old build system (no longer treat it as a default or fall-back
2587
configuration).
2588
- Update various xcconfig files similarly to treat the default as
2589
using the new build system.
2590
- Update various post-processing build steps to check for Xcode 11.4
2591
and to no longer treat the default as using the old build system.
2592
2593
* Makefile.shared:
2594
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
2595
2596
2020-05-22 Yoshiaki JITSUKAWA <yoshiaki.jitsukawa@sony.com>
2597
2598
[PlayStation] Enable JSC shell to run
2600
2601
Reviewed by Ross Kirsling.
2602
2603
* Source/cmake/OptionsPlayStation.cmake:
2604
2605
2020-05-21 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
2606
2607
[PlayStation] Add minimal WKView API to enable TestWebKitAPI
2609
2610
Reviewed by Alex Christensen.
2611
2612
Enable TestWebKitAPI
2613
2614
* Source/cmake/OptionsPlayStation.cmake:
2615
Disable FullScreen API and ContextMenus.
2616
2617
2020-05-20 ChangSeok Oh <changseok@webkit.org>
2618
2619
[GTK] Implement connected and disconnected events of GAMEPAD API with libmanette
2621
2622
Reviewed by Carlos Garcia Campos.
2623
2624
This patch brings initial GAMEPAD API support to the gtk port. We use libmanette,
2625
a simple GObject game controller library to handle gamepad connection and input.
2626
2627
* Source/cmake/FindManette.cmake: Added to detect libmanette headers and libs installed in host system.
2628
* Source/cmake/OptionsGTK.cmake: Added a private flag, ENABLE_GAMEPAD.
2629
Once libmanette is found, we expose another build flag, USE_MANETTE for other ports.
2630
2631
2020-05-20 Carlos Garcia Campos <cgarcia@igalia.com>
2632
2633
Unreviewed. Fix GTK4 build with GTK 3.98.4
2634
2635
* Source/cmake/OptionsGTK.cmake:
2636
2637
2020-05-18 Michael Catanzaro <mcatanzaro@gnome.org>
2638
2639
[GTK] Allow gtk-doc and introspection in cross builds
2641
2642
Reviewed by Adrian Perez de Castro.
2643
2644
Stop disabling these options in cross builds.
2645
2646
* Source/cmake/OptionsGTK.cmake:
2647
2648
2020-05-18 Carlos Garcia Campos <cgarcia@igalia.com>
2649
2650
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.1 release
2651
2652
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2653
2654
2020-05-10 Basuke Suzuki <basuke.suzuki@sony.com>
2655