summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2015-05-28Fixed comment.irungentoo
2015-05-26Fixed rare bug where userstatus, name, etc... would not be sent to friend.irungentoo
2015-05-26Fixed bug when deleting friend that we are connected to in group chat.irungentoo
2015-05-25tox_new returns NULL on failure.irungentoo
2015-05-24Merge branch 'pointless-check' of https://github.com/tux3/toxcoreirungentoo
2015-05-22Move savedata to options struct.irungentoo
Add a way to select the type of savedata (normal savedata, load a secret key, potentially others?) to load.
2015-05-21Load only secret key from tox save, not public key.irungentoo
Calculate public key from it.
2015-05-20Merge branch 'tcp_server'irungentoo
2015-05-19Some fixes.irungentoo
2015-05-19Remove pointless nullity check on array addresstux3
assoc->self_client_id is always true, therefore we can remove it from that if" -m "The if thus asserts !assoc->self_hash, so we can elide the immediately following if (!assoc->self_hash)
2015-05-18If we get the ip/port of a relay on a local ip, assume that our friendirungentoo
is hosting a relay on his ip.
2015-05-17Some protocol efficiency improvements.irungentoo
Reduced the amount of waste from dropped packets.
2015-05-16Don't resend the same packet twice within a short timeframe.irungentoo
2015-05-15Fixed friends getting disconnected when transferring files.irungentoo
2015-05-14Added tcp test.irungentoo
2015-05-12Connect to own TCP server if hosting one.irungentoo
Removed useless code.
2015-05-11Fixes and changes to tox_bootstrap and tox_add_tcp_relay.irungentoo
Functionality of both no longer overlaps. If address has more than 1 ip, call the internal function on all of them.
2015-05-10TCP relays are not sure to be valid onion nodes.irungentoo
2015-05-08Increased max announce entries.irungentoo
2015-05-08Added basic TCP server hosting to tox.h api.irungentoo
TODO: tell friends we are hosting a relay and prioritize using relays hosted by friends over bootstrap ones.
2015-05-07Only set last_to_ping if at least one node was pinged,irungentoo
2015-05-06Removed useless line.irungentoo
2015-05-04Fixed possible connection issue.irungentoo
2015-05-03Removed useless code.irungentoo
2015-05-02Small cleanups.irungentoo
2015-05-01Fixed warning.irungentoo
2015-05-01Added a define for the length of onion paths.irungentoo
2015-05-01Fixed some non standard C.irungentoo
Replaced void * with uint8_t * in list.c
2015-04-30Fixed some warnings.irungentoo
Removed useless include.
2015-04-27Move LAN discovery from Messenger to friend_connection.irungentoo
2015-04-26Fixed one case of the connection callback not getting called on reconnection.irungentoo
2015-04-25Switched tox.h to the dsl generated one.irungentoo
Added input file to generate it. Moved the astyle stuff to the astyle directory in other/.
2015-04-24Fixed some possible connection issues.irungentoo
2015-04-24Fixed a couple possible issues with the friend connection callback.irungentoo
A TCP callback could be received when only a UDP connection was present. Increased a UDP timeout to make it less likely to time out and switch to TCP.
2015-04-23Fixed some warnings.irungentoo
2015-04-22Fixed a case where the tcp_data_callback would get called when theirungentoo
connection only worked 1 way.
2015-04-22Fixed possible bug.irungentoo
2015-04-22Fixed possible bug.irungentoo
2015-04-22Fixed possible issue.irungentoo
2015-04-21Move the send tcp relay packet from Messenger to friend connection.irungentoo
2015-04-21Only allocate some TCP connections for onion use when needed.irungentoo
Added a function to enable and disable TCP onion connections.
2015-04-21If a net_crypto connection isn't using the TCP relays, disconnect from them.irungentoo
TCP_connections can now be put to sleep, a state where they store what they were connected to without being connected and then resumed from sleep.
2015-04-20Some small fixes.irungentoo
Increased interval between onion key changes to 2 hours.
2015-04-19Removed useless stuff.irungentoo
2015-04-19If connection is directly connected, don't fallback to sending with tcpirungentoo
if sending directly fails.
2015-04-18Some changes to net crypto.irungentoo
Should fix certain connection issues that sometimes happen. The dht public key of the peer must be known to create the connection. If the dht pk of the peer changes when a connection is active, it is killed to make way for the new one.
2015-04-18The only secure compare function currently needed is one to compare 2 public ↵irungentoo
keys.
2015-04-18Some messenger fixes.irungentoo
2015-04-18Send oob packets to all relays tied to the connection.irungentoo
Don't fallback to sending oob packets if pipe for normal connection is clogged.
2015-04-18Enable proxy support in TCP_connection.irungentoo