From cgarcia at igalia.com Wed May 17 04:30:21 2023 From: cgarcia at igalia.com (Carlos Garcia Campos) Date: Wed, 17 May 2023 13:30:21 +0200 Subject: [webkit-gtk] WebKitGTK 2.41.4 released Message-ID: <35bcd6e27a84d9db65a82179feea5d06e5abe489.camel@igalia.com> WebKitGTK 2.41.4 is available for download at: https://webkitgtk.org/releases/webkitgtk-2.41.4.tar.xz (38.6MB) md5sum: f3d8c974ee510802dc67dab7860df1db sha1sum: d2b03f9e4fad96e9f435a8526583b0e98faaac15 sha256sum: ad792d4acd4e8536cc0a652fd0303bfef93a7f8718d2b3d72db83e25f52777af This is a development release leading toward 2.42 series. What's new in the WebKitGTK 2.41.4 release? =========================================== - Add new API to configure experimental features at runtime. - Add support for prefers-reduced-motion media query. - Split hardware acceleration information in webkit://gpu. - Fix CPU usage on autoplaying videos. - Fix video rendering when GL is disabled. - Choose amount of painting threads depending on available CPU cores on GTK4. - Add memory usage of images in web inspector memory timeline. - Fix the build with X11 target disabled. - Fix several crashes and rendering issues. What is WebKitGTK? ================== WebKitGTK is the GNOME platform port of the WebKit rendering engine. Offering WebKit's full functionality through a set of GObject-based APIs, it is suitable for projects requiring any kind of web integration, from hybrid HTML/CSS applications to full-fledged web browsers. More information ================ If you want to know more about the project or get in touch with us you may: - Visit our website at https://www.webkitgtk.org or the upstream site at https://www.webkit.org - people interested in contributing should read: https://www.webkit.org/coding/contributing.html. - Browse the bug list at https://bugs.webkit.org WebKitGTK bugs are typically prefixed by "[GTK]." A bug report with a minimal, reproducible test case is often just as valuable as a patch. - Join the #webkitgtk IRC channel at irc.gnome.org or on Matrix at #webkitgtk:matrix.org. - Subscribe to the WebKitGTK mailing list, https://lists.webkit.org/mailman/listinfo/webkit-gtk or the WebKit development mailing list, https://lists.webkit.org/mailman/listinfo/webkit-dev Thanks ====== Thanks to all the contributors who made possible this release, they are far too many to list! The WebKitGTK team, May 17, 2023 -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part URL: From jralls at ceridwen.fremont.ca.us Sun May 28 08:30:17 2023 From: jralls at ceridwen.fremont.ca.us (jralls at ceridwen.fremont.ca.us) Date: Sun, 28 May 2023 11:30:17 -0400 Subject: [webkit-gtk] glib-mkenums and preprocessor conditionals Message-ID: Hi all, I'm trying to get the current main 0ee37c4333 to build for Gtk3 on macOS using ninja and clang. It's failing because glib-mkenums (version 2.77.0 ignores preprocessor conditionals. For example #if ENABLE(2022_GLIB_API) typedef enum { /*?*/ } WebKitWebsiteDataTypes; #else typedef enum { /*?*/ } WebKitWebsiteDataTypes; #endif in Source/WebKit/UIProcess/API/glib/WebKitWebsiteData.h.in line 34. Since that's a template glib-mkenums correctly writes the whole thing into ${CMAKE_BUILD_DIR}/WebKit/DerivedSources/WebKitWebsiteData.h, but that's passed as a header input in a second call with the result // Enumerations from /Users/john/Development/gtk-build/gtk-unstable-11-arm64/build/WebKit/WebKitGTK/DerivedSources/webkit/WebKitWebsiteData.h. GType webkit_website_data_types_get_type() { static const GFlagsValue values[] = { { WEBKIT_WEBSITE_DATA_MEMORY_CACHE, "WEBKIT_WEBSITE_DATA_MEMORY_CACHE", "memory-cache" }, /*?*/ { 0, NULL, NULL } }; static GType type = 0; if (G_UNLIKELY(!type)) type = g_flags_register_static("WebKitWebsiteDataTypes", values); return type; } GType webkit_website_data_types_get_type() { static const GFlagsValue values[] = { { WEBKIT_WEBSITE_DATA_MEMORY_CACHE, "WEBKIT_WEBSITE_DATA_MEMORY_CACHE", "memory-cache" }, /*?*/ { 0, NULL, NULL } }; static GType type = 0; if (G_UNLIKELY(!type)) type = g_flags_register_static("WebKitWebsiteDataTypes", values); return type; } in ${CMAKE_BUILD_DIR}/WebKit/WebKitGTK/DerivedSources/webkit/WebKitEnumTypes.cpp. Compiling that fails with error: redefinition of 'webkit_website_data_types_get_type'. Another example: #if ENABLE(2022_GLIB_API) #define WEBKIT_MEDIA_ERROR webkit_media_error_quark () #endif #if ENABLE(2022_GLIB_API) /** * WebKitMediaError: * @WEBKIT_MEDIA_ERROR_WILL_HANDLE_LOAD: Preliminary load failure for media content types. A new load will be started to perform the media load. Since: 2.40 * * Enum values used to denote the various media errors. * * Since: 2.40 */ typedef enum { WEBKIT_MEDIA_ERROR_WILL_HANDLE_LOAD = 204 } WebKitMediaError; #endif in Source/WebKit/UIProcess/API/glib/WebKitError.h.in turns into WEBKIT_API GType webkit_user_content_filter_error_get_type (void); #define WEBKIT_TYPE_MEDIA_ERROR webkit_media_error_get_type () in WebKitGTK/DerivedSources/webkit/WebKitEnumTypes.h and GType webkit_media_error_get_type() { static const GEnumValue values[] = { { WEBKIT_MEDIA_ERROR_WILL_HANDLE_LOAD, "WEBKIT_MEDIA_ERROR_WILL_HANDLE_LOAD", "load" }, { 0, NULL, NULL } }; static GType type = 0; if (G_UNLIKELY(!type)) type = g_enum_register_static("WebKitMediaError", values); return type; } in WebKitGTK/DerivedSources/webkit/WebKitEnumTypes.cpp producing error: use of undeclared identifier 'WEBKIT_MEDIA_ERROR_WILL_HANDLE_LOAD'; did you mean 'WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD'. This looks suspiciously like https://gitlab.gnome.org/GNOME/glib/-/issues/744, which has been ignored since Behdad filed it in 2013, before the python migration. It was introduced in https://github.com/WebKit/WebKit/commit/bd6aa66739fa6820fab57aab174d141f6bb67894#diff-e5d9b39e6fe26871de083fee45056778d1d58eba76206cf3691bdf2fde4bb649 that points to https://bugs.webkit.org/show_bug.cgi?id=249476. There's some discussion there about a WPE build issue there on a clean build, but there doesn't seem to be any resolution. I'm puzzled by why the first case would build with or without ENABLE(2022_GLIB_API) so I wonder if there's some dfference between your CI builds and what I'm doing. Regards, John Ralls -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcatanzaro at redhat.com Sun May 28 09:53:34 2023 From: mcatanzaro at redhat.com (Michael Catanzaro) Date: Sun, 28 May 2023 11:53:34 -0500 Subject: [webkit-gtk] glib-mkenums and preprocessor conditionals In-Reply-To: References: Message-ID: The preprocessor guards are supposed to be stripped out by unifdef. Is something going wrong with your unifdef? From jralls at ceridwen.fremont.ca.us Sun May 28 15:01:03 2023 From: jralls at ceridwen.fremont.ca.us (John Ralls) Date: Sun, 28 May 2023 18:01:03 -0400 Subject: [webkit-gtk] glib-mkenums and preprocessor conditionals In-Reply-To: References: Message-ID: <6898F471-CB96-40E3-B163-32019AC92466@ceridwen.fremont.ca.us> > On May 28, 2023, at 12:53, Michael Catanzaro wrote: > > The preprocessor guards are supposed to be stripped out by unifdef. Is something going wrong with your unifdef? > > Maybe. macOS supplies 2.5.4 from 2011. I've built 2.12.0 and I'll try again. Regards, John Ralls From cgarcia at igalia.com Mon May 29 03:14:42 2023 From: cgarcia at igalia.com (Carlos Garcia Campos) Date: Mon, 29 May 2023 12:14:42 +0200 Subject: [webkit-gtk] WebKitGTK 2.40.2 released Message-ID: <528e726de5b2029bfab30a1326b9b5c83c422d74.camel@igalia.com> WebKitGTK 2.40.2 is available for download at: https://webkitgtk.org/releases/webkitgtk-2.40.2.tar.xz (38.2MB) md5sum: 9fb1e6d919f29662ee3e741421fd0b71 sha1sum: 391da8cdae4691f3ffc9ce45b6c6e745bdae114f sha256sum: 96898870d994da406ee7a632816dcde9a3bb395ee5f344fcb3f3b8cc8a77e000 This is a bug fix release in the stable 2.40 series. What's new in the WebKitGTK 2.40.2 release? =========================================== - Fix scrollbar jumping to top when drag released outside window in GTK4. - Fix video rendering when GL is disabled. - Fix flickering on looped videos when starting again. - Fix CPU usage on autoplaying videos. - Choose amount of painting threads depending on available CPU cores on GTK4. - Fix several crashes and rendering issues. What is WebKitGTK? ================== WebKitGTK is the GNOME platform port of the WebKit rendering engine. Offering WebKit's full functionality through a set of GObject-based APIs, it is suitable for projects requiring any kind of web integration, from hybrid HTML/CSS applications to full-fledged web browsers. More information ================ If you want to know more about the project or get in touch with us you may: - Visit our website at https://www.webkitgtk.org or the upstream site at https://www.webkit.org - people interested in contributing should read: https://www.webkit.org/coding/contributing.html. - Browse the bug list at https://bugs.webkit.org WebKitGTK bugs are typically prefixed by "[GTK]." A bug report with a minimal, reproducible test case is often just as valuable as a patch. - Join the #webkitgtk IRC channel at irc.gnome.org or on Matrix at #webkitgtk:matrix.org. - Subscribe to the WebKitGTK mailing list, https://lists.webkit.org/mailman/listinfo/webkit-gtk or the WebKit development mailing list, https://lists.webkit.org/mailman/listinfo/webkit-dev Thanks ====== Thanks to all the contributors who made possible this release, they are far too many to list! The WebKitGTK team, May 29, 2023 -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part URL: