Commit Graph

13 Commits

Author SHA1 Message Date
Aseda Gyeke Aboagye
d0098efa95 core,nTox,toxic - Fix for Issue #453. Refactoring w/astyle.
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-14 19:10:03 -07:00
Alexandre Viau
c2fbe6e80b Update .gitignore
Netbeans can't put his nbproject dir outside of source.
2013-08-08 14:55:52 -04:00
panosalbanis
4efd97a6e2 Added Vim swap files and ctags file 2013-08-08 10:52:39 +01:00
Kenan Yildirim
026b715dcd Add sodium/ to .gitignore
Because Windows devs.
2013-07-31 23:31:06 -04:00
Shivam Bansal
0fd49915f4 Update .gitignore 2013-07-30 12:02:16 -07:00
Konstantin Kowalski
b3fa1fc8f4 [fixed]created new files misc_tools.(c|h) and moved hex_string_to_bin() there. 2013-07-27 12:10:41 -04:00
Oliver Hunt
98c59506fa added data file to gitignore 2013-07-22 02:15:34 +01:00
Maxim Biro
ef0efd72b5 Improved build system 2013-07-17 18:18:27 -04:00
Jeffail
859f31c160 Just cleaning up as I read, no behaviour changes 2013-07-15 15:42:50 +01:00
irungentoo
79aa715514 First part of DHT hardening done.
Added crypto to the DHT communications.

This defeats completely the first attack mentioned in
docs/DHT_hardening.

Also updated the build system to build the latest test (it links it with
libsodium)
2013-07-12 16:27:19 -04:00
Ben B
458d7dc13e Update .gitignore 2013-07-09 17:05:06 -04:00
juryben-fedora
c310719f84 update gitingore 2013-07-09 17:02:07 -04:00
Anthony Super
dd8d34d460 Quick fix
Used two if statements, both of which just broke a loop. Just threw them together with ||. Should be slightly faster.
2013-07-08 11:05:20 -06:00