summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-22Use self-built portaudio instead of system-provided.iphydf
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-21Make BUILD files more finely-grained.iphydf
This allows us to precisely see which libraries depend on which and lets us split them up more, if necessary.
2018-01-21Add comment from #629 in ring_buffer.c.iphydf
2018-01-21Add BUILD files for all the little tools in the repo.iphydf
Also, fix av_test.c, since I broke it last time.
2018-01-21Don't allocate or dereference Tox_Options in tests.iphydf
This struct will soon become opaque.
2018-01-20Add testing/*.c (except av_test) to bazel build.iphydf
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 correction support for conferenceDiadlo
Fix #704
2018-01-20Fix log message in simple_conference_test: invite -> message.iphydf
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-20update to astyle 2.04 on circleCI to get the correct resultzoff99
2018-01-19Add astyle to Circle CI build.iphydf
2018-01-19Add some explanatory comments to the toxav audio code.iphydf
By @zoff99.
2018-01-19Use more descriptive names in bwcontroller.iphydf
2018-01-19Extract named constants from magic numbers in toxav/audio.c.iphydf
By @zoff99.
2018-01-19Use larger arrays in crypto timing tests.iphydf
Increasing from 256K to 1M and increasing the number of iterations from 1000 to 2000. This makes the test more accurate and less flaky.
2018-01-18Use C99 standard in bazel builds.iphydf
2018-01-18Add bazel build scripts for c-toxcore.iphydf
This allows us and users to reproducibly build verified versions of the library with checksums. It will power the toktok-stack continuous build with checked-in checksums at specific git revisions.
2018-01-16Make DHT a module-private type.iphydf
2018-01-16Make Net_Crypto a module-private type.iphydf
2018-01-16Make libcheck optional for windows builds.iphydf
2018-01-16Use apidsl to generate LAN_discovery.h.iphydf
2018-01-16Make pack/unpack_ip_port public DHT functions.iphydf
These will be needed for new group chats.
2018-01-16Add Alpine Linux Dockerfileromik-g
2018-01-16Sort monolith.h according to ls(1): uppercase first.iphydf
2018-01-15Don't install packages needlessly on TravisMaxim Biro
2018-01-15Run fewer Travis jobs during Pull Requests.iphydf
Still run all the jobs during cron and regular push to branch. We disabled build for push to branch, so cron is the only place where all builds are run. This also means we need to worry less about spending time in nightly builds, because they occur only once a day. See https://github.com/travis-ci/travis-ci/issues/9071
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-15Add correction message typeDiadlo
2018-01-14Add random_u16 function and rename the others to match.iphydf
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-14Fix some memory or file descriptor leaks in test code.iphydf
Also some missing return value checks for `fopen`.
2018-01-14Make TCP_Client_Connection a module-private type.iphydf
2018-01-14Move TCP_Secure_Connection from .h to .c file.iphydf
2018-01-14Make Friend_Connections a module-private type.iphydf
2018-01-14Make Onion_Client a module-private type.iphydf
2018-01-14Make Friend_Requests a module-private type.iphydf
2018-01-14Make Onion_Announce a module-private type.iphydf
2018-01-14Add projects link to Readme.SkyzohKey
2018-01-14Filter out annoying log statements in unit tests.iphydf
These may be useful when debugging toxcore locally, but are not useful in unit tests.
2018-01-13Make Ping_Array a module-private type.iphydf
2018-01-13pkg-config .pc files: added .private versions of Libs and RequiredYuri
To prevent top-level linking of all libraries. Problem: ```pkg-config --libs toxcore``` returns all libraries that are required by all libtox*.so libraries. This is wrong because for a dynamically linked executable only top-level libraries need to be supplied. ```pkg-config --libs --static toxcore``` should return all libraries for the statically linked executable. For example, the ToxBot https://github.com/JFreegman/ToxBot executable uses pkg-config and is linked with the opus library, which is wrong. Based on #533.
2018-01-13Remove useless if statementendoffile78
2018-01-12Fix some typos in code and cmake commentsyangfl
2018-01-11Move Networking_Core struct into the .c file.iphydf
To make it an abstract type everywhere except in network.c.
2018-01-10Increase test retries to 10 (basically infinite).iphydf
This basically means: try until you run out of time (50 minutes on Travis). On Linux, we really want the tests to pass, so there is no point in limiting the number of retries. On windows, we don't retry, on FreeBSD it's limited to 1.
2018-01-10Fix formatting in some C files.iphydf
Also replace &(x) with &x for consistency.