summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-14core,nTox,toxic - Fix for Issue #453. Refactoring w/astyle.Aseda Gyeke Aboagye
This commit introduces a few things. Basically I didn't like the fact that although we had a coding style document, no one was following it. See https://github.com/irungentoo/ProjectTox-Core/issues/453 for more info regarding that. This commit just marks the first of my efforts to refactor the code base according to the posted coding style document by introducing an astylerc and a optional git pre-commit hook. I propose that users can add this functionality as a pre-commit hook. More info is in the README file. However, this has only been tested on Linux and I imagine should work on OSX as well. I don't think pre-commit hooks work on Windows, but I may be mistaken. The future commits I plan are refactoring the source files for other offending items such as using typedefs. See http://wiki.tox.im/index.php/Coding_Style.
2013-08-15add dhtstatus windowAaron Lipinski
2013-08-15add dhtstatus fileAaron Lipinski
2013-08-15provide access to the close client listAaron Lipinski
2013-08-15move client data struct to header fileAaron Lipinski
2013-08-15refresh windows after resizeAaron Lipinski
2013-08-14Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-08-14Metadata collection prevention part 1 of ???.irungentoo
Crypto requests packets are packets that can be routed by nodes in the DHT. In this pull request I have merged both Natping requests and friend requests into one common packet (Crypto request packets). Both these packets should now only be distinguishable by the size of the data in them to an outside observer for an example on how to send and recieve data with these packets see: friend_requests.c Note that these packets are prefixed with id 32 (friend request packets) which means this change is compatible with the currently running DHT bootstrap servers. Also changed small thing in DHT_test.c
2013-08-14Merge pull request #467 from JFreegman/masterirungentoo
small bug fixes for toxic
2013-08-14small bug fixesJfreegman
2013-08-14Merge pull request #466 from naxuroqa/masterirungentoo
Fix for another segfault/leak case when using -f arg
2013-08-14Fix for another segfault/leak case when using -f argnaxuroqa
2013-08-14Logo is now hosted on the repo.irungentoo
2013-08-14Added logo in readme to repo.irungentoo
2013-08-14Merge pull request #465 from manuel-arguelles/load_from_fileirungentoo
Fix segfault when using -f in toxic
2013-08-14Fix segfault when using -f in toxicManuel Argüelles
Call strdup() to the data file argument string to avoid segmentation fault when it is later freed.
2013-08-14Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-08-14Add friend now fails if it already is in DHT.irungentoo
2013-08-14Merge pull request #464 from slvr/crypto-fixirungentoo
Incorrect constants: s/BOXZERO/ZERO/
2013-08-14Messenger fix from pr #461.irungentoo
2013-08-14Reduced redundant code, added new crypto testslvr
2013-08-14s/BOXZERO/ZERO/slvr
2013-08-14Incorrect constants: s/BOXZERO/ZERO/slvr
2013-08-14Merge branch 'patch-6' of https://github.com/Astonex/ProjectTox-Core into prirungentoo
2013-08-14Fixed small compile error on my end.irungentoo
2013-08-14Merge branch 'remove_externs' of https://github.com/krisl/ProjectTox-Core ↵irungentoo
into pr
2013-08-14Merge branch 'master' of https://github.com/mkfifo/ProjectTox-Core into prirungentoo
2013-08-15remove temporary callbacks from refactoringAaron Lipinski
2013-08-15move windows functions to its own fileAaron Lipinski
2013-08-15remove externs in favor of includesAaron Lipinski
2013-08-15add header guard and includes to windows.hAaron Lipinski
2013-08-14Merge branch 'master' of https://github.com/naxuroqa/ProjectTox-Core into prirungentoo
2013-08-15prefer param over staticAaron Lipinski
Conflicts: testing/toxic/main.c
2013-08-14Merge pull request #460 from krisl/masterirungentoo
Have toxic handle new no-spam values from friend request
2013-08-14Update prompt.cAstonex
Make id uppercase.
2013-08-14Have toxic handle new no-spam values from friend requestAaron Lipinski
2013-08-14rewrite of get_id functionnaxuroqa
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-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.)