------------------------------------------------------------------- Sat Jan 7 14:41:10 UTC 2023 - Haochuan Chen - Update to version 2.3.2: * Bugfix: Consistently use ADL for lexical_cast, making it easier to extend for custom template types #820 * Bugfix: Tweak the parsing of files for flags with disable_flag_override #800] * Bugfix: Handle out of bounds long long #807 * Bugfix: Spacing of make_description min option output #808 * Bugfix: Print last parsed subcommand's help message #822 * Bugfix: Avoid floating point warning in GCC 12 #803 * Bugfix: Fix a few gcc warnings #813 * Backend: Max CMake tested 3.22 -> 3.24 #823 - Update to version 2.3.1: * Bugfix: App::get_option_group implementation missing #793 * Bugfix: Fix spacing when setting an empty footer #796 * Bugfix: Address Klocwork static analysis checking issues #785 ------------------------------------------------------------------- Mon Oct 24 09:57:11 UTC 2022 - Haochuan Chen - Disable tests for %{?sle_version} <= 150300 due to possible issues of old cmake versions ------------------------------------------------------------------- Mon Oct 24 09:23:09 UTC 2022 - Haochuan Chen - Although the pre-compiled mode has been introduced upstream, it is still not able to build shared libs, so CLI11_PRECOMPILED is default to be disabled. The package is then still header-only, and the build architecture is changed to noarch. - Tests are enabled during building. - Upstream changes: update to version 2.3.0 * Add CLI11_PRECOMPILED as an option. #762 * Bugfix: Include in FormatterFwd #727 * Bugfix: Add missing Macros.hpp to Error.hpp #755 * Bugfix: Fix subcommand callback trigger #733 * Bugfix: Variable rename to avoid warning #734 * Bugfix: split_program_name single file name error #740 * Bugfix: Better support for min/max overrides on MSVC #741 * Bugfix: Support MSVC 2022 #748 * Bugfix: Support negated flag in config file #775 * Bugfix: Better errors for some confusing config file situations #781 * Backend: Restore coverage testing (lost with Travis CI) #747 ------------------------------------------------------------------- Wed Apr 13 14:13:43 UTC 2022 - Haochuan Chen - Update to version 2.2.0 * Add `MultiOptionPolicy::Sum` and refactor the `add_flag` to fix a bug when using `std::optional` as type. * Add support for an empty vector result in TOML and as a default string. * Add `.validate_optional_arguments()` to support discriminating positional arguments from vector option arguments. * Add `CLI::FileOnDefaultPath` to check for files on a specified default path. * Change default value display in help messages from `=XXXX` to `[XXXXX]` to make it clearer. * Modify the Range Validator to support additional types and clean up the error output. * Bugfix: The trigger on parse modifier did not work on positional argument.s * Bugfix: The single header file generation was missing custom namespace generation. * Bugfix: Clean up File Error handling in the argument processing. * Bugfix: Fix a stack overflow error if nameless commands had fallthrough. * Bugfix: A subcommand callback could be executed multiple times if it was a member of an option group. * Bugfix: Fix an issue with vectors of multi argument types where partial argument sets did not result in an error. * Bugfix: Fix an issue with type the template matching on C++20 and add some CI builds for C++20. * Bugfix: Fix typo in C++20 detection on MSVC. * Bugfix: An issue where the detection of RTTI being disabled on certain MSVC platforms did not disable the use of dynamic cast calls. * Bugfix: Resolve strict-overflow warning on some GCC compilers. * Backend: Add additional tests concerning the use of aliases for option groups in config files. * Build: Add support for testing in meson and cleanup symbolic link generation. * Build: Support building in WebAssembly. ------------------------------------------------------------------- Mon Nov 22 15:00:24 UTC 2021 - Haochuan Chen - Build doc package - Include pkgconfig file - Disable the build of examples - Change the directory of cmake files to %{_datadir}/cmake - Use the upstream name for source and building, and keep the package name lowercase - Update to version 2.1.2 * Use main for the main branch of the repository * Bugfix(cmake): Enforce at least C++11 when using CMake target * Build: Don't run doxygen and CTest includes if a submodule * Build: Avoid a warning on CMake 3.22 * Build: Support compiling the tests with an external copy of Catch2 ------------------------------------------------------------------- Thu Oct 8 13:17:31 UTC 2020 - Jan Engelhardt - Trim conjecture from description and supply actual limits. ------------------------------------------------------------------- Fri Sep 25 09:59:06 UTC 2020 - Nicolas Morey-Chaisemartin - Initial import of CLI11 1.9.1