Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8d0d9b5038 | |||
| 73c1ff1a65 | |||
| d4ec2efde8 | |||
| 1275619337 | |||
| 8b60cfaa92 | |||
| b423b7be5b | |||
| 619264ed6e | |||
| 18c806a0a9 | |||
| 676ffa790e | |||
| ee1c762694 |
11
README.md
Normal file
11
README.md
Normal 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
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
mtime: 1765825903
|
||||
commit: 617a914287551baee7bac9b09e730f1a983e3ba4ac4924210fbcde5e7720673e
|
||||
url: https://src.opensuse.org/sbradnick/ms-gsl
|
||||
revision: main
|
||||
3
_service
Normal file
3
_service
Normal file
@@ -0,0 +1,3 @@
|
||||
<services>
|
||||
<service name="download_files" mode="manual" />
|
||||
</services>
|
||||
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c04d0588ab58d10b9a375c88ec1968ae7062d55aebc84227e6ed47ab60ffeaf
|
||||
size 296
|
||||
@@ -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
BIN
ms-gsl-4.2.1.tar.gz
LFS
Normal file
Binary file not shown.
@@ -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>
|
||||
|
||||
|
||||
15
ms-gsl.spec
15
ms-gsl.spec
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user