summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-06Merge remote-tracking branch 'upstream/master' into wait: replace void *tox ↵Coren[m]
with Tox *tox in tox.c (which now includes the declarations from tox.h)
2013-10-06sendqueue_length no longer determines if we check for socket-can-write, but ↵Coren[m]
sendpacket() sets a timestamp if it happened network.*: - sendpacket(): checks result and on EAGAIN, stores time of this event - networking_wait_prepare(): uses the time if set to check up to 500ms later for the socket to be writeable again - networking_wait_cleanup(): clears the time if the socket was writeable - fixed some accidental tabs Messenger.*, tox.*: - pass-through functions to reach networking_wait_cleanup() - fixed some accidental tabs
2013-10-05Fixed warnings.irungentoo
2013-10-05Tox sync added.irungentoo
Tox sync is a proof of concept bittorrent sync inspired application that uses tox to sync the contents of two folders. Currently only works on POSIX compilant operating systems.
2013-10-05Fixed file sending bug.irungentoo
2013-10-05m_addfriend_norequest now prevents you from adding your own id as friend.irungentoo
2013-10-05Broken *_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-04Fixed some possible bugs.irungentoo
2013-10-03Code cleanups.irungentoo
2013-10-03Only add write-ready to select() if we have packets queuedCoren[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-02Merge branch 'file-transfers'irungentoo
File transfers are now working and in public api.
2013-10-02File sending added to public api.irungentoo
2013-10-02Merge branch 'file-transfers' of ↵irungentoo
https://github.com/irungentoo/ProjectTox-Core into file-transfers
2013-10-02File control packets can now be used by the person sending the file.irungentoo
2013-10-02Add tox_wait() for socket, allow tox.h include in tox.cCoren[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-10-02Max length of filenames is now 255 bytes.irungentoo
2013-10-02Fixed bug.irungentoo
2013-10-01Removed useless ifdefs.irungentoo
2013-10-01nTox updated with changes in core, some file sending things fixes.irungentoo
2013-10-01Core now takes better care of file transfers.irungentoo
2013-10-01File sending now works on bad wireless connections.irungentoo
2013-09-30Speeded up/fixed NAT hole punching and peer finding.irungentoo
2013-09-30Basic ntox file sending.irungentoo
2013-09-30File sending.irungentoo
2013-09-29Updated TODO.irungentoo
2013-09-29Fixed connection bug.irungentoo
2013-09-28Fixed possible problem.irungentoo
2013-09-28Potential DoS fixed.irungentoo
2013-09-28Fixed possible bug.irungentoo
2013-09-28Connection bug fixed.irungentoo
2013-09-28Merge branch 'FullName-ClientData46'irungentoo
2013-09-28Fixed small issue.irungentoo
2013-09-28Behaviour with LAN ips is now better, also fixed possible bug.irungentoo
2013-09-28LAN ips can be sent to LAN ips.irungentoo
2013-09-28friend_iplist and route_tofriend behaviour fixes.irungentoo
2013-09-28Merge pull request #608 from Nominate/patch-5irungentoo
Update INSTALL.md
2013-09-28Update INSTALL.mdNominate
Included git in the apt-get so that new users can use the necessary git clone command.
2013-09-27Fixed possible problem.irungentoo
2013-09-27Astyled the code.irungentoo
2013-09-27Merge branch 'ClientData46' of https://github.com/FullName/ProjectTox-Core ↵irungentoo
into FullName-ClientData46
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