Revision control

1
2020-10-23 Philippe Normand <pnormand@igalia.com>
2
3
[GStreamer] Replace USE(WEBAUDIO_GSTREAMER) with USE(GSTREAMER)
5
6
Reviewed by Xabier Rodriguez-Calvar.
7
8
A separate define was introduced back when we thought enabling WebAudio without enabling
9
<audio> would be a highly relevant scenario. I don't think it is very relevant, let's clean
10
this up.
11
12
* Source/cmake/GStreamerChecks.cmake: Wrap the WebAudio platform bits in the USE(GSTREAMER) umbrella.
13
14
2020-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
15
16
WebDriver: add support for wheel actions
18
19
Reviewed by Brian Burg.
20
21
Enable WEBDRIVER_WHEEL_INTERACTIONS for GTK and WPE ports.
22
23
* Source/cmake/OptionsGTK.cmake:
24
* Source/cmake/OptionsWPE.cmake:
25
* Source/cmake/WebKitFeatures.cmake:
26
27
2020-10-20 Michael Catanzaro <mcatanzaro@gnome.org>
28
29
[GTK] Move ENABLE_ASYNC_SCROLLING build option to right place in OptionsGTK.cmake
31
32
Unreviewed. No functional changes.
33
34
* Source/cmake/OptionsGTK.cmake:
35
36
2020-10-20 Adrian Perez de Castro <aperez@igalia.com>
37
38
[GTK] Implement HTML5 Gamepad API
40
41
Reviewed by Michael Catanzaro.
42
43
Enable the gamepad support by default for the GTK port. The option is marked PUBLIC
44
because libmanette is not available in the current Debian "old stable" (Buster), which
45
we need to support until September 2021.
46
47
* Source/cmake/OptionsGTK.cmake: Set ENABLE_GAMEPAD to PUBLIC and ON by default.
48
49
2020-10-19 Lauro Moura <lmoura@igalia.com>
50
51
REGRESSION(r268115) [GTK] Build failures with GCC 7 (Ubuntu 18.04) and GCC 8 (Debian Buster)
53
54
Reviewed by Carlos Alberto Lopez Perez.
55
56
The root cause is lack of proper <filesystem> support in gcc7/8 (and
57
incompatibility with llvm's header that was included). As such, we
58
need to check whether to use <filesystem>, <experimental/filesystem>,
59
or fallback to the included header.
60
61
Note: In some systems like Ubuntu 20.04, gcc-8 can use gcc-9's
62
libstdc++ and link successfully, but running will fail as it should
63
actually link with its libstc++fs to provide the correct symbols. As
64
this is some corner case (Ubuntu's 20 default gcc is 9), LDFLAGS
65
can be used to overcome this.
66
67
* Source/cmake/OptionsCommon.cmake: Add a HAVE directive to
68
check whether <experimental/filesystem> is the filesystem impl
69
available.
70
* Source/cmake/WebKitCompilerFlags.cmake: Test first whether
71
<filesystem> can be used, with <experimental/filestystem> as fallback.
72
73
2020-10-14 Zan Dobersek <zdobersek@igalia.com>
74
75
Remove ACCELERATED_2D_CANVAS build flags and guarded code
77
78
Reviewed by Carlos Garcia Campos.
79
80
Yank the CMake ENABLE_ACCELERATED_2D_CANVAS option now that it won't
81
have any effect. FindCairoGL.cmake can also be removed.
82
83
* Source/cmake/FindCairoGL.cmake: Removed.
84
* Source/cmake/OptionsFTW.cmake:
85
* Source/cmake/OptionsGTK.cmake:
86
* Source/cmake/OptionsWPE.cmake:
87
* Source/cmake/OptionsWin.cmake:
88
* Source/cmake/WebKitFeatures.cmake:
89
* Source/cmake/tools/vsprops/FeatureDefines.props:
90
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
91
92
2020-10-13 Adrian Perez de Castro <aperez@igalia.com>
93
94
[GTK] Set ENABLE_GAMEPAD=ON for developer builds
96
97
Reviewed by Carlos Garcia Campos.
98
99
* Source/cmake/OptionsGTK.cmake: Make the default value of ENABLE_GAMEPAD
100
depend on ENABLE_EXPERIMENTAL_FEATURES.
101
102
2020-10-13 Michael Catanzaro <mcatanzaro@gnome.org>
103
104
[WPE][GTK] ENABLE_SHAREABLE_RESOURCE should be PRIVATE build option
106
107
Reviewed by Carlos Garcia Campos.
108
109
* Source/cmake/OptionsGTK.cmake:
110
* Source/cmake/OptionsWPE.cmake:
111
112
2020-10-09 Fujii Hironori <Hironori.Fujii@sony.com>
113
114
[WinCairo][GraphicsLayerTextureMapper] backdrop-filter support
116
117
Reviewed by Don Olmstead.
118
119
* Source/cmake/OptionsWin.cmake: Turn ENABLE_FILTERS_LEVEL_2 on for WinCairo.
120
121
2020-10-08 Keith Rollin <krollin@apple.com>
122
123
Remove copy-webkitlibraries-to-product-directory
126
127
Reviewed by Darin Adler.
128
129
This script no longer does anything, so remove it along with the
130
scaffolding around it that invokes it during the build.
131
132
* Makefile:
133
134
2020-10-04 Ryan Hostetler <rhost@apple.com>
135
136
Submission failure with "make: *** No rule to make target `installsrc'. Stop"
139
140
Reviewed by Darin Adler.
141
142
Add installsrc phase to support xbs submitproject for WebKit repository.
143
This change allows internal tools to submit and build in a single step.
144
145
* Makefile:
146
* Makefile.shared:
147
* Source/Makefile:
148
149
2020-10-02 Keith Rollin <krollin@apple.com>
150
151
Seeing "usage: basename string [suffix]" spam when using make to build
154
155
Reviewed by Darin Adler.
156
157
The name of the project being built is no longer displayed when using
159
taught the Makefile to perform this logging. The approach took
160
advantage of a `make` variable (PATH_FROM_ROOT) that tracks the
161
relative path from the root of the build hierarchy to the current
162
project. However, that variable may not be initialized if the build is
163
not initiated from the root. Therefore, don't count on that variable,
164
and get the name of the current project by invoking `pwd`.
165
166
* Makefile.shared:
167
168
2020-10-02 Sam Weinig <weinig@apple.com>
169
170
Remove code behind ENABLE(MEDIA_SESSION), no ports enable it
172
173
Reviewed by Alex Christensen.
174
175
* Source/cmake/OptionsFTW.cmake:
176
* Source/cmake/WebKitFeatures.cmake:
177
Remove option to build with MEDIA_SESSION, no one was doing it.
178
179
2020-10-02 Karl Rackler <rackler@apple.com>
180
181
Unreviewed, reverting r267796.
182
183
This change is breaking the build on AzulE debug bots.
184
185
Reverted changeset:
186
187
"Remove code behind ENABLE(MEDIA_SESSION), no ports enable it"
190
191
2020-10-02 Adrian Perez de Castro <aperez@igalia.com>
192
193
[GTK] Build broken with ENABLE_MEDIA_STREAM enabled and ENABLE_WEB_RTC_DISABLED
195
196
Reviewed by Philippe Normand.
197
198
* Source/cmake/GStreamerChecks.cmake: Only enable USE_LIBWEBRTC when both
199
ENABLE_MEDIA_STREAM and ENABLE_WEB_RTC is defined. This prevents trying to
200
build code that uses libwebrtc types when ENABLE_WEB_RTC is disabled but
201
ENABLE_MEDIA_STREAM is enabled.
202
203
2020-09-30 Sam Weinig <weinig@apple.com>
204
205
Remove code behind ENABLE(MEDIA_SESSION), no ports enable it
207
208
Reviewed by Alex Christensen.
209
210
* Source/cmake/OptionsFTW.cmake:
211
* Source/cmake/WebKitFeatures.cmake:
212
Remove option to build with MEDIA_SESSION, no one was doing it.
213
214
2020-09-30 Philippe Normand <pnormand@igalia.com>
215
216
[GStreamer] Internal audio rendering support
218
219
Reviewed by Xabier Rodriguez-Calvar.
220
221
* Source/cmake/FindWPEBackend_fdo.cmake: Check for the audio extension header initially
222
shipped in the 1.8.0 release.
223
* Source/cmake/GStreamerChecks.cmake: Check and enable external audio rendering support if
224
the WPEBackend-FDO audio extension was found.
225
226
2020-09-29 Don Olmstead <don.olmstead@sony.com>
227
228
[CMake][WebGPU] Add FindDawn module
230
231
Reviewed by Darin Adler.
232
233
Add a FindDawn CMake module to use for a WebGPU implementation on non-Cocoa platforms.
234
If ENABLE_WEBGPU is on for WinCairo it will attempt to detect Dawn.
235
236
* Source/cmake/FindDawn.cmake: Added.
237
* Source/cmake/OptionsWinCairo.cmake:
238
239
2020-09-28 Keith Rollin <krollin@apple.com>
240
241
Print message saying what project is being built
244
245
Reviewed by Andy Estes.
246
247
XCBuild removes the progress messages saying which project/target is
248
being built. We can't show the target, but update the Makefiles to at
249
least show which project is being built.
250
251
* Makefile.shared:
252
253
2020-09-27 Philippe Normand <pnormand@igalia.com>
254
255
Add .ccls config file
257
258
Reviewed by Darin Adler.
259
260
ccls is a stand-alone server implementing the Language Server Protocol for C, C++, and
261
Objective-C languages. It can be used with any editor which provides an LSP client
262
implementation. It originates from cquery.
263
265
266
It's basically used to provide semantic highlighting and code navigation. Many IDEs support
267
LSP nowadays.
268
269
* .ccls: Added.
270
* .gitignore:
271
272
2020-09-25 Fujii Hironori <Hironori.Fujii@sony.com>
273
274
make_names.pl no longer needs C preprocessor
276
277
Reviewed by Sam Weinig.
278
279
* Source/cmake/WebKitCompilerFlags.cmake: Removed CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS which was used only for make_names.pl.
280
281
2020-09-25 Antti Koivisto <antti@apple.com>
282
283
[LFC][Integration] Enable on Apple Windows port
286
287
Reviewed by Zalan Bujtas.
288
289
* Source/cmake/OptionsWin.cmake:
290
291
2020-09-23 Fujii Hironori <Hironori.Fujii@sony.com>
292
293
Remove ENABLE_SVG_FONTS macro
295
296
Reviewed by Don Olmstead.
297
298
No ports have this disabled, so remove it.
299
300
* Source/cmake/OptionsFTW.cmake:
301
* Source/cmake/OptionsMac.cmake:
302
* Source/cmake/OptionsWin.cmake:
303
* Source/cmake/WebKitFeatures.cmake:
304
* Source/cmake/tools/vsprops/FeatureDefines.props:
305
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
306
307
2020-09-22 Keith Rollin <krollin@apple.com>
308
309
Unify debug and release target aliases
312
313
Reviewed by Tim Horton.
314
315
All Makefiles have "debug", "d", "release", and "r" for build
316
targets. Others -- but not all -- also include "dev", "develop",
317
"development", "dep", "deploy", and "deployment". Because of this
318
inconsistency, trying to use those additional targets didn't work. It
319
looks like all Makefiles used to support all of those targets, but
320
some got dropped along the way. For instance, the top-level Makefile
321
and Source/Makefile dropped them in 2013 as part of Bug 107863. And it
322
looks like WebKitLibraries/Makefile never had them. Given that those
323
additional targets don't work, it seems like no one uses them, so
324
let's remove them completely.
325
326
* Makefile.shared:
327
328
2020-09-22 Keith Rollin <krollin@apple.com>
329
330
Refactor build rules in Makefiles and Makefile.shared
333
334
Reviewed by David Kilzer.
335
336
Build fix: Previous change for this bug broke the ability to perform a
337
build with just `make`, due to that code path invoking
338
`set-webkit-configuration` with no parameters, which causes that
339
script to error-out.
340
341
* Makefile.shared:
342
343
2020-09-22 Keith Rollin <krollin@apple.com>
344
345
Refactor build rules in Makefiles and Makefile.shared
348
349
Reviewed by David Kilzer.
350
351
Factor out the common aspects of the build rules in Makefile.shared
352
and the various Makefiles. This allows us to more easily see what's
353
different between the various build targets, and to apply uniform
354
changes across all of the targets.
355
356
* Makefile:
357
* Makefile.shared:
358
* Source/Makefile:
359
360
2020-09-22 Jonathan Bedard <jbedard@apple.com>
361
362
Correct instructions for building iOS in ReadMe
365
366
Reviewed by David Kilzer.
367
368
* ReadMe.md: Update iOS build instructions to apply to all embedded platforms.
369
370
2020-09-21 Adrian Perez de Castro <aperez@igalia.com>
371
372
[CMake] Use imported targets in find module for the ATK SPI2 bridge dependency
374
375
Reviewed by Don Olmstead.
376
377
* Source/cmake/FindATKBridge.cmake: Rewrite to define an ATK::Bridge imported target.
378
* Source/cmake/OptionsWPE.cmake: Use the ATK::Bridge imported target.
379
380
2020-09-16 Fujii Hironori <Hironori.Fujii@sony.com>
381
382
[CMake] Add a new library target TestRunnerShared
384
385
WinCairo port is using both DRT and WTR. However, it has a problem
386
for precompiled header builds to compile the source of
387
TestRunnerShared twice for DRT and WTR.
388
389
Add a new library target TestRunnerShared. Re-enable precompiled
390
header for DRT and WTR for WinCairo.
391
392
Reviewed by Don Olmstead.
393
394
* Source/cmake/OptionsWinCairo.cmake:
395
* Source/cmake/WebKitFS.cmake:
396
397
2020-09-16 Stephan Szabo <stephan.szabo@sony.com>
398
399
Remove ENABLE_METER_ELEMENT
401
402
Reviewed by Fujii Hironori.
403
404
With PlayStation finally planning to turn this on,
405
no ports had this disabled, so remove the enable flag.
406
407
* Source/cmake/OptionsFTW.cmake:
408
* Source/cmake/OptionsMac.cmake:
409
* Source/cmake/OptionsPlayStation.cmake:
410
* Source/cmake/OptionsWin.cmake:
411
* Source/cmake/WebKitFeatures.cmake:
412
* Source/cmake/tools/vsprops/FeatureDefines.props:
413
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
414
415
2020-09-15 David Kilzer <ddkilzer@apple.com>
416
417
WebKit should support building with clang ThreadSanitizer enabled
420
421
Reviewed by Darin Adler.
422
423
This patch doesn't attempt to resolve every potential false
424
positive, but makes it easy to build WebKit with TSan enabled.
425
426
* Makefile.shared:
427
- Update to work with `make [args] TSAN=YES`.
428
429
2020-09-14 Fujii Hironori <Hironori.Fujii@sony.com>
430
431
[PlayStation] Enable ENABLE_SVG_FONTS
433
434
Reviewed by Don Olmstead.
435
436
* Source/cmake/OptionsPlayStation.cmake:
437
438
2020-09-12 Myles C. Maxfield <mmaxfield@apple.com>
439
440
[Apple Win] Add a CTFont member to FontPlatformData
442
443
Reviewed by Darin Adler.
444
445
Include ***CoreText.cpp files on the Apple Win port.
446
447
* Source/cmake/OptionsAppleWin.cmake:
448
449
2020-09-10 Adrian Perez de Castro <aperez@igalia.com>
450
451
[CMake] Use imported targets in find module for libseccomp
453
454
Reviewed by Don Olmstead.
455
456
* Source/cmake/BubblewrapSandboxChecks.cmake: Use Libseccomp_FOUND.
457
* Source/cmake/FindLibseccomp.cmake: Rewrite to define the
458
Libseccomp::Libseccomp target, fall-back to read version from the main
459
header, and define variables with Libseccomp_ as prefix.
460
461
2020-09-04 Adrian Perez de Castro <aperez@igalia.com>
462
463
Unreviewed. [WPE] Bump version numbers
464
465
* Source/cmake/OptionsWPE.cmake:
466
467
2020-09-04 Carlos Garcia Campos <cgarcia@igalia.com>
468
469
Unreviewed. [GTK] Bump version numbers
470
471
* Source/cmake/OptionsGTK.cmake:
472
473
2020-09-02 Philippe Normand <pnormand@igalia.com>
474
475
[Flatpak SDK] Update to FDO 20.08
477
478
Reviewed by Žan Doberšek.
479
480
* .gitignore: Ignore buildstream local Flatpak repository. This is created only when
481
manually building the SDK.
482
483
2020-08-31 Stephan Szabo <stephan.szabo@sony.com>
484
485
[PlayStation] Build fix for intermittent copy errors
487
488
Reviewed by Ross Kirsling.
489
490
* Source/cmake/OptionsPlayStation.cmake:
491
When copying platform specific files into the binary
492
directory post build on executable targets, we'd
493
intermittently get copy errors in parallel builds.
494
495
2020-08-28 Adrian Perez de Castro <aperez@igalia.com>
496
497
[WPE] Enable Notifications support
499
500
Reviewed by Philippe Normand.
501
502
Enable web notifications support for the WPE port. The code is shared with the GTK
503
port, but as we do not try to find and enable libnotify the default implementation
504
is a stub: embedders can customize how to display notifications by connecting to
505
the WebKitWebView:show-notification signal. This way we do not add any additional
506
build dependencies.
507
508
* Source/cmake/OptionsWPE.cmake: Flip ENABLE_NOTIFICATIONS to ON.
509
510
2020-08-27 Stephan Szabo <stephan.szabo@sony.com>
511
512
[PlayStation] Build fix due to memmem not always being available.
514
515
Unreviewed build fix
516
517
* Source/cmake/OptionsPlayStation.cmake: Check for memmem
518
519
2020-08-22 Philippe Normand <pnormand@igalia.com>
520
521
[GTK][WPE] Compilation warnings with clang/gcc 10
523
524
Reviewed by Darin Adler.
525
526
* Source/cmake/WebKitCompilerFlags.cmake: Disable tautological-compare and
527
misleading-indentation warnings triggering false-positive when building JSC.
528
529
2020-08-17 Carlos Garcia Campos <cgarcia@igalia.com>
530
531
[GTK][WPE] Remove support for NPAPI plugins
533
534
Reviewed by Darin Adler.
535
536
* Source/cmake/OptionsGTK.cmake:
537
538
2020-08-12 Keith Rollin <krollin@apple.com>
539
540
Remove the need for defining USE_NEW_BUILD_SYSTEM
542
543
Reviewed by Darin Adler.
544
545
When building WebKit for XCBuild, we currently require that the
546
external build system (such as the Makefile, build-webkit, etc.)
547
defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting
548
controls parts of our build instructions that are sensitive to when
549
XCBuild or the Legacy build system are being used. Notably, we need to
550
know when to use our custom “copy and modify” scripts with copying
551
certain header files (used with the Legacy build system) vs. using the
552
enhanced Copy Headers build phase that’s enabled with
553
APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild).
554
The choice of which method to copy headers is used is controlled by
555
USE_NEW_BUILD_SYSTEM.
556
557
There is no built-in build setting that we can probe to help us
558
determine which approach to take when copying and modifying headers,
559
which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it
560
turns out that we can *detect* which build system is being used by
561
taking advantage of a subtle difference between the two systems. As
562
noted in:
563
565
566
“When an .xcconfig file contains multiple assignments of the same
567
build setting, later assignments using $(inherited) or
568
$(<setting_name>) will inherit from earlier assignments in the
569
.xcconfig. The legacy build system caused every use of
570
$(inherited) or $(<setting_name>) skip any other values defined
571
within the .xcconfig.”
572
573
This difference can be exploited as follows:
574
575
WK_WHICH_BUILD_SYSTEM = not_
576
WK_WHICH_BUILD_SYSTEM = $(inherited)legacy
577
WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM))
578
WK_USE_NEW_BUILD_SYSTEM_legacy = NO
579
WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES
580
581
We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the
582
externally-defined USE_NEW_BUILD_SYSTEM.
583
584
* Makefile.shared:
585
586
2020-08-11 Philippe Normand <pnormand@igalia.com>
587
588
[GStreamer] gst-full standalone library support
590
591
Reviewed by Xabier Rodriguez-Calvar.
592
593
* Source/cmake/FindGStreamer.cmake:
594
* Source/cmake/GStreamerChecks.cmake:
595
* Source/cmake/GStreamerDefinitions.cmake:
596
597
2020-08-03 Wenson Hsieh <wenson_hsieh@apple.com>
598
599
Remove the ENABLE_DATA_INTERACTION feature flag
601
602
Reviewed by Megan Gardner.
603
604
* Source/cmake/OptionsFTW.cmake:
605
* Source/cmake/WebKitFeatures.cmake:
606
607
2020-07-15 Carlos Garcia Campos <cgarcia@igalia.com>
608
609
[GTK4] Enable API tests
611
612
Reviewed by Adrian Perez de Castro.
613
614
Build API tests for GTK4 too.
615
616
* Source/cmake/OptionsGTK.cmake:
617
618
2020-07-29 Adrian Perez de Castro <aperez@igalia.com>
619
620
Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.29.2 release
621
622
* Source/cmake/OptionsWPE.cmake: Bump version numbers.
623
624
2020-07-29 Carlos Garcia Campos <cgarcia@igalia.com>
625
626
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.4 release
627
628
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
629
630
2020-07-27 Carlos Garcia Campos <cgarcia@igalia.com>
631
632
[GTK][WPE] Support for backdrop-filter
634
635
Reviewed by Adrian Perez de Castro.
636
637
Enable FILTERS_LEVEL_2 by default for WPE and GTK.
638
639
* Source/cmake/OptionsGTK.cmake:
640
* Source/cmake/OptionsWPE.cmake:
641
642
2020-07-27 Alberto Garcia <berto@igalia.com>
643
644
[GTK] Default to OpenGL ES in arm
646
647
Reviewed by Carlos Garcia Campos.
648
649
* Source/cmake/OptionsGTK.cmake:
650
651
2020-07-24 Yusuke Suzuki <ysuzuki@apple.com>
652
653
Add project.pbxproj editorconfig entry
655
656
Reviewed by Mark Lam.
657
658
We should use tab for project.pbxproj file.
659
660
* .editorconfig:
661
662
2020-07-21 Adrian Perez de Castro <aperez@igalia.com>
663
664
Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.29.1 release
665
666
* Source/cmake/OptionsWPE.cmake: Bump version numbers.
667
668
2020-07-20 Adrian Perez de Castro <aperez@igalia.com>
669
670
[CMake] Do not use ${DEVELOPER_MODE} directly, as it may be undefined
671
672
Unreviewed build fix.
673
674
Instead of using ${DEVELOPER_MODE} directly, which might be undefined an cause errors, set
675
first ENABLE_DEVELOPER_MODE based on its value with SET_AND_EXPOSE_TO_BUILD(), and then use
676
the ${ENABLE_DEVELOPER_MODE} expansion in the rest of the file.
677
678
* Source/cmake/OptionsWPE.cmake:
679
680
2020-07-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
681
682
Unreviewed. Fixed copy&paste typos of gcrypt -> Thunder
683
684
* Source/cmake/FindThunder.cmake:
685
686
2020-07-11 Fujii Hironori <Hironori.Fujii@sony.com>
687
688
[WinCairo] Conic gradients support
690
691
Reviewed by Sam Weinig.
692
693
* Source/cmake/OptionsWin.cmake: Turn ENABLE_CSS_CONIC_GRADIENTS on.
694
695
2020-07-10 Don Olmstead <don.olmstead@sony.com> and Fujii Hironori <Hironori.Fujii@sony.com>
696
697
[WinCairo] WOFF2 font support
699
700
Reviewed by Per Arne Vollan.
701
702
* Source/cmake/OptionsWinCairo.cmake: Unmarked fast/text/woff2-totalsfntsize.html and fast/text/woff2.html.
703
704
2020-07-10 Xabier Rodriguez Calvar <calvaris@igalia.com>
705
706
[GStreamer][EME][OpenCDM] Implement OpenCDM support
708
709
Reviewed by Philippe Normand.
710
711
Added support to enable OpenCDM and find it it needed.
712
713
* Source/cmake/FindOpenCDM.cmake: Added.
714
* Source/cmake/OptionsGTK.cmake:
715
* Source/cmake/OptionsWPE.cmake:
716
* Source/cmake/WebKitFeatures.cmake:
717
718
2020-07-08 Carlos Garcia Campos <cgarcia@igalia.com>
719
720
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.3 release
721
722
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
723
724
2020-07-07 Adrian Perez de Castro <aperez@igalia.com>
725
726
[CMake] Fix typo in version variable assingment in FindWOFF2.cmake
728
729
Reviewed by Carlos Garcia Campos.
730
731
* Source/cmake/FindWOFF2.cmake: Properly use PC_WOFF2_VERSION as the version
732
detected from pkg-config.
733
734
2020-07-04 Sergio Villar Senin <svillar@igalia.com>
735
736
[Flatpak SDK] Require OpenXR 1.0.9
738
739
Reviewed by Philippe Normand.
740
741
Require version 1.0.9 because is the first one that include EGL support for Monado.
742
743
* Source/cmake/OptionsWPE.cmake:
744
745
2020-07-03 Darin Adler <darin@apple.com>
746
747
Make generate-unified-sources.sh not depend on features being listed in FEATURE_DEFINES environment variable
749
750
Reviewed by Don Olmstead.
751
752
* Source/cmake/WebKitCommon.cmake: Removed call to SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS.
753
* Source/cmake/WebKitFeatures.cmake: Removed SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS.
754
* Source/cmake/WebKitMacros.cmake: Removed use of "--feature-flags" when invoking the
755
generate-unified-source-bundles.rb, which also means no longer depending on the
756
UNIFIED_SOURCE_LIST_ENABLED_FEATURES variable, which was set by the
757
SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS function.
758
759
2020-07-03 Sam Weinig <weinig@apple.com>
760
761
Remove support for ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE
763
764
Reviewed by Darin Adler.
765
766
Removes support for non-standard <input type="datetime">, currently being
767
guarded by the macro ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE. This macro, was
768
added back in 2013 as a temporary measure to support some engines who shipped
769
support for <input type="datetime">. It is currently not enabled for any
770
ports so now seems like as good a time as any to remove it.
771
772
* Source/cmake/OptionsWin.cmake:
773
* Source/cmake/WebKitFeatures.cmake:
774
* Source/cmake/tools/vsprops/FeatureDefines.props:
775
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
776
777
2020-07-02 Alex Christensen <achristensen@webkit.org>
778
779
Update Mac CMake build
780
781
* Source/cmake/OptionsMac.cmake:
782
783
2020-07-01 Don Olmstead <don.olmstead@sony.com>
784
785
[CMake] Add WOFF2 targets
787
788
Reviewed by Fujii Hironori.
789
790
Rework the Find module for WOFF2 to provide targets for libwoff2common and
791
libwoff2dec. Previously only libwoff2dec was specified in the find module. This
792
is because pkg-config works on that platform and because shared libraries are
793
supported. Neither is true for Windows so the module was expanded in anticipation
794
of support for WinCairo.
795
796
* Source/cmake/FindWOFF2.cmake: Added.
797
* Source/cmake/FindWOFF2Dec.cmake: Removed.
798
* Source/cmake/OptionsGTK.cmake:
799
* Source/cmake/OptionsWPE.cmake:
800
801
2020-06-30 Andres Gonzalez <andresg_22@apple.com>
802
803
Code cleanup in AccessibilityMenuList.cpp and AXIsolatedTree.h.
805
806
Reviewed by Darin Adler.
807
808
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
809
810
2020-06-29 Guowei Yang <guowei_yang@apple.com>
811
812
Adding Experimental Feature Flags for CoreImage backed SVG/CSS Filters
814
815
Reviewed by Darin Adler, Simon Fraser, Myles C. Maxfield.
816
817
Preparing to implement CoreImage backed filter rendering
818
Needs Compiler guards and experimental feature guard.
819
820
* Source/cmake/WebKitFeatures.cmake: added definition of
821
CoreImage-accelerated filter rendering feature flag,
822
ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER
823
824
2020-06-29 Tetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>
825
826
Remove ENABLE_STREAMS_API compilation flag
828
829
Reviewed by Sam Weinig.
830
831
* Source/cmake/OptionsFTW.cmake:
832
* Source/cmake/OptionsMac.cmake:
833
* Source/cmake/OptionsWin.cmake:
834
* Source/cmake/WebKitFeatures.cmake:
835
* Source/cmake/tools/vsprops/FeatureDefines.props:
836
837
2020-06-25 Diego Pino Garcia <dpino@igalia.com>
838
839
[GTK] Enable WEB_API_STATISTICS
841
842
Reviewed by Carlos Garcia Campos.
843
844
* Source/cmake/OptionsGTK.cmake:
845
846
2020-06-24 Carlos Garcia Campos <cgarcia@igalia.com>
847
848
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.2 release
849
850
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
851
852
2020-06-22 Saam Barati <sbarati@apple.com>
853
854
Allow building JavaScriptCore Mac+arm64 in public SDK build
856
857
Reviewed by Sam Weinig.
858
859
* Source/cmake/OptionsFTW.cmake:
860
* Source/cmake/WebKitFeatures.cmake:
861
862
2020-06-18 Tim Horton <timothy_horton@apple.com>
863
864
Remove some vestiges of the 32-bit Plugin Process
866
867
Reviewed by Dan Bernstein.
868
869
* Makefile.shared:
870
This hack from r203348 is no longer needed, because WebKit cannot be built for 32-bit anymore.
871
872
2020-06-17 Michael Catanzaro <mcatanzaro@gnome.org>
873
874
REGRESSION(r260760): ENABLE_GRAPHICS_CONTEXT_GL should be ON, not TRUE
876
877
Reviewed by Carlos Garcia Campos.
878
879
This is already set by feature policy. Don't clobber it.
880
881
* Source/cmake/OptionsGTK.cmake:
882
883
2020-06-10 Dean Jackson <dino@apple.com>
884
885
Add a dynamic library target for ANGLE
887
888
Reviewed by Tim Horton.
889
890
In preparation for moving to a dynamic library, start
891
by compiling and linking it. It isn't used anywhere
892
but getting it into the build will help Apple's
893
build system remain happy as we migrate, as well
894
as have the system know it exists for building
895
the shared system cache.
896
897
* WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
898
899
2020-06-12 Adrian Perez de Castro <aperez@igalia.com>
900
901
Build is broken with EVENT_LOOP_TYPE=GLib
903
904
Reviewed by Konstantin Tokarev.
905
906
* Source/cmake/OptionsJSCOnly.cmake: Add gio-unix as a required component of the GLib
907
package, as it is needed for the remote inspector support with EVENT_LOOP_TYPE=GLib.
908
909
2020-06-12 Carlos Garcia Campos <cgarcia@igalia.com>
910
911
[GTK4] Get MiniBrowser ready for GTK4
913
914
Reviewed by Adrian Perez de Castro.
915
916
Bump GTK4 required version.
917
918
* Source/cmake/OptionsGTK.cmake:
919
920
2020-06-07 Philippe Normand <pnormand@igalia.com>
921
922
Remove ENABLE_VIDEO_TRACK ifdef guards
924
925
Reviewed by Youenn Fablet.
926
927
VIDEO_TRACK has been enabled by default on all ports for a long time. As the spec is stable,
928
the feature can unconditionally be enabled and is now guarded under ENABLE(VIDEO).
929
930
* Source/cmake/OptionsFTW.cmake:
931
* Source/cmake/OptionsMac.cmake:
932
* Source/cmake/OptionsWin.cmake:
933
* Source/cmake/WebKitFeatures.cmake:
934
* Source/cmake/tools/vsprops/FeatureDefines.props:
935
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
936
937
2020-06-05 Andy Estes <aestes@apple.com>
938
939
[Apple Pay] Remove conditionals for ENABLE_APPLE_PAY_SESSION_V(3|4)
942
943
Reviewed by Darin Adler.
944
945
APPLE_PAY_SESSION_V(3|4) is now enabled whenever APPLE_PAY itself is enabled.
946
947
* Source/cmake/OptionsFTW.cmake:
948
* Source/cmake/OptionsMac.cmake:
949
* Source/cmake/WebKitFeatures.cmake:
950
951
2020-06-04 Mark Lam <mark.lam@apple.com>
952
953
Editors should not automatically trim trailing whitespace.
955
956
Reviewed by Yusuke Suzuki.
957
958
Doing so would force a lot of unnecessary code changes and make patches hard to
959
review. It is common WebKit practice to not make unrelated changes in patches.
960
961
* .editorconfig:
962
963
2020-06-02 Keith Rollin <krollin@apple.com>
964
965
Revert FEATURES_DEFINES related changes
968
969
Reviewed by Andy Estes.
970
971
Bug 262310, Bug 262311, Bug 262318, and Bug 262331 involve changes to
972
FEATURE_DEFINES and how the values there relate to those found in the
973
Platform*.h files. Those changes break XCBuild (by removing the
974
.xcfilelist related to UnifiedSources and the process for generating
975
them), and so are being reverted.
976
977
* Source/cmake/OptionsFTW.cmake:
978
* Source/cmake/OptionsMac.cmake:
979
* Source/cmake/WebKitFeatures.cmake:
980
981
2020-06-02 Yoshiaki JITSUKAWA <yoshiaki.jitsukawa@sony.com>
982
983
Add .editorconfig
985
986
Add .editorconfig for Visual Studio.
987
988
Initally following file types are supported:
989
- .h/.c/.cpp
990
- CMakeFilelist.txt/.cmake
991
- .editorconfig itself
992
993
Reviewed by Fujii Hironori.
994
995
* .editorconfig: Added.
996
997
2020-05-29 Andy Estes <aestes@apple.com>
998
999
[Apple Pay] Remove conditionals for ENABLE_APPLE_PAY_SESSION_V(3|4)
1001
1002
Reviewed by Darin Adler.
1003
1004
APPLE_PAY_SESSION_V(3|4) is now enabled whenever APPLE_PAY itself is enabled.
1005
1006
* Source/cmake/OptionsFTW.cmake:
1007
* Source/cmake/OptionsMac.cmake:
1008
* Source/cmake/WebKitFeatures.cmake:
1009
1010
2020-05-29 Keith Rollin <krollin@apple.com>
1011
1012
Revert switch to XCBuild
1015
1016
Unreviewed build fix.
1017
1018
Bug 209890 enabled the use of XCBuild by default. Since then, some
1019
build issues have shown up. While addressing them, temporarily turn
1020
off the use of XCBuild by default.
1021
1022
* Makefile.shared:
1023
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
1024
1025
2020-05-27 Kenneth Russell <kbr@chromium.org>
1026
1027
Update MobileMiniBrowser project settings to current Xcode
1029
1030
Reviewed by Dean Jackson.
1031
1032
Accept Xcode's suggested upgrade to use the new build system.
1033
1034
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
1035
1036
2020-05-27 ChangSeok Oh <changseok@webkit.org>
1037
1038
[GTK] Manette_INCLUDE_DIR and Manette_LIBRARY are undefined.
1040
1041
Reviewed by Michael Catanzaro.
1042
1043
The cmake complains Manette_INCLUDE_DIR and Manette_LIBRARY are missing
1044
in finding the manette package where GAMEPAD is enabled for the gtk port.
1045
In r261965, we thought they would be automatically defined with IMPORTED_TARGET
1046
but they seem not. We explicitly find the header and library paths, following FindOpenJPEG.cmake.
1047
1048
* Source/cmake/FindManette.cmake:
1049
* Source/cmake/OptionsGTK.cmake: REQUIRED removed.
1050
1051
2020-05-26 Fujii Hironori <Hironori.Fujii@sony.com>
1052
1053
[WinCairo][WK2] Use GraphicsLayerTextureMapper for Accelerated Compositing mode
1055
1056
Reviewed by Don Olmstead.
1057
1058
* Source/cmake/OptionsWinCairo.cmake: Added a new build option
1059
USE_GRAPHICS_LAYER_TEXTURE_MAPPER, and set ON as the default.
1060
1061
2020-05-26 Don Olmstead <don.olmstead@sony.com>
1062
1063
[CMake] Add static analyzers
1065
1066
Reviewed by David Kilzer.
1067
1068
Add support for static analyzers within CMake builds. Supported analyzers are
1069
clang-tidy, iwyu (include-what-you-use) and lwyu (link-what-you-use). They can
1070
be enabled by passing a semicolon separated list to CMake through the ANALYZERS
1071
option.
1072
1073
* Source/cmake/WebKitCommon.cmake:
1074
* Source/cmake/WebKitFeatures.cmake:
1075
* Source/cmake/WebKitMacros.cmake:
1076
* Source/cmake/WebKitStaticAnalysis.cmake: Added.
1077
1078
2020-05-26 Keith Rollin <krollin@apple.com>
1079
1080
Enable the use of XCBuild by default in Apple builds
1083
1084
Reviewed by Darin Adler.
1085
1086
Switch from the "legacy" Xcode build system to the "new" build system
1087
(also known as "XCBuild"). Switching to the new system speeds up
1088
builds by a small percentage, better validates projects for
1089
build-related issues (such as dependency cycles), lets WebKit benefit
1090
from future improvements in XCBuild such as those coming from the
1091
underlying llbuild open source project, and prepares us for any other
1092
tools built for this new ecosystem.
1093
1094
Specific changes:
1095
1096
- Remove Xcode project and workspace settings that selected the Build
1097
system, allowing the default to take hold (which is currently the
1098
New build system).
1099
- Updated webkitdirs.pm with a terser check for Xcode version.
1100
- Update build-webkit and Makefile.shared to be explicit when using
1101
the old build system (no longer treat it as a default or fall-back
1102
configuration).
1103
- Update various xcconfig files similarly to treat the default as
1104
using the new build system.
1105
- Update various post-processing build steps to check for Xcode 11.4
1106
and to no longer treat the default as using the old build system.
1107
1108
* Makefile.shared:
1109
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
1110
1111
2020-05-22 Yoshiaki JITSUKAWA <yoshiaki.jitsukawa@sony.com>
1112
1113
[PlayStation] Enable JSC shell to run
1115
1116
Reviewed by Ross Kirsling.
1117
1118
* Source/cmake/OptionsPlayStation.cmake:
1119
1120
2020-05-21 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
1121
1122
[PlayStation] Add minimal WKView API to enable TestWebKitAPI
1124
1125
Reviewed by Alex Christensen.
1126
1127
Enable TestWebKitAPI
1128
1129
* Source/cmake/OptionsPlayStation.cmake:
1130
Disable FullScreen API and ContextMenus.
1131
1132
2020-05-20 ChangSeok Oh <changseok@webkit.org>
1133
1134
[GTK] Implement connected and disconnected events of GAMEPAD API with libmanette
1136
1137
Reviewed by Carlos Garcia Campos.
1138
1139
This patch brings initial GAMEPAD API support to the gtk port. We use libmanette,
1140
a simple GObject game controller library to handle gamepad connection and input.
1141
1142
* Source/cmake/FindManette.cmake: Added to detect libmanette headers and libs installed in host system.
1143
* Source/cmake/OptionsGTK.cmake: Added a private flag, ENABLE_GAMEPAD.
1144
Once libmanette is found, we expose another build flag, USE_MANETTE for other ports.
1145
1146
2020-05-20 Carlos Garcia Campos <cgarcia@igalia.com>
1147
1148
Unreviewed. Fix GTK4 build with GTK 3.98.4
1149
1150
* Source/cmake/OptionsGTK.cmake:
1151
1152
2020-05-18 Michael Catanzaro <mcatanzaro@gnome.org>
1153
1154
[GTK] Allow gtk-doc and introspection in cross builds
1156
1157
Reviewed by Adrian Perez de Castro.
1158
1159
Stop disabling these options in cross builds.
1160
1161
* Source/cmake/OptionsGTK.cmake:
1162
1163
2020-05-18 Carlos Garcia Campos <cgarcia@igalia.com>
1164
1165
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.1 release
1166
1167
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
1168
1169
2020-05-10 Basuke Suzuki <basuke.suzuki@sony.com>
1170
1171
Add ENABLE_PERIODIC_MEMORY_MONITOR flag.
1173
1174
Reviewed by Yusuke Suzuki.
1175
1176
Define ENABLE_PERIODIC_MEMORY_MONITOR flags in specific platform's options.
1177
Enable it for PlayStation port.
1178
1179
* Source/cmake/OptionsGTK.cmake:
1180
* Source/cmake/OptionsMac.cmake:
1181
* Source/cmake/OptionsPlayStation.cmake:
1182
* Source/cmake/OptionsWPE.cmake:
1183
* Source/cmake/WebKitFeatures.cmake:
1184
1185
2020-05-09 Don Olmstead <don.olmstead@sony.com>
1186
1187
[CMake] Use WEBKIT_EXECUTABLE in MallocBench
1189
1190
Reviewed by Yusuke Suzuki.
1191
1192
Add the PerformanceTest subdirectory for all ports when in DEVELOPER_MODE.
1193
1194
* CMakeLists.txt:
1195
1196
2020-05-07 Philippe Normand <pnormand@igalia.com>
1197
1198
[WPE][Qt] Enable by default
1200
1201
Reviewed by Adrian Perez de Castro.
1202
1203
* Source/cmake/OptionsWPE.cmake: Now that the EWS and bots use the
1204
Flatpak SDK, Qt5 libs are available so we can enable the module
1205
and have bots run its tests.
1206
1207
2020-05-05 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1208
1209
Compile GPUProcess in WPE port as experimental feature
1211
1212
Reviewed by Don Olmstead.
1213
1214
Enable GPUProcess in WPE.
1215
1216
* Source/cmake/OptionsWPE.cmake: enable GPU Process as
1217
experimental feature
1218
1219
2020-05-05 Rob Buis <rbuis@igalia.com>
1220
1221
[GTK][WPE][Fetch API] Stale-while-revalidate is not enabled
1223
1224
Reviewed by Carlos Alberto Lopez Perez.
1225
1226
Enable s-w-r for GTK/WPE.
1227
1228
* Source/cmake/OptionsGTK.cmake:
1229
* Source/cmake/OptionsWPE.cmake:
1230
1231
2020-05-04 Darin Adler <darin@apple.com>
1232
1233
Remove unused HAVE(STRINGS_H)
1235
1236
Reviewed by Alex Christensen.
1237
1238
* Source/cmake/OptionsCommon.cmake: Remove code to set HAVE_STRINGS_H.
1239
1240
2020-05-01 Per Arne Vollan <pvollan@apple.com>
1241
1242
[Win] Fix AppleWin build
1244
1245
Reviewed by Don Olmstead.
1246
1247
Use correct target namespace.
1248
1249
* Source/cmake/target/WebCore.cmake:
1250
1251
2020-05-01 Don Olmstead <don.olmstead@sony.com>
1252
1253
Use export macros on all platforms
1255
1256
Reviewed by Michael Catanzaro.
1257
1258
Remove explicit setting of USE_EXPORT_MACROS from all ports.
1259
1260
Ports that use declspec require no changes. Ports with visibility attributes
1261
need to set that as the default in the CMake. This is already done on the
1262
PlayStation port.
1263
1264
The export macros can also be overridden for different build variants if
1265
required. For example production builds may want to override them.
1266
1267
* Source/cmake/OptionsFTW.cmake:
1268
* Source/cmake/OptionsPlayStation.cmake:
1269
1270
2020-04-29 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1271
1272
[GPUP][GTK] compile GPUProcess in GTK port
1274
1275
Reviewed by Don Olmstead.
1276
1277
Enable GPUProcess compilation in WebKitGTK as an experimental
1278
feature
1279
1280
* Source/cmake/OptionsGTK.cmake: sort alphabetically WebKit
1281
options for GTK port and enable GPU_PROCESS if experimental
1282
features option is enabled.
1283
1284
2020-04-29 Sergio Villar Senin <svillar@igalia.com>
1285
1286
Add ccls config file to the list of ignored files
1288
1289
Reviewed by Tim Horton.
1290
1291
* .gitignore: ccls can read configuration options from a .ccls file in
1292
the project root directory. Let's just ignore it.
1293
1294
2020-04-28 Christopher Reid <chris.reid@sony.com>
1295
1296
[Win] Bundle Inspector Resources in Release builds
1298
1299
Reviewed by Fujii Hironori.
1300
1301
Add ENABLE_WEBINSPECTORUI so the resource copy can be disabled
1302
on platforms without inspector frontends.
1303
1304
* CMakeLists.txt:
1305
* Source/CMakeLists.txt:
1306
* Source/PlatformWin.cmake:
1307
* Source/cmake/OptionsJSCOnly.cmake:
1308
* Source/cmake/OptionsPlayStation.cmake:
1309
1310
2020-04-28 Philippe Normand <pnormand@igalia.com>
1311
1312
[GStreamer][MediaStream] Doesn't build with GStreamer 1.10
1314
1315
Reviewed by Xabier Rodriguez-Calvar.
1316
1317
* Source/cmake/GStreamerChecks.cmake: Require at least GStreamer
1318
1.12 when building with WebRTC/MediaStream enabled.
1319
1320
2020-04-27 Philippe Normand <pnormand@igalia.com>
1321
1322
[GTK] ENABLE(OPENGL) remmants...
1324
1325
Reviewed by Adrian Perez de Castro.
1326
1327
ENABLE(OPENGL) was renamed to ENABLE(GRAPHICS_CONTEXT_GL) in
1328
r254064 but not in all the code base...
1329
1330
* Source/cmake/GStreamerDependencies.cmake:
1331
* Source/cmake/OptionsGTK.cmake:
1332
1333
2020-04-27 Carlos Garcia Campos <cgarcia@igalia.com>
1334
1335
[GTK4] Make it possible to build with GTK4 without errors
1337
1338
Reviewed by Adrian Perez de Castro.
1339
1340
Disable API tests and GObject introspection when building with GTK4.
1341
1342
* Source/cmake/OptionsGTK.cmake:
1343
1344
2020-04-27 Diego Pino Garcia <dpino@igalia.com>
1345
1346
Unreviewed, reverting r260672.
1347
1348
[GTK] WebInspector tests are timing out after r260672
1349
1350
Reverted changeset:
1351
1352
"[Win] Bundle Inspector Resources in Release builds"
1355
1356
2020-04-26 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
1357
1358
[PlayStation] Enable TestWTF and TestWebCore
1360
1361
Reviewed by Don Olmstead.
1362
1363
* Source/cmake/OptionsPlayStation.cmake:
1364
- Add PLAYSTATION_COPY_SHARED_LIBRARIES() to install dependencies.
1365
- Add -g option for "Release" configuration.
1366
- Drop "RelWithDebInfo" and "MinSizeRel" configuration.
1367
1368
2020-04-24 Michael Catanzaro <mcatanzaro@gnome.org>
1369
1370
[GTK][WPE][JSCOnly] compile error when -DWTF_CPU_ARM64_CORTEXA53=ON set for arm64
1372
1373
Reviewed by Yusuke Suzuki.
1374
1375
* Source/cmake/OptionsCommon.cmake:
1376
1377
2020-04-24 Christopher Reid <chris.reid@sony.com>
1378
1379
[Win] Bundle Inspector Resources in Release builds
1381
1382
Reviewed by Fujii Hironori.
1383
1384
Add ENABLE_WEBINSPECTORUI so the resource copy can be disabled
1385
on platforms without inspector frontends.
1386
1387
* CMakeLists.txt:
1388
* Source/CMakeLists.txt:
1389
* Source/PlatformWin.cmake:
1390
* Source/cmake/OptionsJSCOnly.cmake:
1391
* Source/cmake/OptionsPlayStation.cmake:
1392
1393
2020-04-24 Per Arne Vollan <pvollan@apple.com>
1394
1395
[Win] Fix AppleWin build
1397
1398
Reviewed by Brent Fulgham.
1399
1400
PAL is built as a static library.
1401
1402
* Source/cmake/target/PAL.cmake:
1403
1404
2020-04-23 Yusuke Suzuki <ysuzuki@apple.com>
1405
1406
Make JSCOnly work on macOS
1408
1409
Reviewed by Ross Kirsling.
1410
1411
In JSCOnly port on macOS, we should disable ICU API renaming because OS shipped ICU does not have version suffix.
1412
1413
* Source/cmake/OptionsJSCOnly.cmake:
1414
1415
2020-04-22 Darin Adler <darin@apple.com>
1416
1417
[Cocoa] Build with UChar as char16_t even in builds that use Apple's internal SDK
1419
1420
Reviewed by Anders Carlsson.
1421
1422
* Source/cmake/OptionsCommon.cmake: Move ICU-configuring macros to Platform.h.
1423
* Source/cmake/OptionsJSCOnly.cmake: Ditto.
1424
* Source/cmake/OptionsMac.cmake: Ditto.
1425
1426
2020-04-22 Don Olmstead <don.olmstead@sony.com>
1427
1428
[CMake] Use WEBKIT_EXECUTABLE in WebKitTestRunner
1430
1431
Reviewed by Adrian Perez de Castro.
1432
1433
Add a WebKitTestRunner derived sources directory.
1434
1435
* Source/cmake/WebKitFS.cmake:
1436
1437
2020-04-21 Adrian Perez de Castro <aperez@igalia.com>
1438
1439
[GTK][CMake] Make gtk-unix-print a component of FindGTK.cmake
1441
1442
Reviewed by Carlos Garcia Campos.
1443
1444
* Source/cmake/FindGTK.cmake: Support an "unix-print" component.
1445
* Source/cmake/FindGTKUnixPrint.cmake: Removed.
1446
* Source/cmake/OptionsGTK.cmake: Use the "unix-print" component of the GTK find module.
1447
1448
2020-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
1449
1450
[GTK][WPE] Enable resource load statistics
1452
1453
Reviewed by Žan Doberšek.
1454
1455
Enable resource load statistics.
1456
1457
* Source/cmake/OptionsGTK.cmake:
1458
* Source/cmake/OptionsWPE.cmake:
1459
1460
2020-04-17 Don Olmstead <don.olmstead@sony.com>
1461
1462
[CMake] Add WebKit::WebCore target
1464
1465
Reviewed by Michael Catanzaro.
1466
1467
Add a target file for internal Apple Windows builds.
1468
1469
* Source/cmake/target/WebCore.cmake: Added.
1470
1471
2020-04-16 Carlos Garcia Campos <cgarcia@igalia.com>
1472
1473
[GTK4] Disable netscape plugins API
1475
1476
Reviewed by Adrian Perez de Castro.
1477
1478
Because GTK4 is the future and NPAPI plugins the past.
1479
1480
* Source/cmake/OptionsGTK.cmake:
1481
1482
2020-04-15 Carlos Garcia Campos <cgarcia@igalia.com>
1483
1484
Unreviewed. Do not run gtk-doc when building with GTK4
1485
1486
It's not supported yet.
1487
1488
* Source/PlatformGTK.cmake:
1489
1490
2020-04-13 Adrian Perez de Castro <aperez@igalia.com>
1491
1492
[GTK][CMake] Introduce an USE_GTK4 build option
1494
1495
Reviewed by Carlos Garcia Campos.
1496
1497
Do the bare minimum changes to build against GTK4 and produce a WebKit port library with a
1498
different name than GTK3 builds. Note that this does not attempt to make the built artifacts
1499
parallel-installable yet, though at least the main library, headers, and the pkg-config .pc
1500
file should be safe to install. The final names for built artifacts for GTK4 builds may
1501
still change.
1502
1503
* Source/cmake/OptionsGTK.cmake: Add a new USE_GTK4 public build option, which defaults
1504
to FALSE for now, and depending on its value choose the required version of GTK and set
1505
a different API version versions. This is enough to build a library with a different
1506
name (libwebkit2gtk-5.0 vs. libwebkit2gtk-4.0) when GTK4 is in use.
1507
1508
2020-04-10 Philippe Normand <pnormand@igalia.com>
1509
1510
[Flatpak SDK] Improved sccache support
1512
1513
Reviewed by Žan Doberšek.
1514
1515
* Source/cmake/WebKitCCache.cmake: Check for sccache if one of its
1516
environment variables has been set as well, otherwise the local
1517
disk cache would be used, if WEBKIT_USE_SCCACHE is set to 1.
1518
1519
2020-04-08 Ross Kirsling <ross.kirsling@sony.com>
1520
1521
Remove ENABLE_INTL define
1523
1524
Reviewed by Darin Adler.
1525
1526
* Source/cmake/OptionsFTW.cmake:
1527
* Source/cmake/OptionsMac.cmake:
1528
* Source/cmake/OptionsWin.cmake:
1529
* Source/cmake/WebKitFeatures.cmake:
1530
* Source/cmake/tools/vsprops/FeatureDefines.props:
1531
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1532
1533
2020-04-08 Stephan Szabo <stephan.szabo@sony.com>
1534
1535
[PlayStation] Update import of libdl stubs for new Angle dladdr use
1537
1538
Reviewed by Don Olmstead.
1539
1540
* Source/cmake/OptionsPlayStation.cmake:
1541
Use find_package to get libdl wrappers on playstation, include
1542
them in both executables and shared libraries.
1543
1544
2020-04-08 Truitt Savell <tsavell@apple.com>
1545
1546
Unreviewed, reverting r259708.
1547
1548
Broke the iOS device Build
1549
1550
Reverted changeset:
1551
1552
"Enable the use of XCBuild by default in Apple builds"
1555
1556
2020-04-08 Keith Rollin <krollin@apple.com>
1557
1558
Enable the use of XCBuild by default in Apple builds
1561
1562
Reviewed by Darin Adler.
1563
1564
Switch from the "legacy" Xcode build system to the "new" build system
1565
(also known as "XCBuild"). Switching to the new system speeds up
1566
builds by a small percentage, better validates projects for
1567
build-related issues (such as dependency cycles), lets WebKit benefit
1568
from future improvements in XCBuild such as those coming from the
1569
underlying llbuild open source project, and prepares us for any other
1570
tools built for this new ecosystem.
1571
1572
Specific changes:
1573
1574
- Remove Xcode project and workspace settings that selected the Build
1575
system, allowing the default to take hold (which is currently the
1576
New build system).
1577
- Updated webkitdirs.pm with a terser check for Xcode version.
1578
- Update build-webkit and Makefile.shared to be explicit when using
1579
the old build system (no longer treat it as a default or fall-back
1580
configuration).
1581
- Update various xcconfig files similarly to treat the default as
1582
using the new build system.
1583
- Update various post-processing build steps to check for Xcode 11.4
1584
and to no longer treat the default as using the old build system.
1585
1586
* Makefile.shared:
1587
* WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
1588
1589
2020-04-08 Philippe Normand <pnormand@igalia.com>
1590
1591
[GTK][WPE] Release logs are unconditionally filling the journal
1593
1594
Reviewed by Carlos Alberto Lopez Perez.
1595
1596
Re-enable Systemd logging and make it opt-in via the WEBKIT_DEBUG environment variable.
1597
1598
* Source/cmake/OptionsGTK.cmake:
1599
* Source/cmake/OptionsWPE.cmake:
1600
1601
2020-04-07 Adrian Perez de Castro <aperez@igalia.com>
1602
1603
[GTK] CMake find module for GTK4
1605
1606
Reviewed by Don Olmstead.
1607
1608
Rename FindGTK3.cmake as FindGTK.cmake, make it provide a GTK::GTK imported target,
1609
and rewrite the logic to detect which targets (backends) have been built into GTK
1610
to use the "targets" pkg-config variable instead of checking for multiple pkg-config
1611
modules.
1612
1613
* Source/cmake/FindGDK3.cmake: Removed.
1614
* Source/cmake/FindGTK.cmake: Added.
1615
* Source/cmake/FindGTK3.cmake: Removed. This is now unused because the GTK::GTK target
1616
will transitively depend on GDK3 when using GTK3 and bring in the compiler and linker
1617
options automatically without needing to use a separate find module for GDK.
1618
* Source/cmake/OptionsGTK.cmake: Use the GTK::GTK imported target, change variables
1619
prefixed with GTK3_ to use the GTK_ prefix, and remove variables which are not needed
1620
anymore when using the target (GTK_LIBRARIES, GTK_INCLUDE_DIRS, GDK_LIBRARIES and
1621
GDK_INCLUDE_DIRS).
1622
1623
2020-04-06 Don Olmstead <don.olmstead@sony.com>
1624
1625
[CMake] Use WEBKIT_EXECUTABLE in DumpRenderTree
1627
1628
Reviewed by Fujii Hironori.
1629
1630
Add a DumpRenderTree derived sources directory.
1631
1632
* Source/cmake/WebKitFS.cmake:
1633
1634
2020-04-06 Ross Kirsling <ross.kirsling@sony.com>
1635
1636
Update minimum ICU version to 60.2
1638
1639
Reviewed by Darin Adler.
1640
1641
* Source/cmake/OptionsAppleWin.cmake:
1642
* Source/cmake/OptionsCommon.cmake:
1643
* Source/cmake/OptionsFTW.cmake:
1644
* Source/cmake/OptionsGTK.cmake:
1645
* Source/cmake/OptionsJSCOnly.cmake:
1646
* Source/cmake/OptionsMac.cmake:
1647
* Source/cmake/OptionsPlayStation.cmake:
1648
* Source/cmake/OptionsWPE.cmake:
1649
* Source/cmake/OptionsWinCairo.cmake:
1650
Indicate 60.2 as minimum version (as required by GTK for supporting Ubuntu 18.04 LTS).
1651
Also ensure that the C++ API is hidden for all platforms.
1652
1653
2020-04-05 Don Olmstead <don.olmstead@sony.com>
1654
1655
[CMake] Use WEBKIT_EXECUTABLE in MiniBrowser
1657
1658
Reviewed by Adrian Perez de Castro.
1659
1660
Add a MiniBrowser derived sources directory.
1661
1662
* Source/cmake/WebKitFS.cmake:
1663
1664
2020-04-05 Don Olmstead <don.olmstead@sony.com>
1665
1666
[CMake] Add WebKit::WebKit target
1668
1669
Reviewed by Fujii Hironori.
1670
1671
Use SET_AND_EXPOSE_TO_BUILD for the Plugin process since ENABLE(PLUGIN_PROCESS)
1672
is used in the source code.
1673
1674
* Source/cmake/OptionsGTK.cmake:
1675
1676
2020-04-02 Commit Queue <commit-queue@webkit.org>
1677
1678
Unreviewed, reverting r259390.
1680
1681
It broke WinCairo builds (Requested by fujihiro on #webkit).
1682
1683
Reverted changeset:
1684
1685
"Enable offlineasm debug annotations for GCC"
1688
1689
2020-04-01 Don Olmstead <don.olmstead@sony.com>
1690
1691
[GPUP][PlayStation] Enable GPU Process
1693
1694
Reviewed by Eric Carlson.
1695
1696
Enable GPU Process for development builds as an experimental feature.
1697
1698
* Source/cmake/OptionsPlayStation.cmake:
1699
1700
2020-04-01 Don Olmstead <don.olmstead@sony.com>
1701
1702
[PlayStation] Use OBJECT libraries for WebCore and PAL
1704
1705
Reviewed by Ross Kirsling.
1706
1707
When compiling WebCore in debug mode ranlib was having issues with the size of
1708
libWebCore.a. This is similar to what happened with Visual Studio and WinCairo.
1709
1710
Additionally hidden visibility defaults are added for the port.
1711
1712
* Source/cmake/OptionsPlayStation.cmake:
1713
1714
2020-03-30 Zan Dobersek <zdobersek@igalia.com>
1715
1716
[WPE] Can't create WebGL context after r259139
1718
1719
Reviewed by Carlos Garcia Campos.
1720
1721
* Source/cmake/OptionsWPE.cmake: Disable WebGL2 for WPE until
1722
the ANGLE-backed implementation can be used for it.
1723
1724
2020-03-26 Don Olmstead <don.olmstead@sony.com>
1725
1726
[MSVC] Remove experimental lambda processor usage
1728
1729
Reviewed by Fujii Hironori.
1730
1731
Remove /experimental:newLambdaProcessor since WebKit is no longer able to build
1732
with this setting as of Visual Studio 16.5.0.
1733
1734
* Source/cmake/OptionsMSVC.cmake:
1735
1736
2020-03-26 Fujii Hironori <Hironori.Fujii@sony.com>
1737
1738
[Win] lld-link: error: /manifestdependency: is not allowed in .drectve
1740
1741
Reviewed by Ross Kirsling.
1742
1743
* Source/cmake/WebKitMacros.cmake (WEBKIT_EXECUTABLE): Added /manifestdependency linkder option if WIN32.
1744
1745
2020-03-26 Commit Queue <commit-queue@webkit.org>
1746
1747
Unreviewed, reverting r259035.
1749
1750
broke windows layout-tests (Requested by aakashjain on
1751
#webkit).
1752
1753
Reverted changeset:
1754
1755
"[Win] lld-link: error: /manifestdependency: is not allowed in
1756
.drectve"
1759
1760
2020-03-25 Fujii Hironori <Hironori.Fujii@sony.com>
1761
1762
[Win] lld-link: error: /manifestdependency: is not allowed in .drectve
1764
1765
Reviewed by Ross Kirsling.
1766
1767
clang-cl doesn't support #pragma comment(linker, "/manifestdependency ..").
1768
Use an linker option instead.
1769
1770
* Source/cmake/WebKitMacros.cmake (WEBKIT_EXECUTABLE): Added -manifestdependency linkder option if WIN32.
1771
1772
2020-03-23 Michael Catanzaro <mcatanzaro@gnome.org>
1773
1774
[GTK] Allow distributors to brand user agent
1776
1777
Reviewed by Adrian Perez de Castro.
1778
1779
Add build option for inserting distributor branding into the user agent string.
1780
1781
* Source/cmake/OptionsGTK.cmake:
1782
* Source/cmake/OptionsWPE.cmake:
1783
1784
2020-03-23 Philippe Normand <pnormand@igalia.com>
1785
1786
[GTK][WPE] Disable systemd logging by default
1787
1788
Rubber-stamped by Žan Doberšek.
1789
1790
The logAlways logs are filling the journal way too fast currently,
1791
specially on EWS running tests and buildbots. For the time being
1792
disable logging until we figure out a better way to handle this.
1793
1794
* Source/cmake/OptionsGTK.cmake:
1795
* Source/cmake/OptionsWPE.cmake:
1796
1797
2020-03-21 Michael Catanzaro <mcatanzaro@gnome.org>
1798
1799
[GTK] Use ${PYTHON_EXECUTABLE} to run generate-gtkdoc
1801
1802
Reviewed by Konstantin Tokarev.
1803
1804
There's no need to rely on shebangs when executing python scripts from CMake. This should
1805
ensure the script always works even if the shebang does not.
1806
1807
* Source/cmake/GtkDoc.cmake:
1808
1809
2020-03-20 Justin Michaud <justin@justinmichaud.com>
1810
1811
Fix JSCOnly build without unified sources
1813
1814
Reviewed by Keith Miller.
1815
1816
* .gitignore:
1817
1818
2020-03-17 Philippe Normand <pnormand@igalia.com>
1819
1820
RELEASE_LOG should not be Cocoa specific
1822
1823
Reviewed by Konstantin Tokarev.
1824
1825
Add a Systemd Journald Logger implementation, enabled by default
1826
in the GTK and WPE ports. When this is enabled, release logs will
1827
be sent to the Systemd Journal. To retrieve media logs for
1828
instance, this command can be used:
1829
1830
$ journalctl WEBKIT_SUBSYSTEM=WebKitGTK WEBKIT_CHANNEL=Media
1831
1832
* Source/cmake/FindSystemd.cmake: Added.
1833
* Source/cmake/OptionsGTK.cmake:
1834
* Source/cmake/OptionsWPE.cmake:
1835
1836
2020-03-16 Keith Rollin <krollin@apple.com>
1837
1838
Remove support for WebKitSystemInterface
1841
1842
Reviewed by Brent Fulgham.
1843
1844
This project provided support for facilities that are now handled
1845
elsewhere and is no longer needed.
1846
1847
* .gitignore:
1848
* Source/PlatformWin.cmake:
1849
* Source/cmake/OptionsAppleWin.cmake:
1850
1851
2020-03-13 Sergio Villar Senin <svillar@igalia.com>
1852
1853
[WebXR] IDLs, stubs and build configuration for WPE
1855
1856
Reviewed by Dean Jackson.
1857
1858
Added a new compile flag for WEBXR which depends on WEBGL.
1859
1860
For the WPE port, added OpenXR detection and USE_OPENXR define to be
1861
used in the sources. It also adds a dependency between USE_OPENXR and
1862
ENABLE_WEBXR.
1863
1864
Largely based on previous work by Žan Doberšek.
1865
1866
* Source/cmake/FindOpenXR.cmake: Added.
1867
* Source/cmake/OptionsWPE.cmake: Added mandatory OpenXR dependency if
1868
WEBXR is enabled exposing USE_OPENXR to the build.
1869
* Source/cmake/WebKitFeatures.cmake: Added ENABLE_WEBXR.
1870
* Source/cmake/tools/vsprops/FeatureDefines.props: Ditto.
1871
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props: Ditto.
1872
1873
2020-03-14 Michael Catanzaro <mcatanzaro@gnome.org>
1874
1875
[CMake] Warning when ccache is not installed
1877
1878
Reviewed by Daniel Bates.
1879
1880
Change the warning when ccache is not installed to a status message. We shouldn't be
1881
printing warnings except when there is an actual problem.
1882
1883
* Source/cmake/WebKitCCache.cmake:
1884
1885
2020-03-13 Konstantin Tokarev <annulen@yandex.ru>
1886
1887
[CMake] Eleminate mismatches between Find* module names and variables they set
1889
1890
Reviewed by Michael Catanzaro.
1891
1892
* Source/cmake/FindLibseccomp.cmake:
1893
* Source/cmake/FindWPEBackend_fdo.cmake: Renamed from Source/cmake/FindWPEBackend-fdo.cmake.
1894
* Source/cmake/OptionsGTK.cmake:
1895
* Source/cmake/OptionsWPE.cmake:
1896
1897
2020-03-12 Konstantin Tokarev <annulen@yandex.ru>
1898
1899
[CMake] Find modules should find pkg-config with find_package(PkgConfig QUIET)
1901
1902
Reviewed by Michael Catanzaro.
1903
1904
* Source/cmake/FindATK.cmake:
1905
* Source/cmake/FindATKBridge.cmake:
1906
* Source/cmake/FindATSPI.cmake:
1907
* Source/cmake/FindCairo.cmake:
1908
* Source/cmake/FindCairoGL.cmake:
1909
* Source/cmake/FindEGL.cmake:
1910
* Source/cmake/FindEnchant.cmake:
1911
* Source/cmake/FindFontconfig.cmake:
1912
* Source/cmake/FindGDK3.cmake:
1913
* Source/cmake/FindGLIB.cmake:
1914
* Source/cmake/FindGObjectIntrospection.cmake:
1915
* Source/cmake/FindGStreamer.cmake:
1916
* Source/cmake/FindGTK3.cmake:
1917
* Source/cmake/FindGTKUnixPrint.cmake:
1918
* Source/cmake/FindHarfBuzz.cmake:
1919
* Source/cmake/FindLibEpoxy.cmake:
1920
* Source/cmake/FindLibNotify.cmake:
1921
* Source/cmake/FindLibPSL.cmake:
1922
* Source/cmake/FindLibSoup.cmake:
1923
* Source/cmake/FindLibseccomp.cmake:
1924
* Source/cmake/FindLibsecret.cmake:
1925
* Source/cmake/FindLibtasn1.cmake:
1926
* Source/cmake/FindLibxkbcommon.cmake:
1927
* Source/cmake/FindNghttp2.cmake:
1928
* Source/cmake/FindOpenGL.cmake:
1929
* Source/cmake/FindOpenGLES2.cmake:
1930
* Source/cmake/FindOpenJPEG.cmake:
1931
* Source/cmake/FindSQLite3.cmake:
1932
* Source/cmake/FindWOFF2Dec.cmake:
1933
* Source/cmake/FindWPE.cmake:
1934
* Source/cmake/FindWPEBackend-fdo.cmake:
1935
* Source/cmake/FindWayland.cmake:
1936
* Source/cmake/FindWaylandProtocols.cmake:
1937
* Source/cmake/FindWebP.cmake:
1938
1939
2020-03-12 Konstantin Tokarev <annulen@yandex.ru>
1940
1941
[CMake] Avoid calling FPHSA multiple time in FindPerlModules.cmake
1943
1944
Reviewed by Michael Catanzaro.
1945
1946
* Source/cmake/FindPerlModules.cmake:
1947
1948
2020-03-09 Don Olmstead <don.olmstead@sony.com>
1949
1950
Add script to search for feature defines
1952
1953
Reviewed by Konstantin Tokarev.
1954
1955
Sync feature defines with the FeatureDefines.xcconfig files present in the
1956
repository.
1957
1958
* Source/cmake/WebKitFeatures.cmake:
1959
1960
2020-03-09 Don Olmstead <don.olmstead@sony.com>
1961
1962
Remove obsolete feature flags
1964
1965
Reviewed by Alex Christensen.
1966
1967
Remove ENABLE_CSS_IMAGE_ORIENTATION, ENABLE_CUSTOM_SCHEME_HANDLER, ENABLE_FETCH_API,
1968
and ENABLE_WEB_PROCESS_SANDBOX from list of feature definitions since they're unused.
1969
Rename ENABLE_ACCESSIBILITY_STATIC_TREE to ENABLE_ACCESSIBILITY_ISOLATED_TREE.
1970
Sort the declarations within the block and always use Toggle instead of Enable within
1971
the descriptions.
1972
1973
* Source/cmake/OptionsFTW.cmake:
1974
* Source/cmake/OptionsMac.cmake:
1975
* Source/cmake/OptionsWin.cmake:
1976
* Source/cmake/WebKitFeatures.cmake:
1977
1978
2020-03-09 Antoine Quint <graouts@apple.com>
1979
1980
Remove the compile-time flag for Pointer Events
1983
1984
Reviewed by Dean Jackson.
1985
1986
* Source/cmake/OptionsGTK.cmake:
1987
* Source/cmake/OptionsMac.cmake:
1988
* Source/cmake/OptionsWPE.cmake:
1989
* Source/cmake/WebKitFeatures.cmake:
1990
1991
2020-03-03 Fujii Hironori <fujii.hironori@gmail.com>
1992
1993
[Curl] Add TLS debugging feature to log encryption keys
1996
1997
Reviewed by Don Olmstead.
1998
1999
* Source/cmake/OptionsPlayStation.cmake:
2000
* Source/cmake/OptionsWin.cmake:
2001
Changed the default ENABLE_TLS_DEBUG to OFF.
2002
2003
2020-02-28 Fujii Hironori <Hironori.Fujii@sony.com>
2004
2005
Unreviewed, rolling out r257565.
2006
2007
It broke WinCairo MiniBrowser
2008
2009
Reverted changeset:
2010
2011
"[CMake] Use WEBKIT_EXECUTABLE in MiniBrowser"
2014
2015
2020-02-28 Takashi Komori <Takashi.Komori@sony.com>
2016
2017
[Curl] Add TLS debugging feature to log encryption keys
2019
2020
Reviewed by Fujii Hironori.
2021
2022
This patch enables recording encryption keys on curl port.
2023
When you set key log file path to environment variable SSLKEYLOGFILE on curl port, network process writes encryption keys into the path.
2024
The key log file follows the NSS key log format and this feature is as same as Chrome and Firefox have.
2025
2027
2028
Test: No tests for this debugging feature. We have to check manually if the log file is generate.
2029
2030
* Source/cmake/OptionsPlayStation.cmake:
2031
* Source/cmake/OptionsWin.cmake:
2032
2033
2020-02-28 Keith Miller <keith_miller@apple.com>
2034
2035
Fix issue in cmake build for checking ccache
2037
2038
Reviewed by Carlos Alberto Lopez Perez.
2039
2040
If either of the "readlink" or "which" commands fail when looking for the ccache prefix
2041
the output variables will be empty and an invalid expression will be provided to CMake.
2042
e.g. we will get something like:
2043
if ("0" "EQUAL" "0" "AND" "1" "EQUAL" "0" "AND" "STREQUAL" "/usr/local/bin/ccache")
2044
2045
The fix is to wrap the output variables in the quotes when unboxing them in the if.
2046
2047
* Source/cmake/WebKitCCache.cmake:
2048
2049
2020-02-27 Per Arne Vollan <pvollan@apple.com>
2050
2051
[Win] Fix AppleWin build
2053
2054
Reviewed by Don Olmstead.
2055
2056
Set framework headers directory for AppleWin build.
2057
2058
* Source/cmake/target/TargetJavaScriptCore.cmake:
2059
* Source/cmake/target/TargetWTF.cmake:
2060
2061
2020-02-27 Don Olmstead <don.olmstead@sony.com>
2062
2063
[CMake] Add WebKit::PAL target
2065
2066
Reviewed by Michael Catanzaro.
2067
2068
Define WebKit::PAL target for Apple internal Windows builds.
2069
2070
* Source/cmake/target/PAL.cmake: Added.
2071
2072
2020-02-27 Don Olmstead <don.olmstead@sony.com>
2073
2074
[CMake] Use WEBKIT_EXECUTABLE in MiniBrowser
2076
2077
Reviewed by Adrian Perez de Castro.
2078
2079
Add a MiniBrowser derived sources directory.
2080
2081
* Source/cmake/WebKitFS.cmake:
2082
2083
2020-02-27 Adrian Perez de Castro <aperez@igalia.com>
2084
2085
[LFC][Integration] Build and enable for the WPE and GTK ports
2087
2088
Reviewed by Carlos Garcia Campos.
2089
2090
Enable LFC for the WPE and GTK ports.
2091
2092
* Source/cmake/OptionsGTK.cmake: LFC enabled as experimental feature.
2093
* Source/cmake/OptionsWPE.cmake: Ditto.
2094
2095
2020-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
2096
2097
Unreviewed. Bump GTK version numbers
2098
2099
* Source/cmake/OptionsGTK.cmake:
2100
2101
2020-02-25 Carlos Garcia Campos <cgarcia@igalia.com>
2102
2103
[GTK] Add support for rendering slider ticks
2105
2106
Reviewed by Adrian Perez de Castro.
2107
2108
Add a test case for sliders with ticks.
2109
2110
* ManualTests/gtk/theme.html:
2111
2112
2020-02-25 Carlos Garcia Campos <cgarcia@igalia.com>
2113
2114
[GTK] Stop using gtk foreign drawing API to style form controls
2116
2117
Reviewed by Adrian Perez de Castro.
2118
2119
Add a test case for datalist element.
2120
2121
* ManualTests/gtk/theme.html:
2122
2123
2020-02-24 Yusuke Suzuki <ysuzuki@apple.com>
2124
2125
Do not use target/icu.cmake
2127
2128
Reviewed by Don Olmstead.
2129
2130
icu.cmake is removed in r256731. Use find_package + ICU since WebKit offers find_package implementation
2131
which can find appropriate system-installed ICU.
2132
2133
* Source/cmake/OptionsFTW.cmake:
2134
* Source/cmake/OptionsJSCOnly.cmake:
2135
* Source/cmake/OptionsMac.cmake:
2136
2137
2020-02-24 Per Arne Vollan <pvollan@apple.com>
2138
2139
[Win] Fix AppleWin build.
2141
2142
Unreviewed build fix.
2143
2144
Allow a warning which happens when building with older SDKs.
2145
2146
* Source/cmake/OptionsMSVC.cmake:
2147
2148
2020-02-20 Carlos Alberto Lopez Perez <clopez@igalia.com>
2149
2150
[GTK][WPE] Not set ccache compiler prefix if ccache its already the compiler binary in path.
2152
2153
Reviewed by Tim Horton.
2154
2155
Detect if the compiler binary already points to the ccache binary and in that case don't
2156
set the ccache compiler prefix. Also export CCACHE_SLOPPINESS=time_macros if its not
2157
defined to other thing on the environment and add a some logging of related messages.
2158
2159
* Source/cmake/WebKitCCache.cmake:
2160
2161
2020-02-20 Don Olmstead <don.olmstead@sony.com>
2162
2163
[CMake] Add WebP targets
2165
2166
Reviewed by Adrian Perez de Castro.
2167
2168
Modernize the FindWebP.cmake module so it creates targets that can be
2169
referenced rather than using WEBP_LIBRARIES and WEBP_INCLUDE_DIRS.
2170
Also making demux a component within the module, and allowing alternate names
2171
for the library to be set by the platform.
2172
2173
* Source/cmake/FindWebP.cmake:
2174
* Source/cmake/OptionsFTW.cmake:
2175
* Source/cmake/OptionsGTK.cmake:
2176
* Source/cmake/OptionsPlayStation.cmake:
2177
* Source/cmake/OptionsWPE.cmake:
2178
* Source/cmake/OptionsWinCairo.cmake:
2179
2180
2020-02-20 Don Olmstead <don.olmstead@sony.com>
2181
2182
[CMake] Add WPE::libwpe target
2184
2185
Reviewed by Adrian Perez de Castro.
2186
2187
Redo the WPE find module to export a target.
2188
2189
* Source/cmake/FindWPE.cmake:
2190
2191
2020-02-19 Philippe Normand <pnormand@igalia.com>
2192
2193
[GTK][WPE] Set ccache as compiler launcher, add opt-in sccache support
2195
2196
Reviewed by Carlos Alberto Lopez Perez.
2197
2198
This change allows for more granular control over the compiler
2199
launcher configuration. The build host should no longer need to
2200
set ccache symbolic links. Additionally optional support for
2201
sccache is added, enabled when the WEBKIT_USE_SCCACHE environment
2202
variable is set to YES.
2203
2204
* Source/cmake/WebKitCCache.cmake:
2205
2206
2020-02-17 Don Olmstead <don.olmstead@sony.com>
2207
2208
[CMake] Use builtin targets
2210
2211
Reviewed by Darin Adler.
2212
2213
Add WebKitFindPackage.cmake which wraps CMake's find_package to provide targets
2214
for common libraries.
2215
2216
Rationale:
2217
1. There are a number of libraries which are found using CMake's internal Find modules
2218
that contain targets but not all of them are available in the minimum version of
2219
CMake we support, 3.10.
2220
2. Updating to CMake 3.12 or higher is not possible due to the WebKit GTK's support
2221
policy. It looks like the next time we can bump the version is spring 2021.
2222
3. Apple builds, both Mac and Windows, have libraries that won't be found using the
2223
stock CMake modules. AppleWin also has internal builds where all libraries have
2224
a DEBUG_SUFFIX of _debug that would not be picked up.
2225
2226
In the implementation of find_package any Apple specific requirements are dealt with
2227
and the expected CMake values are populated. For all other cases CMake's original
2228
find_package is called so there's no behavior change. Afterwards if there is a library
2229
that has a target but the target was not created it is created from the definitions
2230
that are present from the find module at CMake 3.10.
2231
2232
This makes it so all ports consistently have targets across all versions of CMake
2233
above the current minimum.
2234
2235
* Source/cmake/OptionsAppleWin.cmake:
2236
* Source/cmake/OptionsPlayStation.cmake:
2237
* Source/cmake/WebKitCommon.cmake:
2238
* Source/cmake/WebKitFindPackage.cmake: Added.
2239
* Source/cmake/target/icu.cmake: Removed.
2240
2241
2020-02-14 Don Olmstead <don.olmstead@sony.com>
2242
2243
[CMake] Add Fontconfig::Fontconfig target
2245
2246
Reviewed by Adrian Perez de Castro.
2247
2248
Redo the Fontconfig find module to export a target.
2249
2250
* Source/cmake/FindFontconfig.cmake:
2251
2252
2020-02-10 Michael Catanzaro <mcatanzaro@gnome.org>
2253
2254
[CMake] Prepend -Wno-noexcept-type only to global CXX flags
2256
2257
Reviewed by Adrian Perez de Castro.
2258
2259
-Wno-noexcept-type is a C++-specific flag that should not be passed to the C compiler. This
2260
causes a warning spam in GCC 10.
2261
2262
* Source/cmake/WebKitCompilerFlags.cmake:
2263
2264
2020-02-10 Enrique Ocaña González <eocanha@igalia.com>
2265
2266
[GTK] Mouse pointer no longer hidden during fullscreen video playback
2268
2269
Reviewed by Adrian Perez de Castro.
2270
2271
Enabled the CURSOR_VISIBILITY feature on the GTK port.
2272
2273
* Source/cmake/OptionsGTK.cmake:
2274
2275
2020-02-06 Carlos Garcia Campos <cgarcia@igalia.com>
2276
2277
Unreviewed. [GTK] Use radio buttons instead of a combo for text direction in theme test
2278
2279
* ManualTests/gtk/theme.html:
2280
2281
2020-02-05 Don Olmstead <don.olmstead@sony.com>
2282
2283
[PlayStation] Build a shared JavaScriptCore
2285
2286
Reviewed by Fujii Hironori.
2287
2288
Compile bmalloc and WTF as OBJECT libraries that are then linked into a shared
2289
JavaScriptCore. Using OBJECT libraries is a modern CMake way to have the behavior
2290
of --whole-archive.
2291
2292
* Source/cmake/OptionsPlayStation.cmake:
2293
2294
2020-02-04 Don Olmstead <don.olmstead@sony.com>
2295
2296
[PlayStation] Enable TestWebKit
2298
2299
Reviewed by Ross Kirsling.
2300
2301
Turn back on API tests.
2302
2303
* Source/cmake/OptionsPlayStation.cmake:
2304
2305
2020-02-04 Ross Kirsling <ross.kirsling@sony.com>
2306
2307
[CMake] Add Cairo::Cairo target
2309
2310
Reviewed by Konstantin Tokarev.
2311
2312
* Source/cmake/FindCairo.cmake:
2313
* Source/cmake/OptionsPlayStation.cmake:
2314
2315
2020-02-02 Ting-Wei Lan <lantw44@gmail.com>
2316
2317
[CMake] Use opj_config.h to find OpenJPEG include directory
2319
2320
Reviewed by Konstantin Tokarev.
2321
2322
WebKit needs OpenJPEG 2.2.0 or later versions, but it is possible for a
2323
system to have both OpenJPEG 1 and OpenJPEG 2 installed. However, some
2324
distributions do not put OpenJPEG 1 under a versioned directory and
2325
put its header file directly under /usr/include or /usr/local/include.
2326
Since CMake prefers its prefixes to paths given in HINTS, it is possible
2327
that openjpeg.h from OpenJPEG 1 is found before the one from OpenJPEG 2,
2328
causing WebKit to fail to build because of using the wrong header file.
2329
2330
Resolve the problem by checking opj_config.h instead of openjpeg.h.
2331
OpenJPEG 1.5 does not have opj_config.h, so only OpenJPEG 2 can be
2332
found. This also makes it consistent with the code below which already
2333
uses opj_config.h.
2334
2335
* Source/cmake/FindOpenJPEG.cmake:
2336
2337
2020-01-31 Don Olmstead <don.olmstead@sony.com>
2338
2339
[CMake] Add _PRIVATE_LIBRARIES to framework
2341
2342
Reviewed by Konstantin Tokarev.
2343
2344
Use _PRIVATE_LIBRARIES to when creating a WebKit target to specify privately linked
2345
libraries. This fits with the current conventions in WebKit for CMake libraries and
2346
prevents appending to _LIBRARIES with a visibility modifier which likely has
2347
unintended consequences.
2348
2349
* Source/cmake/WebKitMacros.cmake:
2350
2351
2020-01-30 Ross Kirsling <ross.kirsling@sony.com>
2352
2353
[CMake] Add SQLite::SQLite3 target
2355
2356
Reviewed by Don Olmstead.
2357
2358
* Source/cmake/FindSQLite3.cmake: Added.
2359
* Source/cmake/FindSqlite.cmake: Removed.
2360
* Source/cmake/OptionsAppleWin.cmake: Actually use find_package.
2361
* Source/cmake/OptionsFTW.cmake: Sqlite -> SQLite3
2362
* Source/cmake/OptionsGTK.cmake: Sqlite -> SQLite3
2363
* Source/cmake/OptionsPlayStation.cmake: Sqlite -> SQLite3
2364
* Source/cmake/OptionsWPE.cmake: Sqlite -> SQLite3
2365
* Source/cmake/OptionsWinCairo.cmake: Sqlite -> SQLite3
2366
2367
2020-01-29 Fujii Hironori <Hironori.Fujii@sony.com>
2368
2369
[MSVC] Add /experimental:newLambdaProcessor switch for better C++ conformance
2371
2372
Reviewed by Alex Christensen.
2373
2374
MSVC has a bug of 'this' in lambda captures. It has caused
2375
compilation errors repeatedly.
2376
2377
* Source/cmake/OptionsMSVC.cmake: Added /experimental:newLambdaProcessor switch.
2378
2379
2020-01-29 Stephan Szabo <stephan.szabo@sony.com>
2380
2381
[PlayStation] Allow setting CMAKE_IGNORE_PATH from environment for bots
2383
2384
Reviewed by Don Olmstead.
2385
2386
* Source/cmake/OptionsPlayStation.cmake:
2387
2388
2020-01-28 Carlos Garcia Campos <cgarcia@igalia.com>
2389
2390
[GTK] Should use light theme unless website declares support for dark themes in color-schemes property
2392
2393
Reviewed by Michael Catanzaro.
2394
2395
Do not define HAVE_OS_DARK_MODE_SUPPORT.
2396
2397
* Source/cmake/OptionsGTK.cmake:
2398
2399
2020-01-28 Don Olmstead <don.olmstead@sony.com>
2400
2401
[LFC][Integration] Build and enable on Windows
2403
2404
Reviewed by Darin Adler.
2405
2406
Enable LFC for Windows.
2407
2408
* Source/cmake/OptionsWin.cmake:
2409
2410
2020-01-24 Sergio Villar Senin <svillar@igalia.com>
2411
2412
Remove WebVR from the tree
2414
2415
Reviewed by Darin Adler.
2416
2417
Removed WebVR and OpenVR build options for GTK and WPE ports.
2418
2419
* Source/CMakeLists.txt:
2420
* Source/cmake/OptionsGTK.cmake:
2421
* Source/cmake/OptionsWPE.cmake:
2422
2423
2020-01-22 Don Olmstead <don.olmstead@sony.com>
2424
2425
[OpenSSL] Add stubs and build for Web Crypto
2427
2428
Reviewed by Jiewen Tan.
2429
2430
Enable Web Crypto as an experiment for WinCairo and PlayStation. Add the USE_OPENSSL
2431
definition to platforms using OpenSSL.
2432
2433
* Source/cmake/OptionsFTW.cmake:
2434
* Source/cmake/OptionsPlayStation.cmake:
2435
* Source/cmake/OptionsWin.cmake:
2436
* Source/cmake/OptionsWinCairo.cmake:
2437
2438
2020-01-21 Rob Buis <rbuis@igalia.com>
2439
2440
Add build flag for stale-while-revalidate
2442
2443
Reviewed by Youenn Fablet.
2444
2445
Add build flag for stale-while-revalidate to make it
2446
independent from the NETWORK_CACHE_SPECULATIVE_REVALIDATION build flag.
2447
2448
* Source/cmake/OptionsFTW.cmake:
2449
* Source/cmake/OptionsMac.cmake:
2450
* Source/cmake/WebKitFeatures.cmake:
2451
2452
2020-01-20 Adrian Perez de Castro <aperez@igalia.com>
2453
2454
Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.27.4 release
2455
2456
* Source/cmake/OptionsWPE.cmake: Bump version numbers.
2457
2458
2020-01-16 Don Olmstead <don.olmstead@sony.com>
2459
2460
[PlayStation] Enable WebKit
2462
2463
Reviewed by Ross Kirsling.
2464
2465
Turn on build WebKit for the PlayStation port. Temporarily turn off API tests
2466
until the WebKit tests are added.
2467
2468
* Source/cmake/OptionsPlayStation.cmake:
2469
2470
2020-01-16 Philippe Normand <philn@igalia.com>
2471
2472
[GStreamer][WPE] Client-side video rendering support
2474
2475
Reviewed by Xabier Rodriguez-Calvar.
2476
2477
Add a new compile-time option to enable client-side video
2478
rendering support. With this feature enabled the UIProcess will be
2479
in charge of positioning and rendering video surfaces, thanks to
2480
the WPEBackend-FDO video-plane-display-dmabuf protocol.
2481
2482
* Source/cmake/GStreamerDefinitions.cmake: Add
2483
USE_WPE_VIDEO_PLANE_DISPLAY_DMABUF CMake option, disabled by
2484
default.
2485
* Source/cmake/GStreamerDependencies.cmake: This new option
2486
depends on GStreamer-GL.
2487
* Source/cmake/OptionsWPE.cmake: It depends also on the presence
2488
of the WPEBackend-FDO library.
2489
2490
2020-01-16 Per Arne Vollan <pvollan@apple.com>
2491
2492
[Win] Fix AppleWin build
2494
2495
Reviewed by Brent Fulgham.
2496
2497
This patch has been created by don.olmstead@sony.com and pvollan@apple.com. Add target files for WTF and
2498
JavaScriptCore. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
2499
keywork ALL when adding custom target for copying files.
2500
2501
* Source/cmake/TargetJavaScriptCore.cmake: Added.
2502
* Source/cmake/TargetWTF.cmake: Added.
2503
* Source/cmake/WebKitMacros.cmake:
2504
2505
2020-01-10 Dean Jackson <dino@apple.com>
2506
2507
[WebGL] Clarify USE_OPENGL_ES_3
2510
2511
Reviewed by Simon Fraser.
2512
2513
Make it clear that USE_ANGLE | USE_OPENGL | USE_OPENGL_ES are exclusive,
2514
and that the availability of OpenGL ES 3 is a separate query.
2515
2516
* Source/cmake/OptionsFTW.cmake:
2517
* Source/cmake/OptionsWPE.cmake:
2518
* Source/cmake/OptionsWinCairo.cmake:
2519
2520
2020-01-10 Carlos Garcia Campos <cgarcia@igalia.com>
2521
2522
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.27.4 release
2523
2524
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
2525
2526
2020-01-09 Commit Queue <commit-queue@webkit.org>
2527
2528
Unreviewed, rolling out r254234.
2530
2531
Broke production builds (Requested by ap on #webkit).
2532
2533
Reverted changeset:
2534
2535
"build-jsc should invoke make instead of calling xcodebuild
2536
directly"
2539
2540
2020-01-08 Saam Barati <sbarati@apple.com>
2541
2542
build-jsc should invoke make instead of calling xcodebuild directly
2544
2545
Reviewed by Keith Miller.
2546
2547
* Makefile.shared:
2548
2549
2020-01-08 Saam Barati <sbarati@apple.com>
2550
2551
build-jsc should invoke make instead of calling xcodebuild directly
2553
2554
Reviewed by Keith Miller.
2555
2556
* Makefile.shared:
2557
2558
2020-01-08 Mark Lam <mark.lam@apple.com>
2559
2560
Rename testing build configuration to release+assert, and add new testing build configuration.
2562
2563
Reviewed by Yusuke Suzuki.
2564
2565
"make release-assert" builds a release build with ASSERT_ENABLED=1.
2566
"make testing" builds a debug build with clang optimization level forced to -O3.
2567
2568
* Makefile:
2569
* Makefile.shared:
2570
* Source/Makefile:
2571
2572
2020-01-08 Keith Miller <keith_miller@apple.com>
2573
2574
Fix testing Makefile to inherit preprocessor definitions
2576
2577
Reviewed by Mark Lam.
2578
2579
* Makefile.shared:
2580
2581
2020-01-07 Keith Miller <keith_miller@apple.com>
2582
2583
Add a testing target to make that is release + assertions
2585
2586
Reviewed by Mark Lam.
2587
2588
* Makefile:
2589
* Makefile.shared:
2590
* Source/Makefile:
2591
2592
2020-01-07 Carlos Garcia Campos <cgarcia@igalia.com>
2593
2594
[GTK][WPE] Add API to set purpose and hints of active editable element to input methods
2596
2597
Reviewed by Žan Doberšek.
2598
2599
Add ENABLE_AUTOCAPITALIZE build flag. It's private and disabled by default, enabled in GTK and WPE ports.
2600
2601
* Source/cmake/OptionsGTK.cmake:
2602
* Source/cmake/OptionsWPE.cmake:
2603
* Source/cmake/WebKitFeatures.cmake:
2604
2605
2020-01-06 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
2606
2607
[PlayStation] Update port cmake
2609
2610
Reviewed by Don Olmstead.
2611
2612
Define C/CXX macro BPLATFORM_PLAYSTATION.
2613
2614
Find HarfBuzz::ICU component to fix cmake errors.
2615
2616
Make the WebCore and WebKit builds optional.
2617
2618
* Source/cmake/OptionsPlayStation.cmake:
2619
2620
2020-01-06 Don Olmstead <don.olmstead@sony.com>
2621
2622
Rename GraphicsContext3D to GraphicsContextGL
2625
2626
Reviewed by Ross Kirsling.
2627
2628
Fix the build after r254064 on Windows and PlayStation.
2629
2630
Add USE_OPENGL_ES_3 to Windows and WPE builds to simplify the Platform checks
2631
for GL functions available in OpenGL ES 3.0+. Expose additional USE macros for
2632
Windows builds to remove Platform.h entries around ENABLE(WEBGL).
2633
2634
* Source/cmake/OptionsFTW.cmake:
2635
* Source/cmake/OptionsWPE.cmake:
2636
* Source/cmake/OptionsWinCairo.cmake:
2637
2638
2020-01-05 Dean Jackson <dino@apple.com>
2639
2640
Rename GraphicsContext3D to GraphicsContextGL
2643
2644
Reviewed by Sam Weinig.
2645
2646
Rename all the GraphicsContext3D things to GraphicsContextGL
2647
(includes Extensions3D and GRAPHICS_CONTEXT_3D).
2648
2649
GraphicsContext3DBase now becomes GraphicsContextGL.
2650
GraphicsContext3D is now GraphicsContextGLOpenGL (since it represents
2651
the OpenGL implementation of the API).
2652
2653
* Source/CMakeLists.txt:
2654
* Source/cmake/OptionsFTW.cmake:
2655
* Source/cmake/OptionsGTK.cmake:
2656
* Source/cmake/OptionsMac.cmake:
2657
* Source/cmake/OptionsPlayStation.cmake:
2658
* Source/cmake/OptionsWPE.cmake:
2659
* Source/cmake/OptionsWinCairo.cmake:
2660
2661
2020-01-03 Simon Fraser <si