Commit Graph

343 Commits

Author SHA1 Message Date
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
Håvard Pettersson
e6aea86754 Fixed link in readme. 2014-10-18 02:45:23 +02:00
Håvard Pettersson
1465a0e6dc Fixed name of peer leaving group chat. 2014-10-18 02:36:26 +02:00
Håvard Pettersson
3ccc1be67f Added group chat join/part/name change messages. 2014-10-18 02:14:44 +02:00
Håvard Pettersson
6ef6a90c52 Added link to [haavard] repository. 2014-10-14 21:41:47 +02:00
Håvard Pettersson
4a81caeae6 Removed build-scripts.
PKGBUILD has been moved to a separate repository.
2014-10-14 21:38:59 +02:00
Håvard Pettersson
ffc381b869 Improved performance of twc_list_get.
Walk the list backwards if we're getting an index closer to the end than the beginning.
2014-10-12 13:01:32 +02:00
Håvard Pettersson
666dd36f8d Added twc_list_foreach_reverse. 2014-10-12 12:58:45 +02:00
Håvard Pettersson
3ef7cde92e Removed twc_config_profile_write_callback. 2014-10-12 12:31:22 +02:00
Håvard Pettersson
e6e4fd568e Added some config options. 2014-10-12 12:24:49 +02:00
Håvard Pettersson
a437931e41 Allocate Tox_Options statically. 2014-10-11 13:56:34 +02:00
Håvard Pettersson
124f764546 Updated README. 2014-10-11 13:16:18 +02:00