Jeff Becker
74534c22b8
mark profile success on outbound connection success, add default case in metrics
2019-03-26 11:27:14 -04:00
Rick V
3c21db9316
lul
2019-03-25 23:38:57 +00:00
Michael
8f0f6dde9d
Include What You Use
2019-03-25 23:16:28 +00:00
Michael
f2c5d32399
Metric collection subsystem
2019-03-25 20:36:23 +00:00
Michael
acfff4ca5c
Threading structures for metrics
2019-03-25 20:36:23 +00:00
Rick V
ad966342d9
make windows happy
2019-03-18 16:12:42 -05:00
Jeff Becker
2218749134
Merge remote-tracking branch 'origin/staging' into staging
2019-03-07 17:58:29 -05:00
Jeff Becker
6a09348c47
today's work
2019-03-07 17:53:36 -05:00
Ryan Tharp
75c7c12502
fix linux gcc 7.3 issues, feeling like #include <condition_variable> should be in one of the threading headers tho
2019-03-07 21:45:37 +00:00
Jeff Becker
eceb55623c
more
2019-03-07 10:17:29 -05:00
Jeff
1a09a12ee0
Merge branch 'staging' into absl_mutex
2019-03-05 17:06:23 -05:00
Michael
61f3273dc4
Add threading annotations and fix potential deadlocks
2019-03-04 00:03:52 +00:00
Michael
c5a129ddff
Convert to use abseil synchronisation primitives
2019-03-03 21:20:38 +00:00
Michael
ab83d3d54e
Fixup build on debian
2019-03-03 21:17:03 +00:00
Michael
31441b46dc
Convert from rapidjson to use nlohmann::json
2019-03-02 02:32:50 +00:00
Ryan Tharp
6b763807e6
add missing include to make linux gcc 7.3 happy
2019-02-27 00:03:25 +00:00
Jeff
db504e8044
Merge pull request #354 from despair86/dev
...
regression fixes
2019-02-26 17:40:48 -05:00
Rick V
975b4ca743
clang-format
2019-02-26 15:48:03 -06:00
Rick V
d67eb40697
require full C++11 toolset for mingw-w64 (see loki-project/loki #441 )
2019-02-25 21:06:02 -06:00
Rick V
e94d1ebb4f
combine these
2019-02-25 17:35:37 -06:00
Rick V
f0ce9a0afb
try fixing threading bug
...
XXX: get jeff to go over threadpool code for overview
2019-02-25 16:15:01 -06:00
Michael
e4cf1f245c
Convert most of llarp to use Printer
2019-02-24 23:46:44 +00:00
Michael
e6e19369e9
Create Printer - A general-purpose, stateful printer class
2019-02-24 23:46:44 +00:00
Michael
95a5c386fe
Initial type trait work
2019-02-24 23:46:44 +00:00
Michael
b80ecfa4d6
Use string_view for string_view
2019-02-24 23:46:44 +00: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
4132f883a7
Make libabyss mandatory
2019-02-20 22:08:49 +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
Ryan Tharp
413843bab1
Merge branch 'staging' into dev
2019-02-19 14:10:35 -08:00
Rick V
5a3947ca5c
clang-format
2019-02-18 17:58:12 -06: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
f247a3623c
So lu on linux gcc 7.3 but llu everywhere else?
2019-02-18 02:13:42 -08:00
Ryan Tharp
25d00e2974
Merge remote-tracking branch 'origin/master'
2019-02-18 02:00:36 -08:00
Ryan Tharp
ad91071633
Fix undefined behaviors and misaligned member access
2019-02-18 01:59:33 -08:00
Ryan Tharp
8e51d3a491
fix linux gcc 7.3 error (warning)
2019-02-18 09:39:18 +00:00
Jeff
bbbad826ef
Merge pull request #316 from michael-loki:buffer_obj
...
Convert llarp_buffer_t to be a class with methods
2019-02-17 16:59:31 -05:00
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
2019-02-17 13:09:48 +00:00
Michael
a0125ffe86
Move abyss/json to llarp/util/json
2019-02-15 23:43:26 +00:00
Jeff Becker
b5a1637224
make shared lib compile
2019-02-15 17:55:52 -05:00
Michael
656843e9a3
Fix issues on debian
2019-02-12 01:19:38 +00:00
Ryan Tharp
d17383aba6
Merge branch 'cmake_refactor' of https://github.com/michael-loki/loki-network
2019-02-12 00:54:18 +00:00
Jeff
555711b70d
Merge pull request #303 from michael-loki/no_new
...
Replace usage of new/delete with unique_ptr/stack allocation
2019-02-11 13:38:06 -05:00
Jeff Becker
46222df421
refactor
2019-02-11 12:14:43 -05:00
Michael
67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation
2019-02-11 16:24:05 +00:00
Michael
057365d40c
Fix issues on debian
2019-02-11 00:02:20 +00:00
Jeff Becker
e1fceb3636
fix it (again)
2019-02-08 17:44:21 -05:00
Jeff Becker
66753430ad
fix it
2019-02-08 16:29:56 -05:00
Jeff Becker
e1522faeaa
add introspection rpc endpoint
2019-02-08 14:43:25 -05:00
Jeff Becker
faf8149502
make testnet ini files work
2019-02-07 09:35:02 -05:00
Jeff Becker
fae2b1a444
make it compile on debian and ubuntu
2019-02-07 07:31:14 -05:00
Jeff
1369c3b23c
Merge pull request #283 from despair86/dev
...
more windows fixes
2019-02-06 21:10:30 -05:00
Rick V
4c19f562f0
A compromise for C++17 ports.
...
Remove abseil build config for such targets.
Include headers (which should fall through by definition).
Macintosh can go fuck itself.
2019-02-06 19:53:15 -06:00
Rick V
72d0720da0
use c++17 stl on windows
...
While the absl:: namespace is aliased to std:: in a
standard win32 build, it also needlessly adds the
library to the build process, only to discard most
of it at link time. This also makes the distinction
between Abseil STL and G++ STL more explicit, to avoid
some forms of confusion.
From the product page:
"...We think not: if you look at the preprocessor conditional
structure in our string_view.h you'll see that we are trying
to identify whether your C++ installation has std::string_view.
If you do, absl::string_view is defined only as an alias to the
standard type. If you don't, you get a C++11/C++14 compatible
implementation of the type. This means you can adopt Abseil,
and for types we are b you can use the type from the absl
namespace. As soon as your project is built with the appropriate
compiler/standard library version, we'll fall away and leave you
with the standard type, albeit spelled funny. Better: as soon as
you know that your project will only build with the appropriate
language version you can run tools that we will provide to change
the places that refer to absl::string_view to spell it std::string_view
-- since those are the same type, this is safe to do, even across
API boundaries.
So, one reason you might want to adopt Abseil: early access to facilities
from upcoming C++ standard library releases, with a clear migration path."
2019-02-06 19:53:14 -06:00
Rick V
dd52f13c7c
turn off text translation on windows
...
(std::ios::binary does nothing on unix btw)
2019-02-06 19:53:07 -06:00
Michael
6d8d910aff
Refactor and add tests for bits.hpp
2019-02-07 00:23:22 +00:00
Ryan Tharp
6446074881
Merge pull request #267 from michael-loki/abseil
...
Import abseil LTS 20181200
2019-02-05 14:06:02 -08:00
Ryan Tharp
4bf4faa956
make format
2019-02-04 16:41:33 -08:00
Michael
6055829df4
Remove tl::optional and use absl::optional always
2019-02-03 02:13:31 +00:00
Michael
7212baa062
Add implicit conversion from ManagedBuffer to llarp_buffer_t
2019-02-03 01:44:09 +00:00
Michael
7ca3e13e78
Rename to ManagedBuffer
2019-02-03 00:48:10 +00:00
Michael
47380ba64b
Simplify some code
2019-02-03 00:31:10 +00:00
Michael
f3b0af9d2f
Create CopyableBuffer type
2019-02-02 23:21:35 +00:00
Michael
2de621b0ad
Disable copy constructing llarp_buffer_t
2019-02-01 01:58:13 +00:00
Ryan Tharp
c7e126a426
fix buffer overrun
2019-01-30 23:53:43 -08:00
Jeff Becker
18c4107ff6
* wire up jsonrpc caller for lokid integration
...
* add jsonrpc caller http basic auth
2019-01-28 08:04:45 -05:00
Jeff Becker
519cec50ac
update libabyss rpc endpoints for service nodes
2019-01-24 08:55:44 -05:00
Jeff Becker
9991d17976
Merge branch 'staging' into use-lokid-seed
2019-01-22 12:24:19 -05:00
Jeff Becker
3b76182ee6
fix whitespace parsing
2019-01-22 10:16:35 -05:00
Jeff Becker
465a3d3e43
redo ini parser
2019-01-22 09:13:26 -05:00
Michael
6e38e85a79
Produce hierarchy of 'libraries' inside libllarp
2019-01-15 23:15:43 +00:00
Michael
79157414f3
Split crypto.hpp into 3 different files
2019-01-13 16:32:51 +00:00
Michael
081d4dfa32
Reorganise source into more folders
2019-01-11 01:19:49 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
2019-01-10 20:07:24 +00:00