[webkit-changes] [WebKit/WebKit] 85b637: [GLib] Remove all GLIB_CHECK_VERSION conditionals

Adrian Perez noreply at github.com
Thu Jan 23 15:34:06 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85b637b69f1c3a6242420b198d1c173477ce0f22
      https://github.com/WebKit/WebKit/commit/85b637b69f1c3a6242420b198d1c173477ce0f22
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2025-01-23 (Thu, 23 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/URL.h
    M Source/WTF/wtf/glib/GRefPtr.cpp
    M Source/WTF/wtf/glib/GRefPtr.h
    M Source/WTF/wtf/glib/SocketConnection.cpp
    M Source/WTF/wtf/glib/URLGLib.cpp
    M Source/WebCore/platform/LowPowerModeNotifier.h
    M Source/WebCore/platform/glib/LowPowerModeNotifierGLib.cpp
    M Source/WebCore/platform/network/soup/CertificateInfoSoup.cpp
    M Source/WebKit/NetworkProcess/glib/DNSCache.cpp
    M Source/WebKit/NetworkProcess/glib/DNSCache.h
    M Source/WebKit/NetworkProcess/glib/WebKitCachedResolver.cpp
    M Source/WebKit/NetworkProcess/glib/WebKitOverridingResolver.cpp
    M Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake

  Log Message:
  -----------
  [GLib] Remove all GLIB_CHECK_VERSION conditionals
https://bugs.webkit.org/show_bug.cgi?id=286061

Reviewed by Miguel Gomez.

Among the Linux distributions that will be supported in 2025 the oldest
version of GLib in use is 2.72 (packaged in Ubuntu 22.04). This means it
is now possible to remove all the existing GLib version checks and
increase the minimum GLib version required by CMake to 2.70 instead.

While at it, remove the HAVE(GURI) conditionals: GUri was introduced in
GLib 2.66, and has had all the functionality required for WebKit usage
since version 2.68.

* Source/WTF/wtf/URL.h:
* Source/WTF/wtf/glib/GRefPtr.cpp:
(WTF::derefGPtr):
* Source/WTF/wtf/glib/GRefPtr.h:
* Source/WTF/wtf/glib/SocketConnection.cpp:
(WTF::SocketConnection::readMessage):
* Source/WTF/wtf/glib/URLGLib.cpp:
(WTF::URL::createGUri const):
* Source/WebCore/platform/LowPowerModeNotifier.h:
* Source/WebCore/platform/glib/LowPowerModeNotifierGLib.cpp:
(WebCore::LowPowerModeNotifier::LowPowerModeNotifier):
(WebCore::LowPowerModeNotifier::~LowPowerModeNotifier):
* Source/WebCore/platform/network/soup/CertificateInfoSoup.cpp:
(WebCore::CertificateInfo::isolatedCopy const):
(WebCore::CertificateInfo::summary const):
* Source/WebKit/NetworkProcess/glib/DNSCache.cpp:
(WebKit::DNSCache::mapForType):
(WebKit::DNSCache::removeExpiredResponsesFired):
(WebKit::DNSCache::clear):
* Source/WebKit/NetworkProcess/glib/DNSCache.h:
* Source/WebKit/NetworkProcess/glib/WebKitCachedResolver.cpp:
(webkitCachedResolverLookupByNameWithFlagsFinish):
(webkit_cached_resolver_class_init):
* Source/WebKit/NetworkProcess/glib/WebKitOverridingResolver.cpp:
(webkitOverridingResolverLookupByNameWithFlagsFinish):
(webkit_overriding_resolver_class_init):
* Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp:
(IPC::ArgumentCoder<GRefPtr<GTlsCertificate>>::encode):
(IPC::ArgumentCoder<GRefPtr<GTlsCertificate>>::decode):
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

Canonical link: https://commits.webkit.org/289318@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list