summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2013-12-05Added a assoc test.irungentoo
Changed default assoc so that it behaves correctly.
2013-12-05Shared address space for stacking NAT (CGN) is, just like 'regular' private ↵Coren[m]
address space, LAN.
2013-12-05Merge branch 'sendnodes-with-assoc' of ↵irungentoo
https://github.com/FullName/ProjectTox-Core into FullName-sendnodes-with-assoc
2013-12-04Merge pull request #671 from palistov/do-friends-cleanupirungentoo
Clean up do_friends function
2013-12-04Messenger: Fix compile issue with check_friend_request_timed_outPaul Holden
2013-12-03get_close_nodes(): make use of assoc to find some really close nodesCoren[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-03fix naming inconsistency in tox.halexandervdm
2013-12-02Merge pull request #670 from FullName/log-match-m_friend-and-dht_friendirungentoo
Logging: Messenger's "Friend" and DHT's "DHT_Friend" don't necessarily use the same indices.
2013-12-02Don't hole punch when we are connected.irungentoo
2013-12-02Fixed bug with hole punching.irungentoo
2013-12-02Logging: 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-02Messenger: New function to check & handle timed-out friend requestsPaul Holden
2013-12-01fix 'typedef redefinition' build errors on older gcc versionsalexandervdm
building toxcore
2013-12-01Tweaked hole punching a bit.irungentoo
2013-11-30The stuff in do_DHT only need to be run once per second.irungentoo
Should lower CPU usage by a bit.
2013-11-29Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-11-29Add sodium_init() function to startup.irungentoo
2013-11-29Fix typo.AZ Huang
2013-11-29Fix API name consistency.AZ Huang
2013-11-29Fixed possible issue.irungentoo
2013-11-29Should return 0 for tox_file_dataremaining since it returns unsignedAZ Huang
2013-11-29Fix return code inconsistency.AZ Huang
2013-11-27Merge pull request #666 from FullName/nTox-variousirungentoo
Various changes to nTox including a potential crash (also possible from remote!)...
2013-11-2730 seconds is way too long.irungentoo
2013-11-27Fixed ghost peer problem.irungentoo
2013-11-27Various 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-27Friend requests from friends are now discarded.irungentoo
2013-11-25Behaviour changes for the group chat callback.irungentoo
2013-11-25Merge pull request #663 from FullName/peerchange-detailirungentoo
group_namelistchange(): for gui reasons, divulge peernumber and change type
2013-11-25setnick(): don't callback when an identical nickname is set againCoren[m]
2013-11-25Mimic 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-24Fixed possible build problem.irungentoo
2013-11-24group_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-24Fixed bug with group chats.irungentoo
2013-11-23Kill_messenger now kills group chats.irungentoo
2013-11-23Added callback that tells you when the peer name list of a group chat changes.irungentoo
2013-11-22Added function to get the number of peers and list of names for group chats.irungentoo
2013-11-21Speed up group chat bootstrapping by a bit.irungentoo
2013-11-21Group chat peers now tell others when they quit.irungentoo
Also increased ping timeout.
2013-11-19Merge pull request #656 from Jman012/masterirungentoo
Added functions tox_count_chatlist and tox_copy_chatlist.
2013-11-19Fixed a cuple stylistic bugs. Behaviour should be the same but the code is ↵Jman012
now proper. Also fixed tox_copy_friendlist.
2013-11-19Added null check to each chat before incrementing.Jman012
2013-11-19Fixed possible issue.irungentoo
2013-11-18Fixed a few typos.Jman012
2013-11-18Added 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-18Merge pull request #650 from FullName/ID-IP-basicirungentoo
Significantly trimmed down version of an ID<=>IP cache.
2013-11-17Nodes now only send good nodes (or the node that was specifically asked for).irungentoo
2013-11-17Merge pull request #652 from FullName/reset_on_long_timeoutirungentoo
Tolerate instable connectivity.
2013-11-17Fixed segfault.irungentoo
2013-11-17Tolerate 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.