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
93672eba9f
Plugins: Added on_room_history_message
2016-04-08 00:11:33 +01:00
James Booth
f243e333fc
Added whole word matches for room mention
2016-04-07 01:01:27 +01:00
James Booth
accde2a61c
Fixed cygwin compile
2016-02-28 19:05:26 +00:00
James Booth
9d31ce49c3
Added missing stdlib.h include
2016-02-24 00:59:28 +00:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +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
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
1f56c12377
Added cons_show_incoming_room_message()
2015-12-20 00:54:17 +00:00
James Booth
d9435d3b65
Tidy wins_create_summary()
2015-11-29 23:58:52 +00:00
James Booth
60305de0d9
Added room specific notify settings
2015-11-28 00:15:53 +00:00
James Booth
d3389db233
Only show reminder notifications when notifications are enabled
2015-11-25 22:33:26 +00:00
James Booth
9c8b137a51
Tidy regular chat and room notifications
2015-11-24 23:03:52 +00:00
James Booth
3f18c8c35d
Added missing include
2015-11-19 23:32:11 +00:00
James Booth
6779c5bf68
mucwin_hide_occupants takes ProfMucWin
2015-11-02 01:01:37 +00:00
James Booth
668f92ece2
mucwin_show_occupants takes ProfMucWin
2015-11-02 00:59:27 +00:00
James Booth
ce0763e160
mucwin_update_occupants takes ProfMucWin
2015-11-02 00:57:13 +00:00
James Booth
6c2617ccda
Added assert to mucwin_info
2015-11-02 00:53:54 +00:00
James Booth
1602011e01
mucwin_role_set_error takes ProfMucWin
2015-11-02 00:52:50 +00:00
James Booth
982bc8e066
mucwin_affiliation_set_error takes ProfMucWin
2015-11-02 00:51:12 +00:00
James Booth
c9db9257ae
Added assert to mucwin_show_role_list
2015-11-02 00:49:05 +00:00
James Booth
7bedb6c294
mucwin_handle_role_list takes ProfMucWin
2015-11-02 00:47:43 +00:00
James Booth
1aa3c0ea4f
mucwin_role_list_error takes ProfMucWin
2015-11-02 00:44:33 +00:00
James Booth
2792c59031
Added assert to mucwin_show_affiliation_list
2015-11-02 00:41:52 +00:00
James Booth
3341e8c202
mucwin_handle_affiliation_list takes ProfMucWin
2015-11-02 00:40:23 +00:00
James Booth
d81dbdb233
mucwin_affiliation_list_error takes ProfMucWin
2015-11-02 00:38:26 +00:00
James Booth
2e81a4efa3
mucwin_broadcast takes ProfMucWin
2015-11-02 00:36:25 +00:00
James Booth
5c53c94253
mucwin_kick_error takes ProfMucWin
2015-11-02 00:33:31 +00:00
James Booth
23ada0d38b
mucwin_subject takes ProfMucWin
2015-11-02 00:29:35 +00:00
James Booth
0592c7f9e9
mucwin_requires_config takes ProfMucWin
2015-11-02 00:26:56 +00:00
James Booth
986741dea8
mucwin_message takes ProfMucWin
2015-11-02 00:24:19 +00:00
James Booth
e68784be43
mucwin_history takes ProfMucWin
2015-11-02 00:19:46 +00:00
James Booth
6ed72d8a35
mucwin_nick_change takes ProfMucWin
2015-11-02 00:17:46 +00:00
James Booth
42643391a4
mucwin_occupant_nick_change takes ProfMucWin
2015-11-02 00:16:01 +00:00
James Booth
b3150ef8e1
mucwin_occupant_presence takes ProfMucWin
2015-11-02 00:14:16 +00:00
James Booth
d505a92d1e
mucwin_occupant_online takes ProfMucWin
2015-11-01 23:52:16 +00:00
James Booth
3a98bf315c
mucwin_occupant_banned takes ProfMucWin
2015-11-01 23:49:45 +00:00
James Booth
cc498110e2
mucwin_occupant_kicked takes ProfMucWin
2015-11-01 23:47:59 +00:00
James Booth
24f283e960
mucwin_occupant_offline takes ProfMucWin
2015-11-01 23:45:54 +00:00
James Booth
8b4bb1c7f1
mucwin_roster takes ProfMucWin
2015-11-01 23:41:45 +00:00
James Booth
d21faa4609
mucwin_room_disco_info takes ProfMucWin
2015-11-01 23:33:50 +00:00
James Booth
363fda82c1
mucwin_room_info_error takes ProfMucWin
2015-11-01 23:30:44 +00:00
James Booth
ed9585376e
mucwin_occupant_role_and_affiliation_change takes ProfMucWin
2015-11-01 23:23:49 +00:00
James Booth
799c064dff
mucwin_occupant_affiliation_change takes ProfMucWin
2015-11-01 23:14:27 +00:00
James Booth
288c1a9d6e
mucwin_occupant_role_change takes ProfMucWin
2015-11-01 23:12:35 +00:00
James Booth
6ea9314f98
mucwin_role_and_affiliation_change takes ProfMucWin
2015-11-01 23:08:02 +00:00
James Booth
c0fc7b51e3
mucwin_affiliation_change takes ProfMucWin
2015-11-01 22:46:24 +00:00