summaryrefslogtreecommitdiff
path: root/testing/nTox.c
AgeCommit message (Collapse)Author
2013-09-14astyled everything.irungentoo
2013-09-14Save datafile when adding a friend/accepting a friend request.Coren[m]
(Note to self: make clean is your friend. Those extra seconds are well spent.)
2013-09-13Rename load_old_key_or_save_new_one() to load_data_or_init().Coren[m]
2013-09-13Made (load_/save_)data() functions static.Coren[m]
2013-09-13Merge remote-tracking branch 'upstream/master' into nToxCoren[m]
2013-09-13Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
2013-09-12Put group chat functions in the public API.irungentoo
Group chats are not complete, they seem to work very well though. This means that the functions will change.
2013-09-12Very basic group chats, tested and working with nTox.irungentoo
Please wait until the tox.h API is updated before integrating it into your clients. nTox: /g creates a new group chat /i friendnum groupnum invite friendnum to groupnum /z groupnum message send message to groupnum NOTE: group chats currenly might not handle packet loss well if there are less than 6 participants.
2013-09-12tox.h:Coren[m]
- #define'd tox's network port (as range) - finally killed tox_new_ex() in favor of changing tox_new()'s signature - renamed tox_bootstrap() to tox_bootstrap_from_ip() network.h: - #define'd tox's network port (as range) - renamed SEND_NODES_EX to SEND_NODES_IPV6 - bind() loop uses #define'd port range DHT.c: - renamed SEND_NODES_EX to SEND_NODES_IPV6 - sending ipv6 node addresses even if can't use them ourselves nTox.c: - adapted to changed tox_new()
2013-09-12nTox.c:Coren[m]
- correct a message who claims we're going to exit when we actually aren't - don't treat a failed close on reading the data file as failure of the reading
2013-09-12nTox.c:Coren[m]
- don't claim "Added friend" per default, check for returned ID first - on '/q' SAVE... else everything but the keys is lost on each restart - for that, split load_key() into load_data() and save_data() - announce own nickname on startup
2013-09-11tox.h, DHT.h:Coren[m]
- tox_bootstrap_ex(), DHT_bootstrap_ex() renamed to tox_bootstrap_from_address(), DHT_bootstrap_from_address() - (handle_)sendnodes_ex() renamed to (handle_)sendnodes_ipv6() - only sending sendnodes_ipv6() if we're actually IPv6 enabled - changed comments to conform better nTox.c, Messenger_text.c, DHT_test.c, DHT_bootstrap.c: - fallout from *_ex() to *_from_address() DHT_bootstrap.c: - corrected a potentially wrong info message util.c: - fixed logfile name: now (funcptr) => now() (number) network.c: - addead comment about the necessity of bind() to succeed auto_test/messenger_test.c: - defaulting ipv6enabled to TOX_ENABLE_IPV6_DEFAULT LAN_discovery.c: - slight cleanup and comments for clarity
2013-09-11cmdline parsing of --ipv4/6 plucked into utilCoren[m]
2013-09-10tox.*, DHT.*:Coren[m]
- return to the caller if the string could be resolved into an IP other/DHT_bootstrap.c, testing/*_test.c, testing/nTox.c: - parse cmdline for --ipv4/--ipv6 switch to allow user a choice util.h: - proper old-style C-comment
2013-09-10big push, putting all the infrastructure in place behind TOX_ENABLE_IPV6Coren[m]
2013-08-30Fixed warnings and moved hex_string_to_bin to testing/irungentoo
2013-08-30Merge branch 'udp_connections' of https://github.com/vx-k/ProjectTox-Core ↵irungentoo
into vx-k-udp_connections
2013-08-29Moved misc_tools from testing to toxcore.Anony Moose
2013-08-27Make nTox work on MinGW/Win32jin-eld
2013-08-23Added tox_ to 2 typedefs.irungentoo
2013-08-23New API done and tested.irungentoo
Some stuff needs to be cleaned a bit though.
2013-08-20nTox and cmake fixed.irungentoo
2013-08-16Passed everything through astyle.irungentoo
2013-08-14rewrite of get_id functionnaxuroqa
2013-08-13Updated some files.irungentoo
2013-08-13core: Fix a possible buffer overflow using getself_name().Andreas Schneider
If the passed buffer is smaller than MAX_NAME_LENGTH then, you will probably overflow it.
2013-08-12Added support for userdata in callbacksalek900
2013-08-12Messenger refactor - redid work from pull request 79Chris Hall
Moves static state out of Messenger.c and into a Messenger struct Purely stylistic, no functional changes were made. This commit also changed all the callers of Messenger as they now have to pass an instance of the Messenger struct to messenger functions. Also removed some uses of the 'static' keyword at the beginning of function definitions when the function was already declared static, as these caused gcc to whine.
2013-08-07Modified clients to properly work with the changesMaxim Biro
2013-08-06Fix bug where file handle wasn't closed on successNick ODell
2013-08-05Make test clients compatible with userstatus kindsSebastian Stal
No features were added, just fixed callbacks.
2013-08-05Merge pull request #312 from Niautanor/masterirungentoo
fix for Issue #288
2013-08-04Fixed 2 Null pointer derefrences in both nTox and toxicSean Qureshi
2013-08-04Merge pull request #311 from CharmlessCoin/nToxirungentoo
nTox Cleaning
2013-08-04added fix in nTox_win32.cTim Malte Gräfje
2013-08-04whoops, returning a free'd variable is really not what I meant...charmlesscoin
2013-08-03fixed bug that would cause this to always exitcharmlesscoin
2013-08-04fix for #288Tim Malte Gräfje
nTox will now display a message if you try to accept a not yet received or already accepted friend request
2013-08-03removed some magic numbers from line_eval()charmlesscoin
2013-08-03added some better error checking for print_nickname() anr print_statuschange()charmlesscoin
2013-08-03cleaned up load_key() and added more error checkingcharmlesscoin
2013-08-03Merge branch 'nTox' of https://github.com/CharmlessCoin/ProjectTox-Core into ↵irungentoo
CharmlessCoin-nTox Conflicts: testing/nTox.c
2013-08-03added backspace to nTox; removed trailing spacesMichael Kress
2013-08-03whoops, removed part of a string by accident.charmlesscoin
2013-08-03Fixed the printing of a few strings, moved some code around.charmlesscoin
2013-08-03added a getopt system, with -f and -h flagscharmlesscoin
2013-08-02changed some formatting, fixed the removal of x and ycharmlesscoin
2013-08-02cleaned up print_friendlist(), it now prints a message if you have _no_ friendscharmlesscoin
2013-08-02cleaned up my changescharmlesscoin
2013-08-02new_lines should use strncpy, and wrote get_id() to declutter codecharmlesscoin