summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-10-11ensure save data unchanged after save and loadzugz (tox)
2018-10-09Consistently use camel case enum names.iphydf
Including in tests and implementation files.
2018-10-08Remove Alpine Linux bootstrap daemon dockerfile.iphydf
We can add it back when there is a test for it. For now, we don't know whether it works and don't have tests to make sure it keeps working.
2018-10-08Add LAN_discovery to the list of apidsl-generated files.iphydf
So it gets regenerated when the .api.h file changes.
2018-10-08Improve Windows compatibility of toxav code.iphydf
- unistd.h doesn't exist on MSVC. - `vpx_codec_iface_t` is already `const`, so adding `const` qualifiers is redundant and causes warnings on MSVC.
2018-10-07Add AUTOTEST Option to CMakeLists.txtchrono
2018-10-07Release 0.2.8Robin Lindén
2018-10-07Make sure logger levels stay in sync across filesMaxim Biro
2018-10-07Default to not defining MIN_LOGGER_LEVEL in CMakeMaxim Biro
That way CMake's behavior matches what autotools does -- letting toxcore/logger.h handle the default case.
2018-10-07Fix logger level defaulting to TRACE in CMakeMaxim Biro
2018-10-07Fix memleak in tcp server by wiping priority queues on deletionzugz (tox)
2018-10-06Avoid use of IPv6 in tests if not supported (e.g. on Travis).iphydf
2018-09-26Remove a function-like macro and replace it with a function.iphydf
No use making this a macro. LTO will inline this anyway, if we care about performance. Generally, we avoid function-like macros that can be functions.
2018-09-26Use new `@pthread` library from Bazel for Windows compat.iphydf
See https://github.com/TokTok/toktok-stack/pull/38.
2018-09-25Use a working DHT node for bootstrap tests.iphydf
A lot of bootstrap nodes are down :(.
2018-09-24Revert "Improve cmake build for MSVC."iphydf
This reverts commit f87f8719d02a9adbc9413256fe22958267cfefee.
2018-09-25Combine last_reported_announced with last_seen in Onion_Friendzugz (tox)
This resets friend search rate in two circumstances where it should be reset: * When the friend gets a dhtpk packet to us; * When a friend connection to the friend goes down.
2018-09-24Add Cirrus CI configuration.iphydf
This CI can run Bazel tests, because it supports IPv6. This is nice, because now we can run IPv6 tests on every PR.
2018-09-23Run tests on Appveyor (Windows native build).iphydf
We ignore the errors for now.
2018-09-22Run UBSAN (undefined behaviour sanitizer) on Circle CI.iphydf
This runs in the same build as asan, so "asan" now stands for both asan and ubsan.
2018-09-22Improve cmake build for MSVC.Mick Sayson
2018-09-21Fix using uninitialized mutex on call end.Mick Sayson
2018-09-20Send rejoin packets on conference disconnectionzugz (tox)
We were mistakenly not making a rejoin attempt on freezing connections due to all closest connections going down. This fixes that, and tweaks the test. I've still only done tens rather than hundreds of tests, but I'm fairly confident that the conference test now consistently passes.
2018-09-19Fix typosyangfl
2018-09-19Fix yamllint test (it's gone from bazel, add a new one).iphydf