Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-05 | Broken *_wait() into *_wait_prepare() and *_wait_execute() | Coren[m] | |
To allow the actual waiting to run without any locking, split it into preparing the data it uses and the execution of the wait. The caller must provide with the buffer to store whatever data it requires to wait. Completely eliminates any reliance on the existence of anything but that data in the actual wait routine. Also fixed a few argument type warnings inside LOGGING. | |||
2013-10-03 | Only add write-ready to select() if we have packets queued | Coren[m] | |
Lossless_UDP.*: - sendqueue_total() sums sendqueue() across all connections network.*, Messenger.c: - sendqueue_total() is collected and then used in deciding if we select() on write-readiness | |||
2013-10-02 | Add tox_wait() for socket, allow tox.h include in tox.c | Coren[m] | |
tox.*, Messenger.*, network.*; - new function tox_wait() => waitMessenger() => networking_wait(): - waits for a given amount of time for any sort of socket activity - mustn't change anything inside, mustn't poll or do other stuff - the point is to be able to call this asynchronously from a second thread - the outside shall follow up with an immediate tox_do() when there's socket activity tox.*: - allow inclusion of tox.h into tox.c, ensuring that the outside interface and the internal always match util.c: - squished a few warnings about questionable format strings | |||
2013-09-30 | Speeded up/fixed NAT hole punching and peer finding. | irungentoo | |
2013-09-29 | Fixed connection bug. | irungentoo | |
2013-09-28 | Fixed possible problem. | irungentoo | |
2013-09-28 | Potential DoS fixed. | irungentoo | |
2013-09-28 | Fixed possible bug. | irungentoo | |
2013-09-28 | Connection bug fixed. | irungentoo | |
2013-09-28 | Fixed small issue. | irungentoo | |
2013-09-28 | Behaviour with LAN ips is now better, also fixed possible bug. | irungentoo | |
2013-09-28 | LAN ips can be sent to LAN ips. | irungentoo | |
2013-09-28 | friend_iplist and route_tofriend behaviour fixes. | irungentoo | |
2013-09-27 | Fixed possible problem. | irungentoo | |
2013-09-27 | Astyled the code. | irungentoo | |
2013-09-27 | Merge branch 'ClientData46' of https://github.com/FullName/ProjectTox-Core ↵ | irungentoo | |
into FullName-ClientData46 | |||
2013-09-27 | don't lose globally valid addresses for locally valid ones | Coren[m] | |
2013-09-27 | Logging loop corrected. | Coren[m] | |
2013-09-27 | minimalistic increase in elegance ;) | Coren[m] | |
DHT.c: - loops over assoc4/6 slightly more elegant | |||
2013-09-27 | Permit -Wshadow as useful warning. | Coren[m] | |
2013-09-27 | expanded Client_data to hold two addresses (IPv4, IPv6) instead of one | Coren[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-25 | Possible bug fixed. | irungentoo | |
2013-09-25 | Fixed bug where hole punching was attempted even though the | irungentoo | |
clients were connected. Increased the number of ports tried per interval of time. Also astyled the files. | |||
2013-09-25 | Fixed possible bug. | irungentoo | |
2013-09-24 | Merge pull request #596 from FullName/ping.moveandclean | irungentoo | |
moved stuff that belongs into ping.[ch] there | |||
2013-09-24 | Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core | irungentoo | |
2013-09-24 | Possibly fixed the weird disconnecting/reconnecting bug. | irungentoo | |
2013-09-24 | Possible bug fixed. | irungentoo | |
2013-09-24 | Fixed windows build. | irungentoo | |
2013-09-24 | Merge pull request #604 from JFreegman/master | irungentoo | |
made setfriendname() part of public api | |||
2013-09-23 | check length of name | Jfreegman | |
2013-09-23 | Fixed typo. | irungentoo | |
2013-09-23 | made setfriendname part of public api | Jfreegman | |
2013-09-22 | Fix bug. | stal | |
This makes it build on OS X again... | |||
2013-09-22 | Fix typo. "if (yesno != 0 || yesno != 1)" always true | Maks | |
2013-09-22 | Astyled network.c | irungentoo | |
2013-09-22 | Merge branch 'win_inetpton' of https://github.com/BtbN/ProjectTox-Core | irungentoo | |
2013-09-22 | Fix inet_pton/ntop on win32 | BtbN | |
2013-09-22 | Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core | irungentoo | |
2013-09-22 | Removed unused variables. | irungentoo | |
2013-09-22 | Keep the code consistent. | irungentoo | |
2013-09-22 | Merge branch 'patch-9001' of https://github.com/stal888/ProjectTox-Core into ↵ | irungentoo | |
stal888-patch-9001 | |||
2013-09-22 | Merge pull request #600 from Jman012/master | irungentoo | |
Fixed a bug or two. | |||
2013-09-22 | Merge pull request #590 from FullName/ipv6.yield50%toipv4 | irungentoo | |
reserve half of client lists for ipv4 (take #2) | |||
2013-09-22 | Fixed the connection bug and cleaned up some stuff. | irungentoo | |
2013-09-21 | Fixed a bug or two. | Jman012 | |
Added breaks on the new packet handlers in doFriends for the switch statement, and added a default. | |||
2013-09-21 | Fix bug. | irungentoo | |
2013-09-21 | Fixed bug. | irungentoo | |
2013-09-21 | Fixed bug. | irungentoo | |
2013-09-21 | Change 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. |