Commit Graph

660 Commits

Author SHA1 Message Date
Renaud b4d69118f5 Revise header files formatting.
Finish tagging BBINDABLE functions.
Modify forward-character to handle combined Unicode.
Bump up version number and set default program name as 'ue'.
2021-08-13 11:06:58 +08:00
Renaud 50b727bf7f Bindable functions take a boolean as flag.
Emphasize which one always return TRUE.
Use mloutfail() to introduce consistency when a function fails with error message.
2021-08-11 17:02:19 +08:00
Renaud 665d9ca1da bindable: code review and minor refactoring. 2021-08-09 15:45:01 +08:00
Renaud 720603ac8e bind: code review and minor refactoring.
basic: minor reformatting.
2021-08-09 15:24:33 +08:00
Renaud eaf516110f basic: code review and minor refactoring. 2021-08-09 12:06:07 +08:00
Renaud 893e34b740 Remove obsolete terminal implementations. 2021-08-07 21:54:09 +08:00
Renaud 5c65613f03 Replace compilation check by estruct.h header inclusion. 2021-08-07 21:46:58 +08:00
Renaud 1fbb2fc565 Merge common implementation of case-region-lower and case-region-upper. 2021-08-07 21:34:13 +08:00
Renaud 1cdc889f6f Fix regression on key command input for M-^X and ^X^X. 2021-08-07 13:46:14 +08:00
Renaud c55a72ad26 Use explicit buffer name as output for the script. 2021-08-07 10:29:23 +08:00
Renaud 3551d2b8d1 Simplify Makefile by removing obsolete rules (lint, splint, sparse, tags). 2021-08-07 10:28:20 +08:00
Renaud 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
Renaud 5002897705 Rewrite keycode command input from command line according to terminal sequence handling. 2021-08-05 12:09:21 +08:00
Renaud 7f3f498f3f Rewrite terminal sequence handling while getting key sequence: getcmd(). 2021-08-04 10:54:39 +08:00
Renaud d890880a52 Revise bindable functions usage of struct to named types. 2021-08-03 13:37:06 +08:00
Renaud 7730a4e730 Improve handling of UTF-8 interactive input of strings. 2021-08-01 15:07:06 +08:00
Renaud 27f30e48d2 Name pointer type to struct. 2021-07-31 15:28:32 +08:00
Renaud 486d01297d Improve keyboard input of UTF-8. 2021-07-31 14:45:35 +08:00
Renaud d48120a557 Improve support for Unicode in describe-key. 2021-07-31 12:35:39 +08:00
Renaud c4fab606d1 Revise keycode encoding.
Gather APROP and CFENCE conditional code.
2021-07-30 16:24:52 +08:00
Renaud 22bbd0417c Revise types for names and keys bindings. 2021-07-30 09:30:12 +08:00
Renaud 735aefc166 Manage key binding table dynamically.
Avoid deleting or binding to active prefix keys.
2021-07-24 16:34:54 +08:00
Renaud ba1bfcd0db Fix filename completion after prompt adaptation. 2021-07-24 13:57:51 +08:00
Renaud 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
Renaud f30ef38bc8 Merge name to function and key code to function table initialization. 2021-07-23 10:47:58 +08:00
Renaud 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
Renaud 6f7d89b1ac Fix regression: checking abort when prompting for command name. 2021-07-21 08:16:11 +08:00
Renaud 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
Renaud 4f90e847f8 Tag uEMACS functions using first character of name string. 2021-07-20 11:24:32 +08:00
Renaud 695b5d37da Tag most view mode incompatible functions in function names table. 2021-07-19 20:50:32 +08:00
Renaud f0fe1ec194 Avoid extra empty line at EOF. 2021-07-19 16:37:57 +08:00
Renaud 00b85fab9f Fix warning triggered by enforcing const on function names table. 2021-07-19 16:36:14 +08:00
Renaud 92c9208cd4 start tagging uEMACS functions that are not compatible with view mode. 2021-07-19 15:39:00 +08:00
Renaud 3889f1709c Avoid inserting extra NL while doing fill/justify paragraph at EOF. 2021-07-18 11:15:18 +08:00
Renaud 8540adea9e Fix: insert space when justifying paragraph and justification starts on a space. 2021-07-18 10:02:49 +08:00
Renaud a00f12b614 Merge implementations of fill-paragraph and justify-paragraph. 2021-07-17 10:57:10 +08:00
Renaud d7649cf554 Rework previous-paragraph, next-paragraph, fill-paragraph, justify-paragraph. 2021-07-16 12:24:13 +08:00
Renaud 8a28c7ae77 Update README.md according to latest Makefile changes. 2021-07-14 12:32:27 +08:00
Renaud d067e2dc0d make source and make depend implicitly done. 2021-07-14 10:10:58 +08:00
Renaud eceff997c7 Extend maximum word length from 127 to 256 when doing paragraph justification (use case: justifying mark down with URL longer than 127). 2021-07-05 11:02:34 +08:00
Renaud 2babb94944 Review Link flags, striping output by default and omitting unnecessary defines. 2021-02-23 11:30:28 +08:00
Renaud b5047fac9b Remove MINGW32 partial implementation. 2020-11-03 10:37:39 +08:00
Renaud 2a47dcbbb4 Clean up Makefile to emphasize supported OS/Toolchain 2020-11-02 11:31:24 +08:00
Renaud 77aa2f156e Add MSYS2 64bit to the supported toolchains. 2020-10-30 14:12:45 +08:00
Renaud bc23d8e4cc Adjust maximum display size after testing with latest mintty on QHD monitor. 2020-08-14 10:53:55 +08:00
Renaud c6baa2ff77 String index (&sin) function returns unicode position. 2020-06-25 15:50:12 +08:00
Renaud cf823e2fad Clean up handling of unicode character width (non printable are displayed as \u) and insure modeline displays filename including double and zero width characters. 2020-06-24 16:38:03 +08:00
Renaud c926a94ac2 Draw maze wall with a unicode character mapped in linux console fonts. 2020-06-22 10:27:12 +08:00
Renaud 2f5d28a864 Improve UTF-8 display under NetBSD. 2020-06-20 14:25:53 +08:00
Renaud 4847d8c589 Merge NetBSD adaptation. 2020-06-16 14:09:44 +08:00