Commit Graph

187 Commits

Author SHA1 Message Date
Håvard Pettersson
1af9ee8069 Removed unnecessary header declarations. 2014-09-26 22:04:37 +02:00
Håvard Pettersson
3125ca77d6 Use Jansson _new methods instead of decrefing. 2014-09-26 22:02:43 +02:00
Håvard Pettersson
3ed68cd364 Refactored offline messaging. 2014-09-26 21:57:21 +02:00
Håvard Pettersson
d45167971d Added tags to printed messages. 2014-09-26 18:33:17 +02:00
Håvard Pettersson
3fb416adb0 Store unsent messages for later transmission. 2014-09-21 01:17:20 +02:00
Håvard Pettersson
9b39ef3953 Fixed data loading/saving. 2014-09-20 23:36:40 +02:00
Håvard Pettersson
06e7747142 Renamed tox-weechat-json to -data. 2014-09-20 23:31:19 +02:00
Håvard Pettersson
e02d2c9b0e Refactoring. 2014-09-20 23:27:28 +02:00
Håvard Pettersson
f03103fa8f Rewrore JSON load/save code. 2014-09-20 22:36:31 +02:00
Håvard Pettersson
cf95a320b2 Cleaned up and documented friend request code. 2014-09-20 21:43:22 +02:00
Håvard Pettersson
49a864fc38 Grammar. 2014-09-20 21:19:05 +02:00
Håvard Pettersson
43146709b2 Added a size argument to hex2bin.
This avoids buffer overflows and related bad things.
2014-09-20 20:28:03 +02:00
Håvard Pettersson
f59a282db1 Fixed usage in README. 2014-09-20 09:09:30 +02:00
Håvard Pettersson
7c81c9dcfc Fixed connecting/disconnecting. 2014-09-20 09:06:34 +02:00
Håvard Pettersson
f7b086d38d Implemented /tox disconnect. 2014-09-19 19:15:19 +02:00
Håvard Pettersson
4882e83970 Added tox_connected_identities and tox_disconnected_identities. 2014-09-19 18:55:50 +02:00
Håvard Pettersson
3731737800 Fixed /tox completion. 2014-09-19 18:41:53 +02:00
Håvard Pettersson
1f6a0b1e7d Implemented /tox delete command. 2014-09-19 18:41:28 +02:00
Håvard Pettersson
2f057a380f Implemented /tox delete. 2014-09-19 18:20:39 +02:00
Håvard Pettersson
0e61f47b66 Inverted function argument (keep_data -> delete_data). 2014-09-19 18:20:36 +02:00
Håvard Pettersson
bc85c337a6 Implemented tox_weechat_identity_delete. 2014-09-19 18:10:45 +02:00
Håvard Pettersson
10c704da6f Updated usage info. 2014-09-19 17:53:11 +02:00
Håvard Pettersson
4c04d2b915 Renamed /myaddress to /myid. 2014-09-19 17:24:41 +02:00
Håvard Pettersson
d4ea20b555 Tweaked command /tox, added completion. 2014-09-19 17:03:10 +02:00
Håvard Pettersson
9810bf14d9 Added tox-weechat-completion.{h,c}. 2014-09-19 16:55:11 +02:00
Håvard Pettersson
95b9a2322f Updated bootstrap nodes. 2014-09-19 06:40:05 +02:00
Håvard Pettersson
de12fe97b7 Tweaked README. 2014-09-19 06:33:38 +02:00
Håvard Pettersson
4c13200888 Fixed bug where friend request message was freed too soon. 2014-09-18 19:55:16 +02:00
Håvard Pettersson
1bd4d6b02b Prevent redundant name change messages. 2014-09-18 19:54:05 +02:00
Håvard Pettersson
3db78a5c16 Tweaked install instructions. 2014-09-18 19:48:17 +02:00
Håvard Pettersson
3327a635d6 Added link to the AUR. 2014-09-18 19:39:40 +02:00
Håvard Pettersson
3a6fc1d6f3 Don't notice about pending friend requests when there are none. 2014-09-18 19:13:52 +02:00
Håvard Pettersson
6cdb71e086 Changed license to GPL3. 2014-09-18 18:56:43 +02:00
Håvard Pettersson
afec545f50 Hopefully fixed Travis. 2014-09-18 18:31:08 +02:00
Håvard Pettersson
d176f8fdc1 Require libjansson >=2.5. 2014-09-18 18:16:15 +02:00
Håvard Pettersson
8916958c57 Fixed error in .travis.yml. 2014-09-18 18:06:02 +02:00
Håvard Pettersson
db6e855c1a Updated TODO. 2014-09-18 17:59:43 +02:00
Håvard Pettersson
48991d38b1 Added tox-weechat-json.{h,c}. 2014-09-18 17:57:02 +02:00
Håvard Pettersson
d9480552bf Added libjansson-dev to Travis. 2014-09-18 17:54:11 +02:00
Håvard Pettersson
4dcc088e1d Added a data.json file for storing things.
For now, the file contains pending friend requests.
2014-09-18 17:51:19 +02:00
Håvard Pettersson
66b7f06002 Tweaked requirements. 2014-09-18 16:08:48 +02:00
Håvard Pettersson
c9b8f83433 Added linking to libjansson. 2014-09-18 16:05:10 +02:00
Håvard Pettersson
e7bb0530f0 Removed -D_GNU_SOURCE and changed std mode to gnu99.
This fixes bugs with strdup not being defined, as well as WeeChat macro expansion.
2014-09-18 08:55:41 +02:00
Håvard Pettersson
e02f0db030 Added a notice for friends going offline. 2014-09-18 01:27:15 +02:00
Håvard Pettersson
0fb2d0b205 Changed unnecessary mallocs into static allocation. 2014-09-18 01:21:08 +02:00
Håvard Pettersson
7d5ffb89a5 Cleaned up friend request code. 2014-09-18 01:16:55 +02:00
Håvard Pettersson
a467fb7455 Changed default Tox name. 2014-09-18 00:34:52 +02:00
Håvard Pettersson
2da33d4236 Updated TODO. 2014-09-18 00:15:53 +02:00
Håvard Pettersson
96b744c817 Use weechat_strndup instead of strndup. 2014-09-17 23:49:38 +02:00
Håvard Pettersson
a6ec60e3c0 Handle all TOX_FAERR codes. 2014-09-17 23:49:38 +02:00