summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2013-12-15Code cleanups.irungentoo
No functionality changed.
2013-12-14Fixed comment.irungentoo
2013-12-13small fixJfreegman
2013-12-13added groupchat actionsJfreegman
2013-12-13Merge pull request #678 from FullName/retipp-fixirungentoo
Fix a code cleanup.
2013-12-12Merge branch 'assoc-refresh-distant-data' of ↵irungentoo
https://github.com/FullName/ProjectTox-Core into FullName-assoc-refresh-distant-data
2013-12-12Fixed arm bug.irungentoo
2013-12-12Fixed arm bug.irungentoo
2013-12-11Fix a code cleanup.Coren[m]
DHT.c: - get_close_nodes(): - allow two 'indirect' nodes ('indirect' as in distant from us and therefore not tested regularly, "bad") - be consequent when testing for NULLed results, pack nodes_list dense - (logging) dump number of found entries from assoc - returnedip_ports(): - fix code cleanup, the entry to be added is about the node we were told, not about the node who told us assoc.c: - Assoc_get_close_entries(): break from loops as soon as a marking-invalid-node is hit
2013-12-11Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-12-11Increased some intervals/timeouts to lower network usage.irungentoo
2013-12-10More API consistent fix.AZ Huang
2013-12-09Fixed possible issue.irungentoo
2013-12-08Cleaned up and fixed various things.irungentoo
2013-12-08Send groupchat ips like DHT ones.irungentoo
2013-12-08Compatibility fixes.irungentoo
AF_INET/AF_INET6 can vary across devices, we introduce TOX_AF_INET and TOX_AF_INET6 to fix this.
2013-12-08do_Assoc(): keep the data of the buckets somewhat currentCoren[m]
2013-12-07Small fixes.irungentoo
2013-12-07Added/updated some basic docs and cleaned up some things.irungentoo
2013-12-07Try to replace not tested/possibly bad nodes before good nodes.irungentoo
2013-12-06Merge branch 'master' into hardenirungentoo
2013-12-05Merge pull request #674 from FullName/RFC6598irungentoo
Shared address space for stacking NAT (CGN) is LAN.
2013-12-05Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-12-05All nodes returned must be good.irungentoo
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