Commit Graph

127 Commits

Author SHA1 Message Date
Maxim Biro
23f13cd95d Fixed include 2013-07-23 03:09:00 -04:00
irungentoo
2cf05862d5 Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-07-22 18:19:33 -04:00
Maxim Biro
52f3b1553f Added support of linkage with C++ code 2013-07-22 18:06:24 -04:00
irungentoo
8379941584 Added small thing to DHT. 2013-07-22 17:21:58 -04:00
irungentoo
d0b4fa56a3 Friend requests should be better. 2013-07-22 17:02:32 -04:00
irungentoo
11d02de9a1 Fixed small thing in DHT. 2013-07-22 16:26:10 -04:00
irungentoo
55361eac6f Modified the way friend requests worked.
Added routing of friend requests.
2013-07-22 14:52:42 -04:00
Maxim Biro
533f136d0e Made a cmake project for Core 2013-07-21 20:41:08 -04:00
redwire
b16013b86b Fixed temp redeclaration 2013-07-21 21:23:21 -02:30
redwire
99c3426cbc Going with irungentoo's suggestion and using memcpy instead of sectioning with arithmetic 2013-07-21 21:13:04 -02:30
Zack
9b634504a6 Fixed an embarassing typo 2013-07-21 18:40:24 -02:30
Zack
c999fb6462 Implemented a faster algorithm for generating nonces 2013-07-21 18:35:12 -02:30
irungentoo
7fecd73ae0 Added routing functions to DHT. 2013-07-21 13:14:36 -04:00
irungentoo
4f4e41f2eb Initial connections might be faster. 2013-07-20 22:22:17 -04:00
irungentoo
b9b50481be Fixed segfault. 2013-07-20 19:59:01 -04:00
Maxim Biro
e4469b5130 Added address resolving function (Thank you stal). 2013-07-20 17:31:36 -04:00
irungentoo
72ea431489 Merge pull request #62 from Captainhat/master
More comments in core fixed
2013-07-20 08:25:19 -07:00
Andrew
9616cc6a89 More changes made to comments, as requested by jvrv 2013-07-20 11:02:43 -04:00
Andrew
5101ef756a Fixed comments in other files as per request of jvrv 2013-07-20 10:39:05 -04:00
irungentoo
11e94066f7 Merge branch 'master' of https://github.com/sometwo/ProjectTox-Core into sometwo-master
Conflicts:
	core/Messenger.c
2013-07-20 07:55:21 -04:00
Maxim Biro
48e2a80720 Don't assume that all callbacks are set.
If one of callbacks is not set, the application crashes.
This is the case when you update the library and the update adds more
callbacks, or when you simply don't want to receive some of the updates
(callbacks).
In any case, defining all callbacks shouldn't be mandatory.
2013-07-19 23:17:15 -04:00
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