Simon Levermann
6adbefab2b
Use the messenger's dht instead of creating a new one
2013-08-20 23:08:14 +02:00
Simon Levermann
4f1dfa476a
Fix Messenger_test
2013-08-20 22:36:22 +02:00
irungentoo
88ff81d9de
Passed everything through astyle.
2013-08-16 13:11:09 -04:00
irungentoo
f93e23e411
Updated some files.
2013-08-13 11:50:33 -04:00
alek900
8d3e68b74d
Added support for userdata in callbacks
2013-08-12 14:23:46 +02:00
Chris Hall
4293c4b1e6
Messenger refactor - redid work from pull request 79
...
Moves static state out of Messenger.c and into a Messenger struct
Purely stylistic, no functional changes were made.
This commit also changed all the callers of Messenger as they now have
to pass an instance of the Messenger struct to messenger functions.
Also removed some uses of the 'static' keyword at the beginning of
function definitions when the function was already declared static, as
these caused gcc to whine.
2013-08-12 21:37:38 +12:00
Christian Brueffer
0b8fa72914
Fix a recurring typo in code and comments.
2013-08-09 14:01:35 +02:00
Simon Levermann
924219b1ab
Actually use write_result
2013-08-07 13:23:12 +02:00
Simon Levermann
6349ccc97b
Don't ignore the result of fwrite. Since we're building with -Wall and -Werror, this causes compile failures.
2013-08-07 13:13:04 +02: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
Konstantin Kowalski
a1b93c397c
took out several strlen() calls out of the loop; replaced int's with size_t where needed
2013-07-26 16:16:58 -04:00
SilentSand
59b34e423b
Formatting.
...
Many stylistic changes, mostly formatting code more closely to the
coding style.
2013-07-26 04:02:17 -04:00
SilentSand
f377eb9ca2
Licensing
...
Added the GPLv3 license to some files in addition to fixing some
comments at the beginning of the files.
2013-07-25 21:45:56 -04:00
irungentoo
ad44110fd5
Added nicknames and nickname syncing.
2013-07-18 11:47:27 -04:00
irungentoo
4864cb9edb
Bug fixed, Loading and saving added to core.
2013-07-17 12:07:19 -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
0b18dcda6f
Per friend request data added.
2013-07-10 17:31:58 -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
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