Commit Graph

1655 Commits

Author SHA1 Message Date
Ryan Tharp
82d8d3c04d merge 2018-11-03 06:22:07 -07:00
Ryan Tharp
67390de0c2 merge 2018-11-03 06:19:18 -07:00
Ryan Tharp
26d4fd068f Merge branch 'master' of https://github.com/neuroscr/loki-network 2018-11-03 06:12:37 -07:00
Ryan Tharp
0de60ee8a5 move net into platform 2018-11-03 06:10:21 -07:00
Jeff
2fb8d73461
Merge pull request #38 from michael-loki/docker
Add initial dockerfile support
2018-11-02 18:08:26 -04:00
Jeff
4a60ab97e1
Merge branch 'master' into docker 2018-11-02 18:08:11 -04:00
Michael Thorpe
01445399f0
Add initial dockerfile support
This provides a simple way to do quick cross-platform verification
of changes.

`make docker-debian` will build a debian image and run the tests
`make docker-fedora` will build a fedora image and run the tests
2018-11-02 18:06:01 -04:00
Michael Thorpe
43d78e5c71
Add initial dockerfile support
This provides a simple way to do quick cross-platform verification
of changes.

`make docker-debian` will build a debian image and run the tests
`make docker-fedora` will build a fedora image and run the tests
2018-11-02 21:05:36 +00:00
Jeff Becker
080c0da4a0
remvoe const requirement and update unit tests for jsonrpc server 2018-11-02 14:02:45 -04:00
Jeff Becker
3e84915d47
add timer for test 2018-11-02 13:56:48 -04:00
Jeff Becker
05a6e66aa0
checks for freebsd 2018-11-02 13:52:06 -04:00
Jeff Becker
be975b252c
fix freebsd unit test crash 2018-11-02 13:49:01 -04:00
Jeff Becker
da0547f7ba
check for freebsd 2018-11-02 13:45:39 -04:00
Jeff Becker
e7cfc9aa6e
try fixing freebsd build 2018-11-02 13:41:55 -04:00
Jeff Becker
f285a0ac3e
update tests 2018-11-02 13:08:01 -04:00
cathugger
73e6141023
ip: endianess swaps aren't needed, a bit of renaming and tweaking
Also `make format`.
2018-11-02 11:00:05 -04:00
Jeff Becker
c8f870392f
make format 2018-11-02 10:58:12 -04:00
Jeff Becker
ac1d1169bc
Merge remote-tracking branch 'rick/dev' into dev 2018-11-02 10:55:21 -04:00
Jeff
4b92661f5d * fix up kqueue tcp connection tracking so it works on mac os
* match changes in epoll for kqueue changes
* additional checks in libabyss
2018-11-02 08:35:20 -04:00
despair
a24ae7cdbc add avx2 option 2018-11-02 03:08:28 -05:00
despair
ce367ac501 merge 2018-11-02 02:51:33 -05:00
despair
8952873b84 include string_view 2018-11-02 02:39:43 -05:00
despair
799bea1133 update install script
up next, activate inet6 driver after restart and install entries for UI front end
2018-11-02 02:39:43 -05:00
despair
57ea36f947 i knew i was forgetting something earlier 2018-11-01 12:13:10 -05:00
despair
6e862f1acf apple compiler reeeeee 2018-11-01 12:13:07 -05:00
despair
765934a796 add assembler flags 2018-11-01 08:27:55 -05:00
Jeff Becker
2d279e83fd
initial tcp connect for epoll 2018-11-01 08:47:14 -04:00
Jeff Becker
6fe6e59bd5
Merge branch 'dev' 2018-10-30 09:10:41 -04:00
despair
561c5228d3 fixed race condition in event loop....dns seems to work now :DDD 2018-10-30 07:30:21 -05:00
despair
f381201d6b override fpu target in cflags 2018-10-30 05:50:28 -05:00
despair
45f46fbece this...looks promising :DDDDD 2018-10-30 05:19:34 -05:00
despair
186e2ea989 refactored event loop base classes
use the base class impl for llarp::tcp_conn::sendto

can't seem to escape quotes ;-;

yeah this need to stay out of the unix build

turn on gnu extensions

apple stuff

remove duplicate code

clean up

fix vtable

clang-format

parameter checks
2018-10-30 00:41:44 -05:00
despair
9afe63d738 polish new build script
pass cxxflags down to c++ driver
2018-10-30 00:18:25 -05:00
despair
5a32ccf220 scan-build fixes on win32 code paths 2018-10-30 00:16:34 -05:00
despair
38f2a6b2c9 be slightly less annoying
check build rules
2018-10-30 00:16:34 -05:00
despair
c5d1b32286 remove microsoft c++ crud
🤔🤔🤔🤔
2018-10-30 00:16:33 -05:00
despair
5aba9776d0 fix unit test 2018-10-30 00:16:33 -05:00
despair
d425b5d308 implement tcp evloop on win32
(with its now-obsolete distinction between socketfd and fd)

sockets and file descriptors used to be distinct objects....back in the
16-bit Winsock 1.1 era, which needlessly complicated the 32-bit port
back then. these days one can use [Read|Write]File(2) to operate on
sockfds...which also have some of the semantics of [read|write]v(2)
i.e. the scatter-gather thing it's known for is done in async handler

-rick

variants are nice

added note to self

clang-format

link abyss properly

oops

shut up

*shrugs*

oops forgot to start winsock

moved our async io status flags to the base class

let derived classes override them as needed

this is probably a synchronous op _anyway_

fix typo

wtf
2018-10-30 00:16:33 -05:00
despair
e5ef2cdd27 not enough signal handlers on win32 2018-10-30 00:16:32 -05:00
despair
3aaea187b6 add intel intrinsics for 32-bit avx build
make crypto and abyss static

update readme for windows
2018-10-30 00:16:32 -05:00
despair
b1c28be916 grabbed packaging scripts and fluff from abandoned repo 2018-10-30 00:16:18 -05:00
Ryan Tharp
5248283128 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-10-29 23:15:53 +00:00
Jeff Becker
46bd47438f
Merge branch 'dev' 2018-10-29 18:45:26 -04:00
Jeff Becker
2b51b8a5d7
Merge branch 'master' of ssh://github.com/loki-project/loki-network 2018-10-29 18:45:20 -04:00
Jeff Becker
1623deb020
really make it compile 2018-10-29 13:22:26 -04:00
Jeff Becker
69e187cfd7
make it compile 2018-10-29 13:20:50 -04:00
Jeff Becker
5fdb2ce7ff
try better freebsd tun route 2018-10-29 13:17:42 -04:00
Jeff Becker
e722e69543
more freebsd stuff 2018-10-29 13:15:18 -04:00
Jeff Becker
0d09dbb1c2
disable special tun behavior for freebsd 2018-10-29 13:06:32 -04:00
Jeff Becker
51bfcb5493
milliseconds not microseconds 2018-10-29 12:58:19 -04:00