irungentoo
d015879cd3
Test fixes.
2015-02-27 20:33:43 -05:00
irungentoo
e61e2919a9
More tests ported to new api.
2015-02-26 08:24:19 -05:00
irungentoo
76dfccf2d6
Ported some tests to the new api.
2015-02-25 21:09:14 -05:00
irungentoo
78ea33b3f0
Fixed test.
2015-02-08 17:34:49 -05:00
irungentoo
23d76f484a
Fixed memory leak in test.
2015-02-08 16:30:48 -05:00
irungentoo
d9ea6e9485
Properly free everything at the end of each test.
2015-02-07 22:57:04 -05:00
irungentoo
f463cb52a2
Code cleanups.
...
Rename array in Node_format from client_id to public_key.
2015-01-29 19:38:44 -05:00
irungentoo
dd59d99a7a
Fixed bug in tox_load where names of size TOX_MAX_NAME_LENGTH didn't
...
load.
2014-12-21 22:12:12 -05:00
irungentoo
d1eb793a9c
auto test group titles.
2014-12-20 23:12:43 -05:00
irungentoo
82ba83e526
cs_set_video_encoder_resolution improvements.
2014-12-16 13:10:28 -05:00
irungentoo
d6da08fe9d
Fixed test.
2014-12-15 19:04:56 -05:00
irungentoo
015a8b7d75
Sendback data size is always 8 bytes.
2014-12-14 20:33:31 -05:00
irungentoo
6f3312c137
More group auto testing.
2014-12-13 21:56:36 -05:00
irungentoo
36851e7b38
Test if everything goes well when a peer leaves the group chat.
2014-12-11 20:10:57 -05:00
irungentoo
4eeeb8e9ab
Added a tox_add_friend auto test.
2014-12-10 12:12:37 -05:00
irungentoo
4ec9295259
Fixed tox_test.c
2014-12-09 18:13:39 -05:00
irungentoo
7d27893f1a
Merge branch 'more_consistent_custom_packet_handlers' of https://github.com/wrouesnel/toxcore
2014-12-09 16:39:52 -05:00
Will Rouesnel
d595a28b49
Patch auto_tests/tox_test.c with the new prototype
2014-12-09 11:00:24 +11:00
irungentoo
422f228921
Test now works with large groups.
2014-12-05 22:37:02 -05:00
irungentoo
5112156953
Added basic group message test.
2014-12-05 21:39:46 -05:00
irungentoo
035cd7ece3
Added simple group auto test.
2014-12-04 20:54:59 -05:00
mannol
e62ded3a6d
More av cleanup
2014-11-29 13:42:19 +01:00
irungentoo
767c0653bd
Attempted fix of threading issue in test.
2014-11-27 21:08:01 -05:00
irungentoo
89f2436fac
Astyle autotests.
2014-11-25 15:31:46 -05:00
irungentoo
279c33c01a
Merge branch 'master' of https://github.com/mannol/toxcore
2014-11-24 20:24:59 -05:00
irungentoo
6bbb939855
Cleaned up packet length types in toxcore.
...
They are now all uint16_t instead of sometimes being uint32_t.
Replaced some other uint32_t with unsigned ints.
2014-11-21 20:18:29 -05:00
mannol
386c9748d4
av refactor
2014-11-18 00:46:46 +01:00
dubslow
d90ee9d4e4
fix #1124 by adding salt manip functions
...
Also, all data now has the magic number prepended. This is incompatible
for all but the save/load functions, but I think nothing besides the one
experimental qTox branch used any of those, which is why I feel confident
about the change.
2014-10-23 04:19:18 -05:00
dubslow
ff1d4faa74
add new test cases, cleanup astray printf
2014-10-17 09:23:21 -05:00
dubslow
ffb13e4716
add load/save from key instead of pw
2014-10-17 06:02:15 -05:00
dubslow
e6f30694d3
refactor toxencryptedsave to allow passphrase encryption of arbitrary data
...
also a minor API change for clarity
2014-10-08 18:50:40 -05:00
dubslow
eee37b5767
fix #1104
2014-10-07 21:53:04 -05:00
irungentoo
f2a313359e
Added callbacks to onion_client and net_crypto for the temp dht key.
...
Better than the polling mess.
Moved DHT to Messenger from onion_client (still needs some cleanups).
2014-09-26 20:32:38 -04:00
irungentoo
939f2003ef
Removed now useless network sturct size tests.
2014-09-26 18:01:03 -04:00
irungentoo
900d72f951
Fixed test.
2014-09-21 15:15:35 -04:00
irungentoo
c43526be9c
Fixed memory leak.
2014-09-21 14:55:23 -04:00
dubslow
579e7998b7
encrypted save fully work with both libsodium and nacl
...
they both reliably pass "make check"
2014-09-12 21:15:05 -05:00
Dubslow
c26c6d86ae
memzero() segfaulted for unknown reasons... probably pebkac...
2014-09-11 22:42:22 -05:00
Dubslow
26566666aa
testing works, but doesn't pass...
2014-09-11 21:28:50 -05:00
irungentoo
a0302b7aca
Added tests for custom lossy and lossless packets.
...
Fixed bug with lossless packets.
2014-09-08 12:20:44 -04:00
irungentoo
06eff4b44b
Increased number of friends tested in tox_test.
2014-09-04 20:54:55 -04:00
irungentoo
ef78169842
Added disabling of UDP and basic SOCKS5 proxy support to public API.
...
tox_new() now takes a Tox_Options struct as argument.
If a NULL pointer is passed to that struct, defaults are used.
2014-08-14 18:34:20 -04:00
irungentoo
1298932deb
UDP can now be disabled.
...
new_messenger() now takes an options struct as an argument.
2014-08-14 15:27:34 -04:00
irungentoo
78dd2234e0
Added basic socks5 proxy support to TCP client.
2014-08-14 14:31:26 -04:00
irungentoo
bc4fe2c80d
Decreased maximum onion_test test time.
2014-08-13 10:15:25 -04:00
irungentoo
f6955f2f3e
Merge branch 'remove-sort_list' of https://github.com/pyruvate/toxcore
2014-08-09 17:35:23 -04:00
pyruvate
354f08ec3b
Tests fix for an original behavior for duplicates
2014-08-09 13:31:40 +03:00
pyruvate
bdf1c97273
Refactoring of node replacements in addto_lists function
...
An index for replacement candidate is searched
in one lookup cycle for all types (bad, possibly bad, good).
Sorting of items has been removed (sorting logic can be substituted
by a maximum search).
2014-08-09 11:33:20 +03:00
pyruvate
a460b9fbd0
Added tests for addto_lists function
2014-08-09 11:33:20 +03:00
pyruvate
ec9082f2c3
Remove DEFTESTCASE and DEFTESTCASE_SLOW redefinitions
2014-08-09 11:33:20 +03:00