summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-22Clarify/Improve test_some testhugbubby
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-22Make 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-20Merge remote-tracking branch 'irungentoo/master' into merge-iruiphydf
2018-06-20Better TCP testing (beginnings)hugbubby
Tests all ports instead of just one, also adds some comments/changes error messages to be more descriptive
2018-06-19Add 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-18Remove resource_leak_test.iphydf
This test has never caught a bug. It's better to catch these with asan or the likes.
2018-06-18Fix linking with address sanitizer.iphydf
`-fsanitize=address` also needs to be passed to the linker.
2018-06-17Make 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-17Minor cleanup: return early on error condition.iphydf
2018-06-16Only check full rtp offset if RTP_LARGE_FRAME is setRobin Lindén
2018-06-14Add minitox to under "Other resources" section in the READMElazyrobot
2018-06-09Sort bazel build file according to buildifier standard.iphydf
2018-06-08In 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-04Log only the filename, not the full path in LOGGER.iphydf
Fixes #900.
2018-06-03Fix macOS macro because of GNU Machyangfl
2018-05-29Fix enumeration of Crypto_Connection instancesPavel Karelin
2018-05-23Fix ipport_isset: port 0 is not a valid port.iphydf
2018-05-23Fix the often call of event tox_friend_connection_statusPavel 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-22Fix bootstrap loggercotox
TODO: need a meanful log output
2018-05-20Finish @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-20Add 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-20Move system header includes from network.h to network.ciphydf
2018-05-10fix DHT_bootstrap key loadingAnthony Bilinski
Introduced by 643eea60bb9dcf4ecb33d64666b1bc77cbfd7438
2018-05-10Make toxcore compile on BSDendoffile78
2018-05-10Fix FreeBSD build on TravisMaxim Biro
2018-04-20Restrict packet kinds that can be sent through onion path.irungentoo
Taken from: https://github.com/TokTok/c-toxcore/commit/6b97acb773622f9abca5ef305cd55bdef1ecc484
2018-04-17Improve network error reporting on WindowsMaxim Biro
Windows doesn't report network errors though errno, it has its own facilities.
2018-04-18Release v0.2.2Robin Lindén
2018-04-18fix broken and unmaintained autotools buildMaxim Biro
2018-04-15Restrict packet kinds that can be sent through onion path.Evgeny Kurnevsky
2018-04-06CMake warn if libconfig not foundBraiden Vasco
2018-04-06remove broken and unmaintained scriptssudden6
2018-04-03Avoid 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-03add comment to func cryptpacket_receivedhqwrong
2018-03-22fix build error on macoshqwrong
2018-03-17Disallow stderr logger by default.iphydf
2018-03-17Add logging to the onion_test.iphydf
Makes debugging easier.
2018-03-17Add COVERAGE cmake flag for clang.iphydf
This only works with clang/llvm. Coveralls support needs to be added later.
2018-03-17Fix 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-16Add 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-16Move struct DHT_Friend into DHT.c.iphydf
2018-03-16Remove 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-16Simplify sendpacket function, deduplicate some logic.iphydf
2018-03-10Update changelog for 0.2.1Robin Lindén
2018-03-09Update version to 0.2.1.iphydf
2018-03-09Don't set RTP_LARGE_FRAME on rtp audio packetsRobin Lindén
2018-03-09Don't throw away rtp packets from old ToxcoreRobin Lindén
2018-03-07Add missing tox_nospam_size() functionRobin Lindén
2018-03-02Make file transfers 50% faster.iphydf
By increasing a magic number.. Also, added more verbose logging to the file transfer test.
2018-02-28Update changelog for 0.2.0Robin Lindén