Jason Rhinelander
0a9b020555
Update Catch2 to latest to fix build on impish
3 years ago
Jason Rhinelander
d64e2ae0af
Reformat RUN commands to make editing easier
...
- split them on multiple lines
- sort the installed package deps
- don't use extra unnecessary `bash` invocation
3 years ago
Jason Rhinelander
326670b959
Docker package updates:
...
- add `make`
- add `patch`
3 years ago
Jason Rhinelander
47d8c95e68
CI docker multiarch
...
Adds multiarch docker images and starts using them.
3 years ago
Jason Rhinelander
1dccbb5814
Update deb repo dns name
3 years ago
Jason Rhinelander
ca9d979361
Docker image updates
...
- split debian sid into base/sid/clang images
- similarly for debian stable
- add jsonnet to lint
- add `--pull` to docker build so that we always pull the latest images
(otherwise we were building on whatever local cache we have for
`debian:sid`, etc., which made the base image update layer much
larger).
- don't install Recommends by default
- add libzmq3-dev
- split android into android (base) and flutter
- hard-code registry.oxen.rocks into the dockerfile stuff because that
seems to be the only way to properly depend on other docker builds.
- update a few CI builds that should have been using our images but
weren't.
- Update a few CI images to bullseye instead of buster
Add openssh-client (for sftp to upload builds)
3 years ago
Jason Rhinelander
6f58648161
Add libzmq3-dev; change deps into arrays
...
We're currently rebuilding libzmq3-dev all the time in most of the CI
jobs.
3 years ago
Jason Rhinelander
9c32058a50
Remove windows linefeeds
3 years ago
Jason Rhinelander
1526b2a2eb
which => command -v; different format.sh exit codes
...
`which` is a debian tool that is being deprecated in favour of
posix-standard `command -v`, so which to that to avoid deprecation
warnings.
Change the exit codes of `contrib/format.sh verify` to be unique for
each formatting program.
3 years ago
Jason Rhinelander
52492c6253
make format
3 years ago
Jason Rhinelander
9b0b9fe67b
Add jsonnet formatting (if jsonnet is installed)
3 years ago
Jason Rhinelander
1e22417ade
Add missing deprecated copy assignment operator
...
Clang-13 warns (and -Werror dies) without it.
3 years ago
Jason Rhinelander
497c62b586
Update clang build to 13; add full llvm-13 build
3 years ago
Jason Rhinelander
aee5dd2776
Merge pull request #1769 from majestrate/fix-sid-2021-10-13
...
fix debian sid compiler error
3 years ago
Jason Rhinelander
50449038b4
Another gcc-11 fix
...
GCC is wrongly warning that `h` is uninitialized here, but it clearly
isn't. Work around it.
3 years ago
Jeff Becker
07fb41cfd4
fix debian sid compiler error
3 years ago
Sean
e11a94c95c
RPC call for summary get_status ( #1742 )
...
* RPC call for summary get_status
* lint
* update with review notes
* further review points
* uint64_t
3 years ago
Jason Rhinelander
51016e672f
Merge pull request #1760 from majestrate/default-to-unix-socket-for-rpc-2021-10-06
...
catch exceptions on setup and dont abort
3 years ago
Jason Rhinelander
0768593fa5
Merge pull request #1762 from majestrate/v6-base-address-configuration-fix-2021-10-06
...
catch ipv6 ioctl throwing when someone runs lokinet with no ipv6
3 years ago
Jeff
1846c3e3d8
prevent bizare half open state. ( #1754 )
...
* attempt path timeout bullshittery fix
* make sure ServiceInfo always has its address set up
* do not copy intros in constuctor, ammend logging and
add assert
3 years ago
Nuc1eoN
8989910881
Add missing dep 'cppzmq' ( #1764 )
...
* Add missing dep to cppzmq
3 years ago
Jeff Becker
937d07b6ce
catch ipv6 ioctl throwing when someone runs lokinet with no ipv6
3 years ago
Jeff
40f26bb674
Merge pull request #1761 from majestrate/v6-base-address-configuration-fix-2021-10-06
...
resepct empty ipv6 range setting
3 years ago
Jeff Becker
5e9f9686e7
set base v6 address to nullopt when explicit empty string is provided
3 years ago
Jeff Becker
4c5b90fb03
handle exceptions on setup and config load without aborting
3 years ago
Jeff
24681fd35d
Merge pull request #1759 from majestrate/iterate-dir-in-order-2021-10-06
...
iterate through directory entries in lexigraphical order
3 years ago
Jeff
12bca7031b
Merge pull request #1638 from majestrate/log-refactor-source-location-2021-05-11
...
refactor logging to use std::source_location
3 years ago
Jeff
1d955cf28d
Update fs.hpp
...
style nit
3 years ago
Jeff Becker
00f81b1dac
iterate through directory entries in lexigraphical order
3 years ago
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
Jeff
9f19a3653e
Merge pull request #1741 from majestrate/systemd-resolved-dns-fix-2021-09-16
...
SystemD DNS fix
3 years ago