Rob Gowin
737fee5323
Changes to compile on macOS. ( #2 )
...
defines.h:
Use (defined(__APPLE__) && defined(__MACH__)) to
detect macOS, as suggested by https://stackoverflow.com/questions/7063303/macro-unix-not-defined-in-macos-x .
Combined with __NetBSD__ to set BSD=1 and POSIX=1.
main.c:
Include <unistd.h> to pick up sleep() declaration.
Co-authored-by: Rob Gowin <rob.gowin@gmail.com>
2022-08-24 10:28:13 +08:00
ca23e6c394
Ignore generated dependencies.
2022-03-03 07:40:31 +08:00
f2c53b5b1f
Reviewed dependencies generation.
2022-02-05 10:56:12 +08:00
2befa53c3a
Merge branch 'unicode'
2021-09-18 09:12:27 +08:00
4704d6a352
Remove coverity badge (build is stuck in queue limbo).
...
Update Unicode support status.
2021-09-16 10:02:09 +08:00
2e69f9410f
Fix position of cursor to avoid extended display of line.
2021-09-16 09:46:02 +08:00
8726e5b8aa
Clean up startup and help files.
2021-09-16 09:44:59 +08:00
0c584e5490
Revise window flagging on line change.
...
Evaluation of Value of kill buffer and current line.
2021-09-15 13:15:31 +08:00
b244adf23a
Revise fence handling in CMODE.
2021-09-15 11:55:23 +08:00
860bace701
Revise pipe-command.
2021-09-15 11:51:12 +08:00
991283b912
Make sure directive keywords are followed by EOS, comment or space separator.
2021-09-13 12:33:32 +08:00
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
8555d07437
Revise command line parsing: making sure something; is token something followed by ; (a comment).
2021-09-11 12:38:56 +08:00
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
81d6f76c78
Test maze scripts using subroutines instead of stored procedures. (Avoid leftover buffers after execution).
2021-09-08 11:05:51 +08:00
296f0af96c
!gosub
...
Use generic list deletion API.
Remove lines at parsing time.
2021-09-08 10:58:53 +08:00
2674d40d4c
Introduce generic list deletion API.
2021-09-08 10:54:07 +08:00
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
95118b61c8
Revise maze test scripts.
2021-09-01 09:40:34 +08:00
60a56b74b0
Use lines instead of block Unicode characters.(poor rendering in some environments).
2021-08-31 12:57:37 +08:00
64eb0d5deb
Use explicit constants for smallest size of display rows and columns.
2021-08-31 12:55:10 +08:00
f96ace997f
Fix terminal resizing when new postion of last modeline overlap top row of last window.
2021-08-30 18:09:58 +08:00
f010d63a95
Fix initialization of screen margin and scroll size.
2021-08-30 13:16:46 +08:00
0cb1799786
Revise refresh of extended lines.
2021-08-30 12:30:29 +08:00
0a8c28bc07
Revise display update and modeline, remove statis customization (MEMMAP, REVSTA).
2021-08-28 10:33:36 +08:00
699dac8b27
Allocate screen memory on change of window size instead of one static huge allocation.
2021-08-24 16:00:32 +08:00
e2f7cc0566
Sanity check with customization CLEAN, RAMSIZE, RAMSHOW.
2021-08-24 12:17:40 +08:00
a370d748c4
Revise line primitives linstr() and lover()
2021-08-22 12:35:39 +08:00
62e1109802
Relocate display specific MEMMAP customization.
2021-08-22 10:53:02 +08:00
bfb78e5382
Revise line primitives lalloc() and lnewline().
2021-08-22 10:51:46 +08:00
ab34471d4d
Fix &right to handle a count of Unicode characters.
2021-08-21 17:21:18 +08:00
cd2f848e0a
Fix twiddle movement and at EOL with single Unicode.
2021-08-21 09:36:41 +08:00
3d83877086
combined Unicode: forward-character, backward-character, delete-next-character, delete-previous-character.
2021-08-21 09:34:06 +08:00
38aa6b97c8
Use more portable character for visible tabs due to mismatched width on Ubuntu.
2021-08-19 10:56:13 +08:00
679d8d098b
Temporary fix for WSL
2021-08-19 10:07:13 +08:00
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