head 1.6; access; symbols pkgsrc-2021Q1:1.5.0.6 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.4 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.2 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.4.0.4 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.3.0.10 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.6 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.4 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.2 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.1.0.2 pkgsrc-2018Q4-base:1.1; locks; strict; comment @// @; 1.6 date 2021.03.30.12.47.42; author leot; state dead; branches; next 1.5; commitid kYHpqmzFbHQ6EkNC; 1.5 date 2020.09.11.14.47.35; author leot; state Exp; branches; next 1.4; commitid lMtBEDjho0MUJDnC; 1.4 date 2020.03.10.18.14.04; author leot; state Exp; branches; next 1.3; commitid PhBddK5Fnnk9PSZB; 1.3 date 2019.03.27.10.50.30; author jperkin; state Exp; branches; next 1.2; commitid hrJ1ue81zmwLAZgB; 1.2 date 2019.03.13.20.49.40; author leot; state Exp; branches; next 1.1; commitid 6US2KIXCUF5dlffB; 1.1 date 2018.10.25.09.58.18; author leot; state Exp; branches; next ; commitid 3azuNdufhRBAakXA; desc @@ 1.6 log @webkit-gtk: Update to 2.32.0 pkgsrc changes: - Remove patch-Source_WTF_wtf_RAMSize.cpp: fallback method using sysconf(3) is now used also on NetBSD - patch-CMakeLists.txt migrated to Source/cmake/WebKitCommon.cmake: all existent logic was migrated there - Remove patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh: patched file no longer present - Add `-DENABLE_GAMEPAD=OFF' to disable gamepad support: needs libmanette not yet packaged in pkgsrc Changes: 2.32.0 ====== - NPAPI plugins support have been removed. - System font scaling factor is correctly applied now. - New permission request API for MediaKeySystem access. - New API to remove individual scripts/stylesheets using WebKitUserContentManager. - Web inspector now shows detailed information about main loop frames. - The minimum required GStreamer version is now 1.14. - The GStreamer runtime is now initialized only when required. - Improved platform support for WebAudio (WebAudio->MediaStream, Worklet, Multi-channel). - Support for hardware-accelerated video rendering on i.MX8 platforms (using the NXP driver). Updated in pkgsrc-wip by and me. @ text @$NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.5 2020/09/11 14:47:35 leot Exp $ Add support for NetBSD and SunOS. --- Source/WTF/wtf/RAMSize.cpp.orig 2020-08-12 09:17:54.000000000 +0000 +++ Source/WTF/wtf/RAMSize.cpp @@@@ -34,13 +34,19 @@@@ #if OS(LINUX) #include #endif // OS(LINUX) +#if OS(SOLARIS) +#include +#endif +#if OS(NETBSD) +#include +#endif // OS(NETBSD) #else #include #endif namespace WTF { -#if OS(WINDOWS) +#if OS(WINDOWS) || (OS(NETBSD) && defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC) static constexpr size_t ramSizeGuess = 512 * MB; #endif @@@@ -58,9 +64,20 @@@@ static size_t computeRAMSize() struct sysinfo si; sysinfo(&si); return si.totalram * si.mem_unit; +#elif OS(SOLARIS) + return (sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE)); +#elif OS(NETBSD) + int mib[2]; + size_t len, totalram; + mib[0] = CTL_HW; + mib[1] = HW_USERMEM64; + len = sizeof(totalram); + if (sysctl(mib, 2, &totalram, &len, NULL, 0)) + return ramSizeGuess; + return totalram; #else #error "Missing a platform specific way of determining the available RAM" -#endif // OS(LINUX) || OS(FREEBSD) +#endif // USE_SYSTEM_MALLOC #else return bmalloc::api::availableMemory(); #endif @ 1.5 log @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. @ text @d1 1 a1 1 $NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.4 2020/03/10 18:14:04 leot Exp $ @ 1.4 log @webkit-gtk: Update to 2.28.0 Changes: WebKitGTK 2.28.0 ================ - Enable JIT in MIPS platform. - Do not limit the surrounding text for input methods to current paragraph. - Fix the build with OpenGL disabled. - Fix the build when Wayland target is disabled. - Fix the build on ppc64le if __unix is undefined. - Fix several crashes and rendering issues. - Translation updates: Polish. WebKitGTK 2.27.91 ================= - Update user agent quirks to fix the unsupported browser message in several google services. - Fix several compile warnings with GCC 10. - Fix the build with GCC 10. - Fix several crashes and rendering issues. - Translation updates: Chinese WebKitGTK 2.27.90 ================= - Add support for same-site cookies. - Add flatpak sandbox support. - Enable WebAudio and WebGL by default in WebKitSettings. - Add a setting to disallow top level navigation to a data URI. - Add support for the -webkit-font-smoothing CSS property. - Always use a light theme for rendering form controls. - Stop making the Web Inspector windows transient. - Ensure mouse cursor is hidden during fullscreen video playback. - Add support for inspecting service workers to the remote inspector. - Fix several crashes and rendering issues. WebKitGTK 2.27.4 ================ - Add API for input methods. - Add API to serialize/deserialize a JSCValue to/from a JSON string. - Add support for strict secure cookies. - Add support for saving data from remote inspector. - Make ondemand hardware acceleration policy never leave accelerated compositing mode. - Fix rendering of conic gradients in high resolution displays. - Fix special combination characters not respecting the keystroke order when high CPU load. - Honor the IndexedDB directory set in WebsiteDataManager. - Fix rendering of text when there's an initial advance in the text run. - Fix web process crash when displaying a KaTeX formula. - Fix network process crash with PSON enabled. - Fix several crashes and rendering issues. WebKitGTK 2.27.3 ================ - Add support for Pointer Lock API. - Improve performance when falling back to system fonts. - Stop using DBus for the remote inspector implementation to improve the performance of both WebDriver and remote inspector. - Implement support for new ARIA roles: code, strong, emphasis, generic. - Fix handling of content type with new custom protocols implementation. - Make image decoders fully thread safe. - Add support for get page source command in WebDriver. - Add support for network proxy capabilities in WebDriver. - Add support for new window command in WebDriver. - Fix several crashes and rendering issues. - Translation updates: Brazilian Portuguese, Ukrainian. WebKitGTK 2.27.2 ================ - Add user messages API for the communication with the web extension. - Enable service workers by default. - Add support for saving data in Web Inspector. - More navigation gesture improvement. - Fix the build with WebDriver disabled. - Show also client EGL extensions in about:gpu. - Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland. - Fix several crashes and rendering issues. WebKitGTK 2.27.1 ================ - Enable async scrolling when accelerating compositing policy is 'always'. - Add about:gpu to show information about the graphics stack. - Add API to enable Process Swap on (Cross-site) Navigation, that is now disabled by default. - Add WebKitWebView:page-id property. - Improve swipe navigation gesture style. - Fix several crashes and rendering issues. @ text @d1 1 a1 1 $NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.3 2019/03/27 10:50:30 jperkin Exp $ d5 1 a5 1 --- Source/WTF/wtf/RAMSize.cpp.orig 2020-02-04 10:24:07.000000000 +0000 d7 1 a7 1 @@@@ -35,13 +35,19 @@@@ d28 1 a28 1 @@@@ -59,9 +65,20 @@@@ static size_t computeRAMSize() d45 1 a45 1 -#endif // OS(LINUX) @ 1.3 log @webkit-gtk: Naive implementation of computeRAMSize for SunOS. @ text @d1 1 a1 1 $NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.2 2019/03/13 20:49:40 leot Exp $ d5 1 a5 1 --- Source/WTF/wtf/RAMSize.cpp.orig 2019-02-12 11:21:17.000000000 +0000 d25 1 a25 1 static const size_t ramSizeGuess = 512 * MB; @ 1.2 log @webkit-gtk: Update to 2.24.0 pkgsrc changes: - Remove patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp: logic changed upstream and there is no longer a function that check for a VFP. Changes: 2.24.0 ------ - Added support fot content filtering. - Variation fonts support. - Fully emoji rendering support. - Added navigation and pinch zoom gestures for touchpads. - Support for JPEG2000 images (please note that in pkgsrc at the moment it is disabled to avoid a dependency on openjpeg) - Script dialogs are now modal to the current web view only. - New API to convert URI to format for display. @ text @d1 1 a1 1 $NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.1 2018/10/25 09:58:18 leot Exp $ d3 1 a3 1 Add support for NetBSD. d7 1 a7 1 @@@@ -35,13 +35,16 @@@@ d11 3 d28 1 a28 1 @@@@ -59,9 +62,18 @@@@ static size_t computeRAMSize() d32 2 @ 1.1 log @webkit-gtk: Add support to build with -DUSE_SYSTEM_MALLOC=ON on NetBSD On NetBSD there is no but we can use hw.usermem64. This should address WebKitGTK+ support for NetBSD ports where USE_SYSTEM_MALLOC is by default OFF. Side-note: on NetBSD/amd64 -current when building with -DUSE_SYSTEM_MALLOC=ON both SunSpider and JetStream benchmarks shows a very little performance penalty, so also remove the `-DUSE_SYSTEM_MALLOC=ON' commented out CMAKE_ARGS (i.e. when possible just use the preferred malloc). @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- Source/WTF/wtf/RAMSize.cpp.orig 2017-08-03 11:00:07.000000000 +0000 d7 4 a10 5 @@@@ -32,7 +32,9 @@@@ #if OS(WINDOWS) #include #elif defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC -#if OS(UNIX) d13 1 a13 3 +#elif OS(UNIX) #include #endif // OS(UNIX) d15 2 a16 1 @@@@ -41,7 +43,7 @@@@ d25 5 a29 6 @@@@ -55,13 +57,22 @@@@ static size_t computeRAMSize() return ramSizeGuess; return status.ullTotalPhys; #elif defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC -#if OS(UNIX) +#if OS(NETBSD) a37 4 +#elif OS(UNIX) struct sysinfo si; sysinfo(&si); return si.totalram * si.mem_unit; d40 1 a40 1 -#endif // OS(UNIX) @