summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
AgeCommit message (Collapse)Author
2014-12-26Merge branch 'http-proxy-feature' of ↵irungentoo
https://github.com/nurupo/InsertProjectNameHere
2014-12-25Onion client improvements.irungentoo
Put bootstrap nodes in a separate list than known good nodes.
2014-12-21Fixed bug in tox_load where names of size TOX_MAX_NAME_LENGTH didn'tirungentoo
load.
2014-12-21Some refactoring of proxy codeMaxim Biro
2014-12-09Merge branch 'more_consistent_custom_packet_handlers' of ↵irungentoo
https://github.com/wrouesnel/toxcore
2014-12-09Change prototype for custom_packet_handler functionsWill Rouesnel
Change the custom_packet_handler callback function interface to be consistent with other callback interfaces. The new interface takes the Messenger object calling as the first parameter, and moves the user data object to be the last parameter. This makes it comparable to the callbacks for file transfer and the like, and should simplify building interfaces. The new prototype is: int (*)(Messenger *m, int32_t friendnumber, const uint8_t *data, uint32_t len, void *object)
2014-11-18av refactormannol
2014-11-08Remove dead storeTux3 / Mlkj / !Lev.uXFMLA
2014-10-24Portability saving fixes for big endian systems.irungentoo_trip
Saves should now be portable from big endian to little endian systems though I need someone to actually test it to be sure I didn't mess up.
2014-10-21Fixed unaligned memory access.irungentoo_trip
2014-10-04Send friend request with connection if for some reason (groupchats) weirungentoo
are already connected to the friend but they have not added us yet.
2014-10-02People in groups can now be added/removed from friends list without issues.irungentoo
2014-10-02Removed useless code.irungentoo
2014-09-29Fixed crash in tox_new().irungentoo
2014-09-28Group chats now use friendcon_id instead of friendnumber.irungentoo
2014-09-28Merge branch 'unset_avatar' of https://github.com/JFreegman/toxcoreirungentoo
2014-09-27Removed send_group_message_packet and its callback function fromirungentoo
Messenger.
2014-09-27Moved all the connection stuff from messenger to friend_connection.irungentoo
Messenger was doing way do many things. friend_connection takes care of finding and establishing a connection to friends.
2014-09-27Make the ip port from DHT timeout after a while.irungentoo
Some small fixes.
2014-09-26Remove timestamp from set_connection_dht_public_key().irungentoo
2014-09-26Only set dht public key and direct ip when first creating connection.irungentoo
Check if ip family is valid in set_direct_ip_port() function.
2014-09-26Moved cleaup_friend functionality to Messenger.irungentoo
2014-09-26Removed useless code from onion_client.irungentoo
Astyled.
2014-09-26Added callbacks to onion_client and net_crypto for the temp dht key.irungentoo
Better than the polling mess. Moved DHT to Messenger from onion_client (still needs some cleanups).
2014-09-26add API function to unset avatarJfreegman
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