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

3478 Commits

Author SHA1 Message Date
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
James Booth
9fcdc5901c Removed ui_new_private_win 2015-11-05 23:28:21 +00:00
James Booth
f1daec663d Added privwin module 2015-11-05 23:20:19 +00:00
James Booth
38255e9be4 Make all mucconfwin functions take ProfMucConfWin 2015-11-02 22:19:01 +00:00
James Booth
9106029261 Added assert check to mucconfwin_field_help 2015-11-02 22:07:07 +00:00
James Booth
2a65aa0030 Added assert check to mucconfwin_form_help 2015-11-02 22:06:12 +00:00
James Booth
a3e9178ea2 Renamed mucconfwin functions 2015-11-02 22:05:17 +00:00
James Booth
a761ea7176 Added mucconfwin module 2015-11-02 21:52:43 +00:00
James Booth
eece15d92c Removed ui_statusbar_new 2015-11-02 21:24:12 +00:00
James Booth
022d20bbdc Removed ui_clear_win 2015-11-02 21:21:52 +00:00
James Booth
84adec83f9 Removed ui_unread 2015-11-02 21:14:55 +00:00
James Booth
7f5b563a81 Removed ui_handle_room_join_error 2015-11-02 21:11:47 +00:00
James Booth
2089eebf09 Removed ui_win_type 2015-11-02 21:07:04 +00:00
James Booth
bcd19c6d16 Removed ui_swap_wins 2015-11-02 21:05:21 +00:00
James Booth
df5b93987f Removed ui_tidy_wins 2015-11-02 21:03:30 +00:00
James Booth
75bce88b8a Renamed ui_switch_win -> ui_focus_win 2015-11-02 20:59:36 +00:00
James Booth
14a81fbbbe Removed ui_handle_recipient_not_found 2015-11-02 20:46:52 +00:00
James Booth
2ea0e1e938 Removed ui_titlebar_presence 2015-11-02 20:39:43 +00:00
James Booth
1c3eadbf1c Removed ui_get_chat_recipients 2015-11-02 20:35:01 +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
cb587b0772 Tidy sv_ev_muc_occupant_online 2015-11-01 23:26:47 +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
22cd5b433f Tidy sv_ev_muc_self_online 2015-11-01 23:10:07 +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
James Booth
e547ae0bcc mucwin_role_change takes ProfMucWin 2015-11-01 22:42:31 +00:00
James Booth
2be3b7d9a2 Tidied ui.h 2015-11-01 22:02:22 +00:00
James Booth
ed2324900a Renamed ui_room_hide_occupants -> mucwin_hide_occupants 2015-11-01 21:57:57 +00:00
James Booth
a08f112fd0 Renamed mucwin_occupants -> mucwin_show_occupants 2015-11-01 21:57:18 +00:00
James Booth
2e08910841 Renamed ui_room_show_occupants -> mucwin_occupants 2015-11-01 21:56:17 +00:00
James Booth
4697393373 Renamed ui_room_update_occupants -> mucwin_update_occupants 2015-11-01 21:55:16 +00:00
James Booth
e4e76ec58b Renamed ui_show_room_info -> mucwin_info 2015-11-01 21:54:31 +00:00
James Booth
67f8faf645 Renamed ui_handle_room_role_set_error -> mucwin_role_set_error 2015-11-01 21:53:12 +00:00
James Booth
50765190f7 Renamed ui_handle_room_affiliation_set_error -> mucwin_affiliation_set_error 2015-11-01 21:52:27 +00:00
James Booth
d47da01c00 Renamed ui_show_room_role_list -> mucwin_show_role_list 2015-11-01 21:51:24 +00:00
James Booth
556985ec39 Renamed ui_handle_room_role_list -> mucwin_handle_role_list 2015-11-01 21:50:32 +00:00
James Booth
2cc5f17871 Renamed ui_handle_room_role_list_error -> mucwin_role_list_error 2015-11-01 21:48:28 +00:00
James Booth
381bce385f Renamed ui_show_room_affiliation_list -> mucwin_show_affiliation_list 2015-11-01 21:46:57 +00:00
James Booth
fa0ed64190 Renamed ui_handle_room_affiliation_list -> mucwin_handle_affiliation_list 2015-11-01 21:45:59 +00:00
James Booth
21d560f068 Renamed ui_handle_room_affiliation_list_error -> mucwin_affiliation_list_error 2015-11-01 21:37:09 +00:00
James Booth
b26e606061 Renamed ui_room_broadcast -> mucwin_broadcast 2015-11-01 21:35:15 +00:00
James Booth
a575ab174c Renamed ui_handle_room_kick_error -> mucwin_kick_error 2015-11-01 21:34:28 +00:00
James Booth
25020df0f0 Renamed ui_room_subject -> mucwin_subject 2015-11-01 21:33:16 +00:00
James Booth
bd922a2651 Renamed ui_room_requires_config -> mucwin_requires_config 2015-11-01 21:32:35 +00:00
James Booth
f435d081b0 Renamed ui_room_message -> mucwin_message 2015-11-01 21:31:54 +00:00
James Booth
29af5d4a3b Renamed ui_room_history -> mucwin_history 2015-11-01 21:30:39 +00:00
James Booth
d7c1c6f9bf Renamed ui_room_nick_change -> mucwin_nick_change 2015-11-01 21:29:48 +00:00
James Booth
27632581eb Renamed ui_room_member_nick_change -> mucwin_occupant_nick_change 2015-11-01 21:28:53 +00:00
James Booth
0ea7636db3 Renamed ui_room_member_presence -> mucwin_occupant_presence 2015-11-01 21:27:56 +00:00
James Booth
7821b2261d Renamed ui_room_member_online -> mucwin_occupant_online 2015-11-01 21:27:00 +00:00
James Booth
1e47749f3a Renamed ui_room_member_banned -> mucwin_occupant_banned 2015-11-01 21:25:55 +00:00
James Booth
b8e1e5a546 Renamed ui_room_member_kicked -> mucwin_occupant_kicked 2015-11-01 21:24:49 +00:00
James Booth
445452696e Renamed ui_room_member_offline -> mucwin_occupant_offline 2015-11-01 21:23:37 +00:00
James Booth
51c9d4186e Renamed ui_room_roster -> mucwin_roster 2015-11-01 21:20:11 +00:00
James Booth
fdd00b33a4 Renamed ui_show_room_disco_info -> mucwin_room_disco_info 2015-11-01 21:19:08 +00:00
James Booth
bb14b19bb1 Renamed ui_handle_room_info_error -> mucwin_room_info_error 2015-11-01 21:18:13 +00:00
James Booth
94f05ff42f Renamed ui_room_occupant_role_and_affiliation_change -> mucwin_occupant_role_and_affiliation_change 2015-11-01 21:17:13 +00:00
James Booth
88206dc39b Renamed ui_room_occupant_affiliation_change -> mucwin_occupant_affiliation_change 2015-11-01 21:16:22 +00:00
James Booth
eae0b59310 Renamed ui_room_occupant_role_change -> mucwin_occupant_role_change 2015-11-01 21:15:14 +00:00
James Booth
1a87132dc7 Renamed ui_room_role_and_affiliation_change -> mucwin_role_and_affiliation_change 2015-11-01 21:14:01 +00:00
James Booth
d706dcd4bc Renamed ui_room_affiliation_change -> mucwin_affiliation_change 2015-11-01 21:12:53 +00:00
James Booth
75b505cf6a Renamed ui_room_role_change -> mucwin_role_change 2015-11-01 21:11:30 +00:00
James Booth
bb5150b062 Added mucwin module 2015-11-01 20:05:43 +00:00
James Booth
aa59cf98b8 xmlwin_show takes window as argument 2015-11-01 19:45:35 +00:00
James Booth
db4bcd3e6d Added xmlwin module 2015-11-01 19:39:36 +00:00
James Booth
7e386fbf00 Removed ui_open_xmlconsole_win() 2015-11-01 19:33:01 +00:00
James Booth
9eae20298f Removed ui_create_xmlconsole_win() 2015-11-01 19:29:59 +00:00
James Booth
486d2e0495 Removed ui_xmlconsole_exists 2015-11-01 19:26:31 +00:00
James Booth
be90e44d4a Tidy ui.h 2015-11-01 19:02:09 +00:00
James Booth
d6e4b74802 Removed ui_input_nonblocking() 2015-11-01 18:56:34 +00:00
James Booth
8195ab42cb Removed ui_ paging functions 2015-11-01 18:49:53 +00:00
James Booth
4fa2efc7ca Removed inp_win_clear() 2015-11-01 18:45:57 +00:00
James Booth
be4b07102c Removed ui_input_clear() 2015-11-01 18:42:42 +00:00
James Booth
4c42ce9701 Removed ui_readline() 2015-11-01 18:38:21 +00:00
James Booth
17488ca346 Added missing config.h includes 2015-10-31 23:38:08 +00:00
James Booth
24896a3bfb Added HAVE_LIBOTR checks 2015-10-31 23:22:23 +00:00
James Booth
dda753da3b Added /subject edit <subject> 2015-10-29 21:21:41 +00:00
James Booth
f3c65496c7 Added /subject prepend <text> 2015-10-29 21:02:46 +00:00
James Booth
86354a2bc5 Added /subject append <text> 2015-10-29 20:55:37 +00:00
James Booth
fa8a5323b6 Reordered ui.h 2015-10-27 23:42:26 +00:00
James Booth
3f7f1186a6 Tidied remaining chatwin functions 2015-10-27 23:39:26 +00:00
James Booth
77e854c1e8 Renamed _win_show_history -> _chatwin_history 2015-10-27 23:28:59 +00:00
James Booth
31016a2150 Tidied chatwin_outgoing_carbon 2015-10-27 23:25:18 +00:00
James Booth
e7148bf82d Renamed ui_outgoing_chat_msg -> chatwin_outgoing_msg 2015-10-27 23:20:03 +00:00
James Booth
af1124f28f Renamed ui_incoming_msg -> chatwin_incoming_msg 2015-10-27 23:18:42 +00:00
James Booth
ea09dcda18 Renamed ui_new_chat_win -> chatwin_new 2015-10-27 23:15:28 +00:00
James Booth
dfd55d24cd Moved ui_handle_otr_error 2015-10-27 23:12:46 +00:00
James Booth
ae89028772 Renamed ui_recipient_gone -> chatwin_recipeint_gone 2015-10-27 23:06:27 +00:00
James Booth
62c2febc11 Tidied ui_recipient_gone 2015-10-27 23:05:20 +00:00
James Booth
f4fbf0ecf0 Fixed otrlibv3 2015-10-27 22:39:48 +00:00
James Booth
ff9abecd50 Combined chatwin OTR SMP functions 2015-10-27 22:25:26 +00:00
James Booth
40dcd59727 Renamed chatwin OTR functions 2015-10-27 21:23:56 +00:00
James Booth
0fd616167e Removed ui_events module 2015-10-27 20:49:06 +00:00
James Booth
61bcb59ee9 Removed ui_ev_new_chat_win 2015-10-27 20:45:07 +00:00
James Booth
8087053f49 Removed ui_ev_focus_win 2015-10-27 20:40:42 +00:00
James Booth
795360f446 Added missing include 2015-10-27 00:27:02 +00:00
James Booth
124aaa9809 remaining otr functions take ProfChatWin 2015-10-27 00:19:22 +00:00
James Booth
8bd74cefcf ui_smp_successful takes ProfChatWin 2015-10-26 23:50:56 +00:00
James Booth
3cea2bc4f4 ui_smp_aborted takes ProfChatWin 2015-10-26 23:45:39 +00:00
James Booth
0b51f4d36f ui_smp_unsuccessful_receiver takes ProfChatWin 2015-10-26 23:40:37 +00:00
James Booth
d11f8d5ffc ui_smp_unsuccessful_sender takes ProfChatWin 2015-10-26 23:36:11 +00:00
James Booth
3ce55de1e1 ui_smp_recipient_initiated_q takes ProfChatWin 2015-10-26 23:29:01 +00:00
James Booth
55e857d6a8 ui_smp_recipient_initiated takes ProfChatWin 2015-10-26 23:22:59 +00:00
James Booth
93c3feeacf Add assert checks for ProfChatWin functions 2015-10-26 23:11:38 +00:00
James Booth
9d3bcf5f90 ui_gone_insecure takes ProfChatWin 2015-10-26 23:10:30 +00:00
James Booth
4fb0b4b0da ui_gone_secure takes ProfChatWin 2015-10-26 23:04:45 +00:00
James Booth
2efaa464bf ui_message_receipt takes ProfChatWin 2015-10-26 22:54:06 +00:00
James Booth
8f45f332ad Removed ui_chat_win_exists 2015-10-26 22:43:32 +00:00
James Booth
c99ff8d941 Extracted chatwin.c 2015-10-26 22:35:30 +00:00
James Booth
8966c59fe1 Merge remote-tracking branch 'jubalh/compwarn' 2015-10-26 20:52:45 +00:00
James Booth
ab9bdffab6 Merge remote-tracking branch 'jubalh/ptr_fix' 2015-10-26 20:47:48 +00:00
James Booth
d8fc7faa36 Removed ui_about() function 2015-10-26 20:37:50 +00:00
Michael Vetter
86c3c50219 Get rid of compiler warning concerning NULL pointer
Casting the into correct type.
2015-10-26 14:50:54 +01:00
Michael Vetter
a6f27d3ea7 Fix pointer dereferencing
Setting the pointer to NULL had no effect outside the function so far.
2015-10-26 14:24:11 +01:00
James Booth
523d92e950 Fixed spelling mistake 2015-10-26 01:07:15 +00:00
James Booth
dd11334b06 Applied coding style to src/ 2015-10-26 00:52:33 +00:00
James Booth
c8a6bdb381 Applied coding style to src/xmpp/ 2015-10-26 00:14:23 +00:00
James Booth
2ce43b633f Applied coding style to src/ui/ 2015-10-25 23:31:11 +00:00
James Booth
4a6b729a54 Applied coding style to src/ui/core.c 2015-10-25 23:11:27 +00:00
James Booth
1096603234 Applied coding style to src/ui/console.c 2015-10-25 22:59:35 +00:00
James Booth
559ff72cf5 Applied coding style to src/ui/buffer.h src/ui/buffer.c 2015-10-25 22:50:10 +00:00
James Booth
0017098400 Applied coding style to src/tools/ 2015-10-25 22:47:42 +00:00
James Booth
39d183fe23 Applied coding style to src/pgp/ 2015-10-25 22:43:19 +00:00
James Booth
894fa355e8 Applied coding style to src/otr/ 2015-10-25 22:40:09 +00:00
James Booth
afbd2693cd Applied coding style to src/event/ 2015-10-25 22:32:46 +00:00
James Booth
5863292094 Applied coding style to src/config/ 2015-10-25 22:23:38 +00:00
James Booth
ea899aabee Applied coding style to account.h 2015-10-25 00:49:48 +01:00
James Booth
5f74c2044c Applied coding style to accounts.c 2015-10-25 00:46:12 +01:00
James Booth
19e71f05f8 Applied coding style to account.h 2015-10-25 00:36:56 +01:00
James Booth
13ae9252a7 Applied coding style to account.c 2015-10-25 00:35:39 +01:00
James Booth
22db16e646 Applied coding style to commands.h 2015-10-25 00:33:41 +01:00
James Booth
99b2d5fda2 Applied coding style to commands.c 2015-10-25 00:31:42 +01:00
James Booth
fa53e23805 Applied coding style to command.h 2015-10-25 00:26:42 +01:00
James Booth
cded90bcd0 Applied coding style to command.c 2015-10-25 00:25:10 +01:00
James Booth
1d4d693a53 Merge remote-tracking branch 'jubalh/jub' 2015-10-24 21:42:04 +01:00
Michael Vetter
3b0f7e109c Use consistent style for pointers 2015-10-21 15:07:49 +02:00
James Booth
6640a0891f Force tls on all connections, add tls policy account property 2015-10-18 03:06:23 +01:00
James Booth
9d2745e462 Removed --disable-tls command line option 2015-10-18 00:17:45 +01:00
James Booth
31ecd41c8f Renamed PREF_CERT_PATH -> PREF_TLS_CERTPATH 2015-10-18 00:03:15 +01:00
James Booth
b8c08f85cc Added /script autocompletion 2015-10-17 23:14:55 +01:00
James Booth
eca7390951 Implemented /script show 2015-10-17 22:58:45 +01:00
James Booth
a35cbea732 Implemented /script list 2015-10-17 22:30:01 +01:00
James Booth
0769fc6b1b Added /script run 2015-10-15 23:57:52 +01:00
James Booth
ea4fb2ce6c Allow /lastactivity on|off when not connected 2015-10-15 23:32:47 +01:00
James Booth
904a5a81cf Add ability to script commands after connect 2015-10-15 01:19:24 +01:00
James Booth
d38e10828e Added /lastactivity on|off 2015-10-14 22:09:18 +01:00
James Booth
1fd2a8a4e9 Send service-unavailable when lastactivity disabled 2015-10-14 21:45:19 +01:00
James Booth
5fb8acb17f Use lastactivity preference for presence updates 2015-10-14 21:30:48 +01:00
James Booth
8c9174b82f Added lastactivity preference 2015-10-14 21:17:46 +01:00
James Booth
aae526fbde Moved idle time check for last activity 2015-10-14 21:12:26 +01:00
James Booth
85764ddb53 Added TLS show to UI preferences 2015-10-14 00:58:33 +01:00
James Booth
ef832ce526 Add preference for showing TLS indicator in titlebar
Issue #616
2015-10-14 00:48:11 +01:00
James Booth
c9165ef9d2 Title bar TLS indicator
Issue #616
2015-10-14 00:29:22 +01:00
James Booth
ecbcecea7d Fixed closing room config windows 2015-10-13 20:46:59 +01:00
James Booth
6e28df66e8 Use libstrophe/libmesode uuid generator 2015-10-12 23:37:11 +01:00
Michael Vetter
e434b1bbf8 Create is_notify_enabled function
The same code was used on two different occasions. I put it into a
function.
2015-10-12 09:29:04 +02:00
Michael Vetter
4730dca546 Undefine argument list
Call va_end() to correclty stop using the argument list.
2015-10-12 09:29:04 +02:00
Michael Vetter
dd2ce7a5bf Reduce scope of variables in ui/core
Not as important as the other one (where there was a double
declaration). But for the sake of consistency.
2015-10-12 09:29:01 +02:00
Michael Vetter
8dfa41ea8e Remove double declaration and reduce scope of pcontact
In command/commands.c you declare pcontact at the top of the function.
Later in one case you declare it again and use it in a small scope. And
in the same function you use it again this time from the first
declaration. I think you intended only declaring it one time. At first I
thought about top of the function because its easier to find. Then I saw
that you declare "Jid jid" not at the top too, and I think for the sake
of reducing scope it is better. So I went for this approach.
2015-10-09 10:34:58 +02:00
James Booth
de15d47be4 Fixed resize during password and tls commands 2015-10-06 23:21:47 +01:00
James Booth
09cd288186 Updated theme template, changed default lastactivity format 2015-09-30 23:22:39 +01:00
James Booth
b9948a4c01 Added time format perferences per window type 2015-09-30 22:34:27 +01:00
James Booth
075c108e2d Fixed spelling 2015-09-30 00:07:35 +01:00
James Booth
1afe492e30 Added jabber:iq:last to capabilities 2015-09-29 23:55:01 +01:00
James Booth
99fc70bd92 Added last activity time format option 2015-09-29 23:30:23 +01:00
James Booth
ac1164a3fa Use more specific messages for last activity responses 2015-09-29 21:51:04 +01:00
James Booth
09833fb0dd Unmap key sequence Alt+=
Fixes #629
2015-09-29 21:08:42 +01:00
James Booth
bfdda17b7f Fix last active query 2015-09-29 00:53:58 +01:00
James Booth
26d160cae8 WIP: Added last activity request and response 2015-09-29 00:01:38 +01:00
James Booth
a12624ea75 Increased help examples size 2015-09-28 21:39:09 +01:00
James Booth
9f4e2c036e Added contact OTR policy to help 2015-09-28 21:34:27 +01:00
James Booth
0b03f72b2c Added missing account properties to /account rename 2015-09-28 21:24:49 +01:00
James Booth
16103f6cc7 Removed old code to fix legacy accounts 2015-09-28 20:42:59 +01:00
James Booth
9593e17c3c Include last activity in initial presence 2015-09-27 23:53:06 +01:00
James Booth
54e225aa53 Added auto xa option, tidied autoaway code 2015-09-27 23:08:30 +01:00
James Booth
fe22fea9a8 Fixed spelling mistake 2015-09-27 18:32:21 +01:00
James Booth
6f2487c5c1 Tidied autoaway code 2015-09-25 23:29:10 +01:00
James Booth
ca3da5a929 Allow autoaway when status is dnd 2015-09-25 23:04:57 +01:00
James Booth
100db7c36c Set status to what it was before autoaway 2015-09-25 22:55:44 +01:00
James Booth
22ba3db0b2 Send current presence when autoaway mode idle 2015-09-25 22:08:21 +01:00
James Booth
f7aa03f8e6 Include last activity with autoaway mode away 2015-09-25 21:53:29 +01:00
James Booth
a5c6710024 Removed redundant last activity setter 2015-09-25 00:35:08 +01:00
James Booth
b484411ea8 Save last activity to account on disconnect 2015-09-25 00:26:58 +01:00
James Booth
b96e3f100b Fixed /tls help 2015-09-24 01:23:48 +01:00
James Booth
3e38d64397 Added HAVE_LIBMESODE check before setting cert path 2015-09-24 01:13:45 +01:00
James Booth
bd42185389 Added /tls revoke 2015-09-24 01:06:53 +01:00
James Booth
8d2c7f1ac0 Show trusted certificate fingerprint first 2015-09-24 00:44:48 +01:00
James Booth
6f8ad6b8e8 Added /tls trusted command 2015-09-24 00:43:41 +01:00
James Booth
d96e68ea53 Save trusted certificates to tlscerts file with more information 2015-09-24 00:18:18 +01:00
James Booth
40ce5cb0e0 Parse TLS cert subject 2015-09-23 23:01:59 +01:00
James Booth
1eab57bd13 Perform directory exists check before setting TLS cert path 2015-09-23 20:42:47 +01:00
James Booth
0321adde3e Fixed spelling 2015-09-23 20:38:52 +01:00
James Booth
a37d55e1a9 Added TLS trusted certificate path preference 2015-09-23 20:37:41 +01:00
James Booth
bd9c28c100 Tidied output for cert callback 2015-09-23 00:17:10 +01:00
James Booth
a964050b87 Use subject name in cert callback 2015-09-22 23:56:22 +01:00
James Booth
b88885aaae Store trusted TLS cert fingerprints 2015-09-22 22:44:18 +01:00
James Booth
9a53854a1d Added conditionals for libmesode cert verification 2015-09-22 21:55:46 +01:00
James Booth
9414ad268d Prompt user to allow or deny untrusted TLS certificates 2015-09-22 21:42:05 +01:00
James Booth
74151e6419 Added TLS cert fail callback 2015-09-22 20:55:41 +01:00
James Booth
2b88e2f1bf Check for libmesode, fall back to libstrophe 2015-09-21 21:40:04 +01:00
James Booth
d7bba74091 Moved /winstidy command to /wins autotidy 2015-09-19 23:31:04 +01:00
James Booth
232cc7601d Added otr and pgp to /prefs command help 2015-09-09 22:59:47 +01:00
James Booth
03ee1d56e6 Added conference and receipts features to caps query response 2015-09-09 22:36:07 +01:00
James Booth
fed6128bbc Spelling fix 2015-09-09 19:31:11 +01:00
James Booth
b266e4d035 Pass delay timestamp to all incoming chat events 2015-09-08 20:18:31 +01:00
James Booth
e44688306b Removed duplicate help entry for /roster show empty 2015-09-02 00:07:25 +01:00
James Booth
8a90e1acf1 PGP: Use old gpgme_io_write 2015-09-01 21:52:11 +01:00
James Booth
aee832f7c1 PGP: Use old gpgme_io_write 2015-09-01 21:40:07 +01:00
James Booth
b468fd7ae4 PGP: UI tweaks for passphrase request 2015-09-01 21:25:58 +01:00
James Booth
4d18c5ff52 PGP: Added null check for passphrase_attempt 2015-09-01 21:08:23 +01:00
James Booth
53035f5e4c Save PGP passphrase when correct 2015-09-01 21:05:17 +01:00
James Booth
7dc1b9d428 Fixed passing from arg in PGP ask passphrase 2015-09-01 20:33:23 +01:00
James Booth
1f4fd0fcb3 Added UI function to get PGP passphrase 2015-09-01 20:16:04 +01:00
James Booth
dd346eefc4 Added PGP passphrase callback 2015-09-01 19:24:56 +01:00
James Booth
688be91c23 PGP: Format fingerprints 2015-08-30 02:12:05 +01:00
James Booth
b4722632b6 Split PGP incoming and outgoing message handling 2015-08-30 01:32:13 +01:00
James Booth
1484e94b35 Fixed OTR decryption check 2015-08-27 00:37:48 +01:00
James Booth
ef52840d91 Added str_contains_str to common 2015-08-26 23:52:40 +01:00
James Booth
55158767cc Renamed enc_message parameter for incoming messages 2015-08-26 23:23:12 +01:00
James Booth
4b90a53566 Tidied sv_ev_incoming_message 2015-08-26 23:15:10 +01:00
James Booth
fc60c9fbf1 Fixed OTR char display 2015-08-26 21:42:16 +01:00
James Booth
5e962fe0f5 Fixed compile when no OTR or PGP support 2015-08-26 01:48:21 +01:00
James Booth
35239ee319 Added otr and pgp char to themes 2015-08-26 01:36:41 +01:00
James Booth
98ea744648 Added /otr char and /pgp char 2015-08-26 01:24:53 +01:00
James Booth
1bf584793f Added preference for encryption char 2015-08-26 01:06:10 +01:00
James Booth
48630d45a4 Added check for libgpgme on account autocomplete 2015-08-26 00:48:01 +01:00
James Booth
f998ab8f3b Display special char for encrypted messages 2015-08-26 00:42:56 +01:00
James Booth
4b0ee89fa3 PGP: Added key ID autocompletion to /account setting 2015-08-25 23:48:21 +01:00
James Booth
cb19be2ffc Added PGP key autocompleter 2015-08-25 23:44:03 +01:00
James Booth
55c2d1cc21 PGP: Display whether contact public key was received or manually set 2015-08-25 23:04:21 +01:00
James Booth
fc1ee79190 PGP: Show key IDs for assigned public keys 2015-08-25 22:45:51 +01:00
James Booth
592a3695a5 PGP: Do not save contact's fingerprint when no key found 2015-08-25 21:58:24 +01:00
James Booth
872ab8e529 Added HAVE_LIBGPGME check for setting account key 2015-08-25 20:35:45 +01:00
James Booth
f6a91145b6 Show public/private indicator when listing PGP keys 2015-08-25 00:21:49 +01:00
James Booth
d6ff72cf48 Show public keys in PGP key list 2015-08-24 22:27:15 +01:00
James Booth
525876770a Removed unused barejid argument from PGP decryption 2015-08-24 00:13:57 +01:00
James Booth
b8b54f91a5 Leave chat rooms before receiving self unavailable presence
Fixes bug for servers that don't send the self presence
2015-08-23 23:56:34 +01:00
James Booth
b1ab4b2854 Added JID to log when failing to load PGP fingerprint
Added PGP stub for tests
2015-08-23 23:09:44 +01:00
James Booth
8501d1db33 Validate PGP key when chosen for account 2015-08-23 23:05:39 +01:00
James Booth
57ca441f02 Check for valid PGP key on start 2015-08-23 22:54:41 +01:00
James Booth
c07638746a Log recipient used for PGP decryption 2015-08-23 22:18:54 +01:00
James Booth
d791e4dd59 Free OTR TLVS 2015-08-20 22:23:31 +01:00
James Booth
c18b7f4d67 Free id for OTR messages 2015-08-20 22:02:58 +01:00
James Booth
2af5c151a0 Tidied pgp memory allocations 2015-08-11 01:00:23 +01:00
James Booth
e2a528cad4 Free pgp key on connect 2015-08-10 22:18:19 +01:00
James Booth
0410dd90f1 Free timestamp and id for receipts 2015-08-09 23:08:36 +01:00
James Booth
dea10ecfdc Dereference timestamp on chat logging 2015-08-09 01:24:15 +01:00
James Booth
d501576fcf Free gpgme context on verification 2015-08-09 01:20:16 +01:00
James Booth
1422af05fc Free pgp headers 2015-08-09 01:16:41 +01:00
James Booth
131f1788c2 Free software version result properties 2015-08-09 01:10:02 +01:00
James Booth
3b79d5aa63 Dereference pgp key 2015-08-09 00:54:11 +01:00
James Booth
70c0eeed1e Free error message in carbons handlers 2015-08-09 00:43:00 +01:00
James Booth
783342a48c Free timestamps and carbons stanzas 2015-08-09 00:40:37 +01:00
James Booth
8531357e88 Free strings in prefs_load 2015-08-09 00:20:17 +01:00
James Booth
103f80c227 Updated /help help 2015-08-08 22:38:50 +01:00
James Booth
406b821b35 Show software version result in current window 2015-08-06 01:56:52 +01:00
brandenbyers
4e5f197eb4 Fix typo 2015-08-05 13:10:59 -05:00
James Booth
af38ddc9e7 Handle resource not found on sofware version request 2015-08-05 01:14:41 +01:00
James Booth
0b7c79ac13 Use original JID in software version request in MUC 2015-08-05 01:01:46 +01:00
James Booth
ac3e7dd9e8 Handle software version requests for gateways that return from domainpart 2015-08-05 00:48:50 +01:00
James Booth
2a92169351 Use id handler for software version requests, handle errors 2015-08-05 00:26:29 +01:00
James Booth
091a23fc48 Modified /account help 2015-08-03 00:45:14 +01:00
James Booth
5619ba7058 Added account status autocomplete 2015-08-03 00:33:16 +01:00
James Booth
7151792b8c Handle private messages that include muc#user namespace 2015-08-02 01:12:54 +01:00
James Booth
41c93c3350 Handle larger than line words in wrapping 2015-07-30 01:31:11 +01:00
James Booth
8ec931eb84 Added cons_show_padded 2015-07-29 23:48:28 +01:00
James Booth
79f618367d Do not print newline when curs position 0 2015-07-29 23:03:00 +01:00
James Booth
5576b88a04 Added indent padding 2015-07-29 22:48:03 +01:00
James Booth
30c1cdd318 Refactored showing tagged command help 2015-07-28 00:10:18 +01:00
James Booth
08f43bee8e Retagged commands 2015-07-27 23:55:04 +01:00
James Booth
eb550eedb3 Added tags to command definitions 2015-07-27 01:06:10 +01:00
James Booth
8119025120 Fixed tests for new command format 2015-07-27 00:04:48 +01:00
James Booth
59d5dd73a7 Use command definition macros for remaining commands 2015-07-26 20:43:59 +01:00
James Booth
6986a02ff3 Added command definition macros 2015-07-26 19:39:12 +01:00
James Booth
bd32f4dc47 Show command header in help output 2015-07-26 03:01:14 +01:00
James Booth
2b725f9144 Reordered command arguments 2015-07-26 02:28:45 +01:00
James Booth
4f9a848429 Added message for invalid /wins usage 2015-07-26 02:09:01 +01:00
James Booth
34537e2fb1 Removed old command help 2015-07-26 02:05:53 +01:00
James Booth
36ebf0fc17 Updated help category output 2015-07-26 01:27:42 +01:00
James Booth
cb7504e67f Moved remaining help to new format 2015-07-26 00:17:16 +01:00
James Booth
b33f4777d0 Fix formatting for variables in new help 2015-07-25 20:57:21 +01:00
James Booth
19fb907bc5 Generate HTML docs using new help format 2015-07-25 20:43:16 +01:00
James Booth
90dda0e9a0 Added more help to new format 2015-07-25 00:45:20 +01:00
James Booth
b736883ac4 Added roster to new help format 2015-07-24 21:20:55 +01:00
James Booth
a8eb281553 Added msg to new help format 2015-07-24 00:44:56 +01:00
James Booth
44d7a152a4 Added connect to new help format 2015-07-24 00:33:38 +01:00
James Booth
22111bf75b Moved help and about to new format 2015-07-23 23:05:33 +01:00
James Booth
e55ef63f61 Merge branch 'master' into help 2015-07-22 22:59:20 +01:00
James Booth
f9a7e35001 Added id attributes to roster queries
fixes #596
2015-07-22 22:48:37 +01:00
James Booth
59dd87d5f8 Fix /help commands spacing 2015-07-21 22:55:39 +01:00
James Booth
b63ede7964 Fixed time preference display 2015-07-19 22:56:22 +01:00
James Booth
46e2f11b93 Removed /mouse command 2015-07-19 22:48:12 +01:00
James Booth
84cc67fa88 Removed 'empty' from roster autocompleter 2015-07-14 20:59:55 +01:00
James Booth
051c6ed50e Check for self jid on /software
fixed #592
2015-07-08 21:05:20 +01:00
James Booth
9a5fe29caa Changed /roster empty -> /roster remove_all contacts
Make it difficult to accidentally use this command.
2015-07-08 20:51:39 +01:00
Daniel
806afcc014 Allow hiding of empty presence groups: /roster {show,hide} empty (default is show) 2015-07-08 13:11:56 +02:00
James Booth
6c668bce88 Migrate old time display format settings 2015-07-02 16:31:09 +01:00
James Booth
84a8da7741 Default autoping to 1 minute #541 2015-07-02 00:10:31 +01:00
James Booth
fb8b223876 Removed subscribed check when displaying roster panel 2015-07-02 00:01:37 +01:00
James Booth
10eb0bbbf8 Merge remote-tracking branch 'SamWhited/otr_no_store_carbons' 2015-07-01 21:09:45 +01:00
James Booth
d8c410d289 Don't write chars during password input 2015-07-01 21:00:31 +01:00
James Booth
446f5f0aa1 Merge remote-tracking branch 'pasis/ui-ignore-EINTR' 2015-07-01 20:55:22 +01:00
James Booth
106e909fbd Merge remote-tracking branch 'incertia/time'
Conflicts:
	src/config/preferences.c
2015-07-01 20:16:09 +01:00
Sam Whited
167ee28ec0 Add no-copy and no-store hints to OTR messages 2015-07-01 09:04:54 -05:00
James Booth
d5f79c7b35 Use reference counts for GDateTimes #516 2015-06-30 16:21:21 +01:00
James Booth
dd206ef637 WIP fix for #516, needs memory cleanup 2015-06-29 23:48:41 +01:00
Dmitry Podgorny
f24019ee4d ui: Ignore EINTR in inp_readline()
EINTR is usual situation during resizing of terminal window.
2015-06-25 18:17:10 +00:00
James Booth
fed55b5459 Do not update UI whilst receiving password 2015-06-25 00:33:28 +01:00
James Booth
524c7a8671 Free account on pgp presence send 2015-06-24 22:02:29 +01:00
James Booth
7f17fd2e48 Merge pull request #583 from pasis/jid-memleak
Fixed memory leak in jid_create()
2015-06-24 22:00:02 +01:00
Dmitry Podgorny
89b76400c8 jid: Fixed memory leak in jid_create() 2015-06-24 20:42:20 +00:00
James Booth
ae4c2781e1 Added messaage when account resource changed whilst connected 2015-06-24 21:36:39 +01:00
James Booth
583bccf631 Merge remote-tracking branch 'pasis/stderr-log-handler' 2015-06-24 21:02:21 +01:00
James Booth
240f6a3f79 Fixed various jid and account mem leaks 2015-06-24 20:53:04 +01:00
James Booth
626ab51ed4 free account after account connect 2015-06-24 20:24:39 +01:00
James Booth
48a2cad8fd free muc autocompleter result 2015-06-24 20:20:55 +01:00
James Booth
026b0885b5 Merge remote-tracking branch 'pasis/prefs-alloc' 2015-06-24 20:14:00 +01:00
James Booth
2becd9170e Merge remote-tracking branch 'pasis/gpgme-h-check' 2015-06-24 19:34:59 +01:00
James Booth
ac454fb1cc Removed NULL checks when not required 2015-06-24 19:19:44 +01:00
Dmitry Podgorny
6325e4f64d pgp: Added include config.h
gpgme.h checks _FILE_OFFSET_BITS macro and it's set at config.h
2015-06-24 14:21:28 +00:00
James Booth
17919298f7 Free prefs strings, check for NULLs when closing pgp module 2015-06-24 14:27:40 +01:00
Dmitry Podgorny
592cf2c69b prefs: Don't mix allocator types 2015-06-24 12:50:04 +00:00
James Booth
8eb921e34a Merge remote-tracking branch 'pasis/ui-log-fix' 2015-06-23 23:37:52 +01:00
James Booth
d89a9862b1 Merge remote-tracking branch 'pasis/pgp-without-otr-fix' 2015-06-23 23:32:41 +01:00
James Booth
358e9d6af0 Added /pgp setkey command 2015-06-23 23:29:10 +01:00
Dmitry Podgorny
6a73ca1b52 pgp: Fixed compilation error when libotr is not supported 2015-06-23 22:13:50 +00:00
Dmitry Podgorny
02cd8d2330 ui: decreased log level of the message on resizing
Resizing of terminal window can produce many logs "Resizing UI". Also
they are not so informative to be shown without -l DEBUG.
2015-06-23 22:03:09 +00:00
Dmitry Podgorny
e831410669 log: Introduced stderr log handler
This handler redirects stderr output to a pipe and gathers logs from the
read end.

The handler is called from main loop, therefore, if a function prints logs
to stderr they will be put to log file only after function returns.
2015-06-23 20:52:04 +00:00
James Booth
86acd4649b Added PGP prefs 2015-06-22 21:09:14 +01:00
Dmitry Podgorny
c851a48af2 shutdown: Call prefs_close() after log_close()
log_msg() uses prefs, so prefs_close() should be called after
log_close(). It makes possible to use logs in other finalisation
functions.
2015-06-22 11:43:12 +00:00
James Booth
918e55becf Fixed pgp help 2015-06-21 22:29:15 +01:00
James Booth
9526f2b7eb Fixed /pgp help formatting 2015-06-21 22:06:27 +01:00
James Booth
3d2f999efb Added PGP logging preferences 2015-06-21 21:42:58 +01:00
James Booth
446027b950 Moved setting otr.warn -> enc.warn 2015-06-21 21:07:57 +01:00
James Booth
e72ddf5488 Show message when contact ends PGP 2015-06-21 20:27:56 +01:00
James Booth
217fcff420 Added /pgp end command 2015-06-21 20:20:28 +01:00
James Booth
f81652e84e Added enc_mode check when starting OTR 2015-06-21 20:13:28 +01:00
James Booth
5669799690 Encryption modes for sv_ev_incoming_message 2015-06-21 20:08:46 +01:00
James Booth
03a4aa4408 Tidied OTR and PGP combinations in client_events.c 2015-06-21 19:29:23 +01:00
James Booth
13a612cbc2 Moved window creation to sv_ev_incoming_message 2015-06-21 18:29:20 +01:00
James Booth
8d2d923603 Moved message display logic to sv_ev_incoming_message 2015-06-21 18:00:57 +01:00
James Booth
9b991ae058 Extracted chat session code from message senders 2015-06-21 17:11:23 +01:00
James Booth
e45afd5c09 Added pgp checks for message sending 2015-06-21 01:48:25 +01:00
James Booth
6617bb5a2b Added window encyption mode for PGP 2015-06-20 23:49:24 +01:00
James Booth
16999a3964 Merge branch 'master' into openpgp 2015-06-20 00:39:08 +01:00
James Booth
d7ec339e3e Added /roster empty command 2015-06-20 00:38:28 +01:00
James Booth
edbb3d938e Merge branch 'master' into openpgp 2015-06-19 00:15:40 +01:00
James Booth
e117c0368f Added missing include client_events.c 2015-06-19 00:14:48 +01:00
James Booth
ea99012d9b Added initial /pgp start checks 2015-06-18 01:34:27 +01:00
James Booth
85cc5ab50d Added cmd_pgp tests 2015-06-18 00:12:01 +01:00
James Booth
97ba9d2692 Merge branch 'master' into openpgp 2015-06-17 20:06:13 +01:00
James Booth
f51a26e6a0 Merge remote-tracking branch 'quite/#513' 2015-06-17 20:05:27 +01:00
James Booth
1af3565cbd Merge branch 'master' into openpgp 2015-06-17 19:55:52 +01:00
James Booth
e00a03f916 Removed wins_get_current_* functions 2015-06-17 19:49:55 +01:00
James Booth
8fde14879a Merge branch 'master' into openpgp
Conflicts:
	src/command/commands.c
	src/command/commands.h
2015-06-17 00:40:06 +01:00
James Booth
a798dc5618 Removed unused function prototype 2015-06-17 00:18:59 +01:00
James Booth
2215a3791f Added current window reference to command functions 2015-06-17 00:15:28 +01:00
James Booth
cfef64c767 Pass current window to autocompleters 2015-06-16 22:59:08 +01:00
Daniel
d00d71f245 Let's only strip trailing whitespace when parsing command
Allows for "quoting" a command--doing nothing but sending the string: SPC/command
As we're used to from for example irc clients. 

Fixes boothj5/profanity#513
2015-06-16 09:46:02 +02:00
James Booth
637b8bee9f Merge branch 'master' into openpgp 2015-06-15 23:17:11 +01:00
James Booth
fb0e065902 Tidied cmd_otr, added check-unit target to Makefile 2015-06-15 23:16:22 +01:00
James Booth
de47450594 Merge branch 'master' into openpgp 2015-06-15 22:03:25 +01:00
James Booth
6097a5bade Removed ui_get_current_chat() 2015-06-15 22:01:28 +01:00
James Booth
c76692516a Merge branch 'master' into openpgp 2015-06-15 20:39:17 +01:00
James Booth
5cdd69f478 Moved UI interfaces to ui.h 2015-06-15 20:11:34 +01:00
James Booth
38ed9188d3 Moved ui/windows -> window_list 2015-06-15 19:26:28 +01:00
James Booth
6b44b988f4 Moved refresh subwin logic to window.c 2015-06-15 18:59:20 +01:00
James Booth
989dde77cd Added win_resize() function 2015-06-15 18:08:47 +01:00
James Booth
a849b200b3 Added win_clear() function 2015-06-15 17:54:47 +01:00
James Booth
e9aa4ea084 Removed unused variable 2015-06-15 17:40:22 +01:00
James Booth
732533ee5a I removed ncurses header dependencies, removed unused code 2015-06-15 17:11:11 +01:00
James Booth
10a5f29023 Merge branch 'master' into openpgp 2015-06-14 00:02:00 +01:00
James Booth
e50461a897 Set columns when running functional tests 2015-06-13 23:59:33 +01:00
James Booth
0ef00e87ab Merge branch 'master' into openpgp 2015-06-13 16:27:20 +01:00
James Booth
698288ab5c Show message when offline for /pgp fps 2015-06-13 01:19:56 +01:00
James Booth
e0783e20db Renamed otr trusted window property 2015-06-13 01:13:56 +01:00
James Booth
a408ca7326 Removed TODO in gpg.c 2015-06-13 00:35:53 +01:00
James Booth
abcf67044c Merge branch 'master' into openpgp 2015-06-08 20:33:03 +01:00
James Booth
549fceaa7f Set default autoaway mode to off
fixes #555
2015-06-08 20:26:23 +01:00
James Booth
9aff8abd2e Merge branch 'master' into openpgp
Conflicts:
	.travis.yml
2015-06-05 23:02:56 +01:00
James Booth
78a4446023 Merge branch 'master' into stabber-tests 2015-06-02 20:32:15 +01:00
James Booth
a3693cfbe7 Merge branch 'master' into openpgp 2015-06-02 20:32:07 +01:00
James Booth
f0f3a739f4 Merge remote-tracking branch 'PMaynard/#551' 2015-06-02 20:29:35 +01:00
Pete
a0a7d04a5f Tidy up windows when enabling 2015-06-01 14:47:02 +01:00
Pete
e8eb23c4f0 Merge branch '#551' of github.com:PMaynard/profanity into #551 2015-06-01 11:45:22 +01:00
Pete
2ce35fe61c Added Theme UI option for window auto tidy 2015-06-01 11:44:52 +01:00
Pete Maynard
7bc671e07c Extra underline 2015-06-01 11:33:19 +01:00
Pete
0564976264 Refactored 'ui_tidy_wins()' to return bool and not output text, Corrected underline, removed call to function 'wins_resize_all()'. 2015-06-01 11:27:01 +01:00
Will Song
837f8b1f10
add examples and be more specific about time formatting 2015-05-30 00:42:19 -05:00
Will Song
83bed119e4
remove memory leak from creating a gdatetime string 2015-05-29 20:55:33 -05:00
Will Song
0e7507a1aa
update autocomplete 2015-05-29 20:49:28 -05:00
Will Song
3842daa334
fix indent code 2015-05-29 20:45:10 -05:00
Will Song
f2629aca7b
updated statusbar to use strftime formats 2015-05-29 20:23:09 -05:00
Will Song
9463c67190
fix conflicts 2015-05-29 19:53:37 -05:00
Pete
fbc57765a3 Added window auto tidy. 2015-05-29 14:25:14 +01:00
James Booth
e4ad201324 Merge branch 'master' into stabber-tests 2015-05-25 21:17:06 +01:00
James Booth
06fe9bec37 Merge branch 'master' into openpgp 2015-05-25 21:16:51 +01:00
James Booth
304e08a9c0 Added jid to OTR errors in console 2015-05-25 21:16:10 +01:00
James Booth
e295a474dc Added more connect tests 2015-05-24 20:31:18 +01:00
James Booth
80665ea051 Added rooms iq test 2015-05-24 04:13:28 +01:00
James Booth
2241473ee6 Added bad password test 2015-05-24 00:56:13 +01:00
James Booth
09f01d518c Merge branch 'master' into stabber-tests 2015-05-17 22:28:25 +01:00
James Booth
34d9b2b272 Merge branch 'master' into openpgp 2015-05-17 22:28:12 +01:00
James Booth
2c5b44421e Added initial stabber test 2015-05-17 22:05:43 +01:00
Adam Ehlers Nyholm Thomsen
882ca85aca allow enabling / disabling carbons without being connected. 2015-05-17 13:29:08 +02:00
James Booth
7f861b7743 Removed libgpg include from presence.c 2015-05-10 23:54:48 +01:00
James Booth
58b5e39b95 Merge branch 'master' into openpgp 2015-05-10 01:45:07 +01:00
James Booth
aeffca496c Tidy ui_room_message 2015-05-10 01:44:34 +01:00
James Booth
487f5da17d Merge branch 'master' into openpgp 2015-05-10 01:08:30 +01:00
James Booth
aaad3ff909 Moved logic to notify_message 2015-05-10 01:03:34 +01:00
James Booth
acd2d2309f Moved pgp signature generation to cl_ev_presence_send 2015-05-08 00:07:21 +01:00
James Booth
0db7bcbdcd Merge branch 'master' into openpgp 2015-05-07 23:23:45 +01:00
James Booth
d853284f92 Added cl_ev_presence_send 2015-05-07 23:21:48 +01:00
James Booth
a2281dbccf Merge branch 'master' into openpgp 2015-05-07 23:16:22 +01:00
James Booth
56cbce2ff3 Renamed presence_update -> presence_send 2015-05-07 23:12:49 +01:00
James Booth
beeadd6ae3 Merge branch 'master' into openpgp 2015-05-07 22:51:42 +01:00
James Booth
f69ccbf0cc Tidied _roster_result_handler 2015-05-07 22:51:35 +01:00
James Booth
8ebc1d4ac1 Moved pgp signature verification to sv_ev_contact_online 2015-05-07 22:22:28 +01:00
James Booth
8673488368 Merge branch 'master' into openpgp 2015-05-07 22:06:02 +01:00
James Booth
a2c6211732 Added ui_contact_online 2015-05-07 22:05:36 +01:00
James Booth
8c347de298 Merge branch 'master' into openpgp 2015-05-07 00:26:45 +01:00
James Booth
6fd9b179a0 Optimised occupant comparisons, create utf8 collate key once 2015-05-07 00:26:24 +01:00
James Booth
ca3f7412f5 Optimised contact comparisons, create utf8 collate key once 2015-05-07 00:16:22 +01:00
James Booth
6840f3b599 Merge branch 'master' into openpgp 2015-05-06 22:04:47 +01:00
James Booth
5067e565e3 Set ui nonblocking on presence updates
Speeds up joining rooms, and connecting.
2015-05-06 22:02:50 +01:00
James Booth
c9e21a557e Merge branch 'master' into openpgp 2015-05-05 00:51:16 +01:00
James Booth
d52f86ef0f Tidied form field autocompleters 2015-05-05 00:13:41 +01:00
James Booth
44aa2fd1bf Use null check convention in gpg.c 2015-05-04 23:41:22 +01:00
James Booth
3fd9692aec Merge branch 'master' into pgp 2015-05-04 23:40:58 +01:00
James Booth
6f3750c6aa Use null check convention in roster_list.c 2015-05-04 23:31:05 +01:00
James Booth
59788752c7 Use null check convention in resource.c 2015-05-04 23:29:53 +01:00
James Booth
0930f0f688 Use null check convention in profanity.c 2015-05-04 23:29:24 +01:00
James Booth
41724218c0 Use null check convention in log.c 2015-05-04 23:28:34 +01:00
James Booth
4c78534be0 Use null check convention in jid.c 2015-05-04 23:27:41 +01:00
James Booth
1bfaa49fb3 Use null check convention in contact.c 2015-05-04 23:26:57 +01:00
James Booth
1d002e5bdc Use null check convention in common.c 2015-05-04 23:26:08 +01:00
James Booth
49e450767d Use null check convention in chat_session.c 2015-05-04 23:24:37 +01:00
James Booth
c487fe5f77 Use null check convention in stanza.c 2015-05-04 23:23:55 +01:00
James Booth
defa955ae0 Use null check convention in roster.c 2015-05-04 23:22:06 +01:00
James Booth
8e64323503 Use null check convention in presence.c 2015-05-04 23:21:06 +01:00
James Booth
8e2578459e Use null check convention in iq.c 2015-05-04 23:19:10 +01:00
James Booth
cbcf476a7c Use null check convention in form.c 2015-05-04 23:17:18 +01:00
James Booth
af75bc4be6 Use null check convention in connection.c 2015-05-04 23:16:44 +01:00
James Booth
067ad7fa2c Use null check convention in capabilities.c 2015-05-04 23:15:15 +01:00
James Booth
398eac4ed6 Use null check convention in bookmark.c 2015-05-04 23:14:18 +01:00
James Booth
a71d1dab6a Use null check convention in windows.c 2015-05-04 23:12:55 +01:00
James Booth
c19a05ca09 Use null check convention in window.c 2015-05-04 23:11:32 +01:00
James Booth
dd386b4a4e Use null check convention in titlebar.c 2015-05-04 23:08:09 +01:00
James Booth
bf5646aee3 Use null check convention in statusbar.c 2015-05-04 23:07:36 +01:00
James Booth
dda812cd3e Use null check convention in notifier.c 2015-05-04 23:06:35 +01:00
James Booth
aefe458b60 Use null check convention in core.c 2015-05-04 23:05:52 +01:00
James Booth
2e2b3f9403 Use null check convention in console.c 2015-05-04 23:02:57 +01:00