Commit Graph

106 Commits

Author SHA1 Message Date
jvrv
a72777ed70 fix comments of some files 2013-07-20 00:00:10 -03:00
Martijnvdc
cf6327db49 Update net_crypto.c
changed all "i++" into "++i", as proposed by nfkd
2013-07-19 19:34:35 +02:00
Martijnvdc
727ab4adee Update Lossless_UDP.c
changed all "i++" into "++i", as proposed by nfkd
2013-07-19 19:28:58 +02:00
irungentoo
00320267ae Merge pull request #56 from Martijnvdc/patch-1
Patch 1
2013-07-19 10:02:52 -07:00
irungentoo
c657778f0c The last fix was wrong, this time it's properly fixed. 2013-07-19 12:35:52 -04:00
Martijnvdc
2b4712122c Update Messenger.c
changed all "i++" into "++i", as proposed by nfkd
2013-07-19 18:18:29 +02:00
irungentoo
2d88476d44 Fixed big bug in DHT. 2013-07-19 12:09:40 -04:00
Martijnvdc
c66787929f Update DHT.c
changed all "i++" into "++i", as proposed by nfkd
2013-07-19 17:55:34 +02:00
irungentoo
d792247dd8 Fixed bug that sometimes prevented two clients from connecting. 2013-07-19 10:57:05 -04:00
irungentoo
f06cd56ece Saving of userstatus not implemented, removed loading of them. 2013-07-18 17:57:01 -04:00
irungentoo
dd623d120e Merge pull request #50 from stal888/master
Move packet IDs to Messenger.h.
2013-07-18 14:12:53 -07:00
irungentoo
6291a04ed2 Fixed bug in the messenger loading. 2013-07-18 17:10:26 -04:00
Sebastian Stal
0de611627d Move packet IDs to Messenger.h. 2013-07-18 13:58:03 -07:00
irungentoo
c8d7044efb Status packet is now id 49 (It's cleaner that way). 2013-07-18 15:59:14 -04:00
Sebastian Stal
eb26220743 Fix a leak. 2013-07-18 11:13:29 -07:00
Sebastian Stal
b190dc6fbe Add custom user statuses to core, updated nTox to support nicknames and user statuses. 2013-07-18 10:56:50 -07:00
irungentoo
ad44110fd5 Added nicknames and nickname syncing. 2013-07-18 11:47:27 -04:00
irungentoo
817ad50d96 Fixed small mistake (Thank you stal). 2013-07-17 15:10:52 -04:00
irungentoo
f27b5c9296 Fixed bug with deleting friends. 2013-07-17 13:54:19 -04:00
irungentoo
4864cb9edb Bug fixed, Loading and saving added to core. 2013-07-17 12:07:19 -04:00
irungentoo
ffa809b379 ncurses test now tells you when you connect to the DHT. 2013-07-16 19:45:20 -04:00
irungentoo
bec416a050 Fixed some bugs and a regression. 2013-07-16 19:02:44 -04:00
irungentoo
5572396c53 Saving and loading of keys added. 2013-07-16 13:44:46 -04:00
irungentoo
e63ba9c61b Loading and saving added to DHT. 2013-07-16 13:20:45 -04:00
irungentoo
c8d046e348 Some very basic flow control added to lossless UDP. 2013-07-16 10:36:59 -04:00
Jeffail
859f31c160 Just cleaning up as I read, no behaviour changes 2013-07-15 15:42:50 +01:00
irungentoo
f3dfeb607b Fixed useless inbound connection not timing out. 2013-07-14 15:22:49 -04:00
irungentoo
41d31e9802 Deleting friend now kills the connection to that friend. 2013-07-14 11:52:32 -04:00
irungentoo
6e1390554c Some dynamic memory allocation added to the DHT. 2013-07-14 11:50:34 -04:00
irungentoo
084185a2c2 use DEBUG define to turn on some printfs. 2013-07-14 11:40:42 -04:00
irungentoo
96b8cb1c43 Fixed @ appearing in messages. 2013-07-13 22:28:25 -04:00
Oliver Hunt
b69fbb15e2 Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core into ncursesclient 2013-07-14 02:57:16 +01:00
Oliver Hunt
9f38ab582c fixed the ncurses client i believe 2013-07-14 02:57:09 +01:00
irungentoo
11a39bb49a Cmake changed, small change in random_int()
Cmake builds now builds the new ncurses test only on non windows.
2013-07-13 19:24:14 -04:00
irungentoo
11a2bf0878 Fixed 2 small mistakes present in the last pull request. 2013-07-13 18:20:58 -04:00
Maxim Biro
c2fb803ad5 Added conversion from friend_id to client_id 2013-07-13 18:09:17 -04:00
irungentoo
e80ac120e1 Build fixed? 2013-07-12 16:35:45 -04: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
irungentoo
e830861a9d Use UTF-8 for all the text that is sent/recieved. 2013-07-11 08:54:34 -04:00
irungentoo
a20efb7c1b Removed useless define. 2013-07-11 07:20:12 -04:00
irungentoo
0b18dcda6f Per friend request data added. 2013-07-10 17:31:58 -04:00
irungentoo
f471602d5d updated TODO 2013-07-10 12:54:39 -04:00
juryben-fedora
c600835ad3 cast parameters to unsigned char and terminal localhost regex without domain 2013-07-09 23:16:59 -04:00
irungentoo
e680d885d7 Delete friends function now works and some other changes. 2013-07-09 20:25:52 -04:00
irungentoo
803fbafc50 Comments updated. 2013-07-09 13:42:28 -04:00
irungentoo
127fced11f Added comment block to Messenger test. 2013-07-09 13:27:47 -04:00
irungentoo
4d50638528 Basic IM messenger backend pretty much done (You can start the GUI)
And a couple of fixes to the other parts.
2013-07-09 13:20:48 -04:00
irungentoo
db37eca44b Some work done on the messenger part. 2013-07-08 20:50:25 -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
irungentoo
c00cf85078 Spelling mistakes fixed. 2013-07-08 12:36:11 -04:00