Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-01 | Flush stdout output | Maxim Biro | |
Apparently when no tty is attached, which is the case for Docker, the buffer size for stdout increases to the point that only half of the entire log might be written. | |||
2016-01-01 | Unify function comment style | Maxim Biro | |
Use doxygen java-style function comments already used in log.[c|h]. | |||
2016-01-01 | Fix license headers and file descriptions | Maxim Biro | |
2016-01-01 | Fix include paths | Maxim Biro | |
They are relative to the Makefile instead of the source file itself, which is unintuitive and is messing with my IDE. | |||
2016-01-01 | Remove dependency on files from testing directory | Maxim Biro | |
Also remove unneeded includes and refactor sleep define. | |||
2016-01-01 | Put command-line arguments related functions in a separate file | Maxim Biro | |
2016-01-01 | Put config-related functions in a separate file | Maxim Biro | |
bootstrap_node_packets.c was giving an error as it was being included twice and there were no include guards, so part of it was split into bootstrap_node_packets.h. | |||
2015-12-31 | Add ability to run the daemon in foreground | Maxim Biro | |
Useful for things like a Docker container or just running it in the terminal. Complements the stdout logging option. This is actually why the stdout logging was added in the first place -- to be used in the foreground mode, though nothing stops one from using stdout in the background mode, which one could redirect to a file. | |||
2015-12-31 | Fix wrong filename mentioned above license | Maxim Biro | |
2015-12-31 | Rename LOGGER_BACKEND to LOG_BACKEND | Maxim Biro | |
2015-12-31 | Add ability to specify multiple command line arguments | Maxim Biro | |
Needed in order to specify which log backend to use. Init scripts need to be updated to contain --config before the path to the config file. | |||
2015-12-31 | Make daemon use the new log code | Maxim Biro | |
"log" is a reserved name (log from math.h), so it got changed into write_log. | |||
2015-12-31 | Make logger a global object instead of an instance | Maxim Biro | |
Passing Logger object into every function isn't fun. See for yourself: something as simple as a public key printing function turns from >void print_public_key(const uint8_t *public_key) to >void print_public_key(Logger *logger, const uint8_t *public_key) | |||
2015-12-30 | Add logger object to be able to support multiple logging backends | Maxim Biro | |
2015-12-30 | Change log levels | Maxim Biro | |
Some of them were set incorrectly, e.g. something that caused the daemon to exit was marked as just a warning, instead of an error. Removed debug level as it was hard to decide whether something should go into info or debug. This is mostly because the use of the debug level wasn't well defined. Debug should be used for information that could help a user to debug an issue, but messages marked as debug were by the most part the "success" log messages, which could go into info level instead. | |||
2015-12-16 | Send get nodes instead of ping to timing out nodes. | irungentoo | |
2015-12-16 | This is still useful. | irungentoo | |
2015-12-16 | Slightly increase ping timeout. | irungentoo | |
2015-12-16 | Less packet spam. | irungentoo | |
2015-12-16 | Improved the to_ping list. | irungentoo | |
2015-12-15 | Fixed use of it after free. | irungentoo | |
2015-12-15 | Onion test fixed to work with faster DHT. | irungentoo | |
2015-12-15 | More efficient DHT searching. | irungentoo | |
2015-12-14 | Sort list if timed out nodes are in the middle of the list. | irungentoo | |
2015-12-14 | Send get nodes more to closer nodes than further nodes. | irungentoo | |
2015-12-12 | Merge branch 'LittleVulpix-donatorfile' of ↵ | irungentoo | |
https://github.com/LittleVulpix/toxcore | |||
2015-12-12 | Small onion search improvement. | irungentoo | |
2015-12-12 | Update so this works with the new distance function. | irungentoo | |
2015-12-12 | Added my pixfile! | LittleVulpix | |
2015-12-11 | Unused variable. | irungentoo | |
2015-12-11 | Remove useless vars. | irungentoo | |
2015-12-11 | Better DHT tests. | irungentoo | |
2015-12-11 | More DHT fixes. | irungentoo | |
2015-12-11 | DHT fix. | irungentoo | |
2015-12-11 | DHT improvements. | irungentoo | |
Feed better nodes to onion, bootstrap off close clients when DHT friend is added. | |||
2015-12-11 | DHT fix. | irungentoo | |
Return only closest nodes in get nodes packet. | |||
2015-12-11 | DHT fixes. | irungentoo | |
2015-12-10 | Check if node can be stored before sorting. | irungentoo | |
2015-12-09 | Small fix. | irungentoo | |
2015-12-09 | DHT fix. | irungentoo | |
Improve DHT distance function. | |||
2015-12-08 | Improve likelyhood of the closest nodes being in our lists. | irungentoo | |
2015-12-08 | uint32_t -> unsigned int. | irungentoo | |
2015-12-08 | Forgot to stage this before committing. | irungentoo | |
2015-12-08 | Fixed DHT bug. | irungentoo | |
2015-12-08 | If we receive a packet from a node we are searching for, ping it. | irungentoo | |
2015-12-02 | Merge branch 'master' of https://github.com/mannol/toxcore | irungentoo | |
2015-12-01 | Slightly increased number of peers to announce to. | irungentoo | |
Some test fixes. | |||
2015-11-29 | Fix error reporting in toxav_call() | Eniz Vukovic | |
2015-11-26 | Forgot to commit these. | irungentoo | |
2015-11-21 | Increase max file transfer speed. | irungentoo | |
Fix bug that limited it to 1K packets per second. |