summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/base (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't return ERR if resize didn't change sizemillert2021-03-102-5/+8
| | | | | | | This is a backport of the ncurses 5.9 20120707 patch. Previously, getch() would return ERR if SIGWINCH was received but the window didn't actually change size. This can happen, for example, when the xterm font is changed. OK tb@
* Fix a segmentation fault in ncurses.fcambus2019-11-151-6/+6
| | | | | | | | | | | | | | | | This is a backported patch [1] from ncurses-5.7-20100501. It takes begx and begy values into account when calculating lengths, in order to avoid writing data past the end of the buffer when calling memset in wredrawln(). From upstream NEWS file: 20100501 + correct limit-check in wredrawln, accounting for begy/begx values (patch by David Benjamin). [1] https://lists.gnu.org/archive/html/bug-ncurses/2010-04/msg00017.html OK nicm@
* lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */guenther2015-09-271-3/+2
| | | | (others require more care)
* Fix a potential memory leak in an error path (although in code we don'tnicm2010-10-181-3/+7
| | | | currently use), spotted by zinovik.
* Update to ncurses 5.7, with local changes reapplied.nicm2010-01-1287-2621/+5809
| | | | | | | | | This is around eight years worth of changes (previously we were around ncurses 5.2), too many to list - many bug fixes and also a few new functions. A major bump for libcurses, libpanel, libform and libmenu. ok deraadt
* memory leaks, found by parfait; ok millertderaadt2009-11-111-2/+5
|
* remove "unused variable" warningschl2007-10-171-3/+1
| | | | | | tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
* lint warns about some fishy type conversion.espie2006-05-142-19/+30
| | | | | | | | | | Indeed, some ints can be silently shortened to unsigned short. Since those functions can return errors, do not convert spurious parameters to the wrong values, but return an error code instead. Tested for ill effects without any noticeable problems. okay millert@, otto@
* Use snprintf() and strlcpy() in the generated lib_keyname.cmillert2003-03-171-9/+12
|
* use snprintf throughoutmillert2003-03-171-1/+1
|
* Missed changes in ncurses-5.2-20010114 commitmillert2001-01-221-45/+47
|
* Update to ncurses-5.2-20010114millert2001-01-2283-2029/+2103
|
* update to ncurses 5.2millert2000-10-222-108/+91
|
* Don't ignore $TERMCAP, $TERMINFO, $TERMINFO_DIRS, $TERMPATH, and $HOMEmillert2000-10-101-16/+22
| | | | | | | if root but not setugid. Fix select usage to deal with an arbitrary number of fd's. This code is not compiled since we use poll(2).
* update to ncurses-5.1-20001007millert2000-10-0810-93/+130
|
* Update to ncurses-5.1-20000722millert2000-07-241-6/+10
|
* ncurses 5.1millert2000-07-106-15/+56
|
* ncurses-5.0-20000617millert2000-06-1919-1061/+1149
|
* Update to ncurses-5.0-20000401:millert2000-04-041-2/+4
| | | | | | o change unctrl() to render C1 characters (128-159) as ~@, ~A, etc. o trace() function is provided only if TRACE is defined, e.g., in the debug library. Modify related calls to _tracechar() to use unctrl() instead.
* Update to ncurses-5.0-20000325millert2000-03-264-45/+60
|
* Update to ncurses-5.0-20000304millert2000-03-109-444/+461
|
* Update to ncurses-5.0-20000122millert2000-01-231-9/+17
|
* Update to ncurses-5.0-20000108:millert2000-01-092-26/+25
| | | | | | + add prototype for erase() to curses.h + add TRACE_DATABASE flag for trace(). + formatting changes (style)
* + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)millert2000-01-023-562/+578
| | | | | | | | | | + make conversion to termcap ug (underline glitch) more consistently applied. + modify read_termtype(), fixing 'toe', which could dump core when it found an incomplete entry such as "dumb" because it did not initialize its buffer for _nc_read_file_entry(). + use explicit VALID_NUMERIC() checks in a few places that had been overlooked, and add a check to ensure that init_tabs is nonzero, to avoid divide-by-zero (reported by Todd C Miller).
* Update to ncurses-19991218millert1999-12-281-235/+246
| | | | | | | | | | | | o reorder tests during mouse initialization to allow for gpm to run in xterm, or for xterm to be used under OS/2 EMX. Also drop test for $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report by Christian Weisgerber <naddy@mips.rhein-neckar.de>). o modify raw() and noraw() to clear/restore IEXTEN flag which affects stty lnext on systems such as FreeBSD (report by Bruce Evans <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>). o add manual-page for ncurses extensions, documented curses_version(), use_extended_names().
* update to ncurses-5.0-19991204millert1999-12-061-3/+2
|
* update to ncurses-5.0-19991127millert1999-11-2812-137/+228
|
* Update to ncurses-5.0-990814millert1999-08-157-50/+30
|
* ncurses-5.0-990626millert1999-06-271-5/+7
|
* ncurses-5.0-990612millert1999-06-142-21/+19
|
* ncurses-4.2-990516; no code changesmillert1999-05-173-9/+9
|
* ncurses-4.2-990424millert1999-05-082-25/+17
|
* ncurses-4.2-990318millert1999-03-181-4/+10
|
* ncurses-4.2-990314millert1999-03-151-3/+5
|
* ncurses-4.2-990313millert1999-03-142-6/+6
|
* ncurses-4.2-990307millert1999-03-116-36/+55
|
* ncurses-4.2-990301millert1999-03-025-28/+33
|
* ncurses-4.2-990220; this is a pre-release of 5.0millert1999-02-246-32/+138
|
* ncurses-4.2-990130millert1999-01-312-12/+16
|
* ncurses-4.2-990116millert1999-01-1882-0/+10055