summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-14fix memory leakMichael Rose
2013-08-14fixing minor memory leak of friendlistChris Hall
2013-08-14removing unnecessary function pointer _isset variablesChris Hall
2013-08-13...irungentoo
2013-08-13...irungentoo
2013-08-13Fuck.irungentoo
2013-08-13Commented out old tests that are broken with current master.irungentoo
2013-08-13Hackish fix for the tests.irungentoo
2013-08-13Attempt to quickly fix a test.irungentoo
2013-08-13Simple XOR checksum added to address.irungentoo
2013-08-13clarified comment.irungentoo
2013-08-13Friend requests with different nospam fix and added saving/loading of nospam.irungentoo
2013-08-13store messenger when friends are addedMichael Rose
2013-08-13Updated some files.irungentoo
2013-08-13Fixed spam problem. (I broke the API so this will not build)irungentoo
The friend address is what the byte string that you give away for people to add you will be called. 1. Every friend address now contains a number set by the friend. This is to prevent someone from randomly spamming people in the DHT with friend requests and makes it so you need the person to actually give you the address in some way to send the friend request. This number is expected to be encrypted with the friend request. All requests that do not contain this number will be rejected. This means the spammer can no longer use the DHT to collect lists of valid addresses to spam. It also enables users to quickly change the number in case a spammer gets hold of the address and starts spamming it. 2. A 2 byte checksum will be added (not implemented yet) to prevent people from accidentally adding random strings as friends. (NOTE that this has nothing to do with the spam problem I just decided to add a placeholder for it now.)
2013-08-13Fixed merge problem and set better default names.irungentoo
2013-08-13Merge branch 'master' of https://github.com/JFreegman/ProjectTox-Core into ↵irungentoo
JFreegman-master
2013-08-13Merge pull request #441 from slvr/timerirungentoo
Timer Subsystem
2013-08-13Merge pull request #447 from gladiac/fixesirungentoo
Fixes
2013-08-13Merge pull request #445 from ReAzem/patch-1irungentoo
Update README.md
2013-08-13Portabily print out uint64_t using PRIu64slvr
2013-08-13Removed core/Messenger.c.origslvr
Cleanup from merge conflict.
2013-08-13timer_new -> new_timer and timer_delete -> delete_timer to avoid name conflictslvr
2013-08-13core: Fix a possible buffer overflow using getself_name().Andreas Schneider
If the passed buffer is smaller than MAX_NAME_LENGTH then, you will probably overflow it.
2013-08-13toxic: Fix get_user_config_dir().Andreas Schneider
2013-08-12unresolved addresses fail silentlyJfreegman
2013-08-12auto-connect errors verboseJfreegman
2013-08-12Update README.mdAlexandre Viau
Linked to wiki instead of dead pages.
2013-08-12put a bunch of repeated code into a function and added timestamps to ↵Jfreegman
status/nick changes
2013-08-12minor improvements and bug fixesJfreegman
2013-08-12Resolve Merge Conflictslvr
2013-08-12Merge remote-tracking branch 'upstream/master' into timerslvr
Conflicts: core/Messenger.c
2013-08-12Merge pull request #439 from Alek900/masterirungentoo
Added support for userdata in callbacks
2013-08-12Merge pull request #437 from JFreegman/masterirungentoo
make connection more robust for toxic
2013-08-12remember to call timer_pollslvr
2013-08-12Messenger Timerslvr
2013-08-12Added LAN discovery timerslvr
2013-08-12Added support for userdata in callbacksalek900
2013-08-12Implemented Deadline Timer and timer_testslvr
2013-08-12Merge pull request #438 from mkfifo/masterirungentoo
Messenger refactor - redid work from pull request 79
2013-08-12a little overkillJfreegman
2013-08-12Messenger refactor - redid work from pull request 79Chris Hall
Moves static state out of Messenger.c and into a Messenger struct Purely stylistic, no functional changes were made. This commit also changed all the callers of Messenger as they now have to pass an instance of the Messenger struct to messenger functions. Also removed some uses of the 'static' keyword at the beginning of function definitions when the function was already declared static, as these caused gcc to whine.
2013-08-12make connection more robustJfreegman
2013-08-11Merge pull request #436 from Alek900/masterirungentoo
Send our current status and name to friend that just came online.
2013-08-11Send our current status and name to friend that just came online.alek900
Our username and status might have changed while our friend was offline.
2013-08-11Merge pull request #435 from nurupo/masterirungentoo
Fixes of my previous pull request
2013-08-11Fixed a mistakeMaxim Biro
2013-08-11Fixed a typoMaxim Biro
2013-08-11Merge pull request #434 from nurupo/masterirungentoo
Replaced friendstatus with connectionstatus
2013-08-11Replaced friendstatus with connectionstatusMaxim Biro