Commit Graph

639 Commits

Author SHA1 Message Date
Renaud 2674d40d4c Introduce generic list deletion API. 2021-09-08 10:54:07 +08:00
Renaud 0d0e2d86b2 Handle storing of procedure during parsing of buffer.
!store and :labels.
Aggressive parsing empty blank and comment lines.
2021-09-05 12:01:02 +08:00
Renaud 95118b61c8 Revise maze test scripts. 2021-09-01 09:40:34 +08:00
Renaud 60a56b74b0 Use lines instead of block Unicode characters.(poor rendering in some environments). 2021-08-31 12:57:37 +08:00
Renaud 64eb0d5deb Use explicit constants for smallest size of display rows and columns. 2021-08-31 12:55:10 +08:00
Renaud f96ace997f Fix terminal resizing when new postion of last modeline overlap top row of last window. 2021-08-30 18:09:58 +08:00
Renaud f010d63a95 Fix initialization of screen margin and scroll size. 2021-08-30 13:16:46 +08:00
Renaud 0cb1799786 Revise refresh of extended lines. 2021-08-30 12:30:29 +08:00
Renaud 0a8c28bc07 Revise display update and modeline, remove statis customization (MEMMAP, REVSTA). 2021-08-28 10:33:36 +08:00
Renaud 699dac8b27 Allocate screen memory on change of window size instead of one static huge allocation. 2021-08-24 16:00:32 +08:00
Renaud e2f7cc0566 Sanity check with customization CLEAN, RAMSIZE, RAMSHOW. 2021-08-24 12:17:40 +08:00
Renaud a370d748c4 Revise line primitives linstr() and lover() 2021-08-22 12:35:39 +08:00
Renaud 62e1109802 Relocate display specific MEMMAP customization. 2021-08-22 10:53:02 +08:00
Renaud bfb78e5382 Revise line primitives lalloc() and lnewline(). 2021-08-22 10:51:46 +08:00
Renaud ab34471d4d Fix &right to handle a count of Unicode characters. 2021-08-21 17:21:18 +08:00
Renaud cd2f848e0a Fix twiddle movement and at EOL with single Unicode. 2021-08-21 09:36:41 +08:00
Renaud 3d83877086 combined Unicode: forward-character, backward-character, delete-next-character, delete-previous-character. 2021-08-21 09:34:06 +08:00
Renaud 38aa6b97c8 Use more portable character for visible tabs due to mismatched width on Ubuntu. 2021-08-19 10:56:13 +08:00
Renaud 679d8d098b Temporary fix for WSL 2021-08-19 10:07:13 +08:00
Renaud e6921a8ed1 Centralize customization in defines.h instead of Makefile + estruct.h. 2021-08-18 16:54:35 +08:00
Renaud d99b7fcbac Revise terminal interfaces. 2021-08-18 11:35:17 +08:00
Renaud 5f3b42f448 Use gcc predefined in conditional compilation (__CYGWIN__, __SIZEOF_WCHAR_T__). 2021-08-18 09:37:47 +08:00
Renaud 18a0fbe57f Refactoring gtfun(), function evaluation core. 2021-08-16 17:18:51 +08:00
Renaud 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
Renaud 946c603a39 Merge branch 'viewmode' 2021-08-15 16:29:51 +08:00
Renaud 731ea754bb Formatting and typos. 2021-08-15 16:05:31 +08:00
Renaud 79c3dfa4d9 Refactoring display primitives. 2021-08-15 11:22:32 +08:00
Renaud 109e330861 Consistent interface to deal with workaround on Cygwin when checking width of unicode character > 0xFFFF. 2021-08-15 09:41:35 +08:00
Renaud 3bce7a4751 Rework file primitives. 2021-08-14 11:45:41 +08:00
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