1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00
Commit Graph

101 Commits

Author SHA1 Message Date
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
82ddbf332d Added OSX readline keyseq bindings 2015-02-03 21:38:48 +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
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
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
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
41b2b1c51f Calculate input win display size includes wide characters 2015-01-14 23:17:10 +00: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