1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-25 10:36:34 -05:00
Commit Graph

106 Commits

Author SHA1 Message Date
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
62e1109802 Relocate display specific MEMMAP customization. 2021-08-22 10:53:02 +08:00
38aa6b97c8 Use more portable character for visible tabs due to mismatched width on Ubuntu. 2021-08-19 10:56:13 +08:00
e6921a8ed1 Centralize customization in defines.h instead of Makefile + estruct.h. 2021-08-18 16:54:35 +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
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
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
d48120a557 Improve support for Unicode in describe-key. 2021-07-31 12:35:39 +08:00
92c9208cd4 start tagging uEMACS functions that are not compatible with view mode. 2021-07-19 15:39:00 +08:00
cf823e2fad Clean up handling of unicode character width (non printable are displayed as \u) and insure modeline displays filename including double and zero width characters. 2020-06-24 16:38:03 +08:00
b0362969a3 Handle wide character display based on wcwidth implementation (UTF-16 ready). 2019-11-06 11:24:18 +08:00
e62af18798 Display UTF-8 on the modeline [buffer name, file name]. 2019-08-13 09:14:08 +08:00
52a386ed01 Refactor vt character output. 2019-08-08 15:21:53 +08:00
08b75d677e Handle DEL consistently in display and input. 2019-08-08 10:55:17 +08:00
3e12643077 Refactor getstring to be more robust when doing filename completion with Unicode characters. 2019-08-07 16:51:00 +08:00
b6c89d6eca Cleanup virtual terminal allocation code. 2017-06-01 13:02:47 +08:00
35f2184253 Insure that virtual terminal is always initialized with maximum size (MAXROW X MAXCOL) while current maximum size is inherited from actual terminal. 2017-05-29 16:27:46 +08:00
774475a4f6 Correct column position when displaying double width unicode character (assumed in range \u3000-\u3FFF). 2017-05-07 14:05:47 +08:00
1b2307e056 Partial fix of issues when using unicode sequence with describe-key, search-forward, query-replace-string. 2016-04-09 11:46:40 +08:00
f83ab08609 Review formatted string printing when '%' is at end of string.
Clean up unused IO return code.
2016-04-05 11:33:38 +08:00
9669fea1ce Review buffer list and mode line printing.
Increase version number as two buffer modes have been removed (Spell and Crypt).
2016-03-24 15:25:48 +08:00
187b0ce4a3 Review echo of input on message line. 2016-03-12 12:58:05 +08:00
c390cf2a3e Remove tab width constraints, was [2, 4, 8], now [1... 2016-02-24 13:22:54 +08:00
c1ebad4808 Always re-write entire line if reversed. This avoid minor redraw error with apropos.
Remove DEC Rainbow 100 specific code.
2015-10-22 10:10:39 +08:00
26f0f2eb8b Offer va_list version of mlwrite. 2015-06-12 17:05:43 +08:00
405d8683dc Tabs are rendered as spaces on message line. This fixes debug info when $debug is TRUE. 2015-06-12 13:42:23 +08:00
267c218b9b Only display program name and version on the bottom mode line. 2015-04-19 11:59:31 +08:00
4ac1913cd1 CID 39934: Fix potential buffer overflow. 2015-04-13 18:26:06 +08:00
2b8992350d Avoid unnecessary sprintf & buffers when updating message or status line. 2015-02-15 16:10:44 +08:00
bb44fc57ad Limit the scope of mlforce to eval. 2015-02-13 17:46:42 +08:00
2953531913 Insure that mlwrite( "") as same effect as mlerase(). 2015-02-13 15:33:21 +08:00
e13bc9ca7e Version 4.2
Consistent display of µEMACS as program name among
- ue --version
- on status bar
- insert-string $progname
- write-message $progname (FIX).
2015-02-12 13:15:45 +08:00
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
4cbf1e9ae1 Review cursor movement in presence of mixed latin1/unicode encoding. 2015-02-04 12:37:57 +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
7c74bfdc1a Align cursor movement according to character representation (^c and \nn). 2015-01-31 07:57:26 +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
891f4c3238 Restrict scope of mlputs to display. 2015-01-21 17:16:43 +08:00
fbfaa29497 Add %B in string format of mlwrite to ring a bell. 2015-01-21 14:12:24 +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