Commit Graph

651 Commits

Author SHA1 Message Date
Renaud 4704d6a352 Remove coverity badge (build is stuck in queue limbo).
Update Unicode support status.
2021-09-16 10:02:09 +08:00
Renaud 2e69f9410f Fix position of cursor to avoid extended display of line. 2021-09-16 09:46:02 +08:00
Renaud 8726e5b8aa Clean up startup and help files. 2021-09-16 09:44:59 +08:00
Renaud 0c584e5490 Revise window flagging on line change.
Evaluation of Value of kill buffer and current line.
2021-09-15 13:15:31 +08:00
Renaud b244adf23a Revise fence handling in CMODE. 2021-09-15 11:55:23 +08:00
Renaud 860bace701 Revise pipe-command. 2021-09-15 11:51:12 +08:00
Renaud 991283b912 Make sure directive keywords are followed by EOS, comment or space separator. 2021-09-13 12:33:32 +08:00
Renaud eff9b64f1d Always refresh window on execution if buffer is displayed, not only on errors.
Insure dot is correct on final !return.
2021-09-12 09:34:28 +08:00
Renaud 8555d07437 Revise command line parsing: making sure something; is token something followed by ; (a comment). 2021-09-11 12:38:56 +08:00
Renaud 78e296afbb Revise directive parsing and processing.
Allow multi line comment using !store without procedure name (think about #if 0).
2021-09-10 10:10:19 +08:00
Renaud 81d6f76c78 Test maze scripts using subroutines instead of stored procedures. (Avoid leftover buffers after execution). 2021-09-08 11:05:51 +08:00
Renaud 296f0af96c !gosub
Use generic list deletion API.
Remove lines at parsing time.
2021-09-08 10:58:53 +08:00
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