summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-06fix concurrency issues in mono_timesudden6
Since mono_time is accessed from the main thread as well as the toxav thread it is needed to properly lock time updates.
2019-08-04fix overflow in peer nick lensudden6
2019-08-04fix missing group title length checksudden6
This fixes a buffer overflow when a malformed *.tox save file is loaded.
2019-07-21Force IPv4 for cirrus-ci testsRobin Lindén
2019-05-30Release 0.2.10Robin Lindén
2019-05-19add configurable limit on number of stored frozen peerszugz (tox)
2019-05-01Do not send the same packet to the same node twice.Evgeny Kurnevsky
2019-05-01add undef guard in tox_many_tcp_testsudden6
This fixes an redefinition error when creating amalgamation.cc during static analysis
2019-04-01Disable failing TCP server testzugz (tox)
The test's intermittent failure may well be exposing a real bug in the TCP relay and/or onion systems, but we can't find the bug, and keeping the test is disrupting our CI.
2019-03-24Fix bazel build version at 0.22.0 for CI.iphydf
To make this reproducible. With floating versions (always latest), this can break any time a new bazel version is released.
2019-02-10put toxav.h stuff in toxav.api.hzugz (tox)
2019-02-10explain enabling in API commentzugz (tox)
2019-02-10add API function to test whether av is enabledzugz (tox)
2019-02-10Expose api functions for enabling and disabling AV in AV groupszugz (tox)
A group loaded from a savefile starts with AV disabled.
2019-01-21Specify that buffer size for tox_conference_peer_get_name is given by $sizezugz (tox)
2019-01-12Release 0.2.9Robin Lindén
2019-01-12Add some const qualifierszugz (tox)
(Implementing suggestions of sudden6)
2019-01-12Implement all min/max functions for (un)signed int types.iphydf
Also, use them in the `onion_client` module.
2019-01-10Fix misaligned 4-byte access in trace logging.iphydf
This code is undefined behaviour as is, and breaks on various platforms requiring strict alignment (many microcontrollers).
2019-01-07Avoid sending group messages to a peer before we have its group numberzugz (tox)
2019-01-06Use (probably?) correct path to test log to cat on error.iphydf
2019-01-06Improve handling of peers entering and leaving conferenceszugz (tox)
* send freeze packet on quit * delete existing peers with same real_pk on adding a peer * record actual number of conference peers saved
2019-01-06Enable auto tests under STRICT_ABI if static libs are available.iphydf
STRICT_ABI only breaks linkage if static libraries are not available, because then we try to link against shared libraries with hidden symbols.
2019-01-06Display build log for autotools build on failure.iphydf
We can't see the failure messages now, so something like "aborted", which probably means assertion failure, is not very useful right now. E.g. https://travis-ci.org/TokTok/c-toxcore/jobs/476028600#L1220
2019-01-06Merge remote-tracking branch 'irungentoo/master' into merge-iruiphydf
2019-01-06Add MIN_LOGGER_LEVEL to the Circle CI builds.iphydf
This was changed a while back, and TRACE is no longer valid.
2019-01-05Expose offline conference peers in APIzugz (tox)
2019-01-03Use new WineHQ Debian package repository keyMaxim Biro
2019-01-03Define tox_conference_id_size and tox_conference_uid_sizezugz (tox)
Closes #1264
2019-01-03Fix indices calculation for congestion control.Evgeny Kurnevsky
2019-01-03Added test and patch for VLA stack overflow vuln.zoff99
Also added and used the new crypto_malloc and crypto_free. The latter also zeroes out the memory safely. The former only exists for symmetry (static analysis can detect asymmetric usages).
2019-01-03Allow unauthenticated wine packages in the Windows build.iphydf
2018-12-11Add cmake option for building additional testszugz (tox)
Closes #1262
2018-11-29Implement conferences savingzugz (tox)
* add global friend_connection status callback, used for group rejoining * stop leaving groups on killing tox
2018-11-23Avoid format truncation in save compatibility testzugz (tox)
(without this, gcc-8.2.0 issues a warning)
2018-11-23Return TOX_ERR_CONFERENCE_SEND_MESSAGE_NO_CONNECTION if we are not connected ↵zugz (tox)
to any peers
2018-11-22Upgrade bazel to 0.19.0 to fix the bazel build.iphydf
2018-11-04Build tox-bootstrapd on FreeBSD Travis-CIMaxim Biro
2018-11-04Increase NOFILE limit for tox-bootstrapdMaxim Biro
tox-bootstrapd can use around 600 TCP sockets during TCP server's normal functioning. Many systems default to having a soft limit of 1024 open file descriptors, which we are close to reaching, so it was suggested we bump that limit to a higher number. iphy suggested increasing it to 32768.
2018-10-31Add some hopefully helpful documentation to the functions in mono_time.hzugz (tox)
(I found I couldn't remember whether get_mono_time returned unix time or not, and had to source-dive to find out. This should make that unnecessary next time!)
2018-10-24Change method of PK production for fake friend in DHTNamsooCho
2018-10-20Make saving and loading the responsibility of Tox rather than Messengerzugz (tox)
2018-10-19Add `LOGGER_ASSERT` for checking fatal error conditions.iphydf
These are not compiled out under `NDEBUG` and should be provably correct.
2018-10-17Include `CTest` in CMakeLists.txt to get valgrind support.iphydf
We can now run `ctest --output-on-failure -D ExperimentalMemCheck -j 50` to run valgrind on all tests.
2018-10-17Use cmake to build toxcore in tox-boostrapd's DockerfileMaxim Biro
2018-10-17tox-bootstrapd's Dockerfile shouldn't use master branchMaxim Biro
2018-10-16Don't warn about macro expansion in run-clangMaxim Biro
2018-10-16Make tox-bootstrapd free memory on SIGINT and SIGTERMMaxim Biro
Useful for using memory analyzing tools.
2018-10-16Use `bool` for IPv6 flag in test programs and `DHT_bootstrap`.iphydf
2018-10-16Support DragonFlyBSD and prune unused variables.Leonid Bobrov