7 Commits

Author SHA256 Message Date
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
5 changed files with 83 additions and 7 deletions

3
_service Normal file
View File

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

View File

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

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

Binary file not shown.

View File

@@ -1,3 +1,72 @@
-------------------------------------------------------------------
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,7 +17,7 @@
Name: ms-gsl
Version: 4.0.0
Version: 4.2.0
Release: 0
Summary: Guidelines Support Library
License: MIT
@@ -51,13 +51,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