Home | History | Annotate | Download | only in libcurses
History log of /src/lib/libcurses/line.c
RevisionDateAuthorComments
 1.19  23-Dec-2024  blymn Sprinkle about some cycle wasting checks for the win pointer being
null. Unfortunately, ncurses does this and there is some sloppy code
out there that relies on the check resulting in segfaults in
NetBSD curses which then, of course, gets blamed for the error.
 1.18  08-Sep-2024  rillig fix a/an grammar in obvious cases
 1.17  06-Sep-2021  rin branches: 1.17.4;
Expand __CTRACE() to __nothing #ifndef DEBUG.

Remove most of #ifdef DEBUG around __CTRACE() calls.

No binary changes, except for line numbers for assert().
 1.16  01-Jul-2020  uwe hline, vline - don't lose attributes when using default character.

Make default (wide) and non-wide behavior match. If the character
argument has (only) attributes set, use them with the default line
character.

In the wide case don't do the fallback in hline - it just calls
hline_set that needs to do it anyway. Fix the latter to check the
wcwidth of the right character and avoid division by zero.
 1.15  01-Jul-2020  uwe Oops. Fix y/x typo in the previous whline() fix for !HAVE_WCHAR.
 1.14  30-Jun-2020  uwe Fix indentation in the copyright.
Make it match its siblings in other files.
 1.13  30-Jun-2020  uwe whline - save/restore the y coordinate too.
Reaching the right side of the screen can cause a line wrap.
Forgot to apply the fix to the !HAVE_WCHAR case.
PR lib/55434
 1.12  30-Jun-2020  uwe whline_set - save/restore the y coordinate too.
Reaching the right side of the screen can cause a line wrap.
PR lib/55434
 1.11  09-Jun-2019  blymn Rework previous fix for getch cursor position when cursor is moved
without refresh. If the window is not dirty but the window cursor
position does not match curscr then move the cursor. This fixes
the issues seen in PR lib/54263.
 1.10  20-May-2019  blymn 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.
 1.9  06-Jan-2017  roy branches: 1.9.14;
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.
 1.8  02-Jan-2017  roy Implement POSIX Curses functions immedok(3) and syncok(3).
 1.7  02-Jan-2017  roy Whitespace
 1.6  23-Feb-2010  drochner branches: 1.6.28;
misc fixes and improvements:
-call setlocale(LC_CTYPE, "") before nl_langinfo(CODESET) if the
locale settings is (still) at "C" - otherwise the CODESET doesn't work
-fix the type of the WACS_* symbols -- this needs to be cchar_t*
-add safeguards where the return value of wcwidth() is used for
loop counters or indexing -- it can be -1
-use more common code in the widechar support case -- in particular
let the wchar functions do the work even if chtype ones were called
-implement wcursyncup/wsyncup/wsyncdown
-somewhat experimental: allow ACS_* variables to refer to WACS_*
table entries -- this way, programs using the old chtype using API
can use UTF8 line drawing on terminals which support UTF8 but not
ACS switching
-fix some logics bugs in UTF8 recognition and ALTCHARSET handling
 1.5  28-May-2007  blymn Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
 1.4  02-Jan-2002  blymn branches: 1.4.20;
Remove extraneous tabs from blank lines.
 1.3  13-Jun-2001  wiz withough -> without
 1.2  05-Feb-2001  jdc Display default (HLINE/VLINE) characters when character 0 is passed in.
This is not in the SUSv2 specification but is what System V curses does
(and it's consistent with box() and border()).
 1.1  24-Apr-2000  blymn * Added rcs id line to files missing it.
* Added code to __restartwin to restore meta and cursor visibility states
* Added code to __stopwin to disable meta.
* Added the *line group of functions for drawing character lines.
 1.4.20.2  21-Jan-2007  jdc Apply the changes that add debug "areas" on HEAD to the wcurses branch.
Add correspending changes to the debug code that is only present on the branch.
 1.4.20.1  21-Jan-2007  blymn Wide curses merge
 1.6.28.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.9.14.1  10-Jun-2019  christos Sync with HEAD
 1.17.4.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed