Commit Graph

3500 Commits

Author SHA1 Message Date
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
mannol
3100042a2b Updated with master 2015-05-22 23:22:31 +02: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
mannol
62c40af1a0 Added apidsl input file 2015-05-16 18:51:11 +02: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
mannol
64037017cc Fix bug 2015-05-12 22:16:00 +02: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
Maxim Biro
86cd3141d0 Updated daemon's systemd file, fixed typos in README
@arthurtiteica has pointed out that systemd has more suitable facilities for
creating a temporary directory for a PID file rather than calling  ExecStartPre,
which requires an absolute path to coreutils executables we used for creating a
directory and changing its owner, paths of which are are not universal across
distributions. Systemd can take care of it for us without need to provide
absolute paths, which is what we use here.
2015-05-10 03:04:42 -04:00
irungentoo
b2350f2e26
Check if call supports video encoding before encoding frame. 2015-05-09 16:09:48 -04:00
irungentoo
82ad181e31
Increased max announce entries. 2015-05-08 22:06:55 -04:00
irungentoo
3a28a8c5fb
Added basic TCP server hosting to tox.h api.
TODO: tell friends we are hosting a relay and prioritize using relays
hosted by friends over bootstrap ones.
2015-05-08 22:03:24 -04:00
irungentoo
6a4c2e8fc6
Only set last_to_ping if at least one node was pinged, 2015-05-07 20:58:39 -04:00
mannol
73fbc22961 Fixed inconsistencies 2015-05-07 23:14:03 +02:00
irungentoo
3d70fe126c
Removed useless line. 2015-05-06 21:04:31 -04:00
irungentoo
048d793021
Toxav fix.
Use stored image width instead of displayed image width.
2015-05-05 16:12:09 -04:00
irungentoo
84d4f95038
Fixed possible connection issue. 2015-05-04 08:40:21 -04:00
irungentoo
d2929881ca
Removed useless code. 2015-05-03 20:53:25 -04:00
irungentoo
0045ace8a8
Small cleanups. 2015-05-02 21:55:42 -04:00
mannol
eb6e8aa290 Fixed* api comments and some bugs 2015-05-01 22:29:25 +02:00
irungentoo
a01a05a943
Fixed warning. 2015-05-01 16:13:59 -04:00
irungentoo
6da97bb48a
Fixed some non standard C. 2015-05-01 16:05:59 -04:00
irungentoo
bd67129c3e
Added a define for the length of onion paths. 2015-05-01 15:46:48 -04:00
irungentoo
7d13f1928e
Fixed some non standard C.
Replaced void * with uint8_t * in list.c
2015-05-01 15:13:38 -04:00
irungentoo
b2c966a6e3
Fixed some warnings.
Removed useless include.
2015-04-30 20:51:43 -04:00
irungentoo
280ae5ecdd
Merge branch 'uuoc' of https://github.com/tsudoko/toxcore 2015-04-29 20:48:40 -04:00