Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-14 | Use spdx license identifier instead of GPL blurb. | iphydf | |
2020-03-14 | use -1 rather than ~0 in unsigned integer types | zugz (tox) | |
Using ~0 involves a bitwise operation on int, so depends on the internal representation of signed integers. | |||
2018-10-07 | Fix memleak in tcp server by wiping priority queues on deletion | zugz (tox) | |
2018-09-14 | Standardise header guards. | iphydf | |
Using the full path including the repo name. | |||
2018-08-26 | Update copyright to 2018. | iphydf | |
2018-08-16 | Use per-instance `Mono_Time` for Messenger and onion. | iphydf | |
2018-07-12 | Style fixes in TCP code; remove MIN and PAIR from util.h. | iphydf | |
* Moved PAIR to toxav, where it's used (but really this should die). * Replace most MIN calls with typed `min_*` calls. Didn't replace the ones where the desired semantics are unclear. Moved the MIN macro to the one place where it's still used. * Avoid assignments in `while` loops. Instead, factored out the loop body into a separate `bool`-returning function. * Use named types for callbacks (`_cb` types). * Avoid assignments in `if` conditions. * Removed `MAKE_REALLOC` and expanded its two calls. We can't have templates in C, and this fake templating is ugly and hard to analyse and debug (it expands on a single line). * Moved epoll system include to the .c file, out of the .h file. * Avoid assignments in expressions (`a = b = c;`). * Avoid multiple declarators per struct member declaration. * Fix naming inconsistencies. * Replace `net_to_host` macro with function. | |||
2018-05-20 | Move system header includes from network.h to network.c | iphydf | |
2018-01-14 | Move TCP_Secure_Connection from .h to .c file. | iphydf | |
2017-08-22 | Disable MSG_NOSIGNAL on systems not supporting it | Maxim Biro | |
2017-06-04 | Add a monolith_test that includes all toxcore sources. | iphydf | |
This requires that every symbol, even if static (file-scope), is unique. The idea is that we can easily run "whole" program static analysis on programs that include monolith.h ("whole" is in quotes, as we don't include dependencies like libsodium in this static analysis). | |||
2017-01-26 | Add platform-independent Socket and IP implementation | Diadlo | |
2017-01-19 | Update license headers and remove redundant file name comment. | iphydf | |
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project". | |||
2016-12-22 | Wrap all sodium/nacl functions in crypto_core.c. | iphydf | |
2016-09-22 | Make TCP_Server opaque. | iphydf | |
We should aim to make as many structures module-private as possible. | |||
2016-09-13 | Group #include directives in 3-4 groups. | iphydf | |
1. Current module (if C file). 2. Headers from current library. 3. Headers from other library (e.g. toxcore includes in toxav). 4. System headers. | |||
2016-09-03 | Rearrange fields to decrease size of structure | isotoxin | |
2016-09-01 | Sort #includes in all source files. | iphydf | |
2015-06-28 | Removed useless parameter from new_TCP_server() | irungentoo | |
2015-05-02 | Small cleanups. | irungentoo | |
2014-12-26 | Fixed bug with auto tests and cleaned up the code a bit. | irungentoo | |
2014-09-13 | Increased maximum number of incomming TCP connections in TCP server. | irungentoo | |
2014-07-15 | added priority packet system for TCP server | notsecure | |
2014-06-30 | Const-correctness for TCP_server.c | Marc Schütz | |
2014-06-06 | Renamed list functions to fix conflict issue on certain machines. | irungentoo | |
2014-05-24 | This function only needs to be ran once per second when epoll is | irungentoo | |
enabled because all it does then is send pings and check timeouts which are calculated by the second. | |||
2014-05-22 | Fixed an issue in list. | irungentoo | |
Cleaned up TCP server a bit. | |||
2014-05-20 | epoll for tcp server | notsecure | |
2014-05-20 | use LIST in TCP_server | notsecure | |
2014-05-16 | Fixed some issues in TCP_server. | irungentoo | |
Timed out connections now remove themselves correctly. If a peer with the same public key as another tries to connect, the old connection is killed. | |||
2014-05-14 | Added OOB packets to the TCP client and server. | irungentoo | |
2014-05-08 | Merge branch 'master' into TCP | irungentoo | |
2014-04-22 | Decided pretty much how the handshake would work. | irungentoo | |
Started writing the code. Astyled some files. | |||
2014-04-21 | Crypto related cleanups. | irungentoo | |
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES. | |||
2014-04-16 | multiple spelling fixes | Carlos E. Garcia | |
2014-04-13 | sockets: support Mac OS X way of disabling SIGPIPE on a socket | Steven Noonan | |
Mac OS X doesn't have MSG_NOSIGNAL, so we need to use SO_NOSIGPIPE. Signed-off-by: Steven Noonan <steven@uplinklabs.net> | |||
2014-04-11 | Some code written for the TCP part. | irungentoo | |
2014-04-06 | Added TCP_client. | irungentoo | |
Some work done on the TCP part. | |||
2014-04-02 | Some code cleanups. | irungentoo | |
2014-03-30 | TCP server now sends/handles ping packets. | irungentoo | |
2014-03-29 | TCP server now has onion functionality. | irungentoo | |
All the IP/Port related structs now have __attribute__ ((__packed__)) | |||
2014-03-28 | TCP server almost ready. | irungentoo | |
2014-03-26 | TCP server testing in progress. | irungentoo | |
2014-03-24 | A bit more work on TCP server. | irungentoo | |
I'm going to start working more diligently on this tommorow, the last week hasn't really been productive. | |||
2014-03-22 | Some work on TCP server done. | irungentoo | |
2014-03-19 | A bit more code written for TCP servers. | irungentoo | |
2014-03-14 | A bit of work done on the TCP relay server. | irungentoo | |
2014-03-13 | Slightly more work done on the TCP relay server. | irungentoo | |
2014-03-12 | Started writing the code for the TCP relay server. | irungentoo | |