summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-03Merge pull request #672 from alexandervdm/masterirungentoo
fix naming inconsistency in tox.h
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-02Merge pull request #669 from alexandervdm/masterirungentoo
fix 'typedef redefinition' build errors on older gcc versions
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-29Merge pull request #668 from aitjcize/api-nameirungentoo
Fix API name consistency.
2013-11-29Fix typo.AZ Huang
2013-11-29Fix API name consistency.AZ Huang
2013-11-29Fixed possible issue.irungentoo
2013-11-29Merge pull request #667 from aitjcize/ret-code-inconsistencyirungentoo
Fix return code inconsistency.
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-26Merge pull request #665 from FullName/peerdel-ntox-feedbackirungentoo
Print a more detailed message on CHAT_CHANGE_PEER_DEL, so a user isn't confounded...
2013-11-26Print a more detailed message on CHAT_CHANGE_PEER_DEL, so a user isn't ↵Coren[m]
confounded by the change of peer numbers. On deleting the last peer, it's just a delete. On deleting any other peer, the last peer is moved into that space, gaining a different number. Print that detail where appropriate.
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