summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-19Remove apidsl from the build.iphydf
apidsl is in feature freeze. We can rely on the web service, instead.
2018-02-19Make some sizeof tests linux-only.iphydf
net_crypto has pthread types in its struct, so its size is system dependent. In particular, the sizes are wrong on FreeBSD.
2018-02-18Increase range of ports available to Toxes during testsRobin Lindén
2018-02-18Run all tests in parallel on Travis.iphydf
The first round some tests will fail and others will segfault. The second round, still some will fail, but the third round it might pass. At some point, tests will pass. The reason for this is that tests assume a lot about which ports they are given, and also toxcore's default port range has too few ports to run all tests in parallel. These issues will be fixed in future PRs.
2018-02-18Disable lan discovery in most tests.iphydf
2018-02-18Remove tox_test from autotools build.iphydf
2018-02-18Use Wine Devel instead of Wine StagingMaxim Biro
Wine Staging is not maintained https://wine-staging.com/news/2018-02-17-future-wine-staging.html
2018-02-18Split up tox_test into multiple smaller testsRobin Lindén
2018-02-18Don't build all the small sub-libraries.iphydf
This caused us to build everything 2-4 times, now we only build it 1-2 times (depending on selection of static/shared builds). The disadvantage is that now it's more up to the reviewer to ensure modularity (we still catch it in the bazel build, though).
2018-02-18Don't print trace level logging in tests.iphydf
2018-02-18Use `const` more in C code.iphydf
2018-02-17Send 0 as peer number in CHANGE_OCCURRED group event.iphydf
2018-02-17Add static asserts for all the struct sizes in toxcore.iphydf
This forces us to record size changes (for LP64) and helps estimate memory consumption of internal data structures.
2018-02-17Make outgoing Filetransfers round-robin.zoff99
Instead of 1 FT blocking all others.
2018-02-14Get rid of the only GNU extension we used.iphydf
2018-02-14Remove leftover symmetric key from DHT struct.iphydf
2018-02-12Optionally use newer cmake features.iphydf
So we can keep supporting cmake 2.8.12, which is the version on ubuntu trusty.
2018-02-11Improve video key frame sending.zoff99
This change does not include the addition of VP9. We do that in a separate pull request. Changes: * fix the video bug (video frames larger than 65KBytes) by sending full frame length in alternate header field * improve video frame reconstruction logic with slots * configure video encoder and decoder to be multihtreaded * set error resilience flags on video codec * change encoder and decoder softdeadline
2018-02-11Look for dependencies in third_party/Robin Lindén
2018-02-11Improve gtest finding, support local checkout.iphydf
Also fix library dependency order for monolith test.
2018-02-09Build toxcore with libsodium.dll instead of libsodium.lib.iphydf
The .lib doesn't have debugging information. The .dll has a .pdb file next to it.
2018-02-09Remove libcheck from the dependencies.iphydf
We're not gaining much from this library, and it's a burden, especially for windows development.
2018-02-09Add gtest include directory to -I flags if found.iphydf
Otherwise it won't be found when cross-compiling.
2018-02-09Adopt the "change occurred" API change from isotoxin-groupchat.iphydf
The logic and behaviour remain the same, but PEER_EXIT and PEER_JOIN are merged into LIST_CHANGED. This allows clients to take a first step to adapt to the API change without us having to actually submit the full change, yet.
2018-02-08Add MSVC compilation instructionsRobin Lindén
2018-02-08Use the markdown GPLv3 license in the c-toxcore repo.iphydf
2018-02-08Reject discovery packets coming from outside the LAN.iphydf
Even if that means rejecting packets from ourselves if our IP is not a "LAN" IP.
2018-02-08Fix LAN discovery on FreeBSD.iphydf
Also, add an auto-test for bootstrap and for LAN discovery. Bootstrap is never tested otherwise, and LAN discovery is a prerequisite for everything else. Having these two tests lets us rule out or identify LAN discovery as a possible cause for test failures.
2018-02-08Remove csrc from the RTPHeader struct.iphydf
This is not used by anything in the code, so we shouldn't have it in the header.
2018-02-08Add some unit tests for util.h.iphydf
2018-02-06Make cmake script more forgiving.iphydf
Instead of hard-erroring when we don't find dependencies, we just don't build the things requested and print a warning. This is less annoying to users because we enable a bunch of things by default. This way, we can at least build something with the default "cmake" invocation.
2018-02-06Improve stability of crypto_memcmp test.iphydf
Also reduce number of people in conference to 5, because on Circle CI the test times out trying to connect more than 6 or 7 people. The persistent conferences PR will improve this so we can set it much higher then.
2018-02-06Format .cpp files with format-source.iphydf
2018-02-06Move tox_shell program to the toxins repository.iphydf
https://github.com/TokTok/toxins/tree/master/tox_shell
2018-02-06Move irc_syncbot to the toxins repository.iphydf
2018-02-05Move the tox_sync tool to the toxins repository.iphydf
2018-02-05use official debian domainsudden6
2018-02-04Use more ubuntu packages; remove hstox for now.iphydf
Since trusty has more up-to-date packages, we can remove some of the custom install code. Also, we're not using hstox at the moment, so there is no need to slow down the builds for now.
2018-02-02Revert "Add correction message type"Diadlo
This reverts commit e16d3894c5979fcfe1c57bf7dadc455ce690baf9 and commit c5976e37eaadf663dc3d0c18376ea023355048f3.
2018-02-01Manually serialise RTPHeader struct instead of memcpy.iphydf
2018-02-01Improve conference test stability.iphydf
2018-01-31Change the "capabilities" field to a "flags" field.iphydf
This is more appropriate for RTP headers. Capabilities may be negotiated up front, but flags are useful in each packet.
2018-01-30Use nullptr as NULL pointer constant instead of NULL or 0.iphydf
This changes only code, no string literals or comments.
2018-01-29Add RTP header fields for the full frame length and offset.iphydf
This also adds RTPCapabilities and a header field to tell the receiver about capabilities used in encoding this frame. It is intended to contain settings relevant to the current frame being sent.
2018-01-29Add `-D__STDC_LIMIT_MACROS=1` for C++ code.iphydf
Without this, `UINT*_MAX` are not defined.
2018-01-28Avoid clashes with "build" directories on case-insensitive file systems.iphydf
2018-01-28Make audio/video bit rates "properties"xhe
follow TokTok#731. This commit completely removed all things in namespace bit_rate, and deprecated functions are to be added back in another commit. set_xxx() is treadted as a property of namespace audio&video, same as bit_rate change event. toxav_basic_test is fixed, either.
2018-01-27Fix link in README.mdsudden6
2018-01-26Fix out of bounds read in error case in messenger_test.iphydf
Also got rid of two VLAs. They are overused a bit in toxcore. In irc_syncbot, the array was uninitialised and then filled by a recv system call. This can cause uninitialised reads if recv doesn't fill the entire array. It could not cause out of bounds read directly, because a NUL-terminator was in place, but both cases are undefined behaviour.
2018-01-25Use Wine Staging for running Windows testsMaxim Biro