-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.1704 2011/05/21 19:01:38 tom Exp $
+-- $Id: NEWS,v 1.1798 2011/10/08 21:06:49 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20111008
+ + moved static data from db_iterator.c to lib_data.c
+ + modify db_iterator.c for memory-leak checking, fix one leak.
+ + modify misc/gen-pkgconfig.in to use Requires.private for the parts
+ of ncurses rather than Requires, as well as Libs.private for the
+ other library dependencies (prompted by Debian #644728).
+
+20111001
+ + modify tic "-K" option to only set the strict-flag rather than force
+ source-output. That allows the same flag to control the parser for
+ input and output of termcap source.
+ + modify _nc_getent() to ignore backslash at the end of a comment line,
+ making it consistent with ncurses' parser.
+ + restore a special-case check for directory needed to make termcap
+ text files load as if they were databases (cf: 20110924).
+ + modify tic's resolution/collision checking to attempt to remove the
+ conflicting alias from the second entry in the pair, which is
+ normally following in the source file. Also improved the warning
+ message to make it simpler to see which alias is the problem.
+ + improve performance of the database iterator by caching search-list.
+
+20110925
+ + add a missing "else" in changes to _nc_read_tic_entry().
+
+20110924
+ + modify _nc_read_tic_entry() so that hashed-database is checked before
+ filesystem.
+ + updated CF_CURSES_LIBS check in test/configure script.
+ + modify configure script and makefiles to split TIC_ARGS and
+ TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables,
+ to help separate searches for tic- and tinfo-libraries (patch by Nick
+ Alcock aka "Nix").
+ + build-fix for lib_mouse.c changes (ch: 20110917).
+
+20110917
+ + fix compiler warning for clang 2.9
+ + improve merging of mouse events (integrated patch by Damien
+ Guibouret).
+ + correct mask-check used in lib_mouse for wheel mouse buttons 4/5
+ (patch by Damien Guibouret).
+
+20110910
+ + modify misc/gen_edit.sh to select a "linux" entry which works with
+ the current kernel rather than assuming it is always "linux3.0"
+ (cf: 20110716).
+ + revert a change to getmouse() which had the undesirable side-effect
+ of suppressing button-release events (report by Damien Guibouret,
+ cf: 20100102).
+ + add xterm+kbs fragment from xterm #272 -TD
+ + add configure option --with-pkg-config-libdir to provide control over
+ the actual directory into which pc-files are installed, do not use
+ the pkg-config environment variables (discussion with Frederic L W
+ Meunier).
+ + add link to mailing-list archive in announce.html.in, as done in
+ FAQ (prompted by question by Andrius Bentkus).
+ + improve manpage install by adjusting the "#include" examples to
+ show the ncurses-subdirectory used when --disable-overwrite option
+ is used.
+ + install an alias for "curses" to the ncurses manpage, tied to the
+ --with-curses-h configure option (suggested by Reuben Thomas).
+
+20110903
+ + propagate error-returns from wresize, i.e., the internal
+ increase_size and decrease_size functions through resize_term (report
+ by Tim van der Molen, cf: 20020713).
+ + fix typo in tset manpage (patch by Sven Joachim).
+
+20110820
+ + add a check to ensure that termcap files which might have "^?" do
+ not use the terminfo interpretation as "\177".
+ + minor cleanup of X-terminal emulator section of terminfo.src -TD
+ + add terminator entry -TD
+ + add simpleterm entry -TD
+ + improve wattr_get macros by ensuring that if the window pointer is
+ null, then the attribute and color values returned will be zero
+ (cf: 20110528).
+
+20110813
+ + add substitution for $RPATH_LIST to misc/ncurses-config.in
+ + improve performance of tic with hashed-database by caching the
+ database connection, using atexit() to cleanup.
+ + modify treatment of 2-character aliases at the beginning of termcap
+ entries so they are not counted in use-resolution, since these are
+ guaranteed to be unique. Also ignore these aliases when reporting
+ the primary name of the entry (cf: 20040501)
+ + double-check gn (generic) flag in terminal descriptions to
+ accommodate old/buggy termcap databases which misused that feature.
+ + minor fixes to _nc_tgetent(), ensure buffer is initialized even on
+ error-return.
+
+20110807
+ + improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST
+ variable is defined in the makefiles which use it.
+ + build-fix for DragonFlyBSD's pkgsrc in test/configure script.
+ + build-fixes for NetBSD 5.1 with termcap support enabled.
+ + corrected k9 in dg460-ansi, add other features based on manuals -TD
+ + improve trimming of whitespace at the end of terminfo/termcap output
+ from tic/infocmp.
+ + when writing termcap source, ensure that colons in the description
+ field are translated to a non-delimiter, i.e., "=".
+ + add "-0" option to tic/infocmp, to make the termcap/terminfo source
+ use a single line.
+ + add a null-pointer check when handling the $CC variable.
+
+20110730
+ + modify configure script and makefiles in c++ and progs to allow the
+ directory used for rpath option to be overridden, e.g., to work
+ around updates to the variables used by tic during an install.
+ + add -K option to tic/infocmp, to provide stricter BSD-compatibility
+ for termcap output.
+ + add _nc_strict_bsd variable in tic library which controls the
+ "strict" BSD termcap compatibility from 20110723, plus these
+ features:
+ + allow escapes such as "\8" and "\9" when reading termcap
+ + disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
+ termcap files, passing through "a", "e", etc.
+ + expand "\:" as "\072" on output.
+ + modify _nc_get_token() to reset the token's string value in case
+ there is a string-typed token lacking the "=" marker.
+ + fix a few memory leaks in _nc_tgetent.
+ + fix a few places where reading from a termcap file could refer to
+ freed memory.
+ + add an overflow check when converting terminfo/termcap numeric
+ values, since terminfo stores those in a short, and they must be
+ positive.
+ + correct internal variables used for translating to termcap "%>"
+ feature, and translating from termcap %B to terminfo, needed by
+ tctest (cf: 19991211).
+ + amend a minor fix to acsc when loading a termcap file to separate it
+ from warnings needed for tic (cf: 20040710)
+ + modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
+ a termcap file to be handled via TERMINFO_DIRS.
+ + modify _nc_infotocap() to include non-mandatory padding when
+ translating to termcap.
+ + modify _nc_read_termcap_entry(), passing a flag in the case where
+ getcap is used, to reduce interactive warning messages.
+
+20110723
+ + add a check in start_color() to limit color-pairs to 256 when
+ extended colors are not supported (patch by David Benjamin).
+ + modify setcchar to omit no-longer-needed OR'ing of color pair in
+ the SetAttr() macro (patch by David Benjamin).
+ + add kich1 to sun terminfo entry (Yuri Pankov)
+ + use bold rather than reverse for smso in sun-color terminfo entry
+ (Yuri Pankov).
+ + improve generation of termcap using tic/infocmp -C option, e.g.,
+ to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
+ regarding Schilling's test program):
+ + translate %02 and %03 to %2 and %3 respectively.
+ + suppress string capabilities which use %s, not supported by tgoto
+ + use \040 rather than \s
+ + expand null characters as \200 rather than \0
+ + modify configure script to support shared libraries for DragonFlyBSD.
+
+20110716
+ + replace an assert() in _nc_Free_Argument() with a regular null
+ pointer check (report/analysis by Franjo Ivancic).
+ + modify configure --enable-pc-files option to take into account the
+ PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
+ + add/use xterm+tmux chunk from xterm #271 -TD
+ + resync xterm-new entry from xterm #271 -TD
+ + add E3 extended capability to linux-basic (Miroslav Lichvar)
+ + add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
+ + add SI/SO change to linux2.6 entry (Debian #515609) -TD
+ + fix inconsistent tabset path in pcmw (Todd C. Miller).
+ + remove a backslash which continued comment, obscuring altos3
+ definition with OpenBSD toolset (Nicholas Marriott).
+
+20110702
+ + add workaround from xterm #271 changes to ensure that compiler flags
+ are not used in the $CC variable.
+ + improve support for shared libraries, tested with AIX 5.3, 6.1 and
+ 7.1 with both gcc 4.2.4 and cc.
+ + modify configure checks for AIX to include release 7.x
+ + add loader flags/libraries to libtool options so that dynamic loading
+ works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
+ at gentoo prefix repository (patch by Michael Haubenwallner).
+
+20110626
+ + move include of nc_termios.h out of term_entry.h, since the latter
+ is installed, e.g., for tack while the former is not (report by
+ Sven Joachim).
+
+20110625
+ + improve cleanup() function in lib_tstp.c, using _exit() rather than
+ exit() and checking for SIGTERM rather than SIGQUIT (prompted by
+ comments forwarded by Nicholas Marriott).
+ + reduce name pollution from term.h, moving fallback #define's for
+ tcgetattr(), etc., to new private header nc_termios.h (report by
+ Sergio NNX).
+ + two minor fixes for tracing (patch by Vassili Courzakis).
+ + improve trace initialization by starting it in use_env() and
+ ripoffline().
+ + review old email, add details for some changelog entries.
+
+20110611
+ + update minix entry to minix 3.2 (Thomas Cort).
+ + fix a strict compiler warning in change to wattr_get (cf: 20110528).
+
+20110604
+ + fixes for MirBSD port:
+ + set default prefix to /usr.
+ + add support for shared libraries in configure script.
+ + use S_ISREG and S_ISDIR consistently, with fallback definitions.
+ + add a few more checks based on ncurses/link_test.
+ + modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type.
+
+20110528
+ + add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
+ + used ncurses/link_test to check for behavior when the terminal has
+ not been initialized and when an application passes null pointers
+ to the library. Added checks to cover this (prompted by Redhat
+ #707344).
+ + modify MKlib_gen.sh to make its main() function call each function
+ with zero parameters, to help find inconsistent checking for null
+ pointers, etc.
+
20110521
+ fix warnings from clang 2.7 "--analyze"
+ correction to #317.
> patch 317 (ESR):
+ re-add _nc_hash_map
- + modify EmitRange to maintain position as per original design.
- + add hashtest.c, program to time the hashmap optimization.
+ + modify EmitRange to maintain position as per original design
+ (patch by A. Lukyanov).
+ + modify test/ncurses.c and tputs, etc., to allow trace counting
+ output characters.
+ + add hashtest.c program to time the hashmap optimization.
> patch 316 (ESR):
+ add logic to deal with magic-cookie (how was this tested?)
(lib_doupdate.c).
+ add ncurses.c driver for magic-cookie, some fixes to ncurses.c
> patch 315 (ESR):
- + merged Alexander V Lukyanov's patch to use ech and rep - untested
- (lib_doupdate.c).
+ + merge changes to lib_doupdate.c to use ech and rep - untested
+ (patch by Alexander V Lukyanov).
+ modified handling of interrupted system calls - untested
(lib_getch.c, lib_twait.c).
+ new function _nc_mvcur_resume()
+ corrected typo in dtterm description.
> patch 313 (ESR):
+ add dtterm description
- + clarify ncurses 'i' test (drop vscanf subtest)
+ + clarify ncurses 'i' test (drop mvwscanw subtest)
960810 - snapshot
+ correct nl()/nonl() to work as per SVr4 & XSI.
> patch 312 (ESR):
correct terminfo.src corrupted by #310
> patch 311 (ESR):
- + fix idlok() and idcok() and the default of the idlok switch.
+ + fix idlok() and idcok() and the default of the idlok switch (report
+ by Ville Sulko).
960803 - snapshot
+ corrected tparm to handle capability strings without explicit pop
> patch 310 (ESR):
+ documentation and prototyping errors for has_color, immedok and idcok
(reported by William P Setzer <wsetzer@pams.ncsu.edu>)
- + updated qnx terminfo entry (by Michael Hunter)
+ + updated qnx terminfo entry (patch by Michael Hunter)
960730
+ eliminate quoted includes in ncurses subdirectory, ensure config.h
+ call cbreak() in initscr(), as per XSI & SVr4.
+ turn off hardware echo in initscr() as per XSI & SVr4
> patch 309 (ESR):
- + terminfo changes (9.3.10), from BRL
+ + terminfo changes (9.3.9), from BRL
+ add more checks to terminfo parser.
+ add more symbols to infocmp.
> patch 308 (ESR):
+ terminfo changes (9.3.8)
+ modified logic of error-reporting in terminfo parser
+ + fix option-processing bug in toe.
960713 - snapshot
+ always check for <sys/bsdtypes.h> since ISC needs it to declare
by Juergen Pfeifer, Mike Long)
+ add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
+ corrected prototype for delay_output() -- bump ABI to 3.2
- + terminfo patches #306/307 (ESR).
+ + patch 307 (ESR):
+ + enable more translations of nonstandard caps, and document them.
+ + misc/terminfo.src update to 9.13.8
+ + patch 306 (ESR):
+ moved logic that filters out rmul and rmso from setupterm to newterm
where it is less likely to interfere with termcap applications.
+ + cosmetic fixes to test/ncurses.c
+ + modify open() call in ncurses/read_entry.c to use O_RDONLY symbol
+ rather than constant (report by mib).
+ + misc/terminfo.src sgr0 and acsc changes (report by Philippe De
+ Muyter).
+ + modify ncurses/comp_parse.c so that entries containing a "+" can
+ have missing rmcup vs smcup.
960707
+ rollback ESR's #305 change to terminfo.src (it breaks existing
+ make lib_vidattr.c more readable using macros.
+ filter out rmul, rmso that conflict with sgr0 when reading terminal
descriptions.
- + added sanity-checking of various paired string attributes (ESR).
+ work around autoconf bug, force $INSTALL to absolute path
(reported by Zeyd).
+ modify man-page install for BSDI to install preformatted .0 files
+ disable scrollok during the ncurses 'p' test; if it is enabled the
stdscr will scroll when putting the box-corners in the lower-right
of the screen.
+ > patch 305 (ESR):
+ + added sanity-checking of various paired string attributes.
+ + misc/terminfo.src update to 9.13.7 (report by A. Lukyanov).
+ + modify man/Makefile.in to make terminfo.5 during normal build.
+ > patch 304 (ESR):
+ + corrected allocation-length for $HOME/.terminfo path.
960629 - snapshot
+ check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
+ better fix for nvi refresh-bug (Rick Marshall)
+ fix for bug in handling of interrupted keystroke waits,
(Werner Fleck).
+ + misc/ncurses-intro.html syntax fix (Kajiyama Tamito).
960601 - snapshot
+ auto-configure man-page compression-format and renames for Debian.
+ include sys/types.h in case stdlib.h does not declare size_t.
+ fixes for makefile (Tim Mooney)
+ fixes for menus & forms (Juergen Pfeifer)
+ > patch 302 (ESR):
+ + improve hash function (suggested by Alexander V Lukyanov).
+ + 9.13.4 update for terminfo.src
960518 - snapshot
+ revised ncurses.c panner test, let pad abut all 4 sides of screen.
confusion, and made this check for the /usr/lib/terminfo pre-existing
directory.
> patches 299-301 (ESR):
+ + html fixes (Phillippe de Muyter).
+ + fix typo in ncurses-intro.html (report by Fabrizio Polacco).
+ added hashmap.c
+ mods to tracing, especially for ACS chars.
+ corrected off-by-one in IDCtransform.
> patches 297, 298 (ESR):
+ implement TERMINFO_DIRS, and -o option of tic
+ added TRACE_IEVENT
- + removed boolean version of 'getm'
- + added lib_print.c (for Rick Marshall)
- + added has_key()
+ + fix REQ_TOGGLE_ITEM in menu/menu_driver.c; it could select but not
+ deselect.
+ + added lib_print.c (request by Rick Marshall).
+ + added has_key() (request by Juergen Pfeifer).
+ + do not issue clrtoeol or clrtobot if the relevant portion of the line
+ is already blank (analysis by Keith Bostic).
+ + add parentheses for parameters of COLOR_PAIR and PAIR_NUMBER macros
+ (analysis by Jurgen Eidt).
+ + update screen's notion of cursor position in endwin() (analysis by
+ Alexander Lukyanov).
+ added 't' to ncurses.c test.
+ moved delay_output() to lib_tputs.c
+ removed tparam() (was added in 1.9.9, but conflicts with emacs and
is not part of X/Open Curses).
+ + removed boolean version of 'getm'.
+ misc cursor & optimization fixes.
960504 - snapshot
+ make TIOCGWINSZ configure test less stringent, in case user
configures via terminal that cannot get screen size.
> patches 295, 296 (ESR):
- + new "-e" option of tic.
- + fix for "infocmp -e".
- + restore working-directory in read_termcap.c
+ split lib_kernel.c, lib_setup.c and names.c in order to reduce
overhead for programs that use only termcap features.
+ + new "-e" and "-h" options of tic (request by Tony Nugent).
+ + fix bug in mandatory-delay logic in lib_tputs.c (report by Sven
+ Verdoolaege).
+ + fix for "infocmp -e" to emit correct initializers (reported by Manual
+ J Novoa III).
+ + restore working-directory in read_termcap.c (report by Kayvan
+ Sylvan).
+ + use "-h" option on Solaris when generating shared libraries on
+ Solaris 2.5 to record the library name in the file, for assisting
+ the loader (patch by Scott Kramer).
+ + undo patch #294 changes to form and menu libraries (request by
+ Juergen Pfeifer).
960418 - snapshot
+ use autoconf 2.9
definitions via <termios.h>, modified macros in lib_raw.c to avoid
K&R-style substitution)
> patches 293, 294 (ESR):
- + mods to wgetch() in cooked mode
- + corrected askuser() logic in tset
- + correct interaction of endwin() with mouse processing
+ + rewrite wsyncup(), wsyncdown(), as well as small fixes to form and
+ menu libraries to fix echo-breakage introduced by 1.8.9, 1.9.9e
+ changes (patches by Juergen Pfeifer).
+ + fix compile under QNX 4.2 by defining ONLCR in lib_raw.c when
+ __QNX__ is defined (patch by Michael Hunter).
+ + modify setupterm() to match documentation for its return value, fix
+ newterm to work with this change (report by Emmet Lazich).
+ + add checks in getch() for error, return ERR as appropriate (report by
+ Emmet Lazich).
+ + mods to wgetch() in cooked mode (report by Pete Seebach).
+ + corrected askuser() logic in tset (patch by Remco Treffkorn).
+ + correct interaction of endwin() with mouse processing (report by
+ Michael Elkins).
+ added trace support for TTY flags
+ + update terminfo.src to 9.13.1
+ + FreeBSD console entries (patch by Andrew Chernov).
960406
+ fixes for NeXT, ISC and HPUX auto-configure