OpenGrok
Cross Reference: addchnstr.c
xref
: /
src
/
lib
/
libcurses
/
addchnstr.c
Home
|
History
|
Annotate
|
Download
|
only in
libcurses
History log of
/src/lib/libcurses/addchnstr.c
Revision
Date
Author
Comments
1.10
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.9
06-Sep-2021
rin
branches: 1.9.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.8
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.7
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.6
09-Nov-2013
blymn
branches: 1.6.26;
Rename the old __waddbytes function to _cursesi_waddbytes and add a
parameter that controls whether or not certain characters in the
string are interpreted or not (things like tab being expanded).
Make __waddbytes a wrapper for _cursesi_waddbytes that passes all
parameters and sets the flag for character interpretation for backward
compatibility.
Fix an incipient bug in _cursesi_waddbytes where garbage would have
been written to the terminal if the terminal TABSIZE was set > 8 and
character interpretation is on.
Convert all internal __waddbytes calls to use _cursesi_waddbytes, fix
the function prototypes and add a new flag that will be used later.
Fix the addchstr family functions so that they call _cursesi_waddbytes
with character interpretation off as per SUSV2.
1.5
28-Sep-2012
blymn
Truncate string to RHS of the window - SUSv2 says we should.
1.4
28-Apr-2008
martin
branches: 1.4.4; 1.4.26;
Remove clause 3 and 4 from TNF licenses
1.3
21-Jan-2007
jdc
branches: 1.3.10;
Add debug "areas" that allow selective debugging by setting the
"CURSES_TRACE_MASK" environment variable. Postive vales include
debug areas, negative values exclude them.
1.2
22-May-2003
wiz
branches: 1.2.18;
Make i an int to please lint and remove a cast.
1.1
21-May-2003
jdc
Add addchstr() family of functions.
Based on mail from Douwe Kiela.
Fixes PR lib/21285 by Thomas Klausner.
1.2.18.1
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.3.10.1
18-May-2008
yamt
sync with head.
1.4.26.2
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.4.26.1
20-Nov-2012
tls
Resync to 2012-11-19 00:00:00 UTC
1.4.4.2
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.4.4.1
30-Oct-2012
yamt
sync with head
1.6.26.1
10-Jun-2019
christos
Sync with HEAD
1.9.4.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Sun Sep 21 20:09:37 GMT 2025