Home | History | Annotate | Download | only in libcurses
History log of /src/lib/libcurses/delwin.c
RevisionDateAuthorComments
 1.22  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.21  01-Apr-2019  roy printw: rework vw_printw so it uses open_memstream rather than funopen2

This makes it more portable as open_memstream is POSIX and fixes a
potential issue with wide characters not fully being printed
due to any buffer overflow.
 1.20  06-Jan-2017  roy branches: 1.20.14;
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.
 1.19  23-Oct-2016  christos It is expensive to open and close files for every printf, keep it around.
 1.18  15-Oct-2013  roy branches: 1.18.8;
Note that delwin(3) is a null-op if win is NULL.
 1.17  22-Jul-2009  roy branches: 1.17.6; 1.17.12;
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.16  28-May-2007  blymn Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
 1.15  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.14  23-Aug-2006  jdc branches: 1.14.4;
When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.
 1.13  07-Aug-2003  agc branches: 1.13.6; 1.13.12;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12  30-Jul-2003  dsl Remove __winlistp, add *screen to WINDOW and initialise in newwin().
Make delwin() remove window from list of windows on its screen.
Free win->lspace and win->lines for subwins (they only share text space).
Free things in the correct (and same) order if malloc() fails in __makenew().
Adjust delscreen() for delwin() removing itself from winlist.
Fixes potential massive corruptions if delwin() called on a main window.
NB: not responsible for the sysinst core dumps :-(
 1.11  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.10  11-Apr-2000  blymn Made data structures opaque
 1.9  13-Apr-1999  mrg Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities. The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences. Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn). i'm just integrating it. thanks
HEAPS guys!
 1.8  03-Feb-1998  perry remove obsolete register declarations
 1.7  22-Jul-1997  mikel RCSid police, fix warnings
 1.6  17-Aug-1994  cgd branches: 1.6.2;
clean up import
 1.5  09-Nov-1993  cgd repeat after me: "I hate rcs ids"
 1.4  09-Nov-1993  cgd update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's. this is for diffs.
 1.3  07-Aug-1993  mycroft New version from uunet.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  17-Aug-1994  cgd new libcurses, from new nvi
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.2.2  17-Aug-1994  cgd clean up import
 1.6.2.1  17-Aug-1994  cgd file delwin.c was added on branch netbsd-1-0 on 1994-08-17 21:52:15 +0000
 1.13.12.1  25-Aug-2006  ghen Pull up following revision(s) (requested by jdc in ticket #54):
lib/libcurses/color.c: revision 1.31
lib/libcurses/screen.c: revision 1.18
lib/libcurses/delwin.c: revision 1.14
Make sure we update the correct window when changing colour pairs.
When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.
 1.13.6.1  25-Aug-2006  ghen Pull up following revision(s) (requested by jdc in ticket #1475):
lib/libcurses/color.c: revision 1.31
lib/libcurses/screen.c: revision 1.18
lib/libcurses/delwin.c: revision 1.14
Make sure we update the correct window when changing colour pairs.
When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.
 1.14.4.2  07-Feb-2007  blymn Plug memory leak - non-spacing character storage was not being deleted.
 1.14.4.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.17.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.6.1  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.18.8.2  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.18.8.1  04-Nov-2016  pgoyette Sync with HEAD
 1.20.14.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed