iphydf
d390947245
chore: Upgrade sonar-scan jvm to java 17.
...
https://community.sonarsource.com/t/java-11-is-deprecated-as-a-runtime-env-to-scan-your-projects/9659
2023-11-23 11:23:54 +00:00
iphydf
2e3819c956
chore: Remove valgrind build.
...
This is very slow, around 20 minutes, which seriously slows down
velocity for little gain. MSAN runs on unit tests and 1 auto test, so
we'll catch increasingly many valgrind-ish bugs that way in one of the
1-5-minute builds.
2022-03-29 12:53:02 +00:00
iphydf
d46091072d
chore: Remove msan from all CIs except circleci.
...
It doesn't work yet and is wasting CI resources.
2022-02-18 22:21:01 +00:00
iphydf
1d0f6e51e2
cleanup: Add some more error path logging to TCP server code.
2022-02-15 12:08:22 +00:00
iphydf
6f36b67a13
chore: Add an undefined behaviour/integer sanitizer build.
2022-02-08 09:18:18 +00:00
iphydf
0a2190f28c
feat: Add binary packing functions for tox events.
2022-02-07 02:43:24 +00:00
iphydf
d39f803c7e
docs: Make crypto_core.h appear on doxygen.
2022-02-05 19:34:13 +00:00
iphydf
71965a0f3b
feat: Add WASM build for toxcore and websocket bootstrap node.
...
The websocket bootstrap node will be running on Heroku.
2022-02-02 16:05:25 +00:00
iphydf
b6f48b3b7d
chore: Rename bazel-release to -opt and -debug to -dbg.
2022-01-29 22:21:13 +00:00
iphydf
7f94e411a9
chore: Add cpplint to the CI.
2022-01-17 23:42:38 +00:00
iphydf
8d19757f8e
chore: Add mypy Python type check.
...
Also fix the types in all Python files.
2022-01-14 19:55:37 +00:00
iphydf
d23222c92f
chore: Run static analysers in multiple variants.
...
Currently: 1) libsodium and 2) nacl.
Note that the "nacl" variant is actually libsodium. We just want to make
sure the static analysers see the `VANILLA_NACL` code paths.
2022-01-14 10:45:11 +00:00
iphydf
28b5e512a2
fix: Fix toxav_basic_test
buffer overflow.
...
We should pass the number of samples, not the byte size of `PCM`.
2022-01-13 22:36:53 +00:00
iphydf
4a2cb37e4b
fix: Fix some uninitialised memory errors found by valgrind and msan.
...
Also added a valgrind build to run it on every pull request. I've had to
disable a few tests because valgrind makes those run infinitely slowly,
consistently timing them out.
2022-01-13 20:15:21 +00:00
iphydf
46a443f188
chore: Ignore failures from bazel-tsan and bazel-asan.
...
Also increased memory limits so it doesn't OOM.
2022-01-13 00:36:34 +00:00
iphydf
277f512dbb
chore: Add bazel-debug build.
...
This has in the already found real bugs that only happen when compiling
with stack protector and no optimisations.
2022-01-02 03:15:39 +00:00
iphydf
8cd4827a14
cleanup: Reduce the scope of for-loop iterator variables.
...
Found by tokstyle after https://github.com/TokTok/hs-tokstyle/pull/95 .
2022-01-01 03:26:41 +00:00
iphydf
6f61de54d3
chore: Add "tcc" and "compcert" compiler targets.
...
It's nice we are able to compile with `tcc`. Let's not break that.
CompCert is also neat, but its interpreter mode doesn't work on tox, so
we only use the compiler.
2021-12-30 23:09:23 +00:00
iphydf
8ce2ae0fcb
chore: Add macOS build.
2021-12-28 23:28:48 +00:00
iphydf
b8c7c2a923
chore: Login to dockerhub before trying to push to dockerhub.
2021-12-23 17:26:17 +00:00
iphydf
5c1796d3c4
chore: Use docker for the autotools ci build.
...
This makes it easier to run it locally for testing and ensures the
dockerfile continues to work.
2021-12-14 15:51:51 +00:00
iphydf
fd91bbdd7b
test: Add a simple test for ip_ntoa
.
...
Just to demonstrate that it will never exceed its input buffer.
2021-12-09 20:51:15 +00:00
iphydf
d930ecca4c
chore: Run infer static analyser on circle ci builds.
...
Also running some other analysis that we used to have on Travis.
2021-12-06 20:25:50 +00:00
iphydf
99d873b985
chore: Enable cimple tests on cirrus build.
...
This ensures that we don't break Cimple compatibility despite Travis
being gone (which used to test this).
2021-11-27 02:56:17 +00:00
iphydf
1700334c3b
chore: Upgrade to toktok-stack:0.0.11.
2021-11-25 18:32:50 +00:00
iphydf
d52bf0a947
refactor: Minor cleanup: limit scope of loop iterators.
2020-05-05 00:58:33 +01:00
iphydf
087eede3a3
Allow test coverage to fluctuate 2% up and down, but not below 80%.
2020-04-26 16:05:12 +00:00
iphydf
a837559862
Add CODEOWNERS and settings.yml files.
2020-04-25 03:12:12 +00:00