summaryrefslogtreecommitdiff
path: root/testing
AgeCommit message (Collapse)Author
2015-03-21Renamed tox_file_send_control to tox_file_control.irungentoo
Renamed tox_file_send_seek to tox_file_seek.
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-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-17Save function renamed to tox_get_savedata()irungentoo
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-14Make nTox save on exit.irungentoo
2015-03-13Remove TOX_FILE_KIND typedef.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-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-10Ported nTox to new file transfer api.irungentoo
2015-03-10testing/tox_sync now fully works on the new api.irungentoo
2015-03-09Fixed small issue.irungentoo
2015-02-24Ported some of the code in testing/ to the new api.irungentoo
2015-01-31Update avatar documentationAlexandre Erwin Ittner
Add missing function and fixes some typos and formatting.
2015-01-31Rename "client id" to "public key" in avatar docs and examplesAlexandre Erwin Ittner
Commit b8d530c9e0bbce331f22cbff7f818e49673d5bd7 and some of its parents changed the public name of "client id" to "public key". Update the avatar documentation to follow the idea.
2014-11-10Fixed irc syncbot.irungentoo
2014-11-10Group audio might work now but I have not tested anything yet.irungentoo
2014-10-17fix #1120dubslow
2014-10-15Use monotonic time function already in toxcore.irungentoo
2014-10-15irc_syncbot now parse out NULL characters from the Tox groupchat.irungentoo
2014-10-14Added basic IRC group syncbot to testing.irungentoo
2014-10-01Group chats now actually work somewhat.irungentoo
2014-09-28Merge branch 'master' of https://github.com/irungentoo/toxcoredubslow
2014-09-27test_avatars: Implement new policy for the user avatar fileAlexandre Erwin Ittner
Change location of the user avatar from "<data dir>/avatar.png" to "<data dir>/avatars/<user id>.png", as proposed by commit 6f4ab49f5c2a33aab00bdb9e80dfe51624089899
2014-09-26Added callbacks to DHT called when the ip of a peer is discovered.irungentoo
2014-09-26Group chats are starting to work.irungentoo
2014-09-25Tox object doesn't need to be passed to tox_hash.irungentoo
2014-09-25Merge branch 'master' of https://github.com/dubslow/toxcoreirungentoo
2014-09-24remove tox_avatar_hashdubslow
2014-09-24Merge branch 'stal888-patch-1'irungentoo
2014-09-24housekeepingdubslow
2014-09-23ifdef out use of linux/limts.h in test_avatarsstal
This fixes building on OS X and other systems whose limits.hs have PATH_MAX.
2014-09-22Merge branch 'avatars' of https://github.com/ittner/toxcoreirungentoo
2014-09-21Remove support for avatar image formats other than PNGAlexandre Erwin Ittner
Support for other formats was deemed unnecessary in the code review and therefore removed. The value for the constant TOX_AVATARFORMAT_PNG is now set in stone; if the other formats become needed again in the future, this commit shall be reverted and the enum values reordered to keep compatibility.
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-23Added FreeBSD includeMaxim Biro
2014-08-20Daily OS X fix.stal
Patch also fixes NetBSD and OpenBSD, but I can't test that. <pty.h> is <util.h> on some BSDs.
2014-08-19Added tox_shell to testing.irungentoo
tox_shell is a basic secure shell that can be used to control a computer from any Tox client. Just run tox_shell and make it add your Tox id. It's very basic but it works.
2014-08-14Modified tox_bootstrap_from_address() function.irungentoo
PORT IS NO LONGER PASSED IN NETWORK BYTE ORDER. Removed useless ipv6enabled parameter.
2014-08-14Added disabling of UDP and basic SOCKS5 proxy support to public API.irungentoo
tox_new() now takes a Tox_Options struct as argument. If a NULL pointer is passed to that struct, defaults are used.
2014-08-14UDP can now be disabled.irungentoo
new_messenger() now takes an options struct as an argument.
2014-08-06crypto speed test is pretty useless, removed it.irungentoo