1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-23 09:36:31 -05:00
Commit Graph

620 Commits

Author SHA1 Message Date
e6921a8ed1 Centralize customization in defines.h instead of Makefile + estruct.h. 2021-08-18 16:54:35 +08:00
d99b7fcbac Revise terminal interfaces. 2021-08-18 11:35:17 +08:00
5f3b42f448 Use gcc predefined in conditional compilation (__CYGWIN__, __SIZEOF_WCHAR_T__). 2021-08-18 09:37:47 +08:00
18a0fbe57f Refactoring gtfun(), function evaluation core. 2021-08-16 17:18:51 +08:00
2758464a2e $viewtab = TRUE to visualize hardcoded tabs.
Refactor &lef and & mid with stronger assertion on utf8_to_unicode().
2021-08-16 11:05:24 +08:00
946c603a39 Merge branch 'viewmode' 2021-08-15 16:29:51 +08:00
731ea754bb Formatting and typos. 2021-08-15 16:05:31 +08:00
79c3dfa4d9 Refactoring display primitives. 2021-08-15 11:22:32 +08:00
109e330861 Consistent interface to deal with workaround on Cygwin when checking width of unicode character > 0xFFFF. 2021-08-15 09:41:35 +08:00
3bce7a4751 Rework file primitives. 2021-08-14 11:45:41 +08:00
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
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
665d9ca1da bindable: code review and minor refactoring. 2021-08-09 15:45:01 +08:00
720603ac8e bind: code review and minor refactoring.
basic: minor reformatting.
2021-08-09 15:24:33 +08:00
eaf516110f basic: code review and minor refactoring. 2021-08-09 12:06:07 +08:00
893e34b740 Remove obsolete terminal implementations. 2021-08-07 21:54:09 +08:00
5c65613f03 Replace compilation check by estruct.h header inclusion. 2021-08-07 21:46:58 +08:00
1fbb2fc565 Merge common implementation of case-region-lower and case-region-upper. 2021-08-07 21:34:13 +08:00
1cdc889f6f Fix regression on key command input for M-^X and ^X^X. 2021-08-07 13:46:14 +08:00
c55a72ad26 Use explicit buffer name as output for the script. 2021-08-07 10:29:23 +08:00
3551d2b8d1 Simplify Makefile by removing obsolete rules (lint, splint, sparse, tags). 2021-08-07 10:28:20 +08:00
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
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
27f30e48d2 Name pointer type to struct. 2021-07-31 15:28:32 +08:00
486d01297d Improve keyboard input of UTF-8. 2021-07-31 14:45:35 +08:00
d48120a557 Improve support for Unicode in describe-key. 2021-07-31 12:35:39 +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
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
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
6f7d89b1ac Fix regression: checking abort when prompting for command name. 2021-07-21 08:16:11 +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
695b5d37da Tag most view mode incompatible functions in function names table. 2021-07-19 20:50:32 +08:00
f0fe1ec194 Avoid extra empty line at EOF. 2021-07-19 16:37:57 +08:00
00b85fab9f Fix warning triggered by enforcing const on function names table. 2021-07-19 16:36:14 +08:00
92c9208cd4 start tagging uEMACS functions that are not compatible with view mode. 2021-07-19 15:39:00 +08:00
3889f1709c Avoid inserting extra NL while doing fill/justify paragraph at EOF. 2021-07-18 11:15:18 +08:00
8540adea9e Fix: insert space when justifying paragraph and justification starts on a space. 2021-07-18 10:02:49 +08:00
a00f12b614 Merge implementations of fill-paragraph and justify-paragraph. 2021-07-17 10:57:10 +08:00
d7649cf554 Rework previous-paragraph, next-paragraph, fill-paragraph, justify-paragraph. 2021-07-16 12:24:13 +08:00
8a28c7ae77 Update README.md according to latest Makefile changes. 2021-07-14 12:32:27 +08:00
d067e2dc0d make source and make depend implicitly done. 2021-07-14 10:10:58 +08:00
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