1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

152 Commits

Author SHA1 Message Date
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
James Booth
03ab8baf4d Added /plugins load command 2016-04-10 01:15:11 +01:00
James Booth
699e08b238 Fixed timestamp for on_room_history_message 2016-04-08 01:17:22 +01:00
James Booth
93672eba9f Plugins: Added on_room_history_message 2016-04-08 00:11:33 +01:00
James Booth
2f432a942d Plugins: Added completer_clear 2016-04-07 23:25:47 +01:00
James Booth
7ca6084657 Plugins: Added on_room_win_focus 2016-04-07 22:15:03 +01:00
James Booth
271278dd20 Plugins: Added on_chat_win_focus 2016-04-07 22:06:14 +01:00
James Booth
bfdc3b8807 Plugins: Added completer_remove 2016-04-07 21:25:12 +01:00
James Booth
a328367eb4 Plugins: Renamed register_ac->completer_add 2016-04-07 20:49:23 +01:00
James Booth
9b177a9e01 Removed #AX_PREFIX_CONFIG_H 2016-03-31 21:05:02 +01:00
James Booth
c91ce78a04 Added missing include in callbacks.c 2016-03-31 20:16:53 +01:00
James Booth
759d9ccb8d Added plugins presence hooks 2016-03-30 23:18:12 +01:00
James Booth
194c53c4fa Plugins: Added basic incoming message function 2016-03-29 23:44:54 +01:00
James Booth
d39e48ba18 Use one stanza handler per type (message, iq, presence)
Allows plugins to stop stanza processing
2016-03-28 01:25:48 +01:00
James Booth
8933d59b03 Added basic stanza receive eooks 2016-03-27 21:36:29 +01:00
James Booth
d0397f3da5 Added stanza send hooks for plugins 2016-03-26 15:50:16 +00:00
James Booth
ce9b0836a0 Added integer settings for plugins 2016-03-26 02:19:30 +00:00
James Booth
e2b02733df Added plugin string settings 2016-03-26 01:48:42 +00:00
James Booth
a4e6d50a40 Added boolean settings for plugins 2016-03-25 22:06:24 +00:00
James Booth
4c913aa08b Added prof_send_stanza to plugins API 2016-03-23 22:57:03 +00:00
James Booth
1075f07ff5 Parse plugin args with freetext parser
Also allow adding to plugin autocompleters
2016-03-15 22:32:44 +00:00
James Booth
d157e9bf71 Plugins: Fix python threading
Release global interpreter lock during api calls
2016-03-09 23:36:22 +00:00
James Booth
9850e041c8 Merge branch 'master' into plugins-python 2016-03-07 20:44:18 +00:00
James Booth
5cabcf9b79 Plugins: Added callbacks init and close functions
Included destroy function in PluginWindowCallback
2016-03-07 20:36:25 +00:00
James Booth
e4071015ea Merge branch 'master' into plugins-python 2016-03-07 18:42:02 +00:00
James Booth
72f940360d Free GLists in plugin autocompleters 2016-03-07 18:32:32 +00:00
James Booth
da7e59bc86 Merge remote-tracking branch 'origin/master' 2016-02-28 23:18:50 +00:00
James Booth
21f6e88c3b Added current_win_is_console to python API 2016-02-28 23:12:53 +00:00
James Booth
c81b05b919 Merge branch 'master' into plugins-python 2016-02-28 23:08:32 +00:00
James Booth
ab08d0a378 Added current_win_is_console to plugins api 2016-02-28 23:06:45 +00:00
James Booth
d458e930d1 Merge branch 'master' into plugins-python 2016-02-25 01:52:32 +00:00
James Booth
fbd913ec62 Remove default from plugin theme NULL checks 2016-02-25 01:51:33 +00:00
James Booth
f507a6f541 Merge branch 'master' into plugins-python 2016-02-25 01:18:48 +00:00
James Booth
c562702ab9 Check for NULLs before testing plugin theme 2016-02-25 01:17:47 +00:00
James Booth
f18fbe333a Merge branch 'master' into plugins-python 2016-02-24 23:54:25 +00:00
James Booth
5b34e11e45 Added missing string.h include to plugins/api.c 2016-02-24 23:52:59 +00:00
James Booth
d6e85e5cd6 Added python_api_cons_bad_cmd_usage 2016-02-24 00:48:34 +00:00
James Booth
0fc0b3eeec Added python plugins code 2016-02-24 00:31:55 +00:00
James Booth
ac91e7ef85 Added theme support to plugins 2016-02-21 23:58:13 +00:00
James Booth
1654f16a2f Return result from plugin calls
closes #739
2016-02-21 02:06:09 +00:00
James Booth
412dc13629 Added prof_cons_bad_cmd_usage plugin function 2016-02-18 22:25:43 +00:00
James Booth
0ed3b53bd2 Integrated plugins with /help command 2016-02-18 21:53:20 +00:00
James Booth
a152d7fb8e Added cmd_help_autocomplete_add 2016-02-18 21:14:12 +00:00
James Booth
a14b7815ae Added new help format to c plugins WIP 2016-02-18 01:20:37 +00:00
James Booth
7945ef5277 Fix plugin command memleak 2016-02-15 00:09:51 +00:00
James Booth
bd928f0f29 Removed non c plugin code 2016-02-14 23:52:04 +00:00