summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-27don't lose globally valid addresses for locally valid onesCoren[m]
2013-09-27Logging loop corrected.Coren[m]
2013-09-27minimalistic increase in elegance ;)Coren[m]
DHT.c: - loops over assoc4/6 slightly more elegant
2013-09-27Merge pull request #606 from FullName/Permit.Wshadowirungentoo
Permit -Wshadow as useful warning.
2013-09-27Permit -Wshadow as useful warning.Coren[m]
2013-09-27expanded Client_data to hold two addresses (IPv4, IPv6) instead of oneCoren[m]
Compilerflag: CLIENT_ONETOONE_IP (to define in DHT.h, default unset i.e. NEW case: two addresses) Every function in DHT{_test}.c working on Client_data has been rewritten to store IPv4 addresses in assoc4, IPv6 addresses in assoc6. Loading/Storing of states defined with other compiler switch is transparently adjusting to the differences. DHT.h, DHT.c: - introduction and handling of the structure changes DHT_test.c, Messenger.c: - logging adapted to new structures util.h: - LOGGING isn't undefined per default anymore
2013-09-25Possible bug fixed.irungentoo
2013-09-25Fixed bug where hole punching was attempted even though theirungentoo
clients were connected. Increased the number of ports tried per interval of time. Also astyled the files.
2013-09-25Fixed possible bug.irungentoo
2013-09-24Merge pull request #596 from FullName/ping.moveandcleanirungentoo
moved stuff that belongs into ping.[ch] there
2013-09-24Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-09-24Possibly fixed the weird disconnecting/reconnecting bug.irungentoo
2013-09-24Possible bug fixed.irungentoo
2013-09-24Fixed windows build.irungentoo
2013-09-24Merge pull request #604 from JFreegman/masterirungentoo
made setfriendname() part of public api
2013-09-23check length of nameJfreegman
2013-09-23Fixed typo.irungentoo
2013-09-23made setfriendname part of public apiJfreegman
2013-09-22Merge pull request #603 from stal888/patch-4irungentoo
Fix bug.
2013-09-22Fix bug.stal
This makes it build on OS X again...
2013-09-22Merge pull request #602 from davidgumberg/groupchatirungentoo
A markdown-formatted file had the .txt extension
2013-09-22A markdown-formatted file had the .txt extensionDavid Gumberg
2013-09-22Merge pull request #601 from maksqwe/masterirungentoo
Fix typo. "if (yesno != 0 || yesno != 1)" always true
2013-09-22Fix typo. "if (yesno != 0 || yesno != 1)" always trueMaks
2013-09-22Astyled network.cirungentoo
2013-09-22Merge branch 'win_inetpton' of https://github.com/BtbN/ProjectTox-Coreirungentoo
2013-09-22Fix inet_pton/ntop on win32BtbN
2013-09-22Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-09-22Removed unused variables.irungentoo
2013-09-22Keep the code consistent.irungentoo
2013-09-22Merge branch 'patch-9001' of https://github.com/stal888/ProjectTox-Core into ↵irungentoo
stal888-patch-9001
2013-09-22Merge pull request #600 from Jman012/masterirungentoo
Fixed a bug or two.
2013-09-22Merge pull request #590 from FullName/ipv6.yield50%toipv4irungentoo
reserve half of client lists for ipv4 (take #2)
2013-09-22Fixed the connection bug and cleaned up some stuff.irungentoo
2013-09-21Fixed a bug or two.Jman012
Added breaks on the new packet handlers in doFriends for the switch statement, and added a default.
2013-09-21Fix bug.irungentoo
2013-09-21Fixed bug.irungentoo
2013-09-21Fixed bug.irungentoo
2013-09-21Change tox_get_friendlist API.Sebastian Stal
tox_get_friendlist() -> tox_copy_friendlist(). You now have to allocate your own memory to pass into tox_copy_friendlist. To help with this, tox_count_friendlist() has been added to get the length of the friend list.
2013-09-21moved stuff that belongs into ping.[ch] thereCoren[m]
DHT.*, ping.*: - moved stuff from struct DHT into struct PING: toping, last_toping - moved functions add_toping(), do_toping() - made id_closest() publicly accessible - send_ping_request(): killed (Net_Crypto *c) parameter in favor of copying it into (PING *) on new_ping() group_chats.c: - killed local 1:1 copy in favor of DHT.c::id_closest()
2013-09-21Connection speed ups.irungentoo
2013-09-21Lossless UDP is now suitable for sending files.irungentoo
Added some actual flow control and made send/recieve buffers grow when necessary.
2013-09-21Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-09-21Merge pull request #595 from FullName/MessengerLoadSaveirungentoo
Thou shalt not take singular commands after an if into #ifdef DEBUG...
2013-09-21Thou shalt not take singular commands after an if into #ifdef DEBUG...Coren[m]
toxcore/Messenger.c: - Messenger_load_old(): brackets around an #ifdef'ed line to avoid data pointer being only pushed forward properly in the error case
2013-09-20Small fix in Lossless UDP.irungentoo
2013-09-21honor the claim of sort_list(), that the result is in anti-intuitive order, ↵Coren[m]
and treat element zero as the furthest
2013-09-20Merge pull request #594 from FullName/nTox.KeepBootstrappingUntilConnectedirungentoo
nTox: keep bootstrap()ping every 10 seconds, until we get a connection...
2013-09-21nTox: keep bootstrap()ping every 10 seconds, until we get a connection ↵Coren[m]
running (the initial one might get lost, it IS done via UDP after all) nTox.c: - main(): keep calling tox_bootstrap_from_address() every 10 seconds, until the connection is established
2013-09-21Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core.git ↵Coren[m]
into ipv6.yield50%toipv4