Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-23 | Avoid conditional-uninitialised warning for tcp test. | iphydf | |
The C compiler warns because the value is initialised in a loop and used outside of it. In this case, it's always initialised, but changing the value of `NUM_PORTS` can change that. | |||
2018-06-23 | Add assertions to bootstrap tests for correct connection type. | iphydf | |
2018-06-23 | Make NULL options behave the same as default options. | iphydf | |
I.e. make tox_new(0, 0) behave the same as tox_new(tox_options_new(0), 0). Changing defaults in the options does not currently affect NULL options. | |||
2018-06-23 | Add random testing program. | iphydf | |
This can be used as a random stress test for toxcore. Adjust the weights to make certain actions more or less likely. | |||
2018-06-23 | Add tests for what happens when passing an invalid proxy host. | iphydf | |
Related: https://github.com/qTox/qTox/issues/5174 | |||
2018-06-22 | Clarify/Improve test_some test | hugbubby | |
Better error messages, better sleep() call placements, etc. Did not modify large chunk of function because I couldn't explain it. Maybe I'll come back later once I've regained lost brain cells. | |||
2018-06-22 | Make the net_crypto connection state an enum. | iphydf | |
It was a list of #defines, but clearly this is a discrete and limited set of named values, so an enum is more appropriate. | |||
2018-06-20 | Merge remote-tracking branch 'irungentoo/master' into merge-iru | iphydf | |
2018-06-20 | Better TCP testing (beginnings) | hugbubby | |
Tests all ports instead of just one, also adds some comments/changes error messages to be more descriptive | |||
2018-06-19 | Add test for creating multiple conferences in one tox. | iphydf | |
This triggers a code path in Persistent Group Chats that causes a memory leak. I'm adding this test now, so that we don't merge PGC without fixing the memory leak first. | |||
2018-06-18 | Remove resource_leak_test. | iphydf | |
This test has never caught a bug. It's better to catch these with asan or the likes. | |||
2018-06-18 | Fix linking with address sanitizer. | iphydf | |
`-fsanitize=address` also needs to be passed to the linker. | |||
2018-06-17 | Make dht_test more stable. | iphydf | |
By making it run in a port range far away from other tests. This test creates 100 DHTs and makes either itself or other tests run out of ports. | |||
2018-06-17 | Minor cleanup: return early on error condition. | iphydf | |
2018-06-16 | Only check full rtp offset if RTP_LARGE_FRAME is set | Robin Lindén | |
2018-06-14 | Add minitox to under "Other resources" section in the README | lazyrobot | |
2018-06-09 | Sort bazel build file according to buildifier standard. | iphydf | |
2018-06-08 | In DEBUG mode, make toxcore crash on signed integer overflow. | iphydf | |
Signed overflow is undefined behaviour, so in debug mode, we want to make it fail in a noisy way. | |||
2018-06-04 | Log only the filename, not the full path in LOGGER. | iphydf | |
Fixes #900. | |||
2018-06-03 | Fix macOS macro because of GNU Mach | yangfl | |
2018-05-29 | Fix enumeration of Crypto_Connection instances | Pavel Karelin | |
2018-05-23 | Fix ipport_isset: port 0 is not a valid port. | iphydf | |
2018-05-23 | Fix the often call of event tox_friend_connection_status | Pavel Karelin | |
Fixes #868 Is made by: 1. Fix enumeration mechanism of Crypto_Connection instances in function send_crypto_packets() (this item solves the main problem); 2. Disruption of correlation between parameters of different dimensions (the parameters MAX_NUM_SENDPACKET_TRIES and UDP_DIRECT_TIMEOUT have different dimensions). | |||
2018-05-22 | Fix bootstrap logger | cotox | |
TODO: need a meanful log output | |||
2018-05-20 | Finish @Diadlo's network Family abstraction. | iphydf | |
The Family stuff in toxcore is a big mess. I'm sure I saw a bunch of bugs on the way, but I'm not verifying that code now, so the bugs stay. | |||
2018-05-20 | Add empty logger to DHT bootstrap daemons. | iphydf | |
These should register a proper logging callback so the messages don't go devnull, but this at least ensures a logger is available. | |||
2018-05-20 | Move system header includes from network.h to network.c | iphydf | |
2018-05-10 | fix DHT_bootstrap key loading | Anthony Bilinski | |
Introduced by 643eea60bb9dcf4ecb33d64666b1bc77cbfd7438 | |||
2018-05-10 | Make toxcore compile on BSD | endoffile78 | |
2018-05-10 | Fix FreeBSD build on Travis | Maxim Biro | |
2018-04-20 | Restrict packet kinds that can be sent through onion path. | irungentoo | |
Taken from: https://github.com/TokTok/c-toxcore/commit/6b97acb773622f9abca5ef305cd55bdef1ecc484 | |||
2018-04-17 | Improve network error reporting on Windows | Maxim Biro | |
Windows doesn't report network errors though errno, it has its own facilities. | |||
2018-04-18 | Release v0.2.2 | Robin Lindén | |
2018-04-18 | fix broken and unmaintained autotools build | Maxim Biro | |
2018-04-15 | Restrict packet kinds that can be sent through onion path. | Evgeny Kurnevsky | |
2018-04-06 | CMake warn if libconfig not found | Braiden Vasco | |
2018-04-06 | remove broken and unmaintained scripts | sudden6 | |
2018-04-03 | Avoid the use of rand() in tests. | iphydf | |
We control the random functions in crypto_core, so we can make them deterministic more easily. This will help test reproducibility in the future. | |||
2018-04-03 | add comment to func cryptpacket_received | hqwrong | |
2018-03-22 | fix build error on macos | hqwrong | |
2018-03-17 | Disallow stderr logger by default. | iphydf | |
2018-03-17 | Add logging to the onion_test. | iphydf | |
Makes debugging easier. | |||
2018-03-17 | Add COVERAGE cmake flag for clang. | iphydf | |
This only works with clang/llvm. Coveralls support needs to be added later. | |||
2018-03-17 | Fix coveralls reporting. | iphydf | |
The new clang version makes gcov segfault. Also, coveralls needs another package that it doesn't install the right version of by default. | |||
2018-03-16 | Add default stderr logger for logging to nullptr. | iphydf | |
This is useful for debugging a function that doesn't have a logger available. It should not be used in production code, since it outputs to stderr. | |||
2018-03-16 | Move struct DHT_Friend into DHT.c. | iphydf | |
2018-03-16 | Remove the use of the 'hh' format specifier. | iphydf | |
It's not supported in mingw. See https://github.com/TokTok/c-toxcore/issues/786. | |||
2018-03-16 | Simplify sendpacket function, deduplicate some logic. | iphydf | |
2018-03-10 | Update changelog for 0.2.1 | Robin Lindén | |
2018-03-09 | Update version to 0.2.1. | iphydf | |