commit 433fc08f5c43f09d9ade03862878d229ac191b37 Author: yangfl <yangfl@users.noreply.github.com> Date: Fri Oct 7 19:03:20 2022 +0800 debian: update to 0.2.18 commit 6122a0721576f849f615db499cd46af60cf0dce1 Author: yangfl <yangfl@users.noreply.github.com> Date: Fri Oct 7 19:23:58 2022 +0800 Make salsaci happy commit 8dd8491f6437252727a4162c046f94d8342c9ac2 Merge: 48d7597 3a5da35 Author: yangfl <yangfl@users.noreply.github.com> Date: Fri Oct 7 19:01:05 2022 +0800 Merge tag 'v0.2.18' v0.2.18 **Merged PRs:** - [#2299] fix: remove the assert because buffer can be larger than UINT16_MAX. - [#2297] cleanup: remove unused field last_seen from Onion_Friend - [#2289] test: Add a Null_System used in toxsave_harness. - [#2288] test: enable additional sanitizers for fuzzing - [#2287] fix: Don't allow onion paths to be built from real friends. - [#2285] test: Don't abort fuzz test when tox_new fails. - [#2284] refactor: Move crypto utilities from util to crypto_core. - [#2283] fix: Allow onion paths to be built from more random nodes. - [#2282] fix: Fix potential array out-of-bounds in DHT onion path building. - [#2281] cleanup: Avoid goto in msi.c. - [#2280] test: Improve test hermeticity by using local TCP relay. - [#2279] test: Enable fuzzing for TCP. - [#2277] refactor: Avoid `static_cast` in `Fuzz_System` functions. - [#2275] chore: Downgrade C++ version to 17 - [#2273] fix: Really fix overrun added in e49a477a - [#2272] fix: Add missing return on error - [#2270] test: Improve error messages in toxav_basic_test. - [#2266] fix: Fixed leak and overrun added in e49a477a - [#2263] chore: Upgrade to C++20 in CMake build. - [#2261] refactor: Protect array unpacking against invalid lengths. - [#2258] refactor: Rename announce functions into their own namespace. - [#2257] fix: Format IP as string again in error log. - [#2255] fix: Fix a stack overflow triggered by small DHT packets. - [#2251] chore: Add MISRA-2012 check using cppcheck's misra addon. - [#2250] cleanup: remove populate_path_nodes_tcp - [#2249] test: Improve stability of forwarding_test. - [#2248] refactor: Use a struct for the `ip_ntoa` buffer. - [#2246] fix: Don't crash if RNG init failed. - [#2244] refactor: Allow NULL logger; make it no-op in NDEBUG. - [#2243] chore: Add initial ESP32 docker build. - [#2242] cleanup: Use `static_assert` instead of `assert` where possible. - [#2240] chore(deps): Use upstream cmp directly instead of our fork. - [#2238] cleanup: Make `*_free` and `kill_*` functions nullable. - [#2236] chore: Add dependabot config. - [#2234] test: Add more functionality to the bootstrap fuzz harness. - [#2233] cleanup: Replace a series of `if` statements with a `switch`. - [#2232] test: Add fuzzer support functions for internal toxcore objects. - [#2230] feat: Merge group announce portion of new groupchats implementation - [#2229] cleanup: Remove layers in the cmake build. - [#2228] chore: Fix path to fuzzer binaries in clusterfuzz build. - [#2227] cleanup: Disallow stack frames of over 9000 bytes. - [#2225] fix: fix typo in git command in INSTALL.md - [#2224] cleanup: Add include for assert.h for the fuzzing build. - [#2223] chore: Add `uint8_t` version of `bin_pack` for numbers. - [#2219] refactor: Rename bin_pack/unpack functions the same as cmp funcs. - [#2217] cleanup: Add Network object parameter for addr_resolve. - [#2214] cleanup: Remove all uses of `TOX_*_MAX_SIZE` macros. - [#2213] cleanup: Remove unused random_testing program. - [#2212] cleanup: Expand `CONST_FUNCTION` and remove the macro. - [#2211] cleanup: Move definitions of tox_private.h functions to tox_private.c. - [#2210] chore: Clone submodules in clusterfuzzlite Dockerfile. - [#2208] chore: Remove valgrind build. - [#2206] feat: Allow overriding mono_time in tox_new. - [#2204] chore: Support producing shared libraries on Windows - [#2202] cleanup: Avoid name clash between struct field and function. - [#2201] docs: Add information regarding git submodules, cmp to INSTALL.md - [#2200] cleanup: Add more null checks in `tox_new`. - [#2199] cleanup: Mark Mono_Time const where possible. - [#2196] test: Remove save_load_test from autotools build. - [#2195] fix: Correct calculation of packet sent time - [#2193] perf: Make time move a lot faster in fuzzing runs. - [#2190] feat: Add support for custom random number generator. - [#2189] chore: Add third_party to toxcore-sources docker image. - [#2188] cleanup: Make addr_resolve a private function. - [#2187] test: Add DHT and tox_events fuzz tests to the cmake build. - [#2186] cleanup: Use `_Static_assert` in gcc/clang. - [#2184] test: Add some support functions to make writing fuzzers easier. - [#2183] test: Enable more tests for msan. - [#2182] test: Improve stability of tox_many_tcp_test. - [#2177] feat: Add support for overriding network functions. - [#2176] test: try to save the fuzzed save file again - [#2175] refactor: Use cmp instead of msgpack-c for events packing. - [#2173] chore: Use "master" as the branch in toktok-fuzzer. - [#2170] test: Add fuzzer tests to the bazel build. - [#2169] feat: Merge moderation portion of new groupchats codebase - [#2167] cleanup: Reduce scope of array-typed variables where possible. - [#2166] cleanup: Reduce scope of variables as requested by cimple. - [#2164] feat: Merge onion_announce changes from new groupchats fork - [#2163] chore: Enable memory sanitizer build. - [#2160] test: Improve the stability of the save_load test - [#2159] chore: Update the Appveyor build to VS2019 to work around conan issues - [#2158] cleanup: Expose `struct Tox` to internal code. - [#2157] cleanup: Split the huge TCP client packet handler. - [#2156] cleanup: Sync doc comments between .h and .c files. - [#2155] fix: Eliminate memory leak in toxav. - [#2154] test: Speed up toxav_many_test by using fake mono_time. - [#2153] docs: Put all the tox public api into a fake "tox" namespace. - [#2150] cleanup: Move all the group.h structs into group.c. - [#2149] cleanup: Avoid `memset` on structs. - [#2147] feat: Store announcements - [#2146] chore: Add testing/Dockerfile to the CI build. - [#2145] chore: Be even more explicit about integer range bounds. - [#2144] cleanup: Minor cleanups in TCP_connection.c. - [#2143] fix: Allow port range in DHT_bootstrap.c. - [#2142] cleanup: Count re-adding an existing bootstrap node as success. - [#2141] cleanup: Disable LAN discovery in TCP-only mode. - [#2140] cleanup: Add assertion for decrypted data length. - [#2101] cleanup: improve CMakeLists.txt structure - [#2100] chore: remove cpufeatures.c - [#2098] chore: remove DHT_test.c since it's unused **Closed issues:** - [#2256] New Defects reported by Coverity Scan for TokTok/c-toxcore - [#2109] Assimilate `messenger_test.c`: replace with public API test - [#2012] Support building a DLL on Windows - [#907] use dll abnormal System.AccessViolationException win7 x32 but x64 no problem commit 48d7597a3eea55af353d58f4a301be04f7681474 Author: yangfl <yangfl@users.noreply.github.com> Date: Tue Dec 21 15:42:01 2021 +0800 debian: update to 0.2.13 commit 43000bddc4819ab7ed3b737d4eab1882528eaabb Merge: b095256 4348b96 Author: yangfl <yangfl@users.noreply.github.com> Date: Tue Dec 21 15:38:16 2021 +0800 Merge tag 'v0.2.13' v0.2.13 **Merged PRs:** - [#1725] cleanup: add some missing null checks - [#1723] chore: Run infer static analyser on circle ci builds. - [#1718] fix: Sec/fix crypto size compute - [#1716] chore: Use toktok-stack docker image with built third_party. - [#1713] test: Add some unit tests for important internal DHT functions. - [#1708] perf: reduce calling into Mono_Time in DHT - [#1706] chore: Enable cimple tests on cirrus build. - [#1705] fix: issue with save_load autotest - [#1703] chore: Upgrade to toktok-stack:0.0.11. - [#1699] fix: some friend connection issues - [#1698] fix: bug causing API to report wrong self connection status - [#1693] chore: Update IRC info - [#1691] chore: Fix Appveyor and add workarounds for Cirrus CI - [#1686] chore: Enable c-toxcore conan packaging - [#1684] cleanup: Update INSTALL.md instructions - [#1679] cleanup: Trivial cleanup - [#1674] cleanup: filetransfer code - [#1672] docs: Add instructions for building unit tests to INSTALL.md - [#1667] chore: Update tox-bootstrapd checksum due to newer packages in Alpine - [#1664] cleanup: use heap memory instead of stack for large variables - [#1663] fix: Fix file tests on windows - [#1633] fix: AppVeyor failing due to conan remote being added twice - [#1602] fix: Fix buffer over-read when a peer leaves a conference - [#1586] test: Fix tcp_relay_test by adding a second bootstrap node. - [#1580] style: Format comments according to tokstyle's requirements. - [#1557] chore: Add conan support - [#1537] chore: Cygwin build - [#1516] cleanup: Make pylint and mypy happy with bootstrap_node_info.py. - [#1515] style: Run restyled on Travis and Circle CI scripts. - [#1514] refactor: Remove multi-declarators entirely. - [#1513] refactor: Disallow multiple initialised declarators per decl. - [#1510] chore: Don't build pushes to branches, only to tags. - [#1504] chore: Remove release-drafter configuration in favour of global one. - [#1498] refactor: Limit scope of loop iterators. - [#1497] refactor: Use bash arrays instead of strings for static analysis scripts. - [#1496] cleanup: Stop hard-coding packet IDs in tests. - [#1495] chore: Exclude imported libsodium sources from restyled. - [#1493] feat: Add logging to TCP and onion client. - [#1489] cleanup: `NAC_LIBS` -> `NACL_LIBS`. - [#1487] chore: Add autotools build to localbuild docker images. - [#1473] chore: Add a script to run Travis CI locally. - [#1467] fix: Fix a bug in savedata loading when malloc fails. - [#1464] fix: Fix errors on error paths found by oomer. - [#1463] cleanup: Add a check that we don't have any unused functions. - [#1462] cleanup: Include `<string.h>` for `explicit_bzero`. - [#1436] chore: Enable cimple tests by default but allow disabling them. **Closed issues:** - [#1598] ERROR: heap-buffer-overflow in group.c found with AddressSanitizer - [#1326] the cause is great, but this thing is completely unusable - [#1319] Is this new application is safe & trusted ?? - [#1236] Ruby Extension? - [#1149] uTox aborts on toxcore restart - [#886] Maybe need to set the stacksize for musl-libc commit 4348b96a5b482134a9cd55cb0ef9616798b4eb3c Author: Robin Linden <dev@robinlinden.eu> Date: Mon Dec 6 18:55:31 2021 +0100 Release 0.2.13 commit ce268c2f82c7c37b9972adba6f97f31708171927 Author: jfreegman <jfreegman@gmail.com> Date: Mon Dec 6 16:57:07 2021 -0500 Add some missing null checks commit d930ecca4cf7bc76cc2ac1a50588a26d75431826 Author: iphydf <iphydf@users.noreply.github.com> Date: Mon Dec 6 18:41:27 2021 +0000 chore: Run infer static analyser on circle ci builds. Also running some other analysis that we used to have on Travis. commit af1848ed13d2aa3a7fc218de1d0633e99814efec Author: iphydf <iphydf@users.noreply.github.com> Date: Fri Dec 3 16:20:10 2021 +0000 chore: Use toktok-stack docker image with built third_party. This should cut down the build time a bit by downloading the binaries built for `//third_party/...`. commit 0320e2eb8e2d680ecf07e3b8d4707e79e81cf63c Author: sudden6 <sudden6@gmx.at> Date: Sun Dec 5 13:27:22 2021 +0100 fix missing braces in computed macro value Using this value in any computation might not work as expected. commit 1b02bad36864fdfc36694e3f96d2dc6c58a891e4 Author: sudden6 <sudden6@gmx.at> Date: Sun Dec 5 13:25:24 2021 +0100 fix possible stack overflow CRYPTO_SIZE is used in a subtraction as second argument and instead of subtracting then intended value only '1' is subtracted due to operator precedence rules and missing braces. commit f12347dfec8131677cae499c1d002c57397f1f80 Author: zugz (tox) <mbays+tox@sdf.org> Date: Wed May 20 00:00:01 2020 +0000 Fix buffer over-read when a peer leaves a conference Fixes 1598 -- thanks to peirick for reporting the bug. commit 57b0651ffdfc31d1cd5c6d3c51cc43bb5b4c7a13 Author: iphydf <iphydf@users.noreply.github.com> Date: Tue Nov 30 18:15:27 2021 +0000 test: Add some unit tests for important internal DHT functions. We definitely need more of this kind of test so refactorings don't accidentally break things in ways that happen to still work in auto tests. commit fd73f3eeb65293e0fe6daeff45bf0a5e0151c8e0 Author: sudden6 <sudden6@gmx.at> Date: Wed Dec 30 02:59:52 2020 +0100 add logging when connection limits file transfer speed commit 286cc44f5499299468e40de79b7638ec6e61d245 Author: sudden6 <sudden6@gmx.at> Date: Wed Dec 30 02:42:39 2020 +0100 rewrite filetransfer logic in Messenger.c Makes the logic easier to follow and removes suspicious case. commit 10ddf8097c34a280fe736f8a6d51058b3da43aaa Author: sudden6 <sudden6@gmx.at> Date: Wed Dec 30 02:19:09 2020 +0100 rewrite loop for better understanding commit 825d457073a4859c6c52a8583be83d24aa4f2020 Author: sudden6 <sudden6@gmx.at> Date: Wed Dec 30 02:01:06 2020 +0100 simplify do_all_filetransfers This should not change any behaviour of this function. commit 01c3869bd05370bb4251bdece8cd1856d9be9b8c Author: zugz (tox) <mbays+tox@sdf.org> Date: Mon Dec 28 00:00:00 2020 +0000 Add instructions for building unit tests to INSTALL.md commit 0c320462d713b2741045e56df4487cfad559c05e Author: sudden6 <sudden6@gmx.at> Date: Sun Nov 28 18:55:05 2021 +0100 perf: reduce calling into Mono_Time in DHT Mono_Time needs to acquire a lock each time one of its functions are used. This becomes very costly in the DHT code where timeouts for all connected nodes are recalculated. Improve this by caching the timestamp at the begin of a do_dht() iteration. commit 8b725c1ecc2c77215353e9005ae53da2f308dce1 Author: jfreegman <jfreegman@gmail.com> Date: Wed Nov 10 12:00:18 2021 -0500 Fix some friend connection issues - Properly handle crypto_connection_status() failure - Remove CONNECTION_UNKNOWN and restructure surrounding logic so that the API no longer reports erroneous friend connection statuses commit c0a0a8204c9c9046ef3b543155b735b31b31ae13 Author: jfreegman <jfreegman@gmail.com> Date: Tue Nov 9 11:39:56 2021 -0500 Fix bug causing API to report wrong self connection status commit 99d873b98551b6b10865ac60a7f686485925540a Author: iphydf <iphydf@users.noreply.github.com> Date: Sat Nov 27 02:27:45 2021 +0000 chore: Enable cimple tests on cirrus build. This ensures that we don't break Cimple compatibility despite Travis being gone (which used to test this). commit b66165977e83dd96f95be8401daf83670f63acbd Author: jfreegman <jfreegman@gmail.com> Date: Thu Nov 25 15:32:29 2021 -0500 fix issue with save_load autotest The test explicitly wanted a UDP connection when a TCP connection would suffice. This was a remnant of back when the test was part of a multi-purpose autotest that didn't attempt to connect to TCP relays and needed a UDP connection specifically. commit 1700334c3b81c0dffc43c9314c12ca3182357986 Author: iphydf <iphydf@users.noreply.github.com> Date: Thu Nov 25 18:13:33 2021 +0000 chore: Upgrade to toktok-stack:0.0.11. commit 13cca6716d95719f30b21b66c0cea8008604bfd0 Author: cryptogospod <cryptogospod@dcntrlzd.network> Date: Fri Sep 17 21:37:42 2021 +0200 Update IRC info commit 485fe88253418e97973ba22744ccd8a0c41f87f1 Author: Robin Linden <dev@robinlinden.eu> Date: Sat Aug 21 13:00:04 2021 +0200 Get Appveyor and Cirrus CI to pass again * Fix Appveyor CI build The problem was that when running commands in powershell, any stderr output is treated as an "exception", stopping the build even if the exit code of the command was good. * Add workarounds to get Cirrus CI to pass Removing the cache isn't great, but the build is still only 5-7 minues, so it's not terrible either. Disabling the tcp_relay test also sucks. It passes locally, so we're likely getting caught in a firewall or something like it somewhere. commit 25a56c354937e9c8c4c50a64c3b4cfc099c34e29 Author: sudden6 <sudden6@gmx.at> Date: Sat Jan 2 22:53:47 2021 +0100 simplify do_tcp(...) commit c9ad4a2e3969081d1580fd0feb98610e208d123e Author: Alexandre Petitjean <alpetitjean@gmail.com> Date: Fri Apr 9 09:08:24 2021 +0200 Enable c-toxcore conan packaging commit 6f3cdb1780626ae5718d41fc6f1feb27ecaeb3b8 Author: Maxim Biro <nurupo.contributions@gmail.com> Date: Thu Feb 18 01:21:44 2021 -0500 Remove references to Tox's package repository Since it's shut down commit d8c676bb010f4c317b4455382fa8b8a1fa5eea7c Author: Maxim Biro <nurupo.contributions@gmail.com> Date: Thu Feb 18 01:20:48 2021 -0500 Remove references to Jenkins Since we are shutting it down commit 0d5f85485b89d57f0dc3f5000ef1b238c6696611 Author: Maxim Biro <nurupo.contributions@gmail.com> Date: Sun Feb 21 21:15:13 2021 -0500 Update deps used in Windows build scripts commit 98c148179f673d4658e5d7f7dc012910aa613b4b Author: redmanmale <redmanmale@gmail.com> Date: Sat May 9 19:50:48 2020 +0300 Add Cygwin build script commit a71ddc7eac5cb62dfa15f30f01d22a0b84f47267 Author: Robin Linden <dev@robinlinden.eu> Date: Sat Oct 10 22:07:03 2020 +0200 Fix tests involving reading/writing files failing on Windows The issue was that r and w without the b flag on Windows does LF and CR translations when reading and writing. Not good for binary files. commit 00f2f41dbbc660d7554b4df8e8397272cc92e22f Author: jfreegman <jfreegman@gmail.com> Date: Fri Nov 20 19:15:58 2020 -0500 Use heap memory instead of stack for large variables The default stack size for musl-libc is 128kb. Therefore we should try to keep stack allocations well below this limit in order to avoid stack overflows. commit 5d2b1e3861e650b32f22319a89a33cdf7db5af5c Author: Robin Linden <dev@robinlinden.eu> Date: Mon Nov 16 16:22:55 2020 +0100 Update tox-bootstrapd checksum due to newer packages in Alpine * g++ 9.2.0-r4 -> 9.3.0-r0 * gcc 9.2.0-r4 -> 9.3.0-r0 * libatomic 9.2.0-r4 -> 9.3.0-r0 * libcurl 7.67.0-r0 -> 7.67.0-r1 * libgcc 9.2.0-r4 -> 9.3.0-r0 * libgomp 9.2.0-r4 -> 9.3.0-r0 * libstdc++ 9.2.0-r4 -> 9.3.0-r0 * python3 3.8.2-r0 -> 3.8.2-r1 commit 470fa79f92fbe08eb3ac053730af3db822ab3f61 Author: Robin Linden <dev@robinlinden.eu> Date: Fri Jun 12 11:25:55 2020 +0200 Fix AppVeyor failing due to conan remote being added twice commit 56992b099eb5b77adfca15678ada9ec4011d8dd3 Author: Robin Linden <dev@robinlinden.eu> Date: Thu May 14 01:50:43 2020 +0200 Add support for the conan C/C++ package manager * Don't overwrite the CMAKE_MODULE_PATH * Allow linking libsodium statically with MSVC * Allow finding libsodium the normal way on MSVC * Allow using pthreads4w for pthreads on MSVC * Fall back to find_package if pkg_find_module fails * Don't pass incompatible compile flags to MSVC * Also try to find Opus and libvpx using their canonical names * Support building using conan * Allow pkg_use_module to take a list of libraries to look for * Build for Windows on Appveyor using conan commit 03a511482ffa643a636cd5bcce596f110ca2d8e0 Author: iphydf <iphydf@users.noreply.github.com> Date: Sat May 16 23:04:10 2020 +0100 Format comments according to tokstyle's requirements. commit fe8e0fb8fa46a815e89e3722a7c92b35181c2ce8 Author: iphydf <iphydf@users.noreply.github.com> Date: Sun May 17 12:36:34 2020 +0100 Fix tcp_relay_test by adding a second bootstrap node. This is a non-hermetic network test. initramfs node is down, so let's have a second one for redundancy. commit 3d601fe32066619f50297cb52131d1bbf5e6862e Author: iphydf <iphydf@users.noreply.github.com> Date: Wed May 6 00:15:09 2020 +0100 style: Run restyled on Travis and Circle CI scripts. commit 8f4400b9b4a63dd5674ea6e7cf15486e90a01174 Author: iphydf <iphydf@users.noreply.github.com> Date: Tue May 5 23:45:16 2020 +0000 cleanup: Make pylint and mypy happy with bootstrap_node_info.py. commit 3851cfb652f1b2237738a49c106e703f0270ceee Author: iphydf <iphydf@users.noreply.github.com> Date: Sun May 3 21:13:33 2020 +0100 Add autotools build to localbuild docker images. commit 8c0fd40356e4a7724b556e17b15b0d14f7d25b4d Author: iphydf <iphydf@users.noreply.github.com> Date: Tue May 5 22:56:03 2020 +0100 refactor: Remove multi-declarators entirely. We no longer allow `int a, b;`. In the few cases where we used it, we instead better * limit the scope of the identifier (e.g. in a for-init-decl) * split the line and have 2 separate declarators, because the identifiers designate different types of things (e.g. friend numbers and group numbers). commit fd2bb77923b68ec50e4812c9663eab42314d4557 Author: iphydf <iphydf@users.noreply.github.com> Date: Tue May 5 13:43:53 2020 +0100 chore: Don't build pushes to branches, only to tags. commit 48bd200acbf4b4d8f3fa241373477b3a21001d17 Author: iphydf <iphydf@users.noreply.github.com> Date: Tue May 5 22:28:59 2020 +0100 refactor: Disallow multiple initialised declarators per decl. We no longer allow: ```c int a = 0, b = 0; int a[3], b[3]; int a, *b; ``` But we do still allow (for now): ```c int a, b; ``` commit b0952562bb47b739ce45f91fb907350e108d5602 Author: yangfl <yangfl@users.noreply.github.com> Date: Wed May 6 02:46:27 2020 +0800 debian: update to 0.2.12 commit ca75d69afd93ba30cf2489a73e2aeb6154eaf466 Merge: 1af203a 9be4dbb Author: yangfl <yangfl@users.noreply.github.com> Date: Wed May 6 02:41:52 2020 +0800 Merge tag 'v0.2.12' v0.2.12 **Merged PRs:** - [#1457] Disable non-hermetic tests by default. - [#1456] Limit the number of friends you can have to ~4 billion. - [#1452] Add execution trace option for debugging. - [#1447] Udp dht group chats - [#1444] Set up release-drafter to automatically draft the next release. - [#1443] Allow test coverage to fluctuate 2% up and down, but not below 80%. - [#1442] Add CODEOWNERS and settings.yml files. - [#1441] [ImgBot] Optimize images - [#1439] Fix continuous integration builds. - [#1437] Rework the toxchat/bootstrap-node Docker image. - [#1435] Enable TCP relay test in Bazel and autotools build. - [#1434] Skip invalid TCP relays and DHT nodes when loading save data. - [#1433] Fix saving of combination of loaded and connected TCP relays - [#1430] Invert `not_valid` functions and name them `is_valid`. - [#1429] Fix things not being initialized if creating a TCP-only network - [#1426] Remove tokstyle exemptions from build files. - [#1425] Stop using the "inline namespace" feature of apidsl. - [#1424] Add new semi-private API functions to set per-packet-id custom handlers. - [#1423] Give CI workflow a better name: clang-sanitizers - [#1422] Use public API for sending in RTP - [#1421] Install ci-tools and get tokstyle via the script it provides. - [#1420] Use tox public API for sending packets in toxav BWController - [#1419] Remove newlines from the end of LOGGER format strings. - [#1418] Change ToxAVCall struct mutex to a more distinct name - [#1417] Create own instance of Mono_Time for ToxAV - [#1416] Stop using Messenger's mono_time in bandwidth controller. - [#1415] Fix 2 memory leaks in ToxAV. - [#1414] Show function names in asan/tsan stack traces on CircleCI. - [#1413] Make afl_toxsave.c a bit more portable; fix memory leak. - [#1411] Fixes towards building on MSVC. - [#1409] Mark conference test as small. - [#1407] Add minimal save generator - [#1406] Migrate format-source script to new apidsl web app. - [#1404] Smarter setup of bazel remote cache on Cirrus CI. - [#1331] Add basic test adapter for AFL **Closed issues:** - [#1365] Add the option to use LAN discovery even when using a proxy for remote connections - [#1353] libtoxdns.a and libtoxav.a - [#86] Freenet as Offline Messaging Backend commit c1a2ea3309969608a5553c34fa4199b05f20abc2 Author: iphydf <iphydf@users.noreply.github.com> Date: Mon May 4 02:19:14 2020 +0100 Use bash arrays instead of strings for static analysis scripts. These are more robust wrt. spaces in names. commit f8ab7218f0eb752b4f936b4686be313921be1da6 Author: iphydf <iphydf@users.noreply.github.com> Date: Mon May 4 02:08:42 2020 +0100 Exclude imported libsodium sources from restyled. Also limit clang-format to .cc files. Don't apply it to .c files. commit 9edb2e5088711b3cd3aeb60ed33d4ed214ecfa71 Author: iphydf <iphydf@users.noreply.github.com> Date: Mon May 4 22:43:56 2020 +0100 chore: Delete release-drafter config in favour of global one. commit d52bf0a94799560a15c3af5f0ff8467079d444ea Author: iphydf <iphydf@users.noreply.github.com> Date: Mon May 4 02:33:38 2020 +0100 refactor: Minor cleanup: limit scope of loop iterators. commit 669ea8797ba7040d3bfbe1dfbf49e3222575d3a0 Author: iphydf <iphydf@users.noreply.github.com> Date: Sun May 3 21:16:44 2020 +0100 Fix typo: `NAC_LIBS` -> `NACL_LIBS`. This is working, so probably `NACL_LIBS` is entirely useless, but I can't be bothered to figure out what this was supposed to be, so here we are. commit cc99ecd43a81cab0fba294a747658f0ea2c4bbe2 Author: iphydf <iphydf@users.noreply.github.com> Date: Mon May 4 02:12:57 2020 +0100 Stop hard-coding packet IDs in tests. commit 02a5bdc60c9ff8474a959027882048290571f806 Author: iphydf <iphydf@users.noreply.github.com> Date: Mon May 4 00:40:59 2020 +0100 Add logging to TCP and onion client. commit 4efe541814ec2ddd073428d6928497b50c48397a Author: iphydf <iphydf@users.noreply.github.com> Date: Sun May 3 15:36:57 2020 +0100 Add a script to run Travis CI locally. This isn't quite Travis, but close enough for local testing. commit 88b90c82259f86470cf6eba8684e8d9b4cd61bc3 Author: iphydf <iphydf@users.noreply.github.com> Date: Sun May 3 01:09:06 2020 +0100 Fix a bug in savedata loading when malloc fails. Also added a bunch of asserts to tests where they don't check allocs. commit 7b758f66dbc550fa52ed66fd7f8b81f8ed37a94e Author: iphydf <iphydf@users.noreply.github.com> Date: Mon Apr 20 12:25:18 2020 +0000 Enable cimple tests by default but allow disabling them. Use `bazel test //c-toxcore/... --build_tag_filters=-haskell` to run all tests except the ones that depend on Haskell (i.e. cimple tests). commit 9be4dbb4335bf7d893c8d00566d3276ab6dedd14 Author: Robin Linden <dev@robinlinden.eu> Date: Fri May 1 12:43:13 2020 +0200 Release 0.2.12 commit 7edc0a52feea4f7618a3a8447b5a2607538776ff Author: iphydf <iphydf@users.noreply.github.com> Date: Tue Apr 28 11:10:25 2020 +0000 Bound the number of friends you can have to ~4 billion. If you have UINT32_MAX friends, then adding one more friend will cause an overflow of the friend list (wrap to 0) and result in all friends being deleted. This subsequently results in a null pointer dereference when we're trying to add one friend to the deleted friend list. commit de3c21b5b70b76eae6db3b4556d12ea026bf5c40 Author: iphydf <iphydf@users.noreply.github.com> Date: Wed Apr 29 12:09:34 2020 +0000 Disable non-hermetic tests by default. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955319. commit f3c6fc6771e78aa6db8a5984434dad1b7c88350f Author: iphydf <iphydf@users.noreply.github.com> Date: Mon Apr 27 02:57:21 2020 +0000 Add execution trace option for debugging. Use `cmake -DEXECUTION_TRACE=ON` to use it. commit a2d586b78254f6ba3b12d20f2398f31e9ee66235 Author: iphydf <iphydf@users.noreply.github.com> Date: Thu Apr 23 16:18:15 2020 +0000 Rework the toxchat/bootstrap-node Docker image. * Use fully static build for the bootstrap daemon. * Store a sha256sum of the binary in the repo. * Updated documentation for it. * Add support for fully static build in cmake. * Enable the docker build on every PR, so we catch changes to the checksum. I realise this is adding toil, but having the checksum is valuable for security of released binaries. commit 087eede3a3e75cd7861e7a9b9c949bf36016829e Author: iphydf <iphydf@users.noreply.github.com> Date: Sat Apr 25 14:10:30 2020 +0000 Allow test coverage to fluctuate 2% up and down, but not below 80%. commit 8816e50ed708f10fd94c77f1e2ac9a1f9bc2e5dc Author: zugz (tox) <mbays+tox@sdf.org> Date: Sun Apr 26 00:00:00 2020 +0000 Skip invalid TCP relays and DHT nodes when loading save data commit 223f98d0b577124569788720cd3f87dafe868b39 Author: iphydf <iphydf@users.noreply.github.com> Date: Sat Apr 25 14:38:21 2020 +0000 Set up release-drafter. See https://github.com/release-drafter/release-drafter commit a837559862f48c3c32b068d2d9a826937adbcf99 Author: iphydf <iphydf@users.noreply.github.com> Date: Fri Apr 24 23:51:27 2020 +0000 Add CODEOWNERS and settings.yml files. commit 6ef80efbf512588b3b06b24fe9d12147414e3cc8 Author: ImgBotApp <ImgBotHelp@gmail.com> Date: Fri Apr 24 21:48:27 2020 +0000 [ImgBot] Optimize images *Total -- 23.11kb -> 12.21kb (47.19%) /other/tox.png -- 17.50kb -> 6.99kb (60.05%) /other/tox-warning.png -- 5.61kb -> 5.21kb (7.04%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> commit 2c45d45133ff32d9c2c7a7ca81b1352b1aa74458 Author: iphydf <iphydf@users.noreply.github.com> Date: Fri Apr 24 14:18:00 2020 +0000 Fix continuous integration builds. commit 7c0eb5c70bea026eca665466b05213e7b21e3cba Author: iphydf <iphydf@users.noreply.github.com> Date: Mon Apr 20 00:16:33 2020 +0000 Enable TCP relay test in Bazel and autotools build. This test was fixed by @robinlinden, but not enabled in all builds. commit 6ebcd365c92de93bb8fa12165db42eae6f487927 Author: iphydf <iphydf@users.noreply.github.com> Date: Thu Apr 16 12:23:01 2020 +0000 Invert `not_valid` functions and name them `is_valid`. Also changed their return type to bool instead of 1/0 ints. commit 3ad953c6c3ccbe2e68ec4a23765c99997b0c5145 Author: zugz (tox) <mbays+tox@sdf.org> Date: Sun Apr 19 00:00:00 2020 +0000 fix saving of combination of loaded and connected TCP relays commit cdafc6ff5ee13595ecf5a4e1fe0cb28e255c37df Author: zoff99 <zoff@zoff.cc> Date: Thu Apr 9 20:07:32 2020 +0200 Add new semi-private API functions to set per-packet-id custom handlers. This is to prepare for ToxAV becoming independent of toxcore internal calls. commit c08b2fb3e2c3c8e8a5722e7350b61efd6992be45 Author: iphydf <iphydf@users.noreply.github.com> Date: Thu Apr 9 23:56:19 2020 +0000 Remove tokstyle exemptions from build files. We put some tokstyle exemptions into the source files themselves, instead. This way we can check some of the code in those files, and more in the future when tokstyle supports more constructs (like apidsl). Also: hacked ping_array.api.h to not emit `_array` as parameter names. We'll need to fix apidsl to do this better. This works for now. commit 7f9f8045cd6f8d92559cdc9f7d297cf92e960e49 Author: Robin Linden <dev@robinlinden.eu> Date: Mon Apr 13 22:37:31 2020 +0200 Fix things not being initialized if creating a TCP-only network commit b816c6f8e3ced0f65f3f749e9e6ecb0edd313628 Author: iphydf <iphydf@users.noreply.github.com> Date: Thu Apr 9 21:33:34 2020 +0000 Stop using the "inline namespace" feature of apidsl. This adds complexity for very little value. commit af6e27bbf1b447e6e85520b965f009b7ece81004 Author: zoff99 <zoff@zoff.cc> Date: Wed Apr 8 19:58:06 2020 +0200 Use public API for sending in RTP. commit 2a79748ed955c4f8670adb6f04f3217f641e8965 Author: iphydf <iphydf@users.noreply.github.com> Date: Wed Apr 8 18:00:33 2020 +0000 Give CI workflow a better name: clang-sanitizers commit 2538905e4fa529d07b9ccf343e0d6123acb5fd40 Author: iphydf <iphydf@users.noreply.github.com> Date: Wed Apr 8 15:06:40 2020 +0000 Install ci-tools and get tokstyle via the script it provides. commit da2c4191b470fba44ed5a4cd4679d3fcee887f69 Author: zoff99 <zoff@zoff.cc> Date: Tue Apr 7 22:34:50 2020 +0200 Use public API for sending in BWC. commit 8ddc2df662afff8a547371c93d5b5655f8f3de2f Author: iphydf <iphydf@users.noreply.github.com> Date: Tue Apr 7 19:17:58 2020 +0000 Remove newlines from the end of LOGGER format strings. See https://github.com/TokTok/hs-tokstyle/pull/49 for the corresponding tokstyle analysis. commit dfe19e04d3fd47aaf8035451491ff97155fc8cb4 Author: zoff99 <zoff@zoff.cc> Date: Sat Mar 28 11:58:00 2020 +0100 Change ToxAVCall struct mutex to a more distinct name. commit 97fc2f4c0b68d8c4eed3987943b3e4efafc361e0 Author: zoff99 <zoff@zoff.cc> Date: Tue Apr 7 15:56:29 2020 +0200 Create own instance of MonoTime for ToxAV. commit 27f24e61b2bcb7da616503729ead05c4520b64a3 Author: zoff99 <zoff@zoff.cc> Date: Sun Apr 5 12:35:02 2020 +0200 Stop using Messenger's mono_time in bandwidth controller. We're actually still using it, but we got a private pointer now, preparing us for having a private mono_time in toxav. commit bcbc37437086b4814a451382a4342f1b6a75cbd1 Author: zoff99 <zoff@zoff.cc> Date: Sun Apr 5 09:25:50 2020 +0200 Fix 2 memory leaks in ToxAV. commit f0ae0511c21b43d7531885a2be8fc0710e1732f0 Author: iphydf <iphydf@users.noreply.github.com> Date: Sat Apr 4 16:51:43 2020 +0000 Make afl_toxsave.c a bit more portable; fix memleak. malloc.h doesn't exist on most platforms, and certainly not in stdc. No functions from malloc.h are actually used here, and stdlib.h is enough. commit 4ec65c28d74f5a23ede4d8350acece89c92ac680 Author: zoff99 <zoff@zoff.cc> Date: Sat Apr 4 19:49:03 2020 +0200 Show function names in asan/tsan stack traces on CircleCI. commit 09649615575b7a3286892a433479512df2a7eb40 Author: iphydf <iphydf@users.noreply.github.com> Date: Mon Mar 23 00:46:02 2020 +0000 Migrate format-source script to new apidsl web app. This one is unfortunately a little more complicated to use. I may add a simpler API later, but for now, it's JSON-based (because I couldn't get binary data to work without it getting mangled somewhere along the way - JSON is at least text-transport-safe). commit 40dd88596eda0eea5df67e747e93baf65cab2cbf Author: Maxim Biro <nurupo.contributions@gmail.com> Date: Mon Mar 23 20:28:19 2020 -0400 Add minimal save generator commit 4b73607b6f1bbe858000c0665b5eeb7e1d60e7cf Author: iphydf <iphydf@users.noreply.github.com> Date: Sun Mar 29 00:10:51 2020 +0000 Fixes towards building on MSVC. commit 44e13956ef48556b0e4682dba57fe354fb287cdd Author: iphydf <iphydf@users.noreply.github.com> Date: Fri Mar 27 10:27:03 2020 +0000 Mark conference test as small. This used to take a long time, but is now very fast. commit 6732e5ef2fde4adc7db65880ff866111f1d1cbc8 Author: sudden6 <sudden6@gmx.at> Date: Fri Aug 2 00:18:58 2019 +0200 Add basic test adapter for AFL commit ef7058422eec1c8b90208bb3522fce28374feb58 Author: iphydf <iphydf@users.noreply.github.com> Date: Sun Mar 22 11:18:54 2020 +0000 Smarter setup of bazel remote cache on Cirrus CI. We now check whether the cache application is reachable and running via cURL. If it's running, we add the `--config=remote` line. commit 30b9369b01859e7c57687129ba2a481aa2bc48b8 Author: Robin Linden <dev@robinlinden.eu> Date: Sun Mar 22 21:10:55 2020 +0100 Release 0.2.11 commit b0047368303b648bf0abccdf14d603dbf7564443 Author: iphydf <iphydf@users.noreply.github.com> Date: Sun Mar 22 02:07:56 2020 +0000 Install libsodium from apt instead of from source. commit f148d5bd0ab39d0dab4a35b831e70fdb3dfe8e4d Author: iphydf <iphydf@users.noreply.github.com> Date: Sat Mar 14 15:09:34 2020 +0000 Minor cleanups in network code. Remove useless parameter, replace with assert (just to be sure). Also replaced some memsets with 0-initialiser and memcpy with assignment. commit d5ae583c2f09cb3fa0a9f5bf2bc60a6d5ecbd4d4 Author: iphydf <iphydf@users.noreply.github.com> Date: Thu Mar 19 02:15:54 2020 +0000 Minor cleanup: use `assoc_timeout` function where possible. This function exists and simplifies some code a little bit. There are lots of places in DHT.c where we have the exact same code, so there is a lot of opportunity to factor out common bits. For now, we just make a minor improvement that's easy to review. commit da93f054fe88c1c99ab8814deb8957c1ece77b8d Author: zugz (tox) <mbays+tox@sdf.org> Date: Sat Mar 21 00:00:00 2020 +0000 fix typo: now we periodically try to send direct packets when connected by tcp commit ba953148456a8fe1f04509077674375571b1ed05 Author: iphydf <iphydf@users.noreply.github.com> Date: Sun Mar 22 01:20:11 2020 +0000 Remove bazel build from Travis. We already have one on Cirrus, and it works fine. commit 88814e9f1dd72257ab3a54b8d2b292b9b37787c1 Author: iphydf <iphydf@users.noreply.github.com> Date: Sat Mar 21 18:21:06 2020 +0000 Disable bazel remote cache on CI. code.tox.chat is down. commit 94c2a5182bafef9fb8943c02d389723bdbc72752 Author: zugz (tox) <mbays+tox@sdf.org> Date: Sat Mar 14 00:00:00 2020 +0000 clear out old conference connections This may fix problems with very large conferences. Sadly, it seems infeasible to test large conferences on one machine, so this is entirely theoretical.
There is 1 open security issue in bullseye.
You can find information about how to handle this issue in the security team's documentation.