Stephen Shelton
2e75e03434
Remove incomplete impl of config hot-reloading
5 years ago
Stephen Shelton
6301fefd43
Add router-specific config comments
5 years ago
Stephen Shelton
5b520a4dff
Simplify connection limit constants
5 years ago
Stephen Shelton
14e7789847
Add padding to config file generated output
5 years ago
Stephen Shelton
1273f11ce8
First pass at updating comments to lokinet config
5 years ago
Stephen Shelton
18ee23c2a3
Support for comments in config definition
5 years ago
Stephen Shelton
1653b73ee5
Clean up the logic around generating default confs
5 years ago
Stephen Shelton
c5ff672c79
Use 'undeclared handler' for multi-valued 'add-node' config option
5 years ago
Stephen Shelton
feacde7864
Hook up 'undeclared handlers' to mop up loosely-structured INI values
5 years ago
Stephen Shelton
9a1b7b20de
Add "undeclared value" handler to Configuration
5 years ago
Stephen Shelton
e9708a5d1c
Add split(string_view, char) util function
5 years ago
Stephen Shelton
ffc58fcedb
Remove dead code (serverOptions)
5 years ago
Stephen Shelton
2e47262350
Demystify LinksConfig
5 years ago
Stephen Shelton
cd1e7713de
Clean up / consolidate config logging logic
5 years ago
Stephen Shelton
4c00c6238e
Join config definition and config parser
5 years ago
Stephen Shelton
653a650cf9
Fix typo
5 years ago
Stephen Shelton
9f0ae43149
Remove dead code
5 years ago
Stephen Shelton
d82f5e6b93
First pass at replacing config value logic
5 years ago
Stephen Shelton
a44eb73baa
Add config INI output unit tests
5 years ago
Stephen Shelton
69331f1571
Remove multiValued as an argument to ConfigDefinition
5 years ago
Stephen Shelton
f6d000838f
Clarity and convenience for defining config options
5 years ago
Stephen Shelton
02e31f3867
Introduce acceptor function in ConfigDefinition
5 years ago
Stephen Shelton
60d0bf2a9b
Rename function for clarity
5 years ago
Stephen Shelton
8160c13458
More documentation around Configuration/ConfigDefinition
5 years ago
Stephen Shelton
8352de7bd4
Config documentation, clarity
5 years ago
Stephen Shelton
d9340a873e
Consolidate Configuration generate INI functions
5 years ago
Stephen Shelton
1b19314278
Implement Configuration::generateDefaultConfig(), maintain insertion order
5 years ago
Stephen Shelton
7dacc30862
Conveience and clarity around config definiton maps
5 years ago
Stephen Shelton
105dd30fd9
More ConfigDefinition unit tests, fixes, support std::string as type
5 years ago
Stephen Shelton
25212b929c
Add ConfigDefinition unit tests, fixes
5 years ago
Stephen Shelton
a856e772c8
Stylistic clean up
5 years ago
Stephen Shelton
0fb888890f
First pass at Configuration definition classes
5 years ago
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.
5 years ago
Stephen Shelton
858e252820
Add stringify() to util/str
5 years ago
Stephen Shelton
ca67c12928
Why template when we only use one type??
5 years ago
Jeff
30d0eb5bab
Merge pull request #1215 from notlesh/update-clang-format-rules-2020-04-02
...
Update clang format rules
5 years ago
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.
5 years ago
Stephen Shelton
30e7c7f828
Bump clang-format version 8 -> 9
5 years ago
Stephen Shelton
9c68fa7316
Clang-format changes to pointer/reference positioning
5 years ago
Stephen Shelton
95ec728079
More clang-format updates to parameter/argument lists
5 years ago
Stephen Shelton
205549a1c3
Update (mostly loosen) clang-format rules
5 years ago
Stephen Shelton
dba9ffe061
Add 'clang-format-hooks' submodule
...
This submodule provides git hooks which invoke clang-format
in intelligent ways.
5 years ago
Jeff
d9160cc0df
Merge pull request #1197 from majestrate/code-docs-2020-03-26
...
infrastructure for generating docs
5 years ago
Jeff Becker
4375df2f7d
add forgotten files for generating docs
5 years ago
Jeff Becker
83b418b636
make fresh docs every time
5 years ago
Jeff Becker
08613cca0b
speed up doc generation
5 years ago
Jeff Becker
c36b6a409c
move version to cmake so docs can access it
5 years ago
Jeff Becker
3d20105646
cleanup unused files and add doc target in wrapper makefile
5 years ago
Jeff Becker
0e51289228
speed up generation
5 years ago
Jeff Becker
53f0dd49e0
move file
5 years ago