Henry Fredrick Schreiner
a63609102a
Support empty lambdas
2018-06-27 18:58:16 +02:00
Henry Fredrick Schreiner
b453aebab9
Fixing one warning, adding to CHANGELOG
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
85aa0e7813
Dropping last (required) usages of clear
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
bf4ad1d717
Fixing error in setting args after parsing (broken test fixed)
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
8635c4d0eb
Dropping reset in favor of clear
2018-06-27 12:26:03 +02:00
Henry Fredrick Schreiner
3cb75b903e
Correcting the logic for sized types in vectors
2018-06-26 18:15:17 +02:00
Henry Fredrick Schreiner
70587c3a55
Moving to_flag to base class
2018-06-25 19:25:19 +02:00
Henry Schreiner
76f1b7bdf2
Rename inijoin to ini_join ( #137 )
2018-06-23 21:48:20 +02:00
Henry Fredrick Schreiner
98b31d788b
Adding tests and deprecation messages
2018-06-18 15:13:59 +02:00
Henry Fredrick Schreiner
b2e471ac4d
Removing set_ for failure_message, footer, name, and callback
2018-06-18 15:13:59 +02:00
Henry Schreiner
bf2bc39c30
Rename to set_* on options and add return this
...
Now use type_name and type_size instead of set_custom_option.
2018-06-18 15:13:59 +02:00
Henry Fredrick Schreiner
6f41cca918
Simpler check for optional
2018-06-13 15:56:03 +02:00
Henry Fredrick Schreiner
189546b82a
Bump version to 1.5.4
2018-06-01 22:41:25 +02:00
Henry Fredrick Schreiner
87494a2270
Allow Optional search to be disabled by user
2018-06-01 22:41:25 +02:00
Henry Fredrick Schreiner
dab61c0107
Fix for single file include order
2018-06-01 22:41:25 +02:00
Sean Fisk
225492f6f2
Add virtual destructor to Config class
...
Clang++/LLVM 6.0 complains about this from warning
-Wdelete-non-virtual-dtor which is included when using -Wall.
Both App and FormatterBase already have virtual destructors, so this
was probably just accidentally left out.
This is also a C++ best practice; I have drawn some guidelines from
here: http://www.gotw.ca/publications/mill18.htm
2018-05-24 20:02:13 +00:00
Henry Fredrick Schreiner
a323d7b444
Refactor group formatting a little
2018-05-22 14:07:20 +02:00
Henry Fredrick Schreiner
9b54b6e0fe
Undef error macros at end of file
2018-05-18 10:45:30 +02:00
Marcus Brinkmann
db8ccf8afe
Add const to argv argument of App::parse
2018-05-15 23:02:11 +02:00
Henry Fredrick Schreiner
47d5ed1453
Adding each()
2018-05-10 18:49:38 +02:00
Henry Fredrick Schreiner
e8b45de6ec
Dropping a few lines
2018-05-10 18:49:38 +02:00
Henry Fredrick Schreiner
d46c2c5727
Adding Config class
2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
0d9a33d4ca
Adding access to current formatter, using shared pointer to link all formatters
2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
aac957507d
Adding short_circuit to simplify parse procedure
2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
101d847c29
Use filter fn to simplify, sort includes
2018-05-06 18:36:33 +02:00
Henry Fredrick Schreiner
3ff6fcae4e
Dropping unneeded static keywords
2018-05-04 16:25:16 +02:00
Henry Fredrick Schreiner
88521b58f8
Adding a few tools to make manual validation easier
2018-05-04 15:55:24 +02:00
Henry Fredrick Schreiner
f785046da6
Rename typeval to type_name to match API
2018-05-04 10:25:01 +02:00
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