summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2018-06-24Add new Circle CI configuration.iphydf
This one has ASAN enabled, unlike Travis.
2018-06-24Add a test for double conference invite.iphydf
In Persistent Group Chats (PGC), this will cause a use-after-free. This test ensures that we fix this bug before merging PGC.
2018-06-23Add 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-23Add tests for what happens when passing an invalid proxy host.iphydf
Related: https://github.com/qTox/qTox/issues/5174
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-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-05-10Make toxcore compile on BSDendoffile78
2018-04-18Release v0.2.2Robin Lindén
2018-04-06CMake warn if libconfig not foundBraiden Vasco
2018-03-22fix build error on macoshqwrong
2018-03-17Disallow stderr logger by default.iphydf
2018-03-17Add COVERAGE cmake flag for clang.iphydf
This only works with clang/llvm. Coveralls support needs to be added later.
2018-03-09Update version to 0.2.1.iphydf
2018-02-24Fix a bunch of compiler warnings and remove suppressions.iphydf
2018-02-23Link all tests to the android cpufeatures library if available.iphydf
This is needed for libvpx to work on android. This also means that we can upload our test binaries to an android device and actually run them, now that libcheck is no longer a blocker.
2018-02-22Fix toxcore.pc generation.iphydf
It's missing vpx and opus at the moment.
2018-02-22Add an option that allows us to specify that we require toxav.iphydf
2018-02-21Fix the windows build: pthread needs to be linked after vpx.iphydf
2018-02-19Remove apidsl from the build.iphydf
apidsl is in feature freeze. We can rely on the web service, instead.
2018-02-18Disable lan discovery in most tests.iphydf
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-17Make outgoing Filetransfers round-robin.zoff99
Instead of 1 FT blocking all others.
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 gtest finding, support local checkout.iphydf
Also fix library dependency order for monolith test.
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-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-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-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 `-D__STDC_LIMIT_MACROS=1` for C++ code.iphydf
Without this, `UINT*_MAX` are not defined.
2018-01-25Show source file name and line number on crashMaxim Biro
2018-01-25Prefix add_test() with $CROSSCOMPILING_EMULATORMaxim Biro
$CMAKE_CROSSCOMPILING_EMULATOR is automatically prefixing add_test() in CMake versions starting 3.3[1], but because we target CMake 2.8, we can't use that and we have to add our own $CROSSCOMPILING_EMULATOR that will prefix add_test(). [1] https://cmake.org/cmake/help/v3.3/variable/CMAKE_CROSSCOMPILING_EMULATOR.html#variable:CMAKE_CROSSCOMPILING_EMULATOR
2018-01-22Use <stdlib.h> for alloca on FreeBSD.iphydf
https://www.freebsd.org/cgi/man.cgi?alloca If stdlib.h does not define alloca, and we're using GCC (or Clang), we define the macro ourselves in terms of a GCC builtin.
2018-01-21Make the monolith test a C++ binary.iphydf
This way, developers compile toxcore, toxav, and toxencryptsave as C++ at least once at home, reducing the likelyhood of running into travis failures where we compile as C++ in the windows build.
2018-01-20Remove nTox from the repo.iphydf
It's a maintenance burden nobody uses. Let's make toxic the official console client, instead.
2018-01-20Add a simple conference test with 3 friends.iphydf
This tests that a message from tox1 is relayed via tox2 to tox3 when tox1 and tox3 are not friends.
2018-01-16Use apidsl to generate LAN_discovery.h.iphydf
2018-01-15Remove hstox test for now.iphydf
This isn't adding value. We're going to redo the whole rpc test framework in the future, after a lot of refactoring that the hstox test currently just stands in the way of.
2018-01-15update rpm spec and use variables in cmake instead of hardcoded paths (#624)Smoked Cheese
2018-01-14Use apidsl to generate ping.h.iphydf
The ping.api.h file looks rather ugly, but it works. This is an exercise in finding the complete set of use cases needed from apidsl for toxcore. We'll try to make things work as much as possible, and then make apidsl better and make the .api.h files pretty.
2018-01-13Make Ping_Array a module-private type.iphydf