summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-24Add Cirrus CI configuration.iphydf
This CI can run Bazel tests, because it supports IPv6. This is nice, because now we can run IPv6 tests on every PR.
2018-09-23Run tests on Appveyor (Windows native build).iphydf
We ignore the errors for now.
2018-09-22Run UBSAN (undefined behaviour sanitizer) on Circle CI.iphydf
This runs in the same build as asan, so "asan" now stands for both asan and ubsan.
2018-09-22Improve cmake build for MSVC.Mick Sayson
2018-09-21Fix using uninitialized mutex on call end.Mick Sayson
2018-09-20Send rejoin packets on conference disconnectionzugz (tox)
We were mistakenly not making a rejoin attempt on freezing connections due to all closest connections going down. This fixes that, and tweaks the test. I've still only done tens rather than hundreds of tests, but I'm fairly confident that the conference test now consistently passes.
2018-09-19Fix typosyangfl
2018-09-19Fix yamllint test (it's gone from bazel, add a new one).iphydf
2018-09-16Format yaml files according to yamllint's requirements.iphydf
Also remove branch filter for appveyor. We only have a single branch in every repository. Development happens in forks.
2018-09-16Fixed a silly boolean practice using uint8_thugbubby
2018-09-14Use most recent version of Bazel (0.17.1).iphydf
2018-09-14Standardise header guards.iphydf
Using the full path including the repo name.
2018-09-14Use C++ style casts in C++ code.iphydf
2018-09-14Use run_auto_test fixture in typing_test.chugbubby
2018-09-10Assert that we don't kill tox before killing toxav.iphydf
Possibly this is what's happening in #1149.
2018-09-08Always use the passed logger (from Messenger) in msi_kill.iphydf
2018-09-08Add tool to find directly recursive calls in toxcore.iphydf
We should avoid recursion, as it makes reasoning about stack growth harder. This tool shows (currently) 4 (non-tail) recursive functions, at least 2 of which are easy to fix.
2018-09-08Fix typo: tcp_replays -> tcp_relays.iphydf
2018-09-08Use `(void)` for empty parameter lists in C.iphydf
Because `()` means "some unknown number of parameters".
2018-09-07Add messenger state plugin system.iphydf
This is for modules like groups to hook into to have their own state management in the `tox_savedata` format.
2018-09-06Avoid recursion in `ip_is_lan` and `ip_is_local`.iphydf
2018-09-06Ignore "unused-result" warning in super_donators code.iphydf
2018-09-05Add mechanism for recovering from disconnections in conferenceszugz
* add freezing and unfreezing of peers * add rejoin packet * revise handling of temporary invited connections * rename "peer kill" packet to "peer leave" packet * test rejoining in conference test * use custom clock in conference test
2018-09-03Avoid use of global mutable state in mono_time on win32.iphydf
This uses a trick to get read-write access to `this` from a `const` member function, similar to C++ `mutable`, but uglier.
2018-09-02Use `code font` for tool names and flags in INSTALL.md.iphydf
2018-09-01Fix login issue on Travis-CI FreeBSD buildMaxim Biro
2018-08-31Use test clock in run_auto_test tests and dht testzugz (tox)
2018-08-30Use our own logging facility to log toxcore's logsMaxim Biro
2018-08-30Feature bootstrap trace/debug log outputcotox
Don't know why codes with macro dosen't work. As it's only a few expensive, just code it without macro for now. \#if (MIN_LOGGER_LEVEL == LOG_TRACE) || (MIN_LOGGER_LEVEL == LOG_DEBUG) fprintf(stderr, "[%s] %s:%d(%s) %s\n", strlevel, file, line, func, message); \#endif
2018-08-30Simplify configure.ac for faster autotools build.iphydf
* Remove ability to disable logging. * Remove unused `NCURSES_FOUND`. * Remove checks for stdbool and existence of int types. These mostly exist, and if they don't, we'll just fail to compile. * Remove checks for various functions. * Add check for `explicit_bzero` and `memset_s`.
2018-08-30Remove the use of `CLOCK_MONOTONIC_RAW`.iphydf
The raw clock isn't subject to NTP adjustments. It may run less accurately than the regular monotonic clock. I see no reason why raw would be better for tox than the normal one. This avoids one piece of OS-specific ifdef'd code.
2018-08-30Clean up `add_to_list` function a bit.iphydf
Can't trivially get rid of recursion here, since it's a non-linear recursive function.
2018-08-30Include necessary opencv2 header on OSX.iphydf
opencv2 is deprecated and homebrew ships with opencv3 now.
2018-08-30Release 0.2.7Robin Lindén
2018-08-27try ipv6 connections even after udp timeoutzugz (tox)
Also adds a test (auto_reconnect_test) which fails without this change.
2018-08-27Make `ip_is_lan` return bool instead of 0/-1.iphydf
This inverts the truthiness of the return value. Previously, 0 meant `true` and -1 meant `false`. Now, `true` (1) means `true` and `false` (0) means `false`.
2018-08-27Enable FreeBSD Travis-CI buildMaxim Biro
2018-08-27Fix FreeBSD VM on Travis not shutting downMaxim Biro
2018-08-26Use `bool` in place of 0/1 int values.iphydf
2018-08-26Make the tsan build fail instead of swallowing its errors.iphydf
We'll make it non-required, but we want to know about these failures so we are incentivised to fix them.
2018-08-26Add support for setting a custom monotonic time function in mono_timezugz (tox)
2018-08-26Format crypto_core.c.iphydf
Changes: * 100 columns maximum (not strict, can be a bit more sometimes). * No space after cast.
2018-08-26Update copyright to 2018.iphydf
2018-08-26Fix test class name for mono_time_test.iphydf
Was: Util, should be: MonoTime.
2018-08-26Add some tests for `ping_array`.iphydf
No timeout test here yet, because we don't yet have the ability to manipulate time at will, so we would have to actually sleep.
2018-08-26Call `abort` instead of `exit` on test failure.iphydf
This raises a signal, so we can more easily catch it with gdb.
2018-08-25Run save_compatibility_test in the autotools build.iphydf
2018-08-25Fix the `PORT_ALLOC` failure of `save_compatibility_test`.iphydf
`tox_new_log` has a much larger range of ports it can select from.
2018-08-25Change while-loop to for-loop to express for-each-frame.iphydf
* Assignments can't be used as expressions, therefore `while` loops should not be used as a `for-each` construct. Use `for`, instead.
2018-08-25fix leave callback calling in del_groupchatzugz (tox)