Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-16 | Move struct DHT_Friend into DHT.c. | iphydf | |
2018-02-18 | Use `const` more in C code. | iphydf | |
2018-01-16 | Make DHT a module-private type. | iphydf | |
2018-01-16 | Make pack/unpack_ip_port public DHT functions. | iphydf | |
These will be needed for new group chats. | |||
2018-01-14 | Use apidsl to generate ping.h. | iphydf | |
The ping.api.h file looks rather ugly, but it works. This is an exercise in finding the complete set of use cases needed from apidsl for toxcore. We'll try to make things work as much as possible, and then make apidsl better and make the .api.h files pretty. | |||
2018-01-13 | Make Ping_Array a module-private type. | iphydf | |
2017-08-24 | Remove useless 'to_net_family' and 'to_host_family' | Diadlo | |
2017-08-24 | AF_INET -> TOX_AF_INET | Diadlo | |
2017-06-05 | Change return type to be the same as return value type | Diadlo | |
Return value of 'addto_list' function is 'used' counter, which is uint32_t. It will be better to use the same return type. | |||
2017-06-05 | Extract SharedKey struct and use it as var instead of indexing | Diadlo | |
2017-02-26 | Add part of platform-independent network API implementation | Diadlo | |
socket -> net_socket htons -> net_htons htonl -> net_htonl connect -> net_connect sendto -> net_sendto_ip4 getaddrinfo -> net_getipport sa_family_t -> Family | |||
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-11-24 | add NAT hole punching level to Tox API | Gregory Mullen (grayhatter) | |
2016-11-06 | Remove assoc | endoffile78 | |
2016-11-03 | Move packing and unpacking DHT request packets to DHT module. | iphydf | |
These definitely don't belong in a module called "crypto core". The DHT module seems like the best place to put them, since they are sent to DHT nodes. | |||
2016-09-16 | Ensure that all TODOs have an owner. | iphydf | |
In the future, all TODOs added either need a bug number (TODO(#NN)) or a person's github user name. By default, I made irungentoo the owner of all toxcore TODOs, mannol the owner of toxav TODOs, and myself the owner of API TODOs. | |||
2016-09-13 | Use <stdbool.h> and replace _Bool with bool. | iphydf | |
This header is a requirement for the public API, therefore is assumed to exist. It is a C99 standard library header, and _Bool is not intended to be used directly, except in legacy code that defines bool (and true/false) itself. We don't use or depend on such code. None of our client code uses or depends on such code. There is no reason to not use bool. | |||
2016-09-06 | Make friend requests stateless | Gregory Mullen (grayhatter) | |
Messenger is slightly twisty when it comes to sending connection status callbacks It will very likely need at the very least a partial refactor to clean it up a bit. Toxcore shouldn't need void *userdata as deep as is currently does. (amend 1) Because of the nature of toxcore connection callbacks, I decided to change this commit from statelessness for connections changes to statelessness for friend requests. It's simpler this was and doesn't include doing anything foolish in the time between commits. group fixup because grayhatter doesn't want to do it "arguably correct" is not how you write security sensitive code Clear a compiler warning about types within a function. | |||
2016-08-27 | Move logging to a callback. | iphydf | |
This removes the global logger (which by the way was deleted when the first tox was killed, so other toxes would then stop logging). Various bits of the code now carry a logger or pass it around. It's a bit less transparent now, but now there is no need to have a global logger, and clients can decide what to log and where. | |||
2016-01-04 | DHT improvements part 1. | irungentoo | |
2015-12-16 | Slightly increase ping timeout. | irungentoo | |
2015-12-16 | Improved the to_ping list. | irungentoo | |
2015-12-15 | More efficient DHT searching. | irungentoo | |
2015-12-11 | DHT improvements. | irungentoo | |
Feed better nodes to onion, bootstrap off close clients when DHT friend is added. | |||
2015-08-07 | Removed a useless define. | irungentoo | |
2015-07-30 | client_id -> public_key | irungentoo | |
2015-07-29 | client_id -> public_key | irungentoo | |
2015-07-28 | client_id -> public_key | irungentoo | |
2015-07-27 | client_id -> public_key | irungentoo | |
2015-07-25 | Comment fix. | irungentoo | |
2015-07-15 | Added function to help calculate size of packet nodes. | irungentoo | |
2015-06-26 | Some comment fixes. | irungentoo | |
2015-06-07 | Don't bootstrap to all loaded nodes at once. | irungentoo | |
2015-06-06 | Save DHT nodes in a smarter way. | irungentoo | |
2015-01-29 | Code cleanups. | irungentoo | |
Rename array in Node_format from client_id to public_key. | |||
2015-01-02 | Removed useless function. | irungentoo | |
2014-12-31 | Check if received ip family is valid for the onion packets. | irungentoo | |
2014-12-30 | Remove useless code. | irungentoo | |
2014-11-21 | Cleaned up packet length types in toxcore. | irungentoo | |
They are now all uint16_t instead of sometimes being uint32_t. Replaced some other uint32_t with unsigned ints. | |||
2014-09-27 | Moved all the connection stuff from messenger to friend_connection. | irungentoo | |
Messenger was doing way do many things. friend_connection takes care of finding and establishing a connection to friends. | |||
2014-09-26 | Added callbacks to onion_client and net_crypto for the temp dht key. | irungentoo | |
Better than the polling mess. Moved DHT to Messenger from onion_client (still needs some cleanups). | |||
2014-09-26 | Added callbacks to DHT called when the ip of a peer is discovered. | irungentoo | |
2014-09-26 | DHT can now be used for group chat cons and friend cons at the same time. | irungentoo | |
2014-09-25 | More groupchats code written. | irungentoo | |
2014-09-25 | Removed now useless atributes from structs. | irungentoo | |
2014-09-12 | Removed tox_connect, initial connections are made on first tox_do | saneki | |
2014-09-09 | Fixed spacing | saneki | |
2014-09-09 | Added tox_connect function, no connecting done during tox_load | saneki | |
2014-08-18 | Added function to check if we were only connected to LAN DHT peers. | irungentoo | |