Commit Graph

2930 Commits

Author SHA1 Message Date
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
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