Commit Graph

4149 Commits

Author SHA1 Message Date
Diadlo
8a8442a30c
Remove upper bound of save size 2017-11-20 16:53:21 +03:00
Diadlo
c506d73d5d
Fix assert for the first port value
Port of the first tox instance will be 33445 only if this port was not
in use during testing
2017-11-20 16:53:19 +03:00
yangfl
2651193b99
Fix typo 2017-11-19 23:52:23 +01:00
Diadlo
4d94a07d25
Add workaround for conference test 2017-11-15 21:36:22 +03:00
Diadlo
dd50da48f3
Don't use IPv6 in test if it's unsupported 2017-11-15 15:57:07 +03:00
Diadlo
b39cc55d37
Add support of IPv6 disabling 2017-11-15 15:22:19 +03:00
Diadlo
d037f93811
Fix IPv4 and IPv6 loopbacks 2017-11-15 15:21:39 +03:00
zugz
bb5f8a1710 set onion pingid timeout to announce timeout (300s) 2017-10-28 14:26:23 +02:00
Diadlo
0542ffa2db
Adjust docs of few toxencrypt function to the code
Add correct information about behaviour if input pointer is NULL

Fix #590
2017-10-27 00:29:25 +02:00
Robin Lindén
c49a6e7f5b
Fix OS X Travis. 2017-10-25 23:05:02 +02:00
Diadlo
1577c75c29
Add log info message, when someone found client with LAN discovery 2017-10-04 08:55:35 +03:00
Diadlo
acb6b2d854
Improve LAN discovery
Issue: If another tox instance started on the not default port, LAN
discovery will be failed.

Now tox will iterate though all possible ports to find another tox
instances.
2017-10-04 00:16:35 +03:00
dartraiden
987ad5eac1
Fix typos in docs 2017-09-20 21:31:56 +02:00
zugz
9e43d678fb reset hole-punching parameters after not punching for a while 2017-09-17 20:27:37 +02:00
Diadlo
7077662e32
Replace include(CTest) on enable_testing()
CTest include generate a lot of unused targets
2017-09-14 08:31:40 +03:00
James
4ceaad505d
Configure needs to find libsodium headers.
Add soft-links for them, in the places that it expects.
2017-08-30 21:13:35 +02:00
Diadlo
020e77fbdf
Remove 'in_addr' and 'addrinfo' mention from network.h 2017-08-27 16:02:58 +03:00
Diadlo
f084f2c621
Add loopback and broadcast constants 2017-08-24 21:09:40 +03:00
Diadlo
491d03c229
Remove useless 'to_net_family' and 'to_host_family' 2017-08-24 20:09:08 +03:00
Diadlo
e28d48130f
Add platform independent constants 2017-08-24 20:09:08 +03:00
Diadlo
66b8a7685e
AF_INET -> TOX_AF_INET 2017-08-24 20:09:08 +03:00
Maxim Biro
8f19c926c0 Run tests only once on FreeBSD due to Travis timeout 2017-08-22 04:10:45 -04:00
Maxim Biro
bd47ae56ef Fix compiler warning due to missing void 2017-08-22 04:10:45 -04:00
Maxim Biro
346d80207f Fix FreeBSD failing on Travis after update 2017-08-22 04:10:45 -04:00
Maxim Biro
7837659eda Update FreeBSD version on Travis to 11.1 2017-08-22 04:10:45 -04:00
Maxim Biro
889d25f819 Define INADDR_LOOPBACK on systems not defining it 2017-08-22 04:10:45 -04:00
Maxim Biro
e9e5f57a2c Disable MSG_NOSIGNAL on systems not supporting it 2017-08-22 04:10:45 -04:00
Maxim Biro
8dc261fcf2 Disable compiler thread safety analysis 2017-08-22 04:10:45 -04:00
Maxim Biro
1aa75e1705 Update FreeBSD image on new tag
Instead of updating it in every Travis build.
2017-08-22 04:10:45 -04:00
Maxim Biro
e4b74b0f3e Allow FreeBSD tests to fail 2017-08-22 04:08:22 -04:00
Maxim Biro
f495cf1a8d Test toxcore on FreeBSD on Travis 2017-08-22 04:08:22 -04:00
Robin Lindén
6295d28a1e
Release v0.1.10 2017-08-06 12:22:48 +02:00
zugz
5dd255729a
Save bandwidth by moderating onion pinging. 2017-08-05 15:06:44 +02:00
Maxim Biro
1b290c0d84 Fix Windows build 2017-06-09 23:18:43 -04:00
Robin Lindén
a429ef4a28
Release v0.1.9 2017-06-06 22:50:57 +02:00
Maxim Biro
b02f68bb4b Remove unused variable 2017-06-06 15:37:02 -04:00
Maxim Biro
be76379ddb Fix non-portable zeroing out of doubles 2017-06-06 13:39:41 -04:00
Maxim Biro
a680d1fdfc Fix theoretical memory leaks 2017-06-05 16:58:39 -04:00
iphydf
8479b82431
Fold hstox tests into the general linux test.
We can run the spectest from within cmake, so we should exercise that.
2017-06-05 19:55:32 +00:00
iphydf
cb69b8a986
Build tests on appveyor, the MSVC build.
Tests are not actually ran on appveyor for now, since they all fault for
some reason. For now, we just build them. Also, some tests are disabled
on msvc entirely, because they don't even compile. We'll need to look
into those, later. They are disabled using `MSVC_DONT_BUILD`.
2017-06-05 13:45:20 +00:00
pranomostro
7f5b057b05
Add test for changing the conference title and not receiving a callback. 2017-06-05 12:50:58 +00:00
iphydf
1bbe446760
Document inverted mutex lock/unlock.
All other code in this file does lock/call/unlock, except this one
instance, so we should explain why.
2017-06-05 12:18:26 +00:00
Diadlo
ced07d6700
Change way to iterate through assoc 2017-06-05 02:05:53 +03:00
Diadlo
f9607bced5
Make work with assoc more generic 2017-06-05 02:05:34 +03:00
Diadlo
91e3eb0159
Improve formatting and syntax 2017-06-05 02:04:43 +03:00
Diadlo
6a69e07109
Cleanup punch_holes 2017-06-05 02:04:38 +03:00
Diadlo
3902fd3cee
Add using id_equal 2017-06-05 02:04:32 +03:00
Diadlo
7864f8d0a2
Update crypto_size and check index 2017-06-05 02:04:30 +03:00
Diadlo
d9503763b3
Extract 'update_client_data' to reduce code duplication 2017-06-05 02:02:45 +03:00
Diadlo
ffcee69db9
Extract 'update_client_with_reset' function to reduce code duplication 2017-06-05 02:02:33 +03:00