Commit Graph

6180 Commits

Author SHA1 Message Date
Jeff
c316bf306d
Merge pull request #1314 from notlesh/rip-c-api-2020-06-29
Remove [most of] C API
2020-07-01 15:32:58 -04:00
Stephen Shelton
0aa43c6b07
Pass RuntimeOptions instead of 'bool isRelay' 2020-07-01 08:38:56 -06:00
Stephen Shelton
984015587d
"Rethrow" to promise using std::current_exception() 2020-07-01 08:38:33 -06:00
Stephen Shelton
a448cbab4f
Pass on exceptions to exit_code future in main 2020-07-01 08:21:53 -06:00
Stephen Shelton
eb2260179f
Pass opts by value since we're crossing threads 2020-07-01 08:04:29 -06:00
Stephen Shelton
daecd6eda5
Remove llarp_config and llarp_main 2020-06-29 14:51:13 -06:00
Stephen Shelton
d85e48c9d0
Use llarp::Context::CallSafe() for vpn AsyncClose() 2020-06-29 14:39:31 -06:00
Stephen Shelton
ba92d12203
Remove TODO comment 2020-06-29 14:11:49 -06:00
Stephen Shelton
ec4109ae60
Handle signals without C API 2020-06-29 14:09:59 -06:00
Stephen Shelton
b5d6a73ffd
Rip out most of C API 2020-06-29 13:55:59 -06:00
Jeff
4501dd8e0b
Merge pull request #1311 from majestrate/windows-ci-fix-upload-2020-06-17
update ci to use zip for windows
2020-06-22 15:08:23 -04:00
Jason Rhinelander
e2ad0e8f09 DRY out ci upload script 2020-06-22 11:30:38 -03:00
Jeff Becker
d096f5375f
pass in WINDOWS_BUILD_NAME to uploader to mark 64bit and 32bit builds distinctly 2020-06-18 07:30:07 -04:00
Jeff Becker
ad0b66ae02
use correct arch, probably 2020-06-18 07:25:14 -04:00
Jeff Becker
8f3f964ee6
change to i686 2020-06-18 07:24:27 -04:00
Jeff Becker
3b59288a42
fix typo 2020-06-18 07:23:59 -04:00
Jeff Becker
3860352a9a
set arch to be 32bit for 32bit windows builds so build artifacts are marked as such 2020-06-18 07:22:55 -04:00
Jeff Becker
c323025722
set windows ci build output to include arch 2020-06-18 07:05:48 -04:00
Jeff Becker
809198636b
chmod +x the script 2020-06-17 11:47:31 -04:00
Jeff Becker
1b10e69b10
update ci to use zip for windows 2020-06-17 11:45:36 -04:00
Jeff
4026051d36
add xz in drone ci because alpine sucks 2020-06-17 11:34:39 -04:00
Jeff
7afa852d96
Merge pull request #1307 from tewinget/libunbound-upstream-dns
Implement upstream DNS using libunbound
2020-06-17 11:27:00 -04:00
Jeff Becker
52b5da33a3
fix dep 2020-06-17 11:20:19 -04:00
Jeff Becker
0dad53100a
add bash and sftp so exe uploads werk 2020-06-17 11:13:57 -04:00
Jeff Becker
a9de1ad277
fix typo 2020-06-17 11:09:22 -04:00
Jeff Becker
c66e925fb2
add more cmake incantations for windows cross compile 2020-06-17 11:06:12 -04:00
Jeff Becker
fdfdd2a1d2
turn off lto, add patches 2020-06-17 10:37:41 -04:00
Jeff Becker
db3d43a513
fix typo 2020-06-17 10:23:41 -04:00
Jeff Becker
26a2f54b0b
set ar and ranlib on openssl cross compile to appease the cmake god 2020-06-17 10:20:14 -04:00
Jeff Becker
ba1265d94f
set ARCH_TRIPLET to CROSS_TARGET to please the cmake cross compile god 2020-06-17 09:48:57 -04:00
Jeff Becker
48c7d6fbe5
consolidate windows ci drone jizz 2020-06-17 09:42:11 -04:00
Jeff Becker
2e806cc145
set CMAKE_CROSSCOMPILE to on so we are cross compiling in ci 2020-06-17 09:10:50 -04:00
Thomas Winget
9905a2bd4b static build flag for win/mac static builds in drone config 2020-06-16 20:53:36 -04:00
Jason Rhinelander
cdd57ac09b fix unbound ssl linking 2020-06-16 21:18:13 -03:00
Thomas Winget
0ecdf60777 static build fixes in cmake stuff
I hate cmake so much.
2020-06-16 18:52:20 -04:00
Thomas Winget
32843510bb libunbound can now be built as a static dep 2020-06-15 18:44:59 -04:00
Thomas Winget
8f0330c9f2 std::vector instead of std::array 2020-06-15 18:32:57 -04:00
Thomas Winget
b875d40491 restructure how upstream dns replies are handled
llarp::dns::Message does not fully support DNS packets,
so converting the upstream response to one will not work
for all query types.  Also it is kinda silly to begin with,
as the upstream reply is already a network packet, ready to go.
2020-06-15 18:32:57 -04:00
Thomas Winget
755b4d89b6 libunbound deps in drone config 3: dependency boogaloo 2020-06-15 18:32:57 -04:00
Thomas Winget
4ee95d4ad0 libunbound deps in drone config...watch *them* have deps too 2020-06-15 18:32:57 -04:00
Thomas Winget
221e9ff5de make format 2020-06-15 18:32:57 -04:00
Thomas Winget
f58c7df54d add libunbound-dev dep to drone config 2020-06-15 18:32:57 -04:00
Thomas Winget
df284cb757 proper CMake finding and using of libunbound 2020-06-15 18:32:57 -04:00
Thomas Winget
c2a30692cf Implement upstream DNS using libunbound 2020-06-15 18:32:57 -04:00
Jeff
b6817646f6
Merge pull request #1310 from tewinget/static-build-changes
add functionality to download and build static libs
2020-06-15 17:18:13 -04:00
Thomas Winget
926d306443 add functionality to download and build static libs
The libs with rules already set up in StaticBuild.cmake are dependencies
which will be introduced in following commits.
2020-06-15 16:32:44 -04:00
Jeff
36bb43d14a
Merge pull request #1278 from despair86/dev
fix win32 build rules and add to drone ci
2020-06-15 12:08:18 -04:00
Rick V
dc52f8c2fe remove stray path separator 2020-06-12 20:50:00 -05:00
Rick V
b2fcf6c896 sodium requires stack protection on windows (-D_FORTIFY_SOURCE works
now!)
2020-06-12 18:17:07 -05:00
Rick V
2fe4c15792 why jeff why 2020-06-12 18:00:39 -05:00