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
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
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
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
055a5f71ce
Added roster struct, create and destroy roster on connect/disconnect
2016-01-05 00:06:50 +00:00
James Booth
4f35b11471
End OTR session when recipient goes offline
2016-01-03 01:32:37 +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
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
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
1f56c12377
Added cons_show_incoming_room_message()
2015-12-20 00:54:17 +00:00
James Booth
a02c89a8e8
Use MB_CUR_MAX when calculating cursor position
2015-12-19 23:21:07 +00: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
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
3fbee4023e
Renamed /notify message -> /notify chat
2015-11-29 00:08:49 +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
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
9c8b137a51
Tidy regular chat and room notifications
2015-11-24 23:03:52 +00:00
James Booth
b79d77409f
Added notify triggers WIP
2015-11-23 23:43:53 +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
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
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
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
bee3e15ea4
Clear Readline undo list when autocompleting command history
...
fixes #667
2015-11-09 00:34:17 +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
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
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
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
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
8087053f49
Removed ui_ev_focus_win
2015-10-27 20:40:42 +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
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
1d4d693a53
Merge remote-tracking branch 'jubalh/jub'
2015-10-24 21:42:04 +01:00
James Booth
6640a0891f
Force tls on all connections, add tls policy account property
2015-10-18 03:06:23 +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
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
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
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
James Booth
de15d47be4
Fixed resize during password and tls commands
2015-10-06 23:21:47 +01:00
James Booth
b9948a4c01
Added time format perferences per window type
2015-09-30 22:34:27 +01:00
James Booth
99fc70bd92
Added last activity time format option
2015-09-29 23:30:23 +01:00
James Booth
09833fb0dd
Unmap key sequence Alt+=
...
Fixes #629
2015-09-29 21:08:42 +01:00
James Booth
54e225aa53
Added auto xa option, tidied autoaway code
2015-09-27 23:08:30 +01:00
James Booth
100db7c36c
Set status to what it was before autoaway
2015-09-25 22:55:44 +01:00
James Booth
9414ad268d
Prompt user to allow or deny untrusted TLS certificates
2015-09-22 21:42:05 +01:00
James Booth
d7bba74091
Moved /winstidy command to /wins autotidy
2015-09-19 23:31:04 +01:00
James Booth
b468fd7ae4
PGP: UI tweaks for passphrase request
2015-09-01 21:25:58 +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
b4722632b6
Split PGP incoming and outgoing message handling
2015-08-30 01:32:13 +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
f998ab8f3b
Display special char for encrypted messages
2015-08-26 00:42:56 +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
0410dd90f1
Free timestamp and id for receipts
2015-08-09 23:08:36 +01:00
James Booth
783342a48c
Free timestamps and carbons stanzas
2015-08-09 00:40:37 +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
2a92169351
Use id handler for software version requests, handle errors
2015-08-05 00:26:29 +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
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
bd32f4dc47
Show command header in help output
2015-07-26 03:01:14 +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
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
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
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
fb8b223876
Removed subscribed check when displaying roster panel
2015-07-02 00:01:37 +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
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
48a2cad8fd
free muc autocompleter result
2015-06-24 20:20:55 +01:00
James Booth
17919298f7
Free prefs strings, check for NULLs when closing pgp module
2015-06-24 14:27:40 +01: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
James Booth
86acd4649b
Added PGP prefs
2015-06-22 21:09:14 +01:00
James Booth
446027b950
Moved setting otr.warn -> enc.warn
2015-06-21 21:07:57 +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
6617bb5a2b
Added window encyption mode for PGP
2015-06-20 23:49:24 +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
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
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
0ef00e87ab
Merge branch 'master' into openpgp
2015-06-13 16:27:20 +01:00
James Booth
e0783e20db
Renamed otr trusted window property
2015-06-13 01:13:56 +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
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
83bed119e4
remove memory leak from creating a gdatetime string
2015-05-29 20:55:33 -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
80665ea051
Added rooms iq test
2015-05-24 04:13:28 +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
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
3fd9692aec
Merge branch 'master' into pgp
2015-05-04 23:40:58 +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
James Booth
176fba84a0
Merge branch 'master' into pgp
2015-05-04 21:39:56 +01:00
James Booth
8ccbeade44
Added enc_mode to ProfChatWin
2015-05-04 21:38:19 +01:00
James Booth
aca102f542
Merge branch 'master' into pgp
2015-05-04 01:34:18 +01:00
James Booth
c8eaaa0ce9
Added ui_ev_new_private_win to ui events
2015-05-04 01:31:27 +01:00
James Booth
bb2b5d20d5
Merge branch 'master' into pgp
2015-05-04 00:57:17 +01:00
James Booth
ef54ff305e
ui_outgoing_chat_msg now takes ProfChatWin as argument
2015-05-04 00:55:43 +01:00
James Booth
bab4da039a
Merge branch 'master' into pgp
2015-05-04 00:43:36 +01:00
James Booth
c3d2a7e937
Added roster list function to get display name for messages
2015-05-03 23:38:46 +01:00
James Booth
bec9b53f10
Merge branch 'master' into pgp
2015-05-03 02:04:21 +01:00
James Booth
4e1c2a4f64
Show resource in status bar
2015-05-03 02:04:04 +01:00
James Booth
0bd642edf8
Merge branch 'master' into pgp
2015-04-30 23:38:28 +01:00
James Booth
e11e55e31a
Move current win check to event, removed next and prev win functions
2015-04-30 22:43:08 +01:00
James Booth
a3a4b6267b
Merge branch 'master' into pgp
2015-04-30 22:10:03 +01:00
James Booth
d68fb25dde
Removed ui_win_switch_num
2015-04-30 22:09:39 +01:00
James Booth
20555fcb36
Added assert to ui_switch_win
2015-04-30 21:27:44 +01:00
James Booth
7730674f45
Merge branch 'master' into pgp
2015-04-30 21:24:06 +01:00
James Booth
0a6b76d6d3
Removed some ui functions, inlined
2015-04-30 21:23:43 +01:00
James Booth
d5188a160e
Merge branch 'master' into pgp
2015-04-29 23:16:43 +01:00
James Booth
2e75e54460
Added ui_win_error_line()
2015-04-29 23:16:28 +01:00
James Booth
0fece78dfe
Merge branch 'master' into pgp
2015-04-29 23:08:23 +01:00
James Booth
665c34414d
Return result on OTR message sending
2015-04-29 22:59:44 +01:00
James Booth
15b34692fd
Reuse ui_new_chat_win
2015-04-29 21:42:29 +01:00
James Booth
0296a60390
_win_show_history takes ProfChatWin as first arg
2015-04-29 21:19:20 +01:00
James Booth
5d827cafec
Merge branch 'master' into pgp
...
Conflicts:
src/xmpp/message.c
2015-04-28 23:57:28 +01:00
James Booth
403e9b47fe
Removed commented code
2015-04-28 23:00:06 +01:00
James Booth
bc445ccdfb
Merge branch 'master' into pgp
2015-04-21 23:35:37 +01:00
James Booth
88739d5c59
Moved new chat win events to client events module
2015-04-21 23:28:52 +01:00
James Booth
65c0a87f97
Merge branch 'master' into pgp
2015-04-21 20:56:47 +01:00
James Booth
a4f9661da2
Removed unused otr check
2015-04-19 21:03:20 +01:00
James Booth
bcfbbac49a
Merge branch 'master' into pgp
2015-04-12 02:16:13 +01:00
James Booth
57dc5f14ef
Added option to show jids in occupants panel
2015-04-12 02:14:37 +01:00
James Booth
475dfebd97
Added pgpkeyid account setting, send signed presence
2015-03-23 23:38:06 +00:00
James Booth
f1f047889e
Added individual options to send and request delivery receipts
2015-03-19 22:57:51 +00:00
James Booth
8e80a8ccf7
Merge remote-tracking branch 'origin/master'
2015-03-18 21:31:58 +00:00
James Booth
e7e94eed7f
Added keybindings for rxvt
2015-03-18 21:30:43 +00:00
James Booth
d6977e31cd
Fix buffer entry free
2015-03-17 20:42:21 +00:00
James Booth
981618b7da
Added static functions to commands.c for sending messages
2015-03-16 01:29:03 +00:00
James Booth
fae2717f27
Tidied help
2015-03-15 20:04:53 +00:00
James Booth
2762f18a3e
Added /receipts command
2015-03-15 19:48:19 +00:00
James Booth
b21edfaa51
Added receipt.sent theme setting
2015-03-15 19:35:25 +00:00
James Booth
448c91af61
Fixed merge
2015-03-15 01:30:27 +00:00
James Booth
8c552e8a70
Merge branch 'master' into xep-0184
2015-03-15 01:27:09 +00:00
James Booth
49022068ef
Added OTR error messages
2015-03-15 01:26:09 +00:00
James Booth
ca30ff3910
Merge branch 'master' into xep-0184
...
Conflicts:
src/server_events.c
src/ui/core.c
src/ui/ui.h
tests/ui/stub_ui.c
2015-03-14 23:10:51 +00:00
James Booth
385336c10b
Don't switch window on sent carbon
2015-03-14 22:59:49 +00:00
James Booth
1014244408
Use colouring for message receipts
2015-03-14 16:05:13 +00:00
James Booth
bc6e32175d
Removed from argument from outgoing message functions
2015-03-14 14:50:45 +00:00
James Booth
6fd5b617ef
Renamed win_save_newline -> win_newline
2015-03-14 14:16:50 +00:00
James Booth
b84bddc46b
Renamed win_save_println -> win_println
2015-03-14 14:14:46 +00:00
James Booth
e02dbe24da
Renamed win_save_print -> win_print
2015-03-14 14:12:32 +00:00
James Booth
f4441ec64f
Renamed win_save_vprint -> win_vprint
2015-03-14 14:10:10 +00:00
James Booth
57c7564445
Show message received text for receipts
2015-03-11 23:47:11 +00:00
James Booth
78becceedb
Added basic delivery receipts
2015-03-11 23:18:28 +00:00
James Booth
e5bb12a0d6
Added /time statusbar preference
2015-03-10 23:35:08 +00:00
James Booth
945f29873e
Merge remote-tracking branch 'oliverlemoal/xep-0280' into xep-0280
2015-03-08 21:51:50 +00:00
James Booth
2e493112bb
Merge branch 'master' into readline
2015-03-08 18:12:50 +00:00
James Booth
6be4b400b8
Fixed swapping windows when in source win
2015-03-03 22:10:01 +00:00
James Booth
7ae71391de
Merge branch 'master' into readline
2015-02-24 22:58:19 +00:00
James Booth
68a8ab3401
Updated default preferences
2015-02-24 22:53:57 +00:00
James Booth
84c02ffb72
Added /roster by preference to UI preferences summary
2015-02-24 22:24:20 +00:00
James Booth
9a408024d3
Merge branch 'master' into readline
2015-02-24 21:47:49 +00:00
James Booth
434fb1878b
Fixed /resource preference display
2015-02-24 21:42:43 +00:00
James Booth
7454bede8b
Merge branch 'master' into readline
2015-02-23 00:50:58 +00:00
Christian Storm
a1d14c4526
Fixed spelling.
2015-02-17 10:52:37 +01:00
James Booth
32b8ead198
Merge branch 'master' into readline
2015-02-14 20:46:11 +00:00
James Booth
c9a6e10c26
Use single quotes for terminal notifier notifications to avoid variable expansion
2015-02-14 16:20:15 +00:00
James Booth
b24510c776
Merge branch 'master' into readline
...
Conflicts:
src/tools/history.c
src/tools/history.h
2015-02-11 00:09:58 +00:00
James Booth
b3be26a214
Updated copyright
2015-02-10 23:16:09 +00:00
James Booth
13297a151f
Merge branch 'master' into readline
...
Conflicts:
src/ui/inputwin.c
2015-02-10 20:47:22 +00:00
James Booth
75d7663876
Free wins summary list
2015-02-10 19:42:13 +00:00
James Booth
30739ed157
Free contact list
2015-02-10 19:39:18 +00:00
James Booth
6bee6cb0fb
Free string on backspace
2015-02-10 19:30:18 +00:00
Olivier LE MOAL
48f9f3b3b0
Add XEP-0280 support
2015-02-10 11:32:22 +01:00
James Booth
64774a947e
Merge branch 'master' into readline
2015-02-09 22:11:25 +00:00
James Booth
5c9dd2802a
Free lists on get muc and private windows
2015-02-09 22:08:47 +00:00
James Booth
75f791da8f
Free hash table keys before modifying hash table
2015-02-09 21:53:55 +00:00
James Booth
1a98f1404b
Free resource lists
2015-02-09 21:46:54 +00:00
James Booth
51ccb69580
Merge branch 'master' into readline
...
Conflicts:
src/ui/inputwin.c
2015-02-09 21:28:08 +00:00
James Booth
aad7b3ed8a
Free GTimer on switch to console
2015-02-09 20:15:24 +00:00
James Booth
893b58bf4e
Use chat_state_free to free chat states
2015-02-09 20:11:51 +00:00
James Booth
23aaa51a2a
Free utf8 substrings for delete word (ctrl-w)
2015-02-09 19:59:04 +00:00
James Booth
268c33e1c6
Free resource lists on /account command
2015-02-09 19:50:41 +00:00
Christian Storm
916a3d9451
Bind ^L to own clear method to retain ui elements
...
When using readline's standard ^L binding, the screen
is completely cleared, including status and title bar.
By binding ^L to profanity's clear method, status and
title bar are retained.
2015-02-08 12:15:01 +01:00
James Booth
b7a8e7d942
Merge branch 'master' into readline
2015-02-06 22:05:38 +00:00
James Booth
f447ac4189
Free win layout
2015-02-06 21:39:53 +00:00
James Booth
f08657fa9a
Handle home scroll
2015-02-06 14:11:21 +00:00
James Booth
2e83d23873
Removed unused function
2015-02-06 00:20:06 +00:00
James Booth
113cb6cf9a
Removed debug logging
2015-02-05 01:00:06 +00:00
James Booth
a70aa0255f
Moved command processing to main loop, allow resize during password prompt
2015-02-05 00:58:23 +00:00
James Booth
30180ac8bb
Move SIGWINCH handling to ui/core.c, ignore signal whilst resizing
2015-02-04 23:35:28 +00:00
James Booth
d64c4a69d7
Removed unused functions from inputwin.c
2015-02-04 22:22:18 +00:00
James Booth
b2536e91c0
Fixed input timout returning EINVAL on OSX
2015-02-04 01:04:56 +00:00
James Booth
7ab301869f
Moved readline startup hook
2015-02-03 23:27:06 +00:00
James Booth
8b58eb68d3
Tidied inputwin.c
2015-02-03 23:07:15 +00:00
James Booth
af345b6700
Updated navigation help
2015-02-03 22:24:47 +00:00
James Booth
82ddbf332d
Added OSX readline keyseq bindings
2015-02-03 21:38:48 +00:00
James Booth
b76501f0bc
Removed mbstate_t use
2015-02-03 21:08:34 +00:00
James Booth
836fdd2eb1
Remove state passed to wide char len check
2015-02-03 21:04:51 +00:00
James Booth
1c157b04df
Fixed arrow keys with debug
2015-02-02 23:17:47 +00:00
James Booth
5954c0d2fe
Readline osx compatibility
2015-02-02 21:27:58 +00:00
James Booth
51a5426006
Added include for timeval struct
2015-02-01 21:01:00 +00:00
James Booth
372cf822cb
Merge branch 'master' into readline
2015-02-01 20:47:28 +00:00
James Booth
702ea0b5f3
Use getc wrapper for autocomplete reset check
2015-02-01 20:14:07 +00:00
James Booth
a9af8785a7
Added more ignore characters to handle activity
2015-02-01 00:35:42 +00:00
James Booth
e8b6c505cb
Handle word wrapping wide chars
2015-02-01 00:14:11 +00:00
James Booth
a19c0a5989
Added scroll handler
2015-01-31 22:29:44 +00:00
James Booth
84688c063e
Removed commented code, renamed win switch handlers
2015-01-31 22:12:27 +00:00
James Booth
baa122e7dc
Added function key bindings
2015-01-31 22:08:00 +00:00
James Booth
28dd545877
Added paging handlers
2015-01-31 22:00:22 +00:00
James Booth
e6f27de552
Added SIGWINCH handler
2015-01-31 18:02:42 +00:00
James Booth
fe10f2b2e3
Clear autocompleters on printable chars
2015-01-31 16:51:09 +00:00
James Booth
2b11baa564
Added readline tab handler
2015-01-31 01:58:15 +00:00
James Booth
b3448eb265
Moved input blocking code to inputwin.c
2015-01-31 01:11:41 +00:00
James Booth
e161337b7f
Debug input block
2015-01-31 00:31:08 +00:00
James Booth
f94b6ef0a2
Added idle and activity handlers
2015-01-31 00:20:25 +00:00
James Booth
1cf5592b1f
Removed unused variables
2015-01-30 23:46:34 +00:00
James Booth
784a2ea862
Removed commented code
2015-01-30 23:44:17 +00:00
James Booth
a9ed64911d
Removed history and various key handlers
2015-01-30 23:42:51 +00:00
James Booth
83bd207316
Moved readline code to inputwin.c
2015-01-30 23:28:02 +00:00
James Booth
351ff752a7
Renamed command group presence->presences to avoid clash
2015-01-28 20:35:00 +00:00
Will Song
7f436d614b
use custom format string for time preference
2015-01-27 19:55:16 -06:00
James Booth
9800a46adb
Fixed compile error when no OTR support
2015-01-28 00:04:37 +00:00
James Booth
2cdbfc7eb7
Added gnu readline
2015-01-27 22:13:09 +00:00
James Booth
25d31101bf
Added key insert tests, extracted key_ctrl_left handler
2015-01-20 23:02:04 +00:00
James Booth
2ed78fe5af
Extracted keyhandler for printable characters
2015-01-20 00:09:47 +00:00
James Booth
0e8092afef
Inlined static functions in inputwin
2015-01-19 20:51:41 +00:00
James Booth
9ecdb39433
Refactor inputwin.c
2015-01-18 22:55:51 +00:00
James Booth
8954adc620
Handle wide chars for arrow keys and backspace
2015-01-18 19:55:48 +00:00
James Booth
89260280d1
Fix backspace for utf8 wide chars
2015-01-17 22:03:22 +00:00
James Booth
ba89297382
Added utf8_display_len
2015-01-17 21:09:40 +00:00
James Booth
4ac11ddcd6
Merge branch 'master' into inp-utf8
2015-01-16 23:39:34 +00:00
James Booth
036d13b80c
Removed debug
2015-01-16 23:38:21 +00:00
James Booth
18f05c59ee
Fixed merge
2015-01-16 23:35:31 +00:00
James Booth
8805fd5c38
Merge branch 'master' into inp-utf8
...
Conflicts:
src/ui/inputwin.c
2015-01-16 23:34:32 +00:00
James Booth
e1db13ea2b
Renamed input variables
2015-01-16 23:32:57 +00:00
James Booth
972d524fdc
Merge branch 'master' into inp-utf8
2015-01-16 23:12:00 +00:00
James Booth
4c6cfcdca0
Simplified autocompleters and command history
2015-01-16 22:50:40 +00:00
James Booth
9fad03af74
Merge branch 'master' into inp-utf8
...
Conflicts:
src/ui/inputwin.c
2015-01-16 00:41:02 +00:00
James Booth
7a5deca77c
Removed static function arguments in inputwin.c
2015-01-16 00:36:42 +00:00
James Booth
f0ffc31cd6
Renamed inp_get_char->inp_read
2015-01-15 23:46:54 +00:00
James Booth
9083bfdb5c
Merge branch 'master' into inp-utf8
...
Conflicts:
src/ui/inputwin.c
2015-01-15 23:45:18 +00:00
James Booth
51105720ab
Moved input line to inputwin
2015-01-15 23:43:22 +00:00
James Booth
bb11dc0973
Merge branch 'master' into inp-utf8
...
Conflicts:
src/ui/inputwin.c
2015-01-15 23:31:06 +00:00
James Booth
65fc4bcd9f
Pass pointers to inp_get_char
2015-01-15 23:29:48 +00:00
James Booth
22e9be4a5f
Renamed input->line
2015-01-15 22:55:54 +00:00
James Booth
e326aaa84f
Merge branch 'master' into inp-utf8
...
Conflicts:
src/ui/inputwin.c
2015-01-15 22:53:50 +00:00
James Booth
ad896ef201
Moved input size to inputwin
2015-01-15 22:51:05 +00:00
James Booth
173a3a82bb
Merge branch 'master' into inp-utf8
2015-01-15 22:25:15 +00:00
James Booth
82c986775d
Moved input to ui module, renamed ui_readline
2015-01-15 22:21:24 +00:00
James Booth
a7dff070a4
Merge branch 'master' into inp-utf8
2015-01-15 13:31:13 +00:00
James Booth
5be47cc5a9
Moved input size variable to ui module
2015-01-15 13:22:54 +00:00
James Booth
6beeec03d4
Merge branch 'master' into inp-utf8
2015-01-15 01:31:23 +00:00
James Booth
40f91de7a3
Moved string termination out of main loop
2015-01-15 01:27:24 +00:00
James Booth
aec1484806
Removed ch from main loop
2015-01-15 01:21:24 +00:00
James Booth
78bfd8da40
Merge branch 'master' into inp-utf8
2015-01-15 01:06:33 +00:00
James Booth
0007e3569e
Moved remimder notification code out of main loop
2015-01-15 00:42:40 +00:00
James Booth
17b966adb4
Merge branch 'master' into inp-utf8
2015-01-15 00:19:22 +00:00
James Booth
97aebb6113
Moved win_handle_page to window module
2015-01-15 00:14:12 +00:00
James Booth
db9a2cf0ab
Inlined ui_handle_special_keys
2015-01-15 00:02:42 +00:00
James Booth
3984c660b6
Removed result from main loop
2015-01-14 23:57:45 +00:00
James Booth
a6160d52c6
Pass value rather than address of ch during main loop
2015-01-14 23:54:46 +00:00
James Booth
41b2b1c51f
Calculate input win display size includes wide characters
2015-01-14 23:17:10 +00:00
James Booth
274d6e843e
Show eval_password if exists on /account show
2015-01-13 00:51:21 +00:00
James Booth
a39ac6cd07
Merge remote-tracking branch 'savar/dynamic_input_block'
2015-01-12 23:41:15 +00:00
Simon Effenberg
34148e2101
adding preference option for dynamic input blocking
...
/inpblock is now having subcommands 'timeout' and 'dynamic'
with:
/inpblock timeout <milliseconds>
and
/inpblock dynamic <on|off>
Defaults are:
/inpblock timeout 500
/inpblock dynamic on
To get the old behavior specify:
/inpblock timeout 20
/inpblock dynamic off
The dynamic mode will block incrementally after something
should be written to the window or after a key was pressed. So pressing
a key would set the timeout to 0ms and after 10 timeouts to the next
bigger one.
Example (with dynamic mode on):
"/inpblock timeout 50"
timeout series:
10x 0ms
10x 10ms (0ms + 10 times since last keypress)
10x 30ms (10ms + 20 times since last keypress)
*x50ms until next key was pressed or
2015-01-12 11:32:32 +01:00
Simon Effenberg
c7ff3255b8
trying to block (and save cpu power) more dynamically
...
instead of blocking too long if inpblock is set to something like
500ms the input timeout is not set directly to inpblock but is
increasing dynamically from 0 to inpblock by a little algorithm
FIXME: the call from the win_* method to the ui_input_* method looks
wrong.. this causes a cross reference which shouldn't be
2015-01-12 08:08:07 +01:00
James Booth
0d0ed9b7ca
Merge remote-tracking branch 'incertia/exit-title'
...
Conflicts:
src/command/command.c
src/config/preferences.c
src/config/preferences.h
2015-01-12 01:12:42 +00:00
James Booth
c64484c6ed
Renamed titlebar preference
2015-01-12 00:43:42 +00:00
James Booth
13f0166aa0
Only show UI events for chat states when in session
2015-01-11 23:04:22 +00:00
James Booth
c16871d143
Added remaining chat states
2015-01-11 20:20:17 +00:00
James Booth
965e82b350
Added resource override for chat sessions
2015-01-10 21:07:40 +00:00
James Booth
31c0f2ba78
Added preferences for showing resource in titlebar and messages
2015-01-10 19:10:10 +00:00
James Booth
c3ad3c0ba6
Show resource in titlebar and on each message
2015-01-10 18:35:59 +00:00
James Booth
3e1832b02e
Renamed resource -> resource_override
2015-01-10 18:17:10 +00:00
Will Song
e57fa1633a
add exit title preference to group and add command for setting the preference
2015-01-08 10:18:29 -06:00
James Booth
5e7d2f5f91
Removed chat states from chat_session module, WIP
2015-01-08 00:57:25 +00:00
James Booth
ab963499b5
Log instead of showing error message when chat recipient not found
2015-01-06 21:51:41 +00:00
James Booth
9cb0d52e7d
Added removal of chat sessions, only send gone when messages have been exchanged
2015-01-05 23:39:43 +00:00
James Booth
c2dccad818
Create chat session when no resource
2015-01-05 00:48:30 +00:00
James Booth
8326c8b3a2
Refactored chat session handling on sending message
2015-01-04 23:40:10 +00:00
Will Song
30610f7c48
Merge remote-tracking branch 'upstream/master' into exit-title
2015-01-03 12:41:42 -06:00
James Booth
f5e5315125
Updated CHANGELOG and navigation help
2015-01-03 02:35:19 +00:00
Will Song
832074de4a
fix tests (hopefully) and use /bin/echo to avoid use of builtin shell commands
2015-01-02 20:05:55 -06:00
James Booth
ad1460626f
Use /bin/echo for terminal window title
2015-01-03 01:35:27 +00:00
Will Song
e4e1d5e29b
now using system("echo -ne ...") to print title
2015-01-01 23:02:41 -06:00
James Booth
1a61b4faf4
Changed logging for writing to terminal window title
2015-01-01 22:51:52 +00:00
James Booth
0a7277a7f5
Merge branch 'master' into title
2015-01-01 22:47:09 +00:00
James Booth
ab75059703
Added correct Ctrl-U handling back
2015-01-01 22:44:21 +00:00
James Booth
0d25ae6d7e
Merge branch 'master' into title
2015-01-01 22:37:47 +00:00
James Booth
e7501e581c
Merge remote-tracking branch 'andrewgho/readline-style-keybindings'
2015-01-01 22:36:48 +00:00
Andrew Ho
7fac4bcc14
Add readline-style keybindings
2014-12-30 22:36:54 -08:00
James Booth
032baa78a1
Use system command to print window title
2014-12-31 01:48:52 +00:00
Will Song
3561ff4d97
set a nice title (instead of empty) on shutdown
2014-12-29 20:05:50 -06:00
James Booth
e7ddff61dc
Merge remote-tracking branch 'savar/master'
2014-12-29 16:04:21 +00:00
James Booth
10a3a3a675
Use events for chat sessions
2014-12-29 01:17:59 +00:00
James Booth
4be06c0ae2
Moved chat_session_set_sent from message.c module
2014-12-29 00:31:57 +00:00
Simon Effenberg
d987897c0b
fix idle calculation if not using LIBXSS
...
the inp_get_char was never returning ERR even without getting any input
so the idle timeout stuff was wasting CPU and wasn't working if LIBXSS
wasn't used.
2014-12-23 12:01:31 +01:00
James Booth
9d94ac5c63
Removed function pointers
2014-12-22 22:13:42 +00:00
James Booth
3cbeb7b483
Removed ui_current_set_otr
2014-12-22 00:37:06 +00:00
James Booth
bda98a416e
Removed ui_close_current
2014-12-22 00:34:56 +00:00
James Booth
1c71cf0037
Removed functions from windows.c
2014-12-22 00:28:03 +00:00
James Booth
86dc29d8e8
Removed functions from window.c
2014-12-22 00:01:43 +00:00
James Booth
d5dee1632d
Moved unread to window subtypes
2014-12-21 23:14:01 +00:00
James Booth
eef7f9cfd4
Show nick for title
2014-12-21 22:39:00 +00:00