summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
AgeCommit message (Collapse)Author
2014-04-20Small cleanup.irungentoo
2014-04-16multiple spelling fixesCarlos E. Garcia
2014-03-31tox_group_get_names now returns a list of name lengths along with the list ↵irungentoo
of names. TCP test now also tests pings.
2014-03-20Fixed other api inconsistency.irungentoo
2014-03-20Fixed an api inconsistency.irungentoo
2014-03-18Merge branch 'api-fix'irungentoo
Main changes: 1. Strings no longer need to be NULL terminated. 2. tox_get_friend_id is now named tox_get_friend_number. 3. The friend request callback function is now (Tox *tox, uint8_t *, uint8_t *, uint16_t, void *), the Tox object pointer has been added to it.
2014-03-16Friend request callback now contains the Tox object.irungentoo
2014-03-16add api function that gets the last time a friend was seen onlineJfreegman
2014-03-07Some tox_wait_* improvementsMaxim Biro
2014-02-23Userstatus function fixes.irungentoo
2014-02-21Added size functions for names and status messagesMaxim Biro
2014-02-21Some api changes.irungentoo
2014-02-16Typing: Forgot the callback argument types.Jman012
2014-02-16Typing: Changed all return values to int for consistency and the -1 error.Jman012
2014-02-16Typos.Jman012
2014-02-16Added user typing changes in core.Jman012
2014-02-15Added callback for A/V usage.irungentoo
2014-02-14Added custom userpackets.irungentoo
A way to send and handle lossy UDP packets coming from friends. Will be used for A/V.
2014-02-07added API function to get online friend countJfreegman
2014-01-17Incorporated onion into Tox.irungentoo
Fixed a couple of issues related to that.
2013-12-21Added function to save an encrypted version of the messenger.irungentoo
Also added some tests.
2013-12-13added groupchat actionsJfreegman
2013-12-07Added/updated some basic docs and cleaned up some things.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-23Added callback that tells you when the peer name list of a group chat changes.irungentoo
2013-11-22Added function to get the number of peers and list of names for group chats.irungentoo
2013-11-18Fixed a few typos.Jman012
2013-11-18Added functions tox_count_chatlist and tox_copy_chatlist.Jman012
These functions are akin to the tox_count_friendlist and tox_copy_friendlist, made available on the public API.
2013-11-03The group chats we invite a friend to are now stored.irungentoo
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