summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2018-01-25Remove dead return statement.iphydf
Turning this code: ```c if (cond) { ... return 0; } if (!cond) { ... return 0; } return -1; ``` into: ```c if (cond) { ... return 0; } else { ... return 0; } ``` The `return -1` in the first variant can never happen.
2018-01-22Publish a single public BUILD target for c-toxcore.iphydf
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-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-20Add correction support for conferenceDiadlo
Fix #704
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-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-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-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-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-11Move Networking_Core struct into the .c file.iphydf
To make it an abstract type everywhere except in network.c.
2018-01-10Fix formatting in some C files.iphydf
Also replace &(x) with &x for consistency.
2018-01-10Call freeaddrinfo on error paths in net_getipport.iphydf
Without these, we'll have a memory leak on error paths.
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-29Remove deprecated ToxDNSiphydf
Based on #331. Fixes #42.
2017-12-26Release v0.1.11Robin Lindén
2017-12-17Fixed the bug when receipts for messages sent from the receipt callback ↵Yuri
never arrived.
2017-11-20forget DHT pubkey of offline friend after DHT timeoutzugz
2017-11-19Fix typoyangfl
2017-11-15Fix IPv4 and IPv6 loopbacksDiadlo
2017-10-28set onion pingid timeout to announce timeout (300s)zugz
2017-10-04Add log info message, when someone found client with LAN discoveryDiadlo
2017-10-04Improve LAN discoveryDiadlo
Issue: If another tox instance started on the not default port, LAN discovery will be failed. Now tox will iterate though all possible ports to find another tox instances.
2017-09-17reset hole-punching parameters after not punching for a whilezugz
2017-08-27Remove 'in_addr' and 'addrinfo' mention from network.hDiadlo
2017-08-24Add loopback and broadcast constantsDiadlo
2017-08-24Remove useless 'to_net_family' and 'to_host_family'Diadlo
2017-08-24Add platform independent constantsDiadlo
2017-08-24AF_INET -> TOX_AF_INETDiadlo
2017-08-22Fix compiler warning due to missing voidMaxim Biro
2017-08-22Define INADDR_LOOPBACK on systems not defining itMaxim Biro
2017-08-22Disable MSG_NOSIGNAL on systems not supporting itMaxim Biro
2017-08-06Release v0.1.10Robin Lindén
2017-08-05Save bandwidth by moderating onion pinging.zugz
2017-06-06Release v0.1.9Robin Lindén
2017-06-06Fix non-portable zeroing out of doublesMaxim Biro