| #
ee6c5161 |
| 19-Oct-2022 |
blymn <blymn@NetBSD.org> |
Fixes for lib/56926 amongst other things: - plod now correctly accounts for wide characters when plodding - use erase line when in color mode if the terminal has the capability - ensure that the C
Fixes for lib/56926 amongst other things: - plod now correctly accounts for wide characters when plodding - use erase line when in color mode if the terminal has the capability - ensure that the CA_CONTINUATION flag is applied consistently to the subsequent characters in a wide character. - fix a bunch of refresh bugs that caused inconsistent placement of wide characters.
show more ...
|
| #
75d2abae |
| 10-Apr-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comments and output/log messages.
|
| #
f1942931 |
| 25-Jan-2022 |
blymn <blymn@NetBSD.org> |
Correct (hopefully) the handling of wide characters.
* Remove the WCOL family of macros, these were "stealing" the upper bits of a character attribute to store the column width of a character. No
Correct (hopefully) the handling of wide characters.
* Remove the WCOL family of macros, these were "stealing" the upper bits of a character attribute to store the column width of a character. No warning was given about this in curses.h which meant it was easy to accidentally reuse the bits in use by the WCOL macros (we already did). Add couple of 16bit ints to the character structure iff HAVE_WCHAR is true to hold the display width and wide char related flags (just continuation at the moment) * Convert all instances of WCOL macros to just reference the column width in the char structure so it is not obfuscated. * Fix cursor positioning so placing a cursor in the middle of a wide char actually does just that. * Fix plod so it understands that if the cursor is going to be positioned in the middle of a wide char it cannot just reprint the char to get there. * Fix plodput so it correctly counts the number of output characters for wide characters. * Fix slk routines to properly size the wctomb() buffer.
show more ...
|
| #
b09154d5 |
| 06-Sep-2021 |
rin <rin@NetBSD.org> |
Style fixes most for __CTRACE().
|
| #
0bd3a620 |
| 06-Sep-2021 |
rin <rin@NetBSD.org> |
Expand __CTRACE() to __nothing #ifndef DEBUG.
Remove most of #ifdef DEBUG around __CTRACE() calls.
No binary changes, except for line numbers for assert().
|
| #
d08b4150 |
| 27-Jun-2021 |
blymn <blymn@NetBSD.org> |
Fix PR lib/55931 Only reset outcol if we actually emit a \n as cursor_down may not may not put the cursor at the start of the next line.
|
| #
e2cfd49c |
| 20-May-2019 |
blymn <blymn@NetBSD.org> |
Back out incorrect fix for PR 53617 and fix it in a different way. Keep track of the cursor location, if getch is called without a refresh and without pending updates (dirty windows) then move the cu
Back out incorrect fix for PR 53617 and fix it in a different way. Keep track of the cursor location, if getch is called without a refresh and without pending updates (dirty windows) then move the cursor to the correct location directly. Doing this prevents unnecessary refreshes.
show more ...
|
| #
12423e3e |
| 20-Mar-2017 |
christos <christos@NetBSD.org> |
comment out unused code.
|
| #
50a63ac8 |
| 06-Jan-2017 |
roy <roy@NetBSD.org> |
KNF. Normalise coding style. White space police. Sprinkle some extra braces to make the flow more clear.
No functional changes.
|
| #
4060cbcd |
| 03-Oct-2011 |
roy <roy@NetBSD.org> |
Use tiparm instead of vtparm.
|
| #
1bc5794a |
| 12-Feb-2010 |
roy <roy@NetBSD.org> |
Change from scroll_forward to cursor_down. cursor_down is more similar to our old termcap use of nl. Fixes PR lib/42770.
|
| #
98eb8895 |
| 03-Feb-2010 |
roy <roy@NetBSD.org> |
Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
|
| #
43d5eb45 |
| 22-Jul-2009 |
roy <roy@NetBSD.org> |
Prepare curses for the possibility of changing from termcap to terminfo. term.h #defines lines, pad_char and no_color_video macros which conflict with existing curses code. We change lines to alines
Prepare curses for the possibility of changing from termcap to terminfo. term.h #defines lines, pad_char and no_color_video macros which conflict with existing curses code. We change lines to alines and nlines depending on use, pad_char to padchar and no_color_video becomes no_color_attributes but with a strong alias from no_color_video.
show more ...
|
| #
97d29a42 |
| 23-Jul-2008 |
tnozaki <tnozaki@NetBSD.org> |
add workaround for PR/39175(Curses regression causes disoptimal and confusing output), act as rev1.25 does when wcwidth == 1.
|
| #
c1cfc499 |
| 04-Jul-2008 |
tnozaki <tnozaki@NetBSD.org> |
fix cursor position problem with the character wcwidth > 1. discussed in tech-userlevel, ok'ed by jdc@ thanks!
|
| #
e124de36 |
| 28-May-2007 |
blymn <blymn@NetBSD.org> |
Merge in wide curses code done as a Summer of Code project by Ruibiao Qiu.
|
| #
1f221324 |
| 21-Jan-2007 |
jdc <jdc@NetBSD.org> |
Add debug "areas" that allow selective debugging by setting the "CURSES_TRACE_MASK" environment variable. Postive vales include debug areas, negative values exclude them.
|
| #
6b3a44ef |
| 24-Jul-2004 |
blymn <blymn@NetBSD.org> |
Remove _cursesi_genbuf, it was not being set and caused a SIGSEGV in getcap(). Fixed getcap() to use screen->cursesi_genbuf. Thanks to Peter Bex for spotting this. This closes pr lib/26404.
|
| #
eb7c1594 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
| #
ce1b68c9 |
| 26-Jun-2002 |
christos <christos@NetBSD.org> |
PR/17352: David Laight: Curses core-dumps on windows > 1024 wide.
|
| #
606508da |
| 19-Dec-2000 |
jdc <jdc@NetBSD.org> |
Rename variables refering to termcap capabilities from NN to __tc_nn. Case adjusted to match termcap capability. A few other variable names renamed too (ones related to or derived from termcap vari
Rename variables refering to termcap capabilities from NN to __tc_nn. Case adjusted to match termcap capability. A few other variable names renamed too (ones related to or derived from termcap variables).
show more ...
|
| #
67175858 |
| 01-Aug-2000 |
itojun <itojun@NetBSD.org> |
use __cputchar(), not putchar(). otherwise, __CTRACE() will not be useful for debugging curses internals.
|
| #
5e706950 |
| 19-May-2000 |
mycroft <mycroft@NetBSD.org> |
We already initialize UP and BC when we fire up Curses, so pass a null pointer to t_goto() to avoid doing it again... and again... and...
|
| #
091faeb4 |
| 19-Apr-2000 |
blymn <blymn@NetBSD.org> |
Converted all termcap library calls to the "new" interface, this fixes a problem with curses crashing when the CM capability was larger than 64 bytes and eliminates some possible buffer overflow prob
Converted all termcap library calls to the "new" interface, this fixes a problem with curses crashing when the CM capability was larger than 64 bytes and eliminates some possible buffer overflow problems.
show more ...
|
| #
aaf74682 |
| 15-Apr-2000 |
blymn <blymn@NetBSD.org> |
Added functions to replace what were previously macros in curses.h (this is a requirement of SUSv2) - the old macro behaviour can be restored by defining _CURSES_USE_MACROS. Changed function prototyp
Added functions to replace what were previously macros in curses.h (this is a requirement of SUSv2) - the old macro behaviour can be restored by defining _CURSES_USE_MACROS. Changed function prototypes to use ANSI style. All externally visible functions now have ANSI style declarations.
show more ...
|