Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-16 | Store TCP relays tied to friend and reconnect to some when reconnecting. | irungentoo | |
2015-04-05 | Fixed typo. | irungentoo | |
2015-04-03 | File transfer fixes. | irungentoo | |
Don't allow non transferring files to be paused and then resumed starting the file transfer. | |||
2015-04-02 | API function to get last seen timestamp of friend | Jfreegman | |
also removed remnants of the no longer used variable ping_lastrecv | |||
2015-03-30 | Removed unused variable. | irungentoo | |
2015-03-27 | Fixed file transfer bug. | irungentoo | |
This should have been at the beginning of the loop, not the end. | |||
2015-03-23 | Added some more checks for file packets. | irungentoo | |
2015-03-21 | Transfers with filelength == 0 now behave exactly like transfers of every | irungentoo | |
other size (except streaming of course). | |||
2015-03-20 | Allow sending of file transfer requests with length 0 but don't allocate | irungentoo | |
any file number for them in core. These can be used to tell friends we don't have an avatar set or to unset a set avatar. | |||
2015-03-20 | For file transfers UINT64_MAX is now used as the size for streaming | irungentoo | |
transfers instead of 0. For avatar transfers file size 0 now means that the client has no avatar set. Added a test for streaming transfers. | |||
2015-03-18 | Merged normal message function and send action function into one | irungentoo | |
messaging function. This removes code duplication and allows us to easily add new message types to the api without having to add new functions. | |||
2015-03-17 | Kill all file transfers associated with the friend when friend goes | irungentoo | |
offline. | |||
2015-03-17 | Added tox_file_send_seek() function to api. | irungentoo | |
This function can be used to seek an incoming file tranfer right before accepting it. It is meant to be used to resume incomplete file tranfers by clients. | |||
2015-03-17 | Allow file names to be of length 0. | irungentoo | |
Pointer in callback will be NULL if length is 0. | |||
2015-03-17 | Added and implemented file_id parameter to file tranfers. | irungentoo | |
file_id is a 32byte identifier that can be used by users to identify file tranfers across core/client restarts in order to resume broken file tranfers. In avatar tranfers it corresponds to the hash of the avatar. Added tox_file_get_file_id() function to api to obtain the file_id of an ongoing file transfer. If not set, core will generate a random one. | |||
2015-03-15 | Avatar hash is now the filename of the file transfer instead of the | irungentoo | |
first 32 bytes. Enforce length of filename in core when transfer is an avatar type transfer to make things more safe. | |||
2015-03-13 | When link can't send packets anymore, stop the request chunk callback. | irungentoo | |
Removed time variable in packet struct and replaced it with sent variable. | |||
2015-03-13 | File kind is now a uint32_t. | irungentoo | |
This allows clients to agree on what numbers mean what without having it be set in core. | |||
2015-03-13 | tox_file_send_chunk() must now send data the same length as requested | irungentoo | |
in the requested chunk callback. For zero size transfers if the data sent is not the same length, the file is assumed to be done. | |||
2015-03-12 | File transfer fixes and improvements. | irungentoo | |
2015-03-12 | Don't assume tox_file_send_chunk() is called in the request chunk | irungentoo | |
callback. | |||
2015-03-12 | Added 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-12 | tox_new now sets error to TOX_ERR_NEW_PORT_ALLOC when binding to port fails. | irungentoo | |
2015-03-11 | tox_callback_connection_status() implemented. | irungentoo | |
Attempted fix of connection checking to make it more stable. | |||
2015-03-10 | Implementation of new api file transfers. | irungentoo | |
Everything should work except resuming. | |||
2015-03-09 | Updated new_filesender function in Messenger.c | irungentoo | |
2015-03-09 | Fixed 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-06 | Updated 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-05 | enums are no longer typedefed to uint8_t. | irungentoo | |
2015-03-05 | Code cleanups. | irungentoo | |
Fixed wrong variable used, removed useless elements of struct. | |||
2015-03-04 | Removed useless TODO comments. | irungentoo | |
2015-03-02 | Merge branch 'port_range_option' of https://github.com/saneki/toxcore into ↵ | irungentoo | |
new_api | |||
2015-03-01 | Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_api | irungentoo | |
2015-02-27 | Removed backwards compatibility code from core. | irungentoo | |
That function should be static. | |||
2015-02-27 | Allow for specifying the port range to use in Tox_Options | saneki | |
2015-02-26 | Added different error codes for custom packet functions in Messenger. | irungentoo | |
2015-02-26 | Changes 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-25 | Ported some tests to the new api. | irungentoo | |
2015-02-24 | Remove avatar stuff from Messenger. | irungentoo | |
The new api sees avatars as a different type of file transfer. | |||
2015-02-20 | Implemented message send functions in public api. | irungentoo | |
Internal message functions now return better error codes. | |||
2015-02-20 | Merge branch 'fixed-receipts' into new_api | irungentoo | |
2015-02-19 | Tox 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-19 | Typing and status functions implemented. | irungentoo | |
2015-02-18 | use bool in is typing callback. | irungentoo | |
2015-02-17 | Updated 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-17 | Fixed friend_not_valid function. | irungentoo | |
It now returns if friend is valid or not not only if memory location is valid. | |||
2015-02-17 | Messenger add friends functions error code fixes. | irungentoo | |
Removed unknown error. norequest function now returns proper error codes. | |||
2015-02-16 | More new api work done. | irungentoo | |
m_copy_self_statusmessage no longer takes a buffer length argument. | |||
2015-02-16 | Allow empty names and status messages. | irungentoo | |
2015-02-15 | New api progress. | irungentoo | |