summaryrefslogtreecommitdiff
path: root/testing
AgeCommit message (Collapse)Author
2014-08-06crypto speed test is pretty useless, removed it.irungentoo
2014-07-02Fixed const related warnings.irungentoo
2014-06-30Const correctness for toxcore/Messenger.c and related filesMarc Schütz
2014-06-20Fix CppCheck style errorsTux3 / Mlkj / !Lev.uXFMLA
#if 0 the content of toxav/msi.c : int stringify_message(MSIMessage *msg, char *dest) This function has no effect and does not seem to be used for actively waiting. Fix various other style errors, reduce scope when possible, avoid redundant writes, clarify operator priorities, etc.
2014-06-19dns3_test now automatically does the DNS request.irungentoo
tox_decrypt_dns3_TXT no longer needs id_record to be null terminated.
2014-06-14Fixed some issues in toxdns and added a test.irungentoo
Added request_id. request_id must be obtained with tox_generate_dns3_string, stored, then passed to tox_decrypt_dns3_TXT when we want to decrypt the received response.
2014-06-13Attempt fix of tox_sync not building on some systems.irungentoo
2014-06-10Astyle and fixes.irungentoo
2014-06-10Const correctness in various interdependent filesMarc Schütz
2014-06-08Fixed some nTox bugs.irungentoo
2014-06-08fix nTox cmdline input slow problem.liuguangzhao
2014-06-01Fixed TOX_MAX_MESSAGE_LENGTH define.irungentoo
Removed some useless code from toxcore. Astyled core code with new version of astyle.
2014-05-31Fixed the undefined reference to pow errorMaxim Biro
2014-05-30Renamed tox_do_run_interval to tox_do_interval.irungentoo
tox_do_interval now returns a time in ms based on how much action is going on in net_crypto.
2014-05-30Replaced tox_wait* functions with tox_do_run_interval().irungentoo
Build system fixes.
2014-05-28Fixed Tox sync.irungentoo
2014-05-02Remove Lossless UDP (This breaks Tox.)irungentoo
2014-04-23Updated some files so that they could build with latest core.irungentoo
Fixed some issues.
2014-04-21Crypto related cleanups.irungentoo
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES.
2014-03-31tox_group_get_names now returns a list of name lengths along with the list ↵irungentoo
of names. TCP test now also tests pings.
2014-03-23Fix NaCl builds for *BSDJin^eLD
From what I see there is a difference between *BSD and Linux when linking vs. toxcore which has been bulit vs. the NaCl library: on Linux it only links if NaCl's object files (i.e. randombytes.o) is present in the linker options, however on *BSD systems this will cause a linking error, see: https://github.com/Tox/toxic/issues/31#issuecomment-38224441 This commit makes sure that we do not add the NaCl object files to our pkg-config settings on *BSD, but do add them on Linux.
2014-03-18nTox fixes.irungentoo
Added TOX_MAX_MESSAGE_LENGTH to tox.h
2014-03-18Merge branch 'api-fix'irungentoo
Main changes: 1. Strings no longer need to be NULL terminated. 2. tox_get_friend_id is now named tox_get_friend_number. 3. The friend request callback function is now (Tox *tox, uint8_t *, uint8_t *, uint16_t, void *), the Tox object pointer has been added to it.
2014-03-16Friend request callback now contains the Tox object.irungentoo
2014-03-12updated compilation and execution instructions for Lossless UDP tests, and ↵Kelong Cong
fixed minor typos
2014-02-25bound checking in messenger testingseshagiriprabhu
2014-02-25Added bound checking for friend ID input in DHT testseshagiriprabhu
2014-02-22Renamed dht server to dht nodeMaxim Biro
2014-02-21Some api changes.irungentoo
2014-02-09Astyled and removed some useless files.irungentoo
2014-02-09Fixed buildMaxim Biro
2014-02-09Fixed memory leaks and removed repeated codeMaxim Biro
2014-02-09Modified hex_string_to_binMaxim Biro
2014-01-20Updated DHT server list with onion supporting DHT servers.irungentoo
Onionised DHT_test.
2014-01-19proper windows preprocessor detectionBen Iofel
2013-12-19Fixed ntox building on windows.irungentoo
2013-12-16Astyled the code.irungentoo
2013-12-06Merge branch 'master' into hardenirungentoo
2013-11-29Fix typo.AZ Huang
2013-11-29Fix API name consistency.AZ Huang
2013-11-29Fix return code inconsistency.AZ Huang
2013-11-27Various changes to nTox including a potential crash (also possible from ↵Coren[m]
remote!), and a tiny change to toxcore. Crash stuff: nTox.c: - do_refresh(): avoid crashes (input a "%" and the client goes "boom!", send someone a string with embedded "%" and see him blow up...) Other stuff: toxcore: tox.h (doc.)/network.c (code): - networking_wait_prepare(): return -1 if lenptr was NULL and therefore not settable nTox.c: - fraddr_to_str(): function to convert a TOX_FRIEND_ADDRESS into a segmented (and therefore line-breakable) string - print_friendlist(): print index of friend on name line, print id on 2nd line - command /f: skip spaces (and +) inside a friend id - command /r (new): "/r #" to remove a friend - main(): reduce cpu consumption if we're not currently sending files
2013-11-26Print a more detailed message on CHAT_CHANGE_PEER_DEL, so a user isn't ↵Coren[m]
confounded by the change of peer numbers. On deleting the last peer, it's just a delete. On deleting any other peer, the last peer is moved into that space, gaining a different number. Print that detail where appropriate.
2013-11-24group_namelistchange(): for ui reasons, divulge the peernumber and the ↵Coren[m]
nature of the change (add, del, name change). tox.*, Messenger.*, group_chats.*: - expand interface of callback by peernumber/change groupchats.c: - call callback in addpeer/delpeer/setnick with peernumber and flag nTox.c: - print_groupchatpeers(): print as many names on a line as possible, not one peer per line - print_groupnamelistchange(): only print the change, if possible (i.e. "new peer", "peer's new name") - added command "/p" to print the list of peers
2013-11-23Added callback that tells you when the peer name list of a group chat changes.irungentoo
2013-11-22Added function to get the number of peers and list of names for group chats.irungentoo
2013-11-14Wrapping: Expanded space of output to be a bit larger than input. Basic ↵Coren[m]
wrap(): Embed continuation markers if there's enough space.
2013-11-13Add a "conversation mode", where you set your conversation partner once and ↵Coren[m]
then all non-commands are sent as message to them. /cf # rsp. /cg # sets, /cr resets target Also reformatted display of sent group message slightly to look less beta-ish. Then using "#<num>" for group number vs. "<num>" for friend/peer numbers. Also changed to a slightly different message on people without name.
2013-11-12Merge branch 'group_peername' of https://github.com/FullName/ProjectTox-Core ↵irungentoo
into FullName-group_peername
2013-11-12Group chat: Add a nickname message. Remove strange default nickname. ↵Coren[m]
(Seriously...) group_chats.*: - group_send_nick() to send own name - setnick() to store a received name Messenger.c: - group_send_nick() before group_sendmessage() (in regular intervals, to inform new peers) nTox.c: - print_groupmessage(): on error or on a name of length zero the result of tox_group_peername() isn't null-terminated, catch that