10 Commits

Author SHA256 Message Date
8d0d9b5038 Accepting request 1323011 from devel:libraries:c_c++
Automatic submission by obs-autosubmit
- Adding 'Source100: README.md' as the README is suggested at src.opensuse.org
  setup, otherwise get the following message:
  * "Attention, "README.md" is not mentioned in spec files as source or patch."

- Update to upstream version 4.2.1
  * This is a patch release that corresponds with the current tip of the
    rel/4.2 branch.
  * Bug Fixes
    - Fixed an issue with the v4.2.0 GSL release #1224
      * https://github.com/microsoft/GSL/issues/1224

OBS-URL: https://build.opensuse.org/request/show/1323011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ms-gsl?expand=0&rev=5
2025-12-17 16:31:05 +00:00
73c1ff1a65 - Adding 'Source100: README.md' as the README is suggested at src.opensuse.org
setup, otherwise get the following message:
  * "Attention, "README.md" is not mentioned in spec files as source or patch."

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ms-gsl?expand=0&rev=12
2025-12-15 19:16:35 +00:00
d4ec2efde8 - Update to upstream version 4.2.1
* This is a patch release that corresponds with the current tip of the
    rel/4.2 branch.
  * Bug Fixes
    - Fixed an issue with the v4.2.0 GSL release #1224
      * https://github.com/microsoft/GSL/issues/1224

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ms-gsl?expand=0&rev=11
2025-12-08 18:58:18 +00:00
1275619337 Accepting request 1287265 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1287265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ms-gsl?expand=0&rev=4
2025-06-23 12:55:25 +00:00
8b60cfaa92 Accepting request 1287264 from home:sbradnick
- Fix build using googletest >= v1.17.0, boo#1244989
  * https://github.com/microsoft/GSL/issues/1178

OBS-URL: https://build.opensuse.org/request/show/1287264
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ms-gsl?expand=0&rev=9
2025-06-20 14:06:34 +00:00
b423b7be5b Accepting request 1251571 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1251571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ms-gsl?expand=0&rev=3
2025-03-11 19:42:38 +00:00
619264ed6e - Update to upstream version 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

- Adding '_service' file for tarball download

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ms-gsl?expand=0&rev=7
2025-03-02 19:51:32 +00:00
18c806a0a9 Accepting request 1219479 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ms-gsl?expand=0&rev=2
2024-10-31 15:09:13 +00:00
676ffa790e - Looks like v4.1.0 was [re]released? List of changes under
https://github.com/microsoft/GSL/releases/tag/v4.1.0 is quite different
  * Grabbed tarball from this [re]release.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ms-gsl?expand=0&rev=5
2024-10-21 18:00:36 +00:00
ee1c762694 - Update to upstream version 4.1.0
* quoted form of #include when GSL includes GSL files by @beinhaerter
    in #1030
  * Suppress reserved identifier warning by @dmitrykobets-msft in #1041
  * Make gsl::span's iterators use the contiguous_iterator concept by
    @dmitrykobets-msft in #1035
  * Suppress -Wfloat-equal warning by @dmitrykobets-msft in #1043
  * gsl/narrow should include by @TheJCAB in #1044
  * Many other changes, see:
    https://github.com/microsoft/GSL/releases/tag/v4.1.0

- Enabling testing suite

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ms-gsl?expand=0&rev=4
2024-10-17 18:41:52 +00:00
8 changed files with 120 additions and 8 deletions

11
README.md Normal file
View File

@@ -0,0 +1,11 @@
# ms-gsl
URL: [GSL](https://github.com/microsoft/GSL)
----
The Guidelines Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This repo contains Microsoft's implementation of GSL.
The entire implementation is provided inline in the headers under the gsl directory. The implementation generally assumes a platform that implements C++14 support.
While some types have been broken out into their own headers (e.g. gsl/span), it is simplest to just include gsl/gsl and gain access to the entire library.

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1765825903
commit: 617a914287551baee7bac9b09e730f1a983e3ba4ac4924210fbcde5e7720673e
url: https://src.opensuse.org/sbradnick/ms-gsl
revision: main

3
_service Normal file
View File

@@ -0,0 +1,3 @@
<services>
<service name="download_files" mode="manual" />
</services>

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c04d0588ab58d10b9a375c88ec1968ae7062d55aebc84227e6ed47ab60ffeaf
size 296

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9
size 55846

BIN
ms-gsl-4.2.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,89 @@
-------------------------------------------------------------------
Mon Dec 15 19:10:40 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- Adding 'Source100: README.md' as the README is suggested at src.opensuse.org
setup, otherwise get the following message:
* "Attention, "README.md" is not mentioned in spec files as source or patch."
-------------------------------------------------------------------
Mon Dec 8 18:47:52 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 4.2.1
* This is a patch release that corresponds with the current tip of the
rel/4.2 branch.
* Bug Fixes
- Fixed an issue with the v4.2.0 GSL release #1224
* https://github.com/microsoft/GSL/issues/1224
-------------------------------------------------------------------
Thu Jun 19 15:01:50 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- Fix build using googletest >= v1.17.0, boo#1244989
* https://github.com/microsoft/GSL/issues/1178
-------------------------------------------------------------------
Sun Mar 2 19:31:11 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 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
-------------------------------------------------------------------
Thu Dec 26 22:26:43 UTC 2024 - Scott Bradnick <scott.bradnick@suse.com>
- Adding '_service' file for tarball download
-------------------------------------------------------------------
Mon Oct 21 16:21:35 UTC 2024 - Scott Bradnick <scott.bradnick@suse.com>
- Looks like v4.1.0 was [re]released? List of changes under
https://github.com/microsoft/GSL/releases/tag/v4.1.0 is quite different
* Grabbed tarball from this [re]release.
-------------------------------------------------------------------
Thu Oct 17 14:14:03 UTC 2024 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 4.1.0
* quoted form of #include when GSL includes GSL files by @beinhaerter
in #1030
* Suppress reserved identifier warning by @dmitrykobets-msft in #1041
* Make gsl::span's iterators use the contiguous_iterator concept by
@dmitrykobets-msft in #1035
* Suppress -Wfloat-equal warning by @dmitrykobets-msft in #1043
* gsl/narrow should include by @TheJCAB in #1044
* Many other changes, see:
https://github.com/microsoft/GSL/releases/tag/v4.1.0
-------------------------------------------------------------------
Thu May 25 13:29:36 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Enabling testing suite
-------------------------------------------------------------------
Tue May 23 23:28:54 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ms-gsl
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,13 @@
Name: ms-gsl
Version: 4.0.0
Version: 4.2.1
Release: 0
Summary: Guidelines Support Library
License: MIT
URL: https://github.com/Microsoft/GSL
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source100: README.md
BuildRequires: git-core
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -51,13 +52,17 @@ Summary: Development files for %{name}
%build
%cmake \
-DGSL_TEST=OFF \
-DCMAKE_BUILD_TYPE=Release
-DGSL_TEST=ON \
-DCMAKE_BUILD_TYPE=Release \
-DGSL_CXX_STANDARD=17
%cmake_build
%install
%cmake_install
%check
%ctest
%files devel
%license LICENSE
%doc README.md ThirdPartyNotices.txt CONTRIBUTING.md