Commit Graph

325 Commits (72d0720da00c024b997d153dfddf291096d0d6f5)

Author SHA1 Message Date
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 8800cee785
fix crash on exit 5 years ago
Rick V 3931b7d9d7
implement missing libabyss functionality
remove some finished TODOs
5 years ago
Rick V 59c6184233
linker flags have no effect in compilation
and will cause -Werror=unused-command-line-option
on apple cc
5 years ago
Rick V 6d608d292f
add warning message for libg++ runtime 5 years ago
Rick V 00a095b61c
update description 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 d0448dfb64
finish moving event loop implementations out of headers
ok

ah so that was the mac build problem
5 years ago
Rick V 6e93697214
surprisingly a full abyss build works
also move the event loop code back into platform lib (!!!)
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 4c3734a146
Build everything with -fPIC 5 years ago
Ryan Tharp 5769e5c716
Merge pull request #259 from michael-loki/more_dht_tests
More dht tests
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
Michael 6055829df4
Remove tl::optional and use absl::optional always 5 years ago
Michael 41f9f5fad6
Import abseil LTS 20181200 5 years ago
Michael 1f95f1e78f
More unit tests of dht internals 5 years ago
Michael 40449df0f1
Split classes out of dht::Context 5 years ago
Michael 9d0d3a4cc9
Fix build on darwin 5 years ago
Michael f4e0cb2d4b
Import latest gtest from upstream - commit 569fba4d742b67753b5374b6686170afb74acb0c 5 years ago
Jeff 832ad942aa
Merge pull request #237 from despair86/dev
separate header and implementation
5 years ago
Jeff Becker cbfbdc506d
Merge branch 'staging' of ssh://github.com/loki-project/loki-network into staging 5 years ago
Rick V b062504590
static link windows unconditionally 6 years ago
Rick V d70a9fbfd4
oops, that patch would have tanked a 64-bit windows profile run 6 years ago
Rick V bef0316aab
more sun notes 6 years ago
Rick V ce9f455bf3
be more descriptive in version-info
(cherry picked from commit 427a6668ffbc1ed46042727b2ee9420cdc88aad8, it almost slipped out)
6 years ago
Rick V 3a47c96aee
how the hell does someone skip over these while redoing source tree layout 6 years ago
Rick V 3037de9450
lower non-AVX2 minimum CPU target to NetBust Xeon (Nocona, Prescott)
(cherry picked from commit e7ae0e5258)
6 years ago
Jeff Becker 9991d17976
Merge branch 'staging' into use-lokid-seed 6 years ago
Jeff Becker 465a3d3e43
redo ini parser 6 years ago
Jeff Becker d89e58199a
add initial identity key seed stuff
add more kubernetes stuff

make shared library installed if built
6 years ago
Michael ccb5f6b696
Add tests for dht::TXOwnere 6 years ago
Michael 2d395cc3f9
Move code to correct home 6 years ago
Michael 80bd41916e
More tidying of dht code 6 years ago
Michael 03d56c1591
Add test suites for dht bucket, kademlia and key 6 years ago
Michael 7296ebcbe8
Tidy dht code 6 years ago
Michael fec75125f4
Add tests for crypto/types 6 years ago
Michael da6cdfc0b2
More refactoring to continue to make dependency graph acylic 6 years ago
Michael 6e38e85a79
Produce hierarchy of 'libraries' inside libllarp 6 years ago
Jeff 11257e7b4d
Merge pull request #222 from michael-loki/crypto_folder
Split and move crypto code to a subdirectory
6 years ago
Michael 79157414f3
Split crypto.hpp into 3 different files 6 years ago
Michael 04e0fe3ad7
Move crypto code to a subdirectory 6 years ago
Michael 8a0eb6b71f
Enable C++14 for all builds 6 years ago
Jeff 328ce40212
Merge pull request #216 from michael-loki/coverage
Add flag to generate coverage data
6 years ago
Michael c655600704
Add flag to generate coverage data 6 years ago
Michael 70a55612eb
Create initial set of test cases for llarp_findOrCreate* functions 6 years ago
Michael a3463120cc
Move net components into a distinct folder 6 years ago
Michael 317e29b777
Move win32 specific files to win32 dir 6 years ago
Michael 081d4dfa32
Reorganise source into more folders 6 years ago