Commit Graph

2600 Commits

Author SHA1 Message Date
Jeff
8ca9aba957
Merge pull request #288 from majestrate/staging
Staging
2019-02-07 07:42:16 -05:00
Jeff Becker
10f9d6444d
actually insert entries when they exist 2019-02-07 07:40:44 -05:00
Jeff Becker
fae2b1a444
make it compile on debian and ubuntu 2019-02-07 07:31:14 -05:00
Jeff Becker
914c9566b8
Merge remote-tracking branch 'origin/staging' into staging 2019-02-07 07:28:24 -05:00
Jeff Becker
d5caec719f
make it compile 2019-02-07 07:25:22 -05:00
Jeff Becker
cff6bc1c8d
don't hang 2019-02-07 07:23:02 -05:00
Jeff
f4271b96af
Merge pull request #287 from despair86/dev
fix target specific libs
2019-02-06 21:19:06 -05:00
Rick V
1fafe27300
damn it 2019-02-06 20:14:48 -06:00
Jeff
1369c3b23c
Merge pull request #283 from despair86/dev
more windows fixes
2019-02-06 21:10:30 -05:00
Jeff
5ee2774ddf
Merge pull request #286 from michael-loki/bits_refactor
Refactor and add tests for bits.hpp
2019-02-06 21:09:30 -05:00
Rick V
3e85ccb032
update makefile 2019-02-06 20:02:00 -06: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
406e3a6b6c
document option correctly 2019-02-06 19:53:14 -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
8800cee785
fix crash on exit 2019-02-06 19:53:13 -06:00
Rick V
ea7301fecf
finally unfuck windows bits 2019-02-06 19:53:12 -06:00
Rick V
69189214e0
rebase on current upstream staging 2019-02-06 19:53:12 -06:00
Rick V
3931b7d9d7
implement missing libabyss functionality
remove some finished TODOs
2019-02-06 19:53:11 -06:00
Rick V
ad1179a333
remove ref to nrmicro
add note
2019-02-06 19:53:11 -06:00
Rick V
59c6184233
linker flags have no effect in compilation
and will cause -Werror=unused-command-line-option
on apple cc
2019-02-06 19:53:10 -06:00
Rick V
6d608d292f
add warning message for libg++ runtime 2019-02-06 19:53:09 -06:00
Rick V
00a095b61c
update description 2019-02-06 19:53:09 -06:00
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!)
2019-02-06 19:53:09 -06:00
Rick V
d0448dfb64
finish moving event loop implementations out of headers
ok

ah so that was the mac build problem
2019-02-06 19:53:08 -06:00
Rick V
8741f0dd59
NetBSDs don't fully implement POSIX.1-2001 (!!!) 2019-02-06 19:53:07 -06:00
Rick V
6e93697214
surprisingly a full abyss build works
also move the event loop code back into platform lib (!!!)
2019-02-06 19:53:07 -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
Rick V
f277f368a1
win32 g++ is set to c++17 by default, so we use the _real_ string_view class 2019-02-06 19:53:06 -06:00
Rick V
b53420d538
update copyright description
add more docs

more NRMicro stuff

reeeeeeee memory corruption

cut over to libcurl
2019-02-06 19:53:06 -06:00
Rick V
aafecf8c43
try to shave off some space in the static data segment
by using miniz-exclusive ultra deflate
this is safe since we do not depend on libz in the slightest
2019-02-06 19:53:05 -06:00
Michael
6d8d910aff
Refactor and add tests for bits.hpp 2019-02-07 00:23:22 +00:00
Jeff
4c4f3faf83
Merge pull request #284 from michael-loki/abstract_router
Convert llarp::Router into an abstract base class
2019-02-06 19:09:31 -05:00
Jeff
4c66963e01
Merge pull request #285 from majestrate/staging
Staging
2019-02-06 14:04:14 -05:00
Jeff
e623e6fdb5 fix prev commit 2019-02-06 13:34:07 -05:00
Jeff
d10ddd7afd Merge remote-tracking branch 'github/staging' into staging 2019-02-06 11:39:55 -05:00
Jeff
025a30a7b6 Merge branch 'staging' of ssh://github.com/loki-project/loki-network into staging 2019-02-06 11:39:42 -05:00
Jeff
a50ee9daea fix issue #282 2019-02-06 11:39:16 -05:00
Jeff Becker
90e45a810a
limit number of concurrent dht lookups from dns to 4 2019-02-06 10:52:00 -05:00
Jeff Becker
f84256d554
* lower lookup timeout for introsets
* correct previous commit for dns stuff
* allow for multiple parallel introset lookups
2019-02-06 10:05:25 -05:00
Jeff Becker
2f369a3399
dont send latency tests while building 2019-02-06 08:51:05 -05:00
Jeff Becker
b40055181d
lower path build timeout to 15s
tweak various dns stuff
2019-02-06 08:02:17 -05:00
Jeff Becker
735ad9d32a
Merge remote-tracking branch 'origin/staging' into staging 2019-02-06 07:01:56 -05:00
Michael
729cd045f1
Convert llarp::Router into an abstract base class 2019-02-06 09:59:47 +00:00
Ryan Tharp
8096633753
Merge pull request #281 from neuroscr/master
macos llvm fix
2019-02-05 15:48:40 -08:00
Ryan Tharp
5ab048c95d macos llvm fix 2019-02-05 15:48:00 -08:00
Ryan Tharp
5c81355bf7
Merge pull request #280 from michael-loki/abseil_fpic
Build everything with -fPIC
2019-02-05 15:11:49 -08:00
Michael
4c3734a146
Build everything with -fPIC 2019-02-05 23:06:17 +00:00
Ryan Tharp
5769e5c716
Merge pull request #259 from michael-loki/more_dht_tests
More dht tests
2019-02-05 14:06:29 -08:00
Ryan Tharp
8614911e17
Merge pull request #278 from majestrate/staging
lower utp fragment size by 512 bytes
2019-02-05 14:06:17 -08:00
Ryan Tharp
6446074881
Merge pull request #267 from michael-loki/abseil
Import abseil LTS 20181200
2019-02-05 14:06:02 -08:00