1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-24 01:56:26 -05:00
Commit Graph

77 Commits

Author SHA1 Message Date
4b45ca231e Fix regression: CSI character instead of ^{[ in terminal special key sequence.
Remove terminal special key conditional compilation.
2021-08-06 15:21:00 +08:00
5002897705 Rewrite keycode command input from command line according to terminal sequence handling. 2021-08-05 12:09:21 +08:00
7f3f498f3f Rewrite terminal sequence handling while getting key sequence: getcmd(). 2021-08-04 10:54:39 +08:00
7730a4e730 Improve handling of UTF-8 interactive input of strings. 2021-08-01 15:07:06 +08:00
486d01297d Improve keyboard input of UTF-8. 2021-07-31 14:45:35 +08:00
c4fab606d1 Revise keycode encoding.
Gather APROP and CFENCE conditional code.
2021-07-30 16:24:52 +08:00
22bbd0417c Revise types for names and keys bindings. 2021-07-30 09:30:12 +08:00
ba1bfcd0db Fix filename completion after prompt adaptation. 2021-07-24 13:57:51 +08:00
1aadb53956 Remove function pointer from key to bindable table.
Emphasize bindable functions in code.
Use function name based prompts.
2021-07-24 08:58:23 +08:00
521d96fbda Use binary search for name to function lookup. Fix name mapping table order. Rework test scripts. 2021-07-21 16:40:36 +08:00
c093b7064b Cache the result of function to name mapping lookup when doing keycode to function mapping lookup. 2021-07-20 17:34:35 +08:00
4f90e847f8 Tag uEMACS functions using first character of name string. 2021-07-20 11:24:32 +08:00
92c9208cd4 start tagging uEMACS functions that are not compatible with view mode. 2021-07-19 15:39:00 +08:00
78a7a3ba4e Improve support of utf8 in filename completion and key in of command arguments. 2019-08-12 21:41:51 +08:00
81431d2d76 Map DEL (0x7F) consistently to CTL-? so that it can be bound with bind-to-key command.
Revise Y/N prompt and function name keying.
2019-08-09 20:47:05 +08:00
08b75d677e Handle DEL consistently in display and input. 2019-08-08 10:55:17 +08:00
3e12643077 Refactor getstring to be more robust when doing filename completion with Unicode characters. 2019-08-07 16:51:00 +08:00
bc11a0c913 Review system() dependencies and clean up obsolete function prototypes in spawn interface. 2019-08-07 10:19:47 +08:00
9c1ec4fdf8 Review macroes for character classification. 2019-07-25 19:13:40 +08:00
e11ed9187f Remove V7, MSC, TURBO conditional code. Partial remove of MSDOS. 2019-07-23 21:04:50 +08:00
1b2307e056 Partial fix of issues when using unicode sequence with describe-key, search-forward, query-replace-string. 2016-04-09 11:46:40 +08:00
187b0ce4a3 Review echo of input on message line. 2016-03-12 12:58:05 +08:00
45f138ac07 Remove mlreply after transition to replacement newmlarg. 2015-10-05 14:15:24 +08:00
7f5f0dd7b3 Introduce newmlarg as alternative to mlreply.
Rewrite gotoline accordingly.
2015-09-29 10:43:19 +08:00
198980b81f Review newmlargt interface and obsolete mlreplyt. 2015-09-29 10:25:36 +08:00
ce4d105794 Allow either dynamic or pre-defined input size from message line.
Insure to capture ABORT status when doing input from message line.
2015-09-28 17:46:00 +08:00
cbbd860bdc Rework insert-string for dynamic token input. 2015-09-27 22:13:20 +08:00
c3f4666ff3 Review usage of mlreply/ macarg/ gettokval according to execution context. 2015-09-01 11:29:08 +08:00
8d412dc388 Review file scope of functions dealing with token extraction and token evaluation. 2015-08-25 16:34:15 +08:00
51967939b8 Harmonize usage of mlreply, mlreplyt and nextarg based on actual needs (input always terminated either on meta or newline characters). 2015-08-25 09:17:41 +08:00
2522a858c1 Fix CID#39937 Copy into fixed size buffer. 2015-07-17 10:44:35 +08:00
66649313ae Insure file descriptor is properly closed when doing filename completion. 2015-03-22 22:02:16 +08:00
e556f7714b Avoid calling mlwrite with computed string as format parameter. 2015-02-15 17:32:13 +08:00
fbe92a1f52 Only support UTF-8 keyboard sequence on Cygwin.
FIX: Missing on  Linux, ue --help prints progname set in Makefile.
2015-02-14 10:21:50 +08:00
703c472f0b Review message line outputs. 2015-02-13 21:48:05 +08:00
cbb6a26e33 Revise sanity check on UTF-8 keyboard input sequence. 2015-02-10 18:09:59 +08:00
5401aec485 Accept UTF-8 sequence as keyboard input. 2015-02-10 17:07:43 +08:00
7da7916b28 describe-key displays keycode in hexadecimal.
mlwrite assume parameter is unsigned int when doing %x format.
ostring output bytes > 0x7F as unsigned char.
2015-02-09 19:27:49 +08:00
5fda2735a5 Do not use a temporary buffer to prompt user in mlyesno, thus avoiding problem with '%' or overflow. 2015-01-16 17:55:23 +08:00
b596a3a09c macarg takes buffer length as parameter instead of assuming all buffer have NSTRING size. 2015-01-08 12:46:46 +08:00
20d21435e0 Rebuild on Linux.
Remove warnings on system and write call without return code check.
2015-01-02 14:20:07 +08:00
3197080cb1 Introduce spat_t as search pattern type and reduce need for NPAT as pattern length constant. 2014-12-22 20:57:26 +08:00
2fe2d9c153 Finish move of globals into input and random.
Remove globals.
2014-12-22 17:43:53 +08:00
f03b7c97e3 Move globals variables to related modules. 2014-12-22 17:42:27 +08:00
80256bdd6d Remove edef.h, obsoleted by globals.h. 2014-12-22 17:41:40 +08:00
7573dcd226 Move edef.h out of bind.h and buffer.h out of edef.h. 2014-12-22 17:41:18 +08:00
dc3e8984ab Move standard includes of stdlib and string from edef.h. 2014-12-22 17:41:07 +08:00
d6e3df6ff3 Move global window pointers to window and global keyboard variables to input. 2014-12-22 17:40:38 +08:00
63e2f82211 Move global variable to module scope (display, exec, input). 2014-12-22 17:38:48 +08:00
e2035f0d92 Move global variables to public input scope. 2014-12-22 17:37:06 +08:00