Commit Graph

2623 Commits

Author SHA1 Message Date
Jeff Becker
6fa10019d0
testnet tweak 2019-02-08 09:12:31 -05:00
Jeff Becker
ab0be935ca
fix testnet 2019-02-08 09:04:18 -05:00
Jeff
e762c5c252
Merge pull request #295 from majestrate/staging
more dht fixing, only pick the most up to date entity for reply
2019-02-08 08:43:29 -05:00
Jeff Becker
e24b595191
more dht fixing, only pick the most up to date entity for reply 2019-02-08 08:42:12 -05:00
Jeff
b6de3fe904
Merge pull request #294 from majestrate/staging
Staging
2019-02-08 08:23:52 -05:00
Jeff Becker
d7f715c632
don't send more than 1 introset in reply 2019-02-08 08:21:55 -05:00
Jeff Becker
732aa3297a
fix makefile jobserver 2019-02-08 08:12:07 -05:00
Jeff Becker
871a10b38b
Merge branch 'staging' of ssh://github.com/majestrate/loki-network into staging 2019-02-08 08:05:29 -05:00
Jeff Becker
27ce591f52
add note 2019-02-08 08:05:09 -05:00
Jeff Becker
2dfb53ef13
prevent deadlock 2019-02-08 08:04:12 -05:00
Jeff
450b354b87
Merge pull request #293 from majestrate/staging
unbreak build
2019-02-07 18:05:44 -05:00
Jeff
f0dc5f2b48 unbreak build 2019-02-07 18:04:28 -05:00
Jeff
d6c2d86a07
Merge pull request #292 from majestrate/staging
Staging
2019-02-07 17:51:49 -05:00
Jeff
0f777d822b Merge branch 'staging' of ssh://github.com/majestrate/loki-network into staging 2019-02-07 17:49:29 -05:00
Jeff
ba8313e57e limit replies on introset lookup, pick newest 2019-02-07 17:48:41 -05:00
Jeff
0f17456b0d
Merge pull request #291 from majestrate/staging
Staging
2019-02-07 09:37:55 -05:00
Jeff Becker
faf8149502
make testnet ini files work 2019-02-07 09:35:02 -05:00
Jeff Becker
2f656de767
take in public-ip as parameter in addition to public-address 2019-02-07 09:30:43 -05:00
Jeff Becker
32ecf64c57
fix testnet 2019-02-07 09:27:28 -05:00
Jeff
003b836199
Merge pull request #290 from majestrate/staging
add ninja build option
2019-02-07 09:17:09 -05:00
Jeff Becker
6014884207
add ninja build option to makefile such that you can run:
make NINJA=$(which ninja)

and it will use ninja to build
2019-02-07 09:12:11 -05:00
Jeff
98daf7ae41
Merge pull request #289 from majestrate/staging
update testnet docs and add more tuneable paramters
2019-02-07 08:21:22 -05:00
Jeff Becker
5d4c02c22b
update testnet docs and add more tuneable paramters 2019-02-07 08:20:03 -05:00
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