pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_FileSystem.cpp

17 lines
514 B
C++
Raw Normal View History

webkit-gtk: Update to 2.30.0 pkgsrc changes: - Unconditionally disable systemd support via CMAKE_ARGS (by default systemd is enabled unconditionally) Changes: WebKitGTK 2.30.0 ================ - Fix NTLM authentication. - Don't try to use SHM on wayland with older wpebackend-fdo. - Fix the build due to seccomp.h header not found. WebKitGTK 2.29.92 ================= - Fix user agent header after a redirect when a new quirk is required. - Stop using firefox user agent quirk for google docs. - Fix rendering frames timeline panel in web inspector. - Fix per-thread cpu usage in web inspector. - Fix several crashes and rendering issues. - Translation updates: Polish WebKitGTK 2.29.91 ================= - Fix a web process crash introduced in 2.29.90. WebKitGTK 2.29.90 ================= - Fix font variation settings when font smoothing setting is also present. - Fix HTML drag and drop operations. - Fix argument order for clone syscall seccomp filter on s390x. - Fix a crash when selecting text. - Fix several crashes and rendering issues. WebKitGTK 2.29.4 ================ - Add support for backdrop filters. - Add support for text-underline-offset and text-decoration-thickness. - Add OpenCDM and AV1 support to media backend. - Add new API to get ITP data summary. - Use mobile user-agent on tablets. - Fix several crashes and rendering issues. WebKitGTK 2.29.3 ================ - Add webkit_authentication_request_get_security_origin. - Change the cookies accept policy to always when no-third-party is set and ITP is enabled. - Fix web process hangs on large GitHub pages. - Bubblewrap sandbox should not attempt to bind empty paths. - Add support for sndio to bubblewrap sandbox. - Also handle dark themes when the name ends with -Dark. - Fix a race condition causing a crash in media player. - Fix several crashes and rendering issues. WebKitGTK 2.29.2 ================ - Add Intelligent Tracking Prevention (ITP) support. - Add support for video formats in img elements. - Add API to handle video autoplay policy that now defaults to disallow autoplay videos with audio. - Add API to mute a web view. - Add API to allow applications to handle the HTTP authentication credential storage. - Add a WebKitSetting to set the media content types requiring hardware support. - Fix a crash during drag an drop due to a bug introduced in 2.29.1. - Do not start page load during animation in back/forward gesture. - Fix several crashes and rendering issues. - Translation updates: Ukrainian. WebKitGTK 2.29.1 ================ - Stop using GTK theming to render form controls. - Add API to disable GTK theming for scrollbars too. - Fix several race conditions and threading issues in the media player. - Add USER_AGENT_BRANDING build option. - Add paste as plain text option to the context menu for rich editable content. - Fix several crashes and rendering issues.
2020-09-11 16:47:34 +02:00
$NetBSD: patch-Source_WTF_wtf_FileSystem.cpp,v 1.3 2020/09/11 14:47:35 leot Exp $
Support MAP_FILE if unavailable.
webkit-gtk: Update to 2.30.0 pkgsrc changes: - Unconditionally disable systemd support via CMAKE_ARGS (by default systemd is enabled unconditionally) Changes: WebKitGTK 2.30.0 ================ - Fix NTLM authentication. - Don't try to use SHM on wayland with older wpebackend-fdo. - Fix the build due to seccomp.h header not found. WebKitGTK 2.29.92 ================= - Fix user agent header after a redirect when a new quirk is required. - Stop using firefox user agent quirk for google docs. - Fix rendering frames timeline panel in web inspector. - Fix per-thread cpu usage in web inspector. - Fix several crashes and rendering issues. - Translation updates: Polish WebKitGTK 2.29.91 ================= - Fix a web process crash introduced in 2.29.90. WebKitGTK 2.29.90 ================= - Fix font variation settings when font smoothing setting is also present. - Fix HTML drag and drop operations. - Fix argument order for clone syscall seccomp filter on s390x. - Fix a crash when selecting text. - Fix several crashes and rendering issues. WebKitGTK 2.29.4 ================ - Add support for backdrop filters. - Add support for text-underline-offset and text-decoration-thickness. - Add OpenCDM and AV1 support to media backend. - Add new API to get ITP data summary. - Use mobile user-agent on tablets. - Fix several crashes and rendering issues. WebKitGTK 2.29.3 ================ - Add webkit_authentication_request_get_security_origin. - Change the cookies accept policy to always when no-third-party is set and ITP is enabled. - Fix web process hangs on large GitHub pages. - Bubblewrap sandbox should not attempt to bind empty paths. - Add support for sndio to bubblewrap sandbox. - Also handle dark themes when the name ends with -Dark. - Fix a race condition causing a crash in media player. - Fix several crashes and rendering issues. WebKitGTK 2.29.2 ================ - Add Intelligent Tracking Prevention (ITP) support. - Add support for video formats in img elements. - Add API to handle video autoplay policy that now defaults to disallow autoplay videos with audio. - Add API to mute a web view. - Add API to allow applications to handle the HTTP authentication credential storage. - Add a WebKitSetting to set the media content types requiring hardware support. - Fix a crash during drag an drop due to a bug introduced in 2.29.1. - Do not start page load during animation in back/forward gesture. - Fix several crashes and rendering issues. - Translation updates: Ukrainian. WebKitGTK 2.29.1 ================ - Stop using GTK theming to render form controls. - Add API to disable GTK theming for scrollbars too. - Fix several race conditions and threading issues in the media player. - Add USER_AGENT_BRANDING build option. - Add paste as plain text option to the context menu for rich editable content. - Fix several crashes and rendering issues.
2020-09-11 16:47:34 +02:00
--- Source/WTF/wtf/FileSystem.cpp.orig 2020-08-12 09:17:54.000000000 +0000
+++ Source/WTF/wtf/FileSystem.cpp
webkit-gtk: Update to 2.30.0 pkgsrc changes: - Unconditionally disable systemd support via CMAKE_ARGS (by default systemd is enabled unconditionally) Changes: WebKitGTK 2.30.0 ================ - Fix NTLM authentication. - Don't try to use SHM on wayland with older wpebackend-fdo. - Fix the build due to seccomp.h header not found. WebKitGTK 2.29.92 ================= - Fix user agent header after a redirect when a new quirk is required. - Stop using firefox user agent quirk for google docs. - Fix rendering frames timeline panel in web inspector. - Fix per-thread cpu usage in web inspector. - Fix several crashes and rendering issues. - Translation updates: Polish WebKitGTK 2.29.91 ================= - Fix a web process crash introduced in 2.29.90. WebKitGTK 2.29.90 ================= - Fix font variation settings when font smoothing setting is also present. - Fix HTML drag and drop operations. - Fix argument order for clone syscall seccomp filter on s390x. - Fix a crash when selecting text. - Fix several crashes and rendering issues. WebKitGTK 2.29.4 ================ - Add support for backdrop filters. - Add support for text-underline-offset and text-decoration-thickness. - Add OpenCDM and AV1 support to media backend. - Add new API to get ITP data summary. - Use mobile user-agent on tablets. - Fix several crashes and rendering issues. WebKitGTK 2.29.3 ================ - Add webkit_authentication_request_get_security_origin. - Change the cookies accept policy to always when no-third-party is set and ITP is enabled. - Fix web process hangs on large GitHub pages. - Bubblewrap sandbox should not attempt to bind empty paths. - Add support for sndio to bubblewrap sandbox. - Also handle dark themes when the name ends with -Dark. - Fix a race condition causing a crash in media player. - Fix several crashes and rendering issues. WebKitGTK 2.29.2 ================ - Add Intelligent Tracking Prevention (ITP) support. - Add support for video formats in img elements. - Add API to handle video autoplay policy that now defaults to disallow autoplay videos with audio. - Add API to mute a web view. - Add API to allow applications to handle the HTTP authentication credential storage. - Add a WebKitSetting to set the media content types requiring hardware support. - Fix a crash during drag an drop due to a bug introduced in 2.29.1. - Do not start page load during animation in back/forward gesture. - Fix several crashes and rendering issues. - Translation updates: Ukrainian. WebKitGTK 2.29.1 ================ - Stop using GTK theming to render form controls. - Add API to disable GTK theming for scrollbars too. - Fix several race conditions and threading issues in the media player. - Add USER_AGENT_BRANDING build option. - Add paste as plain text option to the context menu for rich editable content. - Fix several crashes and rendering issues.
2020-09-11 16:47:34 +02:00
@@ -339,6 +339,9 @@ bool MappedFileData::mapFileHandle(Platf
#endif
}
+#ifndef MAP_FILE
+#define MAP_FILE 0
+#endif
webkit-gtk: Update to 2.30.0 pkgsrc changes: - Unconditionally disable systemd support via CMAKE_ARGS (by default systemd is enabled unconditionally) Changes: WebKitGTK 2.30.0 ================ - Fix NTLM authentication. - Don't try to use SHM on wayland with older wpebackend-fdo. - Fix the build due to seccomp.h header not found. WebKitGTK 2.29.92 ================= - Fix user agent header after a redirect when a new quirk is required. - Stop using firefox user agent quirk for google docs. - Fix rendering frames timeline panel in web inspector. - Fix per-thread cpu usage in web inspector. - Fix several crashes and rendering issues. - Translation updates: Polish WebKitGTK 2.29.91 ================= - Fix a web process crash introduced in 2.29.90. WebKitGTK 2.29.90 ================= - Fix font variation settings when font smoothing setting is also present. - Fix HTML drag and drop operations. - Fix argument order for clone syscall seccomp filter on s390x. - Fix a crash when selecting text. - Fix several crashes and rendering issues. WebKitGTK 2.29.4 ================ - Add support for backdrop filters. - Add support for text-underline-offset and text-decoration-thickness. - Add OpenCDM and AV1 support to media backend. - Add new API to get ITP data summary. - Use mobile user-agent on tablets. - Fix several crashes and rendering issues. WebKitGTK 2.29.3 ================ - Add webkit_authentication_request_get_security_origin. - Change the cookies accept policy to always when no-third-party is set and ITP is enabled. - Fix web process hangs on large GitHub pages. - Bubblewrap sandbox should not attempt to bind empty paths. - Add support for sndio to bubblewrap sandbox. - Also handle dark themes when the name ends with -Dark. - Fix a race condition causing a crash in media player. - Fix several crashes and rendering issues. WebKitGTK 2.29.2 ================ - Add Intelligent Tracking Prevention (ITP) support. - Add support for video formats in img elements. - Add API to handle video autoplay policy that now defaults to disallow autoplay videos with audio. - Add API to mute a web view. - Add API to allow applications to handle the HTTP authentication credential storage. - Add a WebKitSetting to set the media content types requiring hardware support. - Fix a crash during drag an drop due to a bug introduced in 2.29.1. - Do not start page load during animation in back/forward gesture. - Fix several crashes and rendering issues. - Translation updates: Ukrainian. WebKitGTK 2.29.1 ================ - Stop using GTK theming to render form controls. - Add API to disable GTK theming for scrollbars too. - Fix several race conditions and threading issues in the media player. - Add USER_AGENT_BRANDING build option. - Add paste as plain text option to the context menu for rich editable content. - Fix several crashes and rendering issues.
2020-09-11 16:47:34 +02:00
void* data = mmap(0, size, pageProtection, MAP_FILE | (mapMode == MappedFileMode::Shared ? MAP_SHARED : MAP_PRIVATE), fd, 0);
webkit-gtk: Update to 2.26.0 pkgsrc changes: - When built with gcc, 7.3.0 or newer is now needed Changes: WebKitGTK 2.26.0 ================ - Disable process swap on navigation. - Do not enable the sandbox in Snap. - Fix sandbox parsing DISPLAY on X11. - Translation updates: Brazilian Portuguese, German. WebKitGTK 2.25.92 ================= - Add WEBKIT_USE_SINGLE_WEB_PROCESS environment variable to force single process model in all WebKitWebContext. This is a temporary solution for applications still depending on the single process mode behavior. It will be only available in 2.26 series. - Add new API to remove a filter from an user content manager given its identifier. - Add support for HSTS. - Several improvements and bug fixes in MSE media player. - Fix building without unified sources. - Fix several crashes and rendering issues. - Translation updates: Polish, Ukrainian. WebKitGTK 2.25.4 ================ - Switch to use libsoup WebSockets API. - Add support for permessage-deflate WebSocket extension. - Add support for datalist element in text input fields. - Fix a crash with empty video source. - Fix several crashes and rendering issues. WebKitGTK 2.25.3 ================ - Remove support for GTK2 NPAPI plugins. - Fix web view updates after swapping web process if accelerated compositing mode is forced. - Make kinetic scrolling work again. - Fix position of emoji chooser when page is scrolled. - Fix web process deadlock when scrolling twitter timeline which contains HLS videos. - Make navigation gesture use dark fallback background color color on dark themes. - Make Previous/Next gesture work in RTL mode. - Support cancelling touchscreen back/forward gesture. - Add user agent quirk to make github work in FreeBSD. - Fix content disappearing when using CSS transforms. - Fix some radio streams that could not be played. - Fix video pause that sometimes caused to skip to finish. - Fix volume level changes when playing a video. - Fix several crashes and rendering issues. WebKitGTK 2.25.2 ================ - Enable process switch on cross site navigation. - Use libwpe with fdo backend to implement accelerated compositing under wayland. - Fix rendering artifacts in youtube volume button. - Fix trapezoid artifact in github comment box. - Ensure web extensions directory is readable when sandbox is enabled. - Fix the executable name of WebDriver process, renamed by mistake in 2.25.1. - Enable hyperlink auditing setting by default. - Remove the option to build without using the redirected XComposite window. - Fix HLS streams being slow to start. - Make accessibility work when sandbox is enabled. - Fix several crashes and rendering issues. WebKitGTK 2.25.1 ================ - Add support for subprocess sandboxing. - Add API to get the web process unique identifier of a WebKitFrame. - Add WebKitWebPage::did-associate-form-controls-for-frame signal and deprecate did-associate-form-controls. - Implement AtkComponentIface scroll_to methods. - Improve rendering of form controls when GTK theme is dark and enable prefers-color-scheme media query. - Show the emoji chooser popover for editable content. - Fix touch capabilities detection for websites checking touch events properties present in window or pointer media queries. - Fix several crashes and rendering issues.
2019-09-11 00:10:04 +02:00
if (data == MAP_FAILED) {