Commit Graph

189 Commits (975b4ca743877bcf7dd67cf0c86ebc728807e644)

Author SHA1 Message Date
Michael 13a9f65520
Fully define interface for dht::Context 5 years ago
Michael 4132f883a7
Make libabyss mandatory 5 years ago
Michael a0125ffe86
Move abyss/json to llarp/util/json 5 years ago
Michael 048fa83c39
Finish replacement of Router with AbstractRouter 5 years ago
Jeff 6144a888c9
Merge pull request #299 from michael-loki/cmake_refactor
Refactor CMakeLists into distinct directories
5 years ago
Michael ebf2800c3f Fixup windows 5 years ago
Ryan Tharp 5cb15d3a23 fix llvm compile 5 years ago
Michael 656843e9a3
Fix issues on debian 5 years ago
Michael 342cdaddd0
Add support for gtest_add_tests 5 years ago
Michael 1aeacb0043
Refactor CMakeLists into distinct directories 5 years ago
Jeff Becker 46222df421
refactor 5 years ago
Jeff Becker e1fceb3636
fix it (again) 5 years ago
Jeff 1369c3b23c
Merge pull request #283 from despair86/dev
more windows fixes
5 years ago
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.
5 years ago
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."
5 years ago
Rick V ea7301fecf
finally unfuck windows bits 5 years ago
Rick V 69189214e0
rebase on current upstream staging 5 years ago
Rick V 3931b7d9d7
implement missing libabyss functionality
remove some finished TODOs
5 years ago
Rick V 7f52c9eae7
restore gtest win32 patch (stripped during gtest rebase)
enable lokinet shared library on win32

TODO: define an API to expose from this library
currently, it resorts to exporting *everything*
including system implementation details that otherwise
should remain hidden out of sight
(i.e. the winsock2 load stubs for new socket API, or entire libstdc++ classes!)
5 years ago
Rick V f277f368a1
win32 g++ is set to c++17 by default, so we use the _real_ string_view class 5 years ago
Michael 6d8d910aff
Refactor and add tests for bits.hpp 5 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 5 years ago
Ryan Tharp 5ab048c95d macos llvm fix 5 years ago
Ryan Tharp 5769e5c716
Merge pull request #259 from michael-loki/more_dht_tests
More dht tests
5 years ago
Ryan Tharp 6446074881
Merge pull request #267 from michael-loki/abseil
Import abseil LTS 20181200
5 years ago
Michael 40e85f0f69
Tests for dht::RCNode and dht::ISNode 5 years ago
Michael 1ba6507a2f
Tests for dht::ServiceAddressLookup 5 years ago
Michael b1213c7a7c
Tests for dht::TagLookup 5 years ago
Jeff Becker b6c5b413b1
don't install gtest 5 years ago
Michael 6055829df4
Remove tl::optional and use absl::optional always 5 years ago
Michael 7ca3e13e78
Rename to ManagedBuffer 5 years ago
Michael 47380ba64b
Simplify some code 5 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 5 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 5 years ago
Ryan Tharp c3bf68b502
Merge branch 'staging' into dht_tests 5 years ago
Ryan Tharp f20ac0f6e9
Merge branch 'staging' into crypto_interface 5 years ago
Ryan Tharp 42873a088f fix build 5 years ago
Michael f24f554a01
Convert llarp::Crypto into an abstract base class 5 years ago
Michael 1f95f1e78f
More unit tests of dht internals 5 years ago
Michael f4e0cb2d4b
Import latest gtest from upstream - commit 569fba4d742b67753b5374b6686170afb74acb0c 5 years ago
Jeff Becker cbfbdc506d
Merge branch 'staging' of ssh://github.com/loki-project/loki-network into staging 5 years ago
Ryan Tharp 31f196a6eb
Merge pull request #236 from michael-loki/dht_tests
Add test suites for dht bucket, kademlia and key
5 years ago
Jeff Becker 9991d17976
Merge branch 'staging' into use-lokid-seed 5 years ago
Jeff Becker 3b76182ee6
fix whitespace parsing 5 years ago
Jeff Becker fe1245d82e
add note 5 years ago
Jeff Becker 465a3d3e43
redo ini parser 5 years ago
Jeff Becker d89e58199a
add initial identity key seed stuff
add more kubernetes stuff

make shared library installed if built
5 years ago
Michael ccb5f6b696
Add tests for dht::TXOwnere 5 years ago
Michael 03d56c1591
Add test suites for dht bucket, kademlia and key 5 years ago
Ryan Tharp 2e4ad12a87 Merge branch 'staging' of https://github.com/loki-project/loki-network 6 years ago