Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-03 | get_close_nodes(): make use of assoc to find some really close nodes | Coren[m] | |
DHT.c: - get_close_nodes(): use assoc to find nodes for the requested reference id - handle_sendnodes*(): set a proper timestamp for "heard" nodes assoc.*: - expand Assoc_close_entries by flags for additional restrictions for search - Assoc_get_close_entries(): honor the new flags - new_Assoc() prime handling: min. prime is now 5 instead of 3, and up to 25 is handled directly - Assoc_status(): added address family for seen/heard, print of hash is now fixed width | |||
2013-12-03 | fix naming inconsistency in tox.h | alexandervdm | |
2013-12-02 | Merge pull request #670 from FullName/log-match-m_friend-and-dht_friend | irungentoo | |
Logging: Messenger's "Friend" and DHT's "DHT_Friend" don't necessarily use the same indices. | |||
2013-12-02 | Don't hole punch when we are connected. | irungentoo | |
2013-12-02 | Fixed bug with hole punching. | irungentoo | |
2013-12-02 | Logging: Messenger's "Friend" and DHT's "DHT_Friend" don't necessarily use ↵ | Coren[m] | |
the same indices. Match the indices beforehand and then log the matched up data. Also log unmatched "DHT_Friend"s minimally. | |||
2013-12-02 | Messenger: New function to check & handle timed-out friend requests | Paul Holden | |
2013-12-01 | fix 'typedef redefinition' build errors on older gcc versions | alexandervdm | |
building toxcore | |||
2013-12-01 | Tweaked hole punching a bit. | irungentoo | |
2013-11-30 | The stuff in do_DHT only need to be run once per second. | irungentoo | |
Should lower CPU usage by a bit. | |||
2013-11-29 | Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core | irungentoo | |
2013-11-29 | Add sodium_init() function to startup. | irungentoo | |
2013-11-29 | Fix typo. | AZ Huang | |
2013-11-29 | Fix API name consistency. | AZ Huang | |
2013-11-29 | Fixed possible issue. | irungentoo | |
2013-11-29 | Should return 0 for tox_file_dataremaining since it returns unsigned | AZ Huang | |
2013-11-29 | Fix return code inconsistency. | AZ Huang | |
2013-11-27 | Merge pull request #666 from FullName/nTox-various | irungentoo | |
Various changes to nTox including a potential crash (also possible from remote!)... | |||
2013-11-27 | 30 seconds is way too long. | irungentoo | |
2013-11-27 | Fixed ghost peer problem. | irungentoo | |
2013-11-27 | Various changes to nTox including a potential crash (also possible from ↵ | Coren[m] | |
remote!), and a tiny change to toxcore. Crash stuff: nTox.c: - do_refresh(): avoid crashes (input a "%" and the client goes "boom!", send someone a string with embedded "%" and see him blow up...) Other stuff: toxcore: tox.h (doc.)/network.c (code): - networking_wait_prepare(): return -1 if lenptr was NULL and therefore not settable nTox.c: - fraddr_to_str(): function to convert a TOX_FRIEND_ADDRESS into a segmented (and therefore line-breakable) string - print_friendlist(): print index of friend on name line, print id on 2nd line - command /f: skip spaces (and +) inside a friend id - command /r (new): "/r #" to remove a friend - main(): reduce cpu consumption if we're not currently sending files | |||
2013-11-27 | Friend requests from friends are now discarded. | irungentoo | |
2013-11-25 | Behaviour changes for the group chat callback. | irungentoo | |
2013-11-25 | Merge pull request #663 from FullName/peerchange-detail | irungentoo | |
group_namelistchange(): for gui reasons, divulge peernumber and change type | |||
2013-11-25 | setnick(): don't callback when an identical nickname is set again | Coren[m] | |
2013-11-25 | Mimic more exactly what delpeer() does in the callback. | Coren[m] | |
If the deleted peer wasn't last, send a name-change update for the overwritten peer. | |||
2013-11-24 | Fixed possible build problem. | irungentoo | |
2013-11-24 | group_namelistchange(): for ui reasons, divulge the peernumber and the ↵ | Coren[m] | |
nature of the change (add, del, name change). tox.*, Messenger.*, group_chats.*: - expand interface of callback by peernumber/change groupchats.c: - call callback in addpeer/delpeer/setnick with peernumber and flag nTox.c: - print_groupchatpeers(): print as many names on a line as possible, not one peer per line - print_groupnamelistchange(): only print the change, if possible (i.e. "new peer", "peer's new name") - added command "/p" to print the list of peers | |||
2013-11-24 | Fixed bug with group chats. | irungentoo | |
2013-11-23 | Kill_messenger now kills group chats. | irungentoo | |
2013-11-23 | Added callback that tells you when the peer name list of a group chat changes. | irungentoo | |
2013-11-22 | Added function to get the number of peers and list of names for group chats. | irungentoo | |
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 | Nodes now only send good nodes (or the node that was specifically asked for). | irungentoo | |
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. |