2022-05-17 Michael Catanzaro [GTK] Build MiniBrowser by default https://bugs.webkit.org/show_bug.cgi?id=240515 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: 2022-05-13 Geza Lore Add self to contributors.json https://bugs.webkit.org/show_bug.cgi?id=240389 Reviewed by Jonathan Bedard. * metadata/contributors.json: 2022-05-12 Javier Fernandez Add GitHub account to contributors.json and update expertise field https://bugs.webkit.org/show_bug.cgi?id=240360 Unreviewed. * metadata/contributors.json: 2022-05-11 Yury Semikhatsky [WinCairo] Support file downloads https://bugs.webkit.org/show_bug.cgi?id=240293 Reviewed by Fujii Hironori. * Source/cmake/OptionsWin.cmake: enable DOWNLOAD_ATTRIBUTE by default in WinCairo. 2022-05-11 Jonathan Bedard Remove Subversion references from ReadMe https://bugs.webkit.org/show_bug.cgi?id=240316 Reviewed by Geoffrey Garen. * ReadMe.md: 2022-05-06 Sihui Liu Unreviewed, add github info to contributors.json. * metadata/contributors.json: 2022-05-09 Ryosuke Niwa Introduction.md: Explain active DOM objects https://bugs.webkit.org/show_bug.cgi?id=240212 Reviewed by Chris Dumez. Added an elementary description of active DOM objects to Introduction.md. * Introduction.md: 2022-05-08 Ryosuke Niwa Introduction.md: Fix typos found by mcatanzaro https://bugs.webkit.org/show_bug.cgi?id=240211 Reviewed by Tim Nguyen. Fixed typos. * Introduction.md: 2022-05-07 Ryosuke Niwa Explain now node reference counting works in Introduction.md https://bugs.webkit.org/show_bug.cgi?id=240202 Unreviewed. Fix an obvious typo. * Introduction.md: 2022-05-07 Ryosuke Niwa Explain now node reference counting works in Introduction.md https://bugs.webkit.org/show_bug.cgi?id=240202 Reviewed by Chris Dumez. Added explanation on how Node reference counting works. * Introduction.md: 2022-05-06 Kate Cheney Unreviewed, add github info to contributors.json. * metadata/contributors.json: 2022-05-05 Per Arne Vollan Add GitHub user name https://bugs.webkit.org/show_bug.cgi?id=240144 Unreviewed, add github user name to contributors.json. * metadata/contributors.json: 2022-05-05 Megan Gardner Add github info for myself to contributors.json https://bugs.webkit.org/show_bug.cgi?id=240140 Unreviewed metadata addition. * metadata/contributors.json: 2022-05-02 Yijia Huang Update yijia's info in constributors https://bugs.webkit.org/show_bug.cgi?id=239994 Unreviewed. * metadata/contributors.json: 2022-04-30 Philippe Normand [WPE][GTK] Enable MEDIA_SESSION by default https://bugs.webkit.org/show_bug.cgi?id=239931 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-04-29 Wenson Hsieh Unreviewed, add my GitHub account name to contributors.json I also ran `validate-committer-lists --canonicalize` to fix up some minor style inconsistencies in this file after some other recent additions. * metadata/contributors.json: 2022-04-29 Diego Pino Garcia [GCC] std::remove_cvref is undefined in GCC8.4 https://bugs.webkit.org/show_bug.cgi?id=239881 Reviewed by Žan Doberšek. r293505 changed the guard that added std::remove_cvref if not defined by GCC, checking __cplusplus <= 201703L. However in Ubuntu GCC8.4 this flag's value is 201709L. Thus, the evaluation of this flag cannot reliably determine whether the compiler has to define std::remove_cvref or not. Instead of relying on a predefined compiler flag, what the patch does is to attempt to compile a small snippet of code to check whether std::remove_cvref is supported by the compiler. If successful, the flag 'HAVE_STD_REMOVE_CVREF' is defined. * Source/cmake/OptionsCommon.cmake: Set and expose HAVE_STD_REMOVE_CVREF if needed. * Source/cmake/WebKitCompilerFlags.cmake: Check whether GCC supports std::remove_cvref. 2022-04-28 Jer Noble Unreviewed; add github account for Jer Noble to contributors.json. * metadata/contributors.json: 2022-04-27 Jonathan Bedard [git-webkit] Run style checker https://bugs.webkit.org/show_bug.cgi?id=239730 Reviewed by Chris Dumez. * metadata/git_config_extension: Add style-checker as pre-pr check. 2022-04-26 Michael Catanzaro Unreviewed, add my @redhat.com email Since I switched from SVN -> GitHub I wound up committing using a different email address than I had been using before. This wasn't intentional, but I like it, so whatever. * metadata/contributors.json: 2022-04-26 Manuel Rego Casasnovas Remove usage of makeWeakPtr() on Introduction.md https://bugs.webkit.org/show_bug.cgi?id=239768 Reviewed by Chris Dumez. * Introduction.md: 2022-04-24 Zan Dobersek [RISCV64] Enable Baseline JIT https://bugs.webkit.org/show_bug.cgi?id=239708 Reviewed by Yusuke Suzuki. Turn on the CMake defaults for ENABLE(JIT) and ENABLE(FTL_JIT) options for RISCV64. These are enabled together to avoid having to worry about a 64-bit platform that would want to allow compiling with Baseline JIT enabled and FTL JIT disabled at the same time. But because FTL JIT support for RISCV64 isn't complete yet, it's still disabled at runtime. * Source/cmake/WebKitFeatures.cmake: 2022-04-22 Alex Christensen Add my github account name https://bugs.webkit.org/show_bug.cgi?id=239671 Reviewed by Chris Dumez. * metadata/contributors.json: 2022-04-22 Chris Dumez Unreviewed, add Geoff's github username to contributors.json so he can review patches * metadata/contributors.json: 2022-04-20 Yusuke Suzuki Unreviewed, add github accounts of Apple JSC reviewers * metadata/contributors.json: 2022-04-19 Mark Lam Update my GitHub login. * metadata/contributors.json: 2022-04-19 Mark Lam Adding my GitHub credentials. * metadata/contributors.json: 2022-04-19 Karl Rackler Coreection to botwatcher github username to contributors json Reviewed by Jonathan Bedard. * metadata/contributors.json: 2022-04-19 Dean Jackson Adding GitHub username. * metadata/contributors.json: 2022-04-15 Justin Michaud [PGO] Fix build on intel machines https://bugs.webkit.org/show_bug.cgi?id=239396 Reviewed by Jonathan Bedard. We should use the correct comparison operator for Perl strings when checking if we are building with PGO profile generation enabled. 2022-04-12 Jonathan Bedard [git-webkit] Allow projects to declare alternate remotes https://bugs.webkit.org/show_bug.cgi?id=239261 Reviewed by Dewei Zhu. * metadata/git_config_extension: Add expected remotes. 2022-04-15 Justin Michaud Add GitHub info to contributors.json https://bugs.webkit.org/show_bug.cgi?id=239410 Reviewed by Yusuke Suzuki. * metadata/contributors.json: 2022-04-15 Saam Barati Unreviewed. Add my github into to contributors.json. * metadata/contributors.json: 2022-04-14 Jonathan Bedard Add .github/pull_request_template.md https://bugs.webkit.org/show_bug.cgi?id=239347 Reviewed by Michael Catanzaro. * .github/pull_request_template.md: Added. 2022-04-14 Justin Michaud [PGO] We should be able to build WebKit to collect PGO profiles easily https://bugs.webkit.org/show_bug.cgi?id=238776 Reviewed by Wenson Hsieh. * Makefile.shared: * Source/cmake/WebKitFeatures.cmake: 2022-04-14 Zan Dobersek [GTK][WPE] Make the ENABLE_GPU_PROCESS CMake option depend on USE_ANGLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=239330 Reviewed by Adrian Perez de Castro. For the GTK and WPE ports, the ENABLE_GPU_PROCESS CMake option should depend on the USE_ANGLE_WEBGL option being enabled. There's no plans to support 'direct' GL execution in that process, and the ANGLE usage also implies (for these two ports) usage of generic buffer solutions that are shareable across process boundaries, as is necessary for a functioning GPUProcess implementation. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-04-13 Elliott Williams [Xcode] Fix public watchOS workspace build by updating scheme and build settings https://bugs.webkit.org/show_bug.cgi?id=239301 Reviewed by Alexey Proskuryakov. Add AD_HOC_CODE_SIGNING_ALLOWED=YES (similar to https://commits.webkit.org/249449@main) and DISABLE_SDK_METADATA_PARSING=YES in various places to work around open-source workspace build failures when building for watchOS. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: - Remove libwebrtc from the "All Source" scheme. On watchOS, it doesn't build, and on other platforms, it is an implicit dependency, so removing it lets the build system determine whether or not it should build. - Remove MiniBrowser from the "All Source" scheme, as it's part of "All Tools". "All Tools" probably shouldn't be built for embedded platforms, as it contains some Mac-only tools, but we do not enforce this. 2022-04-12 Elliott Williams Reland "[XCBuild] Enable dependency validation by default" https://bugs.webkit.org/show_bug.cgi?id=238901 Reviewed by Alexey Proskuryakov. Addresses two problems that impacted the previous attempt at landing: Derived Sources scripts which use generated xcfilelists contain "optional" inputs which are only available in internal builds. These inputs lead to spurious dependency validation errors. These scripts are unique in that they run from script-only targets, not as a phase in one of the project's native targets. So, in open-source builds, restrict VALIDATE_DEPENDENCIES to only run on native targets. When building an individual project, and not a workspace, it's expected that many input dependencies in the build directory will be missing from XCBuild's graph. Disable dependency validation unless we _know_ we're building from a workspace, defined as when the USE_WORKSPACE Make flag or --use-workspace build-webkit flag is passed. * Makefile.shared: Turn on validation errors when USE_WORKSPACE=YES. Use a new build setting, WK_VALIDATE_DEPENDENCIES, which is the "requested" validation level. The actual validation level set in VALIDATE_DEPENDENCIES may be lower (see above). 2022-04-11 Zan Dobersek Unreviewed, removing one of my email addresses. * metadata/contributors.json: 2022-04-09 Adrian Perez de Castro [GTK][WPE] Missing inter-module documentation links https://bugs.webkit.org/show_bug.cgi?id=239016 Reviewed by Michael Catanzaro. Add JS snippets to be used in the gi-docgen output to setup links to other modules. Take advantage of being able to compute the documentation API version suffix from the currently loaded page URL, which avoids having a number of templates depending on the API version and having to deal with the documentation API version being sometimes different than the actual API version of the library. The URLs for GTK3 vs. GTK4 documentation cannot be handled in the same way, and instead the JS snippet is also a template expanded by CMake to allows using the ${GTK_API_VERSION} variable there. * Source/cmake/FindGIDocgen.cmake: Add a new CONTENT_TEMPLATES option to GI_DOCGEN(), which allows setting up files to be expanded as CMake @ONLY templates and then be used as documentation content files. 2022-04-08 Elliott Williams Unreviewed, reverting r292591. Causing spurious EWS errors Reverted changeset: "[XCBuild] Enable dependency validation by default" https://bugs.webkit.org/show_bug.cgi?id=238901 https://commits.webkit.org/r292591 2022-04-07 Elliott Williams [XCBuild] Enable dependency validation by default https://bugs.webkit.org/show_bug.cgi?id=238901 Reviewed by Alexey Proskuryakov. Set VALIDATE_DEPENDENCIES=YES_ERROR everywhere, so that builds fail when task outputs are missing. The only interesting detail is that we need to set an extended attribute on the user's build directory in order for XCBuild to validate dependencies _within_ that directory. Since a users' build directory may not be created by XCBuild, have build-webkit and set-webkit-configuration set the attribute manually. * Makefile.shared: Remove the VALIDATE_DEPENDENCIES opt-in logic. Always call through to set-webkit-configuration, because that's where we verify that CreatedByBuildSystem is set on the build directory. Don't pass -EnableBuildDebugging=1; it's not actually needed to enable dependency validation. 2022-04-07 Martin Robinson [GTK] Turning on the address sanitizer should disable GIR and documentation https://bugs.webkit.org/show_bug.cgi?id=238868 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsGTK.cmake: Disable documentation when the address sanitizer is on. Documentation depends on GIR. Also fix the adjustment of the documentation setting when building on Mac. This also has to happen before the call to find_package(GI). 2022-04-04 Stephan Szabo [PlayStation] Re-disable WebDriver https://bugs.webkit.org/show_bug.cgi?id=238756 Unreviewed build fix * Source/cmake/OptionsPlayStation.cmake: 2022-04-04 Adrian Perez de Castro [WPE][GTK] REGRESSION(r292263): Cannot make release tarballs https://bugs.webkit.org/show_bug.cgi?id=238698 Reviewed by Carlos Garcia Campos. * Source/cmake/WebKitDist.cmake: Make "dist" and "distcheck" targets depend on "doc-all". 2022-04-04 Adrian Perez de Castro [CMake] Provide better messages when gi-docgen cannot be found https://bugs.webkit.org/show_bug.cgi?id=238729 Reviewed by Carlos Garcia Campos. When gi-docgen cannot be found, or cannot be executed, provide better error messages than those provided by CMake. While at it, make the messages mention how gi-docgen can be installed inside the WebKit source tree to be used for the build. * Source/cmake/FindGIDocgen.cmake: 2022-04-04 Miguel Gomez Change contributor status of Miguel Gomez from committer to reviewer https://bugs.webkit.org/show_bug.cgi?id=238730 Unreviewed. * metadata/contributors.json: 2022-04-02 Adrian Perez de Castro [GTK] Replace gtk-doc with gi-docgen https://bugs.webkit.org/show_bug.cgi?id=226662 Reviewed by Michael Catanzaro. Import two new CMake modules which define commands to easy setup of GObject-Introspection and gi-docgen. These in turn allow to remove a bunch of duplicated CMake code, reuse the same for both the WPE and GTK ports, and remove the gnarly DocBook templates and other auxiliary files previously used by gtk-doc (which amount to a sizeable amount of code). While at it, do a quick pass to fix the most egregious issues reported by gi-docgen's linting mode and that all public symbols end up with at least some documentation in the generated output. Follow-up patches will be needed to keep adapting to the style encouraged by gi-docgen, fix linking between documented entities, make code examples display properly, and a few other things. * Source/PlatformGTK.cmake: Adapted to use the new CMake modules. * Source/PlatformWPE.cmake: Ditto. * Source/cmake/FindGI.cmake: Added. * Source/cmake/FindGIDocgen.cmake: Added. * Source/cmake/FindGObjectIntrospection.cmake: Removed. * Source/cmake/OptionsGTK.cmake: Adapted to use the new CMake modules. * Source/cmake/OptionsWPE.cmake: Ditto. 2022-04-01 Carlos Garcia Campos [GTK][WPE] Enable CSS Typed OM by default https://bugs.webkit.org/show_bug.cgi?id=238659 Reviewed by Adrian Perez de Castro. Always build with Typed OM enabled, it's handled by an off by default setting. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-03-31 Don Olmstead [PlayStation] Enable more features by default https://bugs.webkit.org/show_bug.cgi?id=238628 Reviewed by Fujii Hironori. Move ENABLE_WEB_CRYPTO and add ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION and ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE to the list of features on by default. * Source/cmake/OptionsPlayStation.cmake: 2022-03-31 Don Olmstead [PlayStation] Enable WebDriver https://bugs.webkit.org/show_bug.cgi?id=238615 Reviewed by Alex Christensen. Enable WebDriver by default. Set values for input interactions. * Source/cmake/OptionsPlayStation.cmake: 2022-03-30 Don Olmstead Turn DEVELOPER_MODE ON for all non-Apple ports in build-webkit https://bugs.webkit.org/show_bug.cgi?id=238556 Reviewed by Alex Christensen. Use DEVELOPER_MODE to determine what the defaults of ENABLE_API_TESTS and ENABLE_MINIBROWSER should be. Make ENABLE_WEBKIT the default of ENABLE_MINIBROWSER. * Source/cmake/OptionsPlayStation.cmake: 2022-03-29 Ryosuke Niwa Add descriptions on how to start WPT and http test servers to Introduction.md https://bugs.webkit.org/show_bug.cgi?id=238523 Reviewed by Chris Dumez. * Introduction.md: 2022-03-29 Don Olmstead [LibWPE] Guard libxkbcommon code with WPE_ENABLE_XKB https://bugs.webkit.org/show_bug.cgi?id=238510 Reviewed by Adrian Perez de Castro. Post v1.12.0 introduces the WPE_ENABLE_XKB definition to libwpe. For v1.12.0 and earlier the define is added to the WPE::libwpe target's compile options. For later versions the pkg-config for the library will determine the presence of this definition. * Source/cmake/FindWPE.cmake: 2022-03-26 Aakash Jain Update my github username. Unreviewed. * metadata/contributors.json: 2022-03-22 Per Arne Vollan REGRESSION(r291587): Unintentionally removed contributors change https://bugs.webkit.org/show_bug.cgi?id=238204 Unreviewed, partial revert of r291587. * metadata/contributors.json: 2022-03-22 Carlos Garcia Campos [GTK][WPE] Remove the ATK implementation https://bugs.webkit.org/show_bug.cgi?id=238198 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-03-21 Commit Queue Unreviewed, reverting r291055. https://bugs.webkit.org/show_bug.cgi?id=238145 Invalid test expectations Reverted changeset: "[iOS] Hard link AVPictureInPictureController" https://bugs.webkit.org/show_bug.cgi?id=237227 https://commits.webkit.org/r291055 2022-03-18 Philippe Normand [GStreamer] Migrate gst-full support to 1.20 https://bugs.webkit.org/show_bug.cgi?id=237772 Reviewed by Xabier Rodriguez-Calvar. * Source/cmake/GStreamerChecks.cmake: 2022-03-18 Philippe Normand [GStreamer] Initial import of the GstWebRTC backend https://bugs.webkit.org/show_bug.cgi?id=236540 Reviewed by Carlos Garcia Campos and Xabier Rodriguez-Calvar. Enable GstWebRTC by default if a recent-enough (>= 1.20) version is available. * Source/cmake/FindGStreamer.cmake: * Source/cmake/GStreamerChecks.cmake: * Source/cmake/GStreamerDefinitions.cmake: * Source/cmake/GStreamerDependencies.cmake: 2022-03-18 Carlos Garcia Campos Add a public build option for PDF.js https://bugs.webkit.org/show_bug.cgi?id=238023 Reviewed by Michael Catanzaro. PDF.js increases the binary size of the library quite a bit, so embedders might want to disable it if they know they don't need PDF support at all. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: 2022-03-17 Zan Dobersek [GTK][WPE] Also enable USE_TEXTURE_MAPPER_DMABUF alongside other DMABuf-related defines https://bugs.webkit.org/show_bug.cgi?id=238017 Reviewed by Alejandro G. Castro. For the GTK port, define USE_TEXTURE_MAPPER_DMABUF alongside the dependencies and defines for DMABuf-backed ANGLE integration. This will enable usage of the DMABuf-based video sink in any GStreamer pipeline and subsequently display of the provided DMABuf objects. A comment is added to explain this should be covered by a separate configuration option on which USE_ANGLE_WEBGL should then depend. For the WPE port the define is also added but without conditions, just like it's done for the dependencies and the USE_LIBGBM define. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-03-17 Zan Dobersek [GTK][WPE] Guard libgbm and libdrm code, make them conditional dependencies for GTK https://bugs.webkit.org/show_bug.cgi?id=237974 Reviewed by Alejandro G. Castro. Guard usage of libgbm and libdrm dependencies with the USE_LIBGBM define. This should be required until we can switch to a possibly more dynamic implementation that doesn't require build-time dependencies. For the GTK port, the desire is to keep these dependencies fully optional. At the moment they are required when enabling ANGLE-backed WebGL, with the USE_LIBGBM also defined in that case. This is needed because ANGLE integration for Linux ports already depends on these libraries. For the WPE port only USE_LIBGBM is defined and the two dependencies remain required. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-03-14 Gabriel Nava Marino Add myself (Gabriel Nava Marino) to contributors.json https://bugs.webkit.org/show_bug.cgi?id=237634 Unreviewed. * metadata/contributors.json: 2022-03-11 Elliott Williams Makefile.shared: Rename WORKSPACE to WORKSPACE_PATH and allow overrides https://bugs.webkit.org/show_bug.cgi?id=237746 Reviewed by Alexey Proskuryakov. This permits Make-based workflows which build out of a different workspace, e.g. a workspace that includes WebKitAdditions. WORKSPACE_PATH was chosen as a new name for parity with SCRIPTS_PATH and to avoid confusion with USE_WORKSPACE. Refactors Makefile.shared a bit to prevent SCHEME or WORKSPACE_PATH being set without USE_WORKSPACE from breaking the build. * Makefile.shared: 2022-03-08 Jonathan Bedard [git-webkit] Support multiple metadata locations https://bugs.webkit.org/show_bug.cgi?id=237395 Reviewed by Dewei Zhu. * metadata/git_config_extension: Renamed from metadata/project_config. * metadata/project_config: Renamed to metadata/git_config_extension. 2022-03-10 Elliott Williams [XCBuild] Fix GeneratedSources dependency validation errors https://bugs.webkit.org/show_bug.cgi?id=237490 Reviewed by Alexey Proskuryakov. Fixes miscellanous targets which were not specifying their task outputs correctly. For easier dependency validation testing, Make builds now recognize a VALIDATE_DEPENDENCIES setting. Building with VALIDATE_DEPENDENCIES=YES or VALIDATE_DEPENDENCIES=YES_ERROR passes the setting to xcodebuild and sets a magic xattr on the build directory so that product files in it are validated. * Makefile.shared: 2022-03-07 Basuke Suzuki Update Basuke Suzuki's status to reviewer https://bugs.webkit.org/show_bug.cgi?id=237545 Unreviewed. * metadata/contributors.json: 2022-03-07 Jonathan Bedard [webkitbugspy] Allow creation of new issues https://bugs.webkit.org/show_bug.cgi?id=237123 Reviewed by Dewei Zhu. * metadata/trackers.json: Define project. 2022-03-03 Dan Glastonbury Add Dan Glastonbury's name to contributors.json https://bugs.webkit.org/show_bug.cgi?id=237453 Reviewed by Alan Bujtas. * metadata/contributors.json: 2022-03-03 Anjali Kumar Add myself (Anjali Kumar) to contributors.json https://bugs.webkit.org/show_bug.cgi?id=237449 Reviewed by Patrick Angle. * metadata/contributors.json: Added myself. 2022-03-01 Jonathan Bedard [git-webkit] Sync personal fork by default https://bugs.webkit.org/show_bug.cgi?id=237324 Reviewed by Dewei Zhu. * metadata/project_config: Add webkitscmpy.update-fork option. 2022-03-02 Adrian Perez de Castro [CMake] Build failure with libstdc++ (>= 6) when cross-compiling (fatal error: stdlib.h: No such file or directory) https://bugs.webkit.org/show_bug.cgi?id=161697 Reviewed by Carlos Garcia Campos. * Source/cmake/WebKitCompilerFlags.cmake: Go through CMake instead of the plain "env" program for the sake of portability. 2022-03-01 Adrian Perez de Castro [CMake] Build failure with libstdc++ (>= 6) when cross-compiling (fatal error: stdlib.h: No such file or directory) https://bugs.webkit.org/show_bug.cgi?id=161697 Reviewed by Carlos Garcia Campos. * Source/cmake/WebKitCompilerFlags.cmake: Set LANG=C in compiler invocation to ensure its output is consistent and the checks are independent from the system locale configuration. 2022-03-01 Basuke Suzuki [CMake] Disabling ENABLE_WEBCORE is ignored when cmake configuration runs again. https://bugs.webkit.org/show_bug.cgi?id=237170 Reviewed by Fujii Hironori. CMake variables which has chance to set from outside should be cached in CMake configuration cache. Unless cacheing, the result of building the generated project is not consisitent because the other configuration may run while building. To make it complete, I've changed ENABLE_JAVASCRIPTCORE, ENABLE_WEBCORE and ENABLE_WEBKIT to `option()` which is stored in cached and reused while building even if the confuguration runs again. * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/WebKitCommon.cmake: 2022-02-28 Brandon Stewart Add Brandon Stewart's name to contributors.json https://bugs.webkit.org/show_bug.cgi?id=237288 Reviewed by Saam Barati. Add Brandon Stewart's name to contributors.json * metadata/contributors.json: 2022-02-28 Michael Catanzaro -Wodr warning spam caused by ENABLE(BINDING_INTEGRITY) https://bugs.webkit.org/show_bug.cgi?id=229867 Reviewed by Carlos Garcia Campos. Build WebKit with -Wno-odr. This warning is not salvagable, and it's impossible to suppress locally. * Source/cmake/WebKitCompilerFlags.cmake: 2022-02-24 Matt Woodrow Unreviewed, update my (Matt Woodrow) status to committer. * metadata/contributors.json: 2022-02-25 Zan Dobersek [GTK][WPE] Uncouple libgbm, libdrm dependencies from ANGLE functionality https://bugs.webkit.org/show_bug.cgi?id=237199 Reviewed by Chris Lord. For both GTK and WPE, unconditionally search for the libgbm and libdrm dependencies as they will also be needed outside of ANGLE functionality. USE_ANGLE is defined along with USE_NICOSIA, but still only if the relevant option was enabled. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-02-25 Carlos Garcia Campos Unreviewed. [GTK] Bump version numbers * Source/cmake/OptionsGTK.cmake: 2022-02-24 Ryosuke Niwa Explain visit children and opaque roots in Introduction.md https://bugs.webkit.org/show_bug.cgi?id=236894 Reviewed by Saam Barati. Added the descriptions of visit children and opaque roots as well as how to add IDL files. * Introduction.md: 2022-02-23 Elliott Williams [XCBuild] Don't automatically use the ../Internal/WebKit workspace https://bugs.webkit.org/show_bug.cgi?id=237115 Reviewed by Alexey Proskuryakov. When the USE_WORKSPACE=YES Make flag was added in https://commits.webkit.org/246232@main, we configured Make to automatically use the workspace at ../Internal/WebKit/WebKit.xcworkspace, if it was available. The idea was to make it easier for workspace builds to automatically detect dependencies needed by folks at Apple, like WebKitAdditions. In practice, this has made workspace builds silently rely on code from outside of the WebKit repo, and it's unintuitive since non-workspace Make builds do not do this. * Makefile.shared: 2022-02-23 W.D. Xiong Add wdx's Github username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=237106 Unreviewed. * metadata/contributors.json: 2022-02-23 Zan Dobersek [GStreamer] Add WebKitDMABufVideoSink https://bugs.webkit.org/show_bug.cgi?id=236883 Reviewed by Philippe Normand. * Source/cmake/FindGStreamer.cmake: Also search for gstreamer-allocators-1.0, produce the relevant variables containing include directories and cflags. 2022-02-22 Philippe Normand [GStreamer] Initial MediaRecorder implementation https://bugs.webkit.org/show_bug.cgi?id=236558 Reviewed by Xabier Rodriguez-Calvar. Enable MediaRecorder support if GStreamer >= 1.20 is available. * Source/cmake/FindGStreamer.cmake: * Source/cmake/GStreamerChecks.cmake: * Source/cmake/GStreamerDefinitions.cmake: * Source/cmake/GStreamerDependencies.cmake: 2022-02-21 Carlos Garcia Campos [GTK][WPE] ANGLE: make USE_ANGLE_WEBGL build option public https://bugs.webkit.org/show_bug.cgi?id=236962 Reviewed by Chris Lord. Since it introduces new dependencies, the build option should be public and a fatal error message should be shown when the option is enabled and any for the dependencies is missing. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-02-20 Brandon Stewart Generate compile_commands.json on macOS Builds https://bugs.webkit.org/show_bug.cgi?id=235686 Reviewed by Saam Barati. Add support for generating compile_commands.json file to WebKit. compile_commands.json can be used by tools like clangd to provide code complete, refactoring, formatting, and cross references. Steps to generate the compile commands file: make d EXPORT_COMPILE_COMMANDS=YES generate-compile-commands WebKitBuild/Debug * Makefile.shared: 2022-02-19 Philippe Normand [WPE][GTK] Enable Thunder and remove old Clearkey CDM/Decryptor https://bugs.webkit.org/show_bug.cgi?id=235492 Reviewed by Xabier Rodriguez-Calvar. Enable Thunder in developer builds, this is now needed for the clearkey EME layout tests. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-02-18 Robert Jenner Unreviewed, reverting r290149. Broke Debug Builds. Reverted changeset: "Generate compile_commands.json on macOS Builds" https://bugs.webkit.org/show_bug.cgi?id=235686 https://commits.webkit.org/r290149 2022-02-18 Ryosuke Niwa Replace trac URLs in Introduction.md by equivalent GitHub URLs https://bugs.webkit.org/show_bug.cgi?id=236826 Reviewed by Sihui Liu. Replaced track links by equivalent Github links in Introduction.md. Also replaced an example of a reference test since the previously referenced test had been converted to a manual test, and updated documentations around preferences as they had been refactored since this was originally written. * Introduction.md: 2022-02-18 Brandon Stewart Generate compile_commands.json on macOS Builds https://bugs.webkit.org/show_bug.cgi?id=235686 Reviewed by Saam Barati. Add support for generating compile_commands.json file to WebKit. compile_commands.json can be used by tools like clangd to provide code complete, refactoring, formatting, and cross references. Steps to generate the compile commands file: make r EXPORT_COMPILE_COMMANDS=YES generate-compile-commands WebKitBuild/Release * Makefile.shared: 2022-02-18 Adrian Perez de Castro [CMake] Cannot find OpenGL when system provides opengl.pc instead of gl.pc https://bugs.webkit.org/show_bug.cgi?id=236592 Reviewed by Michael Catanzaro. * Source/cmake/FindOpenGL.cmake: Rewrite to use imported targets, try the "opengl" and "glx" pkg-config modules first, otherwise keep the existing logic that tried the "gl" pkg-config module with fallbacks to find_path/find_library. * Source/cmake/OptionsGTK.cmake: Check for the presence of the OpenGL::GLX target instead of te GLX_FOUND variable. 2022-02-17 Commit Queue Unreviewed, reverting r289949. https://bugs.webkit.org/show_bug.cgi?id=236757 Breaks WPE builds with -DUSE_ANGLE_WEBGL=ON Reverted changeset: "[CMake] Cannot find OpenGL when system provides opengl.pc instead of gl.pc" https://bugs.webkit.org/show_bug.cgi?id=236592 https://commits.webkit.org/r289949 2022-02-16 Don Olmstead [CMake][PlayStation] Add find module for WPE Backend for PlayStation https://bugs.webkit.org/show_bug.cgi?id=236721 Reviewed by Michael Catanzaro. Add the find module to detect the presence of the WPE Backend for PlayStation platforms. Currently its not required to have the WPE Backend so its presence is conditional. When there USE(WPE_BACKEND_PLAYSTATION) will be true. * Source/cmake/FindWPEBackendPlayStation.cmake: Added. * Source/cmake/OptionsPlayStation.cmake: 2022-02-16 Adrian Perez de Castro [CMake] Cannot find OpenGL when system provides opengl.pc instead of gl.pc https://bugs.webkit.org/show_bug.cgi?id=236592 Reviewed by Don Olmstead. * Source/cmake/FindOpenGL.cmake: Rewrite to use imported targets, try the "opengl" and "glx" pkg-config modules first, otherwise keep the existing logic that tried the "gl" pkg-config module with fallbacks to find_path/find_library. * Source/cmake/OptionsGTK.cmake: Check for the presence of the OpenGL::GLX target instead of te GLX_FOUND variable. 2022-02-15 Adrian Perez de Castro [CMake] Checks uses of execute_process() for correct command splitting https://bugs.webkit.org/show_bug.cgi?id=236366 Reviewed by Don Olmstead. * Source/cmake/FindGObjectIntrospection.cmake: Remove macro _GIR_GET_PKGCONFIG_VAR, which used execute_process(), in favor of pkg_get_variable(), which has been supported since CMake 3.4 2022-02-11 Don Olmstead [CMake] Check for MAP_ALIGNED support https://bugs.webkit.org/show_bug.cgi?id=236522 Reviewed by Keith Miller. Add a symbol check for MAP_ALIGNED in the CMake. * Source/cmake/OptionsCommon.cmake: 2022-02-11 Adrian Perez de Castro [CMake] Use ld.lld by default for development builds where available https://bugs.webkit.org/show_bug.cgi?id=235979 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: Enable USE_LD_LLD by default for developers builds when ld.lld is available. While at it, improve the match on LD_VERSION to be more robust. 2022-02-10 Filip Pizlo Unreviewed, add an alternate email address. * metadata/contributors.json: 2022-02-10 Elliott Williams [Xcode] Perform a full build when analyzing https://bugs.webkit.org/show_bug.cgi?id=236421 Reviewed by Alexey Proskuryakov. `xcodebuild analyze` does just enough work to run the analyzer on each target, and doesn't appear to run build phases that only impact consumers of the target. In particular, it doesn't copy framework headers. Fix by telling xcodebuild to build _and_ analyze at once. AFAICT, this is exactly what Xcode's Product > Analyze command does. * Makefile.shared: s/analyze/build analyze 2022-02-10 Alejandro G. Castro [GTK][WPE] Improve device detection in the GbmDevice https://bugs.webkit.org/show_bug.cgi?id=236436 Reviewed by Chris Lord. * Source/cmake/OptionsGTK.cmake: Search for drm and gbm libraries when compiling WebGL ANGLE support. * Source/cmake/OptionsWPE.cmake: Ditto. 2022-02-10 Tim Nguyen Unreviewed, update my (Tim Nguyen) status to reviewer * metadata/contributors.json: 2022-02-09 Ross Kirsling SharedMemoryUnix should use SHM_ANON when available https://bugs.webkit.org/show_bug.cgi?id=236416 Reviewed by Don Olmstead. * Source/cmake/OptionsCommon.cmake: Check for SHM_ANON. 2022-02-09 Adrian Perez de Castro [CMake] REGRESSION(r288994): Setting multiple values in LDFLAGS causes incorrect linker detection https://bugs.webkit.org/show_bug.cgi?id=236365 Reviewed by Martin Robinson. * Source/cmake/OptionsCommon.cmake: Use separate_arguments() to turn plain command strings into lists of strings, which can then be passed down to execute_process() as it knows how to handle lists properly. 2022-02-09 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.35.3 release * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2022-02-08 Jonathan Bedard [git-webkit] Allow repositories to declare their bug trackers https://bugs.webkit.org/show_bug.cgi?id=236306 Reviewed by Dewei Zhu. * metadata/trackers.json: Added. 2022-02-08 Adrian Perez de Castro [WPE] Running distcheck with USE_SOUP2=OFF fails to install documentation https://bugs.webkit.org/show_bug.cgi?id=236235 Reviewed by Carlos Garcia Campos. * Source/PlatformWPE.cmake: Use WPE_API_DOC_VERSION instead of WPE_API_VERSION for the documentation. 2022-02-07 Adrian Perez de Castro [CMake] REGRESSION(r288994): Linker does not get passed --disable-new-dtags https://bugs.webkit.org/show_bug.cgi?id=236205 Reviewed by Darin Adler. * Source/cmake/OptionsCommon.cmake: Arrange passing --disable-new-dtags to linkers that are known to support the option. While at it, reorganize a bit how detected linker/archiver features are printed out for better readability. 2022-02-03 Myles C. Maxfield Two bopomofo tone marks are not moved to the correct place in vertical text with a particular bopomofo font https://bugs.webkit.org/show_bug.cgi?id=235257 Reviewed by Darin Adler. Thank you so much to Bobby Tung and But Ko for reporting this bug and providing a test font for it!!! * metadata/contributors.json: 2022-02-03 Elliott Williams Add Elliott Williams to contributors.json Unreviewed. * metadata/contributors.json: 2022-01-24 Jonathan Bedard [git-webkit] Configure default branch management https://bugs.webkit.org/show_bug.cgi?id=235378 Reviewed by Dewei Zhu. * metadata/project_config: Added. 2022-02-03 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.35.2 release * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2022-02-02 Carlos Garcia Campos Unreviewed. [GTK] Apply the same cmake changes of r289029 to GTK port * Source/cmake/OptionsGTK.cmake: 2022-02-02 Pablo Saavedra [WPE] Fix for non-unified builds with ACCESSIBILITY=OFF https://bugs.webkit.org/show_bug.cgi?id=236024 Reviewed by Darin Adler. * Source/cmake/OptionsWPE.cmake: 2022-02-02 Adrian Perez de Castro [CMake] Stop defaulting to ld.gold https://bugs.webkit.org/show_bug.cgi?id=235476 Reviewed by Michael Catanzaro. Remove the USE_LD_GOLD option, and let the build use by default the system linker. The output from running the linker with -Wl,--version is matched to determine which linker is currently in use, and set variables LD_SUPPORTS_ accordingly. This is needed because not all of them support certain features and after a few attempts at doing feature checks it was becoming clear that on one hand the checks were getting gnarly, and on the other hand vetting certain linkers provides a stronger guarantee of sucessful builds. Similarly, extend the check used to determine whether the static library archiver supports thin archivers to cover the one included with LLVM (llvm-ar), and enable usage of think archivers if they can be both created by the archiver and consumed by the linker. Previously the build system was enabling thin archives without knowing whether the linker would succeed using them. * Source/cmake/OptionsCommon.cmake: 2022-02-01 Carlos Garcia Campos [GTK][WPE] Switch to use ATSPI instead of ATK https://bugs.webkit.org/show_bug.cgi?id=235942 Reviewed by Adrian Perez de Castro. Use ATSPI by default. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-02-01 Tim Nguyen Entirely remove support for -apple-trailing-word https://bugs.webkit.org/show_bug.cgi?id=234672 Reviewed by Simon Fraser. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2022-01-28 Elliott Williams [XCBuild] Small corrections to build-webkit and Makefile for workspace builds https://bugs.webkit.org/show_bug.cgi?id=235747 Reviewed by Alexey Proskuryakov. * Makefile: Set SCRIPTS_PATH correctly from the root of the repo 2022-01-28 Pablo Saavedra [WPE] Build error with ACCESSIBILITY=OFF after r288731 https://bugs.webkit.org/show_bug.cgi?id=235764 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsWPE.cmake: 2022-01-27 Carlos Garcia Campos [WPE][a11y] Add option to build with ATSPI https://bugs.webkit.org/show_bug.cgi?id=235701 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsWPE.cmake: 2022-01-27 Adrian Perez de Castro [CMake] Do not require GNU Gold usage to enable DEBUG_FISSION https://bugs.webkit.org/show_bug.cgi?id=235737 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: Allow enabling DEBUG_FISSION with any linker. 2022-01-27 Yusuke Suzuki Add .clangd similar to .ccls https://bugs.webkit.org/show_bug.cgi?id=235743 Reviewed by Saam Barati. This patch adds .clangd local configuration, which is similar to .ccls. * .clangd: Added. 2022-01-26 Adrian Perez de Castro [CMake] Pass -pipe to compilers that support it https://bugs.webkit.org/show_bug.cgi?id=235641 Reviewed by Darin Adler. * Source/cmake/WebKitCompilerFlags.cmake: Add -pipe to compiler options where supported. 2022-01-25 Myles C. Maxfield Add another test for locale-specific shaping https://bugs.webkit.org/show_bug.cgi?id=235558 Reviewed by Darin Adler. Thanks so much to Just van Rossum for contributing the test font!!! * metadata/contributors.json: 2022-01-20 Elliott Williams [XCBuild] Build via the workspace with USE_WORKSPACE=YES https://bugs.webkit.org/show_bug.cgi?id=235385 rdar://87489695 Reviewed by Alexey Proskuryakov. Experimental XCBuild support is available by passing USE_WORKSPACE=YES to Make. This is roughly equivalent to opening WebKit.xcworkspace and building a scheme in the IDE. A workspace build is only one `xcodebuild` invocation, in contrast with the traditional recursive-Make build that iterates through each project directory. As a result, workspace builds are faster: the build system can schedule targets from different projects to build simultaneously, and there's lower xcodebuild overhead. Workspaces build _schemes_, which are a collection of targets. By default, Make looks for a scheme whose name matches the source directory (Source/WebCore => build scheme "WebCore"). Makefiles can customize this by setting SCHEME. At this time, there is no guarantee of correctness when building with USE_WORKSPACE=YES, and workspace builds are not checked by builders. * Makefile: Use workspace logic when USE_WORKSPACE=YES * Makefile.shared: xcodebuild invocation logic for workspace builds * Source/Makefile: Use workspace logic and set custom SCHEME name * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: Use XCBuild for workspace builds * WebKit.xcworkspace/xcshareddata/xcschemes/All Modules.xcscheme: Added, to correspond with the top-level Makefile * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Let XCBuild determine build order * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Let XCBuild determine build order 2022-01-20 Don Olmstead [WinCairo] Make USE_CF conditional on ENABLE_WEBKIT_LEGACY https://bugs.webkit.org/show_bug.cgi?id=235393 Reviewed by Fujii Hironori. CoreFoundation is used heavily in WebKitLegacy on Windows and won't compile without it. Modern WebKit doesn't have this requirement so tie CoreFoundation usage to whether WebKitLegacy is being used. * Source/cmake/OptionsWinCairo.cmake: 2022-01-19 Michael Catanzaro [WPE][GTK] ENABLE_JOURNALD_LOG has weird value https://bugs.webkit.org/show_bug.cgi?id=235339 Reviewed by Philippe Normand. Clean up the code that checks for journald. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2022-01-18 Brandon Stewart Fix typos in Introduction.md https://bugs.webkit.org/show_bug.cgi?id=235321 Reviewed by Michael Saboff. Fix several typos in Introduction file. * Introduction.md: 2022-01-17 Brandon Stewart Fix typo in README https://bugs.webkit.org/show_bug.cgi?id=235309 Reviewed by Michael Saboff. Fix typo in ReadMe. Updated 'embededded' to 'embedded'. * ReadMe.md: 2022-01-17 Carlos Garcia Campos [GTK][a11y] Stop using isolated tree for the ATSPI implementation https://bugs.webkit.org/show_bug.cgi?id=235229 Reviewed by Adrian Perez de Castro. Do not enable isolated tree for ATSPI. * Source/cmake/OptionsGTK.cmake: 2022-01-14 Yusuke Suzuki and Mikhail R. Gadelha [JSC] Fix Linux 64bit compilation https://bugs.webkit.org/show_bug.cgi?id=235232 Reviewed by Saam Barati. * Source/cmake/OptionsCommon.cmake: 2022-01-13 Alejandro G. Castro [GTK][WPE][WebGL2] compilation fixes https://bugs.webkit.org/show_bug.cgi?id=225563 Reviewed by Chris Lord. Fix the compilation and add the ANGLE dependency, the architecture is still not the final one but it is handy to use WebGL2 demos for testing already. * Source/cmake/OptionsGTK.cmake: Added dependency with ANGLE. * Source/cmake/OptionsWPE.cmake: Added dependency with ANGLE. Remove the default ENABLE_WEBGL2 because it is the same default value in WebKitFeatures.cmake. 2022-01-12 Chris Lord [WPE] Fix building WebXR with ANGLE enabled https://bugs.webkit.org/show_bug.cgi?id=235108 Reviewed by Alejandro G. Castro. Remove conflict between WebXR and ANGLE WebGL for WPE. * Source/cmake/OptionsWPE.cmake: 2022-01-12 Chris Lord [WPE] Enable WebGL ANGLE support https://bugs.webkit.org/show_bug.cgi?id=235064 Reviewed by Alejandro G. Castro. Add the USE_ANGLE_WEBGL option for WPE. This is currently incompatible with WebXR as there isn't an ANGLE GL context code-path there. * Source/cmake/OptionsWPE.cmake: 2022-01-11 Fujii Hironori Remove Direct2D code (part 2) https://bugs.webkit.org/show_bug.cgi?id=235097 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsAppleWin.cmake: 2022-01-10 Alex Christensen Start using C++20 https://bugs.webkit.org/show_bug.cgi?id=233963 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsCommon.cmake: * Source/cmake/WebKitCompilerFlags.cmake: 2022-01-09 Sam Weinig Remove support for Direct2D https://bugs.webkit.org/show_bug.cgi?id=234999 Reviewed by Darin Adler. * Source/cmake/OptionsFTW.cmake: Removed. 2022-01-07 Alex Christensen Unreviewed, reverting r287698. Broke an internal build Reverted changeset: "Start using C++20" https://bugs.webkit.org/show_bug.cgi?id=233963 https://commits.webkit.org/r287698 2022-01-07 Alex Christensen Unreviewed, reverting r287718. Broke an internal build Reverted changeset: "[PlayStation] Fix build break after r287698" https://bugs.webkit.org/show_bug.cgi?id=234931 https://commits.webkit.org/r287718 2022-01-06 Stephan Szabo [PlayStation] Fix build break after r287698 https://bugs.webkit.org/show_bug.cgi?id=234931 Unreviewed build fix * Source/cmake/OptionsPlayStation.cmake: Workaround for not having u8string for gtest. 2022-01-06 Fujii Hironori [MSVC] Suppress new warnings C5054 and C5055 introduced by /permissive- https://bugs.webkit.org/show_bug.cgi?id=234929 Reviewed by Ross Kirsling. After 245790@main enabled C++20 which implicitly enabled /permissive- switch, WinCairo builds emit a lot of new compilation warnings. * Source/cmake/OptionsMSVC.cmake: Suppress the warnings. 2022-01-06 Alex Christensen Start using C++20 https://bugs.webkit.org/show_bug.cgi?id=233963 Reviewed by Yusuke Suzuki. * Source/cmake/OptionsCommon.cmake: * Source/cmake/WebKitCompilerFlags.cmake: 2022-01-05 Jonathan Bedard [EWS] Add Commit Queue and EWS GitHub usernames https://bugs.webkit.org/show_bug.cgi?id=234905 Reviewed by Ryan Haddad. * metadata/contributors.json: 2022-01-04 Fujii Hironori clang-format: Change SpaceAfterTemplateKeyword to false https://bugs.webkit.org/show_bug.cgi?id=234655 Reviewed by Don Olmstead. Bug 183302 added the initial .clang-format file which were including SpaceAfterTemplateKeyword:true. However, even though it is undocumented, typical WebKit code is using a style having no space ater the `template` keyword. * .clang-format: 2022-01-01 Jeff Miller Update user-visible copyright strings to include 2022 https://bugs.webkit.org/show_bug.cgi?id=234263 Reviewed by Anders Carlsson. * Source/cmake/tools/scripts/COPYRIGHT-END-YEAR: 2021-12-25 Sergey Rubanov Add my github username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231666 Reviewed by Alexey Proskuryakov. * metadata/contributors.json: 2021-12-24 Simon Fraser Add __pycache__ and DerivedData to the .gitignore file https://bugs.webkit.org/show_bug.cgi?id=234656 Reviewed by Daniel Bates. * .gitignore: 2021-12-23 Fujii Hironori REGRESSION(r287412)[WinCairo] error C2338: You've instantiated std::aligned_storage with an extended alignment (in other words, Align > alignof(max_align_t)). https://bugs.webkit.org/show_bug.cgi?id=234658 Unreviewed build fix. After r287412, WinCairo Debug can't compile due to the following error. > C:\MSVS\VC\Tools\MSVC\14.28.29910\include\type_traits(1066): > error C2338: You've instantiated std::aligned_storage with an extended alignment (in other words, Align > alignof(max_align_t)). > Before VS 2017 15.8, the member "type" would non-conformingly have an alignment of only alignof(max_align_t). > VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility > (*only* for uses of aligned_storage with extended alignments). > Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, > or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conforming behavior. * Source/cmake/OptionsMSVC.cmake: Added _ENABLE_EXTENDED_ALIGNED_STORAGE macro. 2021-12-23 ChangSeok Oh Add changseok's github username. Unreviewed. * metadata/contributors.json: 2021-12-15 Chris Lord [GTK] Use libgbm and the ANGLE gbm backend to fix initialisation https://bugs.webkit.org/show_bug.cgi?id=234293 Reviewed by Don Olmstead. Add cmake files to find gbm and libdrm. * Source/cmake/FindGBM.cmake: Added. * Source/cmake/FindLibDRM.cmake: Added. 2021-12-11 Aakash Jain Update my github username. Unreviewed. * metadata/contributors.json: 2021-12-10 Mikhail R. Gadelha Mark myself (Mikhail R. Gadelha) as committer https://bugs.webkit.org/show_bug.cgi?id=234157 Unreviewed. * metadata/contributors.json: 2021-12-10 Chris Lord Change contributor status of Chris Lord from committer to reviewer https://bugs.webkit.org/show_bug.cgi?id=234136 Unreviewed. * metadata/contributors.json: 2021-12-09 Lauro Moura Adds Lauro Moura's GitHub username to constributors.json Unreviewed. * metadata/contributors.json: 2021-11-30 Tyler Wilcock Move tyler_w@apple.com to first entry in "emails" key Unreviewed. In order to cq+, your committer e-mail address must be the first entry in the "emails" key. * metadata/contributors.json: 2021-11-29 Tyler Wilcock Mark myself (Tyler Wilcock) as committer Unreviewed. * metadata/contributors.json: 2021-11-29 Angelos Oikonomopoulos Fix ATOMICS_REQUIRE_LIBATOMIC testcase on 32-bits https://bugs.webkit.org/show_bug.cgi?id=233551 Unreviewed build fix. There's a syntax error when compiling the test program on 32-bits. This was not an issue on ARM as atomics are built in on that platform, but broke the MIPS build. * Source/cmake/WebKitCompilerFlags.cmake: 2021-11-29 Nikolas Zimmermann [LBSE] Add runtime flag for Layer-based SVG engine (LBSE) https://bugs.webkit.org/show_bug.cgi?id=233211 Reviewed by Sam Weinig. Add build option ('build-webkit --(no-)layer-based-svg-engine') and runtime flag ('LayerBasedSVGEngineEnabled' in LBSE enabled builds) to switch between the SVG engines. The actual SVG code changes will follow in subsequent patches, this just adds the infrastructure for LBSE. * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-11-28 Matt Woodrow Add mattwoodrow to contributors.json https://bugs.webkit.org/show_bug.cgi?id=233301 Reviewed by Cameron McCormack. * metadata/contributors.json: 2021-11-28 Myles C. Maxfield [WebGPU] Add WebGPU to the "All Source" scheme in WebKit.xcworkspace https://bugs.webkit.org/show_bug.cgi?id=233542 Reviewed by Dean Jackson. This scheme should build WebGPU. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2021-11-27 Yusuke Suzuki Unreviewed, update atomics detection to make libpas built on Linux * Source/cmake/WebKitCompilerFlags.cmake: 2021-11-26 Adrian Perez de Castro Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.35.1 release * Source/cmake/OptionsWPE.cmake: Bump version numbers. 2021-11-25 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.35.1 release * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2021-11-23 Adrian Perez de Castro [WPE][GTK] Allow enabling JPEG-XL support at build time https://bugs.webkit.org/show_bug.cgi?id=233325 Reviewed by Michael Catanzaro. Adds a new USE_JPEGXL build option, disabled by default for release builds and enabled for developer builds. * Source/cmake/OptionsGTK.cmake: Add USE_JPEGXL build option. * Source/cmake/OptionsWPE.cmake: Ditto. 2021-11-22 Alejandro G. Castro Add alexg's GitHub username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=233425 Unreviewed. * metadata/contributors.json: 2021-11-19 Angelos Oikonomopoulos [JSC] Workaround for failing mips tests https://bugs.webkit.org/show_bug.cgi?id=233359 Reviewed by Adrian Perez de Castro. Add a compiler flag on GCC+mips to work around a code generation bug resulting in SIGBUS. This only manifests when running 32-bit mips code on mips64 hardware (which the buildbots do). * Source/cmake/WebKitCompilerFlags.cmake: 2021-11-18 Yoshiaki Jitsukawa Implement JPEG XL image decoder using libjxl https://bugs.webkit.org/show_bug.cgi?id=233113 Reviewed by Michael Catanzaro. This patch introduces the initial version of JPEG XL image decoder. JPEG XL is a royalty-free raster-graphics file format that supports both lossy and lossless compression and is experimentally supported by Chrome, FireFox, and Edge. The image decoder implemented by this patch uses libjxl, a reference implementation of JPEG XL decoder (and encoder). JPEG XL animations will be supported later. * Source/cmake/FindJPEGXL.cmake: Added. * Source/cmake/OptionsWinCairo.cmake: Enable JPEG XL support if libjxl is available. 2021-11-17 Patrick Angle Update my (Patrick Angle's) status to reviewer https://bugs.webkit.org/show_bug.cgi?id=233270 Unreviewed. Update my status to reviewer, as well as drive-by updates to set my github name and update the area of expertise. * metadata/contributors.json: 2021-11-17 Chris Lord Add Chris Lord's GitHub username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=233254 Unreviewed * metadata/contributors.json: 2021-11-16 Alex Atwater Add my GitHub username to contributors.json Reviewed by Jonathan Bedard * metadata/contributors.json: 2021-11-15 Nikolas Zimmermann Add my GitHub username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=233122 Unreviewed. * metadata/contributors.json: 2021-11-13 Myles C. Maxfield [WebGPU] Add WebGPU.xcodeproj to WebKit.xcworkspace https://bugs.webkit.org/show_bug.cgi?id=233078 Reviewed by Dean Jackson. Mechanical change. When building WebGPU becomes required, people using this workspace will need it. * WebKit.xcworkspace/contents.xcworkspacedata: 2021-11-12 Don Olmstead [WinCairo] Add Little-CMS support https://bugs.webkit.org/show_bug.cgi?id=233024 Reviewed by Michael Catanzaro. Search for LCMS2 and if its present turn it on for WinCairo. * Source/cmake/OptionsWinCairo.cmake: 2021-11-11 Michael Catanzaro -Warray-bounds, -Wstringop-truncation, -Wstringop-overread warnings in Packed.h https://bugs.webkit.org/show_bug.cgi?id=226557 Reviewed by Darin Adler. Suppress -Wstringop-overread for all of WebKit when building with GCC 11 or newer. This is an unfortunate way to deal with false positives that we ought to be able to silence in just a few places, but when warnings do not respect pragmas we have few alternatives, and trying to remove derived sources from the unified build in order to build them with special flags is just not worth the effort. This is part of a larger trend of oversensitive warnings from GCC 11. * Source/cmake/WebKitCompilerFlags.cmake: 2021-11-10 Kimmo Kinnunen Coding style for inner namespaces is should be simplified to not indented https://bugs.webkit.org/show_bug.cgi?id=232073 Reviewed by Antti Koivisto. * .clang-format: Do not indent contents of inner namespaces, match current code. 2021-11-09 J Pascoe Add j_pascoe to contributors.json https://bugs.webkit.org/show_bug.cgi?id=232904 Unreviewed. * metadata/contributors.json: 2021-11-08 Myles C. Maxfield Make WebGPU.xcodeproj and WebGPU.framework https://bugs.webkit.org/show_bug.cgi?id=231661 Reviewed by Dean Jackson and Robin Morisset. * Source/Makefile: 2021-11-08 Peng Liu Update Peng Liu's contributor status to reviewer https://bugs.webkit.org/show_bug.cgi?id=232859 Unreviewed. * metadata/contributors.json: 2021-11-08 Cameron McCormack Update my status to reviewer https://bugs.webkit.org/show_bug.cgi?id=232854 Unreviewed. * metadata/contributors.json: 2021-11-04 Roy Reapor Update rreapor's status in contributors.json. https://bugs.webkit.org/show_bug.cgi?id=232685 Reviewed by Aakash Jain. * metadata/contributors.json: 2021-11-04 Diego Pino Garcia Disable MEDIA_SESSION_PLAYLIST in WebKitGTK and WPE https://bugs.webkit.org/show_bug.cgi?id=232694 Reviewed by Žan Doberšek. Since the feature depends on MEDIA_SESSION_COORDINATOR, whichs is disabled, this feature should also be disabled and not experimental. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-11-03 Pablo Saavedra [cmake] Check "cortex" string in the CMAKE_SYSTEM_PROCESSOR for defining WTF_CPU_* vars https://bugs.webkit.org/show_bug.cgi?id=232623 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/WebKitCommon.cmake: 2021-11-01 Don Olmstead [Curl] Explicitly disable libcurl's internal cookie support https://bugs.webkit.org/show_bug.cgi?id=232586 Reviewed by Ross Kirsling. Setting CURLOPT_COOKIEFILE to NULL to disable the cookie engine was not added till 7.77.0 so require that version or later. * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWinCairo.cmake: 2021-11-01 David Kilzer Add ddkilzer's GitHub name to contributors.json Reviewed by Jonathan Bedard. * metadata/contributors.json: 2021-11-01 Robert Jenner Add my GitHub name (robert-jenner) to contributors.json https://bugs.webkit.org/show_bug.cgi?id=232581 Reviewed by Jonathan Bedard. * metadata/contributors.json: 2021-11-01 Beth Dakin Add my GitHub name to contributors.json https://bugs.webkit.org/show_bug.cgi?id=232495 Reviewed by Alexey Proskuryakov. * metadata/contributors.json: 2021-11-01 BJ Burg Add bburg's GitHub username to contributors.json. Unreviewed. * metadata/contributors.json: Also, canonicalize a recent change. 2021-10-31 Fujii Hironori [WinCairo] New GraphicsLayer for GPU process mode https://bugs.webkit.org/show_bug.cgi?id=228308 Reviewed by Don Olmstead. * Source/cmake/OptionsWinCairo.cmake: 2021-10-29 Oriol Brufau Add Aakash's GitHub username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-29 Oriol Brufau Add obrufau's GitHub username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-28 Myles C. Maxfield The space glyph in the Filicudi font is not substituted by shaping in the complex text codepath, thereby breaking the visual effect of the font https://bugs.webkit.org/show_bug.cgi?id=232293 Reviewed by Darin Adler. Big thanks to Ulrike Rausch and Frank Grießhammer for contributing the test font!!! * metadata/contributors.json: 2021-10-28 Aditya Keerthi Add Aditya Keerthi as a reviewer https://bugs.webkit.org/show_bug.cgi?id=232450 Unreviewed. * metadata/contributors.json: Add myself as a reviewer, and add GitHub username. 2021-10-27 Roy Reapor Add rreapor's GitHub username to contributors.json. https://bugs.webkit.org/show_bug.cgi?id=232385 Reviewed by Aakash Jain. * metadata/contributors.json: 2021-10-26 Adrian Perez de Castro Unreviewed. [WPE] Bump version numbers * Source/cmake/OptionsWPE.cmake: 2021-10-26 Adrian Perez de Castro Multiple build issues with ENABLE_VIDEO=OFF https://bugs.webkit.org/show_bug.cgi?id=232264 Reviewed by Carlos Garcia Campos. * Source/cmake/WebKitFeatures.cmake: Make ENABLE_MEDIA_SESSION depend on ENABLE_VIDEO. 2021-10-25 Jonathan Bedard Add GitHub usernames for bedison and darinadler Unreviewed. * metadata/contributors.json: Add beidson and darinadler. 2021-10-25 Zan Dobersek Add zdobersek's GitHub name to contributors.json https://bugs.webkit.org/show_bug.cgi?id=232234 Unreviewed. * metadata/contributors.json: 2021-10-25 Martin Robinson Add mrobinson's GitHub name to contributors.json https://bugs.webkit.org/show_bug.cgi?id=232232 Unreviewed. * metadata/contributors.json: 2021-10-24 Alexey Shvayka Add my GitHub username to contributors.json and update credentials Unreviewed. * metadata/contributors.json: 2021-10-22 Guillaume Emont Add Guillaume Emont's github username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=232144 Unreviewed. * metadata/contributors.json: 2021-10-22 Pablo Correa Gómez Enable logging under non-systemd linux distros https://bugs.webkit.org/show_bug.cgi?id=232080 Reviewed by Michael Catanzaro. * Source/cmake/FindJournald.cmake: Renamed from Source/cmake/FindSystemd.cmake. * Source/cmake/OptionsGTK.cmake: Replace USE_SYSTEMD for ENABLE_JOURNALD_LOG * Source/cmake/OptionsWPE.cmake: Replace USE_SYSTEMD for ENABLE_JOURNALD_LOG 2021-10-21 Eric Carlson Add GitHub name to contributors.json https://bugs.webkit.org/show_bug.cgi?id=232131 Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-21 Chris Lord [WPE][GTK] Enable smooth scrolling by default https://bugs.webkit.org/show_bug.cgi?id=220512 Reviewed by Carlos Garcia Campos. Build smooth scrolling by default on WPE to match other platforms. * Source/cmake/OptionsWPE.cmake: 2021-10-20 Kimmo Kinnunen Add ObjC as supported .clang-format language https://bugs.webkit.org/show_bug.cgi?id=230401 Reviewed by Jonathan Bedard. Add ObjC and change few properties useful for ObjC formatting. * .clang-format: 2021-10-20 Carlos Garcia Campos [WPE] Reenable -fvisibility=hidden and -fvisibility-inlines-hidden https://bugs.webkit.org/show_bug.cgi?id=222860 Reviewed by Don Olmstead. * Source/cmake/OptionsWPE.cmake: 2021-10-19 Ross Kirsling [CMake] Align OptionsMac with Xcode build https://bugs.webkit.org/show_bug.cgi?id=231982 Reviewed by Don Olmstead. * Source/cmake/OptionsMac.cmake: Ensure that the listed options (1) are not redundant with the defaults in WebKitFeatures.cmake and (2) match the options for the Xcode build as closely as possible. * Source/cmake/WebKitFeatures.cmake: Remove an outdated feature, ENABLE_APPLE_PAY_SESSION_V9, and let ENABLE_MAC_GESTURE_EVENTS be handled by PlatformEnable, since it depends on USE_APPLE_INTERNAL_SDK. 2021-10-19 Tyler Wilcock Add AX team GitHub usernames to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231966 Reviewed by Chris Fleizach. * metadata/contributors.json: Add Chris Fleizach's and Andres Gonzalez's GitHub usernames. Add Tyler Wilcock as a contributor. Run validate-committer-lists --canonicalize to fix some style issues. 2021-10-19 Sergio Villar Senin Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-18 Ms2ger Add my github username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231893 Unreviewed. * metadata/contributors.json: 2021-10-18 Rob Buis Add my github username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231889 Reviewed by Manuel Rego Casasnovas. * metadata/contributors.json: 2021-10-18 Xan Lopez Add my github username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231887 Unreviewed. * metadata/contributors.json: add my github username. 2021-10-18 Miguel Gomez Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-16 Tetsuharu Ohzeki Add github username for tetsuharuohzeki to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231864 Reviewed by Fujii Hironori. * metadata/contributors.json: 2021-10-16 Angelos Oikonomopoulos Add my github username to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231861 Unreviewed. * metadata/contributors.json: 2021-10-16 Caitlin Potter Add github username for myself https://bugs.webkit.org/show_bug.cgi?id=231857 Reviewed by Yusuke Suzuki. * metadata/contributors.json: 2021-10-15 Basuke Suzuki Add flag to turn off Iso heap https://bugs.webkit.org/show_bug.cgi?id=231823 Reviewed by Yusuke Suzuki. Added USE_ISO_MALLOC feature flags which is on by default for most platforms. * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-10-15 Ross Kirsling Realize Mac CMake build of WebCore and WebKit https://bugs.webkit.org/show_bug.cgi?id=231749 Reviewed by Alex Christensen. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitMacros.cmake: 2021-10-15 Jonathan Bedard Add github username for Dewei Zhu Unreviewed. * metadata/contributors.json: 2021-10-15 Andres Gonzalez Change Andres Gonzalez status to reviewer. https://bugs.webkit.org/show_bug.cgi?id=231738 Reviewed by Chris Fleizach. * metadata/contributors.json: 2021-10-15 Carlos Garcia Campos Unreviewed. Fix GTK build with ubuntu 18.04 GLib version bump in r284152 was too high for ubuntu 18.04 even though it followed our dependencies policy. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-10-14 Ali Juma Add my GitHub username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-14 Víctor Manuel Jáquez Leal Add my GitHub username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-14 Commit Queue Unreviewed, reverting r283878. https://bugs.webkit.org/show_bug.cgi?id=231735 It Reverted changeset: "[WPE] Reenable -fvisibility=hidden and -fvisibility-inlines- hidden" https://bugs.webkit.org/show_bug.cgi?id=222860 https://commits.webkit.org/r283878 2021-10-14 Carlos Garcia Campos [GTK][WPE] Bump GLib version to 2.58.3 https://bugs.webkit.org/show_bug.cgi?id=231726 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-10-14 Enrique Ocaña González [contributors.json] Add eocanha github account and canonicalize https://bugs.webkit.org/show_bug.cgi?id=231729 Unreviewed. Added eocanha github user to contributors.json and canonicalize the file to make the style checker happy. * metadata/contributors.json: 2021-10-13 Tim Horton Add my GitHub username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-13 Carlos Garcia Campos Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-12 Alex Christensen Add webpushd executable https://bugs.webkit.org/show_bug.cgi?id=231650 Reviewed by Brady Eidson. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: 2021-10-12 Basuke Suzuki [PlayStation] Enable RemoteInspector by default https://bugs.webkit.org/show_bug.cgi?id=231599 Reviewed by Fujii Hironori. It was treated as experimental feature but we've depended on this feature in various situation. * Source/cmake/OptionsPlayStation.cmake: 2021-10-12 Philippe Normand Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-11 Patrick Griffis Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-11 Sam Weinig Add my github username and keep my expertise where it is because, while not up to date, it is fun Unreviewed. * metadata/contributors.json: 2021-10-11 Theresa O'Connor Various updates to my contributors.json entry. Unreviewed. * metadata/contributors.json: 2021-10-11 Devin Rousso Add my github and update my expertise Unreviewed. * metadata/contributors.json: 2021-10-10 Noam Rosenthal Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-11 Emilio Cobos Álvarez Add my GitHub username to contributors.json. https://bugs.webkit.org/show_bug.cgi?id=231507 Unreviewed. * metadata/contributors.json: 2021-10-11 Claudio Saavedra Add my github username to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-11 Diego Pino Garcia Add GitHub username for Diego Pino Garcia Unreviewed. * metadata/contributors.json: 2021-10-10 Pablo Saavedra Add GitHub username for Pablo Saavedra Unreviewed. * metadata/contributors.json: 2021-10-10 Xabier Rodriguez Calvar Unreviewed. Add GitHub username for Xabier Rodriguez Calvar * metadata/contributors.json: 2021-10-10 Cameron McCormack Add GitHub account to contributors.json https://bugs.webkit.org/show_bug.cgi?id=231497 Unreviewed. * metadata/contributors.json: 2021-10-10 Michael Catanzaro [WPE] Reenable -fvisibility=hidden and -fvisibility-inlines-hidden https://bugs.webkit.org/show_bug.cgi?id=222860 Reviewed by Philippe Normand. * Source/cmake/OptionsWPE.cmake: 2021-10-10 Adrian Perez de Castro Unreviewed. Add GitHub username for Adrian Perez de Castro While at it, run "validate-committer-lists --canonicalize". * metadata/contributors.json: 2021-10-09 Alberto Garcia Add GitHub account to contributors.json Unreviewed. * metadata/contributors.json: 2021-10-09 Jean-Yves Avenard Unreviewed, add my GitHub username * metadata/contributors.json: 2021-10-09 Manuel Rego Casasnovas Add GitHub account to contributors.json and update expertise field https://bugs.webkit.org/show_bug.cgi?id=231476 Unreviewed. * metadata/contributors.json: 2021-10-08 Joonghun Park Unreviewed. Add github username for Joonghun Park. * metadata/contributors.json: 2021-10-08 Jonathan Bedard Add github username for Michael Catanzaro Unreviewed. * metadata/contributors.json: 2021-10-08 Kenneth Russell Add github username for kbr https://bugs.webkit.org/show_bug.cgi?id=231462 Reviewed by Dean Jackson. * metadata/contributors.json: 2021-10-08 Ross Kirsling Unreviewed, add GitHub usernames for Sony contributors. * metadata/contributors.json: 2021-10-08 Yusuke Suzuki Unreviewed, add my GitHub username * metadata/contributors.json: 2021-10-08 Tim Nguyen [contributors.json] Add more Github usernames https://bugs.webkit.org/show_bug.cgi?id=231453 Reviewed by Jonathan Bedard. * metadata/contributors.json: 2021-10-08 Jonathan Bedard [contributors.json] Support GitHub usernames https://bugs.webkit.org/show_bug.cgi?id=231400 Reviewed by Dewei Zhu. * metadata/contributors.json: Add some GitHub usernames. 2021-10-07 Carlos Garcia Campos [GTK] Reenable -fvisibility=hidden https://bugs.webkit.org/show_bug.cgi?id=181916 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: 2021-10-06 Chris Dumez Unreviewed, mark Kimmo Kinnunen as reviewer in the right contributors.json file this time. * metadata/contributors.json: 2021-10-03 Basuke Suzuki Enable release log to stderr https://bugs.webkit.org/show_bug.cgi?id=230725 Reviewed by Michael Catanzaro. Introduced new flags, USE_LOG_STDERR for release logging to stderr. * Source/cmake/WebKitFeatures.cmake: 2021-10-02 Philippe Normand [GTK][WPE] Enable bwrap launcher build on bots https://bugs.webkit.org/show_bug.cgi?id=230969 Reviewed by Michael Catanzaro. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-09-30 Yusuke Suzuki Upgrade GCC requirement to 8.3.0 https://bugs.webkit.org/show_bug.cgi?id=231042 Reviewed by Darin Adler. 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. This paves the way to enabling some of useful C++20 features, e.g. default initializer for bitfields. [1]: https://trac.webkit.org/wiki/WebKitGTK/GCCRequirement * Source/cmake/WebKitCommon.cmake: 2021-09-29 Kimmo Kinnunen MediaStream canvas.captureStream() fails for WebGL https://bugs.webkit.org/show_bug.cgi?id=230613 Reviewed by Youenn Fablet. Add a manual test to interact with media stream captureStream() behavior until the implementation is testable. * ManualTests/mediastream/mediastream-canvas-to-video.html: Added. 2021-09-28 Carlos Garcia Campos [GTK][WPE] Bump libsoup3 version to 3.0.0 https://bugs.webkit.org/show_bug.cgi?id=230601 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-09-23 Fujii Hironori [MSVC] The "/Zc:lambda" switch is recommended to use the new lambda processor. https://bugs.webkit.org/show_bug.cgi?id=226070 Reviewed by Ross Kirsling. Visual Studio 16.5 added the "/Zc:lambda" switch for the better C++ conformance, but it had a compiler crashing bug. Visual Studio 16.9 fixed the bug. * Source/cmake/OptionsMSVC.cmake: Added /Zc:lambda for Visual Studio 16.9 or later. I will remove the MSVC_VERSION check after AppleWin bots will upgrade MSVC. 2021-09-17 Angelos Oikonomopoulos Unbreak GCC_OFFLINEASM_SOURCE_MAP when LTO is in use https://bugs.webkit.org/show_bug.cgi?id=230061 Reviewed by Michael Catanzaro. * Source/cmake/OptionsCommon.cmake: Re-enable GCC_OFFLINEASM_SOURCE_MAP. 2021-09-17 Carlos Garcia Campos Unreviewed. [GTK] Bump version numbers * Source/cmake/OptionsGTK.cmake: 2021-09-17 Martin Robinson Add Martin Robinson as a reviewer https://bugs.webkit.org/show_bug.cgi?id=230392 Unreviewed. * metadata/contributors.json: Add myself as a reviewer and update my specializations. 2021-09-17 Carlos Garcia Campos [GTK][a11y] Add a build option to enable ATSPI https://bugs.webkit.org/show_bug.cgi?id=230254 Reviewed by Adrian Perez de Castro. Add USE_ATSPI build option that disables ATK and enables isolated tree. * Source/cmake/OptionsGTK.cmake: 2021-09-16 Philip Chimento Fixes for build-webkit --minimal https://bugs.webkit.org/show_bug.cgi?id=229780 Reviewed by Fujii Hironori. Remove ENABLE_RESIZE_OBSERVER build-time option. This option is quite broken if you try to disable it. * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-09-15 Philip Chimento Fixes for build-webkit --minimal https://bugs.webkit.org/show_bug.cgi?id=229780 Reviewed by Fujii Hironori. Remove ENABLE_INTERSECTION_OBSERVER build-time option. This option is quite broken if you try to disable it. * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-09-14 John Wilander Rename RESOURCE_LOAD_STATISTICS to INTELLIGENT_TRACKING_PREVENTION https://bugs.webkit.org/show_bug.cgi?id=230279 Reviewed by Darin Adler. * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-09-14 Hoa Dinh Add dvh@apple.com to the list of contributors. https://bugs.webkit.org/show_bug.cgi?id=230276 Reviewed by Jonathan Bedard. * metadata/contributors.json: 2021-09-13 Sam Sneddon Move ENABLE_RESOLUTION_MEDIA_QUERY to a runtime flag, start running tests again https://bugs.webkit.org/show_bug.cgi?id=229776 Reviewed by Simon Fraser. * Source/cmake/OptionsFTW.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-09-11 Philippe Normand [GLIB] MediaSession is not enabled https://bugs.webkit.org/show_bug.cgi?id=217991 Reviewed by Michael Catanzaro. Enable MediaSession as an experimental build feature in CMake ports. The spec status is currently Draft. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-09-08 Justin Michaud Change Justin Michaud's primary email to apple.com https://bugs.webkit.org/show_bug.cgi?id=230069 Reviewed by Robin Morisset. * metadata/contributors.json: 2021-09-07 Fujii Hironori [WinCairo] Support prefers-color-scheme media query https://bugs.webkit.org/show_bug.cgi?id=229976 Reviewed by Don Olmstead. Just turned on ENABLE_DARK_MODE_CSS and HAVE_OS_DARK_MODE_SUPPORT. It's always the light mode. * Source/cmake/OptionsWin.cmake: * Source/cmake/OptionsWinCairo.cmake: 2021-09-06 Carlos Alberto Lopez Perez [CMake] Prefer python3 over python2 https://bugs.webkit.org/show_bug.cgi?id=229969 Reviewed by Michael Catanzaro. Use the CMake module FindPython instead of FindPythonInterp. FindPython looks preferably for version 3 of Python. If not found, then it looks for version 2. * Source/cmake/WebKitCommon.cmake: 2021-09-03 Michael Catanzaro Disable GCC_OFFLINEASM_SOURCE_MAP https://bugs.webkit.org/show_bug.cgi?id=229893 Unreviewed, this fixes build failures caused by invalid assembler sources. * Source/cmake/OptionsCommon.cmake: 2021-09-01 Jonathan Bedard [contributors.json] Relocation (Part 2) https://bugs.webkit.org/show_bug.cgi?id=229690 Reviewed by Dewei Zhu. * metadata/contributors.json: Convert from dictionary to list. 2021-09-01 Jonathan Bedard [contributors.json] Relocation (Part 1) https://bugs.webkit.org/show_bug.cgi?id=229690 Reviewed by Aakash Jain. * metadata/contributors.json: Copied from Tools/Scripts/webkitpy/common/config/contributors.json. 2021-08-30 Zan Dobersek RISCV64 support in LLInt https://bugs.webkit.org/show_bug.cgi?id=229035 Reviewed by Yusuke Suzuki. * Source/cmake/WebKitFeatures.cmake: Don't force CLoop to be default for RISCV64 anymore. 2021-08-27 Stephan Szabo [PlayStation][CMake] Add control over whether JavaScriptCore should be shared https://bugs.webkit.org/show_bug.cgi?id=229591 Add option for controlling whether to build a shared JavaScriptCore and set build type for that appropriately. Reviewed by Don Olmstead. * Source/cmake/OptionsPlayStation.cmake: 2021-08-27 Russell Epstein Land Windows build fixes from safari-612.1.29.14-branch. https://bugs.webkit.org/show_bug.cgi?id=229627 Reviewed by Per Arne Vollan. * Source/Makefile: * Source/cmake/WinTools.make: 2021-08-27 Carlos Alberto Lopez Perez [CMake] ICU 61.2 is required to build WebKit since r281375 https://bugs.webkit.org/show_bug.cgi?id=229608 Reviewed by Yusuke Suzuki. Raise the minimum version required for ICU. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWinCairo.cmake: 2021-08-25 Myles C. Maxfield Add command to enable logging in the docs https://bugs.webkit.org/show_bug.cgi?id=229419 Reviewed by Dean Jackson. * Introduction.md: 2021-08-20 Carlos Alberto Lopez Perez REGRESSION(r274166): [GTK] It broke run-javascriptcore-tests causing all tests to use lot of memory https://bugs.webkit.org/show_bug.cgi?id=229321 Unreviewed, reverting r274166 because it caused JSC tests to use too much memory. Reverted changeset: "[GTK] Reenable -fvisibility=hidden" https://bugs.webkit.org/show_bug.cgi?id=181916 https://commits.webkit.org/r274166 * Source/cmake/OptionsGTK.cmake: 2021-08-16 David Kilzer "make analyze" should run clang static analyzer in deep mode Reviewed by Alexey Proskuryakov. * Makefile.shared: - Add "analyze" argument to xcodebuild command when invoking "make analyze" to run clang static analyzer in deep mode. Simplify "make analyze" since $(PATH_TO_SCAN_BUILD) does not need to be set. 2021-08-16 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.33.3 release * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2021-08-09 Myles C. Maxfield Update logging docs after r280758 https://bugs.webkit.org/show_bug.cgi?id=228899 Reviewed by Fujii Hironori. Add more information about logging. * Introduction.md: 2021-08-05 Michael Catanzaro GCC 11 builds should use -Wno-array-bounds, -Wno-nonnull https://bugs.webkit.org/show_bug.cgi?id=228601 Reviewed by Carlos Garcia Campos. Prior to GCC 11, these were good warnings that could catch serious errors. But GCC 11 has just become too sensitive and it's flagging what appear to be harmless cases, and not providing enough feedback to know why. This has resulted in me littering our code with pragmas to suppress GCC's false positives, and I think it's reached the point where it's nicer to just turn off the warnings until such time that GCC gets this under control, and rely on Clang instead in the meantime. The GCC developers have indicated that these warnings will *always* produce false positives in some circumstances, but with GCC 11 it's just too become too much IMO. * Source/cmake/WebKitCompilerFlags.cmake: 2021-07-30 Adrian Perez de Castro [CMake] Fix fallback methods in the libgcrypt find module https://bugs.webkit.org/show_bug.cgi?id=228581 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/FindLibGcrypt.cmake: Make sure to use the libgcrypt-config script as first fallback if libgcrypt.pc is not present, and fix the regexp used as last fallback that checks the version from the gcrypt.h header as last fallback to only include digits and periods. 2021-07-29 Myles C. Maxfield Stop building WebGPU and the WHLSL compiler to decrease binary size https://bugs.webkit.org/show_bug.cgi?id=228179 Reviewed by Dean Jackson, Robin Morisset, and Devin Rousso. * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWinCairo.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2021-07-29 Adrian Perez de Castro [CMake] Fix missing libgpg-error not added to link commands as libgcrypt dep after r280423 https://bugs.webkit.org/show_bug.cgi?id=228581 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/FindLibGcrypt.cmake: Manually search for libgpg-error, which is not listed in libgcrypt.pc as a dependency, add an imported target for it, and add it as a dependency of LibGcrypt::LibGcrypt to avoid missing symbols at link time. 2021-07-29 Adrian Perez de Castro [CMake] Use an imported target for the libgcrypt library https://bugs.webkit.org/show_bug.cgi?id=228581 Reviewed by Michael Catanzaro. * Source/cmake/FindLibGcrypt.cmake: Replaced find module by a new one which defines a LibGcrypt::LibGcrypt imported target, using more modern CMake constructs. * Source/cmake/OptionsGTK.cmake: Use the LibGcrypt::LibGcrypt imported target. * Source/cmake/OptionsWPE.cmake: Ditto. 2021-07-28 Philippe Normand [WPE][GTK] SVN_REVISION drifting away if bots don't re-run cmake https://bugs.webkit.org/show_bug.cgi?id=228290 Reviewed by Michael Catanzaro. The CMake configure_file() is now used only tarball builds for files requiring information about the build revision. For developer builds a custom target now takes care of keeping those files up-to-date. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-07-27 Zan Dobersek [CMake] Add WTF_CPU_RISCV64 https://bugs.webkit.org/show_bug.cgi?id=228322 Reviewed by Adrian Perez de Castro. Define the WTF_CPU_RISCV64 CMake macro when the specified system processor name begins with 'riscv64'. This should also cover potential RISC-V processor names ingrained with specific ISA extensions that are then detectable at compile-time through specified C macros. For WTF_CPU_RISCV64, default to disabling JIT and FTL features at the CMake level until they are properly supported. Defaulting to system malloc can already be avoided, but CLoop is necessary for now. * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-07-25 Michael Catanzaro [GTK] USE_OPENGL_OR_ES should not be an automagic feature https://bugs.webkit.org/show_bug.cgi?id=228266 Reviewed by Fujii Hironori. The USE_OPENGL_OR_ES feature flag added in r271220 is currently automagic: that is, if neither OpenGL nor OpenGL ES is available at build time, it gets silently disabled. This is not OK because it makes it easy for distributors to accidentally fail to enable OpenGL support. We should require manually disabling the feature with -DUSE_OPENGL_OR_ES=OFF in order to build with OpenGL disabled. * Source/cmake/OptionsGTK.cmake: 2021-07-23 Philippe Normand [GLib] Remove libportal dependency https://bugs.webkit.org/show_bug.cgi?id=228056 Reviewed by Carlos Garcia Campos. * Source/cmake/FindLIBPORTAL.cmake: Removed. * Source/cmake/GStreamerChecks.cmake: 2021-07-16 Alexander Mikhaylenko [GTK][WPE] Support color-schemes CSS property https://bugs.webkit.org/show_bug.cgi?id=208204 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsGTK.cmake: Enable HAVE_OS_DARK_MODE_SUPPORT. * Source/cmake/OptionsWPE.cmake: Enable ENABLE_DARK_MODE_CSS and HAVE_OS_DARK_MODE_SUPPORT. 2021-07-15 Philippe Normand Unreviewed, CMake fix-up after r279940 * Source/cmake/FindLIBPORTAL.cmake: Fix libportal detection. 2021-07-15 Philippe Normand [GStreamer][Pipewire] Implement getDisplayMedia() backend https://bugs.webkit.org/show_bug.cgi?id=210926 Reviewed by Xabier Rodriguez-Calvar. * Source/cmake/FindLIBPORTAL.cmake: Added. * Source/cmake/GStreamerChecks.cmake: Enable Pipewire support if libportal was found. 2021-07-13 Michael Catanzaro Remove USE_64KB_PAGE_BLOCK https://bugs.webkit.org/show_bug.cgi?id=227905 Reviewed by Yusuke Suzuki. I added the USE_64KB_PAGE_BLOCK build option in bug #217989 for use by RHEL. But going forward, I don't need it anymore, and can maintain it downstream where it is needed. (This option might also be useful to SUSE, but they already don't use it, so won't miss it.) I've seen users who don't understand the consequences of this option enabling it on x86_64, even though there are serious negative consequences and zero benefits to using it. So let's get rid of it. * Source/cmake/WebKitFeatures.cmake: 2021-07-13 Carlos Garcia Campos [GTK][WPE] Expose support for client certificate auth https://bugs.webkit.org/show_bug.cgi?id=200805 Reviewed by Michael Catanzaro. Bump libsoup3 required version. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-06-24 Zan Dobersek REGRESSION(r236846): WPE shouldn't depend on OpenGL ES 3 https://bugs.webkit.org/show_bug.cgi?id=227289 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsWPE.cmake: Drop the OpenGLES2 package search. None of the possible versions are meaningful because libepoxy is used as the underlying GL relay. 2021-06-24 Martin Robinson [css-scroll-snap] Remove ENABLE_SCROLL_SNAP compile-time option https://bugs.webkit.org/show_bug.cgi?id=227067 Reviewed by Simon Fraser. Remove compile-time ENABLE_SCROLL_SNAP configuration option. * Source/cmake/WebKitFeatures.cmake: Remove the flag from the CMake configuration. 2021-06-21 Fujii Hironori [WinCairo] Turn ENABLE_SHAREABLE_RESOURCE on https://bugs.webkit.org/show_bug.cgi?id=227011 Reviewed by Don Olmstead. * Source/cmake/OptionsWin.cmake: Turned ENABLE_SHAREABLE_RESOURCE on for WinCairo port. 2021-06-18 Sergio Villar Senin Ignore clangd's directory with index files https://bugs.webkit.org/show_bug.cgi?id=227162 Reviewed by Žan Doberšek. clangd stores its indexes in a .cache directory. Let git ignore it. * .gitignore: 2021-06-11 Adrian Perez de Castro Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.33.2 release * Source/cmake/OptionsWPE.cmake: Bump version numbers. 2021-06-10 Carlos Alberto Lopez Perez [CMake][GTK][WPE] Improve error message when libsoup3 is not found https://bugs.webkit.org/show_bug.cgi?id=226905 Reviewed by Adrian Perez de Castro. When libsoup 3 is not found be more clear about the problem and offer possible workaround to continue the build. * Source/cmake/FindLibSoup.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-06-10 Philippe Normand [WPE] Enable Cog for developer builds https://bugs.webkit.org/show_bug.cgi?id=224360 Reviewed by Adrian Perez de Castro. Cog would be preferred over MiniBrowser for WPE developer builds because it provides a nicer user experience, while keeping the same spirit as MiniBrowser. Pass `-DENABLE_COG=NO` to CMake to disable it and fall back to MiniBrowser. * Source/cmake/OptionsWPE.cmake: 2021-06-08 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.33.2 release * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2021-06-07 Carlos Garcia Campos [GTK][WPE] Bump libsoup3 version to 2.99.8 https://bugs.webkit.org/show_bug.cgi?id=226713 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-06-04 Per Arne Vollan [AppleWin] JSC build failure https://bugs.webkit.org/show_bug.cgi?id=226659 Reviewed by Brent Fulgham. WTF scripts location is not being correctly identified. * Source/cmake/OptionsAppleWin.cmake: 2021-06-04 Martin Robinson [Win] Implement scroll-snap-points on Windows https://bugs.webkit.org/show_bug.cgi?id=142503 Reviewed by Simon Fraser. * Source/cmake/OptionsWin.cmake: Stop disabling scroll-snap for Apple Win port. 2021-05-27 Don Olmstead [CMake] Add check for timingsafe_bcmp https://bugs.webkit.org/show_bug.cgi?id=226347 Reviewed by Chris Dumez. Adds a symbol check for timingsafe_bcmp and sets HAVE_TIMINGSAFE_BCMP accordingly in the cmakeconfig.h. * Source/cmake/OptionsCommon.cmake: 2021-05-27 Adrian Perez de Castro Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.33.1 release * Source/cmake/OptionsWPE.cmake: Bump version numbers. 2021-05-27 Adrian Perez de Castro Unreviewed. [WPE] Bump version numbers * Source/cmake/OptionsWPE.cmake: 2021-05-26 Don Olmstead [CMake] Support USE_ANGLE_EGL on additional platforms https://bugs.webkit.org/show_bug.cgi?id=224888 Reviewed by Ken Russell. USE_ANGLE_EGL is for platforms that want to use ANGLE as the sole OpenGL ES implementation within WebKit. This setting is applicable to Mac and Windows platforms. USE_ANGLE_WEBGL is just for platforms that want to use ANGLE for WebGL 2.0 support only. Any other uses of OpenGL should go through the system OpenGL (desktop or embedded). This setting applies to GTK. The platform options were modified to match this. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: 2021-05-25 Don Olmstead [PlayStation] Implement FileSystem without std::filesystem https://bugs.webkit.org/show_bug.cgi?id=226197 Reviewed by Chris Dumez. Expose the result of the check for support as HAVE_STD_FILESYSTEM. * Source/cmake/OptionsCommon.cmake: 2021-05-18 Yoshiaki Jitsukawa [PlayStation] Fix PlayStation port https://bugs.webkit.org/show_bug.cgi?id=225913 Reviewed by Don Olmstead. Fix PlayStation port * Source/cmake/OptionsPlayStation.cmake: Rename PLAYSTATION_COPY_SHARED_LIBRARIES to PLAYSTATION_COPY_REQUIREMENTS and let it copy more general files. Touch ebootparam.ini by the playstation_tools_copy custom_target. 2021-05-15 Sam Weinig Allow conditionally enabling OffscreenCanvas only for non-worker contexts https://bugs.webkit.org/show_bug.cgi?id=225845 Reviewed by Darin Adler. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: Match current behavior of ENABLE_OFFSCREEN_CANVAS for ENABLE_OFFSCREEN_CANVAS_IN_WORKERS. 2021-05-14 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.33.1 release * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2021-05-14 Carlos Garcia Campos Unreviewed. [GTK] Fix make distcheck Use WEBKITGTK_API_DOC_VERSION instead of WEBKITGTK_API_VERSION or the documentation install rules. * Source/PlatformGTK.cmake: 2021-05-07 Carlos Garcia Campos [GTK][WPE] Bump libsoup3 version to 2.99.5 https://bugs.webkit.org/show_bug.cgi?id=225506 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-05-06 Yoshiaki Jitsukawa [OpenSSL] Implement CryptoAlgorithmRSA* https://bugs.webkit.org/show_bug.cgi?id=225294 Reviewed by Don Olmstead. Implement RSA for OpenSSL. Implement CryptoAlgorithmRSA_OAEP, CryptoAlgorithmRSA_PSS, CryptoAlgorithmRSAES_PKCS1_v1_5, CryptoAlgorithmRSASA_PKCS1_v1_5, and CryptoKeyRSA for OpenSSL. Note that if such OpenSSL version that does not support RSA_OAEP or RSA_PSS, the WebCrypto API for those algorithm will return a NotSupportedError. * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWinCairo.cmake: 2021-05-05 Michael Catanzaro USE_64KB_PAGE_BLOCK build option is broken https://bugs.webkit.org/show_bug.cgi?id=225393 Reviewed by Adrian Perez de Castro. Call SET_AND_EXPOSE_TO_BUILD(). * Source/cmake/WebKitFeatures.cmake: 2021-05-05 Michael Catanzaro Fix typo in comment in WebKitFeatures.cmake https://bugs.webkit.org/show_bug.cgi?id=225392 Unreviewed. * Source/cmake/WebKitFeatures.cmake: 2021-04-27 Don Olmstead [CMake] Don't use FORWARDING_HEADERS_DIR for GTK WebKit headers https://bugs.webkit.org/show_bug.cgi?id=225006 Reviewed by Michael Catanzaro. Create CMake variables WebKit2Gtk_FRAMEWORK_HEADERS_DIR and WebKit2Gtk_DERIVED_SOURCES_DIR to represent where the WebKit2 GTK headers and derived sources will reside. The names and locations set then follow along with the conventions used for the other frameworks. * Source/cmake/OptionsGTK.cmake: 2021-04-26 Alex Christensen Update Mac-specific CMake files https://bugs.webkit.org/show_bug.cgi?id=225064 Rubber-stamped by Tim Horton. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitCommon.cmake: 2021-04-26 Don Olmstead [PlayStation] Fix build break after r276368 https://bugs.webkit.org/show_bug.cgi?id=225056 Reviewed by Ross Kirsling. Ensure that the OpenGL::GLES target is created. * Source/cmake/OptionsPlayStation.cmake: 2021-04-22 Martin Robinson [GTK] Turn on editable and fields https://bugs.webkit.org/show_bug.cgi?id=224921 Reviewed by Carlos Garcia Campos. Turn on editable date and time inputs for GTK * Source/cmake/OptionsGTK.cmake: Add new source file to the list. 2021-04-22 Imanol Fernandez Implement WebXR Input Sources https://bugs.webkit.org/show_bug.cgi?id=223257 Reviewed by Youenn Fablet. Enable WPE Gamepad when WebXR is enabled. * Source/cmake/OptionsWPE.cmake: 2021-04-22 Carlos Garcia Campos [SOUP] Add support for preconnect https://bugs.webkit.org/show_bug.cgi?id=177934 Reviewed by Sergio Villar Senin. Enable server preconnect support when building with libsoup3. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-04-22 Carlos Garcia Campos [GTK][WPE] Bump libsoup3 version to 2.99.4 https://bugs.webkit.org/show_bug.cgi?id=224925 Reviewed by Philippe Normand. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-04-21 Martin Robinson Enable CSS Scroll Snap by default https://bugs.webkit.org/show_bug.cgi?id=224867 Reviewed by Don Olmstead. * Source/cmake/OptionsFTW.cmake: Remove redundant line enabling scroll snap. * Source/cmake/OptionsGTK.cmake: Ditto. * Source/cmake/OptionsMac.cmake: Ditto. * Source/cmake/OptionsWPE.cmake: Ditto. * Source/cmake/OptionsWin.cmake: Explicitly disable scroll snap for AppleWin port until it can be approved by maintainers. * Source/cmake/WebKitFeatures.cmake: Enable scroll snap by default. 2021-04-21 Don Olmstead [CMake] Add OpenGLES2 targets https://bugs.webkit.org/show_bug.cgi?id=224786 Reviewed by Adrian Perez de Castro. Modernize the FindOpenGLES2.cmake module. Add an OpenGL::GLES target. Also add an OpenGLES2_API_VERSION value so HAVE_OPENGL_ES_3 can be determined. For WPE add a find_package for OpenGL ES so the target is present. For GTK set HAVE_OPENGL_ES_3 if OpenGLES2_API_VERSION supports it. * Source/cmake/FindOpenGLES2.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-04-20 Don Olmstead [CMake] Don't use FORWARDING_HEADERS_DIR for JSC GLib headers https://bugs.webkit.org/show_bug.cgi?id=224821 Reviewed by Michael Catanzaro. Create CMake variables JavaScriptCoreGLib_FRAMEWORK_HEADERS_DIR and JavaScriptCoreGLib_DERIVED_SOURCES_DIR to represent where the JavaScriptCore GLib headers and derived sources will reside. The names and locations set then follow along with the conventions used for the other frameworks. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-04-20 Carlos Garcia Campos [WPE] Switch to libsoup3 by default https://bugs.webkit.org/show_bug.cgi?id=224802 Reviewed by Žan Doberšek. * Source/cmake/OptionsWPE.cmake: 2021-04-19 Carlos Garcia Campos [GTK] Switch to libsoup3 by default https://bugs.webkit.org/show_bug.cgi?id=224741 Reviewed by Sergio Villar Senin. * Source/cmake/OptionsGTK.cmake: 2021-04-19 Philippe Normand [WPE][GTK] Enable AVIF decoder as experimental feature and unskip tests https://bugs.webkit.org/show_bug.cgi?id=224663 Reviewed by Xabier Rodriguez-Calvar. Make the USE_AVIF option public and enable it as experimental feature. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-04-16 Philippe Normand [CMake] UBSan build fixes https://bugs.webkit.org/show_bug.cgi?id=224536 Reviewed by Adrian Perez de Castro. Synchronize UBSan compiler flags with the ones defined in ubsan.xcconfig. * Source/cmake/WebKitCompilerFlags.cmake: 2021-04-15 Don Olmstead ANGLE is only being built when WebGL is enabled https://bugs.webkit.org/show_bug.cgi?id=224555 Reviewed by Fujii Hironori. ANGLE should be built if either USE_ANGLE_EGL or ENABLE_WEBGL is ON. * Source/CMakeLists.txt: 2021-04-15 Basuke Suzuki Remove warnings caused by export g_config extern definition in WTFConfig.h https://bugs.webkit.org/show_bug.cgi?id=224462 Reviewed by Don Olmstead. While building PlayStation port, lots of warnings are displayed: > WTF/Headers\wtf/WTFConfig.h:49:36: warning: redeclaration of 'WebConfig::g_config' > should not add 'dllimport' attribute [-Wdll-attribute-on-redeclaration] > extern "C" WTF_EXPORT_PRIVATE Slot g_config[]; > ^ > bmalloc/Headers\bmalloc/GigacageConfig.h:38:17: note: previous declaration is here > extern "C" Slot g_config[]; This is because the two definitions are not same. Becasue we can't solve the situation completely, we just ignore these warnings at this morment. * Source/cmake/OptionsPlayStation.cmake: 2021-04-15 Philippe Normand [WebRTC][GStreamer] Build and use the openh264 based encoder if present on the system https://bugs.webkit.org/show_bug.cgi?id=202538 Reviewed by Xabier Rodriguez-Calvar. * Source/CMakeLists.txt: * Source/cmake/GStreamerChecks.cmake: 2021-04-14 Don Olmstead [PlayStation] Disable WebGL https://bugs.webkit.org/show_bug.cgi?id=224562 Reviewed by Alex Christensen. WebGL support on PlayStation platforms is deprecated. * Source/cmake/OptionsPlayStation.cmake: 2021-04-13 Philippe Normand [GTK][WPE] Avif decoder build broken https://bugs.webkit.org/show_bug.cgi?id=224232 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Require 0.9.0 due to avifIO usage in the decoder. 2021-04-09 Carlos Garcia Campos [GTK][WPE] Bump libsoup3 version to 2.99.3 https://bugs.webkit.org/show_bug.cgi?id=224362 Reviewed by Žan Doberšek. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-04-07 Michael Catanzaro [GTK] webkit://gpu should print runtime libwpe and wpebackend-fdo versions https://bugs.webkit.org/show_bug.cgi?id=224298 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsGTK.cmake: 2021-04-07 Don Olmstead [CMake] Mark _LIBRARY not _LIBRARIES in find modules https://bugs.webkit.org/show_bug.cgi?id=224283 Reviewed by Michael Catanzaro. A few find modules are erroniously sending _LIBRARIES to mark_as_advanced rather than _LIBRARY. The former is created from the _LIBRARY value so it isn't valid at that point. * Source/cmake/FindCairo.cmake: * Source/cmake/FindFontconfig.cmake: * Source/cmake/FindSQLite3.cmake: 2021-04-07 Kimmo Kinnunen .gitignore contains 'build/' which causes all directories named 'build/' to be ignored https://bugs.webkit.org/show_bug.cgi?id=224227 Reviewed by Ryosuke Niwa. Remove 'build/' from .gitignore, it was causing errors by hiding files. WebGL conformance test suite files have directiories with 'build/' in its path. Most likely '/build/' is not a common build directory, since the scripts seem to default to '/WebKitBuild/'. * .gitignore: 2021-04-06 Philippe Normand REGRESSION(r275275): Broke some build configs lacking openh264 https://bugs.webkit.org/show_bug.cgi?id=224244 Unreviewed, manual revert of r275275 and r275409. * Source/CMakeLists.txt: * Source/cmake/GStreamerChecks.cmake: 2021-04-06 Mark Lam Speculative build fix for Windows port. https://bugs.webkit.org/show_bug.cgi?id=224243 rdar://75883248 Reviewed by Saam Barati. Source/cmake/tools/scripts/auto-version.pl was limiting our `minor` and `micro` version to only 2 decimal digits only. In practice, we can use up to 3 digits. * Source/cmake/tools/scripts/auto-version.pl: (packTwoValues): 2021-04-05 Alex Christensen Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Reviewed by Tim Horton. * Source/cmake/OptionsMac.cmake: 2021-04-05 Tyler Wilcock Document how to use logging in WebKit https://bugs.webkit.org/show_bug.cgi?id=224152 Reviewed by Simon Fraser. Add documentation about how to use logging in WebKit. * Introduction.md: 2021-03-28 David Kilzer Compile WebKit with UBSan Reviewed by Alexey Proskuryakov. * Makefile.shared: - Add support for "UBSAN=YES" argument to make. 2021-03-27 Philippe Normand REGRESSION(r275111) [GLIB] Fix build with new derived sources and forwarding headers scheme https://bugs.webkit.org/show_bug.cgi?id=223834 Unreviewed build fix. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-03-26 Lauro Moura REGRESSION(r275111) [GLIB] Fix build with new derived sources and forwarding headers scheme https://bugs.webkit.org/show_bug.cgi?id=223834 Unreviewed build fix. Buildfix for now. Actual removal of older scheme will come in the future. * Source/cmake/OptionsWPE.cmake: Add some missing variables with the per framework source and header dirs. 2021-03-26 Don Olmstead [CMake] Deprecate using DERIVED_SOURCES_DIR/FOWARDING_HEADERS_DIR directly https://bugs.webkit.org/show_bug.cgi?id=223763 Reviewed by Michael Catanzaro. Remove any usages of DERIVED_SOURCES_DIR and FOWARDING_HEADERS_DIR. There are still some uses in GTK/WPE but those should be phased out. Sets the directory structure to look like an Apple build in terms of where headers and derived sources are held. Rather than having one root derived sources and one root header directory those directories are now per project. This helps catch any errors with header includes. Deletes some old Mac CMake code that is no longer relevant around creating forwarding headers. For AppleWin the old structure is used because of its internal build which assumes the old structure. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWinCairo.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFS.cmake: * Source/cmake/WebKitMacros.cmake: 2021-03-23 Adrian Perez de Castro [CMake] Use an imported target for the LCMS2 library https://bugs.webkit.org/show_bug.cgi?id=223442 Reviewed by Carlos Garcia Campos. * Source/cmake/FindLCMS2.cmake: Replaced find module by a new one which defines a LCMS2::LCMS2 imported target and in general uses more modern CMake constructs. 2021-03-23 Cameron McCormack Update .clang-format to reflect WebKit style better. https://bugs.webkit.org/show_bug.cgi?id=223229 First, SpaceBeforeCpp11BracedList is set to true so that a space is introduced after a variable name and before a braced initializer. Second, AlwaysBreakTemplateDeclarations is changed from false (an invalid value) to No, which should result in no line breaks being introduced in template declarations. Although there is a mix of template declaration line breaking styles in the codebase, changing this option to No will prevent clang-format from introducing one where the patch author decides to write the declaration all on one line. Reviewed by Alex Christensen. * .clang-format: 2021-03-22 Adrian Perez de Castro [CMake] Wrong variable used in FindFontconfig used to pick version from pkg-config https://bugs.webkit.org/show_bug.cgi?id=223557 Reviewed by Michael Catanzaro. * Source/cmake/FindFontconfig.cmake: Fix to use ${PC_FONTCONFIG_VERSION}. 2021-03-18 Carlos Garcia Campos [WPE] Bump API version when building with libsoup3 https://bugs.webkit.org/show_bug.cgi?id=223437 Reviewed by Adrian Perez de Castro. Use 1.1 as the API version when building with soup3. * Source/PlatformWPE.cmake: * Source/cmake/OptionsWPE.cmake: 2021-03-17 Martin Robinson [GTK][WPE] Enable CSS scroll snap support by default https://bugs.webkit.org/show_bug.cgi?id=222641 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Enable CSS scroll snap by default. * Source/cmake/OptionsWPE.cmake: Ditto. 2021-03-16 Khem Raj [CMake] Build fails on RISC-V with GCC 11 https://bugs.webkit.org/show_bug.cgi?id=222959 Reviewed by Carlos Alberto Lopez Perez. Check for 1 byte atomic operations along with 64bit ones, some architevtures (e.g. RISCV) operations on less than 4 bytes are not lock-free * Source/cmake/WebKitCompilerFlags.cmake: 2021-03-14 Lauro Moura [GLIB] Keep GPUProcess disabled when using experimental features https://bugs.webkit.org/show_bug.cgi?id=223155 Reviewed by Philippe Normand. At least two recent GPUProcess-related revisions caused issues in GLIB, causing serious regressions in the bots. Disabling it for now until we improve its support. Revisions: r274327 - 2D Canvas enabled by default in GPUProcess r272842 - Media enabled by default in GPUProcess * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-03-12 Carlos Garcia Campos [GTK] Bump API version when building with libsoup3 https://bugs.webkit.org/show_bug.cgi?id=223067 Reviewed by Adrian Perez de Castro. Use 4.1 as the API version when building with soup3 and keep using 5.0 for GTK4. Also make it impossible to build with GTK4 and soup2. * Source/PlatformGTK.cmake: * Source/cmake/OptionsGTK.cmake: 2021-03-11 Carlos Garcia Campos Unreviewed. [GTK][WPE] Bump libsoup3 version to 2.99.3 * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-03-11 Carlos Garcia Campos [WPE][GTK] Add support for ICC color management https://bugs.webkit.org/show_bug.cgi?id=177185 Reviewed by Adrian Perez de Castro. Add optional lcms2 dependency. * Source/cmake/FindLCMS2.cmake: Added. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-03-10 Michael Catanzaro [GTK] Reenable -fvisibility=hidden https://bugs.webkit.org/show_bug.cgi?id=181916 Reviewed by Don Olmstead. In non-DEVELOPER_MODE builds, we rely on a linker version script to hide symbols that we don't want to export. Building with hidden visibility might seem redundant with this, but actually building with hidden visibility has advantages anyway. See https://gcc.gnu.org/wiki/Visibility. Note that I'm not confident GTK port can safely use -fvisibility-inlines-hidden, since it's split between two shared objects. Also, because GTK is split into two shared objects, GTK needs to build bmalloc and WTF as CMake OBJECT libraries, which is effectively the same as using -Wl,--whole-archive to prevent symbols from being prematurely stripped away. P.S. Major credit to Don Olmstead, who did most of the work to make this possible, which has already landed in previous patches. * Source/cmake/OptionsGTK.cmake: 2021-03-10 Commit Queue Unreviewed, reverting r274166. https://bugs.webkit.org/show_bug.cgi?id=223024 Broke GTK Debug builds Reverted changeset: "[GTK] Reenable -fvisibility=hidden" https://bugs.webkit.org/show_bug.cgi?id=181916 https://trac.webkit.org/changeset/274166 2021-03-09 Don Olmstead GLib JSC API headers should only include other GLib JSC API headers https://bugs.webkit.org/show_bug.cgi?id=222803 Reviewed by Michael Catanzaro. GTK and WPE both build the JavaScriptCore GLib API. However they diverged with their CMake variable names for the directory containing jsc. Declare a single variable for that directory, DERIVED_SOURCES_JAVASCRIPTCORE_GLIB_DIR, that is shared between GLib ports. Remove the GLIB_API_DIR variant which will just be replaced with ${DERIVED_SOURCES_JAVASCRIPTCORE_GLIB_DIR}/jsc in the CMake code. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-03-09 Michael Catanzaro [GTK] Reenable -fvisibility=hidden https://bugs.webkit.org/show_bug.cgi?id=181916 Reviewed by Don Olmstead. In non-DEVELOPER_MODE builds, we rely on a linker version script to hide symbols that we don't want to export. Building with hidden visibility might seem redundant with this, but actually building with hidden visibility has advantages anyway. See https://gcc.gnu.org/wiki/Visibility. Note that I'm not confident GTK port can safely use -fvisibility-inlines-hidden, since it's split between two shared objects. Also, because GTK is split into two shared objects, GTK needs to build bmalloc and WTF as CMake OBJECT libraries, which is effectively the same as using -Wl,--whole-archive to prevent symbols from being prematurely stripped away. P.S. Major credit to Don Olmstead, who did most of the work to make this possible, which has already landed in previous patches. * Source/cmake/OptionsGTK.cmake: 2021-03-05 Michael Catanzaro [GTK] Remove ADD_WHOLE_ARCHIVE_TO_LIBRARIES https://bugs.webkit.org/show_bug.cgi?id=222826 Reviewed by Don Olmstead. I don't know why it's no longer needed, but GTK links without it, so it can go away. * Source/cmake/OptionsGTK.cmake: 2021-03-05 Don Olmstead [CMake] Bump cmake_minimum_required version to 3.12 or later https://bugs.webkit.org/show_bug.cgi?id=221727 Reviewed by Konstantin Tokarev. Updates the minimum version to 3.12. In CMake 3.12 OBJECT library functionality was expanded to the point where they can successfully be used as a replacement for --whole-archive within WebKit. The check in JSCOnly for the minimum version before using hidden visibility was removed accordingly. * CMakeLists.txt: * Source/cmake/OptionsJSCOnly.cmake: 2021-03-05 ChangSeok Oh AVIF decoding support https://bugs.webkit.org/show_bug.cgi?id=207750 Reviewed by Philippe Normand. This patch brings an initial support of AVIF image format to the gtk port. AVIF is a new royalty-free image format derived from the keyframes of AV1 video. FireFox and Chromium-variant browsers already support it. Its specification can be found at https://rawcdn.githack.com/AOMediaCodec/av1-avif/67a92add6cd642a8863e386fa4db87954a6735d1/index.html This patch aims to land a build option for AVIF and a basic decoding ability for still images by using libavif. Animated AVIF images will be covered later. * Source/cmake/FindAVIF.cmake: Added to find libavif. * Source/cmake/OptionsGTK.cmake: A build option, USE_AVIF is added. 2021-03-03 Commit Queue Unreviewed, reverting r273814. https://bugs.webkit.org/show_bug.cgi?id=222676 Unresolved types in JavaScriptCore-4.0.gir Reverted changeset: "[CMake] JavaScriptCore GLib headers should be copies" https://bugs.webkit.org/show_bug.cgi?id=222625 https://trac.webkit.org/changeset/273814 2021-03-03 Don Olmstead [CMake] JavaScriptCore GLib headers should be copies https://bugs.webkit.org/show_bug.cgi?id=222625 Reviewed by Michael Catanzaro. Specify the directories for JavaScriptCore GLib headers and derived sources. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-03-01 Per Arne [Win] Fix build failure https://bugs.webkit.org/show_bug.cgi?id=222576 Reviewed by Brent Fulgham. It appears a recent change has unintentionally enabled WebInspectorUI on Apple Win. Address this by explicitly disabling it. * Source/cmake/OptionsAppleWin.cmake: 2021-02-26 Carlos Garcia Campos Unreviewed. [GTK] Bump version numbers * Source/cmake/OptionsGTK.cmake: 2021-02-26 Imanol Fernandez Implement OpenXR port graphics binding https://bugs.webkit.org/show_bug.cgi?id=222173 Reviewed by Sergio Villar Senin. Enable OpenXR defines required for EGL graphics binding. * Source/cmake/OptionsWPE.cmake: 2021-02-26 Carlos Garcia Campos [GTK][WPE] Bump libsoup3 version to 2.99.1 https://bugs.webkit.org/show_bug.cgi?id=222413 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-02-24 Cameron McCormack Fix typo in Introduction.md. https://bugs.webkit.org/show_bug.cgi?id=222387 Reviewed by Ryosuke Niwa. * Introduction.md: 2021-02-23 Don Olmstead [CMake] Fix JSCOnly build on Windows https://bugs.webkit.org/show_bug.cgi?id=222316 Reviewed by Michael Catanzaro. Turn off ENABLE_WEBASSEMBLY for Windows on JSCOnly now that its possible to build it without FTL. * Source/cmake/OptionsJSCOnly.cmake: 2021-02-22 Carlos Garcia Campos [SOUP] Add support for libsoup3 https://bugs.webkit.org/show_bug.cgi?id=222093 Reviewed by Adrian Perez de Castro. * Source/cmake/FindLibSoup.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: 2021-02-18 Martin Robinson [GTK][WPE] Implement support for CSS Scroll Snap https://bugs.webkit.org/show_bug.cgi?id=203684 Reviewed by Carlos Garcia Campos. Add initial support for css-scroll-snap on WebKitGTK+ and WebKitWPE. This adds support for all types of scroll snapping that WebKit supports apart from mouse wheel snapping. Support for that will be added in a followup change. * Source/cmake/OptionsGTK.cmake: Enable scroll snapping when experimental features are enabled. * Source/cmake/OptionsWPE.cmake: Ditto. 2021-02-16 Tim Horton Local macCatalyst builds should not build WebInspectorUI https://bugs.webkit.org/show_bug.cgi?id=221992 Reviewed by Wenson Hsieh. * Source/Makefile: This project is not used in macCatalyst, and is not even built in production builds. We should stop building it in local release/debug builds as well. 2021-02-11 Don Olmstead [CMake] WEBKIT_EXECUTABLE can incorrectly link framework https://bugs.webkit.org/show_bug.cgi?id=221703 Reviewed by Michael Catanzaro. After r272484 which added an additional test for TestJavaScriptCore the PlayStation build began failing with an unresolved symbol in bmalloc. On PlayStation both WTF and bmalloc are linked into JavaScriptCore. That library was building successfully which implied that WTF was being erroniously linked into TestJavaScriptCore. Inside _WEBKIT_EXECUTABLE_LINK_FRAMEWORK there was an invalid conditional which was causing WTF to be linked. Fixed the logic to ensure that if the requested framework is linked into another framework that is being linked then it is not added to the linker. * Source/cmake/WebKitMacros.cmake: 2021-02-10 Don Olmstead [CMake] Enable hidden visibility on JSCOnly https://bugs.webkit.org/show_bug.cgi?id=221726 Reviewed by Yusuke Suzuki. Turn on hidden visibility for all *NIX ports of JSCOnly. To properly export the symbols from WTF/bmalloc OBJECT libraries are used. This requires CMake 3.12 or later to function properly. * Source/cmake/OptionsJSCOnly.cmake: 2021-02-10 Christopher Reid [PlayStation] Add initial RESOURCE_USAGE implementation https://bugs.webkit.org/show_bug.cgi?id=221706 Reviewed by Ross Kirsling. * Source/cmake/OptionsPlayStation.cmake: 2021-02-10 Philippe Normand [WPE] Optionally build Cog as external project and replacement for MiniBrowser https://bugs.webkit.org/show_bug.cgi?id=221518 Reviewed by Adrian Perez de Castro. * Source/cmake/OptionsWPE.cmake: New variable for JSC forwarded headers path, useful uninstalled builds of projects depending on JSC. 2021-02-09 Jonathan Bedard AX: introduction.md broken architecture.png link https://bugs.webkit.org/show_bug.cgi?id=221607 Reviewed by Sam Weinig. * Introduction.md: webkit2-process-architecture.png Moved to resources. 2021-02-08 Alicia Boya García ConsoleMessage: Don't encode string JSONLogValue's as JSON https://bugs.webkit.org/show_bug.cgi?id=221421 Reviewed by Eric Carlson. Enable JavaScriptCore API tests. * Source/cmake/WebKitCommon.cmake: 2021-02-05 Don Olmstead [MSVC] Catalog warnings https://bugs.webkit.org/show_bug.cgi?id=199248 Unreviewed build fix. Missed a warning generated when building AppleWin. * Source/cmake/OptionsMSVC.cmake: 2021-02-05 Don Olmstead [MSVC] Catalog warnings https://bugs.webkit.org/show_bug.cgi?id=199248 Reviewed by Fujii Hironori. Catalog all the MSVC warnings providing the message and a link to documentation for the warning. Some warnings are noted as being against the style guide so they won't be addressed. All other warnings could potentially be fixed in the codebase. * Source/cmake/OptionsMSVC.cmake: 2021-02-04 Adrian Perez de Castro Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.31.1 release * Source/cmake/OptionsWPE.cmake: Bump version numbers. 2021-02-04 Philippe Normand [GStreamer] Misc Thunder nitpicks https://bugs.webkit.org/show_bug.cgi?id=221398 Reviewed by Xabier Rodriguez-Calvar. * Source/cmake/FindThunder.cmake: Look-up Thunder through pkg-config before attempting a direct libocdm lookup. 2021-02-01 Saam Barati Lazily create m_windowCloseWatchpoints so we don't mistakenly think we have a frame when re-associating a document to a given cached frame https://bugs.webkit.org/show_bug.cgi?id=221098 Reviewed by Ryosuke Niwa and Mark Lam. * ManualTests/dont-create-invalid-watchpoint-when-going-back.html: Added. * ManualTests/resources/empty-text.txt: Added. * ManualTests/resources/full_results.json: Added. * ManualTests/resources/test-results-page.html: Added. 2021-02-01 Don Olmstead [Curl] Enable FTP protocol only when ENABLE_FTPDIR is on https://bugs.webkit.org/show_bug.cgi?id=220941 Reviewed by Fujii Hironori. Turn off ENABLE_FTPDIR for WinCairo. The version of cURL used has FTP support explicitly disabled. * Source/cmake/OptionsWin.cmake: 2021-01-27 Yusuke Suzuki WebAssembly: add support for stream APIs https://bugs.webkit.org/show_bug.cgi?id=173105 Reviewed by Keith Miller. * Source/cmake/OptionsFTW.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-01-27 Angelos Oikonomopoulos Set ruby-indent-level to 4 https://bugs.webkit.org/show_bug.cgi?id=220982 Reviewed by Fujii Hironori. All the ruby source files seem to default to 4 as the indent level; make it official. * .dir-locals.el: * .editorconfig: 2021-01-23 Xan Lopez [JSC] Allow to build WebAssembly without B3 https://bugs.webkit.org/show_bug.cgi?id=220365 Reviewed by Yusuke Suzuki. Make the WebAssembly feature depend on Baseline JIT, not B3 JIT. Also add a WEBASSEMBLY_B3JIT feature to enable or disable the B3 tier in WebAssembly. * Source/cmake/WebKitFeatures.cmake: disable on 32bit. 2021-01-21 Fujii Hironori Remove ENABLE_USERSELECT_ALL macro which is enabled for all ports https://bugs.webkit.org/show_bug.cgi?id=100424 Reviewed by Don Olmstead. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: 2021-01-20 Yusuke Suzuki Unreviewed, ANGLE should not be built in JSCOnly port ANGLE is not a part of JSC. Do not build it. * Source/cmake/OptionsJSCOnly.cmake: 2021-01-19 Lauro Moura REGRESSION(r271580) [GTK] LTS/Debian build failure due to unsupported g-ir-scanner parameter https://bugs.webkit.org/show_bug.cgi?id=220730 Reviewed by Philippe Normand. * Source/cmake/FindGObjectIntrospection.cmake: Expose variable about the presence of --sources-top-dirs. 2021-01-14 Jonathan Bedard [GitHub] Reference GitHub repository in readme https://bugs.webkit.org/show_bug.cgi?id=220611 Reviewed by Aakash Jain. * ReadMe.md: Reference GitHub repository. 2021-01-12 Fujii Hironori [PlayStation] Enable ENABLE_USERSELECT_ALL for -webkit-user-select:all support https://bugs.webkit.org/show_bug.cgi?id=220533 Reviewed by Don Olmstead. * Source/cmake/OptionsPlayStation.cmake: Removed the line disabling ENABLE_USERSELECT_ALL. 2021-01-12 Philippe Normand [GStreamer] Bump version requirement https://bugs.webkit.org/show_bug.cgi?id=220356 Reviewed by Xabier Rodriguez-Calvar. * Source/cmake/GStreamerChecks.cmake: Bump required version to 1.14. 2021-01-12 Xabier Rodriguez Calvar [GStreamer] Switch from ENABLE_ to USE_ in native audio/video and text sink options https://bugs.webkit.org/show_bug.cgi?id=220515 Reviewed by Philippe Normand. * Source/cmake/GStreamerDefinitions.cmake: Add USE_ definitions. * Source/cmake/WebKitFeatures.cmake: Remove global ENABLE_ definitions. 2021-01-12 Carlos Garcia Campos Unreviewed. Update OptionsGTK.cmake and NEWS for 2.31.1 release * Source/cmake/OptionsGTK.cmake: Bump version numbers. 2021-01-11 Yoshiaki Jitsukawa [PlayStation] Add MiniBrowser https://bugs.webkit.org/show_bug.cgi?id=220359 Reviewed by Don Olmstead. Enable Fullscreen API. * Source/cmake/OptionsPlayStation.cmake: 2021-01-11 Xabier Rodriguez Calvar [GStreamer] Add support to build with native audio and video https://bugs.webkit.org/show_bug.cgi?id=220087 Reviewed by Philippe Normand. * Source/cmake/GStreamerDefinitions.cmake: Enable TEXT_SINK. * Source/cmake/WebKitFeatures.cmake: Declare TEXT_SINK, NATIVE_VIDEO and NATIVE_AUDIO. 2021-01-08 Ryan Hostetler Add support for source caching between platforms https://bugs.webkit.org/show_bug.cgi?id=220439 rdar://72905725 Reviewed by Andy Estes. Include WebInspectorUI Source during any installsrc phase. * Source/Makefile: 2021-01-08 Fujii Hironori [Win] Enable ENABLE_USERSELECT_ALL for -webkit-user-select:all support https://bugs.webkit.org/show_bug.cgi?id=118740 Reviewed by Don Olmstead. This change also fixes the assertion failure of editing/inserting/insert-list-user-select-none-crash.html (Bug 216256). * Source/cmake/OptionsFTW.cmake: Removed the line disabling ENABLE_USERSELECT_ALL. * Source/cmake/OptionsWin.cmake: Ditto. 2021-01-07 Ryan Hostetler make clean/installsrc fail: You cannot specify -alltargets and also specify individual targets. https://bugs.webkit.org/show_bug.cgi?id=220370 rdar://72834872 Reviewed by Andy Estes. Update hardcoded '-alltargets' to use new XCODE_TARGET variable. * Makefile.shared: 2021-01-07 Monson Shao [CMake] Add USE_APPLE_ICU option https://bugs.webkit.org/show_bug.cgi?id=220081 Reviewed by Yusuke Suzuki. Add USE_APPLE_ICU option to allow non-Mac ports (GTK or JSCOnly) on Darwin could build with non-Apple ICU. * Source/cmake/OptionsCommon.cmake: * Source/cmake/WebKitFindPackage.cmake: 2021-01-06 Alexey Proskuryakov Make svn status ignore Python 3 __pycache__ directories. Unreviewed. Python 2 *.pyc files are still inconsistently handled via svn:ignore on each directory, but it is not worth cleaning up before GitHub move. * Tools: Added property svn:global-ignores. 2021-01-06 Fujii Hironori [GTK][CMake] Add a build switch USE_OPENGL_OR_ES to be able to disable OpenGL and ES https://bugs.webkit.org/show_bug.cgi?id=220183 Reviewed by Kenneth Russell. r270477 removed ENABLE_GRAPHICS_CONTEXT_GL macro and build switch, but GTK port still needs the build switch. Revert r270477 partially to restore the build switch and rename it to USE_OPENGL_OR_ES. * Source/cmake/OptionsGTK.cmake: 2021-01-05 Fujii Hironori [WinCairo][curl] Enable CURLSSLOPT_NATIVE_CA flag to use system's CA certs instead of cacert.pem https://bugs.webkit.org/show_bug.cgi?id=220258 Reviewed by Don Olmstead. Libcurl 7.71 added a new flag CURLSSLOPT_NATIVE_CA to use the operating system's native CA store only for Windows. Use the flag for WinCairo port. * Source/cmake/OptionsWinCairo.cmake: Bumped the minimum Curl version. 2021-01-04 Lauro Moura [WebXR][WPE] Build fails without openxr installed https://bugs.webkit.org/show_bug.cgi?id=220250 Reviewed by Carlos Alberto Lopez Perez. * Source/cmake/FindOpenXR.cmake: Fix some names and export OPENXR_FOUND var. * Source/cmake/OptionsWPE.cmake: Fail config is WebXR is enabled but couldn't find OpenXR. 2021-01-04 Jeff Miller Update user-visible copyright strings to include 2021 https://bugs.webkit.org/show_bug.cgi?id=219901 Reviewed by Anders Carlsson. * Source/cmake/tools/scripts/COPYRIGHT-END-YEAR: 2020-12-23 Fujii Hironori [WinCairo] Enable WebGL 2 https://bugs.webkit.org/show_bug.cgi?id=192314 Reviewed by Kenneth Russell. * Source/cmake/OptionsWin.cmake: Turned ENABLE_WEBGL2 on. 2020-12-23 Monson Shao [CMake] Fix seperated include dir of harfbuzz and harfbuzz-icu https://bugs.webkit.org/show_bug.cgi?id=220082 Reviewed by Alex Christensen. In some distros (NixOS) harfbuzz and harfbuzz-icu may have different include dir. * Source/cmake/FindHarfBuzz.cmake: 2020-12-21 Ryan Hostetler $(findstring iphone,$(SDKROOT)) fails when SDKROOT is not lowercase https://bugs.webkit.org/show_bug.cgi?id=219993 rdar://72436093 Reviewed by Darin Adler. Update SDKROOT evaluation to be lowercase and SDK filename only. * Source/Makefile: 2020-12-16 Fujii Hironori [WinCairo] Enable USE_ANGLE https://bugs.webkit.org/show_bug.cgi?id=219421 Reviewed by Don Olmstead. * Source/cmake/OptionsWinCairo.cmake: 2020-12-13 Don Olmstead [CMake] Version of LibPSL not reported https://bugs.webkit.org/show_bug.cgi?id=219837 Reviewed by Adrian Perez de Castro. When determining the version of LibPSL from the header file LIBPSL_VERSION was set but the VERSION_VAR reported was LibPSL_VERSION. Consistently use LibPSL_VERSION within the file to prevent this. Additionally LibPSL_LIBRARY not LibPSL_LIBRARIES should be marked_as_advanced. * Source/cmake/FindLibPSL.cmake: 2020-12-11 Don Olmstead [CMake] Determine correct visibility for linked frameworks https://bugs.webkit.org/show_bug.cgi?id=210366 Reviewed by Michael Catanzaro. WebKit has some frameworks that are compiled statically into a larger shared library. For example Apple compiles bmalloc and WTF into JavaScriptCore. This means the JavaScriptCore framework also exposes the symbols for those two libraries and that targets depending on WTF or bmalloc should link to JavaScriptCore and never to WTF or bmalloc directly. The CMake code allows each port to decide the type of library for a WEBKIT_FRAMEWORK. This means there are many different combinations that it needs to support. To ensure that everything links properly some bookkeeping is required. WEBKIT_FRAMEWORK now uses ${target}_FRAMEWORKS to determine how to link the frameworks it depends on. First the macro determines if the framework is a SHARED library or is linked into a shared library, and if so it is linked as PUBLIC. If the framework itself is not a SHARED library, then it links other STATIC/OBJECT framework as PUBLIC. If the framework itself is SHARED then any framework that is a STATIC/OBJECT library is linked as PRIVATE to stop propagation. The linked framework's header directories are added to the WebKit::${framework} target to allow the framework to present as that framework. A global property is set to inform consumers that they should link to this different framework to get the requested framework. This ensures that all ports can ship with hidden visibility turned on which is a precursor to a port turning on link time optimization (LTO). * Source/cmake/WebKitMacros.cmake: 2020-12-10 Don Olmstead [CMake] Determine when to use $ for executables https://bugs.webkit.org/show_bug.cgi?id=219648 Reviewed by Michael Catanzaro. When a WebKit framework is declared as an OBJECT library the WebKit::${framework} ALIAS does not propagate the objects to the executable being built. As a workaround ports will explicitly add $ to the list of libraries being linked. There is already enough information to determine when $ is needed so this decision is moved into the WEBKIT_EXECUTABLE macros. An additional ${taget_name}_FRAMEWORKS variable is added which specifies the WebKit frameworks being used. This will link the WebKit::${framework} alias and if necessary the associated $. This functionality will be expanded upon when support for ${target_name}_FRAMEWORKS is added to WebKit frameworks to support hidden visibility across ports. * Source/cmake/WebKitMacros.cmake: 2020-12-07 Don Olmstead [CMake] Remove WEBKIT_WRAP_SOURCELIST https://bugs.webkit.org/show_bug.cgi?id=196916 Reviewed by Michael Catanzaro. WEBKIT_WRAP_SOURCELIST macro is used only to adjust source groups in Visual Studio projects without any impact on build process. Its references variable specific to particular targets (WebCore) which contradicts our goal of having target-oriented CMake project. It can be reintroduced later in a more clean way, in case anyone needs to have such grouping. * Source/cmake/WebKitMacros.cmake: 2020-12-05 Fujii Hironori Remove ENABLE_GRAPHICS_CONTEXT_GL by replacing it with ENABLE(WEBGL) https://bugs.webkit.org/show_bug.cgi?id=219551 Reviewed by Kenneth Russell. * Source/CMakeLists.txt: * Source/cmake/GStreamerDependencies.cmake: * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWinCairo.cmake: 2020-11-26 Lauro Moura [GTK][GTK4] Building with GObject-Introspection support does not work https://bugs.webkit.org/show_bug.cgi?id=219221 Reviewed by Carlos Garcia Campos. * Source/cmake/OptionsGTK.cmake: Allow introspection with GTK4. 2020-11-26 Fujii Hironori [WinCairo] Enable GPU process https://bugs.webkit.org/show_bug.cgi?id=219294 Reviewed by Don Olmstead. * Source/cmake/OptionsWin.cmake: Turned ENABLE_GPU_PROCESS on for WinCairo. 2020-11-26 Yoshiaki Jitsukawa [PlayStation] Enable ResourceLoadStatistics https://bugs.webkit.org/show_bug.cgi?id=219292 Reviewed by Fujii Hironori. * Source/cmake/OptionsPlayStation.cmake: 2020-11-20 Don Olmstead Remove quota module https://bugs.webkit.org/show_bug.cgi?id=219206 Reviewed by Anders Carlsson. Remove the ability to set ENABLE_QUOTA. The Storage Quota API is deprecated and no WebKit port is enabling it. * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: 2020-11-09 Michael Catanzaro Enable llint asm on aarch64 when USE(64KB_PAGE_BLOCK) is enabled https://bugs.webkit.org/show_bug.cgi?id=218613 Reviewed by Carlos Alberto Lopez Perez. Normally we fall back to cloop when JIT is not supported. But on aarch64, llint asm is well- supported, so it is safe to use that here. This will only happen on aarch64, and only when USE(64KB_PAGE_BLOCK) is enabled, which should probably only be used by RHEL and SUSE. Everyone else should get the JIT. * Source/cmake/WebKitFeatures.cmake: 2020-11-04 Sergey Rubanov Fix JSC build on macOS Big Sur https://bugs.webkit.org/show_bug.cgi?id=218566 Reviewed by David Kilzer. * Source/cmake/WebKitFindPackage.cmake: 2020-11-04 Michael Catanzaro Add new build option USE(64KB_PAGE_BLOCK) https://bugs.webkit.org/show_bug.cgi?id=217989 Reviewed by Yusuke Suzuki. Why do we need this option? Because JSC and bmalloc both want to know the userspace page size at compile time, which is impossible on Linux because it's a runtime setting. We cannot test the system page size at build time in hopes that it will be the same on the target system, because (a) cross compiling wouldn't work, and (b) the build system could use a different page size than the target system (which will be true for Fedora aarch64, because Fedora is built using RHEL), so the best we can do is guess based on the target CPU architecture. In practice, guessing works for all architectures except aarch64 (unless unusual page sizes are used), but it fails for aarch64 because distros are split between using 4 KB and 64 KB pages there. Most distros (including Fedora) use 4 KB, but RHEL uses 64 KB. SUSE actually supports both. Since there is no way to guess correctly, the best we can do is provide an option for it. You should probably only use this if building for aarch64. Otherwise, known CPUs except PowerPC will use 4 KB, while PowerPC and unknown CPUs will use 64 KB (see wtf/PageBlock.h). aarch64 will continue to default to 4 KB because this is a much better default on systems where it doesn't crash. Having one flag will help avoid mistakes. E.g. both RHEL and SUSE were manually passing -DENABLE_JIT=OFF and -DUSE_SYSTEM_MALLOC=ON, but we missed -DENABLE_C_LOOP=ON and -DENABLE_SAMPLING_PROFILER=OFF, so wound up running with both JIT and cloop disabled, a configuration not otherwise used on Linux (and not supported by GTK or WPE ports). It will be easier to not mess up if we only have to pass one special build option. This will also allow us to stop patching PageBlock.h downstream, because I don't like downstream patches that we have to keep forever. * Source/cmake/WebKitFeatures.cmake: 2020-10-30 Ryosuke Niwa Add Introduction to WebKit https://bugs.webkit.org/show_bug.cgi?id=217017 Rubber-stamped by Simon Fraser. Added the basic introductory documentation for WebKit. * Introduction.md: Added. * resources/js-wrapper.png: Added. * resources/webkit2-process-architecture.png: Added. * resources/xcode-add-file.png: Added. * resources/xcode-build-settings-for-run.png: Added. * resources/xcode-export-header.png: Added. * resources/xcode-scheme-dumprendertree.png: Added. * resources/xcode-scheme-layout-test.png: Added. * resources/xcode-workspace-build-location.png: Added. * resources/xcode-workspace-settings.png: Added. 2020-10-30 Jonathan Bedard Github mirror ReadMe need to update https://bugs.webkit.org/show_bug.cgi?id=218120 Reviewed by Aakash Jain. * ReadMe.md: 2020-10-27 Keith Rollin Fix "usage" message when invoking `ar -V` https://bugs.webkit.org/show_bug.cgi?id=218255 Reviewed by Fujii Hironori. The Mac/BSD version of `ar` does not support the -V flag. This flag is used unconditionally in OptionsCommon.cmake when trying to determine if the installed `ar` supports the thinning of archives, leading to a "usage" message being emitted on macOS. Avoid this message by capturing the error-output. Examine the output to see if it's a "usage" message. If so, then treat the `ar` as one that does not support thinning. Any other error-output is printed as a warning. If there is no error-output, continue processing as normal. * Source/cmake/OptionsCommon.cmake: 2020-10-27 Brian Burg Web Inspector: add ENABLE(INSPECTOR_EXTENSIONS) to feature defines https://bugs.webkit.org/show_bug.cgi?id=218237 Reviewed by Antti Koivisto. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Add ENABLE(INSPECTOR_EXTENSIONS), which is only on for the Cocoa macOS port. 2020-10-26 Keith Rollin Move some initialization code from top-level CMakeLists.txt to WebKitCommon.cmake https://bugs.webkit.org/show_bug.cgi?id=218069 Reviewed by Fujii Hironori. Moving this initialization code into a central location allows other top-level CMakeLists.txt files to include WebKitCommon.cmake and get that same initialization. * CMakeLists.txt: * Source/cmake/WebKitCommon.cmake: 2020-10-23 Philippe Normand [GStreamer] Replace USE(WEBAUDIO_GSTREAMER) with USE(GSTREAMER) https://bugs.webkit.org/show_bug.cgi?id=218083 Reviewed by Xabier Rodriguez-Calvar. A separate define was introduced back when we thought enabling WebAudio without enabling