Commit Graph

3520 Commits

Author SHA1 Message Date
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
4b9425fc6c
Fixed travis. 2015-06-14 21:48:10 -04:00
irungentoo
1bfb76bafe
Fixed warning. 2015-06-13 22:50:45 -04:00
irungentoo
836daa9e95
Added save/load live test. 2015-06-12 23:05:37 -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
81d95809fd
Test fix. 2015-06-07 20:56:02 -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
bf90c63c27
Added test. 2015-06-05 22:11:19 -04:00
irungentoo
5196aa82ca
Added test. 2015-06-04 22:18:09 -04:00
irungentoo
6d883f488f
Return error if file_id parameter is NULL. 2015-06-03 19:56:12 -04:00
irungentoo
8f346b4617
Merge branch 'instructions' of https://github.com/zetok/ProjectTox-Core 2015-06-03 12:04:26 -04:00
Zetok Zalbavar
99a678dd26
Update INSTALL.md a bit
* add install instructions for Gentoo
* adjust build instructions for presence of libsodium in some distros
2015-06-03 09:35:58 +01:00
irungentoo
097422a02c
Small change. 2015-06-02 19:56:12 -04:00
irungentoo
17f7376581
Add a test for loading with a secret key. 2015-06-01 20:16:03 -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
3f6a8f10bb
Allow empty keys in toxencryptsave. 2015-05-27 19:54:04 -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
51c5810d72
These parameters should have been const. 2015-05-26 12:57:14 -04:00
irungentoo
441e007362
tox_new returns NULL on failure. 2015-05-25 15:20:38 -04:00
irungentoo
8a32b3a12f
Merge branch 'bootstrapd-update2' of https://github.com/nurupo/InsertProjectNameHere 2015-05-24 21:00:45 -04:00
irungentoo
0cb20c139f
Merge branch 'pointless-check' of https://github.com/tux3/toxcore 2015-05-24 20:58:55 -04:00
irungentoo
8c568a2cec
Merge branch 'urras-master' 2015-05-23 15:15:32 -04:00
urras
e1a419aafc
Fix make dist, broken in 422e744 2015-05-23 14:51:11 -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
782d68cdc3
Syncbot fixes. 2015-05-20 14:09:05 -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
06188e9818
Fixed segfault in tox-bootstrapd. 2015-05-13 10:45:16 -04:00
irungentoo
53c6b26a7e
Connect to own TCP server if hosting one.
Removed useless code.
2015-05-12 20:59:28 -04:00
irungentoo
478552d338
Fixes and changes to tox_bootstrap and tox_add_tcp_relay.
Functionality of both no longer overlaps.

If address has more than 1 ip, call the internal function on all of them.
2015-05-11 12:41:53 -04:00
irungentoo
88dbc9b56c
TCP relays are not sure to be valid onion nodes. 2015-05-10 21:01:42 -04:00