summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2018-07-09Factor out time keeping code into its own module: mono_time.c.iphydf
It turns out, `unix_time` is also monotonic, and is used as such, so I've renamed the new functions to `mono_time_*`. 2018-07-08: ``` 00:01 <@irungentoo> the idea used to be that the unix_time() function could go backward in time but I think I might have started using it like if it could not after I changed it so that it would never go back in time ```
2018-07-09Move `load_state` and its helper functions to their own module.iphydf
2018-07-07Factor out the actual test code from conference_test.iphydf
Also, renamed simple_conference_test to conference_simple_test so it's sorted together with the other conference tests. Next step is to use run_auto_test.h for the conference test.
2018-07-06Add a test that reproduces the NULL peer nick bug.iphydf
2018-07-04Add some tests for our ring_buffer implementation.iphydf
These can serve as documentation until we write actual api docs, probably using apidsl.
2018-07-01Simplify Travis CI builds.iphydf
Have one script per build. This means more duplication between the scripts, but it's much easier to understand and to run locally.
2018-06-29Add a test to try and overflow the send queue in net_crypto.iphydf
2018-06-29Remove broken conference tests.iphydf
These display some idea, but the tests are not implemented correctly. We will need to implement the idea correctly later, but for now we can't use these.
2018-06-25Release v0.2.3Robin Lindén
2018-06-25Remove the format test.iphydf
It's annoying to have a test touch every source file. It causes a recompile of everything after every test run.
2018-06-24Use clang-format for C++ code.iphydf
`clang-format -style='{BasedOnStyle: Google, ColumnLimit: 100}'`
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.