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

4492 Commits

Author SHA1 Message Date
James Booth
ea9216f054 Change autoping timeout default to 20 seconds 2016-08-22 22:22:43 +01:00
James Booth
8acf5e2df4 Merge branch 'master' into plugins 2016-08-22 00:39:57 +01:00
James Booth
f14a3e075e Update help 2016-08-22 00:34:35 +01:00
James Booth
4e4932f13b Merge branch 'master' into plugins 2016-08-21 15:26:48 +01:00
James Booth
0886062806 Use hash table for bookmarks 2016-08-21 15:25:49 +01:00
James Booth
e38f4b7050 Merge branch 'master' into plugins 2016-08-21 00:58:36 +01:00
James Booth
a52230978f Tidy presence.c 2016-08-20 23:31:27 +01:00
James Booth
948d63d855 Tidy _handle_carbons 2016-08-20 21:37:20 +01:00
James Booth
891fddace5 Merge branch 'master' into plugins 2016-08-20 20:41:52 +01:00
James Booth
583fb2b8c6 Use libstrophe xmpp_presence_new convenience function 2016-08-20 20:37:48 +01:00
James Booth
27263508c7 Use libstrophe xmpp_iq_new convenience function 2016-08-20 20:20:38 +01:00
James Booth
d61abd3577 Use libstrophe xmpp_message_get_body convenience function 2016-08-20 19:23:32 +01:00
James Booth
39ff399626 Use libstrophe xmpp_message_new convenience function 2016-08-20 19:08:13 +01:00
James Booth
45048e3ac8 Replace stanza_create_message with libstrophe convenience functions 2016-08-20 18:51:19 +01:00
James Booth
24c3eff428 Use libstrophe convenience functions for stanza attributes 2016-08-20 18:16:51 +01:00
James Booth
33a4800b17 Merge branch 'master' into plugins 2016-08-18 22:55:57 +01:00
James Booth
a978bb12bf Send receipt request only when receiver supports feature
issue #829
2016-08-18 22:53:23 +01:00
James Booth
76bf8843a9 Merge branch 'master' into plugins 2016-08-18 00:31:30 +01:00
James Booth
71dcb2e427 Only include lastactivity feature in disco responses when enabled 2016-08-18 00:29:33 +01:00
James Booth
7b2a152002 Merge branch 'master' into plugins 2016-08-18 00:15:57 +01:00
James Booth
4de570b1ee Only include receipts feature in disco responses when enabled
issue #829
2016-08-18 00:10:15 +01:00
James Booth
02a2aba5d9 Merge branch 'master' into plugins 2016-08-17 23:49:34 +01:00
James Booth
41acaee955 Use hashtable to store profanity disco features 2016-08-17 23:49:20 +01:00
James Booth
806b18e181 Merge branch 'master' into plugins 2016-08-17 23:34:59 +01:00
James Booth
7b22c813c8 Copy feature strings on caps_get_features 2016-08-17 23:32:43 +01:00
James Booth
e626cc259d Merge branch 'master' into plugins 2016-08-17 23:22:28 +01:00
James Booth
9945246a64 Use hashtables for plugin disco features 2016-08-17 23:21:48 +01:00
James Booth
77f502f56e Merge branch 'master' into plugins 2016-08-14 01:06:28 +01:00
James Booth
8b6549b36c Add caps_create 2016-08-14 01:06:13 +01:00
James Booth
b26c961730 Move caps_create -> stanza_create_caps_from_query_element 2016-08-14 00:15:03 +01:00
James Booth
d5f14abd4e Move caps_create_sha1_str -> stanza_create_caps_sha1_from_query 2016-08-14 00:07:08 +01:00
James Booth
9c4e02db77 Move caps static functions 2016-08-13 23:53:41 +01:00
James Booth
e776ef9b68 Rename caps_contains -> caps_cache_contains 2016-08-13 23:45:58 +01:00
James Booth
9cecef5609 Move caps_create_query_response_stanza -> stanza_create_caps_query_element 2016-08-13 23:43:54 +01:00
James Booth
ad61b76efb Merge branch 'master' into plugins 2016-08-13 18:05:20 +01:00
James Booth
9ce59b1589 Free DiscoIdentity and SoftwareVersion 2016-08-13 17:49:19 +01:00
James Booth
ed75f1ec71 Use SoftwareVersion in EntityCapabilities 2016-08-13 17:43:43 +01:00
James Booth
0bd5b5200a Use DiscoIdentity in EntityCapabilities 2016-08-13 17:19:24 +01:00
James Booth
80eb5bee90 Rename Capabilties -> EntityCapabilities 2016-08-13 16:39:25 +01:00
James Booth
e949114284 Reduce variable scope in caps_create_sha1_str 2016-08-13 16:21:25 +01:00
James Booth
5c6e75fa06 Merge branch 'master' into caps 2016-08-13 00:17:23 +01:00
James Booth
3c97b157f7 Merge branch 'master' into plugins 2016-08-13 00:16:42 +01:00
James Booth
4f5281bff0 Refactor stanza.c 2016-08-13 00:12:46 +01:00
James Booth
6ec159737b Use list for profanity service discovery features 2016-08-12 22:25:35 +01:00
James Booth
e018594cea Merge branch 'master' into plugins 2016-08-11 23:21:07 +01:00
James Booth
a65403c54a Remove disco features added by plugins on unload 2016-08-11 23:20:59 +01:00
James Booth
f7525595c1 Merge branch 'master' into plugins 2016-08-11 00:39:33 +01:00
James Booth
bb676cc0fc Check return values from python plugin hooks 2016-08-11 00:27:14 +01:00
James Booth
a60447ee60 Merge branch 'master' into plugins 2016-08-10 22:07:32 +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
20284b4d18 Merge branch 'master' into plugins 2016-08-08 22:02:21 +01:00
James Booth
efeb2fcfcd Rename plugins settings functions 2016-08-07 00:16:57 +01:00
James Booth
88594d9098 Merge branch 'master' into plugins 2016-08-02 23:21:16 +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
6e9604b0e6 Merge branch 'master' into plugins 2016-07-27 23:36:08 +01:00
James Booth
3396e75d23 Handle NULL saved_status 2016-07-27 23:35:49 +01:00
James Booth
a1f48f8457 Copy curr_status and free original in session.c 2016-07-27 22:07:11 +01:00
James Booth
6c1fef522a Use g_strndup in c_api.c 2016-07-27 21:32:44 +01:00
James Booth
812cda86af Merge branch 'master' into plugins 2016-07-26 00:42:35 +01:00
James Booth
ae003e62fb Remove copied char* in groupchat_log_chat 2016-07-26 00:40:29 +01:00
James Booth
2430cc88d1 Merge branch 'master' into plugins 2016-07-25 23:37:25 +01:00
James Booth
8602ede65e Tidy rosterwin memory handling 2016-07-25 23:28:04 +01:00
James Booth
6777919d96 Rename rooms vars in _send_room_presence 2016-07-25 23:13:09 +01:00
James Booth
5f8ef3816c Free rooms list in sv_ev_login_account_success 2016-07-25 23:11:41 +01:00
James Booth
71730e9d99 Unreference GDateTime 2016-07-25 23:09:51 +01:00
James Booth
8633cd6e29 Free ProfAccount 2016-07-25 22:38:23 +01:00
James Booth
c4639cd346 Merge branch 'master' into plugins 2016-07-25 22:24:22 +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
97129cd201 Merge branch 'master' into plugins 2016-07-25 21:17:46 +01:00
James Booth
130e753aac Use Py_RETURN_NONE 2016-07-25 21:13:47 +01:00
James Booth
6f2ccc7b97 Merge branch 'master' into plugins 2016-07-25 20:55:42 +01:00
Dominik Heidler
5d354defca Fix indentation in http_upload.c 2016-07-25 12:28:33 +02:00
James Booth
a09aaec2c0 Merge branch 'master' into plugins 2016-07-25 02:08:02 +01:00
James Booth
fcbf56657d Remove unused function prototype 2016-07-25 02:06:55 +01:00
James Booth
653d221144 Merge branch 'master' into plugins 2016-07-25 01:30:25 +01:00
James Booth
0ffb441cad Store GTimeZone in statusbar
fixes #785
2016-07-25 01:29:09 +01:00
James Booth
33172cb917 Free pgpdir 2016-07-25 01:03:44 +01:00
James Booth
828fe42500 Merge branch 'master' into plugins 2016-07-25 01:00:04 +01:00
James Booth
1437c360b5 Free old hash table on wins_tidy 2016-07-25 00:57:42 +01:00
James Booth
8f24b12789 Merge branch 'master' into plugins 2016-07-25 00:42:17 +01:00
James Booth
8f9f018d5a Free python_str_or_unicode_to_string results 2016-07-25 00:41:34 +01:00
James Booth
923256b8bb Free icon dir path name 2016-07-25 00:18:52 +01:00
James Booth
ff663f5f9c Merge branch 'master' into plugins 2016-07-24 22:46:55 +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
6cc4abedc5 Move window functions to window_list.c 2016-07-24 17:02:09 +01:00
James Booth
37742d71b6 Move resource conversions 2016-07-24 16:27:39 +01:00
James Booth
ef942bd27a Add config/files.c 2016-07-24 16:22:15 +01:00
James Booth
e7bfaa643f Move autoaway check 2016-07-24 16:06:24 +01:00
James Booth
c6f1a87d1d Merge branch 'master' into plugins 2016-07-24 15:44:16 +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
8f213f22e7 Moved tray.c 2016-07-24 15:10:58 +01:00
James Booth
90b9b48ab9 Moved roster_list.c 2016-07-24 15:08:47 +01:00
James Booth
cc32bb7738 Moved resource.c 2016-07-24 15:05:24 +01:00
James Booth
2af0d38e3d Moved muc.c 2016-07-24 15:02:43 +01:00
James Booth
1c5efaeb58 Moved jid.c 2016-07-24 14:59:28 +01:00
James Booth
c23506f453 Moved contact.c 2016-07-24 14:55:32 +01:00
James Booth
9cff37352a Make header defines consistent 2016-07-24 14:51:39 +01:00
James Booth
310abd401d Moved chat_state.c 2016-07-24 14:28:25 +01:00
James Booth
25a6252a28 Moved chat_session.c 2016-07-24 14:23:55 +01:00
James Booth
0649aad80d Move event timeout to connection module 2016-07-24 14:08:30 +01:00
James Booth
8d8f2f290d Moved chat state handling code to chat_state.c 2016-07-24 13:56:11 +01:00
James Booth
9ba74c9c54 Merge branch 'master' into plugins 2016-07-24 02:54:04 +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
b4cd071bab Merge remote-tracking branch 'origin/master' into plugins 2016-07-24 01:20:59 +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
Pete Maynard
14c8f53f85 Updated GPL URL 2016-07-21 11:49:52 +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
269b8ce832 Merge branch 'master' into python3 2016-07-18 22:55:05 +01:00
James Booth
920de9b83b Merge branch 'master' into plugins 2016-07-18 22:52:58 +01:00
James Booth
feb50ea411 capabilities: use free instead of g_free 2016-07-18 22:32:58 +01:00
James Booth
d4b3a05678 Use g_path_get_basename when installing plugin 2016-07-18 20:55:50 +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
1ba1365eff Merge branch 'master' into plugins 2016-07-13 01:07:45 +01:00
James Booth
10814b044d Fix plugin install output 2016-07-13 01:06:03 +01:00
James Booth
1ec7aeee37 Merge branch 'master' into plugins 2016-07-13 00:52:37 +01:00
James Booth
9af921f260 Remove redundant plugin dir function 2016-07-13 00:49:53 +01:00
James Booth
6c7df9de73 Merge branch 'master' into plugins 2016-07-13 00:29:27 +01:00
James Booth
7abf506261 Free memory when plugin windows closed 2016-07-13 00:25:45 +01:00
James Booth
8252406c86 Merge branch 'master' into plugins 2016-07-13 00:08:58 +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
44862fe842 Remove string allocation for conflists 2016-07-10 00:43:53 +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
83709f50ba Merge branch 'master' into plugins 2016-06-08 23:28:30 +01:00
James Booth
3a3933eff6 Add ProfIdFreeCallback to free stale id handlers on connect 2016-06-08 23:25:51 +01:00
James Booth
d79364358a Fix memory leaks 2016-06-08 22:23:00 +01:00
James Booth
4c03ee6066 Free string on connect autocomplete 2016-06-08 21:29:15 +01:00
James Booth
6f1f47f5a0 Merge branch 'master' into plugins 2016-06-01 22:41:54 +01:00
James Booth
086fd30e23 Check for NULL before clearing connection data 2016-06-01 22:41:17 +01:00
James Booth
af05721fed Merge branch 'master' into plugins 2016-06-01 00:47:47 +01:00
James Booth
784d9642bc Complete no arg for /account properties 2016-06-01 00:41:27 +01:00
James Booth
78785fa7e6 Complete no arg for /join properties 2016-06-01 00:15:01 +01:00
James Booth
28cc04ca7d Complete no arg for /connect properties 2016-06-01 00:04:35 +01:00
James Booth
3215418296 Merge branch 'master' into complete-empty 2016-05-31 23:29:46 +01:00
James Booth
786ea6107d Merge branch 'master' into plugins 2016-05-31 23:29:07 +01:00
James Booth
e758f74e48 Update /notify help 2016-05-31 23:26:30 +01:00
James Booth
705e3dc7d8 Remove commented code 2016-05-31 23:22:07 +01:00
James Booth
383e601f25 Move /statuses options to /presence command 2016-05-31 23:21:19 +01:00
James Booth
52c01a8ee8 Add /presence titlebar subcommand 2016-05-31 22:46:03 +01:00
James Booth
1d5cc33279 Merge branch 'master' into complete-empty 2016-05-25 00:22:51 +01:00
James Booth
8d7550b99b Merge branch 'master' into plugins 2016-05-25 00:22:04 +01:00
James Booth
94212cd01c Update window navigation help 2016-05-25 00:21:27 +01:00
James Booth
5c15f95646 Complete no arg for /bookmark properties 2016-05-24 23:39:27 +01:00
James Booth
b574919738 Complete no arg for /role set 2016-05-24 23:39:09 +01:00
James Booth
e8b2578039 Complete no arg for /affiliation set 2016-05-24 01:43:45 +01:00
James Booth
492c1bfa14 Complete no arg for /script run|show 2016-05-24 01:39:16 +01:00
James Booth
78c23dce58 Complete no arg for /theme load 2016-05-24 01:37:25 +01:00
James Booth
d1ece21b5f Complete no arg for /plugins load 2016-05-24 01:36:21 +01:00
James Booth
e183fd9186 Allow empty autocomplete for /otr policy 2016-05-24 01:28:04 +01:00
James Booth
f377e0329e Allow autocomplete for basic compelters when no input 2016-05-24 00:32:53 +01:00
James Booth
00175add0d Merge branch 'master' into plugins 2016-05-23 23:59:15 +01:00
James Booth
6559263b2f Option to bookmark room invites
issue #813
2016-05-23 23:53:44 +01:00
James Booth
23e271b57b Merge branch 'master' into plugins
Conflicts:
	src/plugins/callbacks.c
2016-05-23 22:42:32 +01:00