Commit Graph

7614 Commits (6fc5c9dac57ce08382d7c70bfcf2b10af9531ecd)
 

Author SHA1 Message Date
Jeff Becker d882f1a302
some compilers hated [[maybe_unused]] so use (void) when they are unused 3 years ago
Jeff Becker cf187ddffc
fix up logging, put _log into anonynous namespace, make only log trace nop in release builds 3 years ago
Jeff Becker 20814a4adc
use llarp:: prefix for LogError 3 years ago
Jeff Becker 1b06e263fb
update log statement for win32 3 years ago
Jeff Becker 2d5faccb9f
refactor for apple 3 years ago
Jeff Becker 7d07dea235
fix up gripes in source_location
* get rid of columns we dont need those
3 years ago
Jeff Becker acdb8a19a6
for some reason [[maybe_unused]] is hated by buster 32 bit x86 so we do something else
to appease that compiler.
3 years ago
Jeff Becker 18c5b43e63
use inline source_location implementation for android too 3 years ago
jeff 0546dab2e3
make source location happy on macos
* because of course apple doesn't provide any implementation (lmao) we provide one ourself
3 years ago
Jeff Becker 5c457ff486
refactor logging to use std::source_location
* use std::source_location instead of godawful macros in logging
* remove unused/absolutely haram af json logstream
* fix bug in android logger where it doesn't respect eLogNone
3 years ago
Jeff 5a5765edd5
Merge pull request #1756 from majestrate/ngtcp2-build-static-fix-2021-10-06
always build ngtcp2 as static
3 years ago
Jeff Becker d354a35869
always build ngtcp2 as static
squashme
3 years ago
Jason Rhinelander e32f7faf55
Merge pull request #1751 from majestrate/update-ngtcp2-2021-08-24
Update ngtcp2
3 years ago
Jason Rhinelander d733e37d9f
Merge pull request #1750 from majestrate/ci-update-2021-09-24
update ci to use main lokinet mobile repo
3 years ago
Jeff Becker 7d299d1c74
update ci to use main lokinet mobile repo 3 years ago
Jeff Becker 9c37e0146e
make it compile again 3 years ago
Jeff Becker ec83641ee8
update submodule 3 years ago
Jeff Becker 45b5fec314
make it compile again (squashme) 3 years ago
Jeff Becker 3c61af1de9
bump ngtcp2 submodule 3 years ago
Jeff ed271de715
make lokinet-util library static
every other lokinet internal lib is static, but liblokinet-util was not, this fixes that.
3 years ago
Jason Rhinelander 5afcd6c2d2 fix bootstrap copying 3 years ago
Jason Rhinelander 6c281689f4 Fix install order and give it the D 3 years ago
Jason Rhinelander 4c2e15847f add dns fix for older systemd 3 years ago
Jason Rhinelander 979f6cfb00 Merge remote-tracking branch 'origin/dev' into ubuntu/hirsute 3 years ago
Jason Rhinelander 1d162465e6 use contrib bootstrap files 3 years ago
Jason Rhinelander 0332cfd548 Install bootstrap files from contrib
Removes the local copy in the debian/ubuntu branches.
3 years ago
Jason Rhinelander 71ab60386a Add mainnet/testnet bootstrap files into repo
We use them everywhere now (include the debs) so it makes sense to have
them bundled here rather than needing a download during package build
(in particular for debs that's considered a bad thing).
3 years ago
Jeff 9f19a3653e
Merge pull request #1741 from majestrate/systemd-resolved-dns-fix-2021-09-16
SystemD DNS fix
3 years ago
Jeff Becker d1246947f7
SystemD DNS fix:
when dns is port 53 call SetLinKDNS otherwise call SetLinkDNSEx as on older versions of systemd-resolved SetLinkDNSEx is not available.
3 years ago
Jeff cf1086e4ac
Update readme.md 3 years ago
Jeff 2fbfeb1112
Update readme.md 3 years ago
Jeff ad9bbe9290
Update readme.md 3 years ago
Jeff 3f57427bba
Update readme.md
more updates to readme, remove unmaintained parts, add and remove chunks of information.
3 years ago
Jeff 1e5f753dc9
Update readme.md
our readme sucks, make it suck a bit less
3 years ago
Jeff 2a5c601f90
Merge pull request #1738 from jagerman/fix-jemalloc-option-dupe
Remove duplicate handling of jemalloc
3 years ago
Jason Rhinelander 488ed47cda Remove duplicate handling of jemalloc
We were linking/loading it in different ways, one with cmake option
`USE_JELLOC` and the other, older version `WITH_JEMALLOC`.  This removes
the latter (which was default OFF) and keeps the former (which was added
and has been default ON since 0.9.4 or so).

Also removes the `ifdef`ed JEMALLOC code in lokinet.cpp because we don't
need it; just linking to jemalloc is enough to get the malloc/free
replacements.
3 years ago
Jeff c30538a381
Update exit-setup.md
`hops=1` is not supported anymore.
3 years ago
Jeff baa89771fb
Merge pull request #1735 from majestrate/cmake-lokinet-bootstrap-tweaks-2021-09-10
make lokinet-bootstrap target toggleable
3 years ago
Jason Rhinelander 62d7192a50 Add mainnet/testnet bootstrap files into repo
We use them everywhere now (include the debs) so it makes sense to have
them bundled here rather than needing a download during package build
(in particular for debs that's considered a bad thing).
3 years ago
Jason Rhinelander 8df5005f54
Apply suggestions from code review 3 years ago
Jeff ff71e65ae0
Merge pull request #1736 from jagerman/ngtcp2-only-lib
Redo how we build ngtcp2 lib
3 years ago
Jason Rhinelander 089fc026d8 Redo how we build ngtcp2 lib
ngtcp2's top-level CMakeLists.txt is not friendly to being used as a
subdirectory (for instance, it always adds a `check` target when cunit
is installed), so stop using it in favour of skipping directly into the
ngtcp2/lib subdir.

This requires some hackery to set up a couple of the things the
top-level cmake does, but it isn't *too* painful.
3 years ago
Jeff Becker 7e1236503c
make lokinet-bootstrap target toggleable
add cmake option to disable building lokinet-bootstrap binary
3 years ago
Jason Rhinelander 2cdf051fd5 Bundle default bootstrap.signed in deb
This avoids needing to download it on install, and matches what we do
now on mac/win.
3 years ago
Jason Rhinelander 2746143aed 0.9.6 3 years ago
Jason Rhinelander 1acdd826e5 Merge remote-tracking branch 'origin/stable' into ubuntu/hirsute 3 years ago
Jason Rhinelander 71663fafc1
Merge pull request #1731 from oxen-io/dev
v0.9.6
3 years ago
Jason Rhinelander dbea1f98e7
Merge pull request #1651 from majestrate/lokinet-bootstrap-help-messages-2021-05-18
add --help and -h flags to lokinet-bootstrap to show help message
3 years ago
Jason Rhinelander 6c3c523404 Update wording and wrap help message 3 years ago
Jason Rhinelander c1470b10db 0.9.6 prerelease 3 years ago