1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 12:43:52 +00:00

534 Commits

Author SHA1 Message Date
Henry Fredrick Schreiner
b80a0046fc GCC 4.7 can't tell a function from a string. Separated and fixed. 2018-05-03 18:30:59 +02:00
Henry Fredrick Schreiner
e7483afc41 Adding functional form of Type printout 2018-05-03 18:30:59 +02:00
Henry Fredrick Schreiner
2b6b62c52c Adding smart validators 2018-05-03 17:04:13 +02:00
Henry Schreiner
3917b1ab59
Sets by reference (#114)
* Adding const & access to sets

* Adding set reference option

* One missing line in coverage
2018-05-02 16:06:20 +02:00
Henry Fredrick Schreiner
af2ed66d6e Just use Formatter
Removing OptionFormatter

Rename files

Rename to just Formatter

Remove OptionFormatMode (just needs a bool)

Renaming option functions on formatter
2018-04-30 08:17:31 -04:00
Henry Fredrick Schreiner
952f2913e3 First attempt at formatter (app and option)
in progress: formatters

Getting closer

Working on apps

One test actually runs

All builds, added filter functions

Reverting a few behavours as needed

Repairs

All tests pass

Fixing error with adding help flag

Labels are simpler mappings, normalized setters

Adding help_all

Adding a few more tests

One more line tested

Adding one more check

Adding to readme

Simplify naming

Adding default constructors

Fixing spacing issues with subcommand all printout

Adding a couple of tests
2018-04-30 08:17:31 -04:00
Henry Schreiner
bc61342d8e
Removing requires (#112) 2018-04-25 18:33:43 -04:00
Henry Fredrick Schreiner
7a6cd04ec4 Bump version to 1.5.3 2018-04-19 12:52:20 +02:00
Henry Schreiner
12858075f7 Fixing CUDA NVCC 7.0 2018-04-19 04:58:15 -04:00
Henry Schreiner
2d6581a394 Boost Optional before 1.58 is too buggy to support 2018-04-18 18:11:11 -04:00
Henry Schreiner
5591977764 Fix for forced boost addition in testing 2018-04-18 17:30:50 -04:00
Henry Fredrick Schreiner
177f40a17c Dropping optimization for thread local (breaks XCode 7 support) 2018-04-18 13:59:02 +02:00
Henry Fredrick Schreiner
bd890e24a1 A few more explicit constructors 2018-04-13 14:15:09 +02:00
Henry Schreiner
b23275358a
Adding nicer header with LICENSE to single file version (#107)
* Adding nicer header with LICENSE to single file version

* Adding badges

* Clean up sh files

* Adding explicit in a few places

* More fixes from codacy
2018-04-13 14:07:32 +02:00
Henry Fredrick Schreiner
165c6a1e9d Preparing for version 1.5.1 2018-04-12 09:00:07 +02:00
Lucas Czech
fc8eef3ae1 Keep original group order 2018-04-12 08:58:20 +02:00
Henry Fredrick Schreiner
067bb43a84 Adding REQUIRED and Needs, using simple name more often 2018-04-12 08:34:22 +02:00
Henry Fredrick Schreiner
c63288a91c Adding set_name and support for names to app 2018-04-11 22:18:22 +02:00
Henry Fredrick Schreiner
8e650c3873 Adding two required functions 2018-04-11 22:18:22 +02:00
Henry Fredrick Schreiner
9d41ddef83 Better mixing of positionals and unlimited options (#102) 2018-04-10 14:18:00 +02:00
Henry Fredrick Schreiner
826a2784b3 Preparing for version 1.5 2018-04-09 13:56:45 +02:00
Henry Fredrick Schreiner
8f1215873c Allow -- to end unlimited options 2018-04-09 13:55:53 +02:00
Stéphane Del Pino
4f6bbba317 Added missing virtual App::~App() (#98)
* Added missing virtual App::~App()

* fixed destructor style
2018-04-08 13:40:30 +02:00
Henry Fredrick Schreiner
5d9a5636bc Removing enum conversion 2018-04-07 06:58:21 +02:00
Henry Fredrick Schreiner
ef2d497fcb Removing unneeded string qualifier 2018-04-06 20:33:55 +02:00
Henry Fredrick Schreiner
e6f508dc14 Fix for redefinition warning 2018-04-05 13:13:51 +02:00
Henry Fredrick Schreiner
f059528559 Support for multi-size MultiOptionPolicies 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
447bda047f Adding size instead of expected + unchangable 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
de06d50f34 Adding better boost testing on old compilers 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
67c4eb71e5 Style and typo fix 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
17437921c0 Adding more informational printouts 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
39e777392d Adding informational printout to ctest 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
43ec307781 Better message about optional test, warning suppression 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
48cb5008bf Adding better optional, check for Boost 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
7a7064df4e Adding optional, refactor single file 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
368f2cd9a6 Fix for deprecated macro 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
11444a4e3a Updates to macros 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
4d695b04fa Style fix 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
ae3b5a69c7 Fix for non-cleared static stream in some cases 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
db202b831e Factoring out C++ version check to Macros file 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
bea833bbcd Adding and fixing more warnings 2018-03-26 11:48:23 +02:00
Henry Fredrick Schreiner
268c26ad62 Fix #64 by auto-adding symmetric excludes 2018-03-26 10:56:08 +02:00
Henry Fredrick Schreiner
aa7c01ff5d Adding test and fix for #90 2018-03-25 17:56:46 +02:00
Henry Schreiner
446524687a
Adding potential fix for a warning (#85) 2018-03-10 12:40:57 +01:00
Henry Fredrick Schreiner
0aaf52a6fc Preparing version 1.4.0 2018-03-10 09:53:04 +01:00
Henry Schreiner
79a1847605
Overflow (#84)
* Overflowing an integer conversion now results in a conversion failure

* CMake improvements for VERSION and inital packing support

* Fix for recent addition of overflow check

* Conan file now gets version from Version.hpp file too
2018-03-10 09:50:25 +01:00
Anton
15f9a4f128 Add check if lexical_cast fully consumed input on integer conversion (#68)
* Split signed/unsigned parsing, add check if input is fully consumed, improve tests

* Fix complex numbers parsing

* Add check if input is fully consumed for double lexical_cast, improve tests

* Add non-num non-string lexical_cast for parsable types, add tests

* Style fixes from check-style

* Some small fixes for corner case tests
2018-03-09 13:01:19 +01:00
Henry Schreiner
5186158442
Rename requires to needs (#82)
* Adding fix for #75, rename requires to needs

* Removing check for install commands (should still be run in subproject)
2018-03-08 11:48:40 +01:00
Jonas Nilsson
d465414455 Issue 70 (#80)
* Support for unused (un-defined) extras in ini-files.

* Fixed extra options in INI files to be closer to that of extra CLI arguments.

* Fixed formatting.

* Minor formatting fix.

* Fixing style

* Fixed INHERITABLE and other minor things.
2018-02-16 13:58:47 +01:00
recklesstodd
4e62a0a980 #76 | Remove "is required" string passed as an argument to RequiredError() constructor to avoid double printing.
The string "is required" is already added internally by RequiredError() class.
2018-02-12 07:27:51 +01:00