pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/c++gsl



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Sep 26 14:17:23 UTC 2026

Modified Files:
        pkgsrc/devel/c++gsl: Makefile PLIST distinfo

Log Message:
c++gsl: update to 5.0.1.

5.0.1

cherrypicks to rel/5.0 in preparation for a 5.0.1 release by Carson Radtke (@carsonRadtke) in #1276

    Let dyn_array_iterator convert to its const_iterator by Jeff Lenamon (@lenamonj) in #1271
    Complete the random access iterator interface of dyn_array_iterator by Jeff Lenamon (@lenamonj) in #1272

5.0

What's Changed

    Update return by value threshold in gsl::not_null by ozaktash in #1205
    copilot: Provide more project context for the Copilot coding agent by Carson Radtke (@carsonRadtke) in #1207
    Document differences between hardened std::span and gsl::span by Carson Radtke (@carsonRadtke) with @Copilot in #1206
    Add constexpr to not_null comparison operators by Carson Radtke (@carsonRadtke) with @Copilot in #1208
    fix: all pipeline failures by Carson Radtke (@carsonRadtke) in #1221
    export proper syntax for GSL_SUPPRESS for new VS by Carson Radtke (@carsonRadtke) in #1213
    Revert unintended change to GSL_SUPPRESS by Werner Henze (@beinhaerter) in #1226
    use cmake presets instead of cmake settings by Carson Radtke (@carsonRadtke) in #1219
    Fix std::hash compilation error for gsl::not_null<std::shared_ptr> by Carson Radtke (@carsonRadtke) with @Copilot in #1210
    infra: individual test executables by Carson Radtke (@carsonRadtke) in #1212
    doc: Update URL in pointers to F.16 C++ Core Guidelines by maflcko in #1232
    doc: Fix to use lower-case anchors in links to C++ Core Guidelines by maflcko in #1234
    gsl::not_null: C.85: Make swap noexcept by maflcko in #1235
    gsl::not_null: C.89: Make a hash noexcept by maflcko in #1236
    ci: Bump to actions/checkout@v6 by maflcko in #1237
    ci: Use microsoft/setup-msbuild@v3 by maflcko in #1240
    narrow_cast instead of static_cast by Werner Henze (@beinhaerter) in #1250
    ci: Bump actions/setup-java@v5 by maflcko in #1249
    remove space in GSL_SUPPRESS by Werner Henze (@beinhaerter) in #1248
    clang-format improvements by Werner Henze (@beinhaerter) in #1251
    feat: implementation of gsl::dyn_array by Carson Radtke (@carsonRadtke) in #1228
    ci: fix failing actions by Carson Radtke (@carsonRadtke) in #1255
    docs: fix false statements in gsl::dyn_array docs by Carson Radtke (@carsonRadtke) in #1254
    dyn_array: fix include tree by Carson Radtke (@carsonRadtke) in #1261
    Bump GSL to v5.0.0 by Carson Radtke (@carsonRadtke) in #1262
    docs: fix http:// to https:// in CppCoreGuidelines links by Rajkaran (@Rajkaran-122) in #1267
    Fix floating-to-integral narrow undefined behavior by Carson Radtke (@carsonRadtke) in #1266
    Ensure iterators convert to const iterators by Carson Radtke (@carsonRadtke) in #1264
    Prevent external construction of checked iterators by Carson Radtke (@carsonRadtke) in #1263

4.2.2

Fix MSVC's C4875 when compiling GSL 4.2.1 with latest MSVC toolset. #1243

4.2.1

Fixed an issue with the v4.2.0 GSL release #1224

4.2.0

New Features

    Added gsl::swap for safely swapping gsl::not_null pointers (#1160)
    Introduced element_type member type to gsl::not_null for better type trait consistency (#1196)
    Added support for strict_not_null with unique_ptr (#1179)
    Added comprehensive test suite for gsl::span including empty span, conversion, and comparison tests (#1189)

Performance Improvements

    Significantly improved span_iterator performance with Clang compiler, reducing overhead by up to 20x (#1166)

Bug Fixes

    Fixed GCC-specific bug with list initialization of const references (#1175)
    Fixed SFINAE implementation in gsl::owner (#1174)
    Fixed issues with std::enable_if usage throughout the codebase (#1177)
    Modified include directives to use explicit "gsl/" prefix to prevent header conflicts (#1184)
    Changed include directives to use relative paths to comply with CppCoreGuideline SF.12 (#1194)

Deprecated Features

    Removed deprecated string_span feature (#1185)
    Marked the following features as deprecated as they are now in the C++ standard:
        gsl::unique_ptr
        gsl::shared_ptr
        gsl::byte (since C++17)
        gsl::joining_thread

Infrastructure Updates

    Updated CI pipeline for Ubuntu 24.04
    Updated compiler support:
        Clang 16, 17, 18
        GCC 12, 13, 14
    Upgraded to GoogleTest v1.14.0
    Added new issue templates
    Updated documentation and badges

4.1.0

This release contains bugfixes and infrastructure improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/c++gsl/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/c++gsl/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/c++gsl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/c++gsl/Makefile
diff -u pkgsrc/devel/c++gsl/Makefile:1.4 pkgsrc/devel/c++gsl/Makefile:1.5
--- pkgsrc/devel/c++gsl/Makefile:1.4    Wed Dec 13 11:44:26 2023
+++ pkgsrc/devel/c++gsl/Makefile        Sat Sep 26 14:17:23 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2023/12/13 11:44:26 nros Exp $
+# $NetBSD: Makefile,v 1.5 2026/09/26 14:17:23 wiz Exp $
 
-DISTNAME=      GSL-4.0.0
+DISTNAME=      GSL-5.0.1
 PKGNAME=       c++${DISTNAME:tl}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Microsoft/}

Index: pkgsrc/devel/c++gsl/PLIST
diff -u pkgsrc/devel/c++gsl/PLIST:1.3 pkgsrc/devel/c++gsl/PLIST:1.4
--- pkgsrc/devel/c++gsl/PLIST:1.3       Wed Dec 13 11:44:26 2023
+++ pkgsrc/devel/c++gsl/PLIST   Sat Sep 26 14:17:23 2026
@@ -1,18 +1,15 @@
-@comment $NetBSD: PLIST,v 1.3 2023/12/13 11:44:26 nros Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/09/26 14:17:23 wiz Exp $
 include/gsl/algorithm
 include/gsl/assert
 include/gsl/byte
+include/gsl/dyn_array
 include/gsl/gsl
-include/gsl/gsl_algorithm
-include/gsl/gsl_assert
-include/gsl/gsl_byte
-include/gsl/gsl_narrow
-include/gsl/gsl_util
 include/gsl/narrow
 include/gsl/pointers
 include/gsl/span
 include/gsl/span_ext
-include/gsl/string_span
 include/gsl/util
+include/gsl/zstring
+share/cmake/Microsoft.GSL/GSL.natvis
 share/cmake/Microsoft.GSL/Microsoft.GSLConfig.cmake
 share/cmake/Microsoft.GSL/Microsoft.GSLConfigVersion.cmake

Index: pkgsrc/devel/c++gsl/distinfo
diff -u pkgsrc/devel/c++gsl/distinfo:1.5 pkgsrc/devel/c++gsl/distinfo:1.6
--- pkgsrc/devel/c++gsl/distinfo:1.5    Wed Dec 13 11:44:26 2023
+++ pkgsrc/devel/c++gsl/distinfo        Sat Sep 26 14:17:23 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2023/12/13 11:44:26 nros Exp $
+$NetBSD: distinfo,v 1.6 2026/09/26 14:17:23 wiz Exp $
 
-BLAKE2s (GSL-4.0.0.tar.gz) = 5eac47950a289b2218032c77863b3995eba89e47df4b72b107dbe394b7383255
-SHA512 (GSL-4.0.0.tar.gz) = 7fa7446796c6bf82fb3bff09f86a69c446a27be528bef3b17c8bc5ad2f24d5cf86bdb3d3813ecb44726e8f395020180e97e41027330d1fbf545cc0f0b44aac29
-Size (GSL-4.0.0.tar.gz) = 55846 bytes
+BLAKE2s (GSL-5.0.1.tar.gz) = f5eb8cb15b271d3efc38fbe27bb4b3ee1d18c371a6877b5fbd1f3759a701dec1
+SHA512 (GSL-5.0.1.tar.gz) = fd05d8d04cd281e0d19f491e5dcf570caa2acfa739df3fa0eb83967da2073d1b97eae060da5c93cb051a4e5b1e9258652de5c4daa8611a18fdc63ac8de13c5b9
+Size (GSL-5.0.1.tar.gz) = 75787 bytes



Home | Main Index | Thread Index | Old Index