summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-31Make keys into a struct for more programmer safetyDubslow
2015-03-31Fix minor code duplicationDubslow
2015-03-31Merge branch 'comment-fix' of https://github.com/JFreegman/toxcoreirungentoo
2015-03-31Merge branch 'master' of https://github.com/dubslow/toxcoreirungentoo
2015-03-31Amend comments to reflect undefined filenumber and friendnumber behaviorJfreegman
2015-03-31Fix toxencryptsave to be consistent with new_apiDubslow
Upon my own decision, the two tox_encryped_new convenience functions were removed due to basically needing two different sets of error codes. At iphydf's suggestion the corresponding tox_get_encrypted_savedata convenience functions were removed as well.
2015-03-30Removed unused variable.irungentoo
2015-03-29Merge branch 'tox_friend_delete_additinal_documantation' of ↵irungentoo
https://github.com/Raffinate/toxcore
2015-03-29Increase thread safety.irungentoo
randombytes() doesn't seem to have any real speed disadvantage. Also makes people who think nonces need to be random happy.
2015-03-29Additional description for tox_friend_delete.Aleksey Mokhovikov
2015-03-28Merge branch 'master' of https://github.com/stqism/ToxCoreirungentoo
2015-03-27Fixed file transfer bug.irungentoo
This should have been at the beginning of the loop, not the end.
2015-03-27Comment fix.irungentoo
2015-03-26Making tox_encrypted_new() use the same error codes as tox_new was a bad idea.irungentoo
They now have their own error codes.
2015-03-25Revert "Update documentation link"Sean
This reverts commit e294faeb4d94d38ead63246127e7691bad0a4cd5.
2015-03-25Merge branch 'patch-3' of https://github.com/urras/toxcoreirungentoo
2015-03-25Merge branch 'master' of https://github.com/beemaster/toxcoreirungentoo
2015-03-25Update documentation linkNick Hovaker
2015-03-25Removed old avatar doc.irungentoo
2015-03-25If length is 0, data should be ignored.Roman Pasichnyk
2015-03-24Comment fix.irungentoo
2015-03-23tox.h comment fix.irungentoo
2015-03-23Changed the share relay packet id.irungentoo
2015-03-23Merge branch 'new_api'irungentoo
2015-03-23Added some more checks for file packets.irungentoo
2015-03-22Merge branch 'anuragagarwal561994-documentation-error' into new_apiirungentoo
2015-03-22Fixes #1298Anurag Agarwal
2015-03-22Fixes #1297Anurag Agarwal
2015-03-22Fixes #1296Anurag Agarwal
2015-03-21Renamed tox_file_send_control to tox_file_control.irungentoo
Renamed tox_file_send_seek to tox_file_seek.
2015-03-21Transfers with filelength == 0 now behave exactly like transfers of everyirungentoo
other size (except streaming of course).
2015-03-20Allow sending of file transfer requests with length 0 but don't allocateirungentoo
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-20For file transfers UINT64_MAX is now used as the size for streamingirungentoo
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-19Fix build warning.irungentoo
2015-03-19Fixed group audio issues when getting an old audio packet.irungentoo
2015-03-19Merge branch 'dubslow-two_more_rename' into new_apiirungentoo
2015-03-19callback_file_request_chunk -> callback_file_chunk_requestDubslow
A couple of minor reasons, combined warrant a PR imo: a) fileChunkRequested is a better signal name than fileRequestChunkReceived, and I don't want to break consistency by reordering words for just this signal b) "request chunk" is parsed by English speakers as a verb-object combination, implying sending the request, not receiving, whereas "chunk requested" is parsed (more correctly) as an adjective-noun combo (in particular, request is a noun not a verb), and thus reads far more like "hey heads up we just got a request" For instance some tests/testing code had some callbacks to *receive* chunk requests, and they were called "tox_file_request_chunk"... to receive a chunk, not request it. Now they're called "tox_file_chunk_request". So yeah...
2015-03-18Renamed TOX_MESSAGE_TYPE_MESSAGE to TOX_MESSAGE_TYPE_NORMAL.irungentoo
2015-03-18Merge branch 'one_more_rename' of https://github.com/dubslow/toxcore into ↵irungentoo
new_api
2015-03-18Removed TOX_USER_STATUS_INVALID.irungentoo
2015-03-18Merged normal message function and send action function into oneirungentoo
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-18Move get_connection_status to self pseudonamespace, to contrast ↵Dubslow
friend_get_connection_status
2015-03-18When friend goes offline all his file transfers get removed.irungentoo
This is now documented in the API. Ported programs in testing/ to this behaviour.
2015-03-18Api changes.irungentoo
receive to recv in file receive functions. Added TOX_MAX_FILENAME_LENGTH define.
2015-03-17Kill all file transfers associated with the friend when friend goesirungentoo
offline.
2015-03-17Renamed SEND_FAILED to SENDQ.irungentoo
2015-03-17Save function renamed to tox_get_savedata()irungentoo
2015-03-17Make sure some defines in the public api are always correct.irungentoo
Make sure some assumptions are always correct.
2015-03-17Changed INVALID_LENGTH to TOO_LONG.irungentoo
2015-03-17Added 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.