From 436fd7bbc88d5fc7c967d94bc5992329a07f50e2 Mon Sep 17 00:00:00 2001 From: Thomas Hahn Date: Thu, 16 May 2024 08:03:13 -0400 Subject: [PATCH 1/2] [doc] Update changelog for 1.3 release --- doc/ChangeLog.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/ChangeLog.md b/doc/ChangeLog.md index a3b4f91..e1ce645 100644 --- a/doc/ChangeLog.md +++ b/doc/ChangeLog.md @@ -1,5 +1,32 @@ @page changelog Changelog +## Version 1.3.0 + +This is Version 1.3.0 of Itertools, a single-header library for adapting C++ ranges. + +We thank all contributors: Thomas Hahn, Alexander Hampel, Henri Menke, Nils Wentzell + +Find below an itemized list of changes in this release. + +### General +* Clean up detail namespace to consistently contain implementation details +* Improve test coverage and clean up tests +* Split itertools.hpp into multiple header files +* Remove unused zip_with function +* Fix for combination of product and stride +* Fix strided range and add corresponding test + +### doc +* Add documentation to the C++ source code files +* Remove any sphinx related files and switch to doxygen to generate documentation +* Build and deploy documentation with GitHub Actions + +### cmake +* Remove python and cpp2py dependencies +* Use GNUInstallDirs in install commands +* Set policy CMP0144 to new + + ## Version 1.2.0 This is Version 1.2.0 of Itertools, a single-header library for adapting C++ ranges. From 4f92629a23b9bf08562add0d68e766155b17f9fe Mon Sep 17 00:00:00 2001 From: gen_copyright Date: Thu, 16 May 2024 08:20:54 -0400 Subject: [PATCH 2/2] Regenerate Apache copyright headers --- CMakeLists.txt | 2 +- c++/itertools/enumerate.hpp | 4 ++-- c++/itertools/iterator_facade.hpp | 4 ++-- c++/itertools/itertools.hpp | 4 ++-- c++/itertools/omp_chunk.hpp | 4 ++-- c++/itertools/product.hpp | 4 ++-- c++/itertools/range.hpp | 4 ++-- c++/itertools/sentinel.hpp | 4 ++-- c++/itertools/slice.hpp | 4 ++-- c++/itertools/stride.hpp | 4 ++-- c++/itertools/transform.hpp | 4 ++-- c++/itertools/utils.hpp | 4 ++-- c++/itertools/zip.hpp | 4 ++-- test/c++/itertools.cpp | 4 ++-- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 805d4cc..e79708b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2021 Simons Foundation +# Copyright (c) 2018-2024 Simons Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/c++/itertools/enumerate.hpp b/c++/itertools/enumerate.hpp index 1b505c7..57ec381 100644 --- a/c++/itertools/enumerate.hpp +++ b/c++/itertools/enumerate.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/iterator_facade.hpp b/c++/itertools/iterator_facade.hpp index d8978cd..83cc5f1 100644 --- a/c++/itertools/iterator_facade.hpp +++ b/c++/itertools/iterator_facade.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/itertools.hpp b/c++/itertools/itertools.hpp index 16dae73..689d46f 100644 --- a/c++/itertools/itertools.hpp +++ b/c++/itertools/itertools.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2019-2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/omp_chunk.hpp b/c++/itertools/omp_chunk.hpp index 4c75785..7eb5dc3 100644 --- a/c++/itertools/omp_chunk.hpp +++ b/c++/itertools/omp_chunk.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Simons Foundation +// Copyright (c) 2019-2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell /** * @file diff --git a/c++/itertools/product.hpp b/c++/itertools/product.hpp index b477808..e2fad1e 100644 --- a/c++/itertools/product.hpp +++ b/c++/itertools/product.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/range.hpp b/c++/itertools/range.hpp index 10ee272..a097e4c 100644 --- a/c++/itertools/range.hpp +++ b/c++/itertools/range.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/sentinel.hpp b/c++/itertools/sentinel.hpp index 3a5874e..8b2f7d6 100644 --- a/c++/itertools/sentinel.hpp +++ b/c++/itertools/sentinel.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/slice.hpp b/c++/itertools/slice.hpp index 9f01bf1..aee4ff5 100644 --- a/c++/itertools/slice.hpp +++ b/c++/itertools/slice.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/stride.hpp b/c++/itertools/stride.hpp index 9e4e18e..4640dd0 100644 --- a/c++/itertools/stride.hpp +++ b/c++/itertools/stride.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/transform.hpp b/c++/itertools/transform.hpp index 97ee548..525b19f 100644 --- a/c++/itertools/transform.hpp +++ b/c++/itertools/transform.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/utils.hpp b/c++/itertools/utils.hpp index 67984b1..ab51f17 100644 --- a/c++/itertools/utils.hpp +++ b/c++/itertools/utils.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/c++/itertools/zip.hpp b/c++/itertools/zip.hpp index 1e58797..84dc49c 100644 --- a/c++/itertools/zip.hpp +++ b/c++/itertools/zip.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 Simons Foundation +// Copyright (c) 2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Olivier Parcollet, Nils Wentzell, chuffa +// Authors: Thomas Hahn, Olivier Parcollet, Nils Wentzell, chuffa /** * @file diff --git a/test/c++/itertools.cpp b/test/c++/itertools.cpp index 8b1518b..50e1599 100644 --- a/test/c++/itertools.cpp +++ b/test/c++/itertools.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2022 Simons Foundation +// Copyright (c) 2020-2024 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// Authors: Nils Wentzell +// Authors: Thomas Hahn, Nils Wentzell #include #include