OpenGrok
Cross Reference: insdelln.c
xref
: /
src
/
lib
/
libcurses
/
insdelln.c
Home
|
History
|
Annotate
|
Download
|
only in
libcurses
History log of
/src/lib/libcurses/insdelln.c
Revision
Date
Author
Comments
1.24
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.23
19-Oct-2022
blymn
branches: 1.23.4;
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.
1.22
12-Apr-2022
blymn
Fix compile breakage when wide char support is disabled.
1.21
12-Apr-2022
blymn
Make the default colour pair be pair 0 which appears to match other
curses implementations.
1.20
25-Jan-2022
blymn
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.
1.19
06-Sep-2021
rin
Expand __CTRACE() to __nothing #ifndef DEBUG.
Remove most of #ifdef DEBUG around __CTRACE() calls.
No binary changes, except for line numbers for assert().
1.18
06-Jan-2017
roy
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.
No functional changes.
1.17
02-Jan-2017
roy
Implement POSIX Curses functions immedok(3) and syncok(3).
1.16
22-Jul-2009
roy
branches: 1.16.28;
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.
1.15
28-Apr-2008
martin
Remove clause 3 and 4 from TNF licenses
1.14
28-May-2007
blymn
branches: 1.14.10;
Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
1.13
21-Jan-2007
jdc
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.12
05-Feb-2006
jdc
branches: 1.12.6;
Handle both background character and background attribute.
1.11
15-Jan-2006
jdc
Background characters and attributes don't need to be kept per character
cell, as they are merged when characters are added. Remove the per cell
storage and clarify the manual page. Pointed out by ruibiao@.
1.10
29-Jul-2003
dsl
Copy correct size of 1 line when doing insert/delete line on a subwin.
1.9
17-Feb-2003
dsl
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)
1.8
20-Apr-2001
jdc
Implement scrolling regions :
has_ic()
has_il()
setscrreg()
wsetscrreg()
1.7
20-May-2000
mycroft
GC __FORCEPAINT.
1.6
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.5
18-Apr-2000
jdc
Set background character and attributes for added characters.
1.4
16-Apr-2000
mycroft
Make subwindows scroll correctly.
1.3
15-Apr-2000
blymn
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.
1.2
11-Apr-2000
blymn
Made data structures opaque
1.1
05-Mar-2000
jdc
branches: 1.1.2;
file insdelln.c was initially added on branch curses-v3.
1.1.2.2
16-Mar-2000
jdc
Handle subwins correctly.
1.1.2.1
05-Mar-2000
jdc
winsdelln() implementation - insert or delete lines.
1.12.6.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.12.6.1
21-Jan-2007
blymn
Wide curses merge
1.14.10.1
18-May-2008
yamt
sync with head.
1.16.28.1
07-Jan-2017
pgoyette
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
1.23.4.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Tue Oct 14 08:09:56 GMT 2025