summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
AgeCommit message (Collapse)Author
2014-09-25More groupchats code written.irungentoo
2014-09-25Removed groupchats from core.irungentoo
2014-09-24housekeepingdubslow
2014-09-22Fixed typo.irungentoo
2014-09-22Some fixes to avatar pull request.irungentoo
Some bug fixes. Grouped all avatar related functions in the same place in tox.h
2014-09-22Merge branch 'avatars' of https://github.com/ittner/toxcoreirungentoo
2014-09-21Remove chattiness from avatar data transfersAlexandre Erwin Ittner
The chatty approach for the avatar data transfer was intended as a security feature to add explicit delays to the transfer and prevent amplification attacks among authenticated friends. This was deemed unnecessary in the code review and, therefore, replaced by a simpler approach that sends all data in a single burst.
2014-09-12Some cleanups to last PR.irungentoo
2014-09-12Merge branch 'tox_connect' of https://github.com/saneki/toxcoreirungentoo
2014-09-12Removed tox_connect, initial connections are made on first tox_dosaneki
2014-09-09spelling correctionscgar
2014-09-09Fixed spacingsaneki
2014-09-09Added tox_connect function, no connecting done during tox_loadsaneki
2014-09-08Added tests for custom lossy and lossless packets.irungentoo
Fixed bug with lossless packets.
2014-09-05Added custom packet functions to public tox api.irungentoo
This should make it easy for people to use toxcore to power many types of networked applications.
2014-08-30Add support for user avatars in the core protocolAlexandre Erwin Ittner
Add a protocol and the APIs to straightforwardly support user avatars in client applications. The protocol is designed to transfer avatars in background, between friends only, and minimize network load by providing a lightweight avatar notification for local cache validation. Strict safeguards are imposed to avoid damage from non-cooperative or malicious users and to limit network usage. The complete documentation is available in docs/Avatars.md and sample code is available in testing/test_avatars.c. Code and documentation are released under the GNU GPLv3 or later, as described in the file COPYING.
2014-08-29Lossless crypto packets can now be sent without the congestion control ↵irungentoo
applying to them.
2014-08-22Small code cleanup.irungentoo
2014-08-14Save some path nodes to speed up joining network on pure TCP.irungentoo
2014-08-14UDP can now be disabled.irungentoo
new_messenger() now takes an options struct as an argument.
2014-08-14Added basic socks5 proxy support to TCP client.irungentoo
2014-08-04The receiver of a file now needs to confirm that he did receive itirungentoo
correctly. This should fix an issue that happened when both clients got disconnected when the file was almost finished sending. The sender would show that the file had been sent successfully when it had not. See the modifications to tox.h
2014-07-05delete groupchat when join failsJfreegman
2014-07-05Fixed bug when loading friends list already containing an added friend.irungentoo
2014-07-02Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Coreirungentoo
2014-06-30Const-correctness for tox.cMarc Schütz
2014-06-30Const correctness for toxcore/Messenger.c and related filesMarc Schütz
2014-06-28Merge branch 'mannol1-master'irungentoo
2014-06-27Fixed tox_do_interval() returning value so high it broke A/V.irungentoo
2014-06-25Fixed some more possible issues with file transfers/conjestion control.irungentoo
2014-06-20Merge branch 'perf-rebase' of https://github.com/tux3/toxcoreirungentoo
2014-06-20Remove some immediatly overwritten writesTux3 / Mlkj / !Lev.uXFMLA
Fix local variable being modified just before it goes out of scope When memcpy-ing in a buffer, only memset the part of the buffer not modified by the memcpy, not the whole buffer Also reorder the memset after the memcpy, to potentially avoid cache misses (NOT profiled)
2014-06-18Included assert.h for Messenger/DHT.cJman012
2014-06-17Small fixes.irungentoo
Added toxdns.h include to toxdns.c. Removed default "Online" status message.
2014-06-16The comments say this function only returns -1 on error, fixed that.irungentoo
2014-06-16Added more input validation to add_friend functions.irungentoo
2014-06-15Astyled code.irungentoo
2014-06-13Const correctness for various packet callbacksMarc Schütz
2014-06-13Const correctness in toxcore/group_chats.cMarc Schütz
2014-06-13join_groupchat now fails when not direct connected.irungentoo
2014-06-12pthread is now a core dependency instead of just a toxav dependency.irungentoo
Fixed possible thread bug with sending A/V packets. TODO: eventually make toxcore thread safe.
2014-06-11Added ability to set custom lossless packets in Messenger.irungentoo
2014-06-11Fixed segfault when logging was enabled.irungentoo
m->chats[c] can be NULL if more than one group chat is created and one of the first ones is deleted.
2014-06-10Astyle and fixes.irungentoo
2014-06-10Const correctness in various interdependent filesMarc Schütz
2014-06-09Removed very old savefile compatibility to cleanup the code.irungentoo
2014-06-01Fixed TOX_MAX_MESSAGE_LENGTH define.irungentoo
Removed some useless code from toxcore. Astyled core code with new version of astyle.
2014-05-30Renamed tox_do_run_interval to tox_do_interval.irungentoo
tox_do_interval now returns a time in ms based on how much action is going on in net_crypto.
2014-05-26Fixed tox_get_num_online_friends function.irungentoo
Removed useless code.
2014-05-26Friend status is now set right before calling the tox_callback_user_status ↵irungentoo
callback.