Commit Graph

1421 Commits

Author SHA1 Message Date
Sean Qureshi
a03dcbb54e Fixes CERT MEM04-C; CWE-131 in net_crypto.c 2013-08-18 01:31:54 -07:00
Aaron Lipinski
1e4f9802fb remove WINDOW_STATUS, simplify adding and selecting chat windows 2013-08-18 20:26:39 +12:00
Sean Qureshi
17d3878174 Added minor error checking in Core, this helps prevent CERT MEM04-C; CWE-131 2013-08-18 01:26:11 -07:00
Sean Qureshi
71bc275284 Fixed a core memory leak 2013-08-18 00:23:50 -07:00
Sean Qureshi
c91e459364 Might improve windows detection 2013-08-17 20:57:35 -07:00
Sean Qureshi
ebe4a3f8d0 Added more colors 2013-08-17 19:43:10 -07:00
Sean Qureshi
91ae38450c Standarized DHTservers 2013-08-17 19:26:31 -07:00
irungentoo
12564b1f12 Merge pull request #483 from fhahn/small-test-improvements
Small test improvements
2013-08-17 15:17:36 -07:00
Florian Hahn
2e90691f4c Add test for getname 2013-08-17 23:23:54 +02:00
Florian Hahn
5c0c182ee1 Remove unused script for running tests
"make test" should be used to run the tests
2013-08-17 23:03:26 +02:00
Florian Hahn
a385c79cfe Use ck_assert_msg 2013-08-17 23:02:36 +02:00
irungentoo
f259ab5fa7 Fixed bug. 2013-08-17 11:30:48 -04:00
irungentoo
7d092c3467 Added dynamic memory allocation to crypto connections.
Also fixed some possible bugs in Messenger.c
2013-08-17 11:16:08 -04:00
irungentoo
35376d85aa Merge pull request #480 from rose-m/master
Messenger stores / loads nickname
2013-08-17 05:51:16 -07:00
Michael Rose
d1d24c123d Messenger stores / loads nickname
new toxic command to show nickname (mynick)
2013-08-17 11:59:28 +02:00
irungentoo
f2c336e4f5 Added docs detailing containing latest protocol changes. 2013-08-16 20:02:53 -04:00
irungentoo
ab5c2a36a2 Line breaks removed. 2013-08-16 19:01:04 -04:00
irungentoo
1207304f0b Metadata collection prevention part 2 of ???
Improved friend request sending.

As a side effect friend requests should now be routed less than before.

See added comments for details.
2013-08-16 18:57:00 -04:00
irungentoo
88ff81d9de Passed everything through astyle. 2013-08-16 13:11:09 -04:00
irungentoo
c5af8f44a9 Merge pull request #477 from naxuroqa/master
moved conf.py to its right place
2013-08-16 10:01:02 -07:00
irungentoo
173101624c Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-08-16 11:07:32 -04:00
irungentoo
095b3c4913 Some DHT hardening done.
See comments of added functions for details.
2013-08-16 11:04:28 -04:00
naxuroqa
cc21c62b71 moved conf.py to its right place
cleaned up the cmake for building the docs nicer
2013-08-16 16:15:15 +02:00
irungentoo
03d69140e9 Merge pull request #472 from naxuroqa/master
Build fails when SHARED_TOXCORE flag is set in cmake
2013-08-16 03:36:12 -07:00
naxuroqa
487c7d27d5 Fix for issue 472 2013-08-16 09:40:53 +02:00
irungentoo
add81b3426 Merge pull request #471 from krisl/master
Add spam length to data length
2013-08-15 18:00:55 -07:00
irungentoo
b15230583c Fixed loading and a small problem with the length of crypto requests. 2013-08-15 20:56:22 -04:00
irungentoo
36cb9b003d Merge branch 'master' of https://github.com/rose-m/ProjectTox-Core into rose-m-master 2013-08-15 19:59:43 -04:00
irungentoo
0a00c5c291 Merge pull request #457 from aaboagye/master
core,nTox,toxic - Fix for Issue #453. Begin refactoring w/astyle.
2013-08-15 16:58:27 -07:00
irungentoo
75873e31db Merge pull request #475 from nurupo/master
Commented out nTox_win32 in cmake
2013-08-15 16:57:34 -07:00
Maxim Biro
d93b5e2cb8 Fixed function agruments according to new API 2013-08-15 19:45:03 -04:00
Maxim Biro
bc15b106a9 Commented out nTox_win32 2013-08-15 19:12:55 -04:00
Aaron Lipinski
ff7b4f8418 Add spam length to data length in comparison against max size 2013-08-16 08:27:03 +12:00
irungentoo
9e3d5d6488 Updated comment. 2013-08-15 14:26:26 -04:00
irungentoo
2663b9d23d Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-08-15 14:25:36 -04:00
irungentoo
575804d19f Small improvement to DHT. Useless file removed. Small fix to toxic. 2013-08-15 14:24:32 -04:00
irungentoo
bf0c2364e1 Merge pull request #473 from fhahn/check-realloc-return-value
Check return value of realloc_friendlist and return FAERR_NOMEM on error
2013-08-15 09:32:05 -07:00
Florian Hahn
3590f0a521 Check return value of realloc_friendlist and return FAERR_NOMEM on error 2013-08-15 15:34:27 +02:00
Michael Rose
56bcbb8fc4 Merge official 2013-08-15 12:12:11 +02:00
Michael Rose
76bfefff6f Merge fix 2013-08-15 12:11:48 +02:00
irungentoo
70b633d816 Merge pull request #469 from jmaldonado6253/patch-1
Added new DHT server
2013-08-15 03:01:36 -07:00
irungentoo
e6ac93eff7 Merge pull request #468 from ABrambleNinja/patch-1
For me, installing check wasn't enough. check-devel was required (Fedora 19)
2013-08-15 03:00:25 -07:00
Michael Rose
52d3194e87 Merge official 2013-08-15 11:24:40 +02:00
Javier Maldonado
8a56f9cb37 Added new server 2013-08-15 05:31:08 +00:00
ABrambleNinja
36dfea3b5e For me, installing check wasn't enough. check-devel was required (Fedora 19) 2013-08-15 04:07:43 +00:00
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
Aaron Lipinski
bf6c04b2ca add dhtstatus window 2013-08-15 12:02:57 +12:00
Aaron Lipinski
1e190c97b8 add dhtstatus file 2013-08-15 12:02:57 +12:00
Aaron Lipinski
6b38b704a4 provide access to the close client list 2013-08-15 12:02:56 +12:00
Aaron Lipinski
93b34ef9e3 move client data struct to header file 2013-08-15 12:02:56 +12:00