Commit graph

354 commits

Author SHA1 Message Date
Håvard Pettersson
cacd200a5c Define function return codes. 2015-04-09 22:16:46 +02:00
Håvard Pettersson
7721a245f3 asd 2015-04-09 21:33:29 +02:00
Håvard Pettersson
d01c85257e Update Tox_Options use to match new API. 2015-04-09 20:41:23 +02:00
Håvard Pettersson
f24e15f32a Rename macros per the new core API.
- TOX_FRIEND_ADDRESS_SIZE -> TOX_ADDRESS_SIZE
 - TOX_CLIENT_ID_SIZE -> TOX_PUBLIC_KEY_SIZE
 - TOX_USERSTATUS(_*) -> TOX_USER_STATUS(_*)
 - TOX_FAERR_* -> TOX_ERR_FRIEND_ADD_*
2015-04-09 20:22:53 +02:00
Håvard Pettersson
bf28ab37be Added CMake find modules, fixing build on FreeBSD. 2015-01-30 13:55:19 +00:00
Håvard Pettersson
37e3b66691 Got rid of SQLite. 2015-01-06 16:15:27 +01:00
Håvard Pettersson
0df57900bb Reflowed README. 2015-01-06 16:15:27 +01:00
Håvard Pettersson
4794097872 Minor config code refactor. 2015-01-04 15:10:22 +01:00
Håvard Pettersson
1e7be52e5b Minor updates to user-facing strings. 2015-01-04 15:10:22 +01:00
Håvard Pettersson
dde3ce9512 Removed proxy_enabled option in favor of proxy_type. 2015-01-04 15:10:21 +01:00
Håvard Pettersson
30677fdd7a Updated copyright line for 2015. 2015-01-04 14:08:10 +01:00
Håvard Pettersson
16252c3dc2 Implemented /part. 2014-11-22 22:50:02 +01:00
Håvard Pettersson
b1d16a086d Use Tox ID instead of peer number to index nicks in group chats. 2014-11-22 22:50:02 +01:00
Håvard Pettersson
a5c4023f9e Added twc_hash_tox_id. 2014-11-22 22:50:02 +01:00
Håvard Pettersson
73980b1042 Removed redundant error message. 2014-11-22 22:50:02 +01:00
Håvard Pettersson
df758124dd Formatting. 2014-11-22 22:50:02 +01:00
Håvard Pettersson
5ff27aeebe Removed debug messages. 2014-11-22 21:19:48 +01:00
Håvard Pettersson
fecde4d89d Only print SQLite debug messages when compiled for it. 2014-11-20 11:22:30 +01:00
Håvard Pettersson
f1ee1baebd Formatting. 2014-11-20 11:22:15 +01:00
Håvard Pettersson
e11d82b25c Added some debug messages. 2014-11-20 11:17:16 +01:00
Håvard Pettersson
bdc0000cce Remember to free prev_name if it is allocated. 2014-11-20 11:13:20 +01:00
Håvard Pettersson
cba04d0062 Fixed some type warnings. 2014-11-20 11:05:05 +01:00
Håvard Pettersson
5d4f420c71 Updated README. 2014-11-19 12:37:19 +01:00
Håvard Pettersson
0cee67e49f Fixed syntax error in CMake < 3.0. 2014-11-19 12:03:06 +01:00
Håvard Pettersson
aa4f45dd12 DNS query callback should provide Tox ID in binary form. 2014-11-19 11:54:21 +01:00
Håvard Pettersson
20bcc0700a Changed output type of twc_hex2bin to (uint8_t *). 2014-11-19 11:53:40 +01:00
Håvard Pettersson
2af297d24b Added an API for Tox DNS lookup. 2014-11-19 11:49:53 +01:00
Håvard Pettersson
82523f448b Formatting. 2014-11-19 09:43:00 +01:00
Håvard Pettersson
9d62668113 Bumped libsodium version on Travis to 1.0.0. 2014-11-19 06:23:27 +01:00
Håvard Pettersson
14ca66e394 Added profile parameter to TWC_CHECK_FRIEND_NUMBER macro. 2014-11-19 06:20:02 +01:00
Håvard Pettersson
8585b09700 Fixed typo in comment. 2014-11-19 06:17:20 +01:00
Håvard Pettersson
d4bf01e670 Implemented /invite. 2014-11-19 06:15:53 +01:00
Håvard Pettersson
e97b1da067 Added TWC_CHECK_GROUP_CHAT macro. 2014-11-19 06:15:33 +01:00
Håvard Pettersson
92859ce6fc Fixed group chats not being deleted on close. 2014-11-19 06:15:04 +01:00
Håvard Pettersson
54c6908c4e Fixed uninitialized variable.
Make sure return code is initialized in twc_group_chat_invite_join.
2014-11-19 05:51:52 +01:00
Håvard Pettersson
976a5a9e22 Fixed libtoxav build on Travis. 2014-11-19 05:13:46 +01:00
Håvard Pettersson
708f4d77aa Added support for joining A/V group chats. 2014-11-19 04:49:39 +01:00
Håvard Pettersson
b6015a60bb Link to libtoxav. 2014-11-19 04:49:09 +01:00
Håvard Pettersson
1d91f61ce3 Comment typo fix. 2014-11-18 20:10:10 +01:00
Håvard Pettersson
d9f7e8f23d Formatting. 2014-11-18 16:12:45 +01:00
Håvard Pettersson
b851cec9bc Added group chat title callback. 2014-11-18 16:04:57 +01:00
Håvard Pettersson
f17482aef3 Implemented /topic. 2014-11-18 16:04:42 +01:00
Håvard Pettersson
4811c7bc66 Prevent crashes in twc_chat_refresh. 2014-11-18 16:03:49 +01:00
Håvard Pettersson
7fdb643282 Use group chat title instead of "Group Chat #" if possible. 2014-11-18 15:39:46 +01:00
Håvard Pettersson
a7e0445c84 Create group chat buffer if it's missing in namelist callback. 2014-11-18 15:18:27 +01:00
Håvard Pettersson
014a2070ca Implemented /group create. 2014-11-18 15:18:02 +01:00
Håvard Pettersson
d7a72f3383 Prevent crash when twc_chat_new returns NULL. 2014-11-18 15:17:34 +01:00
Håvard Pettersson
8ab3ce630b Added error messages when group chat invites fail. 2014-11-18 13:56:48 +01:00
Håvard Pettersson
48093e1833 Updated group invite callback function signature. 2014-11-18 13:30:13 +01:00
Håvard Pettersson
17c166cc41 Added some safeguards against crashes. 2014-10-18 12:02:14 +02:00