iphydf
fad6e4e173
cleanup: Make all .c files include the headers they need.
2023-12-27 01:21:47 +00:00
iphydf
7cfe35dff2
cleanup: Remove explicit layering_check feature.
...
It's default in .bazelrc now.
2023-11-23 23:55:57 +00:00
Tha14
06d949a701
fix: always respond to version packets with toxcore version
2023-11-13 15:45:17 +00:00
jfreegman
0a277b52ea
Merge the remainder of the new groupchats implementation
...
Commit history: https://github.com/jfreegman/toxcore/tree/ngc_jf
Spec: https://toktok.ltd/spec.html#dht-group-chats
2022-09-22 11:16:08 -04:00
iphydf
cff9a18e39
cleanup: Split util.c out of the network library.
...
Also, don't include ccompat.h in header files. Instead, explicitly
include it in .c files.
2022-03-04 10:33:11 +00:00
iphydf
f19524cb21
cleanup: Remove dependency from LAN_discovery onto DHT.
...
As a side-effect, DHT now always accepts LAN discovery packets, even
when LAN discovery is disabled. When LAN discovery is disabled, those
packets are ignored.
2022-03-04 10:19:05 +00:00
iphydf
a3cd1102f7
perf: Reduce minimal encoding size of packed events.
...
We're using a union-like encoding now with an enum telling which union
member to set.
2022-02-12 17:44:44 +00:00
iphydf
4ce02c0af9
refactor: Deduplicate a bunch of code in TCP client/server.
...
Also generally a bit of cleanup and better layering.
2022-01-16 09:41:08 +00:00
iphydf
044ae636a3
chore: Mark unsafe code as testonly.
...
We want to ensure that nobody links against testing code in production.
2022-01-16 09:10:53 +00:00
iphydf
f5f22a5c76
chore: Enable layering check in all c-toxcore build files.
2022-01-12 18:33:13 +00:00
iphydf
e671490989
Use rules_cc instead of native cc_library rules.
2020-03-12 12:20:54 +00:00
iphydf
f627a26a7b
Run Clang global static analysis on Travis.
...
This uses a single .cc file containing almost all the code in the
repository to perform whole program analysis.
2018-07-22 02:34:30 +00:00
iphydf
7245ac11ef
Avoid implementations in .h files or #including .c files.
...
Also, avoid the need for putting `_XOPEN_SOURCE` in every test file.
2018-07-21 20:44:26 +00:00
iphydf
6e0ac337c9
Avoid clashes with "build" directories on case-insensitive file systems.
2018-01-28 15:17:34 +00:00