Thomas Winget
7caa87862e
standardize include format and pragma once
...
All #ifndef guards on headers have been removed, I think,
in favor of #pragma once
Headers are now included as `#include "filename"` if the included file
resides in the same directory as the file including it, or any
subdirectory therein. Otherwise they are included as
`#include <project/top/dir/relative/path/filename>`
The above does not include system/os headers.
2021-03-09 19:01:41 -05: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
Jeff Becker
c010bf05a6
use correct format string
2019-12-07 15:05:07 -05:00
Jeff Becker
f56e543d75
add deadlock checker and revert bencode change from long ago
2019-12-07 14:58:19 -05:00
Stephen Shelton
66a058a2af
Make format
2019-12-06 10:13:09 -07:00
Stephen Shelton
1666498405
Replace bencode_write_version_entry with a more general-purpose function for writing bencoded dictionary entries
2019-11-22 10:39:35 -07:00
Jeff Becker
bdb0b847f8
seek for version and set it before deserializing
2019-11-03 10:31:01 -05:00
Michael
1aec0dfa2b
Move logging to subdirectory
2019-09-03 20:52:27 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Michael
7ca0927d8f
Replace dict_reader/list_reader with version which doesn't involve indirection
2019-05-22 01:36:03 +01:00
Jeff
5834607997
* don't ban bootstrap nodes with profiling
...
* less vigorous profiling timeouts
* async remove rc from disk
2019-04-14 07:25:15 -04:00
Rick V
d887004d99
fix warning
2019-04-11 11:32:10 -05:00
Jeff Becker
bfcaaa87be
check for empty buffer
2019-03-28 10:32:15 -04:00
Rick V
e94d1ebb4f
combine these
2019-02-25 17:35:37 -06:00
Michael
4fb2b39f74
Format changes
2019-02-22 17:18:54 +00:00
Michael
c6e6bdb90f
Fix for windows just being the Worst
2019-02-20 22:09:29 +00:00
Michael
de13ab3adc
Fix warning in bencode
2019-02-20 22:05:40 +00:00
Ryan Tharp
547cf96606
make macos 10.12 happy
2019-02-20 05:46:23 -08:00
Ryan Tharp
2b433f046d
Oh it was a typo
2019-02-19 16:13:16 -08:00
Ryan Tharp
8e000c8321
linux gcc 7.3 support
2019-02-19 16:10:19 -08:00
Ryan Tharp
f06b275193
make macos happy
2019-02-19 16:03:20 -08:00
Rick V
0f45e286ff
XXX: the inline string_view constructors *should* be harmless on pre-C++17 platforms...
...
fix windows build
2019-02-18 17:50:04 -06:00
Ryan Tharp
8e51d3a491
fix linux gcc 7.3 error (warning)
2019-02-18 09:39:18 +00:00
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
2019-02-17 13:09:48 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
2019-01-10 20:07:24 +00:00