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
105dd30fd9
More ConfigDefinition unit tests, fixes, support std::string as type
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
Stephen Shelton
9d71228e74
Replace config visit pattern with explicit lookups
...
This is an initial pass at doing explicit value checks when handling
config parsing, as opposed to using a visiting pattern. The latter
made it difficult to check for conditions such as missing required
values, multiple values, etc.
It was also generally less readable (think declarative) which further
made it difficult to get a grasp for what our actual configuration file
requirements were.
2020-04-07 14:01:40 -06:00
Stephen Shelton
858e252820
Add stringify() to util/str
2020-04-07 13:56:04 -06:00
Stephen Shelton
ca67c12928
Why template when we only use one type??
2020-04-07 13:56:01 -06:00
Jeff
30d0eb5bab
Merge pull request #1215 from notlesh/update-clang-format-rules-2020-04-02
...
Update clang format rules
2020-04-07 14:43:55 -04:00
Stephen Shelton
273270916e
The Great Wall of Blame
...
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.
Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00
Stephen Shelton
30e7c7f828
Bump clang-format version 8 -> 9
2020-04-07 12:36:43 -06:00
Stephen Shelton
9c68fa7316
Clang-format changes to pointer/reference positioning
2020-04-07 12:36:43 -06:00
Stephen Shelton
95ec728079
More clang-format updates to parameter/argument lists
2020-04-07 12:36:42 -06:00
Stephen Shelton
205549a1c3
Update (mostly loosen) clang-format rules
2020-04-07 12:36:42 -06:00
Stephen Shelton
dba9ffe061
Add 'clang-format-hooks' submodule
...
This submodule provides git hooks which invoke clang-format
in intelligent ways.
2020-04-07 12:36:40 -06:00
Jeff
d9160cc0df
Merge pull request #1197 from majestrate/code-docs-2020-03-26
...
infrastructure for generating docs
2020-04-07 13:35:14 -04:00
Jeff Becker
4375df2f7d
add forgotten files for generating docs
2020-04-07 13:16:22 -04:00
Jeff Becker
83b418b636
make fresh docs every time
2020-04-07 13:16:22 -04:00
Jeff Becker
08613cca0b
speed up doc generation
2020-04-07 13:16:22 -04:00
Jeff Becker
c36b6a409c
move version to cmake so docs can access it
2020-04-07 13:16:22 -04:00
Jeff Becker
3d20105646
cleanup unused files and add doc target in wrapper makefile
2020-04-07 13:16:22 -04:00
Jeff Becker
0e51289228
speed up generation
2020-04-07 13:16:22 -04:00
Jeff Becker
53f0dd49e0
move file
2020-04-07 13:16:22 -04:00
Jeff Becker
00814d1a12
update cmake
2020-04-07 13:16:22 -04:00
Jeff Becker
3e7acb72e1
more docs, make doxygen work
2020-04-07 13:16:22 -04:00
Jeff Becker
1227ad3ac0
add snapp options documentation
2020-04-07 13:15:47 -04:00
Jeff Becker
20c65ac6a4
more docs
2020-04-07 13:15:47 -04:00
Jeff Becker
938c8c735e
add initial high level code docs
2020-04-07 13:15:46 -04:00
Jeff
d3091cf9fc
Merge pull request #1167 from tewinget/tooling
...
RouterHive initial PR
2020-04-07 13:13:02 -04:00
Jason Rhinelander
5cc48048f1
Merge pull request #1218 from majestrate/macos-ci-build-fixes-2020-04-06
...
make apple builds build for older versions and embrace the bitrot
2020-04-06 23:54:15 -03:00
Jeff Becker
aaae6f1ba9
tinker with release scripts to hopefully appease the apple gods.
2020-04-06 10:06:36 -04:00
Jeff Becker
7455a1956d
make apple builds build for older versions and embrace the bitrot
2020-04-06 08:44:35 -04:00
Jeff
d3d3f0eac0
Merge pull request #1214 from majestrate/macos-cpack-fixes-2020-04-03
...
turn off optimizations for releases on macos
2020-04-03 13:06:55 -04:00
Jeff Becker
1e5a81846e
turn off optimizations for releases
2020-04-03 13:04:41 -04:00
Jeff
d70e8b6d5e
Merge pull request #1213 from majestrate/macos-cpack-fixes-2020-04-03
...
make cpack generate macos pkg files
2020-04-03 10:50:28 -04:00
Jeff Becker
7d8101e177
static link on macos
2020-04-03 10:25:24 -04:00
Jeff Becker
ab676c0c24
make gitlab mac runner poop out mac pkg builds too
2020-04-03 10:22:51 -04:00
Jeff Becker
69415fe09f
remove god awful "packaging" cruft that is no longer used.
2020-04-03 10:15:08 -04:00
Jeff Becker
9428689939
fix up cpack for macos
2020-04-03 10:14:19 -04:00
Jeff
2caf807fc0
Merge pull request #1212 from majestrate/fix-gitlab-ci-2020-04-02
...
use 64 bit windows target for now
2020-04-03 08:04:48 -04:00
Jeff Becker
b4a96c6375
use 64 bit windows target for now
2020-04-03 08:03:41 -04:00
Jeff
78b0739bc0
Merge pull request #1211 from majestrate/fix-gitlab-ci-2020-04-02
...
fix gitlab tag (again)
2020-04-02 12:44:05 -04:00