summaryrefslogtreecommitdiff
path: root/lib/libcurses
AgeCommit message (Collapse)Author
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2011-05-30Document why everything in this signal handler is totally unsafe -- it isTheo de Raadt
totally ridiculous to call all sorts of stdio and malloc stuff in a signal handler. These comments have been looked at by nicm, and then passed upstream.
2011-04-23Enable the SIGWINCH handler in ncurses.Nicholas Marriott
Prompted by mail from Mikolaj Kucharski on tech@ and discussion with deraadt@ and millert@. A library installing signal handlers without being asked is seriously wrong but it appears quite a few applications now depend on the ncurses SIGWINCH and it looks to be safe. Safer than the other signal handlers it installs (apparently without request... boke). ok millert
2010-10-18Fix a potential memory leak in an error path (although in code we don'tNicholas Marriott
currently use), spotted by zinovik.
2010-09-11there's a missing full stop here too, which seems to be because ofJason McIntyre
another local variation;
2010-09-11remove a duplicate line; thomas dickey has confirmed this issue is notJason McIntyre
present in upstream sources, so it must be a local bug;
2010-09-06Enable wide character support in ncurses. It is built into libcurses,Nicholas Marriott
libform, libmenu, libpanel and each library is also linked to a corresponding "w" version. This is a major bump for all four libraries. Thanks to landry, stsp, sthen, naddy, oga, Martin Pieuchot, and anyone else I've forgotten for testing. ok naddy krw deraadt
2010-01-14Restore an if that got lost in the update.Nicholas Marriott
Fixes problems with editors/joe reported by benoit@.
2010-01-12Update to ncurses 5.7, with local changes reapplied.Nicholas Marriott
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 millertTheo de Raadt
2009-10-28a few leftovers from yesterday's SCCS/RCS-ID removal;Ingo Schwarze
survived a full make build on i386; "sure" deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-18terminfo supports the use= capability (tc= in termcap), to allow oneNicholas Marriott
description to reference another. If this is used, any capabilities in the parent terminal description should override those pulled in by use=. When cap_mkdb is building terminfo.db, it concatenates any use= references together so each description is self-contained. However, the ncurses terminfo implementation doesn't expect this - it assumes it will have to resolve use= itself, and picks the last entry in the description created by cap_mkdb rather than the first. read_bsd_terminfo.c already makes some transformations to make ncurses happy with the format in the database. So, extend this to trim out duplicate entries, leaving only the first. (Interestingly, ncurses already has code to correctly handle merged tc= capabilities in termcap.db (used if terminfo.db is missing).) "go ahead" deraadt@
2009-08-28Change cap_mkdb and curses to be a better about reformatting terminfo entriesNicholas Marriott
into the cap database format and back: rather than replacing all colons with commas, only touch real separators (skip those with a leading \ or ^) and replace an unadorned colon with a literal "\072". Fixes problems with quite a few caps including acsc in "screen" (:s instead of ,s) and setab/initc in "xterm-256color" (wrongly concatenated together). ok millert
2009-08-13various MLINK fixes from Alan R. S. Bueno;Jason McIntyre
2008-12-07- man page name is keybound, not keyokJason McIntyre
- returned type is char *, not int from Frederic Culot, documentation/6019 first issue sent upstream (second already fixed)
2008-01-29More read/write result checking fixes to avoid unsigned comparisons vsKenneth R Westerback
-1. ok henning@ beck@ ray@
2007-11-24fix yacc/lex parallel file generationMarc Espie
2007-10-26add missing dependencyMarc Espie
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-06-02safer snprintf construct with more paranoid length calculationPeter Valchev
ok millert
2007-05-17Check fgets return value, from Charles Longeau.Ray Lai
OK millert@.
2007-04-16ptr->term_names can point into ptr->str_table, so don;t free that one.Otto Moerbeek
fixes PR #5447. Fix verifed to be equal to the ifndef NO_LEAK part of current ncurses.
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2006-10-24Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].Moritz Jodeit
OK ray@ cloder@
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-05-14lint warns about some fishy type conversion.Marc Espie
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@
2006-03-12more getopt() EOF crud; adobriyan@gmailTheo de Raadt
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-07-19Convert return value of cgetent(3) to what the curses routines expect.Todd C. Miller
Fixes a problem where an unknown terminal type would be reported as "database not found". Noticed by grunk@
2004-12-10typos, then -> than, from Michael KnudsenJared Yanovich
2004-11-04Correct paths of terminfo db and dir. Prompted By Han Boetes. With jmc@Otto Moerbeek
ok millert@
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2003-10-19fix installation of DEBUGLIBS libcurses symlink.Brad Smith
-- From: tholo@
2003-10-15fix out of bounds access. found by david@ running with malloc guards andTed Unangst
randomization. ok millert@
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-04mop up some more 3/4 license issuesTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-05-19Add the generated files as a dependency for the 'all' target.Todd C. Miller
Should prevent bogus bug reports that come in every so often...
2003-05-14typos;Jason McIntyre
diffs passed on to curses people.
2003-05-12typos;Jason McIntyre
diffs passed on to curses people.
2003-04-14standalone/stand alone -> stand-alone;Jason McIntyre
from NetBSD (Igor Sobrado); httpd stuff passed to apache people; ok millert@
2003-04-13try to use the X Window System, X11 or XFree86 consistently.Jason McIntyre
diffs from Paul Weismann, via mickey@ aided, abetted and ok'd matthieu@
2003-03-18Use strlcpy() / strlcat() throughout.Todd C. Miller
2003-03-18make rcsid const to pass gcc -WallTodd C. Miller
2003-03-17Deal with snprintf returning -1Todd C. Miller
2003-03-17Use snprintf() and strlcpy() in the generated lib_keyname.cTodd C. Miller
2003-03-17use snprintf throughoutTodd C. Miller
2003-03-10duplicate words and spelling fixes in commentsDavid Krause
ok miod@
2003-03-07spelling errors/typosDavid Krause
ok jmc@