irungentoo
900d72f951
Fixed test.
2014-09-21 15:15:35 -04:00
irungentoo
c43526be9c
Fixed memory leak.
2014-09-21 14:55:23 -04:00
Alexandre Erwin Ittner
b52eb48c15
Remove chattiness from avatar data transfers
...
The chatty approach for the avatar data transfer was intended as a
security feature to add explicit delays to the transfer and prevent
amplification attacks among authenticated friends. This was deemed
unnecessary in the code review and, therefore, replaced by a simpler
approach that sends all data in a single burst.
2014-09-21 11:37:49 -03:00
irungentoo
f07c7d65b3
Tox is now shown as being online only when properly announced.
2014-09-21 10:12:55 -04:00
Alexandre Erwin Ittner
70b4018069
Remove support for avatar image formats other than PNG
...
Support for other formats was deemed unnecessary in the code review
and therefore removed. The value for the constant TOX_AVATARFORMAT_PNG
is now set in stone; if the other formats become needed again in the
future, this commit shall be reverted and the enum values reordered to
keep compatibility.
2014-09-21 10:25:46 -03:00
irungentoo
fcc6d43cf2
Prevent core from doing DNS requests when UDP is disabled.
2014-09-20 12:19:21 -04:00
irungentoo
53ce4f393b
Added TOXDNS_MAX_RECOMMENDED_NAME_LENGTH define that clients can
...
choose to ignore if they want.
2014-09-19 21:22:53 -04:00
irungentoo
729a511e82
Lowered minimum transfer speed.
2014-09-18 18:34:52 -04:00
irungentoo
9cb0c98a9c
Reduce max udp packet size to 2K.
2014-09-17 21:01:08 -04:00
irungentoo
7ec83c3623
Merge branch 'master' of https://github.com/dubslow/toxcore
2014-09-16 18:50:46 -04:00
dubslow
64830cedca
Use libsodium 0.7.0+ (more thorough though)
2014-09-16 17:20:47 -05:00
irungentoo
bd625814d1
Merge branch 'ProMcTagonist-patch-1'
2014-09-15 20:43:10 -04:00
ro
f49ab64c3b
proper libsodium version
2014-09-15 17:35:27 -07:00
irungentoo
5a2a756671
Fixed toxencryptsave include issue.
2014-09-14 13:08:01 -04:00
irungentoo
331efce602
Properly ported a toxencryptsave function to NaCl.
...
removed now useless files.
2014-09-13 23:08:16 -04:00
irungentoo
cbb526e83f
Merge branch 'encrypted_data' of https://github.com/dubslow/toxcore
2014-09-13 21:29:33 -04:00
irungentoo
ed7bed6b59
Increased maximum number of incomming TCP connections in TCP server.
2014-09-13 21:16:00 -04:00
dubslow
eb58cdc964
sigh... forgot to add very necessary files...
2014-09-12 21:18:27 -05:00
dubslow
579e7998b7
encrypted save fully work with both libsodium and nacl
...
they both reliably pass "make check"
2014-09-12 21:15:05 -05:00
irungentoo
9527d28b70
Some cleanups to last PR.
2014-09-12 17:40:09 -04:00
irungentoo
269fd6814e
Merge branch 'tox_connect' of https://github.com/saneki/toxcore
2014-09-12 17:07:27 -04:00
saneki
27369ac762
Removed tox_connect, initial connections are made on first tox_do
2014-09-12 12:21:17 -05:00
Dubslow
c26c6d86ae
memzero() segfaulted for unknown reasons... probably pebkac...
2014-09-11 22:42:22 -05:00
Dubslow
26566666aa
testing works, but doesn't pass...
2014-09-11 21:28:50 -05:00
Dubslow
61bfa596b6
Add magic number, auto tests still required
2014-09-11 19:29:18 -05:00
irungentoo
d0448d3e7b
Merge branch 'tux3-TCPSNHAPPEN27TCPSNHAPPEN27TCPSNHAPPEN27'
2014-09-11 12:39:28 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
4b2aed74ec
Replace fprintf(stderr,...) by LOGGER_*() in net_crypto
2014-09-11 17:04:37 +02:00
Dubslow
74434c7798
nacl compiles! still needs testing though.
2014-09-10 18:25:42 -05:00
Dubslow
45f3b9559b
modify inclusions
2014-09-10 18:12:58 -05:00
Dubslow
b0fabd1caa
Merge branch 'master' into encrypted_data
2014-09-10 17:57:56 -05:00
irungentoo
820a32702f
Merge branch 'compiletimeLTO' of https://github.com/tux3/toxcore
2014-09-10 13:54:02 -04:00
irungentoo
184b0503fc
Merge branch 'smallfix' of https://github.com/tux3/toxcore
2014-09-10 13:53:14 -04:00
irungentoo
ce68358b08
Merge branch 'master' of https://github.com/urras/toxcore
2014-09-10 13:52:35 -04:00
irungentoo
675f050f53
Merge branch 'tux3-master'
2014-09-10 13:52:00 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
5abcb7e32e
Remove unused function in DHT.c
2014-09-10 19:47:21 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6c2ea907e9
Remove unused variable in handle_sendnodes
2014-09-10 19:36:51 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
35da73beff
Fix exceptional leak in msi.c
2014-09-10 19:31:34 +02:00
urras
766fce3e47
Grammar fix
2014-09-10 12:50:38 -04:00
irungentoo
d69a6843e7
Merge branch 'cgar-spelling'
2014-09-09 20:39:35 -04:00
cgar
2bb2bc4163
spelling corrections
2014-09-09 20:31:37 -04:00
saneki
98a93c7880
Fixed spacing
2014-09-09 14:48:09 -05:00
Dubslow
7eb7e68805
compiling against nacl seems to break VANILLA_NACL...
2014-09-09 12:23:09 -05:00
saneki
f771bfbe30
Added tox_connect function, no connecting done during tox_load
2014-09-09 11:34:39 -05:00
Dubslow
46e03c4c2b
Merge branch 'master' into encrypted_data
2014-09-09 07:53:59 -05:00
irungentoo
a0302b7aca
Added tests for custom lossy and lossless packets.
...
Fixed bug with lossless packets.
2014-09-08 12:20:44 -04:00
irungentoo
fc77cfefdd
Fixed typo.
2014-09-07 09:06:53 -04:00
irungentoo
9ac8a5fe62
Updated docs.
...
Fixed possible issue in last commit.
2014-09-07 09:04:53 -04:00
irungentoo
64ce60c585
This fixes an issue where nodes could stay unannounced for certain
...
periods of time.
Online nodes should now be able to announce themselves continuously.
2014-09-06 22:14:13 -04:00
irungentoo
df7a627fde
Added custom packet functions to public tox api.
...
This should make it easy for people to use toxcore to power many
types of networked applications.
2014-09-05 21:31:35 -04:00
Dubslow
c3fda668f9
Merge branch 'encrypted_data' of https://github.com/dubslow/toxcore into encrypted_data
2014-09-05 05:53:39 -05:00