1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-22 17:16:34 -05:00
Commit Graph

424 Commits

Author SHA1 Message Date
7da7916b28 describe-key displays keycode in hexadecimal.
mlwrite assume parameter is unsigned int when doing %x format.
ostring output bytes > 0x7F as unsigned char.
2015-02-09 19:27:49 +08:00
3f1ac2596c Fix getccol reporting when dealing with characters in range 0x80 .. 0xA0. 2015-02-09 13:31:39 +08:00
135238106c backward char movement consistent with mixed byte/UTF-8 content. 2015-02-08 19:11:26 +08:00
356a003194 buffer-position reports character under cursor according to type (either 0xXX or \uXXXX). 2015-02-08 14:47:56 +08:00
bdbd2d5437 Assert that unicode are limited to 0-10FFFF. 2015-02-08 14:26:07 +08:00
2cef071492 Insure correct UTF-8 encoding: asc( chr( 0x800)) == 0x800.
buffer-position displays unicode value of character under cursor instead of first byte of unicode sequence.
2015-02-06 13:20:51 +08:00
4cbf1e9ae1 Review cursor movement in presence of mixed latin1/unicode encoding. 2015-02-04 12:37:57 +08:00
a2d1b54c61 README.md edited online with Bitbucket 2015-02-03 05:08:17 +00:00
de04424e51 Align scope and parameter type for linsert and is_beginning_utf8. 2015-02-02 19:44:35 +08:00
83b323272d Put back the Micro in uEMACS both in status line and version string (ue --version). 2015-02-02 19:20:48 +08:00
91455a2e5a Insure &asc &chr 128 equals 128.
Insert-string can't handle character code > 0xFF.
2015-02-02 12:50:52 +08:00
7c74bfdc1a Align cursor movement according to character representation (^c and \nn). 2015-01-31 07:57:26 +08:00
a6a8936b8d Move unsupported OS files to fridge. 2015-01-29 22:08:34 +08:00
ebe4b9b2cc Use standard exit code as parameter to exit() in bindable. 2015-01-29 21:35:47 +08:00
639d912c88 Display correct mode on first empty buffer. 2015-01-27 20:22:47 +08:00
bc90c36603 Use temporary buffer in nextarg to avoid issue with strncpy under Linux. 2015-01-26 20:05:02 +08:00
fe1eaf7348 Insure message line is correct after startup script execution and command line arguments processed. 2015-01-23 22:13:21 +08:00
7018880551 Review/Retest mlerase when erase to eol is not available. 2015-01-23 13:13:07 +08:00
5a235ecf8c Insure that last character of the message line is displayed. 2015-01-23 12:13:52 +08:00
09d5907f9e Insure writing on message line does not exceed terminal size. 2015-01-22 20:26:22 +08:00
daa6395128 Minor review of mlerase in relationship to usage in mlwrite. 2015-01-22 17:36:11 +08:00
15ae2d4135 Transition from logger/logwrite/mlwrite to writestr/writefmt. 2015-01-21 21:30:01 +08:00
891f4c3238 Restrict scope of mlputs to display. 2015-01-21 17:16:43 +08:00
b101f703c0 Insure consistent use of TTbeep for bell (instead of alternative TTputc( BEL)). 2015-01-21 14:48:03 +08:00
fbfaa29497 Add %B in string format of mlwrite to ring a bell. 2015-01-21 14:12:24 +08:00
4ca3f53385 Make use of logger to replace sequences of TTbeep-mlwrite-return. 2015-01-20 22:34:28 +08:00
36f24332c2 Review mkupper and ltos in eval. 2015-01-17 14:45:50 +08:00
f60e3fbc9f Review startup and associated prototypes. 2015-01-16 21:12:27 +08:00
5fda2735a5 Do not use a temporary buffer to prompt user in mlyesno, thus avoiding problem with '%' or overflow. 2015-01-16 17:55:23 +08:00
434c9ba7ab Review mlforce to avoid necessity to double '%' in input string, thus avoiding potential buffer overflow in caller functions (mdbugout and write-message). 2015-01-15 17:57:12 +08:00
01a84a3ac0 Insure debug output fits inside terminal and buffer width. 2015-01-15 16:46:45 +08:00
e3c8805260 Unify macro debugging code in eval and exec. 2015-01-15 14:36:19 +08:00
259de639e4 Limit scope of cbuf to exec. 2015-01-14 17:16:33 +08:00
84919039a5 Hide details of token extraction inside exec. 2015-01-13 16:42:14 +08:00
a634ae5087 Retest gflags and limit implementation details to eval. 2015-01-10 16:23:19 +08:00
f8c405f501 Limit visibility of token types to eval. 2015-01-09 17:53:29 +08:00
63776bb3f8 Restrict to local scope some internal funtions of eval. 2015-01-09 16:00:11 +08:00
3ce31669ae Clean up eval: local scope for gtfun, gtenv, gtusr. Review initial allocation of result buffer returned by gtfun. 2015-01-09 15:35:03 +08:00
57e5338ebd Insure &low and &upp don't point to the stack. 2015-01-09 09:46:03 +08:00
4070a97fc9 Review buffer usage in & function evaluation. 2015-01-08 17:36:25 +08:00
a6669903b2 Double maximum size of a user variable (128 -> 256). 2015-01-08 14:57:02 +08:00
8ddc8676ef More dynamic argument string size as parameters to predefined functions. 2015-01-08 14:16:15 +08:00
b596a3a09c macarg takes buffer length as parameter instead of assuming all buffer have NSTRING size. 2015-01-08 12:46:46 +08:00
d2d3581e74 Redimension result char array when doing &lef, &mid, &rig. 2015-01-07 14:47:13 +08:00
5756354dd5 Redimension result char array when doing &cat.
Intermediary step in supporting longer string retuns in functions.
2015-01-07 14:11:58 +08:00
534da43d08 Insure strings created by &lef and &mid are properly terminated. 2015-01-06 17:55:11 +08:00
e096092d5b Adjust MAXROW/MAXCOL to values aligned with 1920x1080 landscape resolution. If smaller font or portrait, limit to 400x150 (colxrow). 2015-01-05 16:54:21 +08:00
48ea9279a6 Allocate video buffers based on MAXROW/MAXCOL even if os window is smaller at initialization. 2015-01-02 20:26:34 +08:00
923d7bdc8e Insure resizing screen commands are aligned with OS window sizes. 2015-01-02 17:50:31 +08:00
c64d4ad381 README.md edited online with Bitbucket 2015-01-02 06:25:15 +00:00