Commit Graph

30 Commits

Author SHA1 Message Date
michael-loki 0195152e05 Allow builds on MSVC (#518)
* Import cxxopts to replace getopts usage

* Add visual studio build things

* Fixup abseil build parts

* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED

* Fixup minor windows build issues

* Replace getopts usage

* Temporarily fixup .rc files

* More minor windows fixes

* Get a working build

* Revert .rc files

* Revert changes to nodedb
2019-04-19 13:24:33 -05:00
Michael 3bada02d89
Fixup one ASAN warning 2019-03-29 01:02:41 +00:00
Ryan Tharp 25d00e2974 Merge remote-tracking branch 'origin/master' 2019-02-18 02:00:36 -08:00
Ryan Tharp ad91071633 Fix undefined behaviors and misaligned member access 2019-02-18 01:59:33 -08:00
Michael 90373b806c
Fix log tag after cmake changes 2019-02-15 20:49:10 +00:00
Rick V e9048559b2
late-breaking hotfix patch for libabyss-win32 2019-02-14 15:10:56 -06:00
Michael 656843e9a3
Fix issues on debian 2019-02-12 01:19:38 +00:00
Michael 1aeacb0043
Refactor CMakeLists into distinct directories 2019-02-12 01:19:37 +00:00
Michael 057365d40c
Fix issues on debian 2019-02-11 00:02:20 +00:00
Michael 3b3926a0ea
Refactor CMakeLists into distinct directories 2019-02-09 16:30:29 +00:00
Michael 4f90192e1a
Fix lifetime issues in llarp_findOrCreate* function calls 2019-01-03 23:10:32 +00:00
despair d26141d433 Merge branch 'dev' into reeeee-divergence
ok hope this works -rick

# Conflicts:
#	.gitignore
#	.vscode/settings.json
#	include/llarp/service/context.hpp
#	llarp/dns.cpp
#	llarp/dnsc.cpp
#	llarp/ev.cpp
#	llarp/ev.hpp
#	llarp/ev_win32.hpp
#	llarp/net.cpp
#	llarp/router.cpp
#	llarp/router.hpp
#	llarp/service/context.cpp
2018-12-03 12:24:56 -06:00
Ryan Tharp 0b630f090c add static_analysis note (potential bug, use of uninitialized value) 2018-11-21 17:17:38 -08:00
despair be7ac352ca switch to a simulation of epoll
the native async event system on windows
is _not_ very good at getting external events
(i.e. we receive data, but we don't get any indication
that this ever happened)
2018-11-19 04:29:39 -06:00
despair d311b2e9a9 remove dead code
(rip golden shield users D:)

remove more dead code

debug udp stuff

remove debug kqueue
2018-11-12 23:39:50 -06:00
Jeff Becker a59343cfec
we NEED NT >= 6 for event loop 2018-11-09 09:48:43 -05:00
Jeff Becker d408b08889
make windows cross compile pass, make format parts of libutp 2018-11-09 07:56:04 -05:00
despair b744af9455 fix netbsd
fix netbsd _again_

fix

fix 2
2018-11-07 18:52:07 -06:00
despair 2a5a0f1577 fix warnings on windows
up next: fix netbsd
2018-11-07 18:09:49 -06:00
Jeff Becker 7a78832841
Merge remote-tracking branch 'rick/dev' 2018-11-07 11:05:47 -05:00
Michael Thorpe 33bfaf7ecd
Enable -Wextra
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
2018-11-07 15:31:13 +00:00
despair 04e620ebf2 add iocp tcp connect
msys2 grabs its reactos sdk headers straight out of git
most cross-compilers use the versioned releases (v6 as of last week)

huh. for once setting the windows version macros doesn't break anything.
2018-11-06 17:54:34 -06:00
Michael Thorpe a2d5d80779
Enable warnings as errors
test criteria:
- Built from clean on macOS
2018-11-06 22:48:17 +00:00
despair86 7f809eb53b fix windows build 2018-10-01 15:06:07 -05:00
Jeff Becker 468e879626
fix previous commit 2018-09-23 07:48:25 -04:00
Jeff Becker 650d13c1f9
fix value 2018-09-23 07:44:55 -04:00
Jeff Becker e47b3bf704
oops make format ran, increase utp bucket size by 8 2018-09-23 07:42:39 -04:00
despair86 4afa358c49 fix win32 build 2018-09-19 20:41:47 -05:00
despair86 8845f3ecc5 strip extra unneeded code from libutp 2018-09-19 20:39:45 -05:00
Jeff Becker 085563ac2f
implement utp link protocol
gut curvecp for now
2018-09-04 08:41:25 -04:00