History log of /netbsd-src/lib/libcurses/touchwin.c (Results 1 – 25 of 35)
Revision Date Author Comments
# 6348e3f3 23-Dec-2024 blymn <blymn@NetBSD.org>

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
N

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.

show more ...


# 301bf8cc 12-Apr-2022 blymn <blymn@NetBSD.org>

Make the default colour pair be pair 0 which appears to match other
curses implementations.


# 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().


# 71a0f0ce 03-Jul-2020 uwe <uwe@NetBSD.org>

wtouchln - verify/clip input parameters
From Naman Jain in PR lib/55454


# 7d6b8c31 24-Apr-2019 blymn <blymn@NetBSD.org>

Add/improve debug output for some routines.


# 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.


# 1369811d 02-Jan-2017 roy <roy@NetBSD.org>

Implement POSIX Curses functions immedok(3) and syncok(3).


# 210cd3d8 07-Jan-2016 jdc <jdc@NetBSD.org>

Display force flag in debug print.


# d3454846 06-Dec-2013 blymn <blymn@NetBSD.org>

Make the touch family of calls actually force an update of the
terminal bypassing optimisations. Previously if curses thought curscr
was in sync with virtscr (curses concept of what is on the screen

Make the touch family of calls actually force an update of the
terminal bypassing optimisations. Previously if curses thought curscr
was in sync with virtscr (curses concept of what is on the screen) then
nothing would be output. This change forces an update out to the terminal
regardless.

show more ...


# 452834f2 23-Feb-2010 drochner <drochner@NetBSD.org>

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_* symbo

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

show more ...


# 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 ...


# 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.


# 52ef6583 23-Aug-2006 jdc <jdc@NetBSD.org>

Add some more debugging information.


# 264b7915 01-Jan-2006 jdc <jdc@NetBSD.org>

Don't crash if asked to touch more lines than there are in a window.


# d4f82864 05-Oct-2003 jdc <jdc@NetBSD.org>

Add redrawwin() and wredrawln().
Fixes PR lib/20038.


# 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.


# d75ec818 17-Feb-2003 dsl <dsl@NetBSD.org>

Fix resize of windows with subwins.
Let window size be given as a -ver number => lines from bottom.
Fix trace calls of pointers
(approved by Brett Lumn)


# 0bdde4e1 05-Dec-2002 jdc <jdc@NetBSD.org>

Add some (useful) debugging to wtouchln().


# ef592783 02-Jan-2002 blymn <blymn@NetBSD.org>

Remove extraneous tabs from blank lines.


# 94f8eb04 20-May-2000 mycroft <mycroft@NetBSD.org>

GC __FORCEPAINT.


# 8a4ca861 19-May-2000 mycroft <mycroft@NetBSD.org>

Be more careful with the first/last pointers when untouching.


# 67967397 26-Apr-2000 blymn <blymn@NetBSD.org>

* Fixed bug in copywin.
* Fixed bug in overwrite.
* Added functions is_linetouched, is_wintouched, untouchwin and wtouchln.


# 8e3f5589 15-Apr-2000 jdc <jdc@NetBSD.org>

Don't reset firstchp and lastchp even if this line was not dirty.
They could have been set previously by a parent window or sub-window.


# 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 ...


12