Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-06 | fix concurrency issues in mono_time | sudden6 | |
Since mono_time is accessed from the main thread as well as the toxav thread it is needed to properly lock time updates. | |||
2019-08-04 | fix overflow in peer nick len | sudden6 | |
2019-08-04 | fix missing group title length check | sudden6 | |
This fixes a buffer overflow when a malformed *.tox save file is loaded. | |||
2019-05-30 | Release 0.2.10 | Robin Lindén | |
2019-05-19 | add configurable limit on number of stored frozen peers | zugz (tox) | |
2019-05-01 | Do not send the same packet to the same node twice. | Evgeny Kurnevsky | |
2019-02-10 | Expose api functions for enabling and disabling AV in AV groups | zugz (tox) | |
A group loaded from a savefile starts with AV disabled. | |||
2019-01-21 | Specify that buffer size for tox_conference_peer_get_name is given by $size | zugz (tox) | |
2019-01-12 | Release 0.2.9 | Robin Lindén | |
2019-01-12 | Add some const qualifiers | zugz (tox) | |
(Implementing suggestions of sudden6) | |||
2019-01-12 | Implement all min/max functions for (un)signed int types. | iphydf | |
Also, use them in the `onion_client` module. | |||
2019-01-10 | Fix misaligned 4-byte access in trace logging. | iphydf | |
This code is undefined behaviour as is, and breaks on various platforms requiring strict alignment (many microcontrollers). | |||
2019-01-07 | Avoid sending group messages to a peer before we have its group number | zugz (tox) | |
2019-01-06 | Improve handling of peers entering and leaving conferences | zugz (tox) | |
* send freeze packet on quit * delete existing peers with same real_pk on adding a peer * record actual number of conference peers saved | |||
2019-01-05 | Expose offline conference peers in API | zugz (tox) | |
2019-01-03 | Define tox_conference_id_size and tox_conference_uid_size | zugz (tox) | |
Closes #1264 | |||
2019-01-03 | Fix indices calculation for congestion control. | Evgeny Kurnevsky | |
2019-01-03 | Added test and patch for VLA stack overflow vuln. | zoff99 | |
Also added and used the new crypto_malloc and crypto_free. The latter also zeroes out the memory safely. The former only exists for symmetry (static analysis can detect asymmetric usages). | |||
2018-11-29 | Implement conferences saving | zugz (tox) | |
* add global friend_connection status callback, used for group rejoining * stop leaving groups on killing tox | |||
2018-11-23 | Return TOX_ERR_CONFERENCE_SEND_MESSAGE_NO_CONNECTION if we are not connected ↵ | zugz (tox) | |
to any peers | |||
2018-10-31 | Add some hopefully helpful documentation to the functions in mono_time.h | zugz (tox) | |
(I found I couldn't remember whether get_mono_time returned unix time or not, and had to source-dive to find out. This should make that unnecessary next time!) | |||
2018-10-24 | Change method of PK production for fake friend in DHT | NamsooCho | |
2018-10-20 | Make saving and loading the responsibility of Tox rather than Messenger | zugz (tox) | |
2018-10-19 | Add `LOGGER_ASSERT` for checking fatal error conditions. | iphydf | |
These are not compiled out under `NDEBUG` and should be provably correct. | |||
2018-10-16 | Support DragonFlyBSD and prune unused variables. | Leonid Bobrov | |
2018-10-11 | ensure save data unchanged after save and load | zugz (tox) | |
2018-10-09 | Consistently use camel case enum names. | iphydf | |
Including in tests and implementation files. | |||
2018-10-08 | Add LAN_discovery to the list of apidsl-generated files. | iphydf | |
So it gets regenerated when the .api.h file changes. | |||
2018-10-07 | Release 0.2.8 | Robin Lindén | |
2018-10-07 | Make sure logger levels stay in sync across files | Maxim Biro | |
2018-10-07 | Fix memleak in tcp server by wiping priority queues on deletion | zugz (tox) | |
2018-09-26 | Remove a function-like macro and replace it with a function. | iphydf | |
No use making this a macro. LTO will inline this anyway, if we care about performance. Generally, we avoid function-like macros that can be functions. | |||
2018-09-26 | Use new `@pthread` library from Bazel for Windows compat. | iphydf | |
See https://github.com/TokTok/toktok-stack/pull/38. | |||
2018-09-25 | Combine last_reported_announced with last_seen in Onion_Friend | zugz (tox) | |
This resets friend search rate in two circumstances where it should be reset: * When the friend gets a dhtpk packet to us; * When a friend connection to the friend goes down. | |||
2018-09-24 | Add 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-20 | Send rejoin packets on conference disconnection | zugz (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-19 | Fix typos | yangfl | |
2018-09-16 | Fixed a silly boolean practice using uint8_t | hugbubby | |
2018-09-14 | Standardise header guards. | iphydf | |
Using the full path including the repo name. | |||
2018-09-14 | Use C++ style casts in C++ code. | iphydf | |
2018-09-10 | Assert that we don't kill tox before killing toxav. | iphydf | |
Possibly this is what's happening in #1149. | |||
2018-09-08 | Fix typo: tcp_replays -> tcp_relays. | iphydf | |
2018-09-07 | Add 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-06 | Avoid recursion in `ip_is_lan` and `ip_is_local`. | iphydf | |
2018-09-06 | Ignore "unused-result" warning in super_donators code. | iphydf | |
2018-09-05 | Add mechanism for recovering from disconnections in conferences | zugz | |
* 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-03 | Avoid 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-08-30 | Remove 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-30 | Clean 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-30 | Release 0.2.7 | Robin Lindén | |