summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
AgeCommit message (Collapse)Author
2013-10-23Code cleanups.irungentoo
2013-10-15Added resume support if the connection breaks during file sending.irungentoo
2013-10-13A/V integration in progress.irungentoo
Added functions to send/receive msi packets via secure messenger connections. Made function to get the ip/port of a friend in Messenger.c public
2013-10-10Added message ids to action messagesMaxim Biro
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-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-03Code cleanups.irungentoo
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-01nTox updated with changes in core, some file sending things fixes.irungentoo
2013-10-01Core now takes better care of file transfers.irungentoo
2013-09-30File sending.irungentoo
2013-09-23check length of nameJfreegman
2013-09-23made setfriendname part of public apiJfreegman
2013-09-22Keep the code consistent.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-17astyled everything.irungentoo
2013-09-16Functions to get name of peer in group chat added.irungentoo
Group message callback modified.
2013-09-13Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
2013-09-12Very basic group chats, tested and working with nTox.irungentoo
Please wait until the tox.h API is updated before integrating it into your clients. nTox: /g creates a new group chat /i friendnum groupnum invite friendnum to groupnum /z groupnum message send message to groupnum NOTE: group chats currenly might not handle packet loss well if there are less than 6 participants.
2013-09-12Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
Conflicts resolved: toxcore/Messenger.c toxcore/network.h
2013-09-11Some small work on group chats done.irungentoo
2013-09-09Merge branch 'master' into IntegrationCoren[m]
2013-09-09tox.*, Messenger.*:Coren[m]
- initialisation: argument added to enable/disable ipv6 as socket Messenger_test.c: - initialisation: ipv4 hardcoded for now - delegating IP resolution to DHT_bootstrap_ex()
2013-09-09Start of group chats integration into the core.irungentoo
2013-09-07Removed friendstatus from client APIMaxim Biro
2013-09-07Added TODO list and made m_copy*_statusmessage functions return length of ↵irungentoo
copied buffer on success.
2013-09-06Fixed autotest, increased MAX_STATUSMESSAGE_LENGTH.irungentoo
2013-09-06Added name lengths to friend names.irungentoo
2013-09-05Function for retreiving a list of friend numbersJin^eLD
This should allow clients to sync the Tox friend list with their UI/etc. lists.
2013-09-02comment updatesJamoBox
2013-08-29Merge branch 'master' of https://github.com/JamoBox/ProjectTox-Core into ↵irungentoo
JamoBox-master Conflicts: toxcore/LAN_discovery.h
2013-08-29Correct a lot of the grammar and spelling. Also spent a few hours fixing the ↵pete
comments so they follow a standard.
2013-08-28Removed some no longer needed ifdefs.irungentoo
2013-08-24Rename core directory because of autoconf name clashjin-eld
While doing the checks configure might generate "core" files and will then try to remove them. Having a "core" directory generates an error while runing the configure script. There's no workaround but to rename the core directory.