summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/base
AgeCommit message (Collapse)AuthorFilesLines
2021-03-10Don't return ERR if resize didn't change sizemillert2-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@
2019-11-15Fix a segmentation fault in ncurses.fcambus1-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@
2015-09-27lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */guenther1-3/+2
(others require more care)
2010-10-18Fix a potential memory leak in an error path (although in code we don'tnicm1-3/+7
currently use), spotted by zinovik.
2010-01-12Update to ncurses 5.7, with local changes reapplied.nicm87-2575/+5763
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
2009-11-11memory leaks, found by parfait; ok millertderaadt1-2/+5
2007-10-17remove "unused variable" warningschl1-3/+1
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2006-05-14lint warns about some fishy type conversion.espie2-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@
2003-03-17Use snprintf() and strlcpy() in the generated lib_keyname.cmillert1-9/+12
2003-03-17use snprintf throughoutmillert1-1/+1
2001-01-22Missed changes in ncurses-5.2-20010114 commitmillert1-45/+47
2001-01-22Update to ncurses-5.2-20010114millert83-1962/+2036
2000-10-22update to ncurses 5.2millert2-108/+91
2000-10-10Don't ignore $TERMCAP, $TERMINFO, $TERMINFO_DIRS, $TERMPATH, and $HOMEmillert1-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).
2000-10-08update to ncurses-5.1-20001007millert10-93/+130
2000-07-24Update to ncurses-5.1-20000722millert1-6/+10
2000-07-10ncurses 5.1millert6-15/+56
2000-06-19ncurses-5.0-20000617millert19-991/+1079
2000-04-04Update to ncurses-5.0-20000401:millert1-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.
2000-03-26Update to ncurses-5.0-20000325millert4-45/+60
2000-03-10Update to ncurses-5.0-20000304millert9-420/+437
2000-01-23Update to ncurses-5.0-20000122millert1-9/+17
2000-01-09Update to ncurses-5.0-20000108:millert2-26/+25
+ add prototype for erase() to curses.h + add TRACE_DATABASE flag for trace(). + formatting changes (style)
2000-01-02+ corrected conversion from terminfo rs2 to termcap rs (cf: 980704)millert3-533/+549
+ 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).
1999-12-28Update to ncurses-19991218millert1-233/+244
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().
1999-12-06update to ncurses-5.0-19991204millert1-3/+2
1999-11-28update to ncurses-5.0-19991127millert12-134/+225
1999-08-15Update to ncurses-5.0-990814millert7-50/+30
1999-06-27ncurses-5.0-990626millert1-5/+7
1999-06-14ncurses-5.0-990612millert2-21/+19
1999-05-17ncurses-4.2-990516; no code changesmillert3-9/+9
1999-05-08ncurses-4.2-990424millert2-25/+17
1999-03-18ncurses-4.2-990318millert1-4/+10
1999-03-15ncurses-4.2-990314millert1-3/+5
1999-03-14ncurses-4.2-990313millert2-6/+6
1999-03-11ncurses-4.2-990307millert6-36/+55
1999-03-02ncurses-4.2-990301millert5-28/+33
1999-02-24ncurses-4.2-990220; this is a pre-release of 5.0millert6-32/+138
1999-01-31ncurses-4.2-990130millert2-12/+16
1999-01-18ncurses-4.2-990116millert82-0/+10055