Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-06 | Improve static and const correctness. | iphydf | |
- Any non-externally-visible declarations should be `static`. - Casting away the `const` qualifier from pointers-to-const is dangerous. All but one instance of this are now correct. The one instance where we can't keep `const` is one where toxav code actually writes to a chunk of memory marked as `const`. This code also assumes 4 byte alignment of data packets. I don't know whether that is a valid assumption, but it's likely unportable, and *not* obviously correct. - Replaced empty parameter lists with `(void)` to avoid passing parameters to it. Empty parameter lists are old style declarations for unknown number and type of arguments. - Commented out (as `#if DHT_HARDENING` block) the hardening code that was never executed. - Minor style fix: don't use `default` in enum-switches unless the number of enumerators in the default case is very large. In this case, it was 2, so we want to list them both explicitly to be warned about missing one if we add one in the future. - Removed the only two function declarations from nTox.h and put them into nTox.c. They are not used outside and nTox is not a library. | |||
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-09-02 | Do not use `else` after `return`. | iphydf | |
http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code | |||
2016-08-31 | Add braces to all if statements. | iphydf | |
2016-08-18 | Make tox_callback_friend_name stateless. | iphydf | |
See #27 and #40 for details. | |||
2016-01-27 | fix: replace memset with sodium_memzero for sensitive data | Roman Proskuryakov | |
2016-01-27 | fix: compare sensitive data with sodium_memcmp | Roman Proskuryakov | |
fix: make increment_nonce & increment_nonce_number independent of user-controlled input fix: make crypto_core more stable agains null ptr dereference | |||
2015-06-13 | Fixed warning. | irungentoo | |
2015-06-02 | Small change. | irungentoo | |
2015-02-17 | Updated types in Messenger callbacks to fit with the ones in the new api. | irungentoo | |
Friend number changed from int32_t to uint32_t. Some lengths changed to size_t. | |||
2015-02-16 | Allow empty names and status messages. | irungentoo | |
2015-01-19 | Fixed gcc warnings. | irungentoo | |
2015-01-09 | Send lossy packets to less peers. | irungentoo | |
Send them to the two closest peers that we did not recieve the packet from. | |||
2014-12-08 | Restore compatibility with older group chats. | irungentoo | |
2014-12-08 | Delete close connection when peer leaves chat. | irungentoo | |
2014-12-06 | Group stability fixes. | irungentoo | |
2014-12-02 | Fixed bug where group chat would see connection as offline when it was online. | irungentoo | |
Clarified something in the docs. | |||
2014-12-01 | Groupchat stability fixes. | irungentoo | |
Query for peers if we were connected to nobody for some reason. | |||
2014-12-01 | Removed useless code. | irungentoo | |
2014-12-01 | Prevent joining groupchat more than once. | irungentoo | |
2014-12-01 | Group chats should be less likely to break. | irungentoo | |
2014-11-30 | Joining a group chat should be more reliable. | irungentoo | |
Only disconnect from the friend we used to join when we are connected to at least 3 other people. | |||
2014-11-19 | get peer pubkey api | dubslow | |
2014-11-15 | Last fix didn't really work well. | irungentoo | |
This one should work better. | |||
2014-11-15 | Setting groupchat title when the groupchat isn't connected should | irungentoo | |
now return success. | |||
2014-11-15 | Some modifications to the last pull request. | irungentoo | |
2014-11-14 | add api function to get group title | Jfreegman | |
2014-11-14 | Group chat title fixes. | irungentoo | |
2014-11-13 | Merge branch 'titles' of https://github.com/dubslow/toxcore | irungentoo | |
2014-11-12 | Properly fixed group av issue. | irungentoo | |
2014-11-12 | Fixed groupchat bug that caused peers to not connect to each other. | irungentoo | |
2014-11-11 | Fixed group av issues. | irungentoo | |
2014-11-11 | Fixed audio groupchat issue. | irungentoo | |
2014-11-11 | fix type checking | dubslow | |
2014-11-11 | public api, finishing tweaks | dubslow | |
2014-11-11 | add title send to peer send | dubslow | |
2014-11-11 | basic group titles | dubslow | |
2014-11-11 | Added function to get groupchat type. | irungentoo | |
2014-11-11 | Cleaned up some code, made group av clean up properly after itself | irungentoo | |
when the group is killed. | |||
2014-11-11 | Merge branch 'master' of https://github.com/tux3/toxcore | irungentoo | |
2014-11-11 | Fixed bug. | irungentoo | |
2014-11-11 | Fixed some audio group chat issues. | irungentoo | |
2014-11-10 | Audio group chats still have some small issues. | irungentoo | |
2014-11-10 | Group chats now have types. | irungentoo | |
2014-11-08 | Group audio starting to take shape. | irungentoo | |
Some issues still left to solve. | |||
2014-11-08 | Remove unused variable | Tux3 / Mlkj / !Lev.uXFMLA | |
2014-11-07 | Some function changes for better A/V integration to group chats. | irungentoo | |
2014-11-07 | Added more group functions to eventually have working A/V. | irungentoo | |
2014-11-06 | Added some functions to send and handle lossy packets. | irungentoo | |
2014-11-05 | Added functions to relay lossy group chat packets. | irungentoo | |