[webkit-changes] [WebKit/WebKit] b399c3: Cherry-pick 286404 at main (c73cb00c98f8). https://bu...
Patrick
noreply at github.com
Thu Nov 14 05:15:53 PST 2024
Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: b399c3cd078c07e9970680f8842f17c23fc294d9
https://github.com/WebKit/WebKit/commit/b399c3cd078c07e9970680f8842f17c23fc294d9
Author: Adrian Perez de Castro <aperez at igalia.com>
Date: 2024-11-13 (Wed, 13 Nov 2024)
Changed paths:
M Source/WTF/wtf/PlatformJSCOnly.cmake
M Source/WTF/wtf/glib/GRefPtr.h
M Source/WTF/wtf/glib/Sandbox.cpp
M Tools/TestWebKitAPI/PlatformJSCOnly.cmake
Log Message:
-----------
Cherry-pick 286404 at main (c73cb00c98f8). https://bugs.webkit.org/show_bug.cgi?id=282847
[JSCOnly] Building fails with EVENT_LOOP_TYPE=GLib
https://bugs.webkit.org/show_bug.cgi?id=282847
Reviewed by Yusuke Suzuki.
Apply the minimum set of changes that allow building JSCOnly again with
EVENT_LOOP_TYPE=GLib. This mainly boils down adding missing headers,
sources and compile options for the different targets.
* Source/WTF/wtf/PlatformJSCOnly.cmake: List missing sources, building
with GLib now needs FileSystemPOSIX.cpp and UniStdExtrasUnix.cpp as
well; list WTF public glib-related headers needed for the JSCOnly
build.
* Source/WTF/wtf/glib/GRefPtr.h: Remove unneeded forward declaration for
g_object_ref_sink(), which caused issues when building JSCOnly.
* Source/WTF/wtf/glib/Sandbox.cpp:
(WTF::sandboxedUserRuntimeDirectory): Define a base directory for the
JSCOnly port, which was missing.
* Tools/TestWebKitAPI/PlatformJSCOnly.cmake: List the GLib include
directories to let the compiler find the headers.
Canonical link: https://commits.webkit.org/286404@main
Canonical link: https://commits.webkit.org/282416.281@webkitglib/2.46
Commit: 87cee812044b64d7206159a4721c17b6415aa981
https://github.com/WebKit/WebKit/commit/87cee812044b64d7206159a4721c17b6415aa981
Author: Patrick Griffis <pgriffis at igalia.com>
Date: 2024-11-13 (Wed, 13 Nov 2024)
Changed paths:
M Source/WebKit/NetworkProcess/glib/WebKitCachedResolver.cpp
Log Message:
-----------
Cherry-pick 286491 at main (ea7b81bf952e). https://bugs.webkit.org/show_bug.cgi?id=282986
[GLib] Fix non-c-typedef-for-linkage warning
https://bugs.webkit.org/show_bug.cgi?id=282986
Reviewed by Carlos Garcia Campos.
```
WebKit/Source/WebKit/NetworkProcess/glib/WebKitCachedResolver.cpp:35:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage]
35 | typedef struct {
| ^
| WebKitCachedResolverPrivate
```
This was unnecessarily using a typedef.
* Source/WebKit/NetworkProcess/glib/WebKitCachedResolver.cpp:
Canonical link: https://commits.webkit.org/286491@main
Canonical link: https://commits.webkit.org/282416.282@webkitglib/2.46
Compare: https://github.com/WebKit/WebKit/compare/686321210459...87cee812044b
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