Revision control

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