summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
AgeCommit message (Collapse)Author
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.
2014-05-25Merge branch 'mannol1-Multicalls' into multi-avirungentoo
2014-05-22Changed lossy packet function names to better ones.irungentoo
Fixed rtp checking the wrong return value for one.
2014-05-22Merge remote-tracking branch 'upstream/master' into Multicalls-patchmannol
2014-05-21Added functions to send and receive lossy encrypted packets overirungentoo
the Tox connection. A/V should now work over TCP.
2014-05-19misplaced bracketnotsecure
2014-05-19max number of shared relaysnotsecure
2014-05-20Merge upstream fo real now?mannol
2014-05-20Merge upstream and other stuffmannol
2014-05-19tcp relay sharing (PACKET_ID_SHARE_RELAYS)notsecure
2014-05-18Save a couple TCP relays on save and reconnect to them on load.irungentoo
Removed some old code.
2014-05-18TCP branch now ready for start of real testing.irungentoo
Friends can now exchange TCP relay addresses so that they can connect together. Currently all bootstrap nodes are treated as TCP relays.
2014-05-17add_tcp_relay_peer() can be used to add relays that we know thatirungentoo
peer is connected to. Some cleanups/fixes.
2014-05-17Added a function to get the DHT public key stored in net_crypto.irungentoo
The DHT public keys in onion_client/net_crypto are synced and set to whichever is more recent. Tox peers now try to connect directly even when already connected with a TCP relay.
2014-05-17Net_crypto can now handle packets sent as TCP OOB packets.irungentoo
Added timestamp to know which DHT public key is good in case onion_client and net_crypto report different ones.
2014-05-16Fixed typo.irungentoo
2014-05-16This works.mannol
2014-05-12Fixed some issues.irungentoo
Friends with multiple ips (on LAN) should be handled better. Remade the function to check the crypto connection status.
2014-05-11Fixed issue where callbacks were not set for accepted connection.irungentoo
2014-05-09Fixed small issues.irungentoo
Added set_buffer_end(). File transfer test now checks if pieces arrive correctly.
2014-05-08Merge branch 'master' into TCPirungentoo
2014-05-04Added arrays to store packets on send/recv in net crypto.irungentoo
Wrote down more of the protocol. Padding support has been added and implemented which will make it possible for us to pad packets to mitigate length related attacks.
2014-05-02Fixed one test.irungentoo