Stephen Shelton
|
f96fded525
|
Use more user-friendly error messages in config
|
2020-05-04 09:42:38 -06:00 |
|
Jason Rhinelander
|
5cf2126bb9
|
make format
|
2020-05-01 19:25:32 -03:00 |
|
Jason Rhinelander
|
1697bf90fe
|
C++17
Compiles with C++17, replaces ghc::filesystem with std::filesystem,
nonstd::optional with std::optional, and llarp::string_view with
std::string_view.
|
2020-05-01 17:43:27 -03:00 |
|
Stephen Shelton
|
320564d792
|
Specialize ConfigOption for bool to accept "truthy" / "falsy" values
|
2020-04-29 12:32:07 -06:00 |
|
Stephen Shelton
|
936fbb2424
|
Fix config not falling back to undeclared handler for missing option
|
2020-04-29 09:41:07 -06:00 |
|
Stephen Shelton
|
de8e44ba21
|
Re-apply clang-format rules after rebasing
|
2020-04-07 14:41:11 -06:00 |
|
Stephen Shelton
|
0a9515a94a
|
Proper support for multiple values @ ConfigDefinition
|
2020-04-07 14:25:20 -06:00 |
|
Stephen Shelton
|
3739fc1d70
|
Reinstate multi-valued option
|
2020-04-07 14:24:50 -06:00 |
|
Stephen Shelton
|
a6787657be
|
Refactor config comments to take list of strings
|
2020-04-07 14:24:49 -06:00 |
|
Stephen Shelton
|
a8671cf9c7
|
Rename config classes for clarity
ConfigDefinition -> OptionDefiniton
Configuration -> ConfigDefinition
|
2020-04-07 14:24:49 -06:00 |
|
Stephen Shelton
|
14e7789847
|
Add padding to config file generated output
|
2020-04-07 14:12:31 -06:00 |
|
Stephen Shelton
|
18ee23c2a3
|
Support for comments in config definition
|
2020-04-07 14:11:58 -06:00 |
|
Stephen Shelton
|
9a1b7b20de
|
Add "undeclared value" handler to Configuration
|
2020-04-07 14:09:14 -06:00 |
|
Stephen Shelton
|
69331f1571
|
Remove multiValued as an argument to ConfigDefinition
|
2020-04-07 14:01:45 -06:00 |
|
Stephen Shelton
|
f6d000838f
|
Clarity and convenience for defining config options
|
2020-04-07 14:01:45 -06:00 |
|
Stephen Shelton
|
02e31f3867
|
Introduce acceptor function in ConfigDefinition
|
2020-04-07 14:01:44 -06:00 |
|
Stephen Shelton
|
60d0bf2a9b
|
Rename function for clarity
|
2020-04-07 14:01:44 -06:00 |
|
Stephen Shelton
|
8160c13458
|
More documentation around Configuration/ConfigDefinition
|
2020-04-07 14:01:44 -06:00 |
|
Stephen Shelton
|
8352de7bd4
|
Config documentation, clarity
|
2020-04-07 14:01:43 -06:00 |
|
Stephen Shelton
|
d9340a873e
|
Consolidate Configuration generate INI functions
|
2020-04-07 14:01:43 -06:00 |
|
Stephen Shelton
|
1b19314278
|
Implement Configuration::generateDefaultConfig(), maintain insertion order
|
2020-04-07 14:01:43 -06:00 |
|
Stephen Shelton
|
7dacc30862
|
Conveience and clarity around config definiton maps
|
2020-04-07 14:01:42 -06:00 |
|
Stephen Shelton
|
25212b929c
|
Add ConfigDefinition unit tests, fixes
|
2020-04-07 14:01:41 -06:00 |
|
Stephen Shelton
|
a856e772c8
|
Stylistic clean up
|
2020-04-07 14:01:41 -06:00 |
|
Stephen Shelton
|
0fb888890f
|
First pass at Configuration definition classes
|
2020-04-07 14:01:41 -06:00 |
|