Commit graph

100 commits

Author SHA1 Message Date
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
Håvard Pettersson
78846a6bb3 Tweaked readme. 2014-09-17 23:49:36 +02:00
Håvard Pettersson
b3b15b1a89 Refactored and fixed bootstrap process.
This fixes a bug where htons would be called twice on port numbers
after an update to libtoxcore.
2014-09-17 17:22:18 +02:00
Håvard Pettersson
dfcb43d4f8 Don't create a new identity if it exists already. 2014-09-17 16:35:36 +02:00
Håvard Pettersson
6b24f3a0b9 Number friend requests from zero like friend numbers. 2014-09-13 22:19:28 +02:00
Håvard Pettersson
c0a54dee82 Removed unused #define. 2014-09-13 21:58:15 +02:00
Håvard Pettersson
b5d1064fea Added Tox DNS lookup to Todo-list. 2014-09-13 21:24:11 +02:00
Håvard Pettersson
c27617f3c8 Fixed typo in bootstrapping process. 2014-09-13 21:01:48 +02:00
Håvard Pettersson
2667b6c377 Added more bootstrap nodes. 2014-09-13 20:47:14 +02:00
Håvard Pettersson
c6818f812f Create folder for save file if it does not exist. 2014-09-13 12:40:53 +02:00
Håvard Pettersson
b4c45dc155 Fixed README. 2014-09-13 12:27:40 +02:00
Håvard Pettersson
901168ae8c Removed debug spam. 2014-09-13 12:26:27 +02:00
Håvard Pettersson
e7ec533944 More support for multiple identities. 2014-09-13 12:26:27 +02:00
Håvard Pettersson
edc5e16d8a Refactoring for multi-identity support. 2014-09-13 12:26:27 +02:00
Håvard Pettersson
5a3b0cc583 Changed bar item buffer_plugin to show plugin name and identity name. 2014-09-13 12:26:27 +02:00
Håvard Pettersson
2bcef77aa5 Update README.md 2014-09-11 04:07:03 +02:00
Håvard Pettersson
26aa49a9bd Update README.md 2014-09-11 04:06:20 +02:00
Håvard Pettersson
29fd690b72 Improved build instructions. 2014-09-11 00:39:56 +02:00
Håvard Pettersson
1c051cbc86 Added TODO list. 2014-09-11 00:29:09 +02:00
Håvard Pettersson
285903351b Improved build process and instructions. 2014-09-11 00:25:05 +02:00
Håvard Pettersson
353188a798 Updated usage instructions. 2014-09-08 03:55:08 +02:00
Håvard Pettersson
68f2237b12 Readded libtoxcore linking.
This reverts commit bdd140f4f4.
2014-09-08 03:28:15 +02:00
Håvard Pettersson
bdd140f4f4 Removed library linking as plugin is now compiled like a module. 2014-09-08 03:24:47 +02:00
Håvard Pettersson
b667e61746 Changed tox target type to MODULE (was SHARED). 2014-09-08 03:22:51 +02:00
Håvard Pettersson
b9cefdbac0 Updated build instructions. 2014-09-08 03:14:33 +02:00
Håvard Pettersson
b8e0a9d70c Fixed identity initialization. 2014-09-08 03:03:12 +02:00
Håvard Pettersson
026b43e599 Fixed a crash if no Tox identities exist. 2014-09-08 03:01:12 +02:00
Håvard Pettersson
9486ffae81 Added extra warnings, moved -std=c99 to CMAKE_C_FLAGS. 2014-09-08 02:59:50 +02:00
Håvard Pettersson
8abb0a9037 Fixed tox_weechat_data_path error. 2014-09-08 01:39:29 +02:00
Håvard Pettersson
8f023e95e8 Changed install location to /usr/local/lib/weechat/plugins. 2014-09-08 01:02:30 +02:00
Håvard Pettersson
b60ac98a3e More support for multiple identities. 2014-09-07 03:04:42 +02:00
Håvard Pettersson
76d07ed4f6 Initial work for supporting multiple identities. 2014-09-05 16:53:44 +02:00
Håvard Pettersson
b5cff8fac8 Fixed address not being displayed when friend name is unknown. 2014-09-04 18:58:50 +02:00
Håvard Pettersson
43874e23cc Fixed missing network prefix in message. 2014-09-04 18:54:30 +02:00
Håvard Pettersson
68254cfb80 Added instructions for loading plugin on OSX. 2014-09-04 18:14:36 +02:00
Håvard Pettersson
0dd50264bd Fixed cmake install for OSX. 2014-09-04 18:13:28 +02:00
Håvard Pettersson
d8d9791e0b If a friend's name is unknown, display their address instead. 2014-09-04 00:37:08 +02:00
Håvard Pettersson
45b8bdc04d Fixed bug where the wrong address would be echoed after accepting a
friend request.
2014-09-04 00:34:10 +02:00