Commit Graph

2923 Commits

Author SHA1 Message Date
irungentoo
83e31c1ad5
Merge branch 'JFreegman-groupnames' 2014-10-05 10:42:05 -04:00
Jfreegman
4ea4228d51
implement group_names function 2014-10-05 02:31:19 -04:00
irungentoo
5555f01e27
Send friend request with connection if for some reason (groupchats) we
are already connected to the friend but they have not added us yet.
2014-10-04 16:49:17 -04:00
irungentoo
cafbdd5d94
Reduced the risk of two people being given the same peer id in groups. 2014-10-04 13:00:26 -04:00
irungentoo
07ab8e5287
Fixed group peer chosing algorithm.
Groups should be much more stable.
2014-10-04 12:03:39 -04:00
irungentoo
3cc93792da
Removed useless variables. 2014-10-03 17:24:56 -04:00
irungentoo
c05cd74870
Added names to peer response packet. 2014-10-03 17:24:32 -04:00
irungentoo
45ca02f5a2
Fixed group bugs.
Connections should now die when appropriate instead of lingering
endlessly.
2014-10-03 16:54:03 -04:00
irungentoo
b969f1b2d8
Kill group connection to friend once we are connected to group. 2014-10-03 15:57:37 -04:00
irungentoo
6687a05650
Merge branch 'master' of https://github.com/dubslow/toxcore 2014-10-03 14:00:39 -04:00
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