Commit Graph

3013 Commits

Author SHA1 Message Date
irungentoo
2977261ef1
Added name packet to group chats, send one when appropriate. 2014-10-03 12:25:29 -04:00
dubslow
5cde8a22f3 null terminate group messages (cause jfreegman can't str8 c) 2014-10-02 21:43:59 -05:00
irungentoo
26d119a17b
Implemented tox_callback_group_namelist_change callback in group chats.
No names yet though.
2014-10-02 17:52:56 -04:00
irungentoo
c7b3b7acbd
Fixed tox_load() comment. 2014-10-02 17:37:49 -04:00
irungentoo
df21223438
People in groups can now be added/removed from friends list without issues. 2014-10-02 17:33:54 -04:00
irungentoo
92f804d0f5
Peers now time out and delete themselves from group chats.
Some other work done.
2014-10-02 16:29:03 -04:00
irungentoo
1ac1522c39
Removed useless code. 2014-10-02 08:31:14 -04:00
irungentoo
e6fcef4958
If connection is already connected, send a online packet to it. 2014-10-01 16:15:07 -04:00
irungentoo
de1a531cb1
del_groupchat and kill_groupchats now work properly. 2014-10-01 16:07:45 -04:00
irungentoo
e304fa847e
Group chats now actually work somewhat. 2014-10-01 15:28:27 -04:00
irungentoo
9dd62023f5
Added some functions to friend_connection. 2014-09-30 21:00:56 -04:00
irungentoo
45090ab2e5
Merge branch 'rework_av' 2014-09-30 13:25:43 -04:00
sin
a46810a197 Rework toxav/rtp.c to use ntohl/htonl and ntohs/htons
Now we can also remove the helper routines from toxcore/util.[ch].
2014-09-30 13:18:28 -04:00
irungentoo
627e4d3aa6
Merge branch 'master' of https://github.com/dubslow/toxcore 2014-09-29 13:49:59 -04:00
irungentoo
ad804855f9
Fixed crash in tox_new(). 2014-09-29 13:45:51 -04:00
dubslow
118febcfee change avatar requirements 2014-09-28 21:03:18 -05:00
dubslow
57666d95ba Merge branch 'master' of https://github.com/irungentoo/toxcore 2014-09-28 12:37:47 -05:00
irungentoo
acfc97d0b0
Group chats now use friendcon_id instead of friendnumber. 2014-09-28 13:25:29 -04:00
irungentoo
72d6a92efd
Merge branch 'unset_avatar' of https://github.com/JFreegman/toxcore 2014-09-28 09:31:23 -04:00
Alexandre Erwin Ittner
3711b881cb test_avatars: Implement new policy for the user avatar file
Change location of the user avatar from "<data dir>/avatar.png" to
"<data dir>/avatars/<user id>.png", as proposed by commit
6f4ab49f5c
2014-09-27 23:11:53 -03:00
irungentoo
5550cc6f31
Merge branch 'update-avatar-docs' of https://github.com/ittner/toxcore 2014-09-27 21:01:21 -04:00
irungentoo
230a65c91f
Removed send_group_message_packet and its callback function from
Messenger.
2014-09-27 20:01:41 -04:00
irungentoo
964fcacb32
Removed useless code from groupchats. 2014-09-27 19:03:29 -04:00
dubslow
6f4ab49f5c Modify avatar recommendations 2014-09-27 17:49:20 -05:00
irungentoo
1e44edaf8f
Increasing max number of onion paths might increase initial connection
speed.
2014-09-27 18:48:24 -04:00
irungentoo
6c71bb7e64
Moved all the connection stuff from messenger to friend_connection.
Messenger was doing way do many things.

friend_connection takes care of finding and establishing a connection
to friends.
2014-09-27 18:25:03 -04:00
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