1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-30 21:55:24 +00:00
Commit Graph

197 Commits

Author SHA1 Message Date
James Booth
7090f85d85 Add chat and room show calls to plugins api 2017-01-21 20:23:28 +00:00
James Booth
9cfd17821c Allow room display properies to be set by plugins 2017-01-20 23:26:14 +00:00
James Booth
c8874cd2e0 Allow chat prefix char to be set by plugins 2017-01-20 21:03:55 +00:00
James Booth
1b25aa84cb Add titlebar encryption text to plugins api 2017-01-19 22:33:29 +00:00
James Booth
68496db0b4 Fix conditional compile 2017-01-18 23:16:23 +00:00
James Booth
fccf56be10 Add prof.encryption_reset to Plugins API
issue #885
2017-01-18 22:46:29 +00:00
James Booth
2b7894ccff Remove status from cl_ev_presence_send
fixes #888
2017-01-15 23:59:31 +00:00
James Booth
8008d8c3c6 Add get_room_nick to plugins api 2016-11-06 23:01:16 +00:00
James Booth
8f1d3ab55c Add win_print 2016-10-15 18:29:02 +01:00
James Booth
8cf9e0cccc Use win_printf_line where appropriate 2016-10-15 16:31:54 +01:00
James Booth
33b4b79f2e Add ch arg to win_printf_line 2016-10-15 00:04:57 +01:00
James Booth
2f888979c5 Use THEME_DEFAULT 2016-10-14 23:56:51 +01:00
James Booth
54cf1dbec4 Add win_printf_line 2016-10-14 23:38:39 +01:00
James Booth
24f0dc2734 Always use string format in win_printf 2016-10-12 00:40:41 +01:00
James Booth
0890179fc4 Remove win_print, use win_printf instead 2016-10-11 23:38:59 +01:00
James Booth
dcc2123ec4 Allow filepath autocompletion in plugins
closes #858
2016-10-10 22:28:23 +01:00
James Booth
d485588a07 Remove hash table replace entry when adding plugin timed callbacks
fixes #869
2016-10-09 23:37:36 +01:00
James Booth
a48df40138 Fix assertion errors in unit tests 2016-09-25 23:30:44 +01:00
James Booth
9945246a64 Use hashtables for plugin disco features 2016-08-17 23:21:48 +01:00
James Booth
a65403c54a Remove disco features added by plugins on unload 2016-08-11 23:20:59 +01:00
James Booth
bb676cc0fc Check return values from python plugin hooks 2016-08-11 00:27:14 +01:00
James Booth
5d6b2d0b04 Add resource to chat message plugin hooks 2016-08-10 21:37:22 +01:00
James Booth
a948d741d9 Rename plugin jid arguments 2016-08-10 20:45:14 +01:00
James Booth
efeb2fcfcd Rename plugins settings functions 2016-08-07 00:16:57 +01:00
James Booth
350c121e26 Return int on c_api_settings_string_list_remove_all 2016-08-01 22:40:47 +01:00
James Booth
b2508be8f4 Return boolean on prof_settings_string_list_remove_all() 2016-08-01 22:09:25 +01:00
James Booth
b72bb3a157 Remove log debugs 2016-08-01 21:59:12 +01:00
James Booth
2518aa5078 Add string lists settings to plugins 2016-08-01 21:34:38 +01:00
James Booth
51a7588bc4 Add typedefs to C plugin API 2016-07-30 21:22:45 +01:00
James Booth
6c1fef522a Use g_strndup in c_api.c 2016-07-27 21:32:44 +01:00
James Booth
d5d04756ce Fix memory leaks 2016-07-25 22:23:54 +01:00
James Booth
943e91268c Fix memory leaks 2016-07-25 21:56:38 +01:00
James Booth
139e53f388 Decrement reference count on python hook args objects 2016-07-25 21:48:00 +01:00
James Booth
130e753aac Use Py_RETURN_NONE 2016-07-25 21:13:47 +01:00
James Booth
8f9f018d5a Free python_str_or_unicode_to_string results 2016-07-25 00:41:34 +01:00
James Booth
cbfc34f7c3 Remove debug on plugin win create 2016-07-24 22:32:39 +01:00
James Booth
a3a73cf003 Move all filepath handling to files.c 2016-07-24 21:49:35 +01:00
James Booth
29452f8f1b Move xgd functions 2016-07-24 17:12:09 +01:00
James Booth
ef942bd27a Add config/files.c 2016-07-24 16:22:15 +01:00
James Booth
0a57c4de78 Tidy headers 2016-07-24 15:43:51 +01:00
James Booth
5bc38b6bc2 Moved window_list.c 2016-07-24 15:14:46 +01:00
James Booth
9cff37352a Make header defines consistent 2016-07-24 14:51:39 +01:00
James Booth
7c593c2780 Reorder headers 2016-07-24 02:16:57 +01:00
James Booth
4209b1cf45 Add /plugins python_version command 2016-07-24 02:12:56 +01:00
James Booth
b48a3d2f6a Python plugins: Free string values 2016-07-24 01:53:13 +01:00
James Booth
47dfa6c3fc Merge branch 'master' into python3
Conflicts:
	.gitignore
2016-07-24 01:22:29 +01:00
James Booth
4ecb4019a6 Add missing include 2016-07-24 01:19:59 +01:00
James Booth
e8fc80f5c1 Update GPL link in headers 2016-07-24 01:14:49 +01:00
James Booth
d44472049b Allow str and unicode in python api 2016-07-24 01:09:18 +01:00
James Booth
d2e237203c Check for win callback hash before removing 2016-07-21 22:23:28 +01:00
James Booth
376811a960 Tidy python3 conditional code 2016-07-19 01:02:33 +01:00
James Booth
71ccfcc09f Add python_init_prof() 2016-07-18 23:24:26 +01:00
James Booth
7d742f704f Fix prof module init for python3 2016-07-18 01:27:23 +01:00
James Booth
ace2715cf7 Added PYTHON3 define 2016-07-14 00:00:46 +01:00
James Booth
9af921f260 Remove redundant plugin dir function 2016-07-13 00:49:53 +01:00
James Booth
7abf506261 Free memory when plugin windows closed 2016-07-13 00:25:45 +01:00
James Booth
0991699ae6 Add /plugins install command 2016-07-12 23:50:21 +01:00
James Booth
5f393a6d9f Remove plugin window on /close 2016-07-12 02:16:12 +01:00
James Booth
1a7eb00763 Check for plugin win before creating 2016-07-12 01:51:27 +01:00
James Booth
9a0111c10a Allow reloading all plugins with /plugin reload 2016-07-10 01:28:30 +01:00
James Booth
448bef247b Add /plugin reload command 2016-07-10 01:07:41 +01:00
James Booth
d24a0508f4 Store python modules on load 2016-07-09 23:42:09 +01:00
James Booth
7776c1494a Reaload python module if previous loaded on /plugin load 2016-07-09 23:13:36 +01:00
James Booth
1926ceea3d Plugin unload remove cmd_acs and close window 2016-07-05 22:46:00 +01:00
James Booth
82458c9d96 Revert "Move adding plugins commands to autocompleters"
This reverts commit 97f7997025.
2016-07-05 22:11:58 +01:00
James Booth
97f7997025 Move adding plugins commands to autocompleters 2016-07-05 22:10:41 +01:00
James Booth
99598e7d57 Add plugins on_unload hook 2016-07-05 22:03:14 +01:00
James Booth
71178b3696 Store plugin completers by plugin name 2016-07-05 21:46:36 +01:00
James Booth
fd218ac3e4 Pass plugin name to all autocompleter functions 2016-07-04 23:14:08 +01:00
James Booth
03c7ac73fd Move prefs_remove_plugin to plugins_unload 2016-07-04 23:00:41 +01:00
James Booth
c8d09083a8 Remove plugin callbacks in plugin_destroy functions 2016-07-04 22:54:55 +01:00
James Booth
0d7b4cb4a7 Store plugin window callbacks by plugin name 2016-07-04 22:42:15 +01:00
James Booth
a779ad0764 Use hash table for plugin timed functions 2016-07-04 21:48:04 +01:00
James Booth
71879a3f64 Free plugins commands on quit 2016-07-04 00:41:29 +01:00
James Booth
606a860bdc Rename callback execte and destroy functions 2016-07-03 01:03:05 +01:00
James Booth
70a79abd3b Add plugin name to win_create api call 2016-07-03 00:48:22 +01:00
James Booth
31c66bf857 Move plugin theme and settings init 2016-07-01 00:01:07 +01:00
James Booth
3bd3de036f Use hash table to store plugins 2016-06-30 23:58:04 +01:00
James Booth
bb33522e4d Fix plugin load prefs 2016-06-30 23:18:30 +01:00
James Booth
0cd1b50122 Move plugin config add on load 2016-06-30 23:16:54 +01:00
James Booth
ef6bad483e /plugins unload command and completer 2016-06-30 23:14:05 +01:00
James Booth
56480ce9ea Pass plugin name to api layer 2016-06-30 22:54:46 +01:00
James Booth
29eb843d56 Revert "WIP - Unload plugin commands"
This reverts commit a01eb5d08e.
2016-06-30 22:37:52 +01:00
James Booth
a01eb5d08e WIP - Unload plugin commands 2016-06-29 23:35:57 +01:00
James Booth
61a09476c5 Add macro for plugins completer add 2016-06-23 00:44:52 +01:00
James Booth
1e37b755fe Add macro for C plugins register_timed 2016-06-23 00:36:26 +01:00
James Booth
c6288d89f9 Add function to get C plugin name 2016-06-23 00:26:50 +01:00
James Booth
620e6a5a37 Add function to get plugin name 2016-06-22 01:09:39 +01:00
James Booth
fb34785566 Rename command sources 2016-05-22 23:59:52 +01:00
James Booth
eaf2901b01 Add cmd_autocomplete.c 2016-05-20 00:19:03 +01:00
James Booth
579d062063 Move send stanza function 2016-05-06 01:51:58 +01:00
James Booth
d1c71e98f4 Move connection fulljid function 2016-05-06 01:12:54 +01:00
James Booth
88f423afea Rename jabber_ functions 2016-05-06 00:53:03 +01:00
James Booth
3bb1f12410 Add session.c 2016-05-05 23:51:49 +01:00
James Booth
ccabc08fef Tidy xmpp headers 2016-05-04 01:19:51 +01:00
James Booth
623fbe9e47 Plugins: Added prof_disco_add_feature() 2016-04-30 23:00:07 +01:00
James Booth
d90c47f287 Plugins: Added more muc hooks 2016-04-15 22:24:50 +01:00
James Booth
b3a3351a35 Plugins: Added account_name and fulljid to prof_init hook 2016-04-13 00:10:37 +01:00
James Booth
46687aeced Only complete unloaded plugins on /plugins load 2016-04-12 23:25:31 +01:00
James Booth
8ff9fd7091 Execute python string to append plugin path 2016-04-12 02:31:28 +01:00