irungentoo
834ffee47d
Make the ip port from DHT timeout after a while.
...
Some small fixes.
2014-09-27 08:00:42 -04:00
irungentoo
03d6f95713
Remove timestamp from set_connection_dht_public_key().
2014-09-26 21:22:07 -04:00
irungentoo
33e5c34aaf
Only set dht public key and direct ip when first creating connection.
...
Check if ip family is valid in set_direct_ip_port() function.
2014-09-26 21:14:36 -04:00
irungentoo
a8b7ddc1a3
Moved cleaup_friend functionality to Messenger.
2014-09-26 21:01:18 -04:00
irungentoo
c618263acd
Removed useless code from onion_client.
...
Astyled.
2014-09-26 20:43:59 -04:00
irungentoo
f2a313359e
Added callbacks to onion_client and net_crypto for the temp dht key.
...
Better than the polling mess.
Moved DHT to Messenger from onion_client (still needs some cleanups).
2014-09-26 20:32:38 -04:00
irungentoo
939f2003ef
Removed now useless network sturct size tests.
2014-09-26 18:01:03 -04:00
irungentoo
33721da46a
Added callbacks to DHT called when the ip of a peer is discovered.
2014-09-26 17:56:06 -04:00
irungentoo
b308afd742
Wrote more new groupchats code.
2014-09-26 16:05:10 -04:00
irungentoo
bb60c28b73
DHT can now be used for group chat cons and friend cons at the same time.
2014-09-26 15:42:56 -04:00
Jfreegman
83842e6648
add API function to unset avatar
2014-09-26 14:32:49 -04:00
irungentoo
8b35d194c0
Group chats are starting to work.
2014-09-26 13:25:52 -04:00
irungentoo
d5d84818fe
More groupchats code written.
2014-09-25 21:05:17 -04:00
Alexandre Erwin Ittner
c17fc040a4
Update avatar documentation
...
Update the documentation to reflect the API changes introduced by
commits 21be438b2b
and
d409bad30d
2014-09-25 22:03:36 -03:00
irungentoo
ebdfa892b3
Removed now useless atributes from structs.
2014-09-25 16:49:05 -04:00
irungentoo
d67624bf99
Removed groupchats from core.
2014-09-25 16:48:18 -04:00
irungentoo
aca2d61843
Some code written for new group chats.
2014-09-25 15:10:54 -04:00
irungentoo
d264010364
Tox object doesn't need to be passed to tox_hash.
2014-09-25 07:18:44 -04:00
irungentoo
80fdfbad07
Merge branch 'master' of https://github.com/dubslow/toxcore
2014-09-25 07:16:49 -04:00
dubslow
4ede062e60
Merge branch 'dubslow-housekeeping-docs' of https://github.com/ittner/toxcore
2014-09-24 20:57:17 -05:00
Alexandre Erwin Ittner
fc28c2402e
Update documentation after API changes
...
Commit ba6ae15a73
introduced some API
changes, update the documentation to reflect them.
2014-09-24 22:27:00 -03:00
dubslow
d409bad30d
remove tox_avatar_hash
2014-09-24 18:06:30 -05:00
irungentoo
bce301f3c3
Merge branch 'stal888-patch-1'
2014-09-24 18:00:17 -04:00
dubslow
ba6ae15a73
housekeeping
2014-09-24 13:00:42 -05:00
stal
f27794000a
ifdef out use of linux/limts.h in test_avatars
...
This fixes building on OS X and other systems whose limits.hs have PATH_MAX.
2014-09-23 20:47:21 -07:00
irungentoo
744f51ec36
Added some checks to mutex related functions.
2014-09-23 21:00:12 -04:00
irungentoo
da70ef899e
Merge branch 'update-crosscompile-instructions' of https://github.com/nurupo/InsertProjectNameHere
2014-09-22 16:43:56 -04:00
irungentoo
e0725ac74c
Fixed typo.
2014-09-22 15:17:17 -04:00
irungentoo
21be438b2b
Some fixes to avatar pull request.
...
Some bug fixes.
Grouped all avatar related functions in the same place in tox.h
2014-09-22 15:12:48 -04:00
irungentoo
b52da45aeb
Merge branch 'avatars' of https://github.com/ittner/toxcore
2014-09-22 15:07:14 -04:00
Maxim Biro
468b0aa154
Updated cross-compile instructions
2014-09-22 01:07:21 -04:00
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