Commit Graph

1326 Commits

Author SHA1 Message Date
irungentoo a377f55b3d Allow sending data after file is paused.
Dissallow sending non requested data.
2015-06-30 22:05:40 -04:00
irungentoo 219fabc0f5 Fixed last PR. 2015-06-28 22:51:27 -04:00
irungentoo 652eb54222 Merge branch 'master' of https://github.com/JFreegman/toxcore 2015-06-28 22:21:17 -04:00
irungentoo 6aaac706fa Fixed bug. 2015-06-28 22:15:29 -04:00
irungentoo 50e0802a62 Removed useless parameter from new_TCP_server() 2015-06-28 22:14:54 -04:00
Jfreegman 684ddd7667 Clarifications for the TCP API 2015-06-28 21:36:35 -04:00
irungentoo b8362a6726 Removed some comented out code. 2015-06-27 23:37:11 -04:00
irungentoo 0e982405d6 Some comment fixes. 2015-06-26 22:58:59 -04:00
irungentoo f2be0a3c5d Fixed warning. 2015-06-25 22:18:34 -04:00
irungentoo 1434b319f3 Added code to net_crypto to calculate rtt. 2015-06-23 22:05:39 -04:00
irungentoo f0433595f9 Fixed warning. 2015-06-22 22:34:19 -04:00
irungentoo a0e783213b Lower the chances of disconnect when transferring files. 2015-06-21 21:36:10 -04:00
irungentoo 022a3ec0d8 Merge branch 'doc' of https://github.com/zetok/ProjectTox-Core 2015-06-20 21:35:20 -04:00
irungentoo 8383cc5ae3 Merge branch 'contributing' of https://github.com/zetok/ProjectTox-Core 2015-06-19 21:50:59 -04:00
Zetok Zalbavar 68dc14f80c Add real instruction on how to use APIDSL and astyle
also add to "tox{,.in}.h" note that "tox.h" shouldn't be edited directly,
pointing to "tox.in.h"
2015-06-20 01:22:46 +01:00
Zetok Zalbavar 4ffd5584f9 Improve documentation about tcp_port
Apparently it's not entirely clear that it's not needed in clients.

v2, as provided by @nurupo
2015-06-20 01:08:43 +01:00
irungentoo c13fb9a34d Fixed warning. 2015-06-17 23:11:10 -04:00
irungentoo 67df1ab7ce Made new_tcp_connections() not depend on dht. 2015-06-16 23:00:24 -04:00
irungentoo 48ef0f3241 Fixed warning. 2015-06-15 22:11:07 -04:00
irungentoo 1bfb76bafe Fixed warning. 2015-06-13 22:50:45 -04:00
irungentoo bc5d5905d7 Reannounce if path is considered dead. 2015-06-11 19:40:37 -04:00
irungentoo ae2caad982 Use real path num in onion client. 2015-06-10 22:39:11 -04:00
irungentoo 8ac74ebf47 Define fix. 2015-06-09 23:09:26 -04:00
irungentoo 3e352749ad Remove useless variables. 2015-06-08 22:02:34 -04:00
irungentoo 3299452dd9 Merge branch 'improve-crypto' of https://github.com/codedust/toxcore 2015-06-07 21:05:30 -04:00
irungentoo 0a38ffcbba Don't bootstrap to all loaded nodes at once. 2015-06-07 20:47:40 -04:00
irungentoo 14afb3b9b7 Save DHT friend nodes too. 2015-06-07 20:30:36 -04:00
irungentoo f4d0b85284 Save DHT nodes in a smarter way. 2015-06-06 22:13:43 -04:00
codedust ee1ab5f0c7 Improve readability of handle_request() in crypto_core.c
Moving 'return -1;' directly below the conditions improves readability
and also better represents the coding style of other functions in
crypt_core.c (and everywhere else).
2015-06-06 16:44:29 +02:00
irungentoo 6d883f488f Return error if file_id parameter is NULL. 2015-06-03 19:56:12 -04:00
irungentoo 097422a02c Small change. 2015-06-02 19:56:12 -04:00
irungentoo b072c692e7 Congestion control tweaks. 2015-05-31 20:10:38 -04:00
irungentoo 240561b557 Return port error if tcp server failed to init. 2015-05-30 21:06:38 -04:00
irungentoo 5ea703c844 Comment fix. 2015-05-29 19:01:14 -04:00
irungentoo 29c37bf2f4 Fixed comment. 2015-05-28 11:37:24 -04:00
irungentoo ce077eeeb3 Fixed rare bug where userstatus, name, etc... would not be sent to friend. 2015-05-26 20:52:09 -04:00
irungentoo f7d203925f Fixed bug when deleting friend that we are connected to in group chat. 2015-05-26 20:30:24 -04:00
irungentoo 441e007362 tox_new returns NULL on failure. 2015-05-25 15:20:38 -04:00
irungentoo 0cb20c139f Merge branch 'pointless-check' of https://github.com/tux3/toxcore 2015-05-24 20:58:55 -04:00
irungentoo 8e80ced6ce Move savedata to options struct.
Add a way to select the type of savedata (normal savedata, load a
secret key, potentially others?) to load.
2015-05-22 18:23:56 -04:00
irungentoo 2ba076ac5c Load only secret key from tox save, not public key.
Calculate public key from it.
2015-05-21 20:39:47 -04:00
irungentoo 7315ad08dd Merge branch 'tcp_server' 2015-05-20 15:52:03 -04:00
irungentoo 815725ab84 Some fixes. 2015-05-19 19:55:43 -04:00
tux3 19bd38999b Remove pointless nullity check on array address
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-19 19:53:55 +02:00
irungentoo 1919292024 If we get the ip/port of a relay on a local ip, assume that our friend
is hosting a relay on his ip.
2015-05-18 20:40:18 -04:00
irungentoo 8760aba257 Some protocol efficiency improvements.
Reduced the amount of waste from dropped packets.
2015-05-17 18:41:02 -04:00
irungentoo e3ee9702fb Don't resend the same packet twice within a short timeframe. 2015-05-16 21:57:07 -04:00
irungentoo b5d712502b Fixed friends getting disconnected when transferring files. 2015-05-15 21:27:50 -04:00
irungentoo 40f113c077 Added tcp test. 2015-05-14 21:07:29 -04:00
irungentoo 53c6b26a7e Connect to own TCP server if hosting one.
Removed useless code.
2015-05-12 20:59:28 -04:00