summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
AgeCommit message (Collapse)Author
2015-03-12Added position parameter to tox_file_send_chunk().irungentoo
This is done so that the function now has the same parameters as the request chunk callback.
2015-03-12tox_new now sets error to TOX_ERR_NEW_PORT_ALLOC when binding to port fails.irungentoo
2015-03-11tox_callback_connection_status() implemented.irungentoo
Attempted fix of connection checking to make it more stable.
2015-03-10Implementation of new api file transfers.irungentoo
Everything should work except resuming.
2015-03-09Updated new_filesender function in Messenger.cirungentoo
2015-03-09Fixed case where a recv and a sending file would have the same number.irungentoo
recv file numbers are now (file num in packet + 1) << 16
2015-03-06Updated File request packet to new format.irungentoo
[uint8_t packet_id (PACKET_ID_FILE_SENDREQUEST)][uint8_t file_number] [uint32_t type][uint64_t file_size][filename (currently max 255 bytes)] recv file numbers are << by 16 to distinguish them from sending files.
2015-03-05enums are no longer typedefed to uint8_t.irungentoo
2015-03-05Code cleanups.irungentoo
Fixed wrong variable used, removed useless elements of struct.
2015-03-04Removed useless TODO comments.irungentoo
2015-03-02Merge branch 'port_range_option' of https://github.com/saneki/toxcore into ↵irungentoo
new_api
2015-03-01Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_apiirungentoo
2015-02-27Removed backwards compatibility code from core.irungentoo
That function should be static.
2015-02-27Allow for specifying the port range to use in Tox_Optionssaneki
2015-02-26Added different error codes for custom packet functions in Messenger.irungentoo
2015-02-26Changes to custom packet functions in Messenger.irungentoo
Added function for rtp A/V packets, modified functions to behave correctly for the new api.
2015-02-25Ported some tests to the new api.irungentoo
2015-02-24Remove avatar stuff from Messenger.irungentoo
The new api sees avatars as a different type of file transfer.
2015-02-20Implemented message send functions in public api.irungentoo
Internal message functions now return better error codes.
2015-02-20Merge branch 'fixed-receipts' into new_apiirungentoo
2015-02-19Tox connection function and callback should now work as expected.irungentoo
Changes in Messenger to call the callback every time the connection type changes from TCP to UDP.
2015-02-19Typing and status functions implemented.irungentoo
2015-02-18use bool in is typing callback.irungentoo
2015-02-17Updated types in Messenger callbacks to fit with the ones in the new api.irungentoo
Friend number changed from int32_t to uint32_t. Some lengths changed to size_t.
2015-02-17Fixed friend_not_valid function.irungentoo
It now returns if friend is valid or not not only if memory location is valid.
2015-02-17Messenger add friends functions error code fixes.irungentoo
Removed unknown error. norequest function now returns proper error codes.
2015-02-16More new api work done.irungentoo
m_copy_self_statusmessage no longer takes a buffer length argument.
2015-02-16Allow empty names and status messages.irungentoo
2015-02-15New api progress.irungentoo
2015-01-30Prevent unnecessary sending of packets.irungentoo
If name/status/typing didn't actually change return success and don't actually do anything.
2015-01-29Code cleanups.irungentoo
Rename array in Node_format from client_id to public_key.
2015-01-27client_id is a bad name for the long term public key.irungentoo
2015-01-23Code cleanups.irungentoo
Remove duplicate addfriend code and shoved it in its own function.
2015-01-10Merge branch 'mannol-master'irungentoo
2015-01-10Logger fixmannol
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