summaryrefslogtreecommitdiff
path: root/auto_tests/tox_test.c
AgeCommit message (Collapse)Author
2015-12-01Slightly increased number of peers to announce to.irungentoo
Some test fixes.
2015-07-03Fixed Tox reporting itself as being connected with TCP when using UDP only ↵irungentoo
on LAN.
2015-06-12Added save/load live test.irungentoo
2015-06-07Test fix.irungentoo
2015-06-06Save DHT nodes in a smarter way.irungentoo
2015-06-05Added test.irungentoo
2015-06-04Added test.irungentoo
2015-06-01Add a test for loading with a secret key.irungentoo
2015-05-22Move savedata to options struct.irungentoo
Add a way to select the type of savedata (normal savedata, load a secret key, potentially others?) to load.
2015-05-21Load only secret key from tox save, not public key.irungentoo
Calculate public key from it.
2015-05-19Some fixes.irungentoo
2015-05-14Added tcp test.irungentoo
2015-05-11Fixes and changes to tox_bootstrap and tox_add_tcp_relay.irungentoo
Functionality of both no longer overlaps. If address has more than 1 ip, call the internal function on all of them.
2015-05-08Added basic TCP server hosting to tox.h api.irungentoo
TODO: tell friends we are hosting a relay and prioritize using relays hosted by friends over bootstrap ones.
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-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-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-18Api changes.irungentoo
receive to recv in file receive functions. Added TOX_MAX_FILENAME_LENGTH define.
2015-03-17Save function renamed to tox_get_savedata()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.
2015-03-17Added 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-16New API fixups.iphydf
2015-03-13This belongs in the previous commit.irungentoo
2015-03-13Merge branch 'newer_api' of https://github.com/dubslow/toxcore into new_apiirungentoo
2015-03-13revert to TOX_FILE_KINDDubslow
2015-03-12Convert core code depending on the apiDubslow
2015-03-12Check more ports in tox_test.cirungentoo
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-12Added simple status message test to tox_test.cirungentoo
2015-03-11tox_callback_connection_status() implemented.irungentoo
Attempted fix of connection checking to make it more stable.
2015-03-11Implemented the 3 low level network information functions.irungentoo
Added tox_get_udp_port() to tests.
2015-03-10Implementation of new api file transfers.irungentoo
Everything should work except resuming.
2015-02-27Test fixes.irungentoo
2015-02-26More tests ported to new api.irungentoo
2015-02-25Ported some tests to the new api.irungentoo
2014-12-21Fixed bug in tox_load where names of size TOX_MAX_NAME_LENGTH didn'tirungentoo
load.
2014-12-20auto test group titles.irungentoo
2014-12-14Sendback data size is always 8 bytes.irungentoo
2014-12-13More group auto testing.irungentoo
2014-12-11Test if everything goes well when a peer leaves the group chat.irungentoo
2014-12-10Added a tox_add_friend auto test.irungentoo
2014-12-09Fixed tox_test.cirungentoo
2014-12-09Merge branch 'more_consistent_custom_packet_handlers' of ↵irungentoo
https://github.com/wrouesnel/toxcore
2014-12-09Patch auto_tests/tox_test.c with the new prototypeWill Rouesnel