irungentoo
fda74a8454
Restrict packet kinds that can be sent through onion path.
...
Taken from:
6b97acb773
2018-04-20 07:40:43 -04:00
Maxim Biro
7d399cedcf
Improve network error reporting on Windows
...
Windows doesn't report network errors though errno, it has its own facilities.
2018-04-17 19:07:50 -04:00
Robin Lindén
2824daf74a
Release v0.2.2
2018-04-18 00:13:16 +02:00
Maxim Biro
e16cf49b21
fix broken and unmaintained autotools build
2018-04-18 00:13:15 +02:00
Evgeny Kurnevsky
6b97acb773
Restrict packet kinds that can be sent through onion path.
2018-04-15 09:51:41 +03:00
Braiden Vasco
09478f9957
CMake warn if libconfig not found
2018-04-06 15:51:20 +00:00
sudden6
d134aecf3e
remove broken and unmaintained scripts
2018-04-06 11:43:59 +02:00
iphydf
37d4a0b2ca
Avoid the use of rand() in tests.
...
We control the random functions in crypto_core, so we can make them
deterministic more easily. This will help test reproducibility in the
future.
2018-04-03 17:43:22 +00:00
hqwrong
7fa0c89c96
add comment to func cryptpacket_received
2018-04-03 17:24:49 +08:00
hqwrong
eb6b602095
fix build error on macos
2018-03-22 17:35:44 +08:00
iphydf
9706d9a0f0
Disallow stderr logger by default.
2018-03-17 15:04:03 +00:00
iphydf
a2496af71a
Add logging to the onion_test.
...
Makes debugging easier.
2018-03-17 15:04:03 +00:00
iphydf
ea7ecd6d32
Add COVERAGE cmake flag for clang.
...
This only works with clang/llvm. Coveralls support needs to be added later.
2018-03-17 14:32:57 +00:00
iphydf
571b10149d
Fix coveralls reporting.
...
The new clang version makes gcov segfault. Also, coveralls needs another
package that it doesn't install the right version of by default.
2018-03-17 05:02:33 +00:00
iphydf
2f39bd33c3
Add default stderr logger for logging to nullptr.
...
This is useful for debugging a function that doesn't have a logger
available. It should not be used in production code, since it outputs to
stderr.
2018-03-16 02:25:06 +00:00
iphydf
fa8927aa0f
Move struct DHT_Friend into DHT.c.
2018-03-16 02:07:39 +00:00
iphydf
aa05095419
Remove the use of the 'hh' format specifier.
...
It's not supported in mingw.
See https://github.com/TokTok/c-toxcore/issues/786 .
2018-03-16 01:57:26 +00:00
iphydf
78d5b74dce
Simplify sendpacket function, deduplicate some logic.
2018-03-16 00:54:35 +00:00
Robin Lindén
acb25e66eb
Update changelog for 0.2.1
2018-03-10 18:40:28 +01:00
iphydf
23e9f01f1c
Update version to 0.2.1.
2018-03-09 20:40:28 +00:00
Robin Lindén
5600251efe
Don't set RTP_LARGE_FRAME on rtp audio packets
2018-03-09 17:18:39 +00:00
Robin Lindén
5da8c8d5de
Don't throw away rtp packets from old Toxcore
2018-03-09 17:06:41 +00:00
Robin Lindén
f5c24e577c
Add missing tox_nospam_size() function
2018-03-07 00:48:01 +01:00
iphydf
bd62d11860
Make file transfers 50% faster.
...
By increasing a magic number.. Also, added more verbose logging to the
file transfer test.
2018-03-02 13:56:49 +00:00
Robin Lindén
5a45008ab9
Update changelog for 0.2.0
2018-02-28 00:56:44 +00:00
iphydf
1282ef5741
Remove deprecated conference namelist change callback.
2018-02-27 04:30:37 +00:00
iphydf
1334d16517
Fix auto_tests to stop using the deprecated conference API.
2018-02-27 04:30:37 +00:00
tox-user
0c0977fb8c
Change default username to empty string
...
Fixes #768
2018-02-27 00:32:31 +00:00
iphydf
8ebad1aa28
Change README to talk about cmake instead of autoreconf.
2018-02-25 10:35:09 +00:00
iphydf
ae1e20f4cd
Fix warning on Mac OS X and FreeBSD.
...
This currently fails the nightly build.
2018-02-25 10:29:29 +00:00
iphydf
d3b286cb43
Fix a bunch of compiler warnings and remove suppressions.
2018-02-24 22:20:22 +00:00
iphydf
afc80922e7
Some minor cleanups suggested by cppcheck.
...
DETECTED=cppcheck
2018-02-24 20:35:57 +00:00
iphydf
25debce850
Fix memory leak of Logger instance on error paths.
...
Found using the infer static analyser.
https://github.com/facebook/infer
DETECTED=infer
2018-02-24 19:07:53 +00:00
iphydf
4c8ee2a20f
Minor cleanups: dead stores and avoiding complex macros.
2018-02-24 11:53:43 +00:00
iphydf
b2a2a0bbc7
Link all tests to the android cpufeatures library if available.
...
This is needed for libvpx to work on android.
This also means that we can upload our test binaries to an android device
and actually run them, now that libcheck is no longer a blocker.
2018-02-23 01:05:00 +00:00
iphydf
223745e078
Add deprecation notices to functions that will go away in v0.3.0.
2018-02-23 00:26:56 +00:00
iphydf
c8359c843b
Fix toxcore.pc generation.
...
It's missing vpx and opus at the moment.
2018-02-22 17:34:39 +00:00
iphydf
d7471482d1
Add an option that allows us to specify that we require toxav.
2018-02-22 13:56:55 +00:00
iphydf
414b8f7425
Fix OSX tests: find(1) doesn't work like on Linux.
2018-02-21 15:45:31 +00:00
iphydf
ee53d96447
Fix the windows build: pthread needs to be linked after vpx.
2018-02-21 01:13:39 +00:00
iphydf
9c079378e3
Add a bazel test that ensures all our projects are GPL-3.0.
2018-02-20 22:13:44 +00:00
iphydf
95c03e0e85
Make the "persistent conference" callback changes new functions.
...
We can now revert the changes to the callbacks and keep supporting them
until clients have moved off them.
2018-02-20 21:36:05 +00:00
sudden6
03b55cde1a
make groupnumber uint32_t
...
fixes #606
2018-02-20 20:58:54 +01:00
iphydf
c4a734e304
Remove apidsl from the build.
...
apidsl is in feature freeze. We can rely on the web service, instead.
2018-02-19 21:00:19 +00:00
iphydf
097f41f264
Make some sizeof tests linux-only.
...
net_crypto has pthread types in its struct, so its size is system
dependent. In particular, the sizes are wrong on FreeBSD.
2018-02-19 13:35:41 +00:00
Robin Lindén
ec8b911d7c
Increase range of ports available to Toxes during tests
2018-02-18 23:59:22 +00:00
iphydf
9d58e0aa0a
Run all tests in parallel on Travis.
...
The first round some tests will fail and others will segfault. The second
round, still some will fail, but the third round it might pass. At some
point, tests will pass.
The reason for this is that tests assume a lot about which ports they are
given, and also toxcore's default port range has too few ports to run all
tests in parallel. These issues will be fixed in future PRs.
2018-02-18 21:44:58 +00:00
iphydf
3dc8cf6df8
Disable lan discovery in most tests.
2018-02-18 21:32:28 +00:00
iphydf
d016eb3f0e
Remove tox_test from autotools build.
2018-02-18 17:17:28 +00:00
Maxim Biro
ef172adebe
Use Wine Devel instead of Wine Staging
...
Wine Staging is not maintained
https://wine-staging.com/news/2018-02-17-future-wine-staging.html
2018-02-18 17:13:59 +00:00