Home | History | Annotate | Download | only in libcurses
History log of /src/lib/libcurses/curses.c
RevisionDateAuthorComments
 1.31  19-Oct-2022  blymn 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.30  03-May-2022  blymn * Don't redraw the background if the new background character is the
same as the old one. This prevents excessive redraws in some
applications.

* Fix bug introduced when wbkgrndset was fixed, we cannot blindly
replace any instance of the old background character with the new one
because some of those characters were put there by the application
leading to display corruption. So flag characters as background when
they are erased and only update the flagged characters when setting
the background.
 1.29  19-Apr-2022  blymn fix for PR 55496

* Fix bkgrndset so that it actually sets the background character in
in line with the SUSv2 specification.

* Add an internal function to copy a complex character

* Make the previously static celleq function into a libcurses private
function so that it can be called in other files.
 1.28  31-Jan-2017  roy Move ESCDELAY to curses.c so all globals are close to each other.
Remove _reentrant and use ESCDELAY and TABSIZE as we're not really
reentrant.
 1.27  30-Jan-2017  roy If either set_escdelay(3) or set_tabsize(3) are called, set _reentrant
to ensure we use the saved value for the sceen.

This effectively makes ESCDELAY and TABSIZE read-only when either
of these functions are called.
 1.26  22-Oct-2016  christos branches: 1.26.2;
remove bogus malloc casts
 1.25  16-Oct-2013  roy branches: 1.25.8;
Add TABSIZE, which is derived from terminfo init_tabs.
Use this when processing \t.
If TABSIZE is set in the environment, this takes precedence.
 1.24  03-Feb-2010  roy branches: 1.24.6; 1.24.12;
Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@
 1.23  22-Jul-2009  roy 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.22  28-May-2007  blymn Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
 1.21  07-Aug-2003  agc branches: 1.21.18;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.20  04-Aug-2002  jdc Set the curses default colours to white on black when using colour.
See the Single UNIX Specification, Version 2 :

http://www.opengroup.org/onlinepubs/007908799/xcurses/can_change_color.html

Also, add the functions :

use_default_colors();
assume_default_colors(fore, back);

(from ncurses) that allow the terminal default colours or user-specified
default colours to be used.
 1.19  02-Dec-2001  blymn * Major change to add support for the newterm/set_term functions.
* Added fix to getch.c suggested by Gabriel Rosenkoetter (thanks :-)
 1.18  22-Dec-2000  jdc Revert the change to the `pc' capability from the previous change. Pointed
out in email by Thomas Dickey.
 1.17  19-Dec-2000  jdc Rename variables refering to termcap capabilities from NN to __tc_nn. Case
adjusted to match termcap capability. A few other variable names renamed too
(ones related to or derived from termcap variables).
 1.16  27-Apr-2000  jdc Background colour erase is 'ut' not 'be'.
Add virtual screen for wnoutrefresh()/doupdate().
 1.15  22-Apr-2000  blymn * Fixed need for duplicate namp string in setterm.c
* Added meta function (turns meta bit on and off on terminal if supported)
* Added curs_set to control cursor visibility if supported.
 1.14  17-Apr-2000  blymn Multiple fixes:
* Added Bill's fixes for errors when compiling with WARNS=1
* Incorporated fixes to make usage of unctrl consistent in debug and
made improvements to ctrace - it now timestamps it's output better.
* Reduced the number of mallocs done by __init_getch by allocating key
structs in bunches instead of singly.
* Removed the shadowing of global declarations in newwin and subwin
functions
 1.13  12-Apr-2000  jdc Add colour capabilities and variables.
 1.12  11-Apr-2000  blymn Made data structures opaque
 1.11  28-Jun-1999  simonb branches: 1.11.6;
Get rid of the evil trailing spaces and tabs.
 1.10  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.9  22-Jul-1997  mikel RCSid police, fix warnings
 1.8  17-Aug-1994  cgd branches: 1.8.2;
clean up import
 1.7  24-Jan-1994  cgd changes from branch
 1.6  04-Dec-1993  cgd update from branch
 1.5  09-Nov-1993  cgd repeat after me: "I hate rcs ids"
 1.4  09-Nov-1993  cgd branches: 1.4.2;
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.4.2.2  24-Jan-1994  cgd minor fixups
 1.4.2.1  04-Dec-1993  cgd update from latest
 1.8.2.2  17-Aug-1994  cgd clean up import
 1.8.2.1  17-Aug-1994  cgd file curses.c was added on branch netbsd-1-0 on 1994-08-17 21:52:08 +0000
 1.11.6.1  05-Mar-2000  jdc Add alternate character set support.
 1.21.18.2  07-Feb-2007  blymn Add helper functions to deallocate non-spacing character storage.
 1.21.18.1  21-Jan-2007  blymn Wide curses merge
 1.24.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.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.25.8.2  20-Mar-2017  pgoyette Sync with HEAD
 1.25.8.1  04-Nov-2016  pgoyette Sync with HEAD
 1.26.2.1  21-Apr-2017  bouyer Sync with HEAD

RSS XML Feed