1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-20 16:22:38 -05:00
Commit Graph

46 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
d890880a52 Revise bindable functions usage of struct to named types. 2021-08-03 13:37:06 +08:00
7730a4e730 Improve handling of UTF-8 interactive input of strings. 2021-08-01 15:07:06 +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
735aefc166 Manage key binding table dynamically.
Avoid deleting or binding to active prefix keys.
2021-07-24 16:34:54 +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
f30ef38bc8 Merge name to function and key code to function table initialization. 2021-07-23 10:47:58 +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
4f90e847f8 Tag uEMACS functions using first character of name string. 2021-07-20 11:24:32 +08:00
695b5d37da Tag most view mode incompatible functions in function names table. 2021-07-19 20:50:32 +08:00
92c9208cd4 start tagging uEMACS functions that are not compatible with view mode. 2021-07-19 15:39:00 +08:00
8c1a8f16bf Remove __hpux from conditional compilation. 2019-08-07 13:17:26 +08:00
7e71cf52a3 Review cursor move commands in basic. 2016-05-22 22:22:39 +08:00
f11dea468f Insure transpose-characters works with UTF8. 2016-05-20 20:42:37 +08:00
2b21a98e9c Review forwchar and backchar. 2016-05-19 21:27:26 +08:00
645a0d734b Remove encryption as implementation is too weak. 2016-03-23 21:11:05 +08:00
dc3e8984ab Move standard includes of stdlib and string from edef.h. 2014-12-22 17:41:07 +08:00
fb395c3f01 Cleanup encryption key setting by moving core to file. 2014-12-22 16:06:41 +08:00
c96138add5 remove left dependencies to main: bindable functions. 2014-12-22 15:47:33 +08:00
cae7222493 Clarify names interface (only used in bind and input). 2014-12-22 15:08:05 +08:00
b321dce49e Remove efunc as dependencies. 2014-12-22 15:06:48 +08:00
4e24edf715 Remove basic from efunc. 2014-12-22 15:06:17 +08:00
9c2c4b7635 Remove display from efunc. 2014-12-22 15:06:08 +08:00
77c9fd09ad Remove eval from efunc. 2014-12-22 15:05:48 +08:00
a61307aa59 Remove buffer from efunc. 2014-12-22 15:05:39 +08:00
7816f96508 Remove region from efunc. 2014-12-22 15:04:54 +08:00
b971f265fc Remove bind from efunc. 2014-12-22 15:04:46 +08:00
0b093b8228 Remove main from efunc. 2014-12-22 15:04:37 +08:00
dce5f2239c Remove window from efunc. 2014-12-22 15:04:27 +08:00
4f07526222 Remove word from efunc. 2014-12-22 15:04:19 +08:00
f1a0771bfc Remove random from efunc. 2014-12-22 15:04:10 +08:00
886adf1b69 Remove isearch from efunc. 2014-12-22 15:04:02 +08:00
1428d9e2aa Remove search from efunc. 2014-12-22 15:03:52 +08:00
4ab2e37ecb remove spawn from efunc. 2014-12-22 15:03:43 +08:00
7ede4aa6d8 remove exec from efunc. 2014-12-22 15:03:34 +08:00
ba277c5573 remove file from efunc. 2014-12-22 15:03:24 +08:00
f6780cb71b remove crypt from efunc, update dependencies. 2014-12-22 14:45:06 +08:00
Li Jie
1cf0fc1609 uemacs: add line.h in names.c to fix compiling error
I got following errors while compiling uemacs:

names.c:132: error: ‘insspace’ undeclared here (not in a function)
names.c:217: error: ‘yank’ undeclared here (not in a function)
make: *** [names.o] Error 1

It looks like names.c needs line.h for function declarations.

Signed-off-by: Li Jie <eltshanli@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-18 08:28:17 -08:00
Thiago Farina
b71ee14235 uemacs: Remove two completly unused functions (fnclabel and spal).
The implementation of these functions are doing anything at all at this moment.
So cleanup a bit the code by removing fnclabel and spal functions completly.

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-09-07 13:47:00 -07:00
Thiago Farina
bd635515a6 uemacs/efunc.h: Get rid of a duplicated exported type called "names".
This type is already exported in edef.h

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-29 08:15:23 -07:00
Yong Luk Stanley Elijah Goh
89fea23de5 uemacs: Compiles on Mac OS X.
Compiles on Mac OS X 10.6.4.

setmode() is renamed to setemode() to avoid conflict with OS X's unistd.h's
setmode().

Modify Makefile to enable the appropriate DEFINES to compile on Mac OS X.

Signed-off-by: Yong Luk Stanley Elijah Goh <stan@t0xt.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-24 10:55:02 -07:00
Thiago Farina
724c4efc5f uemacs: convert typedef struct NBIND to struct name_bind.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-07-04 20:14:34 -07:00
Linus Torvalds
686a9e74ed Clean up various compile warnings
Most of them were harmless: gcc not being smart enough to realize that
an uninitialized variable was never used if it wasn't initialized etc.

Some of them were name clashes ("crypt()" is a standard library
function, so rename it to "myencrypt()") etc.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-19 11:52:18 -08:00
Linus Torvalds
12cb79ceb4 Avoid various name clashes with curses and termcap headers
This allows us to include the proper headers, instead of declaring
things (badly) by hand.
2005-10-01 00:22:55 -07:00
Linus Torvalds
d5dc3160cf Lots of ANSI'fication and cleanups
Still tons of warnings with "-Wall", but now it's actually getting closer.

It even compiles again.
2005-09-30 22:52:45 -07:00