1 2021-10-20 Kimmo Kinnunen <kkinnunen@apple.com>
3 Add ObjC as supported .clang-format language
4 https://bugs.webkit.org/show_bug.cgi?id=230401
6 Reviewed by Jonathan Bedard.
8 Add ObjC and change few properties useful
13 2021-10-20 Carlos Garcia Campos <cgarcia@igalia.com>
15 [WPE] Reenable -fvisibility=hidden and -fvisibility-inlines-hidden
16 https://bugs.webkit.org/show_bug.cgi?id=222860
18 Reviewed by Don Olmstead.
20 * Source/cmake/OptionsWPE.cmake:
22 2021-10-19 Ross Kirsling <ross.kirsling@sony.com>
24 [CMake] Align OptionsMac with Xcode build
25 https://bugs.webkit.org/show_bug.cgi?id=231982
27 Reviewed by Don Olmstead.
29 * Source/cmake/OptionsMac.cmake:
30 Ensure that the listed options (1) are not redundant with the defaults in WebKitFeatures.cmake and
31 (2) match the options for the Xcode build as closely as possible.
33 * Source/cmake/WebKitFeatures.cmake:
34 Remove an outdated feature, ENABLE_APPLE_PAY_SESSION_V9,
35 and let ENABLE_MAC_GESTURE_EVENTS be handled by PlatformEnable, since it depends on USE_APPLE_INTERNAL_SDK.
37 2021-10-19 Tyler Wilcock <tyler_w@apple.com>
39 Add AX team GitHub usernames to contributors.json
40 https://bugs.webkit.org/show_bug.cgi?id=231966
42 Reviewed by Chris Fleizach.
44 * metadata/contributors.json:
45 Add Chris Fleizach's and Andres Gonzalez's GitHub usernames. Add Tyler
46 Wilcock as a contributor. Run validate-committer-lists --canonicalize
47 to fix some style issues.
49 2021-10-19 Sergio Villar Senin <svillar@igalia.com>
51 Add my github username to contributors.json
55 * metadata/contributors.json:
57 2021-10-18 Ms2ger <Ms2ger@igalia.com>
59 Add my github username to contributors.json
60 https://bugs.webkit.org/show_bug.cgi?id=231893
64 * metadata/contributors.json:
66 2021-10-18 Rob Buis <rbuis@igalia.com>
68 Add my github username to contributors.json
69 https://bugs.webkit.org/show_bug.cgi?id=231889
71 Reviewed by Manuel Rego Casasnovas.
73 * metadata/contributors.json:
75 2021-10-18 Xan Lopez <xan@igalia.com>
77 Add my github username to contributors.json
78 https://bugs.webkit.org/show_bug.cgi?id=231887
82 * metadata/contributors.json: add my github username.
84 2021-10-18 Miguel Gomez <magomez@igalia.com>
86 Add my github username to contributors.json
90 * metadata/contributors.json:
92 2021-10-16 Tetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>
94 Add github username for tetsuharuohzeki to contributors.json
95 https://bugs.webkit.org/show_bug.cgi?id=231864
97 Reviewed by Fujii Hironori.
99 * metadata/contributors.json:
101 2021-10-16 Angelos Oikonomopoulos <angelos@igalia.com>
103 Add my github username to contributors.json
104 https://bugs.webkit.org/show_bug.cgi?id=231861
108 * metadata/contributors.json:
110 2021-10-16 Caitlin Potter <caitp@igalia.com>
112 Add github username for myself
113 https://bugs.webkit.org/show_bug.cgi?id=231857
115 Reviewed by Yusuke Suzuki.
117 * metadata/contributors.json:
119 2021-10-15 Basuke Suzuki <basuke.suzuki@sony.com>
121 Add flag to turn off Iso heap
122 https://bugs.webkit.org/show_bug.cgi?id=231823
124 Reviewed by Yusuke Suzuki.
126 Added USE_ISO_MALLOC feature flags which is on by default for most platforms.
128 * Source/cmake/OptionsPlayStation.cmake:
129 * Source/cmake/WebKitFeatures.cmake:
131 2021-10-15 Ross Kirsling <ross.kirsling@sony.com>
133 Realize Mac CMake build of WebCore and WebKit
134 https://bugs.webkit.org/show_bug.cgi?id=231749
136 Reviewed by Alex Christensen.
138 * Source/cmake/OptionsMac.cmake:
139 * Source/cmake/WebKitMacros.cmake:
141 2021-10-15 Jonathan Bedard <jbedard@apple.com>
143 Add github username for Dewei Zhu
147 * metadata/contributors.json:
149 2021-10-15 Andres Gonzalez <andresg_22@apple.com>
151 Change Andres Gonzalez status to reviewer.
152 https://bugs.webkit.org/show_bug.cgi?id=231738
154 Reviewed by Chris Fleizach.
156 * metadata/contributors.json:
158 2021-10-15 Carlos Garcia Campos <cgarcia@igalia.com>
160 Unreviewed. Fix GTK build with ubuntu 18.04
162 GLib version bump in r284152 was too high for ubuntu 18.04 even though it followed our dependencies policy.
164 * Source/cmake/OptionsGTK.cmake:
165 * Source/cmake/OptionsWPE.cmake:
167 2021-10-14 Ali Juma <ajuma@chromium.org>
169 Add my GitHub username to contributors.json
173 * metadata/contributors.json:
175 2021-10-14 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
177 Add my GitHub username to contributors.json
181 * metadata/contributors.json:
183 2021-10-14 Commit Queue <commit-queue@webkit.org>
185 Unreviewed, reverting r283878.
186 https://bugs.webkit.org/show_bug.cgi?id=231735
192 "[WPE] Reenable -fvisibility=hidden and -fvisibility-inlines-
194 https://bugs.webkit.org/show_bug.cgi?id=222860
195 https://commits.webkit.org/r283878
197 2021-10-14 Carlos Garcia Campos <cgarcia@igalia.com>
199 [GTK][WPE] Bump GLib version to 2.58.3
200 https://bugs.webkit.org/show_bug.cgi?id=231726
202 Reviewed by Philippe Normand.
204 * Source/cmake/OptionsGTK.cmake:
205 * Source/cmake/OptionsWPE.cmake:
207 2021-10-14 Enrique Ocaña González <eocanha@igalia.com>
209 [contributors.json] Add eocanha github account and canonicalize
210 https://bugs.webkit.org/show_bug.cgi?id=231729
214 Added eocanha github user to contributors.json and canonicalize the file to make the style checker happy.
216 * metadata/contributors.json:
218 2021-10-13 Tim Horton <timothy_horton@apple.com>
220 Add my GitHub username to contributors.json
224 * metadata/contributors.json:
226 2021-10-13 Carlos Garcia Campos <cgarcia@igalia.com>
228 Add my github username to contributors.json
232 * metadata/contributors.json:
234 2021-10-12 Alex Christensen <achristensen@webkit.org>
236 Add webpushd executable
237 https://bugs.webkit.org/show_bug.cgi?id=231650
239 Reviewed by Brady Eidson.
241 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
243 2021-10-12 Basuke Suzuki <basuke.suzuki@sony.com>
245 [PlayStation] Enable RemoteInspector by default
246 https://bugs.webkit.org/show_bug.cgi?id=231599
248 Reviewed by Fujii Hironori.
250 It was treated as experimental feature but we've depended on this feature in various situation.
252 * Source/cmake/OptionsPlayStation.cmake:
254 2021-10-12 Philippe Normand <pnormand@igalia.com>
256 Add my github username to contributors.json
260 * metadata/contributors.json:
262 2021-10-11 Patrick Griffis <pgriffis@igalia.com>
264 Add my github username to contributors.json
268 * metadata/contributors.json:
270 2021-10-11 Sam Weinig <weinig@apple.com>
272 Add my github username and keep my expertise where it is because, while not up to date, it is fun
276 * metadata/contributors.json:
278 2021-10-11 Theresa O'Connor <hober@apple.com>
280 Various updates to my contributors.json entry.
284 * metadata/contributors.json:
286 2021-10-11 Devin Rousso <drousso@apple.com>
288 Add my github and update my expertise
292 * metadata/contributors.json:
294 2021-10-10 Noam Rosenthal <noam@webkit.org>
296 Add my github username to contributors.json
300 * metadata/contributors.json:
302 2021-10-11 Emilio Cobos Álvarez <emilio@crisal.io>
304 Add my GitHub username to contributors.json.
305 https://bugs.webkit.org/show_bug.cgi?id=231507
309 * metadata/contributors.json:
311 2021-10-11 Claudio Saavedra <csaavedra@igalia.com>
313 Add my github username to contributors.json
317 * metadata/contributors.json:
319 2021-10-11 Diego Pino Garcia <dpino@igalia.com>
321 Add GitHub username for Diego Pino Garcia
325 * metadata/contributors.json:
327 2021-10-10 Pablo Saavedra <psaavedra@igalia.com>
329 Add GitHub username for Pablo Saavedra
333 * metadata/contributors.json:
335 2021-10-10 Xabier Rodriguez Calvar <calvaris@igalia.com>
337 Unreviewed. Add GitHub username for Xabier Rodriguez Calvar
339 * metadata/contributors.json:
341 2021-10-10 Cameron McCormack <heycam@apple.com>
343 Add GitHub account to contributors.json
344 https://bugs.webkit.org/show_bug.cgi?id=231497
348 * metadata/contributors.json:
350 2021-10-10 Michael Catanzaro <mcatanzaro@gnome.org>
352 [WPE] Reenable -fvisibility=hidden and -fvisibility-inlines-hidden
353 https://bugs.webkit.org/show_bug.cgi?id=222860
355 Reviewed by Philippe Normand.
357 * Source/cmake/OptionsWPE.cmake:
359 2021-10-10 Adrian Perez de Castro <aperez@igalia.com>
361 Unreviewed. Add GitHub username for Adrian Perez de Castro
363 While at it, run "validate-committer-lists --canonicalize".
365 * metadata/contributors.json:
367 2021-10-09 Alberto Garcia <berto@igalia.com>
369 Add GitHub account to contributors.json
373 * metadata/contributors.json:
375 2021-10-09 Jean-Yves Avenard <jya@apple.com>
377 Unreviewed, add my GitHub username
379 * metadata/contributors.json:
381 2021-10-09 Manuel Rego Casasnovas <rego@igalia.com>
383 Add GitHub account to contributors.json and update expertise field
384 https://bugs.webkit.org/show_bug.cgi?id=231476
388 * metadata/contributors.json:
390 2021-10-08 Joonghun Park <jh718.park@samsung.com>
392 Unreviewed. Add github username for Joonghun Park.
394 * metadata/contributors.json:
396 2021-10-08 Jonathan Bedard <jbedard@apple.com>
398 Add github username for Michael Catanzaro
402 * metadata/contributors.json:
404 2021-10-08 Kenneth Russell <kbr@chromium.org>
406 Add github username for kbr
407 https://bugs.webkit.org/show_bug.cgi?id=231462
409 Reviewed by Dean Jackson.
411 * metadata/contributors.json:
413 2021-10-08 Ross Kirsling <ross.kirsling@sony.com>
415 Unreviewed, add GitHub usernames for Sony contributors.
417 * metadata/contributors.json:
419 2021-10-08 Yusuke Suzuki <ysuzuki@apple.com>
421 Unreviewed, add my GitHub username
423 * metadata/contributors.json:
425 2021-10-08 Tim Nguyen <ntim@apple.com>
427 [contributors.json] Add more Github usernames
428 https://bugs.webkit.org/show_bug.cgi?id=231453
430 Reviewed by Jonathan Bedard.
432 * metadata/contributors.json:
434 2021-10-08 Jonathan Bedard <jbedard@apple.com>
436 [contributors.json] Support GitHub usernames
437 https://bugs.webkit.org/show_bug.cgi?id=231400
438 <rdar://problem/84005266>
440 Reviewed by Dewei Zhu.
442 * metadata/contributors.json: Add some GitHub usernames.
444 2021-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
446 [GTK] Reenable -fvisibility=hidden
447 https://bugs.webkit.org/show_bug.cgi?id=181916
449 Reviewed by Michael Catanzaro.
451 * Source/cmake/OptionsGTK.cmake:
453 2021-10-06 Chris Dumez <cdumez@apple.com>
455 Unreviewed, mark Kimmo Kinnunen as reviewer in the right contributors.json file this time.
457 * metadata/contributors.json:
459 2021-10-03 Basuke Suzuki <basuke.suzuki@sony.com>
461 Enable release log to stderr
462 https://bugs.webkit.org/show_bug.cgi?id=230725
463 <rdar://problem/83740529>
465 Reviewed by Michael Catanzaro.
467 Introduced new flags, USE_LOG_STDERR for release logging to stderr.
469 * Source/cmake/WebKitFeatures.cmake:
471 2021-10-02 Philippe Normand <pnormand@igalia.com>
473 [GTK][WPE] Enable bwrap launcher build on bots
474 https://bugs.webkit.org/show_bug.cgi?id=230969
476 Reviewed by Michael Catanzaro.
478 * Source/cmake/OptionsGTK.cmake:
479 * Source/cmake/OptionsWPE.cmake:
481 2021-09-30 Yusuke Suzuki <ysuzuki@apple.com>
483 Upgrade GCC requirement to 8.3.0
484 https://bugs.webkit.org/show_bug.cgi?id=231042
486 Reviewed by Darin Adler.
488 Based on the roadmap[1], we upgrade GCC requirement to 8.3.0, which is default GCC in Debian one-old-stable (buster) right now.
489 This paves the way to enabling some of useful C++20 features, e.g. default initializer for bitfields.
491 [1]: https://trac.webkit.org/wiki/WebKitGTK/GCCRequirement
493 * Source/cmake/WebKitCommon.cmake:
495 2021-09-29 Kimmo Kinnunen <kkinnunen@apple.com>
497 MediaStream canvas.captureStream() fails for WebGL
498 https://bugs.webkit.org/show_bug.cgi?id=230613
501 Reviewed by Youenn Fablet.
503 Add a manual test to interact with media stream
504 captureStream() behavior until the implementation is
507 * ManualTests/mediastream/mediastream-canvas-to-video.html: Added.
509 2021-09-28 Carlos Garcia Campos <cgarcia@igalia.com>
511 [GTK][WPE] Bump libsoup3 version to 3.0.0
512 https://bugs.webkit.org/show_bug.cgi?id=230601
514 Reviewed by Philippe Normand.
516 * Source/cmake/OptionsGTK.cmake:
517 * Source/cmake/OptionsWPE.cmake:
519 2021-09-23 Fujii Hironori <Hironori.Fujii@sony.com>
521 [MSVC] The "/Zc:lambda" switch is recommended to use the new lambda processor.
522 https://bugs.webkit.org/show_bug.cgi?id=226070
524 Reviewed by Ross Kirsling.
526 Visual Studio 16.5 added the "/Zc:lambda" switch for the better
527 C++ conformance, but it had a compiler crashing bug. Visual Studio
530 * Source/cmake/OptionsMSVC.cmake: Added /Zc:lambda for Visual
531 Studio 16.9 or later. I will remove the MSVC_VERSION check after
532 AppleWin bots will upgrade MSVC.
534 2021-09-17 Angelos Oikonomopoulos <angelos@igalia.com>
536 Unbreak GCC_OFFLINEASM_SOURCE_MAP when LTO is in use
537 https://bugs.webkit.org/show_bug.cgi?id=230061
538 <rdar://problem/83166173>
540 Reviewed by Michael Catanzaro.
542 * Source/cmake/OptionsCommon.cmake:
544 Re-enable GCC_OFFLINEASM_SOURCE_MAP.
546 2021-09-17 Carlos Garcia Campos <cgarcia@igalia.com>
548 Unreviewed. [GTK] Bump version numbers
550 * Source/cmake/OptionsGTK.cmake:
552 2021-09-17 Martin Robinson <mrobinson@webkit.org>
554 Add Martin Robinson as a reviewer
555 https://bugs.webkit.org/show_bug.cgi?id=230392
559 * metadata/contributors.json: Add myself as a reviewer and update my specializations.
561 2021-09-17 Carlos Garcia Campos <cgarcia@igalia.com>
563 [GTK][a11y] Add a build option to enable ATSPI
564 https://bugs.webkit.org/show_bug.cgi?id=230254
566 Reviewed by Adrian Perez de Castro.
568 Add USE_ATSPI build option that disables ATK and enables isolated tree.
570 * Source/cmake/OptionsGTK.cmake:
572 2021-09-16 Philip Chimento <pchimento@igalia.com>
574 Fixes for build-webkit --minimal
575 https://bugs.webkit.org/show_bug.cgi?id=229780
577 Reviewed by Fujii Hironori.
579 Remove ENABLE_RESIZE_OBSERVER build-time option. This option is
580 quite broken if you try to disable it.
582 * Source/cmake/OptionsFTW.cmake:
583 * Source/cmake/OptionsMac.cmake:
584 * Source/cmake/WebKitFeatures.cmake:
586 2021-09-15 Philip Chimento <pchimento@igalia.com>
588 Fixes for build-webkit --minimal
589 https://bugs.webkit.org/show_bug.cgi?id=229780
591 Reviewed by Fujii Hironori.
593 Remove ENABLE_INTERSECTION_OBSERVER build-time option. This option is
594 quite broken if you try to disable it.
596 * Source/cmake/OptionsFTW.cmake:
597 * Source/cmake/OptionsMac.cmake:
598 * Source/cmake/WebKitFeatures.cmake:
600 2021-09-14 John Wilander <wilander@apple.com>
602 Rename RESOURCE_LOAD_STATISTICS to INTELLIGENT_TRACKING_PREVENTION
603 https://bugs.webkit.org/show_bug.cgi?id=230279
604 <rdar://problem/83118683>
606 Reviewed by Darin Adler.
608 * Source/cmake/OptionsFTW.cmake:
609 * Source/cmake/OptionsGTK.cmake:
610 * Source/cmake/OptionsMac.cmake:
611 * Source/cmake/OptionsPlayStation.cmake:
612 * Source/cmake/OptionsWPE.cmake:
613 * Source/cmake/OptionsWin.cmake:
614 * Source/cmake/WebKitFeatures.cmake:
616 2021-09-14 Hoa Dinh <dvh@apple.com>
618 Add dvh@apple.com to the list of contributors.
619 https://bugs.webkit.org/show_bug.cgi?id=230276
621 Reviewed by Jonathan Bedard.
623 * metadata/contributors.json:
625 2021-09-13 Sam Sneddon <gsnedders@apple.com>
627 Move ENABLE_RESOLUTION_MEDIA_QUERY to a runtime flag, start running tests again
628 https://bugs.webkit.org/show_bug.cgi?id=229776
630 Reviewed by Simon Fraser.
632 * Source/cmake/OptionsFTW.cmake:
633 * Source/cmake/WebKitFeatures.cmake:
635 2021-09-11 Philippe Normand <pnormand@igalia.com>
637 [GLIB] MediaSession is not enabled
638 https://bugs.webkit.org/show_bug.cgi?id=217991
639 <rdar://problem/70740119>
641 Reviewed by Michael Catanzaro.
643 Enable MediaSession as an experimental build feature in CMake ports. The spec status is
646 * Source/cmake/OptionsGTK.cmake:
647 * Source/cmake/OptionsWPE.cmake:
648 * Source/cmake/WebKitFeatures.cmake:
650 2021-09-08 Justin Michaud <justin_michaud@apple.com>
652 Change Justin Michaud's primary email to apple.com
653 https://bugs.webkit.org/show_bug.cgi?id=230069
655 Reviewed by Robin Morisset.
657 * metadata/contributors.json:
659 2021-09-07 Fujii Hironori <Hironori.Fujii@sony.com>
661 [WinCairo] Support prefers-color-scheme media query
662 https://bugs.webkit.org/show_bug.cgi?id=229976
664 Reviewed by Don Olmstead.
666 Just turned on ENABLE_DARK_MODE_CSS and HAVE_OS_DARK_MODE_SUPPORT.
667 It's always the light mode.
669 * Source/cmake/OptionsWin.cmake:
670 * Source/cmake/OptionsWinCairo.cmake:
672 2021-09-06 Carlos Alberto Lopez Perez <clopez@igalia.com>
674 [CMake] Prefer python3 over python2
675 https://bugs.webkit.org/show_bug.cgi?id=229969
677 Reviewed by Michael Catanzaro.
679 Use the CMake module FindPython instead of FindPythonInterp.
680 FindPython looks preferably for version 3 of Python. If not found, then it looks for version 2.
682 * Source/cmake/WebKitCommon.cmake:
684 2021-09-03 Michael Catanzaro <mcatanzaro@gnome.org>
686 Disable GCC_OFFLINEASM_SOURCE_MAP
687 https://bugs.webkit.org/show_bug.cgi?id=229893
689 Unreviewed, this fixes build failures caused by invalid assembler sources.
691 * Source/cmake/OptionsCommon.cmake:
693 2021-09-01 Jonathan Bedard <jbedard@apple.com>
695 [contributors.json] Relocation (Part 2)
696 https://bugs.webkit.org/show_bug.cgi?id=229690
697 <rdar://problem/82552403>
699 Reviewed by Dewei Zhu.
701 * metadata/contributors.json: Convert from dictionary to list.
703 2021-09-01 Jonathan Bedard <jbedard@apple.com>
705 [contributors.json] Relocation (Part 1)
706 https://bugs.webkit.org/show_bug.cgi?id=229690
707 <rdar://problem/82552403>
709 Reviewed by Aakash Jain.
711 * metadata/contributors.json: Copied from Tools/Scripts/webkitpy/common/config/contributors.json.
713 2021-08-30 Zan Dobersek <zdobersek@igalia.com>
715 RISCV64 support in LLInt
716 https://bugs.webkit.org/show_bug.cgi?id=229035
717 <rdar://problem/82120908>
719 Reviewed by Yusuke Suzuki.
721 * Source/cmake/WebKitFeatures.cmake:
722 Don't force CLoop to be default for RISCV64 anymore.
724 2021-08-27 Stephan Szabo <stephan.szabo@sony.com>
726 [PlayStation][CMake] Add control over whether JavaScriptCore should be shared
727 https://bugs.webkit.org/show_bug.cgi?id=229591
729 Add option for controlling whether to build a shared JavaScriptCore and
730 set build type for that appropriately.
732 Reviewed by Don Olmstead.
734 * Source/cmake/OptionsPlayStation.cmake:
736 2021-08-27 Russell Epstein <repstein@apple.com>
738 Land Windows build fixes from safari-612.1.29.14-branch.
739 https://bugs.webkit.org/show_bug.cgi?id=229627
741 Reviewed by Per Arne Vollan.
744 * Source/cmake/WinTools.make:
746 2021-08-27 Carlos Alberto Lopez Perez <clopez@igalia.com>
748 [CMake] ICU 61.2 is required to build WebKit since r281375
749 https://bugs.webkit.org/show_bug.cgi?id=229608
751 Reviewed by Yusuke Suzuki.
753 Raise the minimum version required for ICU.
755 * Source/cmake/OptionsAppleWin.cmake:
756 * Source/cmake/OptionsFTW.cmake:
757 * Source/cmake/OptionsGTK.cmake:
758 * Source/cmake/OptionsJSCOnly.cmake:
759 * Source/cmake/OptionsMac.cmake:
760 * Source/cmake/OptionsPlayStation.cmake:
761 * Source/cmake/OptionsWPE.cmake:
762 * Source/cmake/OptionsWinCairo.cmake:
764 2021-08-25 Myles C. Maxfield <mmaxfield@apple.com>
766 Add command to enable logging in the docs
767 https://bugs.webkit.org/show_bug.cgi?id=229419
769 Reviewed by Dean Jackson.
773 2021-08-20 Carlos Alberto Lopez Perez <clopez@igalia.com>
775 REGRESSION(r274166): [GTK] It broke run-javascriptcore-tests causing all tests to use lot of memory
776 https://bugs.webkit.org/show_bug.cgi?id=229321
778 Unreviewed, reverting r274166 because it caused JSC tests to use too much memory.
781 "[GTK] Reenable -fvisibility=hidden"
782 https://bugs.webkit.org/show_bug.cgi?id=181916
783 https://commits.webkit.org/r274166
785 * Source/cmake/OptionsGTK.cmake:
787 2021-08-16 David Kilzer <ddkilzer@apple.com>
789 "make analyze" should run clang static analyzer in deep mode
790 <https://webkit.org/b/229127>
791 <rdar://problem/81960587>
793 Reviewed by Alexey Proskuryakov.
796 - Add "analyze" argument to xcodebuild command when invoking
797 "make analyze" to run clang static analyzer in deep mode.
798 Simplify "make analyze" since $(PATH_TO_SCAN_BUILD) does not
801 2021-08-16 Carlos Garcia Campos <cgarcia@igalia.com>
803 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.33.3 release
805 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
807 2021-08-09 Myles C. Maxfield <mmaxfield@apple.com>
809 Update logging docs after r280758
810 https://bugs.webkit.org/show_bug.cgi?id=228899
812 Reviewed by Fujii Hironori.
814 Add more information about logging.
818 2021-08-05 Michael Catanzaro <mcatanzaro@gnome.org>
820 GCC 11 builds should use -Wno-array-bounds, -Wno-nonnull
821 https://bugs.webkit.org/show_bug.cgi?id=228601
823 Reviewed by Carlos Garcia Campos.
825 Prior to GCC 11, these were good warnings that could catch serious errors. But GCC 11 has
826 just become too sensitive and it's flagging what appear to be harmless cases, and not
827 providing enough feedback to know why. This has resulted in me littering our code with
828 pragmas to suppress GCC's false positives, and I think it's reached the point where it's
829 nicer to just turn off the warnings until such time that GCC gets this under control, and
830 rely on Clang instead in the meantime.
832 The GCC developers have indicated that these warnings will *always* produce false positives
833 in some circumstances, but with GCC 11 it's just too become too much IMO.
835 * Source/cmake/WebKitCompilerFlags.cmake:
837 2021-07-30 Adrian Perez de Castro <aperez@igalia.com>
839 [CMake] Fix fallback methods in the libgcrypt find module
840 https://bugs.webkit.org/show_bug.cgi?id=228581
842 Reviewed by Carlos Alberto Lopez Perez.
844 * Source/cmake/FindLibGcrypt.cmake: Make sure to use the libgcrypt-config script as
845 first fallback if libgcrypt.pc is not present, and fix the regexp used as last fallback
846 that checks the version from the gcrypt.h header as last fallback to only include digits
849 2021-07-29 Myles C. Maxfield <mmaxfield@apple.com>
851 Stop building WebGPU and the WHLSL compiler to decrease binary size
852 https://bugs.webkit.org/show_bug.cgi?id=228179
854 Reviewed by Dean Jackson, Robin Morisset, and Devin Rousso.
856 * Source/cmake/OptionsFTW.cmake:
857 * Source/cmake/OptionsMac.cmake:
858 * Source/cmake/OptionsWinCairo.cmake:
859 * Source/cmake/WebKitFeatures.cmake:
860 * Source/cmake/tools/vsprops/FeatureDefines.props:
861 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
863 2021-07-29 Adrian Perez de Castro <aperez@igalia.com>
865 [CMake] Fix missing libgpg-error not added to link commands as libgcrypt dep after r280423
866 https://bugs.webkit.org/show_bug.cgi?id=228581
868 Reviewed by Carlos Alberto Lopez Perez.
870 * Source/cmake/FindLibGcrypt.cmake: Manually search for libgpg-error, which is not listed
871 in libgcrypt.pc as a dependency, add an imported target for it, and add it as a dependency
872 of LibGcrypt::LibGcrypt to avoid missing symbols at link time.
874 2021-07-29 Adrian Perez de Castro <aperez@igalia.com>
876 [CMake] Use an imported target for the libgcrypt library
877 https://bugs.webkit.org/show_bug.cgi?id=228581
879 Reviewed by Michael Catanzaro.
881 * Source/cmake/FindLibGcrypt.cmake: Replaced find module by a new one which defines a
882 LibGcrypt::LibGcrypt imported target, using more modern CMake constructs.
883 * Source/cmake/OptionsGTK.cmake: Use the LibGcrypt::LibGcrypt imported target.
884 * Source/cmake/OptionsWPE.cmake: Ditto.
886 2021-07-28 Philippe Normand <pnormand@igalia.com>
888 [WPE][GTK] SVN_REVISION drifting away if bots don't re-run cmake
889 https://bugs.webkit.org/show_bug.cgi?id=228290
891 Reviewed by Michael Catanzaro.
893 The CMake configure_file() is now used only tarball builds for files requiring information
894 about the build revision. For developer builds a custom target now takes care of keeping
895 those files up-to-date.
897 * Source/cmake/OptionsGTK.cmake:
898 * Source/cmake/OptionsWPE.cmake:
900 2021-07-27 Zan Dobersek <zdobersek@igalia.com>
902 [CMake] Add WTF_CPU_RISCV64
903 https://bugs.webkit.org/show_bug.cgi?id=228322
905 Reviewed by Adrian Perez de Castro.
907 Define the WTF_CPU_RISCV64 CMake macro when the specified system
908 processor name begins with 'riscv64'. This should also cover potential
909 RISC-V processor names ingrained with specific ISA extensions that are
910 then detectable at compile-time through specified C macros.
912 For WTF_CPU_RISCV64, default to disabling JIT and FTL features at the
913 CMake level until they are properly supported. Defaulting to system
914 malloc can already be avoided, but CLoop is necessary for now.
916 * Source/cmake/WebKitCommon.cmake:
917 * Source/cmake/WebKitFeatures.cmake:
919 2021-07-25 Michael Catanzaro <mcatanzaro@gnome.org>
921 [GTK] USE_OPENGL_OR_ES should not be an automagic feature
922 https://bugs.webkit.org/show_bug.cgi?id=228266
924 Reviewed by Fujii Hironori.
926 The USE_OPENGL_OR_ES feature flag added in r271220 is currently automagic: that is, if
927 neither OpenGL nor OpenGL ES is available at build time, it gets silently disabled. This is
928 not OK because it makes it easy for distributors to accidentally fail to enable OpenGL
929 support. We should require manually disabling the feature with -DUSE_OPENGL_OR_ES=OFF in
930 order to build with OpenGL disabled.
932 * Source/cmake/OptionsGTK.cmake:
934 2021-07-23 Philippe Normand <pnormand@igalia.com>
936 [GLib] Remove libportal dependency
937 https://bugs.webkit.org/show_bug.cgi?id=228056
939 Reviewed by Carlos Garcia Campos.
941 * Source/cmake/FindLIBPORTAL.cmake: Removed.
942 * Source/cmake/GStreamerChecks.cmake:
944 2021-07-16 Alexander Mikhaylenko <alexm@gnome.org>
946 [GTK][WPE] Support color-schemes CSS property
947 https://bugs.webkit.org/show_bug.cgi?id=208204
949 Reviewed by Adrian Perez de Castro.
951 * Source/cmake/OptionsGTK.cmake:
952 Enable HAVE_OS_DARK_MODE_SUPPORT.
953 * Source/cmake/OptionsWPE.cmake:
954 Enable ENABLE_DARK_MODE_CSS and HAVE_OS_DARK_MODE_SUPPORT.
956 2021-07-15 Philippe Normand <pnormand@igalia.com>
958 Unreviewed, CMake fix-up after r279940
960 * Source/cmake/FindLIBPORTAL.cmake: Fix libportal detection.
962 2021-07-15 Philippe Normand <pnormand@igalia.com>
964 [GStreamer][Pipewire] Implement getDisplayMedia() backend
965 https://bugs.webkit.org/show_bug.cgi?id=210926
967 Reviewed by Xabier Rodriguez-Calvar.
969 * Source/cmake/FindLIBPORTAL.cmake: Added.
970 * Source/cmake/GStreamerChecks.cmake: Enable Pipewire support if libportal was found.
972 2021-07-13 Michael Catanzaro <mcatanzaro@gnome.org>
974 Remove USE_64KB_PAGE_BLOCK
975 https://bugs.webkit.org/show_bug.cgi?id=227905
977 Reviewed by Yusuke Suzuki.
979 I added the USE_64KB_PAGE_BLOCK build option in bug #217989 for use by RHEL. But going
980 forward, I don't need it anymore, and can maintain it downstream where it is needed. (This
981 option might also be useful to SUSE, but they already don't use it, so won't miss it.)
983 I've seen users who don't understand the consequences of this option enabling it on x86_64,
984 even though there are serious negative consequences and zero benefits to using it. So let's
987 * Source/cmake/WebKitFeatures.cmake:
989 2021-07-13 Carlos Garcia Campos <cgarcia@igalia.com>
991 [GTK][WPE] Expose support for client certificate auth
992 https://bugs.webkit.org/show_bug.cgi?id=200805
994 Reviewed by Michael Catanzaro.
996 Bump libsoup3 required version.
998 * Source/cmake/OptionsGTK.cmake:
999 * Source/cmake/OptionsWPE.cmake:
1001 2021-06-24 Zan Dobersek <zdobersek@igalia.com>
1003 REGRESSION(r236846): WPE shouldn't depend on OpenGL ES 3
1004 https://bugs.webkit.org/show_bug.cgi?id=227289
1006 Reviewed by Adrian Perez de Castro.
1008 * Source/cmake/OptionsWPE.cmake: Drop the OpenGLES2 package search.
1009 None of the possible versions are meaningful because libepoxy is used
1010 as the underlying GL relay.
1012 2021-06-24 Martin Robinson <mrobinson@webkit.org>
1014 [css-scroll-snap] Remove ENABLE_SCROLL_SNAP compile-time option
1015 https://bugs.webkit.org/show_bug.cgi?id=227067
1017 Reviewed by Simon Fraser.
1019 Remove compile-time ENABLE_SCROLL_SNAP configuration option.
1021 * Source/cmake/WebKitFeatures.cmake: Remove the flag from the CMake configuration.
1023 2021-06-21 Fujii Hironori <Hironori.Fujii@sony.com>
1025 [WinCairo] Turn ENABLE_SHAREABLE_RESOURCE on
1026 https://bugs.webkit.org/show_bug.cgi?id=227011
1028 Reviewed by Don Olmstead.
1030 * Source/cmake/OptionsWin.cmake: Turned ENABLE_SHAREABLE_RESOURCE on for WinCairo port.
1032 2021-06-18 Sergio Villar Senin <svillar@igalia.com>
1034 Ignore clangd's directory with index files
1035 https://bugs.webkit.org/show_bug.cgi?id=227162
1037 Reviewed by Žan Doberšek.
1039 clangd stores its indexes in a .cache directory. Let git ignore it.
1043 2021-06-11 Adrian Perez de Castro <aperez@igalia.com>
1045 Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.33.2 release
1047 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
1049 2021-06-10 Carlos Alberto Lopez Perez <clopez@igalia.com>
1051 [CMake][GTK][WPE] Improve error message when libsoup3 is not found
1052 https://bugs.webkit.org/show_bug.cgi?id=226905
1054 Reviewed by Adrian Perez de Castro.
1056 When libsoup 3 is not found be more clear about the problem and
1057 offer possible workaround to continue the build.
1059 * Source/cmake/FindLibSoup.cmake:
1060 * Source/cmake/OptionsGTK.cmake:
1061 * Source/cmake/OptionsWPE.cmake:
1063 2021-06-10 Philippe Normand <pnormand@igalia.com>
1065 [WPE] Enable Cog for developer builds
1066 https://bugs.webkit.org/show_bug.cgi?id=224360
1068 Reviewed by Adrian Perez de Castro.
1070 Cog would be preferred over MiniBrowser for WPE developer builds because it provides a nicer
1071 user experience, while keeping the same spirit as MiniBrowser. Pass `-DENABLE_COG=NO` to
1072 CMake to disable it and fall back to MiniBrowser.
1074 * Source/cmake/OptionsWPE.cmake:
1076 2021-06-08 Carlos Garcia Campos <cgarcia@igalia.com>
1078 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.33.2 release
1080 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1082 2021-06-07 Carlos Garcia Campos <cgarcia@igalia.com>
1084 [GTK][WPE] Bump libsoup3 version to 2.99.8
1085 https://bugs.webkit.org/show_bug.cgi?id=226713
1087 Reviewed by Philippe Normand.
1089 * Source/cmake/OptionsGTK.cmake:
1090 * Source/cmake/OptionsWPE.cmake:
1092 2021-06-04 Per Arne Vollan <pvollan@apple.com>
1094 [AppleWin] JSC build failure
1095 https://bugs.webkit.org/show_bug.cgi?id=226659
1098 Reviewed by Brent Fulgham.
1100 WTF scripts location is not being correctly identified.
1102 * Source/cmake/OptionsAppleWin.cmake:
1104 2021-06-04 Martin Robinson <mrobinson@webkit.org>
1106 [Win] Implement scroll-snap-points on Windows
1107 https://bugs.webkit.org/show_bug.cgi?id=142503
1108 <rdar://problem/20093603>
1110 Reviewed by Simon Fraser.
1112 * Source/cmake/OptionsWin.cmake: Stop disabling scroll-snap for Apple Win port.
1114 2021-05-27 Don Olmstead <don.olmstead@sony.com>
1116 [CMake] Add check for timingsafe_bcmp
1117 https://bugs.webkit.org/show_bug.cgi?id=226347
1119 Reviewed by Chris Dumez.
1121 Adds a symbol check for timingsafe_bcmp and sets HAVE_TIMINGSAFE_BCMP accordingly in the
1124 * Source/cmake/OptionsCommon.cmake:
1126 2021-05-27 Adrian Perez de Castro <aperez@igalia.com>
1128 Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.33.1 release
1130 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
1132 2021-05-27 Adrian Perez de Castro <aperez@igalia.com>
1134 Unreviewed. [WPE] Bump version numbers
1136 * Source/cmake/OptionsWPE.cmake:
1138 2021-05-26 Don Olmstead <don.olmstead@sony.com>
1140 [CMake] Support USE_ANGLE_EGL on additional platforms
1141 https://bugs.webkit.org/show_bug.cgi?id=224888
1142 <rdar://problem/77280211>
1144 Reviewed by Ken Russell.
1146 USE_ANGLE_EGL is for platforms that want to use ANGLE as the sole OpenGL ES implementation
1147 within WebKit. This setting is applicable to Mac and Windows platforms. USE_ANGLE_WEBGL is
1148 just for platforms that want to use ANGLE for WebGL 2.0 support only. Any other uses of
1149 OpenGL should go through the system OpenGL (desktop or embedded). This setting applies to
1152 The platform options were modified to match this.
1154 * Source/cmake/OptionsGTK.cmake:
1155 * Source/cmake/OptionsMac.cmake:
1157 2021-05-25 Don Olmstead <don.olmstead@sony.com>
1159 [PlayStation] Implement FileSystem without std::filesystem
1160 https://bugs.webkit.org/show_bug.cgi?id=226197
1162 Reviewed by Chris Dumez.
1164 Expose the result of the check for <filesystem> support as HAVE_STD_FILESYSTEM.
1166 * Source/cmake/OptionsCommon.cmake:
1168 2021-05-18 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
1170 [PlayStation] Fix PlayStation port
1171 https://bugs.webkit.org/show_bug.cgi?id=225913
1173 Reviewed by Don Olmstead.
1175 Fix PlayStation port
1177 * Source/cmake/OptionsPlayStation.cmake: Rename
1178 PLAYSTATION_COPY_SHARED_LIBRARIES to PLAYSTATION_COPY_REQUIREMENTS and
1179 let it copy more general files.
1180 Touch ebootparam.ini by the playstation_tools_copy custom_target.
1182 2021-05-15 Sam Weinig <weinig@apple.com>
1184 Allow conditionally enabling OffscreenCanvas only for non-worker contexts
1185 https://bugs.webkit.org/show_bug.cgi?id=225845
1187 Reviewed by Darin Adler.
1189 * Source/cmake/OptionsGTK.cmake:
1190 * Source/cmake/OptionsWPE.cmake:
1191 * Source/cmake/WebKitFeatures.cmake:
1192 Match current behavior of ENABLE_OFFSCREEN_CANVAS for ENABLE_OFFSCREEN_CANVAS_IN_WORKERS.
1194 2021-05-14 Carlos Garcia Campos <cgarcia@igalia.com>
1196 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.33.1 release
1198 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1200 2021-05-14 Carlos Garcia Campos <cgarcia@igalia.com>
1202 Unreviewed. [GTK] Fix make distcheck
1204 Use WEBKITGTK_API_DOC_VERSION instead of WEBKITGTK_API_VERSION or the documentation install rules.
1206 * Source/PlatformGTK.cmake:
1208 2021-05-07 Carlos Garcia Campos <cgarcia@igalia.com>
1210 [GTK][WPE] Bump libsoup3 version to 2.99.5
1211 https://bugs.webkit.org/show_bug.cgi?id=225506
1213 Reviewed by Philippe Normand.
1215 * Source/cmake/OptionsGTK.cmake:
1216 * Source/cmake/OptionsWPE.cmake:
1218 2021-05-06 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
1220 [OpenSSL] Implement CryptoAlgorithmRSA*
1221 https://bugs.webkit.org/show_bug.cgi?id=225294
1223 Reviewed by Don Olmstead.
1225 Implement RSA for OpenSSL.
1227 Implement CryptoAlgorithmRSA_OAEP, CryptoAlgorithmRSA_PSS,
1228 CryptoAlgorithmRSAES_PKCS1_v1_5, CryptoAlgorithmRSASA_PKCS1_v1_5,
1229 and CryptoKeyRSA for OpenSSL.
1231 Note that if such OpenSSL version that does not support RSA_OAEP or
1232 RSA_PSS, the WebCrypto API for those algorithm will return a
1235 * Source/cmake/OptionsPlayStation.cmake:
1236 * Source/cmake/OptionsWinCairo.cmake:
1238 2021-05-05 Michael Catanzaro <mcatanzaro@gnome.org>
1240 USE_64KB_PAGE_BLOCK build option is broken
1241 https://bugs.webkit.org/show_bug.cgi?id=225393
1243 Reviewed by Adrian Perez de Castro.
1245 Call SET_AND_EXPOSE_TO_BUILD().
1247 * Source/cmake/WebKitFeatures.cmake:
1249 2021-05-05 Michael Catanzaro <mcatanzaro@gnome.org>
1251 Fix typo in comment in WebKitFeatures.cmake
1252 https://bugs.webkit.org/show_bug.cgi?id=225392
1256 * Source/cmake/WebKitFeatures.cmake:
1258 2021-04-27 Don Olmstead <don.olmstead@sony.com>
1260 [CMake] Don't use FORWARDING_HEADERS_DIR for GTK WebKit headers
1261 https://bugs.webkit.org/show_bug.cgi?id=225006
1263 Reviewed by Michael Catanzaro.
1265 Create CMake variables WebKit2Gtk_FRAMEWORK_HEADERS_DIR and WebKit2Gtk_DERIVED_SOURCES_DIR
1266 to represent where the WebKit2 GTK headers and derived sources will reside. The names and
1267 locations set then follow along with the conventions used for the other frameworks.
1269 * Source/cmake/OptionsGTK.cmake:
1271 2021-04-26 Alex Christensen <achristensen@webkit.org>
1273 Update Mac-specific CMake files
1274 https://bugs.webkit.org/show_bug.cgi?id=225064
1276 Rubber-stamped by Tim Horton.
1278 * Source/cmake/OptionsMac.cmake:
1279 * Source/cmake/WebKitCommon.cmake:
1281 2021-04-26 Don Olmstead <don.olmstead@sony.com>
1283 [PlayStation] Fix build break after r276368
1284 https://bugs.webkit.org/show_bug.cgi?id=225056
1286 Reviewed by Ross Kirsling.
1288 Ensure that the OpenGL::GLES target is created.
1290 * Source/cmake/OptionsPlayStation.cmake:
1292 2021-04-22 Martin Robinson <mrobinson@webkit.org>
1294 [GTK] Turn on editable <input type=date> and <input type=time> fields
1295 https://bugs.webkit.org/show_bug.cgi?id=224921
1297 Reviewed by Carlos Garcia Campos.
1299 Turn on editable date and time inputs for GTK
1301 * Source/cmake/OptionsGTK.cmake: Add new source file to the list.
1303 2021-04-22 Imanol Fernandez <ifernandez@igalia.com>
1305 Implement WebXR Input Sources
1306 https://bugs.webkit.org/show_bug.cgi?id=223257
1308 Reviewed by Youenn Fablet.
1310 Enable WPE Gamepad when WebXR is enabled.
1312 * Source/cmake/OptionsWPE.cmake:
1314 2021-04-22 Carlos Garcia Campos <cgarcia@igalia.com>
1316 [SOUP] Add support for preconnect
1317 https://bugs.webkit.org/show_bug.cgi?id=177934
1319 Reviewed by Sergio Villar Senin.
1321 Enable server preconnect support when building with libsoup3.
1323 * Source/cmake/OptionsGTK.cmake:
1324 * Source/cmake/OptionsWPE.cmake:
1326 2021-04-22 Carlos Garcia Campos <cgarcia@igalia.com>
1328 [GTK][WPE] Bump libsoup3 version to 2.99.4
1329 https://bugs.webkit.org/show_bug.cgi?id=224925
1331 Reviewed by Philippe Normand.
1333 * Source/cmake/OptionsGTK.cmake:
1334 * Source/cmake/OptionsWPE.cmake:
1336 2021-04-21 Martin Robinson <mrobinson@igalia.com>
1338 Enable CSS Scroll Snap by default
1339 https://bugs.webkit.org/show_bug.cgi?id=224867
1341 Reviewed by Don Olmstead.
1343 * Source/cmake/OptionsFTW.cmake: Remove redundant line enabling scroll snap.
1344 * Source/cmake/OptionsGTK.cmake: Ditto.
1345 * Source/cmake/OptionsMac.cmake: Ditto.
1346 * Source/cmake/OptionsWPE.cmake: Ditto.
1347 * Source/cmake/OptionsWin.cmake: Explicitly disable scroll snap for AppleWin port
1348 until it can be approved by maintainers.
1349 * Source/cmake/WebKitFeatures.cmake: Enable scroll snap by default.
1351 2021-04-21 Don Olmstead <don.olmstead@sony.com>
1353 [CMake] Add OpenGLES2 targets
1354 https://bugs.webkit.org/show_bug.cgi?id=224786
1356 Reviewed by Adrian Perez de Castro.
1358 Modernize the FindOpenGLES2.cmake module. Add an OpenGL::GLES target. Also add an
1359 OpenGLES2_API_VERSION value so HAVE_OPENGL_ES_3 can be determined.
1361 For WPE add a find_package for OpenGL ES so the target is present.
1363 For GTK set HAVE_OPENGL_ES_3 if OpenGLES2_API_VERSION supports it.
1365 * Source/cmake/FindOpenGLES2.cmake:
1366 * Source/cmake/OptionsGTK.cmake:
1367 * Source/cmake/OptionsWPE.cmake:
1369 2021-04-20 Don Olmstead <don.olmstead@sony.com>
1371 [CMake] Don't use FORWARDING_HEADERS_DIR for JSC GLib headers
1372 https://bugs.webkit.org/show_bug.cgi?id=224821
1374 Reviewed by Michael Catanzaro.
1376 Create CMake variables JavaScriptCoreGLib_FRAMEWORK_HEADERS_DIR and
1377 JavaScriptCoreGLib_DERIVED_SOURCES_DIR to represent where the JavaScriptCore GLib headers
1378 and derived sources will reside. The names and locations set then follow along with the
1379 conventions used for the other frameworks.
1381 * Source/cmake/OptionsGTK.cmake:
1382 * Source/cmake/OptionsWPE.cmake:
1384 2021-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
1386 [WPE] Switch to libsoup3 by default
1387 https://bugs.webkit.org/show_bug.cgi?id=224802
1389 Reviewed by Žan Doberšek.
1391 * Source/cmake/OptionsWPE.cmake:
1393 2021-04-19 Carlos Garcia Campos <cgarcia@igalia.com>
1395 [GTK] Switch to libsoup3 by default
1396 https://bugs.webkit.org/show_bug.cgi?id=224741
1398 Reviewed by Sergio Villar Senin.
1400 * Source/cmake/OptionsGTK.cmake:
1402 2021-04-19 Philippe Normand <pnormand@igalia.com>
1404 [WPE][GTK] Enable AVIF decoder as experimental feature and unskip tests
1405 https://bugs.webkit.org/show_bug.cgi?id=224663
1407 Reviewed by Xabier Rodriguez-Calvar.
1409 Make the USE_AVIF option public and enable it as experimental feature.
1411 * Source/cmake/OptionsGTK.cmake:
1412 * Source/cmake/OptionsWPE.cmake:
1414 2021-04-16 Philippe Normand <pnormand@igalia.com>
1416 [CMake] UBSan build fixes
1417 https://bugs.webkit.org/show_bug.cgi?id=224536
1419 Reviewed by Adrian Perez de Castro.
1421 Synchronize UBSan compiler flags with the ones defined in ubsan.xcconfig.
1423 * Source/cmake/WebKitCompilerFlags.cmake:
1425 2021-04-15 Don Olmstead <don.olmstead@sony.com>
1427 ANGLE is only being built when WebGL is enabled
1428 https://bugs.webkit.org/show_bug.cgi?id=224555
1430 Reviewed by Fujii Hironori.
1432 ANGLE should be built if either USE_ANGLE_EGL or ENABLE_WEBGL is ON.
1434 * Source/CMakeLists.txt:
1436 2021-04-15 Basuke Suzuki <basuke.suzuki@sony.com>
1438 Remove warnings caused by export g_config extern definition in WTFConfig.h
1439 https://bugs.webkit.org/show_bug.cgi?id=224462
1441 Reviewed by Don Olmstead.
1443 While building PlayStation port, lots of warnings are displayed:
1445 > WTF/Headers\wtf/WTFConfig.h:49:36: warning: redeclaration of 'WebConfig::g_config'
1446 > should not add 'dllimport' attribute [-Wdll-attribute-on-redeclaration]
1447 > extern "C" WTF_EXPORT_PRIVATE Slot g_config[];
1449 > bmalloc/Headers\bmalloc/GigacageConfig.h:38:17: note: previous declaration is here
1450 > extern "C" Slot g_config[];
1452 This is because the two definitions are not same.
1453 Becasue we can't solve the situation completely, we just ignore these warnings at
1456 * Source/cmake/OptionsPlayStation.cmake:
1458 2021-04-15 Philippe Normand <pnormand@igalia.com>
1460 [WebRTC][GStreamer] Build and use the openh264 based encoder if present on the system
1461 https://bugs.webkit.org/show_bug.cgi?id=202538
1462 <rdar://problem/76047172>
1464 Reviewed by Xabier Rodriguez-Calvar.
1466 * Source/CMakeLists.txt:
1467 * Source/cmake/GStreamerChecks.cmake:
1469 2021-04-14 Don Olmstead <don.olmstead@sony.com>
1471 [PlayStation] Disable WebGL
1472 https://bugs.webkit.org/show_bug.cgi?id=224562
1474 Reviewed by Alex Christensen.
1476 WebGL support on PlayStation platforms is deprecated.
1478 * Source/cmake/OptionsPlayStation.cmake:
1480 2021-04-13 Philippe Normand <pnormand@igalia.com>
1482 [GTK][WPE] Avif decoder build broken
1483 https://bugs.webkit.org/show_bug.cgi?id=224232
1485 Reviewed by Carlos Garcia Campos.
1487 * Source/cmake/OptionsGTK.cmake: Require 0.9.0 due to avifIO usage in the decoder.
1489 2021-04-09 Carlos Garcia Campos <cgarcia@igalia.com>
1491 [GTK][WPE] Bump libsoup3 version to 2.99.3
1492 https://bugs.webkit.org/show_bug.cgi?id=224362
1494 Reviewed by Žan Doberšek.
1496 * Source/cmake/OptionsGTK.cmake:
1497 * Source/cmake/OptionsWPE.cmake:
1499 2021-04-07 Michael Catanzaro <mcatanzaro@gnome.org>
1501 [GTK] webkit://gpu should print runtime libwpe and wpebackend-fdo versions
1502 https://bugs.webkit.org/show_bug.cgi?id=224298
1504 Reviewed by Adrian Perez de Castro.
1506 * Source/cmake/OptionsGTK.cmake:
1508 2021-04-07 Don Olmstead <don.olmstead@sony.com>
1510 [CMake] Mark _LIBRARY not _LIBRARIES in find modules
1511 https://bugs.webkit.org/show_bug.cgi?id=224283
1513 Reviewed by Michael Catanzaro.
1515 A few find modules are erroniously sending _LIBRARIES to mark_as_advanced rather than
1516 _LIBRARY. The former is created from the _LIBRARY value so it isn't valid at that point.
1518 * Source/cmake/FindCairo.cmake:
1519 * Source/cmake/FindFontconfig.cmake:
1520 * Source/cmake/FindSQLite3.cmake:
1522 2021-04-07 Kimmo Kinnunen <kkinnunen@apple.com>
1524 .gitignore contains 'build/' which causes all directories named 'build/' to be ignored
1525 https://bugs.webkit.org/show_bug.cgi?id=224227
1527 Reviewed by Ryosuke Niwa.
1529 Remove 'build/' from .gitignore, it was causing errors by hiding files.
1530 WebGL conformance test suite files have directiories with 'build/' in its path.
1532 Most likely '/build/' is not a common build directory, since the scripts
1533 seem to default to '/WebKitBuild/'.
1537 2021-04-06 Philippe Normand <pnormand@igalia.com>
1539 REGRESSION(r275275): Broke some build configs lacking openh264
1540 https://bugs.webkit.org/show_bug.cgi?id=224244
1542 Unreviewed, manual revert of r275275 and r275409.
1544 * Source/CMakeLists.txt:
1545 * Source/cmake/GStreamerChecks.cmake:
1547 2021-04-06 Mark Lam <mark.lam@apple.com>
1549 Speculative build fix for Windows port.
1550 https://bugs.webkit.org/show_bug.cgi?id=224243
1553 Reviewed by Saam Barati.
1555 Source/cmake/tools/scripts/auto-version.pl was limiting our `minor` and `micro`
1556 version to only 2 decimal digits only. In practice, we can use up to 3 digits.
1558 * Source/cmake/tools/scripts/auto-version.pl:
1561 2021-04-05 Alex Christensen <achristensen@webkit.org>
1563 Resurrect Mac CMake build
1564 https://bugs.webkit.org/show_bug.cgi?id=224084
1566 Reviewed by Tim Horton.
1568 * Source/cmake/OptionsMac.cmake:
1570 2021-04-05 Tyler Wilcock <twilco.o@protonmail.com>
1572 Document how to use logging in WebKit
1573 https://bugs.webkit.org/show_bug.cgi?id=224152
1575 Reviewed by Simon Fraser.
1577 Add documentation about how to use logging in WebKit.
1581 2021-03-28 David Kilzer <ddkilzer@apple.com>
1583 Compile WebKit with UBSan
1584 <https://webkit.org/b/176131>
1585 <rdar://problem/34174018>
1587 Reviewed by Alexey Proskuryakov.
1590 - Add support for "UBSAN=YES" argument to make.
1592 2021-03-27 Philippe Normand <pnormand@igalia.com>
1594 REGRESSION(r275111) [GLIB] Fix build with new derived sources and forwarding headers scheme
1595 https://bugs.webkit.org/show_bug.cgi?id=223834
1597 Unreviewed build fix.
1599 * Source/cmake/OptionsGTK.cmake:
1600 * Source/cmake/OptionsWPE.cmake:
1602 2021-03-26 Lauro Moura <lmoura@igalia.com>
1604 REGRESSION(r275111) [GLIB] Fix build with new derived sources and forwarding headers scheme
1605 https://bugs.webkit.org/show_bug.cgi?id=223834
1607 Unreviewed build fix.
1609 Buildfix for now. Actual removal of older scheme will come in the
1612 * Source/cmake/OptionsWPE.cmake: Add some missing variables with the
1613 per framework source and header dirs.
1615 2021-03-26 Don Olmstead <don.olmstead@sony.com>
1617 [CMake] Deprecate using DERIVED_SOURCES_DIR/FOWARDING_HEADERS_DIR directly
1618 https://bugs.webkit.org/show_bug.cgi?id=223763
1620 Reviewed by Michael Catanzaro.
1622 Remove any usages of DERIVED_SOURCES_DIR and FOWARDING_HEADERS_DIR. There are still some
1623 uses in GTK/WPE but those should be phased out.
1625 Sets the directory structure to look like an Apple build in terms of where headers and
1626 derived sources are held. Rather than having one root derived sources and one root
1627 header directory those directories are now per project. This helps catch any errors with
1630 Deletes some old Mac CMake code that is no longer relevant around creating forwarding
1633 For AppleWin the old structure is used because of its internal build which assumes the
1636 * Source/cmake/OptionsAppleWin.cmake:
1637 * Source/cmake/OptionsFTW.cmake:
1638 * Source/cmake/OptionsGTK.cmake:
1639 * Source/cmake/OptionsPlayStation.cmake:
1640 * Source/cmake/OptionsWPE.cmake:
1641 * Source/cmake/OptionsWinCairo.cmake:
1642 * Source/cmake/WebKitCommon.cmake:
1643 * Source/cmake/WebKitFS.cmake:
1644 * Source/cmake/WebKitMacros.cmake:
1646 2021-03-23 Adrian Perez de Castro <aperez@igalia.com>
1648 [CMake] Use an imported target for the LCMS2 library
1649 https://bugs.webkit.org/show_bug.cgi?id=223442
1651 Reviewed by Carlos Garcia Campos.
1653 * Source/cmake/FindLCMS2.cmake: Replaced find module by a new one which
1654 defines a LCMS2::LCMS2 imported target and in general uses more modern CMake
1657 2021-03-23 Cameron McCormack <heycam@apple.com>
1659 Update .clang-format to reflect WebKit style better.
1660 https://bugs.webkit.org/show_bug.cgi?id=223229
1662 First, SpaceBeforeCpp11BracedList is set to true so that a space
1663 is introduced after a variable name and before a braced initializer.
1665 Second, AlwaysBreakTemplateDeclarations is changed from false (an
1666 invalid value) to No, which should result in no line breaks being
1667 introduced in template declarations. Although there is a mix of
1668 template declaration line breaking styles in the codebase, changing
1669 this option to No will prevent clang-format from introducing one
1670 where the patch author decides to write the declaration all on one
1673 Reviewed by Alex Christensen.
1677 2021-03-22 Adrian Perez de Castro <aperez@igalia.com>
1679 [CMake] Wrong variable used in FindFontconfig used to pick version from pkg-config
1680 https://bugs.webkit.org/show_bug.cgi?id=223557
1682 Reviewed by Michael Catanzaro.
1684 * Source/cmake/FindFontconfig.cmake: Fix to use ${PC_FONTCONFIG_VERSION}.
1686 2021-03-18 Carlos Garcia Campos <cgarcia@igalia.com>
1688 [WPE] Bump API version when building with libsoup3
1689 https://bugs.webkit.org/show_bug.cgi?id=223437
1691 Reviewed by Adrian Perez de Castro.
1693 Use 1.1 as the API version when building with soup3.
1695 * Source/PlatformWPE.cmake:
1696 * Source/cmake/OptionsWPE.cmake:
1698 2021-03-17 Martin Robinson <mrobinson@igalia.com>
1700 [GTK][WPE] Enable CSS scroll snap support by default
1701 https://bugs.webkit.org/show_bug.cgi?id=222641
1703 Reviewed by Carlos Garcia Campos.
1705 * Source/cmake/OptionsGTK.cmake: Enable CSS scroll snap by default.
1706 * Source/cmake/OptionsWPE.cmake: Ditto.
1708 2021-03-16 Khem Raj <raj.khem@gmail.com>
1710 [CMake] Build fails on RISC-V with GCC 11
1711 https://bugs.webkit.org/show_bug.cgi?id=222959
1713 Reviewed by Carlos Alberto Lopez Perez.
1715 Check for 1 byte atomic operations along with 64bit ones, some
1716 architevtures (e.g. RISCV) operations on less than 4 bytes are not lock-free
1718 * Source/cmake/WebKitCompilerFlags.cmake:
1720 2021-03-14 Lauro Moura <lmoura@igalia.com>
1722 [GLIB] Keep GPUProcess disabled when using experimental features
1723 https://bugs.webkit.org/show_bug.cgi?id=223155
1725 Reviewed by Philippe Normand.
1727 At least two recent GPUProcess-related revisions caused issues in
1728 GLIB, causing serious regressions in the bots. Disabling it for now
1729 until we improve its support.
1733 r274327 - 2D Canvas enabled by default in GPUProcess
1734 r272842 - Media enabled by default in GPUProcess
1736 * Source/cmake/OptionsGTK.cmake:
1737 * Source/cmake/OptionsWPE.cmake:
1739 2021-03-12 Carlos Garcia Campos <cgarcia@igalia.com>
1741 [GTK] Bump API version when building with libsoup3
1742 https://bugs.webkit.org/show_bug.cgi?id=223067
1744 Reviewed by Adrian Perez de Castro.
1746 Use 4.1 as the API version when building with soup3 and keep using 5.0 for GTK4. Also make it impossible to
1747 build with GTK4 and soup2.
1749 * Source/PlatformGTK.cmake:
1750 * Source/cmake/OptionsGTK.cmake:
1752 2021-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
1754 Unreviewed. [GTK][WPE] Bump libsoup3 version to 2.99.3
1756 * Source/cmake/OptionsGTK.cmake:
1757 * Source/cmake/OptionsWPE.cmake:
1759 2021-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
1761 [WPE][GTK] Add support for ICC color management
1762 https://bugs.webkit.org/show_bug.cgi?id=177185
1764 Reviewed by Adrian Perez de Castro.
1766 Add optional lcms2 dependency.
1768 * Source/cmake/FindLCMS2.cmake: Added.
1769 * Source/cmake/OptionsGTK.cmake:
1770 * Source/cmake/OptionsWPE.cmake:
1772 2021-03-10 Michael Catanzaro <mcatanzaro@gnome.org>
1774 [GTK] Reenable -fvisibility=hidden
1775 https://bugs.webkit.org/show_bug.cgi?id=181916
1777 Reviewed by Don Olmstead.
1779 In non-DEVELOPER_MODE builds, we rely on a linker version script to hide symbols that we
1780 don't want to export. Building with hidden visibility might seem redundant with this, but
1781 actually building with hidden visibility has advantages anyway. See
1782 https://gcc.gnu.org/wiki/Visibility.
1784 Note that I'm not confident GTK port can safely use -fvisibility-inlines-hidden, since it's
1785 split between two shared objects. Also, because GTK is split into two shared objects, GTK
1786 needs to build bmalloc and WTF as CMake OBJECT libraries, which is effectively the same as
1787 using -Wl,--whole-archive to prevent symbols from being prematurely stripped away.
1789 P.S. Major credit to Don Olmstead, who did most of the work to make this possible, which has
1790 already landed in previous patches.
1792 * Source/cmake/OptionsGTK.cmake:
1794 2021-03-10 Commit Queue <commit-queue@webkit.org>
1796 Unreviewed, reverting r274166.
1797 https://bugs.webkit.org/show_bug.cgi?id=223024
1799 Broke GTK Debug builds
1803 "[GTK] Reenable -fvisibility=hidden"
1804 https://bugs.webkit.org/show_bug.cgi?id=181916
1805 https://trac.webkit.org/changeset/274166
1807 2021-03-09 Don Olmstead <don.olmstead@sony.com>
1809 GLib JSC API headers should only include other GLib JSC API headers
1810 https://bugs.webkit.org/show_bug.cgi?id=222803
1812 Reviewed by Michael Catanzaro.
1814 GTK and WPE both build the JavaScriptCore GLib API. However they diverged with their CMake
1815 variable names for the directory containing jsc. Declare a single variable for that
1816 directory, DERIVED_SOURCES_JAVASCRIPTCORE_GLIB_DIR, that is shared between GLib ports.
1818 Remove the GLIB_API_DIR variant which will just be replaced with
1819 ${DERIVED_SOURCES_JAVASCRIPTCORE_GLIB_DIR}/jsc in the CMake code.
1821 * Source/cmake/OptionsGTK.cmake:
1822 * Source/cmake/OptionsWPE.cmake:
1824 2021-03-09 Michael Catanzaro <mcatanzaro@gnome.org>
1826 [GTK] Reenable -fvisibility=hidden
1827 https://bugs.webkit.org/show_bug.cgi?id=181916
1829 Reviewed by Don Olmstead.
1831 In non-DEVELOPER_MODE builds, we rely on a linker version script to hide symbols that we
1832 don't want to export. Building with hidden visibility might seem redundant with this, but
1833 actually building with hidden visibility has advantages anyway. See
1834 https://gcc.gnu.org/wiki/Visibility.
1836 Note that I'm not confident GTK port can safely use -fvisibility-inlines-hidden, since it's
1837 split between two shared objects. Also, because GTK is split into two shared objects, GTK
1838 needs to build bmalloc and WTF as CMake OBJECT libraries, which is effectively the same as
1839 using -Wl,--whole-archive to prevent symbols from being prematurely stripped away.
1841 P.S. Major credit to Don Olmstead, who did most of the work to make this possible, which has
1842 already landed in previous patches.
1844 * Source/cmake/OptionsGTK.cmake:
1846 2021-03-05 Michael Catanzaro <mcatanzaro@gnome.org>
1848 [GTK] Remove ADD_WHOLE_ARCHIVE_TO_LIBRARIES
1849 https://bugs.webkit.org/show_bug.cgi?id=222826
1851 Reviewed by Don Olmstead.
1853 I don't know why it's no longer needed, but GTK links without it, so it can go away.
1855 * Source/cmake/OptionsGTK.cmake:
1857 2021-03-05 Don Olmstead <don.olmstead@sony.com>
1859 [CMake] Bump cmake_minimum_required version to 3.12 or later
1860 https://bugs.webkit.org/show_bug.cgi?id=221727
1861 <rdar://problem/74454980>
1863 Reviewed by Konstantin Tokarev.
1865 Updates the minimum version to 3.12. In CMake 3.12 OBJECT library functionality was
1866 expanded to the point where they can successfully be used as a replacement for
1867 --whole-archive within WebKit. The check in JSCOnly for the minimum version before
1868 using hidden visibility was removed accordingly.
1871 * Source/cmake/OptionsJSCOnly.cmake:
1873 2021-03-05 ChangSeok Oh <changseok@webkit.org>
1875 AVIF decoding support
1876 https://bugs.webkit.org/show_bug.cgi?id=207750
1878 Reviewed by Philippe Normand.
1880 This patch brings an initial support of AVIF image format to the gtk port.
1881 AVIF is a new royalty-free image format derived from the keyframes of AV1 video.
1882 FireFox and Chromium-variant browsers already support it. Its specification can be found
1883 at https://rawcdn.githack.com/AOMediaCodec/av1-avif/67a92add6cd642a8863e386fa4db87954a6735d1/index.html
1884 This patch aims to land a build option for AVIF and a basic decoding ability
1885 for still images by using libavif. Animated AVIF images will be covered later.
1887 * Source/cmake/FindAVIF.cmake: Added to find libavif.
1888 * Source/cmake/OptionsGTK.cmake: A build option, USE_AVIF is added.
1890 2021-03-03 Commit Queue <commit-queue@webkit.org>
1892 Unreviewed, reverting r273814.
1893 https://bugs.webkit.org/show_bug.cgi?id=222676
1895 Unresolved types in JavaScriptCore-4.0.gir
1899 "[CMake] JavaScriptCore GLib headers should be copies"
1900 https://bugs.webkit.org/show_bug.cgi?id=222625
1901 https://trac.webkit.org/changeset/273814
1903 2021-03-03 Don Olmstead <don.olmstead@sony.com>
1905 [CMake] JavaScriptCore GLib headers should be copies
1906 https://bugs.webkit.org/show_bug.cgi?id=222625
1908 Reviewed by Michael Catanzaro.
1910 Specify the directories for JavaScriptCore GLib headers and derived sources.
1912 * Source/cmake/OptionsGTK.cmake:
1913 * Source/cmake/OptionsWPE.cmake:
1915 2021-03-01 Per Arne <pvollan@apple.com>
1917 [Win] Fix build failure
1918 https://bugs.webkit.org/show_bug.cgi?id=222576
1919 <rdar://problem/74590803>
1920 Reviewed by Brent Fulgham.
1922 It appears a recent change has unintentionally enabled WebInspectorUI on Apple Win. Address this by explicitly disabling it.
1924 * Source/cmake/OptionsAppleWin.cmake:
1926 2021-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
1928 Unreviewed. [GTK] Bump version numbers
1930 * Source/cmake/OptionsGTK.cmake:
1932 2021-02-26 Imanol Fernandez <ifernandez@igalia.com>
1934 Implement OpenXR port graphics binding
1935 https://bugs.webkit.org/show_bug.cgi?id=222173
1937 Reviewed by Sergio Villar Senin.
1939 Enable OpenXR defines required for EGL graphics binding.
1941 * Source/cmake/OptionsWPE.cmake:
1943 2021-02-26 Carlos Garcia Campos <cgarcia@igalia.com>
1945 [GTK][WPE] Bump libsoup3 version to 2.99.1
1946 https://bugs.webkit.org/show_bug.cgi?id=222413
1948 Reviewed by Adrian Perez de Castro.
1950 * Source/cmake/OptionsGTK.cmake:
1951 * Source/cmake/OptionsWPE.cmake:
1953 2021-02-24 Cameron McCormack <heycam@apple.com>
1955 Fix typo in Introduction.md.
1956 https://bugs.webkit.org/show_bug.cgi?id=222387
1958 Reviewed by Ryosuke Niwa.
1962 2021-02-23 Don Olmstead <don.olmstead@sony.com>
1964 [CMake] Fix JSCOnly build on Windows
1965 https://bugs.webkit.org/show_bug.cgi?id=222316
1967 Reviewed by Michael Catanzaro.
1969 Turn off ENABLE_WEBASSEMBLY for Windows on JSCOnly now that its possible to build it
1972 * Source/cmake/OptionsJSCOnly.cmake:
1974 2021-02-22 Carlos Garcia Campos <cgarcia@igalia.com>
1976 [SOUP] Add support for libsoup3
1977 https://bugs.webkit.org/show_bug.cgi?id=222093
1979 Reviewed by Adrian Perez de Castro.
1981 * Source/cmake/FindLibSoup.cmake:
1982 * Source/cmake/OptionsGTK.cmake:
1983 * Source/cmake/OptionsWPE.cmake:
1985 2021-02-18 Martin Robinson <mrobinson@igalia.com>
1987 [GTK][WPE] Implement support for CSS Scroll Snap
1988 https://bugs.webkit.org/show_bug.cgi?id=203684
1990 Reviewed by Carlos Garcia Campos.
1992 Add initial support for css-scroll-snap on WebKitGTK+ and WebKitWPE. This
1993 adds support for all types of scroll snapping that WebKit supports apart
1994 from mouse wheel snapping. Support for that will be added in a followup
1997 * Source/cmake/OptionsGTK.cmake: Enable scroll snapping when experimental features
1999 * Source/cmake/OptionsWPE.cmake: Ditto.
2001 2021-02-16 Tim Horton <timothy_horton@apple.com>
2003 Local macCatalyst builds should not build WebInspectorUI
2004 https://bugs.webkit.org/show_bug.cgi?id=221992
2006 Reviewed by Wenson Hsieh.
2009 This project is not used in macCatalyst, and is not even built in production builds.
2010 We should stop building it in local release/debug builds as well.
2012 2021-02-11 Don Olmstead <don.olmstead@sony.com>
2014 [CMake] WEBKIT_EXECUTABLE can incorrectly link framework
2015 https://bugs.webkit.org/show_bug.cgi?id=221703
2017 Reviewed by Michael Catanzaro.
2019 After r272484 which added an additional test for TestJavaScriptCore the PlayStation build
2020 began failing with an unresolved symbol in bmalloc. On PlayStation both WTF and bmalloc
2021 are linked into JavaScriptCore. That library was building successfully which implied that
2022 WTF was being erroniously linked into TestJavaScriptCore.
2024 Inside _WEBKIT_EXECUTABLE_LINK_FRAMEWORK there was an invalid conditional which was causing
2025 WTF to be linked. Fixed the logic to ensure that if the requested framework is linked into
2026 another framework that is being linked then it is not added to the linker.
2028 * Source/cmake/WebKitMacros.cmake:
2030 2021-02-10 Don Olmstead <don.olmstead@sony.com>
2032 [CMake] Enable hidden visibility on JSCOnly
2033 https://bugs.webkit.org/show_bug.cgi?id=221726
2035 Reviewed by Yusuke Suzuki.
2037 Turn on hidden visibility for all *NIX ports of JSCOnly. To properly export the symbols
2038 from WTF/bmalloc OBJECT libraries are used. This requires CMake 3.12 or later to
2041 * Source/cmake/OptionsJSCOnly.cmake:
2043 2021-02-10 Christopher Reid <chris.reid@sony.com>
2045 [PlayStation] Add initial RESOURCE_USAGE implementation
2046 https://bugs.webkit.org/show_bug.cgi?id=221706
2048 Reviewed by Ross Kirsling.
2050 * Source/cmake/OptionsPlayStation.cmake:
2052 2021-02-10 Philippe Normand <pnormand@igalia.com>
2054 [WPE] Optionally build Cog as external project and replacement for MiniBrowser
2055 https://bugs.webkit.org/show_bug.cgi?id=221518
2057 Reviewed by Adrian Perez de Castro.
2059 * Source/cmake/OptionsWPE.cmake: New variable for JSC forwarded headers path, useful
2060 uninstalled builds of projects depending on JSC.
2062 2021-02-09 Jonathan Bedard <jbedard@apple.com>
2064 AX: introduction.md broken architecture.png link
2065 https://bugs.webkit.org/show_bug.cgi?id=221607
2066 <rdar://problem/74140397>
2068 Reviewed by Sam Weinig.
2070 * Introduction.md: webkit2-process-architecture.png Moved to resources.
2072 2021-02-08 Alicia Boya García <aboya@igalia.com>
2074 ConsoleMessage: Don't encode string JSONLogValue's as JSON
2075 https://bugs.webkit.org/show_bug.cgi?id=221421
2077 Reviewed by Eric Carlson.
2079 Enable JavaScriptCore API tests.
2081 * Source/cmake/WebKitCommon.cmake:
2083 2021-02-05 Don Olmstead <don.olmstead@sony.com>
2085 [MSVC] Catalog warnings
2086 https://bugs.webkit.org/show_bug.cgi?id=199248
2088 Unreviewed build fix.
2090 Missed a warning generated when building AppleWin.
2092 * Source/cmake/OptionsMSVC.cmake:
2094 2021-02-05 Don Olmstead <don.olmstead@sony.com>
2096 [MSVC] Catalog warnings
2097 https://bugs.webkit.org/show_bug.cgi?id=199248
2099 Reviewed by Fujii Hironori.
2101 Catalog all the MSVC warnings providing the message and a link to documentation
2102 for the warning. Some warnings are noted as being against the style guide so they
2103 won't be addressed. All other warnings could potentially be fixed in the codebase.
2105 * Source/cmake/OptionsMSVC.cmake:
2107 2021-02-04 Adrian Perez de Castro <aperez@igalia.com>
2109 Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.31.1 release
2111 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
2113 2021-02-04 Philippe Normand <pnormand@igalia.com>
2115 [GStreamer] Misc Thunder nitpicks
2116 https://bugs.webkit.org/show_bug.cgi?id=221398
2118 Reviewed by Xabier Rodriguez-Calvar.
2120 * Source/cmake/FindThunder.cmake: Look-up Thunder through pkg-config before attempting a
2121 direct libocdm lookup.
2123 2021-02-01 Saam Barati <sbarati@apple.com>
2125 Lazily create m_windowCloseWatchpoints so we don't mistakenly think we have a frame when re-associating a document to a given cached frame
2126 https://bugs.webkit.org/show_bug.cgi?id=221098
2129 Reviewed by Ryosuke Niwa and Mark Lam.
2131 * ManualTests/dont-create-invalid-watchpoint-when-going-back.html: Added.
2132 * ManualTests/resources/empty-text.txt: Added.
2133 * ManualTests/resources/full_results.json: Added.
2134 * ManualTests/resources/test-results-page.html: Added.
2136 2021-02-01 Don Olmstead <don.olmstead@sony.com>
2138 [Curl] Enable FTP protocol only when ENABLE_FTPDIR is on
2139 https://bugs.webkit.org/show_bug.cgi?id=220941
2141 Reviewed by Fujii Hironori.
2143 Turn off ENABLE_FTPDIR for WinCairo. The version of cURL used has FTP support explicitly
2146 * Source/cmake/OptionsWin.cmake:
2148 2021-01-27 Yusuke Suzuki <ysuzuki@apple.com>
2150 WebAssembly: add support for stream APIs
2151 https://bugs.webkit.org/show_bug.cgi?id=173105
2153 Reviewed by Keith Miller.
2155 * Source/cmake/OptionsFTW.cmake:
2156 * Source/cmake/WebKitFeatures.cmake:
2158 2021-01-27 Angelos Oikonomopoulos <angelos@igalia.com>
2160 Set ruby-indent-level to 4
2161 https://bugs.webkit.org/show_bug.cgi?id=220982
2163 Reviewed by Fujii Hironori.
2165 All the ruby source files seem to default to 4 as the indent
2166 level; make it official.
2171 2021-01-23 Xan Lopez <xan@igalia.com>
2173 [JSC] Allow to build WebAssembly without B3
2174 https://bugs.webkit.org/show_bug.cgi?id=220365
2176 Reviewed by Yusuke Suzuki.
2178 Make the WebAssembly feature depend on Baseline JIT, not B3
2179 JIT. Also add a WEBASSEMBLY_B3JIT feature to enable or disable the
2180 B3 tier in WebAssembly.
2182 * Source/cmake/WebKitFeatures.cmake: disable on 32bit.
2184 2021-01-21 Fujii Hironori <Hironori.Fujii@sony.com>
2186 Remove ENABLE_USERSELECT_ALL macro which is enabled for all ports
2187 https://bugs.webkit.org/show_bug.cgi?id=100424
2189 Reviewed by Don Olmstead.
2191 * Source/cmake/OptionsMac.cmake:
2192 * Source/cmake/WebKitFeatures.cmake:
2194 2021-01-20 Yusuke Suzuki <ysuzuki@apple.com>
2196 Unreviewed, ANGLE should not be built in JSCOnly port
2198 ANGLE is not a part of JSC. Do not build it.
2200 * Source/cmake/OptionsJSCOnly.cmake:
2202 2021-01-19 Lauro Moura <lmoura@igalia.com>
2204 REGRESSION(r271580) [GTK] LTS/Debian build failure due to unsupported g-ir-scanner parameter
2205 https://bugs.webkit.org/show_bug.cgi?id=220730
2207 Reviewed by Philippe Normand.
2209 * Source/cmake/FindGObjectIntrospection.cmake: Expose variable about the
2210 presence of --sources-top-dirs.
2212 2021-01-14 Jonathan Bedard <jbedard@apple.com>
2214 [GitHub] Reference GitHub repository in readme
2215 https://bugs.webkit.org/show_bug.cgi?id=220611
2216 <rdar://problem/73173367>
2218 Reviewed by Aakash Jain.
2220 * ReadMe.md: Reference GitHub repository.
2222 2021-01-12 Fujii Hironori <Hironori.Fujii@sony.com>
2224 [PlayStation] Enable ENABLE_USERSELECT_ALL for -webkit-user-select:all support
2225 https://bugs.webkit.org/show_bug.cgi?id=220533
2227 Reviewed by Don Olmstead.
2229 * Source/cmake/OptionsPlayStation.cmake: Removed the line disabling ENABLE_USERSELECT_ALL.
2231 2021-01-12 Philippe Normand <pnormand@igalia.com>
2233 [GStreamer] Bump version requirement
2234 https://bugs.webkit.org/show_bug.cgi?id=220356
2236 Reviewed by Xabier Rodriguez-Calvar.
2238 * Source/cmake/GStreamerChecks.cmake: Bump required version to 1.14.
2240 2021-01-12 Xabier Rodriguez Calvar <calvaris@igalia.com>
2242 [GStreamer] Switch from ENABLE_ to USE_ in native audio/video and text sink options
2243 https://bugs.webkit.org/show_bug.cgi?id=220515
2245 Reviewed by Philippe Normand.
2247 * Source/cmake/GStreamerDefinitions.cmake: Add USE_ definitions.
2248 * Source/cmake/WebKitFeatures.cmake: Remove global ENABLE_
2251 2021-01-12 Carlos Garcia Campos <cgarcia@igalia.com>
2253 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.31.1 release
2255 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2257 2021-01-11 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
2259 [PlayStation] Add MiniBrowser
2260 https://bugs.webkit.org/show_bug.cgi?id=220359
2262 Reviewed by Don Olmstead.
2264 Enable Fullscreen API.
2266 * Source/cmake/OptionsPlayStation.cmake:
2268 2021-01-11 Xabier Rodriguez Calvar <calvaris@igalia.com>
2270 [GStreamer] Add support to build with native audio and video
2271 https://bugs.webkit.org/show_bug.cgi?id=220087
2273 Reviewed by Philippe Normand.
2275 * Source/cmake/GStreamerDefinitions.cmake: Enable TEXT_SINK.
2276 * Source/cmake/WebKitFeatures.cmake: Declare TEXT_SINK, NATIVE_VIDEO and NATIVE_AUDIO.
2278 2021-01-08 Ryan Hostetler <rhost@apple.com>
2280 Add support for source caching between platforms
2281 https://bugs.webkit.org/show_bug.cgi?id=220439
2284 Reviewed by Andy Estes.
2286 Include WebInspectorUI Source during any installsrc phase.
2290 2021-01-08 Fujii Hironori <Hironori.Fujii@sony.com>
2292 [Win] Enable ENABLE_USERSELECT_ALL for -webkit-user-select:all support
2293 https://bugs.webkit.org/show_bug.cgi?id=118740
2295 Reviewed by Don Olmstead.
2297 This change also fixes the assertion failure of
2298 editing/inserting/insert-list-user-select-none-crash.html
2301 * Source/cmake/OptionsFTW.cmake: Removed the line disabling ENABLE_USERSELECT_ALL.
2302 * Source/cmake/OptionsWin.cmake: Ditto.
2304 2021-01-07 Ryan Hostetler <rhost@apple.com>
2306 make clean/installsrc fail: You cannot specify -alltargets and also specify individual targets.
2307 https://bugs.webkit.org/show_bug.cgi?id=220370
2310 Reviewed by Andy Estes.
2312 Update hardcoded '-alltargets' to use new XCODE_TARGET variable.
2316 2021-01-07 Monson Shao <holymonson@gmail.com>
2318 [CMake] Add USE_APPLE_ICU option
2319 https://bugs.webkit.org/show_bug.cgi?id=220081
2321 Reviewed by Yusuke Suzuki.
2323 Add USE_APPLE_ICU option to allow non-Mac ports (GTK or JSCOnly) on Darwin could build with
2326 * Source/cmake/OptionsCommon.cmake:
2327 * Source/cmake/WebKitFindPackage.cmake:
2329 2021-01-06 Alexey Proskuryakov <ap@apple.com>
2331 Make svn status ignore Python 3 __pycache__ directories.
2335 Python 2 *.pyc files are still inconsistently handled via svn:ignore on each
2336 directory, but it is not worth cleaning up before GitHub move.
2338 * Tools: Added property svn:global-ignores.
2340 2021-01-06 Fujii Hironori <Hironori.Fujii@sony.com>
2342 [GTK][CMake] Add a build switch USE_OPENGL_OR_ES to be able to disable OpenGL and ES
2343 https://bugs.webkit.org/show_bug.cgi?id=220183
2345 Reviewed by Kenneth Russell.
2347 r270477 removed ENABLE_GRAPHICS_CONTEXT_GL macro and build switch,
2348 but GTK port still needs the build switch. Revert r270477
2349 partially to restore the build switch and rename it to
2352 * Source/cmake/OptionsGTK.cmake:
2354 2021-01-05 Fujii Hironori <Hironori.Fujii@sony.com>
2356 [WinCairo][curl] Enable CURLSSLOPT_NATIVE_CA flag to use system's CA certs instead of cacert.pem
2357 https://bugs.webkit.org/show_bug.cgi?id=220258
2359 Reviewed by Don Olmstead.
2361 Libcurl 7.71 added a new flag CURLSSLOPT_NATIVE_CA to use the
2362 operating system's native CA store only for Windows. Use the flag
2365 * Source/cmake/OptionsWinCairo.cmake: Bumped the minimum Curl version.
2367 2021-01-04 Lauro Moura <lmoura@igalia.com>
2369 [WebXR][WPE] Build fails without openxr installed
2370 https://bugs.webkit.org/show_bug.cgi?id=220250
2372 Reviewed by Carlos Alberto Lopez Perez.
2374 * Source/cmake/FindOpenXR.cmake: Fix some names and export
2376 * Source/cmake/OptionsWPE.cmake: Fail config is WebXR is enabled but
2377 couldn't find OpenXR.
2379 2021-01-04 Jeff Miller <jeffm@apple.com>
2381 Update user-visible copyright strings to include 2021
2382 https://bugs.webkit.org/show_bug.cgi?id=219901
2384 Reviewed by Anders Carlsson.
2386 * Source/cmake/tools/scripts/COPYRIGHT-END-YEAR:
2388 2020-12-23 Fujii Hironori <Hironori.Fujii@sony.com>
2390 [WinCairo] Enable WebGL 2
2391 https://bugs.webkit.org/show_bug.cgi?id=192314
2393 Reviewed by Kenneth Russell.
2395 * Source/cmake/OptionsWin.cmake: Turned ENABLE_WEBGL2 on.
2397 2020-12-23 Monson Shao <holymonson@gmail.com>
2399 [CMake] Fix seperated include dir of harfbuzz and harfbuzz-icu
2400 https://bugs.webkit.org/show_bug.cgi?id=220082
2402 Reviewed by Alex Christensen.
2404 In some distros (NixOS) harfbuzz and harfbuzz-icu may have different include dir.
2406 * Source/cmake/FindHarfBuzz.cmake:
2408 2020-12-21 Ryan Hostetler <rhost@apple.com>
2410 $(findstring iphone,$(SDKROOT)) fails when SDKROOT is not lowercase
2411 https://bugs.webkit.org/show_bug.cgi?id=219993
2414 Reviewed by Darin Adler.
2416 Update SDKROOT evaluation to be lowercase and SDK filename only.
2420 2020-12-16 Fujii Hironori <Hironori.Fujii@sony.com>
2422 [WinCairo] Enable USE_ANGLE
2423 https://bugs.webkit.org/show_bug.cgi?id=219421
2425 Reviewed by Don Olmstead.
2427 * Source/cmake/OptionsWinCairo.cmake:
2429 2020-12-13 Don Olmstead <don.olmstead@sony.com>
2431 [CMake] Version of LibPSL not reported
2432 https://bugs.webkit.org/show_bug.cgi?id=219837
2434 Reviewed by Adrian Perez de Castro.
2436 When determining the version of LibPSL from the header file LIBPSL_VERSION was set
2437 but the VERSION_VAR reported was LibPSL_VERSION. Consistently use LibPSL_VERSION
2438 within the file to prevent this.
2440 Additionally LibPSL_LIBRARY not LibPSL_LIBRARIES should be marked_as_advanced.
2442 * Source/cmake/FindLibPSL.cmake:
2444 2020-12-11 Don Olmstead <don.olmstead@sony.com>
2446 [CMake] Determine correct visibility for linked frameworks
2447 https://bugs.webkit.org/show_bug.cgi?id=210366
2449 Reviewed by Michael Catanzaro.
2451 WebKit has some frameworks that are compiled statically into a larger shared library. For
2452 example Apple compiles bmalloc and WTF into JavaScriptCore. This means the JavaScriptCore
2453 framework also exposes the symbols for those two libraries and that targets depending
2454 on WTF or bmalloc should link to JavaScriptCore and never to WTF or bmalloc directly.
2456 The CMake code allows each port to decide the type of library for a WEBKIT_FRAMEWORK.
2457 This means there are many different combinations that it needs to support. To ensure that
2458 everything links properly some bookkeeping is required.
2460 WEBKIT_FRAMEWORK now uses ${target}_FRAMEWORKS to determine how to link the frameworks
2461 it depends on. First the macro determines if the framework is a SHARED library or is linked
2462 into a shared library, and if so it is linked as PUBLIC. If the framework itself is not a
2463 SHARED library, then it links other STATIC/OBJECT framework as PUBLIC. If the framework
2464 itself is SHARED then any framework that is a STATIC/OBJECT library is linked as PRIVATE
2465 to stop propagation. The linked framework's header directories are added to the
2466 WebKit::${framework} target to allow the framework to present as that framework. A global
2467 property is set to inform consumers that they should link to this different framework
2468 to get the requested framework.
2470 This ensures that all ports can ship with hidden visibility turned on which is a precursor
2471 to a port turning on link time optimization (LTO).
2473 * Source/cmake/WebKitMacros.cmake:
2475 2020-12-10 Don Olmstead <don.olmstead@sony.com>
2477 [CMake] Determine when to use $<TARGET_OBJECTS> for executables
2478 https://bugs.webkit.org/show_bug.cgi?id=219648
2480 Reviewed by Michael Catanzaro.
2482 When a WebKit framework is declared as an OBJECT library the WebKit::${framework} ALIAS
2483 does not propagate the objects to the executable being built. As a workaround ports will
2484 explicitly add $<TARGET_OBJECTS> to the list of libraries being linked. There is already
2485 enough information to determine when $<TARGET_OBJECTS> is needed so this decision is moved
2486 into the WEBKIT_EXECUTABLE macros.
2488 An additional ${taget_name}_FRAMEWORKS variable is added which specifies the WebKit
2489 frameworks being used. This will link the WebKit::${framework} alias and if necessary the
2490 associated $<TARGET_OBJECTS>.
2492 This functionality will be expanded upon when support for ${target_name}_FRAMEWORKS is
2493 added to WebKit frameworks to support hidden visibility across ports.
2495 * Source/cmake/WebKitMacros.cmake:
2497 2020-12-07 Don Olmstead <don.olmstead@sony.com>
2499 [CMake] Remove WEBKIT_WRAP_SOURCELIST
2500 https://bugs.webkit.org/show_bug.cgi?id=196916
2502 Reviewed by Michael Catanzaro.
2504 WEBKIT_WRAP_SOURCELIST macro is used only to adjust source groups in Visual Studio
2505 projects without any impact on build process. Its references variable specific to
2506 particular targets (WebCore) which contradicts our goal of having target-oriented
2507 CMake project. It can be reintroduced later in a more clean way, in case anyone needs
2508 to have such grouping.
2510 * Source/cmake/WebKitMacros.cmake:
2512 2020-12-05 Fujii Hironori <Hironori.Fujii@sony.com>
2514 Remove ENABLE_GRAPHICS_CONTEXT_GL by replacing it with ENABLE(WEBGL)
2515 https://bugs.webkit.org/show_bug.cgi?id=219551
2517 Reviewed by Kenneth Russell.
2519 * Source/CMakeLists.txt:
2520 * Source/cmake/GStreamerDependencies.cmake:
2521 * Source/cmake/OptionsFTW.cmake:
2522 * Source/cmake/OptionsGTK.cmake:
2523 * Source/cmake/OptionsMac.cmake:
2524 * Source/cmake/OptionsPlayStation.cmake:
2525 * Source/cmake/OptionsWPE.cmake:
2526 * Source/cmake/OptionsWinCairo.cmake:
2528 2020-11-26 Lauro Moura <lmoura@igalia.com>
2530 [GTK][GTK4] Building with GObject-Introspection support does not work
2531 https://bugs.webkit.org/show_bug.cgi?id=219221
2533 Reviewed by Carlos Garcia Campos.
2535 * Source/cmake/OptionsGTK.cmake: Allow introspection with GTK4.
2537 2020-11-26 Fujii Hironori <Hironori.Fujii@sony.com>
2539 [WinCairo] Enable GPU process
2540 https://bugs.webkit.org/show_bug.cgi?id=219294
2542 Reviewed by Don Olmstead.
2544 * Source/cmake/OptionsWin.cmake: Turned ENABLE_GPU_PROCESS on for WinCairo.
2546 2020-11-26 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
2548 [PlayStation] Enable ResourceLoadStatistics
2549 https://bugs.webkit.org/show_bug.cgi?id=219292
2551 Reviewed by Fujii Hironori.
2553 * Source/cmake/OptionsPlayStation.cmake:
2555 2020-11-20 Don Olmstead <don.olmstead@sony.com>
2558 https://bugs.webkit.org/show_bug.cgi?id=219206
2560 Reviewed by Anders Carlsson.
2562 Remove the ability to set ENABLE_QUOTA. The Storage Quota API is deprecated and no
2563 WebKit port is enabling it.
2565 * Source/cmake/OptionsFTW.cmake:
2566 * Source/cmake/OptionsWin.cmake:
2567 * Source/cmake/WebKitFeatures.cmake:
2568 * Source/cmake/tools/vsprops/FeatureDefines.props:
2569 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2571 2020-11-09 Michael Catanzaro <mcatanzaro@gnome.org>
2573 Enable llint asm on aarch64 when USE(64KB_PAGE_BLOCK) is enabled
2574 https://bugs.webkit.org/show_bug.cgi?id=218613
2576 Reviewed by Carlos Alberto Lopez Perez.
2578 Normally we fall back to cloop when JIT is not supported. But on aarch64, llint asm is well-
2579 supported, so it is safe to use that here. This will only happen on aarch64, and only when
2580 USE(64KB_PAGE_BLOCK) is enabled, which should probably only be used by RHEL and SUSE.
2581 Everyone else should get the JIT.
2583 * Source/cmake/WebKitFeatures.cmake:
2585 2020-11-04 Sergey Rubanov <chi187@gmail.com>
2587 Fix JSC build on macOS Big Sur
2588 https://bugs.webkit.org/show_bug.cgi?id=218566
2590 Reviewed by David Kilzer.
2592 * Source/cmake/WebKitFindPackage.cmake:
2594 2020-11-04 Michael Catanzaro <mcatanzaro@gnome.org>
2596 Add new build option USE(64KB_PAGE_BLOCK)
2597 https://bugs.webkit.org/show_bug.cgi?id=217989
2599 Reviewed by Yusuke Suzuki.
2601 Why do we need this option? Because JSC and bmalloc both want to know the userspace page
2602 size at compile time, which is impossible on Linux because it's a runtime setting. We
2603 cannot test the system page size at build time in hopes that it will be the same on the
2604 target system, because (a) cross compiling wouldn't work, and (b) the build system could
2605 use a different page size than the target system (which will be true for Fedora aarch64,
2606 because Fedora is built using RHEL), so the best we can do is guess based on the target CPU
2607 architecture. In practice, guessing works for all architectures except aarch64 (unless
2608 unusual page sizes are used), but it fails for aarch64 because distros are split between
2609 using 4 KB and 64 KB pages there. Most distros (including Fedora) use 4 KB, but RHEL uses
2610 64 KB. SUSE actually supports both. Since there is no way to guess correctly, the best we
2611 can do is provide an option for it. You should probably only use this if building for
2612 aarch64. Otherwise, known CPUs except PowerPC will use 4 KB, while PowerPC and unknown CPUs
2613 will use 64 KB (see wtf/PageBlock.h). aarch64 will continue to default to 4 KB because this
2614 is a much better default on systems where it doesn't crash.
2616 Having one flag will help avoid mistakes. E.g. both RHEL and SUSE were manually passing
2617 -DENABLE_JIT=OFF and -DUSE_SYSTEM_MALLOC=ON, but we missed -DENABLE_C_LOOP=ON and
2618 -DENABLE_SAMPLING_PROFILER=OFF, so wound up running with both JIT and cloop disabled, a
2619 configuration not otherwise used on Linux (and not supported by GTK or WPE ports). It will
2620 be easier to not mess up if we only have to pass one special build option. This will also
2621 allow us to stop patching PageBlock.h downstream, because I don't like downstream patches
2622 that we have to keep forever.
2624 * Source/cmake/WebKitFeatures.cmake:
2626 2020-10-30 Ryosuke Niwa <rniwa@webkit.org>
2628 Add Introduction to WebKit
2629 https://bugs.webkit.org/show_bug.cgi?id=217017
2631 Rubber-stamped by Simon Fraser.
2633 Added the basic introductory documentation for WebKit.
2635 * Introduction.md: Added.
2636 * resources/js-wrapper.png: Added.
2637 * resources/webkit2-process-architecture.png: Added.
2638 * resources/xcode-add-file.png: Added.
2639 * resources/xcode-build-settings-for-run.png: Added.
2640 * resources/xcode-export-header.png: Added.
2641 * resources/xcode-scheme-dumprendertree.png: Added.
2642 * resources/xcode-scheme-layout-test.png: Added.
2643 * resources/xcode-workspace-build-location.png: Added.
2644 * resources/xcode-workspace-settings.png: Added.
2646 2020-10-30 Jonathan Bedard <jbedard@apple.com>
2648 Github mirror ReadMe need to update
2649 https://bugs.webkit.org/show_bug.cgi?id=218120
2650 <rdar://problem/70861595>
2652 Reviewed by Aakash Jain.
2656 2020-10-27 Keith Rollin <krollin@apple.com>
2658 Fix "usage" message when invoking `ar -V`
2659 https://bugs.webkit.org/show_bug.cgi?id=218255
2660 <rdar://problem/70735674>
2662 Reviewed by Fujii Hironori.
2664 The Mac/BSD version of `ar` does not support the -V flag. This flag is
2665 used unconditionally in OptionsCommon.cmake when trying to determine
2666 if the installed `ar` supports the thinning of archives, leading to a
2667 "usage" message being emitted on macOS.
2669 Avoid this message by capturing the error-output. Examine the output
2670 to see if it's a "usage" message. If so, then treat the `ar` as one
2671 that does not support thinning. Any other error-output is printed as a
2672 warning. If there is no error-output, continue processing as normal.
2674 * Source/cmake/OptionsCommon.cmake:
2676 2020-10-27 Brian Burg <bburg@apple.com>
2678 Web Inspector: add ENABLE(INSPECTOR_EXTENSIONS) to feature defines
2679 https://bugs.webkit.org/show_bug.cgi?id=218237
2680 <rdar://problem/69968787>
2682 Reviewed by Antti Koivisto.
2684 * Source/cmake/OptionsMac.cmake:
2685 * Source/cmake/WebKitFeatures.cmake:
2686 Add ENABLE(INSPECTOR_EXTENSIONS), which is only on for the Cocoa macOS port.
2688 2020-10-26 Keith Rollin <krollin@apple.com>
2690 Move some initialization code from top-level CMakeLists.txt to WebKitCommon.cmake
2691 https://bugs.webkit.org/show_bug.cgi?id=218069
2692 <rdar://problem/70556952>
2694 Reviewed by Fujii Hironori.
2696 Moving this initialization code into a central location allows other
2697 top-level CMakeLists.txt files to include WebKitCommon.cmake and get
2698 that same initialization.
2701 * Source/cmake/WebKitCommon.cmake:
2703 2020-10-23 Philippe Normand <pnormand@igalia.com>
2705 [GStreamer] Replace USE(WEBAUDIO_GSTREAMER) with USE(GSTREAMER)
2706 https://bugs.webkit.org/show_bug.cgi?id=218083
2708 Reviewed by Xabier Rodriguez-Calvar.
2710 A separate define was introduced back when we thought enabling WebAudio without enabling
2711 <audio> would be a highly relevant scenario. I don't think it is very relevant, let's clean
2714 * Source/cmake/GStreamerChecks.cmake: Wrap the WebAudio platform bits in the USE(GSTREAMER) umbrella.
2716 2020-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
2718 WebDriver: add support for wheel actions
2719 https://bugs.webkit.org/show_bug.cgi?id=217174
2721 Reviewed by Brian Burg.
2723 Enable WEBDRIVER_WHEEL_INTERACTIONS for GTK and WPE ports.
2725 * Source/cmake/OptionsGTK.cmake:
2726 * Source/cmake/OptionsWPE.cmake:
2727 * Source/cmake/WebKitFeatures.cmake:
2729 2020-10-20 Michael Catanzaro <mcatanzaro@gnome.org>
2731 [GTK] Move ENABLE_ASYNC_SCROLLING build option to right place in OptionsGTK.cmake
2732 https://bugs.webkit.org/show_bug.cgi?id=217977
2734 Unreviewed. No functional changes.
2736 * Source/cmake/OptionsGTK.cmake:
2738 2020-10-20 Adrian Perez de Castro <aperez@igalia.com>
2740 [GTK] Implement HTML5 Gamepad API
2741 https://bugs.webkit.org/show_bug.cgi?id=133847
2743 Reviewed by Michael Catanzaro.
2745 Enable the gamepad support by default for the GTK port. The option is marked PUBLIC
2746 because libmanette is not available in the current Debian "old stable" (Buster), which
2747 we need to support until September 2021.
2749 * Source/cmake/OptionsGTK.cmake: Set ENABLE_GAMEPAD to PUBLIC and ON by default.
2751 2020-10-19 Lauro Moura <lmoura@igalia.com>
2753 REGRESSION(r268115) [GTK] Build failures with GCC 7 (Ubuntu 18.04) and GCC 8 (Debian Buster)
2754 https://bugs.webkit.org/show_bug.cgi?id=217425
2756 Reviewed by Carlos Alberto Lopez Perez.
2758 The root cause is lack of proper <filesystem> support in gcc7/8 (and
2759 incompatibility with llvm's header that was included). As such, we
2760 need to check whether to use <filesystem>, <experimental/filesystem>,
2761 or fallback to the included header.
2763 Note: In some systems like Ubuntu 20.04, gcc-8 can use gcc-9's
2764 libstdc++ and link successfully, but running will fail as it should
2765 actually link with its libstc++fs to provide the correct symbols. As
2766 this is some corner case (Ubuntu's 20 default gcc is 9), LDFLAGS
2767 can be used to overcome this.
2769 * Source/cmake/OptionsCommon.cmake: Add a HAVE directive to
2770 check whether <experimental/filesystem> is the filesystem impl
2772 * Source/cmake/WebKitCompilerFlags.cmake: Test first whether
2773 <filesystem> can be used, with <experimental/filestystem> as fallback.
2775 2020-10-14 Zan Dobersek <zdobersek@igalia.com>
2777 Remove ACCELERATED_2D_CANVAS build flags and guarded code
2778 https://bugs.webkit.org/show_bug.cgi?id=217603
2780 Reviewed by Carlos Garcia Campos.
2782 Yank the CMake ENABLE_ACCELERATED_2D_CANVAS option now that it won't
2783 have any effect. FindCairoGL.cmake can also be removed.
2785 * Source/cmake/FindCairoGL.cmake: Removed.
2786 * Source/cmake/OptionsFTW.cmake:
2787 * Source/cmake/OptionsGTK.cmake:
2788 * Source/cmake/OptionsWPE.cmake:
2789 * Source/cmake/OptionsWin.cmake:
2790 * Source/cmake/WebKitFeatures.cmake:
2791 * Source/cmake/tools/vsprops/FeatureDefines.props:
2792 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2794 2020-10-13 Adrian Perez de Castro <aperez@igalia.com>
2796 [GTK] Set ENABLE_GAMEPAD=ON for developer builds
2797 https://bugs.webkit.org/show_bug.cgi?id=217493
2799 Reviewed by Carlos Garcia Campos.
2801 * Source/cmake/OptionsGTK.cmake: Make the default value of ENABLE_GAMEPAD
2802 depend on ENABLE_EXPERIMENTAL_FEATURES.
2804 2020-10-13 Michael Catanzaro <mcatanzaro@gnome.org>
2806 [WPE][GTK] ENABLE_SHAREABLE_RESOURCE should be PRIVATE build option
2807 https://bugs.webkit.org/show_bug.cgi?id=217592
2809 Reviewed by Carlos Garcia Campos.
2811 * Source/cmake/OptionsGTK.cmake:
2812 * Source/cmake/OptionsWPE.cmake:
2814 2020-10-09 Fujii Hironori <Hironori.Fujii@sony.com>
2816 [WinCairo][GraphicsLayerTextureMapper] backdrop-filter support
2817 https://bugs.webkit.org/show_bug.cgi?id=217081
2819 Reviewed by Don Olmstead.
2821 * Source/cmake/OptionsWin.cmake: Turn ENABLE_FILTERS_LEVEL_2 on for WinCairo.
2823 2020-10-08 Keith Rollin <krollin@apple.com>
2825 Remove copy-webkitlibraries-to-product-directory
2826 https://bugs.webkit.org/show_bug.cgi?id=217465
2827 <rdar://problem/70082193>
2829 Reviewed by Darin Adler.
2831 This script no longer does anything, so remove it along with the
2832 scaffolding around it that invokes it during the build.
2836 2020-10-04 Ryan Hostetler <rhost@apple.com>
2838 Submission failure with "make: *** No rule to make target `installsrc'. Stop"
2839 https://bugs.webkit.org/show_bug.cgi?id=214696
2840 <rdar://problem/62268104>
2842 Reviewed by Darin Adler.
2844 Add installsrc phase to support xbs submitproject for WebKit repository.
2845 This change allows internal tools to submit and build in a single step.
2851 2020-10-02 Keith Rollin <krollin@apple.com>
2853 Seeing "usage: basename string [suffix]" spam when using make to build
2854 https://bugs.webkit.org/show_bug.cgi?id=217231
2855 <rdar://problem/69889138>
2857 Reviewed by Darin Adler.
2859 The name of the project being built is no longer displayed when using
2860 XCBuild. Therefore, https://bugs.webkit.org/show_bug.cgi?id=216865
2861 taught the Makefile to perform this logging. The approach took
2862 advantage of a `make` variable (PATH_FROM_ROOT) that tracks the
2863 relative path from the root of the build hierarchy to the current
2864 project. However, that variable may not be initialized if the build is
2865 not initiated from the root. Therefore, don't count on that variable,
2866 and get the name of the current project by invoking `pwd`.
2870 2020-10-02 Sam Weinig <weinig@apple.com>
2872 Remove code behind ENABLE(MEDIA_SESSION), no ports enable it
2873 https://bugs.webkit.org/show_bug.cgi?id=216831
2875 Reviewed by Alex Christensen.
2877 * Source/cmake/OptionsFTW.cmake:
2878 * Source/cmake/WebKitFeatures.cmake:
2879 Remove option to build with MEDIA_SESSION, no one was doing it.
2881 2020-10-02 Karl Rackler <rackler@apple.com>
2883 Unreviewed, reverting r267796.
2885 This change is breaking the build on AzulE debug bots.
2889 "Remove code behind ENABLE(MEDIA_SESSION), no ports enable it"
2890 https://bugs.webkit.org/show_bug.cgi?id=216831
2891 https://trac.webkit.org/changeset/267796
2893 2020-10-02 Adrian Perez de Castro <aperez@igalia.com>
2895 [GTK] Build broken with ENABLE_MEDIA_STREAM enabled and ENABLE_WEB_RTC_DISABLED
2896 https://bugs.webkit.org/show_bug.cgi?id=217128
2898 Reviewed by Philippe Normand.
2900 * Source/cmake/GStreamerChecks.cmake: Only enable USE_LIBWEBRTC when both
2901 ENABLE_MEDIA_STREAM and ENABLE_WEB_RTC is defined. This prevents trying to
2902 build code that uses libwebrtc types when ENABLE_WEB_RTC is disabled but
2903 ENABLE_MEDIA_STREAM is enabled.
2905 2020-09-30 Sam Weinig <weinig@apple.com>
2907 Remove code behind ENABLE(MEDIA_SESSION), no ports enable it
2908 https://bugs.webkit.org/show_bug.cgi?id=216831
2910 Reviewed by Alex Christensen.
2912 * Source/cmake/OptionsFTW.cmake:
2913 * Source/cmake/WebKitFeatures.cmake:
2914 Remove option to build with MEDIA_SESSION, no one was doing it.
2916 2020-09-30 Philippe Normand <pnormand@igalia.com>
2918 [GStreamer] Internal audio rendering support
2919 https://bugs.webkit.org/show_bug.cgi?id=207634
2921 Reviewed by Xabier Rodriguez-Calvar.
2923 * Source/cmake/FindWPEBackend_fdo.cmake: Check for the audio extension header initially
2924 shipped in the 1.8.0 release.
2925 * Source/cmake/GStreamerChecks.cmake: Check and enable external audio rendering support if
2926 the WPEBackend-FDO audio extension was found.
2928 2020-09-29 Don Olmstead <don.olmstead@sony.com>
2930 [CMake][WebGPU] Add FindDawn module
2931 https://bugs.webkit.org/show_bug.cgi?id=217097
2933 Reviewed by Darin Adler.
2935 Add a FindDawn CMake module to use for a WebGPU implementation on non-Cocoa platforms.
2936 If ENABLE_WEBGPU is on for WinCairo it will attempt to detect Dawn.
2938 * Source/cmake/FindDawn.cmake: Added.
2939 * Source/cmake/OptionsWinCairo.cmake:
2941 2020-09-28 Keith Rollin <krollin@apple.com>
2943 Print message saying what project is being built
2944 https://bugs.webkit.org/show_bug.cgi?id=216865
2945 <rdar://problem/69408135>
2947 Reviewed by Andy Estes.
2949 XCBuild removes the progress messages saying which project/target is
2950 being built. We can't show the target, but update the Makefiles to at
2951 least show which project is being built.
2955 2020-09-27 Philippe Normand <pnormand@igalia.com>
2957 Add .ccls config file
2958 https://bugs.webkit.org/show_bug.cgi?id=216877
2960 Reviewed by Darin Adler.
2962 ccls is a stand-alone server implementing the Language Server Protocol for C, C++, and
2963 Objective-C languages. It can be used with any editor which provides an LSP client
2964 implementation. It originates from cquery.
2966 https://github.com/MaskRay/ccls/wiki
2968 It's basically used to provide semantic highlighting and code navigation. Many IDEs support
2974 2020-09-25 Fujii Hironori <Hironori.Fujii@sony.com>
2976 make_names.pl no longer needs C preprocessor
2977 https://bugs.webkit.org/show_bug.cgi?id=216953
2979 Reviewed by Sam Weinig.
2981 * Source/cmake/WebKitCompilerFlags.cmake: Removed CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS which was used only for make_names.pl.
2983 2020-09-25 Antti Koivisto <antti@apple.com>
2985 [LFC][Integration] Enable on Apple Windows port
2986 https://bugs.webkit.org/show_bug.cgi?id=216928
2987 <rdar://problem/69505961>
2989 Reviewed by Zalan Bujtas.
2991 * Source/cmake/OptionsWin.cmake:
2993 2020-09-23 Fujii Hironori <Hironori.Fujii@sony.com>
2995 Remove ENABLE_SVG_FONTS macro
2996 https://bugs.webkit.org/show_bug.cgi?id=216850
2998 Reviewed by Don Olmstead.
3000 No ports have this disabled, so remove it.
3002 * Source/cmake/OptionsFTW.cmake:
3003 * Source/cmake/OptionsMac.cmake:
3004 * Source/cmake/OptionsWin.cmake:
3005 * Source/cmake/WebKitFeatures.cmake:
3006 * Source/cmake/tools/vsprops/FeatureDefines.props:
3007 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3009 2020-09-22 Keith Rollin <krollin@apple.com>
3011 Unify debug and release target aliases
3012 https://bugs.webkit.org/show_bug.cgi?id=216863
3013 <rdar://problem/69407746>
3015 Reviewed by Tim Horton.
3017 All Makefiles have "debug", "d", "release", and "r" for build
3018 targets. Others -- but not all -- also include "dev", "develop",
3019 "development", "dep", "deploy", and "deployment". Because of this
3020 inconsistency, trying to use those additional targets didn't work. It
3021 looks like all Makefiles used to support all of those targets, but
3022 some got dropped along the way. For instance, the top-level Makefile
3023 and Source/Makefile dropped them in 2013 as part of Bug 107863. And it
3024 looks like WebKitLibraries/Makefile never had them. Given that those
3025 additional targets don't work, it seems like no one uses them, so
3026 let's remove them completely.
3030 2020-09-22 Keith Rollin <krollin@apple.com>
3032 Refactor build rules in Makefiles and Makefile.shared
3033 https://bugs.webkit.org/show_bug.cgi?id=216806
3034 <rdar://problem/69332316>
3036 Reviewed by David Kilzer.
3038 Build fix: Previous change for this bug broke the ability to perform a
3039 build with just `make`, due to that code path invoking
3040 `set-webkit-configuration` with no parameters, which causes that
3041 script to error-out.
3045 2020-09-22 Keith Rollin <krollin@apple.com>
3047 Refactor build rules in Makefiles and Makefile.shared
3048 https://bugs.webkit.org/show_bug.cgi?id=216806
3049 <rdar://problem/69332316>
3051 Reviewed by David Kilzer.
3053 Factor out the common aspects of the build rules in Makefile.shared
3054 and the various Makefiles. This allows us to more easily see what's
3055 different between the various build targets, and to apply uniform
3056 changes across all of the targets.
3062 2020-09-22 Jonathan Bedard <jbedard@apple.com>
3064 Correct instructions for building iOS in ReadMe
3065 https://bugs.webkit.org/show_bug.cgi?id=216825
3066 <rdar://problem/69372654>
3068 Reviewed by David Kilzer.
3070 * ReadMe.md: Update iOS build instructions to apply to all embedded platforms.
3072 2020-09-21 Adrian Perez de Castro <aperez@igalia.com>
3074 [CMake] Use imported targets in find module for the ATK SPI2 bridge dependency
3075 https://bugs.webkit.org/show_bug.cgi?id=216773
3077 Reviewed by Don Olmstead.
3079 * Source/cmake/FindATKBridge.cmake: Rewrite to define an ATK::Bridge imported target.
3080 * Source/cmake/OptionsWPE.cmake: Use the ATK::Bridge imported target.
3082 2020-09-16 Fujii Hironori <Hironori.Fujii@sony.com>
3084 [CMake] Add a new library target TestRunnerShared
3085 https://bugs.webkit.org/show_bug.cgi?id=216465
3087 WinCairo port is using both DRT and WTR. However, it has a problem
3088 for precompiled header builds to compile the source of
3089 TestRunnerShared twice for DRT and WTR.
3091 Add a new library target TestRunnerShared. Re-enable precompiled
3092 header for DRT and WTR for WinCairo.
3094 Reviewed by Don Olmstead.
3096 * Source/cmake/OptionsWinCairo.cmake:
3097 * Source/cmake/WebKitFS.cmake:
3099 2020-09-16 Stephan Szabo <stephan.szabo@sony.com>
3101 Remove ENABLE_METER_ELEMENT
3102 https://bugs.webkit.org/show_bug.cgi?id=216582
3104 Reviewed by Fujii Hironori.
3106 With PlayStation finally planning to turn this on,
3107 no ports had this disabled, so remove the enable flag.
3109 * Source/cmake/OptionsFTW.cmake:
3110 * Source/cmake/OptionsMac.cmake:
3111 * Source/cmake/OptionsPlayStation.cmake:
3112 * Source/cmake/OptionsWin.cmake:
3113 * Source/cmake/WebKitFeatures.cmake:
3114 * Source/cmake/tools/vsprops/FeatureDefines.props:
3115 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3117 2020-09-15 David Kilzer <ddkilzer@apple.com>
3119 WebKit should support building with clang ThreadSanitizer enabled
3120 <https://webkit.org/b/216318>
3121 <rdar://problem/31615729>
3123 Reviewed by Darin Adler.
3125 This patch doesn't attempt to resolve every potential false
3126 positive, but makes it easy to build WebKit with TSan enabled.
3129 - Update to work with `make [args] TSAN=YES`.
3131 2020-09-14 Fujii Hironori <Hironori.Fujii@sony.com>
3133 [PlayStation] Enable ENABLE_SVG_FONTS
3134 https://bugs.webkit.org/show_bug.cgi?id=216522
3136 Reviewed by Don Olmstead.
3138 * Source/cmake/OptionsPlayStation.cmake:
3140 2020-09-12 Myles C. Maxfield <mmaxfield@apple.com>
3142 [Apple Win] Add a CTFont member to FontPlatformData
3143 https://bugs.webkit.org/show_bug.cgi?id=216432
3145 Reviewed by Darin Adler.
3147 Include ***CoreText.cpp files on the Apple Win port.
3149 * Source/cmake/OptionsAppleWin.cmake:
3151 2020-09-10 Adrian Perez de Castro <aperez@igalia.com>
3153 [CMake] Use imported targets in find module for libseccomp
3154 https://bugs.webkit.org/show_bug.cgi?id=216329
3156 Reviewed by Don Olmstead.
3158 * Source/cmake/BubblewrapSandboxChecks.cmake: Use Libseccomp_FOUND.
3159 * Source/cmake/FindLibseccomp.cmake: Rewrite to define the
3160 Libseccomp::Libseccomp target, fall-back to read version from the main
3161 header, and define variables with Libseccomp_ as prefix.
3163 2020-09-04 Adrian Perez de Castro <aperez@igalia.com>
3165 Unreviewed. [WPE] Bump version numbers
3167 * Source/cmake/OptionsWPE.cmake:
3169 2020-09-04 Carlos Garcia Campos <cgarcia@igalia.com>
3171 Unreviewed. [GTK] Bump version numbers
3173 * Source/cmake/OptionsGTK.cmake:
3175 2020-09-02 Philippe Normand <pnormand@igalia.com>
3177 [Flatpak SDK] Update to FDO 20.08
3178 https://bugs.webkit.org/show_bug.cgi?id=215763
3180 Reviewed by Žan Doberšek.
3182 * .gitignore: Ignore buildstream local Flatpak repository. This is created only when
3183 manually building the SDK.
3185 2020-08-31 Stephan Szabo <stephan.szabo@sony.com>
3187 [PlayStation] Build fix for intermittent copy errors
3188 https://bugs.webkit.org/show_bug.cgi?id=215951
3190 Reviewed by Ross Kirsling.
3192 * Source/cmake/OptionsPlayStation.cmake:
3193 When copying platform specific files into the binary
3194 directory post build on executable targets, we'd
3195 intermittently get copy errors in parallel builds.
3197 2020-08-28 Adrian Perez de Castro <aperez@igalia.com>
3199 [WPE] Enable Notifications support
3200 https://bugs.webkit.org/show_bug.cgi?id=215924
3202 Reviewed by Philippe Normand.
3204 Enable web notifications support for the WPE port. The code is shared with the GTK
3205 port, but as we do not try to find and enable libnotify the default implementation
3206 is a stub: embedders can customize how to display notifications by connecting to
3207 the WebKitWebView:show-notification signal. This way we do not add any additional
3210 * Source/cmake/OptionsWPE.cmake: Flip ENABLE_NOTIFICATIONS to ON.
3212 2020-08-27 Stephan Szabo <stephan.szabo@sony.com>
3214 [PlayStation] Build fix due to memmem not always being available.
3215 https://bugs.webkit.org/show_bug.cgi?id=215893
3217 Unreviewed build fix
3219 * Source/cmake/OptionsPlayStation.cmake: Check for memmem
3221 2020-08-22 Philippe Normand <pnormand@igalia.com>
3223 [GTK][WPE] Compilation warnings with clang/gcc 10
3224 https://bugs.webkit.org/show_bug.cgi?id=215699
3226 Reviewed by Darin Adler.
3228 * Source/cmake/WebKitCompilerFlags.cmake: Disable tautological-compare and
3229 misleading-indentation warnings triggering false-positive when building JSC.
3231 2020-08-17 Carlos Garcia Campos <cgarcia@igalia.com>
3233 [GTK][WPE] Remove support for NPAPI plugins
3234 https://bugs.webkit.org/show_bug.cgi?id=215503
3236 Reviewed by Darin Adler.
3238 * Source/cmake/OptionsGTK.cmake:
3240 2020-08-12 Keith Rollin <krollin@apple.com>
3242 Remove the need for defining USE_NEW_BUILD_SYSTEM
3243 https://bugs.webkit.org/show_bug.cgi?id=215439
3245 Reviewed by Darin Adler.
3247 When building WebKit for XCBuild, we currently require that the
3248 external build system (such as the Makefile, build-webkit, etc.)
3249 defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting
3250 controls parts of our build instructions that are sensitive to when
3251 XCBuild or the Legacy build system are being used. Notably, we need to
3252 know when to use our custom “copy and modify” scripts with copying
3253 certain header files (used with the Legacy build system) vs. using the
3254 enhanced Copy Headers build phase that’s enabled with
3255 APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild).
3256 The choice of which method to copy headers is used is controlled by
3257 USE_NEW_BUILD_SYSTEM.
3259 There is no built-in build setting that we can probe to help us
3260 determine which approach to take when copying and modifying headers,
3261 which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it
3262 turns out that we can *detect* which build system is being used by
3263 taking advantage of a subtle difference between the two systems. As
3266 https://developer.apple.com/documentation/xcode-release-notes/build-system-release-notes-for-xcode-10
3268 “When an .xcconfig file contains multiple assignments of the same
3269 build setting, later assignments using $(inherited) or
3270 $(<setting_name>) will inherit from earlier assignments in the
3271 .xcconfig. The legacy build system caused every use of
3272 $(inherited) or $(<setting_name>) skip any other values defined
3273 within the .xcconfig.”
3275 This difference can be exploited as follows:
3277 WK_WHICH_BUILD_SYSTEM = not_
3278 WK_WHICH_BUILD_SYSTEM = $(inherited)legacy
3279 WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM))
3280 WK_USE_NEW_BUILD_SYSTEM_legacy = NO
3281 WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES
3283 We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the
3284 externally-defined USE_NEW_BUILD_SYSTEM.
3288 2020-08-11 Philippe Normand <pnormand@igalia.com>
3290 [GStreamer] gst-full standalone library support
3291 https://bugs.webkit.org/show_bug.cgi?id=215262
3293 Reviewed by Xabier Rodriguez-Calvar.
3295 * Source/cmake/FindGStreamer.cmake:
3296 * Source/cmake/GStreamerChecks.cmake:
3297 * Source/cmake/GStreamerDefinitions.cmake:
3299 2020-08-03 Wenson Hsieh <wenson_hsieh@apple.com>
3301 Remove the ENABLE_DATA_INTERACTION feature flag
3302 https://bugs.webkit.org/show_bug.cgi?id=215091
3304 Reviewed by Megan Gardner.
3306 * Source/cmake/OptionsFTW.cmake:
3307 * Source/cmake/WebKitFeatures.cmake:
3309 2020-07-15 Carlos Garcia Campos <cgarcia@igalia.com>
3311 [GTK4] Enable API tests
3312 https://bugs.webkit.org/show_bug.cgi?id=214344
3314 Reviewed by Adrian Perez de Castro.
3316 Build API tests for GTK4 too.
3318 * Source/cmake/OptionsGTK.cmake:
3320 2020-07-29 Adrian Perez de Castro <aperez@igalia.com>
3322 Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.29.2 release
3324 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
3326 2020-07-29 Carlos Garcia Campos <cgarcia@igalia.com>
3328 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.4 release
3330 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3332 2020-07-27 Carlos Garcia Campos <cgarcia@igalia.com>
3334 [GTK][WPE] Support for backdrop-filter
3335 https://bugs.webkit.org/show_bug.cgi?id=169988
3337 Reviewed by Adrian Perez de Castro.
3339 Enable FILTERS_LEVEL_2 by default for WPE and GTK.
3341 * Source/cmake/OptionsGTK.cmake:
3342 * Source/cmake/OptionsWPE.cmake:
3344 2020-07-27 Alberto Garcia <berto@igalia.com>
3346 [GTK] Default to OpenGL ES in arm
3347 https://bugs.webkit.org/show_bug.cgi?id=214828
3349 Reviewed by Carlos Garcia Campos.
3351 * Source/cmake/OptionsGTK.cmake:
3353 2020-07-24 Yusuke Suzuki <ysuzuki@apple.com>
3355 Add project.pbxproj editorconfig entry
3356 https://bugs.webkit.org/show_bug.cgi?id=214778
3358 Reviewed by Mark Lam.
3360 We should use tab for project.pbxproj file.
3364 2020-07-21 Adrian Perez de Castro <aperez@igalia.com>
3366 Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.29.1 release
3368 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
3370 2020-07-20 Adrian Perez de Castro <aperez@igalia.com>
3372 [CMake] Do not use ${DEVELOPER_MODE} directly, as it may be undefined
3374 Unreviewed build fix.
3376 Instead of using ${DEVELOPER_MODE} directly, which might be undefined an cause errors, set
3377 first ENABLE_DEVELOPER_MODE based on its value with SET_AND_EXPOSE_TO_BUILD(), and then use
3378 the ${ENABLE_DEVELOPER_MODE} expansion in the rest of the file.
3380 * Source/cmake/OptionsWPE.cmake:
3382 2020-07-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
3384 Unreviewed. Fixed copy&paste typos of gcrypt -> Thunder
3386 * Source/cmake/FindThunder.cmake:
3388 2020-07-11 Fujii Hironori <Hironori.Fujii@sony.com>
3390 [WinCairo] Conic gradients support
3391 https://bugs.webkit.org/show_bug.cgi?id=214216
3393 Reviewed by Sam Weinig.
3395 * Source/cmake/OptionsWin.cmake: Turn ENABLE_CSS_CONIC_GRADIENTS on.
3397 2020-07-10 Don Olmstead <don.olmstead@sony.com> and Fujii Hironori <Hironori.Fujii@sony.com>
3399 [WinCairo] WOFF2 font support
3400 https://bugs.webkit.org/show_bug.cgi?id=214174
3402 Reviewed by Per Arne Vollan.
3404 * Source/cmake/OptionsWinCairo.cmake: Unmarked fast/text/woff2-totalsfntsize.html and fast/text/woff2.html.
3406 2020-07-10 Xabier Rodriguez Calvar <calvaris@igalia.com>
3408 [GStreamer][EME][OpenCDM] Implement OpenCDM support
3409 https://bugs.webkit.org/show_bug.cgi?id=213550
3411 Reviewed by Philippe Normand.
3413 Added support to enable OpenCDM and find it it needed.
3415 * Source/cmake/FindOpenCDM.cmake: Added.
3416 * Source/cmake/OptionsGTK.cmake:
3417 * Source/cmake/OptionsWPE.cmake:
3418 * Source/cmake/WebKitFeatures.cmake:
3420 2020-07-08 Carlos Garcia Campos <cgarcia@igalia.com>
3422 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.3 release
3424 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3426 2020-07-07 Adrian Perez de Castro <aperez@igalia.com>
3428 [CMake] Fix typo in version variable assingment in FindWOFF2.cmake
3429 https://bugs.webkit.org/show_bug.cgi?id=214012
3431 Reviewed by Carlos Garcia Campos.
3433 * Source/cmake/FindWOFF2.cmake: Properly use PC_WOFF2_VERSION as the version
3434 detected from pkg-config.
3436 2020-07-04 Sergio Villar Senin <svillar@igalia.com>
3438 [Flatpak SDK] Require OpenXR 1.0.9
3439 https://bugs.webkit.org/show_bug.cgi?id=213930
3441 Reviewed by Philippe Normand.
3443 Require version 1.0.9 because is the first one that include EGL support for Monado.
3445 * Source/cmake/OptionsWPE.cmake:
3447 2020-07-03 Darin Adler <darin@apple.com>
3449 Make generate-unified-sources.sh not depend on features being listed in FEATURE_DEFINES environment variable
3450 https://bugs.webkit.org/show_bug.cgi?id=212420
3452 Reviewed by Don Olmstead.
3454 * Source/cmake/WebKitCommon.cmake: Removed call to SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS.
3455 * Source/cmake/WebKitFeatures.cmake: Removed SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS.
3456 * Source/cmake/WebKitMacros.cmake: Removed use of "--feature-flags" when invoking the
3457 generate-unified-source-bundles.rb, which also means no longer depending on the
3458 UNIFIED_SOURCE_LIST_ENABLED_FEATURES variable, which was set by the
3459 SET_CONFIGURATION_FOR_UNIFIED_SOURCE_LISTS function.
3461 2020-07-03 Sam Weinig <weinig@apple.com>
3463 Remove support for ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE
3464 https://bugs.webkit.org/show_bug.cgi?id=213932
3466 Reviewed by Darin Adler.
3468 Removes support for non-standard <input type="datetime">, currently being
3469 guarded by the macro ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE. This macro, was
3470 added back in 2013 as a temporary measure to support some engines who shipped
3471 support for <input type="datetime">. It is currently not enabled for any
3472 ports so now seems like as good a time as any to remove it.
3474 * Source/cmake/OptionsWin.cmake:
3475 * Source/cmake/WebKitFeatures.cmake:
3476 * Source/cmake/tools/vsprops/FeatureDefines.props:
3477 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3479 2020-07-02 Alex Christensen <achristensen@webkit.org>
3481 Update Mac CMake build
3483 * Source/cmake/OptionsMac.cmake:
3485 2020-07-01 Don Olmstead <don.olmstead@sony.com>
3487 [CMake] Add WOFF2 targets
3488 https://bugs.webkit.org/show_bug.cgi?id=213865
3490 Reviewed by Fujii Hironori.
3492 Rework the Find module for WOFF2 to provide targets for libwoff2common and
3493 libwoff2dec. Previously only libwoff2dec was specified in the find module. This
3494 is because pkg-config works on that platform and because shared libraries are
3495 supported. Neither is true for Windows so the module was expanded in anticipation
3496 of support for WinCairo.
3498 * Source/cmake/FindWOFF2.cmake: Added.
3499 * Source/cmake/FindWOFF2Dec.cmake: Removed.
3500 * Source/cmake/OptionsGTK.cmake:
3501 * Source/cmake/OptionsWPE.cmake:
3503 2020-06-30 Andres Gonzalez <andresg_22@apple.com>
3505 Code cleanup in AccessibilityMenuList.cpp and AXIsolatedTree.h.
3506 https://bugs.webkit.org/show_bug.cgi?id=213806
3508 Reviewed by Darin Adler.
3510 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
3512 2020-06-29 Guowei Yang <guowei_yang@apple.com>
3514 Adding Experimental Feature Flags for CoreImage backed SVG/CSS Filters
3515 https://bugs.webkit.org/show_bug.cgi?id=213578
3517 Reviewed by Darin Adler, Simon Fraser, Myles C. Maxfield.
3519 Preparing to implement CoreImage backed filter rendering
3520 Needs Compiler guards and experimental feature guard.
3522 * Source/cmake/WebKitFeatures.cmake: added definition of
3523 CoreImage-accelerated filter rendering feature flag,
3524 ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER
3526 2020-06-29 Tetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>
3528 Remove ENABLE_STREAMS_API compilation flag
3529 https://bugs.webkit.org/show_bug.cgi?id=213728
3531 Reviewed by Sam Weinig.
3533 * Source/cmake/OptionsFTW.cmake:
3534 * Source/cmake/OptionsMac.cmake:
3535 * Source/cmake/OptionsWin.cmake:
3536 * Source/cmake/WebKitFeatures.cmake:
3537 * Source/cmake/tools/vsprops/FeatureDefines.props:
3539 2020-06-25 Diego Pino Garcia <dpino@igalia.com>
3541 [GTK] Enable WEB_API_STATISTICS
3542 https://bugs.webkit.org/show_bug.cgi?id=213592
3544 Reviewed by Carlos Garcia Campos.
3546 * Source/cmake/OptionsGTK.cmake:
3548 2020-06-24 Carlos Garcia Campos <cgarcia@igalia.com>
3550 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.29.2 release
3552 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3554 2020-06-22 Saam Barati <sbarati@apple.com>
3556 Allow building JavaScriptCore Mac+arm64 in public SDK build
3557 https://bugs.webkit.org/show_bug.cgi?id=213472
3559 Reviewed by Sam Weinig.
3561 * Source/cmake/OptionsFTW.cmake:
3562 * Source/cmake/WebKitFeatures.cmake:
3564 2020-06-18 Tim Horton <timothy_horton@apple.com>
3566 Remove some vestiges of the 32-bit Plugin Process
3567 https://bugs.webkit.org/show_bug.cgi?id=213361
3569 Reviewed by Dan Bernstein.
3572 This hack from r203348 is no longer needed, because WebKit cannot be built for 32-bit anymore.
3574 2020-06-17 Michael Catanzaro <mcatanzaro@gnome.org>
3576 REGRESSION(r260760): ENABLE_GRAPHICS_CONTEXT_GL should be ON, not TRUE
3577 https://bugs.webkit.org/show_bug.cgi?id=212057
3579 Reviewed by Carlos Garcia Campos.
3581 This is already set by feature policy. Don't clobber it.
3583 * Source/cmake/OptionsGTK.cmake:
3585 2020-06-10 Dean Jackson <dino@apple.com>
3587 Add a dynamic library target for ANGLE
3588 https://bugs.webkit.org/show_bug.cgi?id=207591
3590 Reviewed by Tim Horton.
3592 In preparation for moving to a dynamic library, start
3593 by compiling and linking it. It isn't used anywhere
3594 but getting it into the build will help Apple's
3595 build system remain happy as we migrate, as well
3596 as have the system know it exists for building
3597 the shared system cache.
3599 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
3601 2020-06-12 Adrian Perez de Castro <aperez@igalia.com>
3603 Build is broken with EVENT_LOOP_TYPE=GLib
3604 https://bugs.webkit.org/show_bug.cgi?id=212987
3606 Reviewed by Konstantin Tokarev.
3608 * Source/cmake/OptionsJSCOnly.cmake: Add gio-unix as a required component of the GLib
3609 package, as it is needed for the remote inspector support with EVENT_LOOP_TYPE=GLib.
3611 2020-06-12 Carlos Garcia Campos <cgarcia@igalia.com>
3613 [GTK4] Get MiniBrowser ready for GTK4
3614 https://bugs.webkit.org/show_bug.cgi?id=210276
3616 Reviewed by Adrian Perez de Castro.
3618 Bump GTK4 required version.
3620 * Source/cmake/OptionsGTK.cmake:
3622 2020-06-07 Philippe Normand <pnormand@igalia.com>
3624 Remove ENABLE_VIDEO_TRACK ifdef guards
3625 https://bugs.webkit.org/show_bug.cgi?id=212568
3627 Reviewed by Youenn Fablet.
3629 VIDEO_TRACK has been enabled by default on all ports for a long time. As the spec is stable,
3630 the feature can unconditionally be enabled and is now guarded under ENABLE(VIDEO).
3632 * Source/cmake/OptionsFTW.cmake:
3633 * Source/cmake/OptionsMac.cmake:
3634 * Source/cmake/OptionsWin.cmake:
3635 * Source/cmake/WebKitFeatures.cmake:
3636 * Source/cmake/tools/vsprops/FeatureDefines.props:
3637 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3639 2020-06-05 Andy Estes <aestes@apple.com>
3641 [Apple Pay] Remove conditionals for ENABLE_APPLE_PAY_SESSION_V(3|4)
3642 https://bugs.webkit.org/show_bug.cgi?id=212541
3643 <rdar://problem/63781452>
3645 Reviewed by Darin Adler.
3647 APPLE_PAY_SESSION_V(3|4) is now enabled whenever APPLE_PAY itself is enabled.
3649 * Source/cmake/OptionsFTW.cmake:
3650 * Source/cmake/OptionsMac.cmake:
3651 * Source/cmake/WebKitFeatures.cmake:
3653 2020-06-04 Mark Lam <mark.lam@apple.com>
3655 Editors should not automatically trim trailing whitespace.
3656 https://bugs.webkit.org/show_bug.cgi?id=212763
3658 Reviewed by Yusuke Suzuki.
3660 Doing so would force a lot of unnecessary code changes and make patches hard to
3661 review. It is common WebKit practice to not make unrelated changes in patches.
3665 2020-06-02 Keith Rollin <krollin@apple.com>
3667 Revert FEATURES_DEFINES related changes
3668 https://bugs.webkit.org/show_bug.cgi?id=212664
3669 <rdar://problem/63893033>
3671 Reviewed by Andy Estes.
3673 Bug 262310, Bug 262311, Bug 262318, and Bug 262331 involve changes to
3674 FEATURE_DEFINES and how the values there relate to those found in the
3675 Platform*.h files. Those changes break XCBuild (by removing the
3676 .xcfilelist related to UnifiedSources and the process for generating
3677 them), and so are being reverted.
3679 * Source/cmake/OptionsFTW.cmake:
3680 * Source/cmake/OptionsMac.cmake:
3681 * Source/cmake/WebKitFeatures.cmake:
3683 2020-06-02 Yoshiaki JITSUKAWA <yoshiaki.jitsukawa@sony.com>
3686 https://bugs.webkit.org/show_bug.cgi?id=212463
3688 Add .editorconfig for Visual Studio.
3690 Initally following file types are supported:
3692 - CMakeFilelist.txt/.cmake
3693 - .editorconfig itself
3695 Reviewed by Fujii Hironori.
3697 * .editorconfig: Added.
3699 2020-05-29 Andy Estes <aestes@apple.com>
3701 [Apple Pay] Remove conditionals for ENABLE_APPLE_PAY_SESSION_V(3|4)
3702 https://bugs.webkit.org/show_bug.cgi?id=212541
3704 Reviewed by Darin Adler.
3706 APPLE_PAY_SESSION_V(3|4) is now enabled whenever APPLE_PAY itself is enabled.
3708 * Source/cmake/OptionsFTW.cmake:
3709 * Source/cmake/OptionsMac.cmake:
3710 * Source/cmake/WebKitFeatures.cmake:
3712 2020-05-29 Keith Rollin <krollin@apple.com>
3714 Revert switch to XCBuild
3715 https://bugs.webkit.org/show_bug.cgi?id=212530
3716 <rdar://problem/63764632>
3718 Unreviewed build fix.
3720 Bug 209890 enabled the use of XCBuild by default. Since then, some
3721 build issues have shown up. While addressing them, temporarily turn
3722 off the use of XCBuild by default.
3725 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
3727 2020-05-27 Kenneth Russell <kbr@chromium.org>
3729 Update MobileMiniBrowser project settings to current Xcode
3730 https://bugs.webkit.org/show_bug.cgi?id=212428
3732 Reviewed by Dean Jackson.
3734 Accept Xcode's suggested upgrade to use the new build system.
3736 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
3738 2020-05-27 ChangSeok Oh <changseok@webkit.org>
3740 [GTK] Manette_INCLUDE_DIR and Manette_LIBRARY are undefined.
3741 https://bugs.webkit.org/show_bug.cgi?id=212236
3743 Reviewed by Michael Catanzaro.
3745 The cmake complains Manette_INCLUDE_DIR and Manette_LIBRARY are missing
3746 in finding the manette package where GAMEPAD is enabled for the gtk port.
3747 In r261965, we thought they would be automatically defined with IMPORTED_TARGET
3748 but they seem not. We explicitly find the header and library paths, following FindOpenJPEG.cmake.
3750 * Source/cmake/FindManette.cmake:
3751 * Source/cmake/OptionsGTK.cmake: REQUIRED removed.
3753 2020-05-26 Fujii Hironori <Hironori.Fujii@sony.com>
3755 [WinCairo][WK2] Use GraphicsLayerTextureMapper for Accelerated Compositing mode
3756 https://bugs.webkit.org/show_bug.cgi?id=211883
3758 Reviewed by Don Olmstead.
3760 * Source/cmake/OptionsWinCairo.cmake: Added a new build option
3761 USE_GRAPHICS_LAYER_TEXTURE_MAPPER, and set ON as the default.
3763 2020-05-26 Don Olmstead <don.olmstead@sony.com>
3765 [CMake] Add static analyzers
3766 https://bugs.webkit.org/show_bug.cgi?id=212280
3768 Reviewed by David Kilzer.
3770 Add support for static analyzers within CMake builds. Supported analyzers are
3771 clang-tidy, iwyu (include-what-you-use) and lwyu (link-what-you-use). They can
3772 be enabled by passing a semicolon separated list to CMake through the ANALYZERS
3775 * Source/cmake/WebKitCommon.cmake:
3776 * Source/cmake/WebKitFeatures.cmake:
3777 * Source/cmake/WebKitMacros.cmake:
3778 * Source/cmake/WebKitStaticAnalysis.cmake: Added.
3780 2020-05-26 Keith Rollin <krollin@apple.com>
3782 Enable the use of XCBuild by default in Apple builds
3783 https://bugs.webkit.org/show_bug.cgi?id=209890
3784 <rdar://problem/44182078>
3786 Reviewed by Darin Adler.
3788 Switch from the "legacy" Xcode build system to the "new" build system
3789 (also known as "XCBuild"). Switching to the new system speeds up
3790 builds by a small percentage, better validates projects for
3791 build-related issues (such as dependency cycles), lets WebKit benefit
3792 from future improvements in XCBuild such as those coming from the
3793 underlying llbuild open source project, and prepares us for any other
3794 tools built for this new ecosystem.
3798 - Remove Xcode project and workspace settings that selected the Build
3799 system, allowing the default to take hold (which is currently the
3801 - Updated webkitdirs.pm with a terser check for Xcode version.
3802 - Update build-webkit and Makefile.shared to be explicit when using
3803 the old build system (no longer treat it as a default or fall-back
3805 - Update various xcconfig files similarly to treat the default as
3806 using the new build system.
3807 - Update various post-processing build steps to check for Xcode 11.4
3808 and to no longer treat the default as using the old build system.
3811 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
3813 2020-05-22 Yoshiaki JITSUKAWA <yoshiaki.jitsukawa@sony.com>
3815 [PlayStation] Enable JSC shell to run
3816 https://bugs.webkit.org/show_bug.cgi?id=212294
3818 Reviewed by Ross Kirsling.
3820 * Source/cmake/OptionsPlayStation.cmake:
3822 2020-05-21 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
3824 [PlayStation] Add minimal WKView API to enable TestWebKitAPI
3825 https://bugs.webkit.org/show_bug.cgi?id=211868
3827 Reviewed by Alex Christensen.
3829 Enable TestWebKitAPI
3831 * Source/cmake/OptionsPlayStation.cmake:
3832 Disable FullScreen API and ContextMenus.
3834 2020-05-20 ChangSeok Oh <changseok@webkit.org>
3836 [GTK] Implement connected and disconnected events of GAMEPAD API with libmanette
3837 https://bugs.webkit.org/show_bug.cgi?id=133854
3839 Reviewed by Carlos Garcia Campos.
3841 This patch brings initial GAMEPAD API support to the gtk port. We use libmanette,
3842 a simple GObject game controller library to handle gamepad connection and input.
3844 * Source/cmake/FindManette.cmake: Added to detect libmanette headers and libs installed in host system.
3845 * Source/cmake/OptionsGTK.cmake: Added a private flag, ENABLE_GAMEPAD.
3846 Once libmanette is found, we expose another build flag, USE_MANETTE for other ports.
3848 2020-05-20 Carlos Garcia Campos <cgarcia@igalia.com>
3850 Unreviewed. Fix GTK4 build with GTK 3.98.4
3852 * Source/cmake/OptionsGTK.cmake:
3854 2020-05-18 Michael Catanzaro <mcatanzaro@gnome.org>
3856 [GTK] Allow gtk-doc and introspection in cross builds
3857 https://bugs.webkit.org/show_bug.cgi?id=212026
3859 Reviewed by Adrian Perez de Castro.