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
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
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
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
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
372cf822cb
Merge branch 'master' into readline
2015-02-01 20:47:28 +00:00
James Booth
84688c063e
Removed commented code, renamed win switch handlers
2015-01-31 22:12:27 +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
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
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
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
2ed78fe5af
Extracted keyhandler for printable characters
2015-01-20 00:09:47 +00:00
James Booth
4c6cfcdca0
Simplified autocompleters and command history
2015-01-16 22:50:40 +00:00
James Booth
f0ffc31cd6
Renamed inp_get_char->inp_read
2015-01-15 23:46:54 +00:00
James Booth
51105720ab
Moved input line to inputwin
2015-01-15 23:43:22 +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
ad896ef201
Moved input size to inputwin
2015-01-15 22:51:05 +00:00
James Booth
82c986775d
Moved input to ui module, renamed ui_readline
2015-01-15 22:21:24 +00:00
James Booth
5be47cc5a9
Moved input size variable to ui module
2015-01-15 13:22:54 +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
0007e3569e
Moved remimder notification code out of main loop
2015-01-15 00:42:40 +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
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