Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-21 | Speed up group chat bootstrapping by a bit. | irungentoo | |
2013-11-21 | Group chat peers now tell others when they quit. | irungentoo | |
Also increased ping timeout. | |||
2013-11-19 | Merge pull request #656 from Jman012/master | irungentoo | |
Added functions tox_count_chatlist and tox_copy_chatlist. | |||
2013-11-19 | Fixed a cuple stylistic bugs. Behaviour should be the same but the code is ↵ | Jman012 | |
now proper. Also fixed tox_copy_friendlist. | |||
2013-11-19 | Added null check to each chat before incrementing. | Jman012 | |
2013-11-19 | Fixed possible issue. | irungentoo | |
2013-11-18 | Fixed a few typos. | Jman012 | |
2013-11-18 | Added functions tox_count_chatlist and tox_copy_chatlist. | Jman012 | |
These functions are akin to the tox_count_friendlist and tox_copy_friendlist, made available on the public API. | |||
2013-11-18 | Merge pull request #650 from FullName/ID-IP-basic | irungentoo | |
Significantly trimmed down version of an ID<=>IP cache. | |||
2013-11-17 | Merge pull request #652 from FullName/reset_on_long_timeout | irungentoo | |
Tolerate instable connectivity. | |||
2013-11-17 | Fixed segfault. | irungentoo | |
2013-11-17 | Tolerate instable connectivity: if *all* set close nodes are in terminal ↵ | Coren[m] | |
timeout (KILL_NODE_TIMEOUT), reset them all to BAD_NODE_TIMEOUT. That keeps the client trying to at least ping the nodes in the hopes of the connection coming back up. | |||
2013-11-16 | Fixed build error on windows. | irungentoo | |
2013-11-16 | Send our name when someone new joins the group chat. | irungentoo | |
2013-11-17 | Assoc's array is now allocated dynamically and per default much smaller (320 ↵ | Coren[m] | |
entries). id_hash() was not at all working as expected for very small bucket size (when (size / 4) was zero). Simplified to be trivially correct. Also added a used flag on adding an entry, which is set by callers if they have that association in active use. Those get priority over unused entries on collision. Fleshed out test to be at least elementary useful. Each group chat now uses an own, small assoc (80 entries). | |||
2013-11-14 | Merge pull request #649 from FullName/DHT-client_id-change-wipe-other-address | irungentoo | |
On replacing a client with another, clear the stale association. | |||
2013-11-14 | Significantly trimmed down version of an ID<=>IP cache. | Coren[m] | |
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving. | |||
2013-11-14 | On replacing a client with another, clear the stale association. | Coren[m] | |
Also check both associations for timeout, not just the incoming one. Also removed client_in_list(): static & unused. | |||
2013-11-13 | IPv6 address of ::1 is local. | Coren[m] | |
2013-11-12 | Cleaned up the code. | irungentoo | |
2013-11-12 | Merge branch 'group_peername' of https://github.com/FullName/ProjectTox-Core ↵ | irungentoo | |
into FullName-group_peername | |||
2013-11-12 | Merge pull request #645 from FullName/nTox-patches | irungentoo | |
nTox: enforce friend name null termination, reduce memory loss, allow nickchange as oldname=>newname | |||
2013-11-12 | Group chat: Add a nickname message. Remove strange default nickname. ↵ | Coren[m] | |
(Seriously...) group_chats.*: - group_send_nick() to send own name - setnick() to store a received name Messenger.c: - group_send_nick() before group_sendmessage() (in regular intervals, to inform new peers) nTox.c: - print_groupmessage(): on error or on a name of length zero the result of tox_group_peername() isn't null-terminated, catch that | |||
2013-11-11 | Fixed possible segfault. | irungentoo | |
2013-11-11 | Merge remote-tracking branch 'upstream/master' into nTox-patches | Coren[m] | |
2013-11-11 | nTox.c: | Coren[m] | |
- multiple places: tox_getname() doesn't terminate the string, make sure nTox does - format_message(): . - renamed to print_formatted_message() . - changed semantics: does the new_line() itself, saves caller from freeing the buffer (which no caller did) . - changed signature: now also prints the friend's name when sending . - intern: date is only printed once, the message line gets only time - print_message(): enforce null termination - main(): . - setlocale() to init locale (for date/time printing) . - own name: ensure null termination Messenger.c: - notify of friend name change *before* the old name is overwritten | |||
2013-11-09 | Optimized data sending slightly more. | irungentoo | |
2013-11-08 | Code cleanups. | irungentoo | |
2013-11-07 | Merge branch 'add2lists_forward' of ↵ | irungentoo | |
https://github.com/FullName/ProjectTox-Core into FullName-add2lists_forward | |||
2013-11-07 | Merge pull request #642 from FullName/dht_handle_sendnodes_unify | irungentoo | |
Unify most of handle_sendnodes[_ipv6]() into a common core. | |||
2013-11-06 | Unify most of handle_sendnodes[_ipv6]() into a common ↵ | Coren[m] | |
handle_sendnodes_core(), leave only a minimal trail. | |||
2013-11-06 | Behind #define LOGGING: Correct usage of now() to replacement unix_time(). | Coren[m] | |
2013-11-06 | addto_lists(): store the IP/Port that was used to *send*. | Coren[m] | |
Avoids a DOS of sending a copy of a valid response with an invalid IP. | |||
2013-11-05 | Auto delete inactive peers in the group chat. | irungentoo | |
2013-11-04 | Send ping packets in group chats every 30 seconds. | irungentoo | |
2013-11-03 | The group chats we invite a friend to are now stored. | irungentoo | |
2013-11-02 | Fixed possible issue. | irungentoo | |
2013-10-27 | Cleaned up some code/fixed some warnings. | irungentoo | |
I'm sure nobody has any of the old save files anymore so I removed the functions. | |||
2013-10-26 | Increased port range. | irungentoo | |
2013-10-26 | Clarified a comment. | irungentoo | |
2013-10-25 | Update time before running functions for recieved packets. | irungentoo | |
2013-10-25 | All modules using unix_time should run unix_time_update() | irungentoo | |
2013-10-25 | For security reasons, keep memcpy's and memcmp's in crypto functions. | irungentoo | |
2013-10-24 | Merge remote-tracking branch 'upstream/master' into ↵ | Coren[m] | |
cleanup_unix_time_id_eq_cpy_is_timeout Conflicts: toxcore/net_crypto.c | |||
2013-10-24 | Move unix_time(), id_cpy()/id_eq(), is_timeout() to util.* | Coren[m] | |
unix_time(): - returns local value for current epoch - value is updated explicitly with unix_time_update() called at new_DHT()/doMessenger()/do_DHT() is_timeout(): - uses the local value for current epoch id_cpy()/id_eq() => id_copy()/id_equal(): - centralized duplicate definitions - replaced (most) memcpy()/memcmp() of (*, *, CLIENT_ID_SIZE) with id_copy()/id_equal() | |||
2013-10-23 | Code cleanups. | irungentoo | |
2013-10-23 | Code cleanups. | irungentoo | |
2013-10-22 | This squash should work now. | Bahkuh | |
2013-10-20 | Fixed possible bug. | irungentoo | |
2013-10-20 | Merge branch 'Cleanup-defines' of ↵ | irungentoo | |
https://github.com/FullName/ProjectTox-Core into FullName-Cleanup-defines |