summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2018-01-10Fix file descriptor leak in hstox test.iphydf
We return E_WRITE because closing only fails when an I/O error occurs, which is likely an error from the write() call above. See close(2) for details. http://man7.org/linux/man-pages/man2/close.2.html
2018-01-10Zero-initialise stack-allocated objects in hstox driver.iphydf
These potentially cause uninitialised reads on some platforms or msgpack library versions.
2018-01-10Call freeaddrinfo on error paths in net_getipport.iphydf
Without these, we'll have a memory leak on error paths.
2018-01-10Disable asan, since it seems to break on travis.iphydf
But enable it on circle ci, so at least we have one asan build.
2018-01-08Bump toxcore version to 0.2.0.iphydf
We're not releasing yet, but projects preparing for the release will want to build against this version in master.
2018-01-06Add support for building the monolith test on android.iphydf
2017-12-29Change toxencryptsave API to never overwrite pass keys.iphydf
2017-12-29Remove deprecated ToxDNSiphydf
Based on #331. Fixes #42.
2017-12-28Generate only one large library "libtoxcore".iphydf
This library contains all the code for the old libtoxcore, libtoxav, libtoxdns, and libtoxencryptsave. The build for toxav is still optional, and disabling it causes libtoxcore to simply not contain those symbols and the pkg-config file to not include opus and vpx as dependencies.
2017-12-28Fix include for endian.h and add includes for sys/stat.h andendoffile78
netinet/in.h
2017-12-26Release v0.1.11Robin Lindén
2017-12-25Add .editorconfigendoffile78
2017-12-17Fixed the bug when receipts for messages sent from the receipt callback ↵Yuri
never arrived.
2017-12-17Split video payload into multiple packets when >65kmannol
This is the implementation of the [proposed fix](https://github.com/TokTok/c-toxcore/issues/620#issuecomment-346902071) for [this issue](https://github.com/TokTok/c-toxcore/issues/620).
2017-12-16Test tox-bootstrapd Docker container on TravisMaxim Biro
2017-12-16Update tox-bootstrapd DockerfileMaxim Biro
2017-12-13Make Windows builds use an old Trusty image on TravisMaxim Biro
Travis has upadted their VM image and by default the latest is being used. This has caused our Windows builds to fail due to them exceeding Travis's log limit of 4mb. It appears to be due to the new Docker version the new Trusty image has, it somehow changed network behaviour in a way that makes toxcore network module output a lot more of log messages than it used to.
2017-12-12Separate FreeBSD Travis build in 2 stagesMaxim Biro
2017-12-12Fix Travis fail on addr_resolve testingDiadlo
2017-12-12Lift libconfig to v1.7.1Robin Lindén
2017-12-09Add aspcud for OpamRobin Lindén
2017-11-20forget DHT pubkey of offline friend after DHT timeoutzugz
2017-11-20Fix bootstrap portDiadlo
Test uses the first node as bootstrap, but the port is hardcoded.
2017-11-20Remove upper bound of save sizeDiadlo
2017-11-20Fix assert for the first port valueDiadlo
Port of the first tox instance will be 33445 only if this port was not in use during testing
2017-11-19Fix typoyangfl