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
James Booth
1075f07ff5
Parse plugin args with freetext parser
...
Also allow adding to plugin autocompleters
2016-03-15 22:32:44 +00:00
David
bdad30b2d9
This case was clearly not tested locally, so many failures here.
...
I guess now this should be fine, at least for the no gui case.
Locally it is working fine btw.
I miss Gerrit and the ability to test before pushing right now... :'(
2016-03-13 17:52:49 +01:00
David
028d24283e
fix no gtk init
2016-03-13 17:50:42 +01:00
David
72856f9b6c
typo
2016-03-13 17:12:01 +01:00
David
e43f3e95c0
fix possible free(NULL)
2016-03-13 17:09:58 +01:00
David
098d84ef73
Merge branch 'tray_icon' into HEAD
...
Let's thanks Aline <linuxine@gmail.com> for the icons.
Enjoy!
2016-03-12 17:37:46 +01:00
David
520eee23a9
fixing leakings
2016-03-12 16:55:52 +01:00
James Booth
11356fec01
Merge branch 'master' into plugins-python
2016-03-10 22:23:56 +00:00
James Booth
185405b9d1
Fixed PLATFORM_CYGWIN references
2016-03-10 22:21:56 +00:00
David
82de077b02
read icons from local dir
...
if desired, icons could be put in the .config dir.
In this case, these icons will be read, instead of the other ones.
2016-03-10 22:45:16 +01:00
James Booth
d157e9bf71
Plugins: Fix python threading
...
Release global interpreter lock during api calls
2016-03-09 23:36:22 +00:00
David
4abdad03ec
Fix icons when installed in share... it is working now!
2016-03-09 20:09:31 +01:00
James Booth
85abab6bf9
Merge branch 'master' into plugins-python
2016-03-08 20:28:51 +00:00
James Booth
1ddfa47313
Free TLSCertificate memory
2016-03-08 20:25:36 +00:00
David
718a708b93
Use a folder to add icons
...
NOTE: it is not working in this release, I have to get how to retrieve
icons from folder.
2016-03-07 22:26:48 +01: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
David
d1177d3ade
better icons
2016-03-07 20:10:59 +01: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
958dc6b184
Free GList in wins_get_plugin
2016-03-07 18:30:13 +00:00
James Booth
355adb117c
Added WIN_PLUGIN case to win_free()
2016-03-07 18:24:04 +00:00
James Booth
35e456aebd
Merge branch 'master' into plugins-python
2016-03-07 17:15:48 +00:00
Klement Sekera
e1b15182a4
Fix typo maxinum->maximum
2016-03-07 14:06:10 +01:00
David
dc0c3cc699
Introduce Tray Icon for Profanity
...
Add tray icon for profanity based on Gtk StatusIcon.
Different icon is displayed in case the user has unread messages.
2016-03-06 19:10:46 +01:00
James Booth
581b6e2cf1
Merge branch 'master' into plugins-python
2016-03-03 00:32:48 +00:00
James Booth
09cfbb7e05
Fixed /help group formatting
2016-03-03 00:31:27 +00:00
James Booth
5ddf379ffd
Merge branch 'master' into plugins-python
2016-03-01 00:04:38 +00:00
James Booth
7fdf50eb31
Add plugin wins to /win and /close autocompletion
2016-03-01 00:03:11 +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
25c9b19562
Merge branch 'master' into plugins-python
2016-02-28 19:06:13 +00:00
James Booth
accde2a61c
Fixed cygwin compile
2016-02-28 19:05:26 +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
661cda3b10
Merge branch 'master' into plugins-python
2016-02-25 00:14:06 +00:00
James Booth
51c6cefafd
Call plugin disconnect hook before disconnecting on autoping fail
...
fixes #746
2016-02-25 00:10:22 +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
e3130dbe82
Merge branch 'master' into plugins-python
2016-02-24 01:00:39 +00:00
James Booth
9d31ce49c3
Added missing stdlib.h include
2016-02-24 00:59:28 +00:00
James Booth
d6e85e5cd6
Added python_api_cons_bad_cmd_usage
2016-02-24 00:48:34 +00:00
James Booth
2783c84a13
Added python support to -v
2016-02-24 00:36:23 +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
3705437a60
Removed plugin hook call for MUC history
2016-02-18 22:59:00 +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
0654aa1151
Added plugin commands to /help autocompletion
2016-02-18 21:06:21 +00:00
James Booth
639623d625
Tidied cons_show_help
2016-02-18 20:52:52 +00:00
James Booth
a14b7815ae
Added new help format to c plugins WIP
2016-02-18 01:20:37 +00:00
James Booth
2ac911618a
Fix call to plugins_post_chat_message_send
2016-02-16 23:48:47 +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
James Booth
3dd5c3b2c3
Updated copyright
2016-02-14 23:12:01 +00:00
James Booth
1f90aca503
Merge branch 'master' into plugins-c
...
Conflicts:
src/main.c
src/ui/console.c
2016-02-14 23:00:52 +00:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +00:00
James Booth
41fe8c22b1
Added C plugin code from plugins branch
2016-02-14 22:28:55 +00:00
James Booth
f887a35c0c
Fixed memory deallocations
2016-02-14 01:59:53 +00:00
James Booth
d7b331874a
Fix memory leaks
2016-02-14 01:49:57 +00:00
James Booth
7a19ee822b
Fixed theme defaults memory release
2016-02-14 01:37:13 +00:00
James Booth
87e3530e22
Added missing prefs_free_string()
2016-02-14 01:34:34 +00:00
James Booth
c3dfd6d35a
Highlight longer triggers first
2016-02-13 22:55:57 +00:00
James Booth
1a3dc91e11
Highlight room trigger terms
2016-02-13 22:46:25 +00:00
James Booth
2f82f50a35
Added roommention.term theme option
2016-02-10 23:03:23 +00:00
James Booth
71679a3159
Added mention and trigger themes for console
2016-02-10 21:38:28 +00:00
James Booth
6d518327a3
Fixed /role and /affiliation help
2016-02-07 19:32:23 +00:00
James Booth
62b0cdd8fd
Fix room notification reminders
2016-02-07 01:15:40 +00:00
James Booth
abc2f0de39
Added /roster show|hide unsubscribed
2016-02-07 00:49:48 +00:00
James Booth
6702bb9739
Don't show notification reminders for messages the user does not want notifications for
2016-02-04 01:24:37 +00:00
James Booth
e1962261a9
Tidy notify_room_message()
2016-02-04 00:45:37 +00:00
James Booth
c14ef33906
Tidy notify_message()
2016-02-04 00:41:53 +00:00
James Booth
f8f9ad5197
Tidy prefs_do_chat_notify()
2016-02-04 00:35:10 +00:00
James Booth
8342265607
Removed unused arg: prefs_do_chat_notify()
2016-02-04 00:21:38 +00:00
James Booth
bab75cae15
Implemented /console private setting
2016-02-03 23:39:20 +00:00
James Booth
19a3066e28
Implemented /console chat setting
2016-02-03 23:16:42 +00:00
James Booth
72c1c49695
Added console.chat preference
2016-02-03 23:02:52 +00:00
James Booth
003cdcf3fb
Added /console chat autocompletion
2016-02-03 22:47:22 +00:00
James Booth
30116dd922
Update autocompleters on roster nick change/clear
...
fixes #720
2016-02-03 22:19:29 +00:00
James Booth
46b27bcbd8
Fixed help formatting
2016-02-03 00:37:05 +00:00
James Booth
77e819e81a
Handle self leaving room in private wins
2016-02-03 00:11:38 +00:00
James Booth
292c9cf454
Handle occupant nick change in private wins
2016-02-02 23:25:26 +00:00
James Booth
3ddef99dfe
Handle occupant kicked/banned in private chat wins
2016-02-02 22:25:55 +00:00
James Booth
150015fa3d
Show message in private windows when user offline
2016-02-02 21:52:13 +00:00
James Booth
f91b21a1d6
Allow splitting roster rooms by conference server
2016-02-01 01:11:01 +00:00
James Booth
08c1e62e3c
Colour private chats by presence in roster panel
2016-01-31 23:08:14 +00:00
James Booth
431913127c
Roster panel colour fixes
2016-01-31 22:02:04 +00:00
James Booth
3805fcfbd1
Fixed /pref ui formatting
2016-01-31 20:26:49 +00:00
James Booth
a00095c8a9
Added roster.rooms.private.char setting
2016-01-31 20:17:20 +00:00
James Booth
dd250c6799
Show orphaned private chats
2016-01-31 19:38:06 +00:00
James Booth
a0f43adf5b
Only add private chats to Rooms unread count in roster when room active
2016-01-31 18:52:53 +00:00
James Booth
1c65c36cb6
Show offline contacts with unread messages in roster
2016-01-31 02:47:50 +00:00
James Booth
e816b124ee
Removed unused arg from roster_get_ functions
2016-01-31 02:33:44 +00:00
James Booth
369aa5e8a8
Added filter functions to roster
2016-01-31 02:27:02 +00:00
James Booth
f17ecb77d2
Added functions for rooms and private chat headers
2016-01-31 00:34:44 +00:00
James Booth
5bbb3ef413
Added _rosterwin_contacts_header function
2016-01-30 23:53:46 +00:00
James Booth
3f3182a7de
Reorganise rosterwin.c
2016-01-30 23:11:31 +00:00
James Booth
20659b9841
Added _rosterwin_contacts_all function
2016-01-30 22:54:52 +00:00
James Booth
2092273474
Removed _rosterwin_contacts_by_no_group function
2016-01-30 22:39:08 +00:00
James Booth
7c4a63f3c2
Moved offline check logic in roster panel
2016-01-30 22:23:59 +00:00
James Booth
b801a605a7
Show private chat unread message count in roster panel
2016-01-28 01:08:16 +00:00
James Booth
27adf0311b
Updated themes
2016-01-28 00:43:50 +00:00
James Booth
fbe8c1e345
Added unread counts to roster
2016-01-28 00:26:20 +00:00
James Booth
d4f1384b85
Store /roster count setting
2016-01-27 23:02:28 +00:00
James Booth
dbc52de043
Added /roster count command
2016-01-27 22:34:22 +00:00
James Booth
0501e49623
Fix handling of unknown characters with word wrap
2016-01-26 00:25:13 +00:00
James Booth
38dfdb9d84
Added missing header
2016-01-25 22:54:34 +00:00
James Booth
45a1c66e87
Themes: Tidy foreground colour loading
2016-01-25 00:27:56 +00:00
James Booth
0ae975c27f
Added themes for roster room mention and triggers
...
closes #718
2016-01-25 00:19:26 +00:00
James Booth
b6e9a09c64
Show console messages for room mention and triggers
...
closes #719
2016-01-24 23:47:17 +00:00
James Booth
5ff9fbd810
Tidy handling room mention and room triggers
2016-01-24 23:06:22 +00:00
James Booth
5ff36c14c0
Added roomtrigger colour theme
...
closes #717
2016-01-24 17:33:26 +00:00
James Booth
2a8da892aa
Roster private chat preferences
2016-01-24 02:28:22 +00:00
James Booth
7cacee8781
Added private chat roster group
2016-01-24 01:30:02 +00:00
James Booth
6d8a3e2020
Added /roster private command
2016-01-24 01:04:21 +00:00
James Booth
67abfaa21e
Added private chat to roster rooms
2016-01-24 00:33:24 +00:00
James Booth
2df622f9fd
Formatting of /theme properties command output
2016-01-23 22:55:04 +00:00
James Booth
6ec3f71a54
Pad theme settings
2016-01-23 21:47:23 +00:00
James Booth
53fc89f711
Added account theme property
2016-01-22 01:06:28 +00:00
James Booth
72bbb5c2b9
Keep cache of default theme properties
2016-01-21 23:59:45 +00:00
James Booth
37171fe692
Show theme colour value
2016-01-21 02:00:12 +00:00
James Booth
6b65a9be15
Tidied theme properties
2016-01-21 01:30:18 +00:00
James Booth
adb470c454
WIP: Add /theme properties command
2016-01-21 00:50:55 +00:00
James Booth
5bccee93cc
Added /roster show|hide contacts
2016-01-20 01:48:41 +00:00
James Booth
10507b687b
Added sys/select.h header includes
2016-01-19 22:55:43 +00:00
James Booth
519b10d105
Added /roster rooms position preference
2016-01-19 22:38:00 +00:00
James Booth
7b982f383c
Fixed theme load roster rooms unread setting
2016-01-17 21:20:00 +00:00
James Booth
cce01f1d75
Added /roster unread preferrence
...
closes #712
2016-01-17 02:17:12 +00:00
James Booth
e58be44f81
Added /roster room unread preference
...
closes ##708
2016-01-17 01:49:16 +00:00
James Booth
aab6a52eee
Show unread message count for contacts in roster
2016-01-15 00:44:47 +00:00
James Booth
fbc302317a
Added roster contact themes
2016-01-14 22:54:50 +00:00
James Booth
042ad4758f
Fix compile error on Cygwin
2016-01-14 00:05:12 +00:00
James Booth
2e99df1ac2
Added window title autocomplete to /close command
2016-01-13 23:19:11 +00:00
James Booth
7938db0a25
Use offline presence for software version responses from non contacts
...
fixes #714
2016-01-13 22:25:29 +00:00
James Booth
850ac3c6c0
Allow unlimited theme items
2016-01-10 03:11:05 +00:00
James Booth
de90243401
Added roster rooms order preference
2016-01-09 22:21:09 +00:00
James Booth
cd2458c019
Added roster room themes
2016-01-09 21:37:59 +00:00
James Booth
fcbd2592cf
Use different colour for roster chat rooms with unread messages
2016-01-09 20:40:13 +00:00
James Booth
51f033ae42
End OTR sessions on lost server connection
2016-01-08 00:22:17 +00:00
James Booth
a90e109f7e
Destroy roster after updating UI in server disconnect
2016-01-08 00:13:12 +00:00
James Booth
e5447cf37b
Added /win navigation by jid, win title
2016-01-07 00:38:17 +00:00
James Booth
393e690165
Merge branch 'master' into roster-struct
2016-01-05 01:38:31 +00:00
James Booth
e1e0fda8b3
Call UI disconnect functions before disconnecting with /disconnect
...
fixes #703
2016-01-05 01:30:32 +00:00
James Booth
055a5f71ce
Added roster struct, create and destroy roster on connect/disconnect
2016-01-05 00:06:50 +00:00
James Booth
8e9bf08389
Add cl_ev_disconnect
2016-01-03 17:23:36 +00:00
James Booth
03f63a912e
Close all windows on /disconnect
2016-01-03 02:20:17 +00:00
James Booth
a713654f93
Fixed compilation without libotr
2016-01-03 02:01:01 +00:00
James Booth
4f35b11471
End OTR session when recipient goes offline
2016-01-03 01:32:37 +00:00
James Booth
3d9e860574
Set autoping timeout default to 10 seconds, added null checks
2016-01-02 16:45:20 +00:00
James Booth
523c35c375
Fix roster rooms checks
2016-01-02 02:50:17 +00:00
James Booth
8ca3fe4ea8
Sort roster rooms
2016-01-02 02:41:51 +00:00
James Booth
f9d89d564f
Check for mucwin before showing room in roster
2016-01-02 01:45:02 +00:00
James Booth
254c83d2d1
Added /roster show|hide rooms
2016-01-02 01:37:03 +00:00
James Booth
cf80fdc329
Added roster rooms preference
2016-01-02 01:29:12 +00:00
James Booth
22a14e1240
Show rooms in roster panel
2016-01-02 01:22:19 +00:00
James Booth
f27cae68c5
Added autoping timeout preference
2016-01-01 19:50:13 +00:00
James Booth
94b0d2c6da
Added hardcoded autoping timeout
2015-12-31 01:48:04 +00:00
James Booth
08d30a4a83
Abort autping when existing attempt already in progress
2015-12-31 00:33:05 +00:00
James Booth
2847e39659
Tidy ping handlers
2015-12-31 00:11:58 +00:00
James Booth
a0c9b0cb70
Renamed autoping handler
2015-12-30 23:50:39 +00:00
James Booth
fb7001cffb
Added console muc message setting to themes
2015-12-30 00:48:37 +00:00
James Booth
6a8656a06b
Added /console command
2015-12-29 23:32:32 +00:00
James Booth
8ea228480c
Added console MUC message preference
2015-12-29 23:00:49 +00:00
Dmitry Podgorny
bea246d81b
Don't compile pgp code with --disable-pgp
2015-12-21 12:53:41 +02:00
James Booth
d9f5a2bda6
Updated console new message text
2015-12-20 23:26:05 +00:00
James Booth
1b88b5706e
Change console incoming message text to include "win"
2015-12-20 22:50:03 +00:00
James Booth
e3471fbfaa
Fixed /charset help
2015-12-20 03:15:00 +00:00
James Booth
1f56c12377
Added cons_show_incoming_room_message()
2015-12-20 00:54:17 +00:00
James Booth
8f6b37f650
Added /charset command
2015-12-19 23:32:58 +00:00
James Booth
a02c89a8e8
Use MB_CUR_MAX when calculating cursor position
2015-12-19 23:21:07 +00:00
James Booth
e1f674eca3
Fixed PGP error message
2015-12-19 22:55:33 +00:00
James Booth
88fd2a25ee
Show PGP error strings
2015-12-15 00:38:16 +00:00
James Booth
482eea4fcf
Moved sending of initial presence to sv_ev_roster_received
2015-12-14 23:57:06 +00:00
Steven Erenst
29bc58f53c
Fix spelling and grammatical mistakes in command help text
...
Signed-off-by: Steven Erenst <stevenerenst@gmail.com>
2015-12-06 00:58:51 -08:00
James Booth
53fd2b3534
Read ~/.config/profanity/inputrc
2015-12-06 02:12:20 +00:00
James Booth
e9e54dca44
Renamed readline handlers
2015-12-06 01:33:53 +00:00
James Booth
0d25de9459
Added readline function definitions
2015-12-06 01:33:36 +00:00
James Booth
1093737c62
Updated version in CHANGELOG and comments
2015-12-02 00:34:27 +00:00
James Booth
1e6a1f9921
readline: set rl_outstream to /dev/null
2015-12-01 22:24:43 +00:00
James Booth
d35f30f382
Merge remote-tracking branch 'kiethandi/master'
2015-11-30 23:58:29 +00:00
U-DIR\kieran.thandi
d288291e49
Include string take 2
2015-11-30 23:16:33 +00:00
U-DIR\kieran.thandi
a78dba0ced
resolve strdup dec
2015-11-30 22:57:10 +00:00
U-DIR\kieran.thandi
b818dddb32
Inclued stdlib
2015-11-30 22:34:24 +00:00
James Booth
0920b65ddf
Added /wins unread
2015-11-30 00:17:44 +00:00
James Booth
d9435d3b65
Tidy wins_create_summary()
2015-11-29 23:58:52 +00:00
James Booth
6e304bb867
Disable readline completion
2015-11-29 22:23:31 +00:00
James Booth
921ce6ec7d
Changed /bookmark list output to show text "win"
2015-11-29 01:13:00 +00:00
James Booth
b404663847
Tidied output for /notify command
2015-11-29 00:34:53 +00:00
James Booth
3fbee4023e
Renamed /notify message -> /notify chat
2015-11-29 00:08:49 +00:00
James Booth
04ad003e11
Added /notify reset to autocompletion
2015-11-28 23:47:08 +00:00
James Booth
2fc984e673
Removed regular chat message triggers
2015-11-28 23:43:02 +00:00
James Booth
60305de0d9
Added room specific notify settings
2015-11-28 00:15:53 +00:00
James Booth
ff2b19e3f9
Merge branch 'master' into notifications
2015-11-27 21:09:24 +00:00
Alex Jordan
29a2de332c
Fix typo
2015-11-27 03:42:55 -08:00
James Booth
d3389db233
Only show reminder notifications when notifications are enabled
2015-11-25 22:33:26 +00:00
James Booth
20e63e364b
Finished basic /notify triggers
2015-11-25 21:24:21 +00:00
James Booth
b9794361f7
Implemented regular chat notify triggers
2015-11-25 01:42:27 +00:00
James Booth
01682a7594
Merge branch 'master' into notifications
2015-11-25 00:43:26 +00:00
James Booth
c14d5b77e0
Merge remote-tracking branch 'incertia/export-command'
2015-11-25 00:41:37 +00:00
Will Song
df2726bdf5
add spaces after constructs such as if/for/while
2015-11-24 18:24:48 -06:00
Will Song
e945347f52
free fname as soon as we are done with it (also prevents a memory leak)
2015-11-24 18:19:02 -06:00
Will Song
d8022a9f20
remove NULL check because parse_args will fail before calling cmd_export
2015-11-24 18:15:35 -06:00
Will Song
bd33a24beb
add some code to deal with a common $HOME convention
2015-11-24 18:12:41 -06:00
Will Song
c4a1e7da9b
show different message when one is not connected
2015-11-24 18:02:48 -06:00
Will Song
35b8d58270
move brace to newline to follow conventions
2015-11-24 17:59:28 -06:00
Will Song
b2bc69f926
styling changes and remove temporary comment
2015-11-24 17:58:55 -06:00
James Booth
9c8b137a51
Tidy regular chat and room notifications
2015-11-24 23:03:52 +00:00
Will Song
d4e0be7176
actually check the return value of write for rare fail conditions
2015-11-23 21:02:23 -06:00
Will Song
8b9b06c24f
ignore another return value and move initial loop declaration outside of loop
2015-11-23 20:43:42 -06:00
Will Song
ddd5ce857d
mark return value of sys_write as unused to fix tests
2015-11-23 20:39:04 -06:00
Will Song
4501231eb3
since we keep track of length correctly, we don't need to add a null terminator for sys_write
2015-11-23 20:30:48 -06:00
Will Song
f73f88c571
fix typo
2015-11-23 20:29:17 -06:00
Will Song
aac8bfe98f
decrease the amount of sys_writes used and add a useful error message
...
also pretty up console messages by adding an empty line
2015-11-23 20:27:25 -06:00
Will Song
fa6a26c6fd
add feature in issue #585
...
this should only be temporary due the silly amounts of syscalls involved
ideally we would create a new escaped string and write that directly via
fputs
2015-11-23 20:09:51 -06:00
James Booth
00a735ece5
Added autocompleters for notify trigger removal
2015-11-24 01:34:06 +00:00
James Booth
a488d944d2
Added functions to manage custom notification triggers
2015-11-24 00:38:33 +00:00
James Booth
52d4e70d76
Merge branch 'master' into notifications
2015-11-24 00:08:47 +00:00
James Booth
a2f5e921f2
Added conf_string_list_add
2015-11-24 00:02:21 +00:00
James Booth
97d1b964c3
Created config/conflists.c for shared config list handling
2015-11-23 23:54:14 +00:00
James Booth
b79d77409f
Added notify triggers WIP
2015-11-23 23:43:53 +00:00
James Booth
e8c0eeda8b
Show error message when OTR key cannot be loaded
2015-11-23 21:24:31 +00:00
James Booth
bf1e7efe23
Show summary of trusted certificates, add /tls cert <fingerprint>
...
fixes #676
2015-11-22 19:53:41 +00:00
James Booth
216493ef07
Tidied roster commands
2015-11-22 17:45:38 +00:00
James Booth
0f22179eef
Added /roster resource join
2015-11-22 16:37:05 +00:00
James Booth
c4e8af0b6d
Added /roster char resource
2015-11-22 02:04:59 +00:00
James Booth
fade5469df
Updated help
2015-11-22 01:51:32 +00:00
James Booth
3bc9275079
Added word wrap to roster panel
2015-11-22 01:39:20 +00:00
James Booth
0763bfc9f4
Pass wrap boolean to win_sub_print()
2015-11-22 01:00:14 +00:00
James Booth
3d1299eb1e
Renamed subwin functions
2015-11-22 00:54:40 +00:00
James Booth
b4482b9fe1
Updated themes
2015-11-22 00:48:18 +00:00
James Booth
7a324abcd6
Option to show presence information on single line in roster
2015-11-22 00:30:42 +00:00
James Booth
5c08bea8d0
Added /roster indent presence
2015-11-21 22:03:43 +00:00
James Booth
ef0f093efd
Added /roster indent resource
2015-11-21 21:49:12 +00:00
James Booth
f54c2e8eca
Tidy rosterwin
2015-11-21 21:20:12 +00:00
James Booth
b73ff08a72
Free pref strings
2015-11-21 21:19:28 +00:00
James Booth
4b022687fa
Added /roster indent contact
2015-11-21 21:03:53 +00:00
James Booth
6935862195
Don't print empty line when no presence or status displayed in roster
2015-11-20 01:30:49 +00:00
James Booth
99b4fff949
Merge remote-tracking branch 'kiethandi/patch-2'
2015-11-20 00:38:08 +00:00
kiethandi
f948337103
Update privwin.c
2015-11-20 00:34:03 +00:00
James Booth
548f9394be
Removed unused priority settings
2015-11-20 00:18:13 +00:00
kiethandi
2c8c394595
Update privwin.c
...
Take 2 added include.
2015-11-20 00:16:51 +00:00
James Booth
16fbdedceb
Added /roster char contact
2015-11-20 00:06:46 +00:00
James Booth
3f18c8c35d
Added missing include
2015-11-19 23:32:11 +00:00
James Booth
316b6a7b8b
Added /roster char header
2015-11-19 23:21:51 +00:00
James Booth
78a8487892
Fixed /roster help
2015-11-19 01:02:13 +00:00
James Booth
4eb0f14a3d
Changed roster defaults, updated themes
2015-11-19 00:45:03 +00:00
James Booth
522b9ab6be
Show status when show presence disabled
2015-11-18 23:00:06 +00:00
James Booth
8e84d160e6
Added option to show resource priority in roster
2015-11-18 02:14:11 +00:00
James Booth
4505102fa8
Added roster count option
2015-11-18 02:02:49 +00:00
James Booth
edbd2d5843
Don't show offline below contact
2015-11-18 01:10:03 +00:00
James Booth
4efe456e74
Pass offline filter to roster_get_contacts
2015-11-18 01:03:35 +00:00
James Booth
b373cbcfc0
Pass offline filter to roster list functions
2015-11-18 00:25:35 +00:00
James Booth
2260e3bd6f
Pass ordering to roster list functions
2015-11-18 00:06:00 +00:00
James Booth
8e8852fa9f
Added /roster order name|presence
2015-11-17 23:37:33 +00:00
James Booth
230a14219c
Tidy rosterwin.c
2015-11-15 23:28:24 +00:00
James Booth
1d9d893ec0
Tidy rosterwin
2015-11-15 23:18:23 +00:00
James Booth
c31ba8c066
Added _rosterwin_presence()
2015-11-15 23:13:53 +00:00
James Booth
b44ea03022
Added _rosterwin_resource()
2015-11-15 22:54:09 +00:00
James Booth
98a395e933
Show presence when resource hidden
2015-11-15 22:17:36 +00:00
James Booth
badbc3003f
Show presence in roster WIP
2015-11-15 21:33:48 +00:00
James Booth
c5ac0f1319
Added missing default time formats.
...
issue #669
2015-11-14 22:42:56 +00:00
James Booth
c4a1d69a0c
Keep count of group members
2015-11-12 00:46:42 +00:00
James Booth
1f723a60b3
Tidy connection.c
2015-11-11 01:25:10 +00:00
James Booth
79c2b177a2
Tidy /tls command
2015-11-11 00:57:38 +00:00
James Booth
1e34b9c914
Added /tls trust
2015-11-10 23:26:19 +00:00
James Booth
fcfdc175b6
Allow /quit during TLS certificate verification prompt
2015-11-10 23:14:59 +00:00
James Booth
0bb596e14a
Added extra fields to TLSCertificate
2015-11-10 22:46:48 +00:00
James Booth
9302188a32
Show current TLS certificate
2015-11-10 01:20:40 +00:00
James Booth
bee27f4773
Added /tls cert to show current certificate fingerprint
2015-11-09 23:31:21 +00:00
James Booth
4cbfb88814
Store current TLS certificate fingerpint in memory for reconnect
2015-11-09 20:57:26 +00:00
James Booth
bee3e15ea4
Clear Readline undo list when autocompleting command history
...
fixes #667
2015-11-09 00:34:17 +00:00
James Booth
6feaa12253
Fixed /time help examples
...
fixes #650
2015-11-08 22:43:42 +00:00
James Booth
8230a28445
Added /account autocomplete for startscript property
2015-11-08 22:31:53 +00:00
James Booth
60215cdf9d
Renamed MUC private window functions
2015-11-08 22:08:29 +00:00
James Booth
8a397263dd
ui_incoming_private_msg takes ProfPrivateWin, added asserts
2015-11-08 22:01:51 +00:00
James Booth
ebff1fc81e
Moved ui_outgoing_private_msg to privwin.c
2015-11-05 23:30:51 +00:00