Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-01 | Simplify Travis CI builds. | iphydf | |
Have one script per build. This means more duplication between the scripts, but it's much easier to understand and to run locally. | |||
2018-06-29 | Add a test to try and overflow the send queue in net_crypto. | iphydf | |
2018-06-29 | Correct check for net_crypto packet index. | Evgeny Kurnevsky | |
2018-06-28 | Various minor cleanups in `net_crypto`. | iphydf | |
* Consistently use `num_packets_array` to get the packet count in the packet buffer. * Use `const` in more places. * Typo fix: begginning. * Rewrite `length < 1` for unsigned int to `length == 0`. * Limit scope of some loop variables by using for-init-decl. * Use early return in error paths to reduce indentation and for clarity. * Use `net_unpack_*` instead of manual `ntohs`. * Fix an uninitialised stack variable copy. * Fix a potential null pointer dereference. * Consistently use `get_crypto_connection`. It was inlined in some places. I de-inlined it now. * Add Loggers to some functions in preparation for adding log statements. | |||
2018-06-27 | Add missing MAX_HOSTNAME_LENGTH doc. | cotox | |
2018-06-26 | Make arg `host` understand clearly. | cotox | |
Rename args `host:port` from `address:port`. The *address* is well known as *Tox Address* in this project. Then we should reserve *addres* to it, and use *host* to express the hostname or IP address in TCP domain. | |||
2018-06-25 | Release v0.2.3 | Robin Lindén | |
2018-06-25 | Add a MAX_HOSTNAME_LENGTH constant. | iphydf | |
Fixes #946. | |||
2018-06-24 | Use clang-format for C++ code. | iphydf | |
`clang-format -style='{BasedOnStyle: Google, ColumnLimit: 100}'` | |||
2018-06-24 | Add new Circle CI configuration. | iphydf | |
This one has ASAN enabled, unlike Travis. | |||
2018-06-24 | Add Logger to various net_crypto functions. | iphydf | |
In preparation for adding log statements. Also, fix an uninitialised variable warning in cppcheck. | |||
2018-06-23 | Disable UDP when proxy is enabled. | iphydf | |
Currently, toxcore does not support UDP over proxies. In the future, we can relax this by disabling UDP only if the proxy doesn't support it. | |||
2018-06-23 | Make NULL options behave the same as default options. | iphydf | |
I.e. make tox_new(0, 0) behave the same as tox_new(tox_options_new(0), 0). Changing defaults in the options does not currently affect NULL options. | |||
2018-06-22 | Make the net_crypto connection state an enum. | iphydf | |
It was a list of #defines, but clearly this is a discrete and limited set of named values, so an enum is more appropriate. | |||
2018-06-17 | Minor cleanup: return early on error condition. | iphydf | |
2018-06-09 | Sort bazel build file according to buildifier standard. | iphydf | |
2018-06-04 | Log only the filename, not the full path in LOGGER. | iphydf | |
Fixes #900. | |||
2018-06-03 | Fix macOS macro because of GNU Mach | yangfl | |
2018-05-29 | Fix enumeration of Crypto_Connection instances | Pavel Karelin | |
2018-05-23 | Fix ipport_isset: port 0 is not a valid port. | iphydf | |
2018-05-23 | Fix the often call of event tox_friend_connection_status | Pavel Karelin | |
Fixes #868 Is made by: 1. Fix enumeration mechanism of Crypto_Connection instances in function send_crypto_packets() (this item solves the main problem); 2. Disruption of correlation between parameters of different dimensions (the parameters MAX_NUM_SENDPACKET_TRIES and UDP_DIRECT_TIMEOUT have different dimensions). | |||
2018-05-20 | Finish @Diadlo's network Family abstraction. | iphydf | |
The Family stuff in toxcore is a big mess. I'm sure I saw a bunch of bugs on the way, but I'm not verifying that code now, so the bugs stay. | |||
2018-05-20 | Move system header includes from network.h to network.c | iphydf | |
2018-05-10 | Make toxcore compile on BSD | endoffile78 | |
2018-04-17 | Improve network error reporting on Windows | Maxim Biro | |
Windows doesn't report network errors though errno, it has its own facilities. | |||
2018-04-18 | Release v0.2.2 | Robin Lindén | |
2018-04-15 | Restrict packet kinds that can be sent through onion path. | Evgeny Kurnevsky | |
2018-04-03 | Avoid the use of rand() in tests. | iphydf | |
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 | add comment to func cryptpacket_received | hqwrong | |
2018-03-17 | Disallow stderr logger by default. | iphydf | |
2018-03-16 | Add default stderr logger for logging to nullptr. | iphydf | |
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 | Move struct DHT_Friend into DHT.c. | iphydf | |
2018-03-16 | Remove the use of the 'hh' format specifier. | iphydf | |
It's not supported in mingw. See https://github.com/TokTok/c-toxcore/issues/786. | |||
2018-03-16 | Simplify sendpacket function, deduplicate some logic. | iphydf | |
2018-03-09 | Update version to 0.2.1. | iphydf | |
2018-03-07 | Add missing tox_nospam_size() function | Robin Lindén | |
2018-03-02 | Make file transfers 50% faster. | iphydf | |
By increasing a magic number.. Also, added more verbose logging to the file transfer test. | |||
2018-02-27 | Remove deprecated conference namelist change callback. | iphydf | |
2018-02-27 | Change default username to empty string | tox-user | |
Fixes #768 | |||
2018-02-25 | Fix warning on Mac OS X and FreeBSD. | iphydf | |
This currently fails the nightly build. | |||
2018-02-24 | Fix a bunch of compiler warnings and remove suppressions. | iphydf | |
2018-02-24 | Some minor cleanups suggested by cppcheck. | iphydf | |
DETECTED=cppcheck | |||
2018-02-24 | Fix memory leak of Logger instance on error paths. | iphydf | |
Found using the infer static analyser. https://github.com/facebook/infer DETECTED=infer | |||
2018-02-24 | Minor cleanups: dead stores and avoiding complex macros. | iphydf | |
2018-02-23 | Add deprecation notices to functions that will go away in v0.3.0. | iphydf | |
2018-02-20 | Make the "persistent conference" callback changes new functions. | iphydf | |
We can now revert the changes to the callbacks and keep supporting them until clients have moved off them. | |||
2018-02-20 | make groupnumber uint32_t | sudden6 | |
fixes #606 | |||
2018-02-18 | Use `const` more in C code. | iphydf | |
2018-02-17 | Send 0 as peer number in CHANGE_OCCURRED group event. | iphydf | |
2018-02-17 | Make outgoing Filetransfers round-robin. | zoff99 | |
Instead of 1 FT blocking all others. |