1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-02 21:53:51 +00:00

942 Commits

Author SHA1 Message Date
Henry Schreiner
5cb3efabce Bump to Version 1.9.1 v1.9.1 2020-06-20 10:29:27 -04:00
Henry Schreiner
3a06b2085a fix: add quotes (#471)
* fix: add quotes

* Update CMakeLists.txt

* Try 2

* fix: Support paths with spaces using @ZeeD26's suggestion
2020-06-20 10:26:18 -04:00
allcontributors[bot]
22a465a502 docs: add samhocevar as a contributor (#479)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-06-14 11:38:11 -04:00
Henry Schreiner
0c5420b0ce doc: changelog 2020-06-14 11:37:05 -04:00
Henry Schreiner
cccd478a6d doc: changelog 2020-06-14 11:34:26 -04:00
Sam Hocevar
3d5c3e0ab3 Fix internal header include paths. (#475)
* Fix internal header include paths.

The extra leading "CLI/" part of include directives prevents the inclusion
of CLI.hpp from a relative directory without an extra -I or /I compiler
directive.

* Fix single header generation script.

Files included with "" should be relative to the header file location first.
2020-06-14 11:33:04 -04:00
Henry Schreiner
04054ad1fa Update Azure 2020-06-01 23:00:20 -04:00
Henry Schreiner
b4bb084e38 Update changelog 2020-06-01 23:00:20 -04:00
Henry Schreiner
de117cf1e5 Updates for TrueFalse test 2020-06-01 23:00:20 -04:00
Henry Schreiner
5188ede219 📝 Add @certik as a contributor 2020-06-01 21:47:01 -04:00
Ondřej Čertík
ccb1ccaa0a Use e.get_name instead of dynamic_cast (#467)
* Use e.get_name instead of dynamic_cast

Also use std::static_pointer_cast instead of std::dynamic_pointer_cast

Fixes #466

* feat: Allow RTTI to be turned off

* ci: Fix CXX flags

* doc: Adding update to book

Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
2020-06-01 21:46:42 -04:00
Christoph Bachhuber
a8185bb499 Simplify clang tidy config file (#469)
* Update submodule

* Treat all enabled clang-tidy warnings as errors

* Revert "Update submodule"

This reverts commit b455d1d0f97df5ca816058fd78bcca882ab7a761.
2020-06-01 21:45:00 -04:00
Henry Schreiner
0cee321ef9 ci: Update GTest to master (#470)
* ci: Update googletest to fix windows error

* chore: Minor updates to CI versions
2020-06-01 21:44:23 -04:00
Philip Top
6f589b8443 fix issue with option defaults not propagating to option groups (#450) 2020-06-01 21:43:24 -04:00
Christoph Bachhuber
eb1150d6be Fix clang tidy (#451)
* Add already passing check

* Remove too modern clang-tidy-9 check
2020-06-01 21:42:53 -04:00
Philip Top
543e7f1577 try clang 10 (#459)
* try clang 10

* use helics-builder clang 10 image

* try new image

* try again

* try different flag addition

* try adding cpp20 to visual studio check

* try with the latest flag enabled for visual studio 2019

* try the correct c++ flag

* remove use of std::result_of

* format files
2020-06-01 21:42:44 -04:00
Philip Top
7e6ff84c69 fix for the cmake_config tests (#455) 2020-06-01 21:42:28 -04:00
Philip Top
023bf54282 Add windows latest and gcc 8 builds to azure (#446)
* add windows latest and gcc 8 builds to azure

* try adding pr trigger

* try adding something specific for gcc 8

* use interface instead of public

* try C++17 on clang 8

* update the readme with some additional notes about gcc 8

* fix some incorrect doxygen comment formatting

* try using the glibcxx_release value

* debug some code paths to make sure macros are working

* Update readme and fix formatting.

* update formatting for Validators
2020-06-01 21:42:08 -04:00
Christoph Bachhuber
d8a5bdc294
Add and fix cpplint whitespace/comments (#434)
* Add whitespace/comments check

* Adapt spacing in clang-format

* Fix cpplint whitespace/comments issues

* Grammar

* Do not use clang-format for comment spacing

* Fix with clang-format pre-commit hook
2020-03-06 00:04:59 -05:00
Henry Schreiner
ba68040e92 📝 Add @geir-t as a contributor 2020-02-17 14:03:09 +00:00
Henry Schreiner
42fd0434bb 📝 Add @jsoref as a contributor 2020-02-17 14:03:09 +00:00
geir-t
b974f81804
conan: Do not run tests when cross compiling (#430)
* conan: Do not run tests when cross compiling

Running conan create with a profile made for cross compiling would fail since the tests is not compiled for build OS

* Using suggestion from Conan docs

* conan: also add cross_building check in build step

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2020-02-17 14:02:45 +00:00
Christoph Bachhuber
80d8e942c5
Permanently remove cpplint's whitespace/indent check (#432) 2020-02-16 19:02:36 +01:00
Christoph Bachhuber
5ecb61599a
Add and fix cpplint readability/braces (#431)
* Add readability/braces check

* Fix cpplint readability/braces issues
2020-02-13 09:47:36 +01:00
Josh Soref
51a0efcbbc
Spelling (#429)
* spelling: argument

* spelling: conflicts

* spelling: correctly

* spelling: default

* spelling: description

* spelling: empty

* spelling: enum

* spelling: javascript

* spelling: modifying

* spelling: nonexistent

* spelling: plumbum

* spelling: programmatically

* spelling: received

* spelling: replaced

* spelling: required

* spelling: sanitizers

* spelling: semicolon

* spelling: source

* spelling: subcommands

* spelling: successful
2020-02-12 00:41:58 -05:00
Christoph Bachhuber
34bfa38691
Add copyright and copyright check (#424)
* Add copyright check

* Remove old license message

* Implement suggestions from code review
2020-02-10 14:28:47 -05:00
Henry Schreiner
b1d8285db3
Fixing appveyor by using Python 3 (#425) 2020-02-06 17:40:33 -05:00
Henry Schreiner
706b14fb14
Fix formatting 2020-01-31 13:56:15 -05:00
Henry Schreiner
63c928653b
Remove invalid comment
[skip ci]
2020-01-31 13:50:15 -05:00
Henry Schreiner
b5242611a5
Minor packaging cleanup 2020-01-31 13:49:16 -05:00
Henry Schreiner
9549c6287f
Clean up sdist creation (#422)
* Adding package to release

* Fix build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Cleaner, tigher packages

* Do not add package to release
2020-01-31 13:17:11 -05:00
Philip Top
ee851c7e88
String conversions (#421)
* add a variant of the string conversions for the default string operations.  Discriminate between the is_convertible and is_constructible type traits for object.

* update the test to test the different situations with the funny string like type
2020-01-31 07:49:40 -05:00
Philip Top
6b7f6a7480 Value initialization (#416)
* work on the flags book chapter and making sure the values are initialized properly.

* Fix initialization of values used in flags or options

* update some formatting and more brace initialization

* update more formatting and fix a incorrect initializer

* more formatting and some error fixes

* more formatting

* Small formatting fix

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2020-01-27 09:42:03 -06:00
Christoph Bachhuber
0c3020b9ef Add cpplint description (#415) 2020-01-26 14:02:14 -06:00
Christoph Bachhuber
88b0bc4d95 Add include_what_you_use to cpplint checks (#414)
* Add build/include_what_you_use to cpplint checks

* Fix all cpplint build/include_what_you_use issues
2020-01-26 14:01:54 -06:00
Christoph Bachhuber
ffe5b29e1f Add cstdint and std::prefix to its symbols (#409)
* Add cstdint and std::prefix to its symbols

* Use int64_t in std::
2020-01-21 18:24:40 -06:00
Henry Schreiner
828e09e55c
Add updated wandbox link 2020-01-20 21:44:44 -06:00
Henry Schreiner
dd0d8e4fe7
Bump version to 1.9.0 (#408)
* Bump version to 1.9.0

* Include CMake mention
v1.9.0
2020-01-19 17:00:53 -06:00
Christoph Bachhuber
6cc757f769 Fix includes in examples (#407)
* Fix includes in examples

* Fix order

* Align with other subcommand files

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2020-01-18 11:58:02 -05:00
Christoph Bachhuber
b856c0ba9c Add cpplint to CI (#400)
* Add cpplint config file

* Add cpplint to CI

* Add checks

* Add docker container tag

* Unindent container

As suggested in code review

Co-Authored-By: Henry Schreiner <HenrySchreinerIII@gmail.com>

* Fix cpplint issues

* Fix clang-format

* Include and fix modern cpplint runtime/int

* Include and fix cpplint build/include_order

* Revert "Include and fix cpplint build/include_order"

This reverts commit bddb6a2d6744c5397f387ccd03416a1ec5e29862.

* Update explanation, sort alphabetically

* Implement suggestion from code review

Co-Authored-By: Henry Schreiner <HenrySchreinerIII@gmail.com>

* Include cstdint header, prefix its symbols with std::

* Forgot std::

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2020-01-18 08:53:45 -05:00
allcontributors[bot]
93c90d1d93 docs: add jgerityneurala as a contributor (#406)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2020-01-15 20:59:22 -05:00
James Gerity
2aa377d016 Fix spelling of option_defaults() (#405) 2020-01-15 20:40:27 -05:00
Philip Top
e0c882ae3b Address issue #402 (#404)
* fix some typos in the book and clarify fallthrough on subcommands in the readme

* remove trailing whitespace
2020-01-15 20:38:04 -05:00
allcontributors[bot]
602df7581b docs: add KOLANICH as a contributor (#401)
* docs: update README.md

* docs: update .all-contributorsrc
2020-01-13 10:40:59 -05:00
KOLANICH
4903b698a9 Enhancements in building deb packages: (#399)
* Fixed building deb packages, broken because of lack contact field.
* Added some missing metadata.
* Set the name according to the convention.
2020-01-13 10:40:34 -05:00
Henry Schreiner
4b3a6b6214
Add std checking and try to fix filesystem being used on macOS 10.14 (#397)
* Add std checking and try to fix filesystem being used on macOS 10.14

* Adding extra check recommeded by @phlptp

* suppress  the double to int warning in msvc 2019 in the optional test

Co-authored-by: Philip Top <top1@llnl.gov>
2020-01-09 13:48:19 -05:00
allcontributors[bot]
a609605db5 docs: add slurps-mad-rips as a contributor (#395)
* docs: update README.md

* docs: update .all-contributorsrc
2020-01-09 09:54:32 -05:00
Henry Fredrick Schreiner
7f47f9926f Fix for install=off 2020-01-09 09:53:58 -05:00
Henry Schreiner
0cc8806ec5 fixup! CMake updates from @slurps-mad-rips 2020-01-09 09:53:58 -05:00
Henry Schreiner
a08e25ea7b Adding action check 2020-01-09 09:53:58 -05:00