James Booth
3e18aab9f3
Use g_utf8_find_ functions for prof_occurrences
...
issue #901
2017-04-28 21:41:55 +01:00
Michael Santos
db18ba8bdf
server_events: fix potential NULL pointer deref
2017-04-12 10:20:22 -04:00
James Booth
2fafaec8a7
Allow search_any and search_all for help
2017-04-07 00:51:29 +01:00
James Booth
a39440b61d
Match all terms on help search
2017-04-07 00:36:36 +01:00
James Booth
6cba96fdd1
Update /help help
2017-04-07 00:10:58 +01:00
James Booth
68cb8c9a8e
Free cmd search index
2017-04-07 00:08:54 +01:00
James Booth
fd6620a950
Add basic help search
2017-04-06 23:36:50 +01:00
James Booth
6b830277a6
Allow previous autocompletion with shift tab
2017-04-01 00:27:11 +01:00
James Booth
97edebadcb
Update Glib dependency to 2.40
2017-03-25 02:07:27 +00:00
James Booth
131c98b305
Add missing header
2017-03-25 01:48:40 +00:00
James Booth
b5e0106526
Autocomplete accent and case insensitive
2017-03-25 01:40:20 +00:00
Lukasz Marcinowski
91bc302acf
Add theme option for time in a status bar
2017-03-22 19:56:00 +01:00
James Booth
f1a5d12950
Autotidy windows on /leave
...
fixes #917
2017-03-21 21:13:44 +00:00
James Booth
5f1ba08f55
Add plugins sourcepath property
2017-02-05 22:37:48 +00:00
James Booth
286fecf38d
Allow installing plugins from directory
2017-02-05 21:09:03 +00:00
James Booth
c405367dfe
Update plugins help
2017-02-05 19:23:16 +00:00
James Booth
dd42c3de6a
Allow loading all plugins
2017-02-05 19:16:14 +00:00
James Booth
a9fab9ed2d
Allow unloading all plugins
2017-02-05 18:54:33 +00:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
8978f809f2
Fix alias help
...
fixes #899
2017-01-28 16:39:04 +00:00
James Booth
6679b890a0
Fix multibyte chars in prof_occurrences
...
issue #901
2017-01-26 00:52:13 +00:00
James Booth
b712820c99
Check barejid in carbons
2017-01-24 13:37:28 +00:00
James Booth
8e75437a7e
Add carbons from check
2017-01-23 22:25:36 +00:00
James Booth
c073418306
Check roster contact before displayng typing notification
...
fixes #896
2017-01-23 20:56:05 +00:00
James Booth
83385cdbc0
Add pre chat and room message blocking
2017-01-22 18:09:04 +00:00
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
0d0578b625
Fix compile
2017-01-16 00:07:17 +00:00
James Booth
2b7894ccff
Remove status from cl_ev_presence_send
...
fixes #888
2017-01-15 23:59:31 +00:00
James Booth
b64646979e
Remove unused function
2016-11-24 00:09:14 +00:00
James Booth
926d935e26
Fix help tags for /account
2016-11-23 00:17:50 +00:00
James Booth
e043029a50
Allow clearing account resource
...
issue #880
2016-11-22 00:39:52 +00:00
James Booth
c441dbfa42
Fix typo
2016-11-20 02:21:22 +00:00
James Booth
609d05366c
Use server features for account muc service
...
issue #878
2016-11-20 02:09:34 +00:00
James Booth
8008d8c3c6
Add get_room_nick to plugins api
2016-11-06 23:01:16 +00:00
Frank Zschockelt
c0f099cb84
Added main.help.header theme option
2016-10-29 18:19:12 +02:00
James Booth
eac6b52e05
Fix typo
2016-10-29 13:06:50 +01:00
James Booth
5b464f4cb0
Add /tls certpath default
...
issue #871
2016-10-17 23:48:03 +01:00
James Booth
04e0a53381
Remove unused functions
2016-10-16 22:34:27 +01:00
James Booth
333403d2e5
Remove ui_current_print_formatted_line
2016-10-16 22:13:49 +01:00
James Booth
769e71b17b
Remove ui_current_print_line
2016-10-16 21:45:48 +01:00
James Booth
257d2d4f4f
Remove unused function prototypes
2016-10-16 20:12:49 +01:00
James Booth
8fd9f9e201
Remove unused function prototype
2016-10-16 19:51:56 +01:00
James Booth
721dd050df
Remove cons_show_word
2016-10-16 19:48:41 +01:00
James Booth
2032978ff6
Remove cons_show_time
2016-10-16 19:45:06 +01:00
James Booth
651541d7ec
Rename buffer functions
2016-10-16 19:40:43 +01:00
James Booth
7ad722ae28
Fix win_append buffer push
2016-10-15 22:17:16 +01:00
James Booth
bb6540f7d8
Add win highlight fuctions
2016-10-15 22:12:07 +01:00
James Booth
f3aebd547c
Use varargs in win_println_indent
2016-10-15 21:05:26 +01:00
James Booth
c814cb44b8
Add win_print_history
2016-10-15 20:55:45 +01:00
James Booth
f761d403b3
Use win_print_outgoing for carbons
2016-10-15 20:13:21 +01:00
James Booth
80309462ca
Rename win_print_incoming_message -> win_print_incoming
2016-10-15 20:09:14 +01:00
James Booth
3b2ceee89b
Add win_print_outgoing
2016-10-15 20:07:33 +01:00
James Booth
ce5f07a012
Add win_append
2016-10-15 19:53:49 +01:00
James Booth
711c5b8e45
Add win_appendln
2016-10-15 19:19:44 +01:00
James Booth
8f1d3ab55c
Add win_print
2016-10-15 18:29:02 +01:00
James Booth
3612270e90
Rename win_println -> win_println_indent
2016-10-15 17:23:02 +01:00
James Booth
5488fd6e72
Remove win_vprintln_ch
2016-10-15 17:17:17 +01:00
James Booth
478c749ff9
Remove ui_current_error_line
2016-10-15 17:08:29 +01:00
James Booth
9d075c9805
Remove ui_win_error_line
2016-10-15 17:07:15 +01:00
James Booth
864939b809
Use win_printf_line instead of win_println
2016-10-15 17:03:30 +01:00
James Booth
e29e532d87
Remove whitespace
2016-10-15 16:42:23 +01:00
James Booth
6ed04d87b3
Rename win_get_string -> win_to_string
2016-10-15 16:41:37 +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
97898ee082
Add win_printf_line
2016-10-12 00:14:55 +01:00
James Booth
7b31af3060
Remove args from win_print_with_receipt
2016-10-11 23:47:13 +01:00
James Booth
af42bc4434
Add win_print_http_upload
2016-10-11 23:40:15 +01:00
James Booth
0890179fc4
Remove win_print, use win_printf instead
2016-10-11 23:38:59 +01:00
James Booth
0337c5b22c
Rename win_vprint -> win_printf
2016-10-11 23:10:48 +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
40116db7c5
Fix /tls revoke message
...
fixes #868
2016-10-06 00:45:55 +01:00
James Booth
82a8f5f10b
Minor code tidy cmd_ac.h
2016-10-06 00:20:20 +01:00
James Booth
4ba496a466
Minor code tidy cmd_ac.c
2016-10-06 00:19:06 +01:00
James Booth
c40660b0d8
Use current room for /bookmark add and /bookmark remove
2016-10-05 00:52:57 +01:00
James Booth
94fd116ef8
Reduce scope of GString in autocompleters
...
fixes #867
2016-10-03 21:44:40 +01:00
James Booth
772a72b6e6
Add config.h to http_upload.c
2016-10-02 22:52:17 +01:00
Jack Henschel
4b2f9448f7
Correct minor spelling errors
2016-09-27 16:20:37 +02:00
James Booth
b087f84d95
Allow setting /occupants properties when no connected
2016-09-26 00:46:09 +01:00
James Booth
da437642a5
Merge branch 'master' into win-order
2016-09-25 23:32:15 +01:00
James Booth
a48df40138
Fix assertion errors in unit tests
2016-09-25 23:30:44 +01:00
James Booth
b8bec9fce6
Merge branch 'master' into win-order
2016-09-25 22:58:04 +01:00
James Booth
9796b23cfd
Use caps_lookup when checking for feature
2016-09-25 22:57:43 +01:00
James Booth
83974728af
Remove verbose output on window move
2016-09-25 21:47:00 +01:00
James Booth
72f6b2db71
Tidy window position prefs
2016-09-25 21:24:29 +01:00
James Booth
3bf383cec6
Fix defaulting win positions
2016-09-25 20:49:54 +01:00
James Booth
6c8def367c
Fix /inputwin up
2016-09-23 01:04:41 +01:00
James Booth
d3cc5bd7ed
Allow vertical positioning of all windows
2016-09-23 00:56:53 +01:00
James Booth
3983ee1d6b
Rename /titlebar -> /wintitle
2016-09-22 21:42:00 +01:00
James Booth
0aa758cbfb
Add /inputwin top|bottom command
...
closes #853
2016-09-19 23:40:45 +01:00
James Booth
4647fd8a4f
Free stanzas on stanza_create_http_upload_request()
2016-09-05 23:27:56 +01:00
James Booth
77ef4de29e
Free hashtable key list in connection_jid_for_feature()
2016-09-05 23:19:22 +01:00
James Booth
74148dd6a2
Fix string frees in _complete_filepath
2016-09-05 23:10:09 +01:00
James Booth
2613d23f8b
Free string on /plugins install
2016-09-05 22:55:23 +01:00
James Booth
9e59571f84
Free strings in _complete_filepath
2016-09-05 22:27:30 +01:00
Tim Nieradzik
74942da0ff
cmd_defs: Fix typo
2016-09-05 09:34:00 +03:00
James Booth
f6e9ff5b9b
Fix missing params
2016-09-03 22:53:32 +01:00
James Booth
0fe35d5f05
Merge pull request #845 from pasis/tray
...
Fix implicit declaration of function free
2016-09-03 22:39:16 +01:00
Dmitry Podgorny
6090f76f72
Add missed argument
2016-09-02 20:56:20 +03:00
Dmitry Podgorny
5be8f5f560
Fix implicit declaration of function free
2016-09-02 20:53:41 +03:00
James Booth
47a1a62009
Add sv_ev_bookmark_autojoin
2016-08-28 22:42:09 +01:00
James Booth
ea98a8b04a
Rename Bookmark->jid to Bookmark->barejid
2016-08-28 22:12:50 +01:00
James Booth
6a18dedca8
Fixed typos
2016-08-28 17:30:15 +01:00
James Booth
fca59a3110
log_info on private carbons
2016-08-28 17:27:26 +01:00
James Booth
ea9216f054
Change autoping timeout default to 20 seconds
2016-08-22 22:22:43 +01:00
James Booth
f14a3e075e
Update help
2016-08-22 00:34:35 +01:00
James Booth
0886062806
Use hash table for bookmarks
2016-08-21 15:25:49 +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
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
a978bb12bf
Send receipt request only when receiver supports feature
...
issue #829
2016-08-18 22:53:23 +01:00
James Booth
71dcb2e427
Only include lastactivity feature in disco responses when enabled
2016-08-18 00:29:33 +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
41acaee955
Use hashtable to store profanity disco features
2016-08-17 23:49:20 +01:00
James Booth
7b22c813c8
Copy feature strings on caps_get_features
2016-08-17 23:32:43 +01:00
James Booth
9945246a64
Use hashtables for plugin disco features
2016-08-17 23:21:48 +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
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
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
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
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
ae003e62fb
Remove copied char* in groupchat_log_chat
2016-07-26 00:40:29 +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
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
Dominik Heidler
5d354defca
Fix indentation in http_upload.c
2016-07-25 12:28:33 +02:00
James Booth
fcbf56657d
Remove unused function prototype
2016-07-25 02:06:55 +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
1437c360b5
Free old hash table on wins_tidy
2016-07-25 00:57:42 +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
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
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
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
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
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
10814b044d
Fix plugin install output
2016-07-13 01:06:03 +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
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
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
086fd30e23
Check for NULL before clearing connection data
2016-06-01 22:41:17 +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
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
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
6559263b2f
Option to bookmark room invites
...
issue #813
2016-05-23 23:53:44 +01:00
James Booth
0edd430925
Merge branch 'cmd-tidy'
2016-05-23 22:34:45 +01:00
James Booth
3aa788772e
Updated console output for room invites
2016-05-23 22:27:29 +01:00
James Booth
d0117cdabe
Remove unneeded functions from cmd headers
2016-05-23 00:40:10 +01:00
James Booth
eb105e9172
Move functions from cmd_defs to cmd_funcs
2016-05-23 00:31:00 +01:00
James Booth
dfe613418f
Fix command headers
2016-05-23 00:06:01 +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
a04e34fddc
Fix output for tray timer setting
2016-05-15 02:15:45 +01:00
James Booth
c6a6e3a51c
Add /tray timer <seconds>
...
closes #787
2016-05-15 01:41:34 +01:00
James Booth
d00615beba
Add /tray read on|off command
...
issue #786
2016-05-15 00:55:19 +01:00
James Booth
cf8452d95f
Reorder headers in inputwin.c
...
Fixes unknown type name '_fpos64_t' error on Cygwin
2016-05-11 22:50:19 +01:00
James Booth
598b2b3235
Add missing string.h include in blocking.c
2016-05-11 22:32:22 +01:00
James Booth
5439317ba1
Reorder headers in common.c
...
Fixes unknown type name '_fpos64_t' error on Cygwin
2016-05-11 22:30:39 +01:00
James Booth
d805d0c886
Added missing header in ui.h
2016-05-11 22:22:59 +01:00
James Booth
b935b4621c
Add connection_set_disconnected()
2016-05-11 00:02:39 +01:00
James Booth
7e079f3684
Add connection_clear_data()
2016-05-10 23:53:44 +01:00
James Booth
a7fa27df01
Remove connection_free_conn(), connection_free_ctx()
2016-05-10 23:34:25 +01:00
James Booth
a67d199581
Add connection_shutdown()
2016-05-10 23:27:16 +01:00
James Booth
3d20c85ada
Remove JABBER_STARTED, JABBER_UNDEFINED connection states
2016-05-10 23:18:11 +01:00
James Booth
22c4d91c50
Remove _session_free_session_data from session.c
2016-05-10 22:49:58 +01:00
James Booth
02bc4f217c
Tidy connection.c
2016-05-10 22:09:09 +01:00
James Booth
5cb6b174cc
Tidy connection.c
2016-05-10 21:59:41 +01:00
James Booth
030ac9e4e1
Fixed compile
2016-05-08 23:48:29 +01:00
James Booth
cd5d242207
Tidy session.c
2016-05-08 21:47:52 +01:00
James Booth
ec51ae689c
Free features on disconnect
2016-05-08 03:14:22 +01:00
James Booth
ac3ab39e23
Use hash table for disco features
2016-05-08 03:04:36 +01:00
James Booth
29380a39cd
Remove connection_get_disco_infos()
2016-05-08 02:37:02 +01:00
James Booth
188df60cfe
Rename diso_items->diso_infos
2016-05-08 02:30:34 +01:00
James Booth
31e6cc8e38
Add connection_get_disco_info()
2016-05-08 02:25:34 +01:00
James Booth
137202e5dd
Add connection_item_for_feature()
2016-05-08 01:45:22 +01:00
James Booth
f28655c5c8
Move logic to connection_set_disco_items
2016-05-08 01:10:42 +01:00
James Booth
f1cf444e05
Move conneciton initialisation to _connection_handler
2016-05-08 00:21:06 +01:00
James Booth
2f61f8d646
Move xmpp_initialise() to conneciton.c
2016-05-07 23:29:19 +01:00
James Booth
6ce8edc194
Move disco info struct to connection
2016-05-07 23:28:16 +01:00
James Booth
9596591610
Move available resources to connection struct
2016-05-07 23:04:50 +01:00
James Booth
7f1beadea9
Rename xmpp types
2016-05-06 02:31:55 +01:00
James Booth
81e95966cf
Remove redundant tls secured function
2016-05-06 02:18:31 +01:00
James Booth
c009144b3d
Tidy connect function
2016-05-06 02:08:10 +01:00
James Booth
3cb60399a1
Move connection_connect
2016-05-06 02:02:23 +01:00
James Booth
579d062063
Move send stanza function
2016-05-06 01:51:58 +01:00
James Booth
b6c4a2029f
Move conn is secure function
2016-05-06 01:49:27 +01:00
James Booth
8950dbb768
Move tls peer cert function
2016-05-06 01:47:19 +01:00
James Booth
31b0f0b0c8
Move uuid functions
2016-05-06 01:16:13 +01:00
James Booth
d1c71e98f4
Move connection fulljid function
2016-05-06 01:12:54 +01:00
James Booth
cc485ed338
Tidy session.c
2016-05-06 01:10:12 +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
f6fa63b374
Renamed connection.c -> session.c
2016-05-05 22:10:10 +01:00
James Booth
ccabc08fef
Tidy xmpp headers
2016-05-04 01:19:51 +01:00
James Booth
2e1eb9210a
Remove userdata from _blocklist_result_handler
2016-05-02 22:49:30 +01:00
James Booth
aabe3afff8
Rename stanza handler init functions
2016-05-02 22:34:43 +01:00
James Booth
39fb05577a
Rename id_handler_add -> iq_id_handler_add
2016-05-02 21:50:39 +01:00
James Booth
92780f3e6e
Remove free DiscoInfo values
2016-05-02 00:59:37 +01:00
James Booth
31ab43ea2d
Free stanza text and DiscoInfo features
2016-05-02 00:40:16 +01:00
James Booth
2bacd43a16
Free stanza text on plugin send hooks
2016-05-01 23:41:57 +01:00
James Booth
6df6fed305
Disable tray icon by default
2016-05-01 20:33:42 +01:00
James Booth
d2df850f38
Update /blocked help
2016-05-01 20:20:15 +01:00
James Booth
5a48b7b7d5
Use current jid for /blocked add in chat win
2016-05-01 20:06:34 +01:00
James Booth
b8c94376aa
Add /blocked command
2016-05-01 19:39:39 +01:00
James Booth
a2efda19cc
Merge remote-tracking branch 'pasis/const-char'
2016-05-01 00:39:16 +01:00
James Booth
623fbe9e47
Plugins: Added prof_disco_add_feature()
2016-04-30 23:00:07 +01:00
James Booth
a718e6f91b
Refactored /account set commands
2016-04-28 01:13:42 +01:00
James Booth
d4789ac375
Fixed compiler errors
2016-04-27 22:10:27 +01:00
James Booth
df30d4ba52
Check first entry in command sub_funcs
2016-04-27 21:52:58 +01:00
Dmitry Podgorny
efbf233c85
Define stanza's attributes as const char*
...
In most get-like funcitons libstrophe returns pointer to a string
that resides in an internal structure (e.g. xmpp_stanza_t). Hence,
Profanity must not change such strings. Define respective variables
as 'const char*' to reduce a chance of error and conform future
libstrophe's interface.
This patch mostly replaces 'char *' with 'const char*', but also
fixes two memory leaks after stanza_get_reason(). Add comment within
stanza_get_reason() to fix conflict with different allocator types.
2016-04-27 10:31:28 +00:00
James Booth
5687c3e419
Free inputrc string
...
fixes #797
2016-04-27 01:36:14 +01:00
James Booth
ce32814679
Updated Command structure comments
2016-04-27 00:03:24 +01:00
James Booth
d4aa73159e
Merge branch 'master' into subcmds
2016-04-26 23:56:12 +01:00
James Booth
043a673fe1
Merge remote-tracking branch 'asdil12/xep_0363_http_file_upload'
2016-04-26 23:30:26 +01:00
James Booth
4ca6296fb7
Fix OSX compile
2016-04-26 23:50:56 +02:00
James Booth
65960dfbb2
Fixed cygwin compile (again)
2016-04-26 23:50:56 +02:00
James Booth
9d263d7c83
Fixed cygwin compile
2016-04-26 23:50:55 +02:00
Dominik Heidler
1b0ce852bb
Implement XEP-0363: HTTP File Upload
2016-04-26 23:50:55 +02:00
James Booth
0ff29b3d2e
Added sub commands to command structure
2016-04-26 20:29:45 +01:00
Dominik Heidler
28e260c7da
Cache all disco items and features on connect
2016-04-20 00:19:40 +02:00
James Booth
20a0313d17
Show correct tray icon immediately on enable
2016-04-18 00:35:03 +01:00
James Booth
12727744ab
Load/destroy tray icons on init/shutdown
2016-04-18 00:26:17 +01:00
James Booth
de65f505a8
Moved gtk specific code to tray.c
2016-04-18 00:07:15 +01:00
James Booth
507ea5746c
Grouped tray icon initialisation code
2016-04-17 23:57:05 +01:00
James Booth
153552ed07
Remove redundant return value from _cmd_set_boolean_preference
2016-04-17 23:46:29 +01:00
James Booth
2daa02cb60
Merge remote-tracking branch 'asdil12/tray_config'
2016-04-17 23:17:43 +01:00
Dominik Heidler
4cb1d73a83
Make tray icon configurable using /tray cmd
2016-04-16 16:29:32 +02:00
James Booth
6cc04bc3ba
Merge branch 'muc-hooks'
2016-04-15 22:58:32 +01:00
James Booth
feeac48cf3
Merge remote-tracking branch 'asdil12/help'
2016-04-15 22:50:00 +01:00
James Booth
8f009c3c8d
Plugins fixed return values for python stanza hooks
2016-04-15 22:37:44 +01:00
James Booth
d90c47f287
Plugins: Added more muc hooks
2016-04-15 22:24:50 +01:00
Dominik Heidler
02bad7af28
Add /command? shortcut to view /help command
2016-04-13 10:47:53 +02: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
697db019d5
Merge remote-tracking branch 'Dav1d23/master'
...
Conflicts:
Makefile.am
install-all.sh
2016-04-11 00:23:36 +01:00
David
b300fa5baf
Use log facilities instead of printing on the stderr
2016-04-10 15:44:37 +02:00
David
92a50000c2
Re-introduce gtk_use boolean
...
This param is still actual, in case the environemnt does not
support gtk initialization.
Fix a GTK assert on the way (GTKStatusIcon is not a Widget, but a plain
GObject).
2016-04-10 15:44:37 +02:00
James Booth
5ddde3e59a
Fixed /plugins help
2016-04-10 01:23:35 +01:00
James Booth
03ab8baf4d
Added /plugins load command
2016-04-10 01:15:11 +01:00
James Booth
21aa08fdb1
Fixed typos
2016-04-09 20:19:50 +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
2ba121aef3
Room mention case insensitive by default
2016-04-07 01:37:04 +01:00
James Booth
bdb1287a4f
Free mentions list
2016-04-07 01:14:12 +01:00
James Booth
f243e333fc
Added whole word matches for room mention
2016-04-07 01:01:27 +01:00
James Booth
6edf3b3f94
Merge branch 'master' into mention-config
2016-04-04 23:44:04 +01:00
James Booth
1de11678dc
Added reset to /notify help
2016-04-04 23:41:30 +01:00
James Booth
afa2c0f5ba
Added mention match preferences
2016-04-03 23:33:21 +01:00
James Booth
d9344b00fe
Added prof_strstr function
2016-04-03 22:30:24 +01:00
Dominik Heidler
4b1481987d
Fix typo: diso -> disco
2016-04-01 12:09:35 +02:00
James Booth
6f81f2b845
Removed newline handling code from rosterwin.c
2016-03-31 23:14:51 +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
David
1e60d17d7c
libgtk is now optional
...
Having the lib is no more needed.
2016-03-30 23:21:41 +02:00
James Booth
194c53c4fa
Plugins: Added basic incoming message function
2016-03-29 23:44:54 +01:00
James Booth
94b9b1d8e4
Merge branch 'master' into stanza-hooks
2016-03-29 21:44:18 +01:00
James Booth
66467f976f
PGP: Fixed array size for encryption keys
2016-03-29 21:30:41 +01:00
James Booth
7b138b71db
PGP: Also encrypt using sender public key
2016-03-29 21:24:37 +01:00
James Booth
c6730783bf
Removed duplicate typedef
2016-03-28 15:44:03 +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
18555ffcb4
Allow sending stanzas in xml console
2016-03-26 17:11:19 +00:00
James Booth
7b34f72007
Use xmpp_send_raw_string instead of xmpp_send_raw
2016-03-26 16:44:02 +00: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
503fc9e393
Update roster count on carbons
2016-03-22 00:28:22 +00:00
James Booth
6f537c3818
Add PGP decryption for incoming/outgoing carbons
2016-03-22 00:20:29 +00:00