Commit Graph

975 Commits

Author SHA1 Message Date
irungentoo 0bcfd032e2 Added some functions to send and handle lossy packets. 2014-11-06 20:44:31 -05:00
irungentoo be27c6cfc8 Added functions to relay lossy group chat packets. 2014-11-05 20:45:38 -05:00
irungentoo 54beaa4854 Some initial groupchat lossy packet code. 2014-11-04 20:59:56 -05:00
irungentoo 1f4b061a4c Added some comments to net_crypto.h 2014-11-03 20:50:18 -05:00
irungentoo 3b14bbf78e This might fix some peer finding issues. 2014-11-02 21:00:22 -05:00
irungentoo 8c86ab2d6b Decreased Tox idle bandwidth usage but potentially increased time to
find friends (needs some real world testing).
2014-11-01 23:32:54 -04:00
irungentoo_trip d8c5be8c79 Merge branch 'master' of https://github.com/tux3/toxcore
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-31 16:27:51 -04:00
irungentoo_trip 44f63db622 Slightly improved the function that checks if Tox is online. 2014-10-30 16:06:11 -04:00
Tux3 / Mlkj / !Lev.uXFMLA efad863b27 Missing cv-qualifiers in tox.h comments 2014-10-30 09:47:34 +01:00
irungentoo_trip d6685d1c9a Added actions to group chats. 2014-10-29 23:09:33 -04:00
irungentoo_trip 70869b601e Merge branch 'master' of https://github.com/tux3/toxcore
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-27 20:57:13 -07:00
Tux3 / Mlkj / !Lev.uXFMLA 7bb0c495ac Fix DHT memory leak
Found with valgrind, in the order of magnitude of 100kB leaked
2014-10-27 22:57:12 +01:00
Tux3 / Mlkj / !Lev.uXFMLA 854142dd8d Fix typo: romdom->random 2014-10-27 22:52:03 +01:00
irungentoo_trip 18c66eed50 Initial friend finding might work a bit better. 2014-10-27 13:56:12 -07:00
irungentoo_trip b877d1dc1c Merge branch 'master' of https://github.com/xor2003/toxcore
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-25 08:51:43 -07:00
irungentoo_trip f73ad4ab05 Portability saving fixes for big endian systems.
Saves should now be portable from big endian to little endian systems
though I need someone to actually test it to be sure I didn't mess up.
2014-10-24 18:04:27 -07:00
xor2003 2aed4bb75e Add a check (reported by Coverity) 2014-10-24 16:04:55 +04:00
xor2003 7eca727ffd Don't send -1 bytes. There is such check everythere. But if we add it in side funciton the logic will change 2014-10-24 16:03:29 +04:00
xor2003 69c9f68573 Prevent lock 2014-10-24 16:01:58 +04:00
xor2003 6b0fe7eb41 Fix uninitialized 2014-10-24 15:57:10 +04:00
xor2003 837f72b39e Fix for memory leak. And add forgotten break 2014-10-24 15:53:38 +04:00
irungentoo_trip 31c17856b8 Load file portability code for big endian.
Warning: only loads, doesn't save.
2014-10-22 21:56:52 -04:00
irungentoo_trip 3c874bcf62 Fixed unaligned memory access. 2014-10-21 16:15:49 -04:00
irungentoo 5f26ee201c Increased interval and ping packet timeout by 1 second to try to
fix TCP issues.
2014-10-20 20:52:17 -04:00
irungentoo f4e050f377 Removed useless code. 2014-10-19 20:47:03 -04:00
irungentoo e322926646 File transfer speed should jump up a bit faster. 2014-10-18 21:52:39 -04:00
irungentoo 418bb2b194 Merge branch 'master' of https://github.com/xor2003/toxcore 2014-10-17 16:03:02 -04:00
xor2003 0ce68b994e Initialise source.port to prevent garbage value 2014-10-17 16:15:22 +04:00
xor2003 35b16b9cee forgotten to free memory in pAdapterInfo 2014-10-17 11:22:18 +04:00
irungentoo 6114bd7f3e Merge branch 'tox-bootstrapd-network-error-handling' of https://github.com/nurupo/InsertProjectNameHere 2014-10-15 20:01:43 -04:00
irungentoo 34311d1ba8 Merge branch 'copy_chatlist' of https://github.com/JFreegman/toxcore 2014-10-15 20:00:10 -04:00
Jfreegman 44a9375f2c re-implement copy_chatlist function 2014-10-15 00:51:45 -04:00
irungentoo 97707a74fe Add function to check if the peernumber is ours for group chats. 2014-10-14 19:43:54 -04:00
irungentoo b41eadf695 tox_count_chatlist() now works. 2014-10-13 20:27:13 -04:00
Maxim Biro 3d23982250 Fixed return value comment of new_networking function 2014-10-12 19:38:12 -04:00
irungentoo d80ee91ae7 Relay peer kill messages too. 2014-10-09 15:49:56 -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