Håvard Pettersson
55bac4c99a
Fix error in comment.
2016-05-11 08:41:51 +02:00
Håvard Pettersson
01ff90ad65
Remove ToxDNS-related code.
...
ToxDNS is deprecated.
2016-05-11 08:32:13 +02:00
Håvard Pettersson
f6ac605f92
Bump year in copyright notice.
2016-05-10 12:04:24 +02:00
Håvard Pettersson
8225fbdd81
Fix crash when closing profile buffers.
2016-05-10 11:55:22 +02:00
Håvard Pettersson
4ff7abb641
Fix display issue for chat emotes.
2016-05-10 11:55:06 +02:00
Håvard Pettersson
4aa054aada
Add basic nick coloring functionality.
2016-05-10 11:29:50 +02:00
Håvard Pettersson
174f00eccd
Update to match WeeChat 1.5 plugin API.
2016-05-10 11:08:13 +02:00
Håvard Pettersson
801d863626
Allow build without encryptsave library + formatting cleanup.
2015-09-07 19:47:25 +02:00
Håvard Pettersson
3b69de11cb
Fix comment typo.
2015-09-07 19:47:25 +02:00
Michael Raitza
a81e5c5ad0
Added encrypted profile storage.
...
New profile string config option .passphrase. Can contain valid weechat
expressions such as references to secure data storage, e.g.
"${sec.data.}", or the environment "${env:*}". Uses
libtoxencryptsave.so for full interoperability with other clients.
2015-09-07 19:47:25 +02:00
Håvard Pettersson
a6420e5d47
Fix invalid preprocessor #ifdef.
2015-09-02 22:54:34 +02:00
Håvard Pettersson
8056298e38
Make Tox AV features optional.
2015-09-02 22:35:13 +02:00
Håvard Pettersson
74d0df8203
Removed unused function.
2015-08-26 20:07:03 +02:00
Håvard Pettersson
919ffee4d0
Additional error handling.
2015-08-26 20:06:58 +02:00
Michael Raitza
b376432f04
Updated to new tox API. Fixed profile loading.
2015-08-26 16:48:33 +02:00
Håvard Pettersson
ed96d36711
New API cleanup.
2015-04-10 00:08:40 +02:00
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
37e3b66691
Got rid of SQLite.
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
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
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
708f4d77aa
Added support for joining A/V group chats.
2014-11-19 04:49:39 +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
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
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
a00e0f311f
Fixed twc_friend_request_add return value.
2014-10-11 12:47:43 +02:00
Håvard Pettersson
cceb25409e
Formatting.
2014-10-11 12:45:14 +02:00
Håvard Pettersson
a10b923ef9
Added option for enabling/disabling IPv6.
2014-10-11 12:27:31 +02:00
Håvard Pettersson
41d6c80de7
Fixed /friend accept|decline documentation.
2014-10-11 12:14:15 +02:00
Håvard Pettersson
071a70618e
Added -force flag to /friend add.
2014-10-11 12:12:06 +02:00
Håvard Pettersson
f956109dc6
Fixed bug in twc_match_friend.
2014-10-11 12:11:55 +02:00
Håvard Pettersson
328ac28aa8
Actually care about max_friend_requests.
2014-10-11 11:48:24 +02:00
Håvard Pettersson
270fc20989
Moved profile_default option array to profile.{h,c}.
2014-10-11 11:44:29 +02:00
Håvard Pettersson
613fd7ee6d
Updated /tox documentation.
2014-10-11 11:31:09 +02:00
Håvard Pettersson
a11590f650
Added /tox reload command.
2014-10-11 11:30:15 +02:00
Håvard Pettersson
38df57f07c
Tweaked config code.
2014-10-11 11:23:26 +02:00
Håvard Pettersson
188f3452e1
Renamed some options.
2014-10-11 10:30:05 +02:00
Håvard Pettersson
ab1cef34fc
Implemented proxy capabilities.
2014-10-11 10:24:25 +02:00
Håvard Pettersson
70959e3d6e
Pass proxy options when creating Tox object.
2014-10-11 08:52:31 +02:00
Håvard Pettersson
b585904557
Added validation of proxy_address option.
2014-10-11 08:46:26 +02:00
Håvard Pettersson
602bf76962
Added proxy options.
2014-10-11 08:28:41 +02:00
Håvard Pettersson
68cb3cc543
Fixed crash with invalid group invite numbers.
2014-10-10 11:36:54 +02:00
Håvard Pettersson
6fc93d1f7a
Save Tox profile data on /save.
2014-10-07 04:02:06 +02:00
Håvard Pettersson
91b8ebdd4c
Renamed method twc_save_profile_data_file.
...
New name twc_profile_save_data_file.
2014-10-07 03:53:04 +02:00
Håvard Pettersson
6e09fb4b7e
Added int twc_save_profile_data_file to header.
2014-10-07 03:50:52 +02:00
Håvard Pettersson
67d0ca6db0
Fixed friend request number in reminder message.
2014-10-06 13:19:37 +02:00
Håvard Pettersson
57dd75afaa
Handle WeeChat -a/--no-autoconnect flag.
2014-10-05 22:54:55 +02:00
Håvard Pettersson
391c5829d8
Fixed warning.
2014-10-05 05:27:42 +02:00
Håvard Pettersson
5f3d2f04f7
Added nicklist to group chats.
2014-10-05 05:22:59 +02:00
Håvard Pettersson
06ca342213
Fixed group chat joining.
2014-10-05 02:30:08 +02:00
Håvard Pettersson
4d852487b2
Added profile to buffer names to avoid conflicts.
2014-10-05 01:46:59 +02:00
Håvard Pettersson
11609f6bb4
Formatting.
2014-10-05 01:36:45 +02:00
Håvard Pettersson
0499f92ad7
Fixed bugs with names containing spaces.
2014-10-05 01:31:54 +02:00
Håvard Pettersson
9a97a3fe0c
sd.
2014-10-05 00:28:47 +02:00
Håvard Pettersson
78364e3d13
Added name and Tox ID completion.
2014-10-05 00:24:52 +02:00
Håvard Pettersson
d90e3e5b58
Prevented crash when typing into group chats.
2014-10-05 00:06:35 +02:00
Håvard Pettersson
a30abf4ec4
Added /nospam command.
2014-10-05 00:06:35 +02:00
Håvard Pettersson
1d64f5ac50
Added twc_uint32_reverse_bytes function.
2014-10-05 00:06:35 +02:00
Håvard Pettersson
069c4540ec
More group chats.
2014-10-04 23:13:49 +02:00