+ modify rpm test-package ".spec" file to work around naming conflict
with Redhat's package for ncurses6.
+ modify no-leaks code in test/picsmap to avoid non-standard tdestroy.
+ amend change to configure script which altered the top-level makefile
to avoid attempting to install the terminfo database when it was not
configured, to allow for installing the ".pc" files which are also
in the misc directory (report by Steve Wills).
+ improve manual page for wgetnstr, giving background for the length
parameter.
+ define a limit for wgetnstr, wgetn_wstr when length is negative or
"too large".
+ update configure script to autoconf 2.52.20180819 (Debian #887390).
+ build-fix for ncurses-examples with Fedora27, adding check for
reset_color_pairs() -- not yet in Fedora's package.
+ consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
script when the latter happens to use the C compiler rather than
directly using the loader (report by Jeffrey Walton).
+ set ABI for upcoming 6.1 release in "*.map" files. While there are
some remaining internals to apply, no ABI-related changes are
anticipated.
+ add configure --with-config-suffix option to work around filename
conflict with Redhat packages versus test-packages.
+ improve man/curs_inwstr.3x, correct end-logic for lib_inwstr.c
(report by Midolikawa H).
+ fix typo in a few places for "improvements" (patch by Sven Joachim).
+ clear the other half of a double-width character on which a line
drawing character is drawn.
+ make test/ncurses.c "s" test easier to understand which subtests are
available; add a "S" wide-character overlap test-screen.
+ modify test/ncurses.c C/c tests to allow for extended color pairs.
+ add endwin() call in error-returns from test/ncurses.c omitted in
recent redesign of its menu (cf: 20170923).
+ improve install of hashed-db by removing the ".db" file as done for
directory-tree terminal databases.
+ repair a few overlooked items in include/ncurses_defs from recent
port/refactoring of test-programs (cf: 20170909).
+ add test/padview.c, to compare pads with direct updates in view.c
+ fix a symbol conflict that made ncurses.c C/c menu not work with
Solaris xpg4 curses.
+ add refresh() call to dots_mvcur.c, needed to use mvcur() with
Solaris xpg4 curses after calling newterm().
+ minor fixes for configure script from work on ncurses-examples and
tin.
+ improve animation in test/xmas.c by adding a time-delay in blinkit().
+ modify several test programs to reflect that ncurses honors existing
signal handlers in initscr(), while other implementations do not.
+ modify bs.c to make it easier to quit.
+ change ncurses-examples to use attr_t vs chtype to follow X/Open
documentation more closely since Solaris xpg4-curses uses different
values for WA_xxx vs A_xxx that rely on attr_t being an unsigned
short. Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the
two sets.
+ improve wide-character implementation of myADDNSTR() in frm_driver.c,
which was inconsistent with the normal implementation.
+ save/restore cursor position in Undo_Justification(), matching
behavior of Buffer_To_Window() (report by Leon Winter).
+ modify test/knight to provide the "slow" solution for small screens
using "R", noting that Warnsdorf's method is easily done with "a".
+ modify several test-programs which call use_default_colors() to
consistently do this only if "-d" option is given.
+ additional changes to test with non-standard variants of curses:
+ modify a loop limit in firework.c to work around absense of limit
checks in some libraries.
+ fill the last row of a window with "?" in firstlast if waddch does
not return ERR on the lower-right corner.
+ add checks in test/configure for some functions not in 4.3BSD curses.
+ fix a regression in test/configure (cf: 20170826).
+ fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
+ corrected a warning from tic about keys which are the same, to skip
over missing/cancelled values.
+ add check in tic for unnecessary use of "2" to denote a shifted
special key.
+ improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for
cancelled string capabilities.
+ add check in _nc_parse_entry() for invalid entry name, setting the
name to "invalid" to avoid problems storing entries.
+ add/improve checks in tic's parser to address invalid input
+ add a check in comp_scan.c to handle the special case where a
nontext file ending with a NUL rather than newline is given to tic
as input (Redhat #1484274).
+ allow for cancelled capabilities in _nc_save_str (Redhat #1484276).
+ add validity checks for "use=" target in _nc_parse_entry (Redhat
#1484284).
+ check for invalid strings in postprocess_termcap (Redhat #1484285)
+ reset secondary pointers on EOF in next_char() (Redhat #1484287).
+ guard _nc_safe_strcpy() and _nc_safe_strcat() against calls using
cancelled strings (Redhat #1484291).
+ correct typo in curs_memleaks.3x (Sven Joachim).
+ improve test/configure checks for some curses variants not based on
X/Open Curses.
+ add options for test/configure to disable checks for form, menu and
panel libraries.
+ improve description of -R option in infocmp manual page (report by
Stephane Chazelas).
+ add reset_color_pairs() function.
+ add user_caps.5 manual page to document the terminfo extensions used
by ncurses.
+ improve build scripts, using SIGQUIT vs SIGTRAP; add other configure
script fixes from work on xterm, lynx and tack.
+ modify install-rule for ncurses-examples to put the data files in
/usr/share/ncurses-examples
+ improve tracemunch, by changing address-parameters of add_wch(),
color_content() and pair_content() to dummy parameters.
+ minor optimization to _nc_change_pair, to return quickly when the
current screen is marked for clearing.
+ in-progress changes to improve performance of test/picsmap.c for
loading image files.
+ modify allocation for SCREEN's color-pair table to start small, grow
on demand up to the existing limit.
+ add "RGB" extension capability for direct-color support, use this to
improve color_content().
+ improve picsmap test-program:
+ if no palette file is needed, attempt to load one based on $TERM,
checking first in the current directory, then by adding ".dat"
suffix, and finally in the data-directory, e.g.,
/usr/share/ncurses-examples
+ add "-l" option for logging
+ add "-d" option for debugging
+ add "-s" option for stepping automatically through list of images,
with time delay.
+ use tsearch to improve time for loading color table for images.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
+ modify c++/etip.h.in to accommodate deprecation of throw() and
throws() in c++17 (prompted by patch by Romain Geissler).
+ remove some incorrect calls for memory-leaks from 20170617 changes
(report by Allen Hewes).
+ add test-programs for termattrs and term_attrs.
+ modify _nc_outc_wrapper to use the standard output if the screen was
not initialized, rather than returning an error.
+ improve checks for low-level terminfo functions when the terminal
has not been initialized (Redhat #1345963).
+ modify make_hash to allow building with address-sanitizer,
assuming that --disable-leaks is configured.
+ amend changes for number_format() in 20170506 to avoid undefined
behavior when shifting (patch by Emanuele Giaquinta).
+ minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
+ add smso for env230, to match sgr -TD
+ remove p7/protect from sgr in fbterm -TD
+ drop setf/setb from fbterm; setaf/setab are enough -TD
+ make xterm-pcolor sgr consistent with other capabilities -TD
+ add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
(discussion with Nicholas Marriott)
+ add test-programs sp_tinfo and extended_color
+ modify no-leaks code for lib_cur_term.c to account for the tgetent()
cache.
+ modify setupterm() to save original tty-modes so that erasechar()
works as expected. Also modify _nc_setupscreen() to avoid redundant
calls to get original tty-modes.
+ modify set_curterm() to update ttytype[] data used by longname().
+ modify wattr_set() and wattr_get() to return ERR if win-parameter is
null, as documented.
+ improve cast used for null-pointer checks in header macros, to
reduce compiler warnings.
+ modify several functions, using the reserved "opts" parameter to pass
color- and pair-values larger than 16-bits:
+ getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
wattr_set(), wchgat(), wcolor_set().
+ Other functions call these with the corresponding altered behavior,
including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
slk_color_off(), vid_attr().
+ add new functions for manipulating color- and pair-values larger
than 16-bits. These are extended_color_content(),
extended_pair_content(), extended_slk_color(), init_extended_color(),
init_extended_pair(), and the corresponding sp-funcs.
+ modify vt100 rs2 string to reset vt52 mode and scrolling regions
(report/analysis by Robert King) -TD
+ add vt100+4bsd building block, use that for older terminals rather
than "vt100" which is now mostly used as a building block for
terminal emulators -TD
+ correct a few spelling errors in terminfo.src comments -TD
+ add fbterm -TD
+ fix a typo in ncurses.c test_attr legend (patch by Petr Vanek).
+ changed internal colorpair_t to a struct, eliminating an internal
8-bit limit on colors
+ add ncurses/new_pair.h
+ add ncurses/base/new_pair.c with alloc_pair(), find_pair() and
free_pair() functions
+ add test/demo_new_pair.c
+ trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
Leon Winter).
+ trim some obsolete/incorrect wording about EINTR from wgetch manual
page (patch by Leon Winter).
+ really correct 20100515 change (patch by Rich Coe).
+ add "--enable-string-hacks" option to test/configure
+ completed string-hacks for "sprintf", etc., including test-programs.
+ make "--enable-string-hacks" work with Debian by checking for the
"bsd" library and its associated "<bsd/string.h>" header.
+ add "-f" option to test/savescreen.c to help with testing/debugging
the extended putwin/getwin.
+ add logic for writing/reading combining characters in the extended
putwin/getwin.
+ add "--enable-ext-putwin" configure option to turn on the extended
putwin/getwin.
+ in-progress changes to provide an extended version of putwin and
getwin which will be capable of reading screen-dumps between the
wide/normal ncurses configurations. These are text files, except
for a magic code at the beginning:
0 string \210\210 Screen-dump (ncurses)
+ make workarounds for compiling test-programs with NetBSD curses.
+ improve configure macro CF_ADD_LIBS, to eliminate repeated -l/-L
options, from xterm changes.
+ modify configure-script/ifdef's to allow OLD_TTY feature to be
suppressed if the type of ospeed is configured using the option
--with-ospeed to not be a short. By default, it is a short for
termcap-compatibility (adapted from suggestion by Christian
Weisgerber).
+ correct a typo in _nc_baudrate() (patch by Christian Weisgerber,
cf: 20061230).
+ fix a few -Wlogical-op warnings.
+ updated llib-l* files.
+ add fallback defs for <inttypes.h> and <stdint.h> (cf: 20120225).
+ add check for size of wchar_t, use that to suppress a chunk of
wcwidth.h in MinGW port.
+ quiet linker warnings for MinGW cross-compile with dll's using the
--enable-auto-import flag.
+ add ncurses.map rule to ncurses/Makefile to help diagnose symbol
table issues.
+ modify mvcur() to distinguish between internal use by the ncurses
library, and external callers, preventing it from reading the content
of the screen which is only nonblank when curses calls have updated
it. This makes test/dots_mvcur.c avoid painting colored cells in
the left margin of the display.
+ minor fix to test/dots_mvcur.c
+ move configured symbols USE_DATABASE and USE_TERMCAP to term.h as
NCURSES_USE_DATABASE and NCURSES_USE_TERMCAP to allow consistent
use of these symbols in term_entry.h
+ further fixes to mvcur to pass callback function (cf: 20130112),
needed to make test/dots_mvcur work.
+ reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
help reduce flicker.
+ modify configure script to omit "+b" from linker options for very
old HP-UX systems (report by Dennis Grevenstein)
+ add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
by Dennis Grevenstein).
+ restore memmove/strdup support for antique systems (request by
Dennis Grevenstein).
+ change %l behavior in tparm to push the string length onto the stack
rather than saving the formatted length into the output buffer
(report by Roy Marples, cf: 980620).
+ realign these related pages:
curs_add_wchstr.3x
curs_addchstr.3x
curs_addstr.3x
curs_addwstr.3x
and fix a long-ago error in curs_addstr.3x which said that a -1
length parameter would only write as much as fit onto one line
(report by Reuben Thomas).
+ remove obsolete fallback _nc_memmove() for memmove()/bcopy().
+ remove obsolete fallback _nc_strdup() for strdup().
+ cancel any debug-rpm in package/ncurses.spec
+ reviewed vte-2012, reverted most of the change since it was incorrect
based on testing with tack -TD
+ un-cancel the initc in vte-256color, since this was implemented
starting with version 0.20 in 2009 -TD
+ improve malloc/realloc checking (prompted by discussion in Redhat
#866989).
+ add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
+ updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST. The
first corrects pattern used for Mac OS X's customization of gcc.
+ modify configure script to allow creating dll's for MinGW when
cross-compiling.
+ add --enable-string-hacks option to control whether strlcat and
strlcpy may be used. The same issue applies to OpenBSD's warnings
about snprintf, noting that this function is weakly standardized.
+ add configure checks for strlcat, strlcpy and snprintf, to help
reduce bogus warnings with OpenBSD builds.
+ build-fix for OpenBSD 4.9 to supply consistent intptr_t declaration
(cf:20111231)
+ update config.guess, config.sub
+ review/fix places in manpages where --program-prefix configure option
was not being used.
+ add -D option to infocmp, to show the database locations that it
could use.
+ fix build for the special case where term-driver, ticlib and termlib
are all enabled. The terminal driver depends on a few features in
the base ncurses library, so tic's dependencies include both ncurses
and termlib.
+ fix build work for term-driver when --enable-wgetch-events option is
enabled.
+ use <stdint.h> types to fix some questionable casts to void*.
+ modify make_db_path() to allow creating "terminfo.db" in the same
directory as an existing "terminfo" directory. This fixes a case
where switching between hashed/filesystem databases would cause the
new hashed database to be installed in the next best location -
root's home directory.
+ add variable cf_cv_prog_gnat_correct to those passed to
config.status, fixing a problem with Ada95 builds (cf: 20111022).
+ change feature test from _XPG5 to _XOPEN_SOURCE in two places, to
accommodate broken implementations for _XPG6.
+ eliminate usage of NULL symbol from etip.h, to reduce header
interdependencies.
+ add configure check to decide when to add _XOPEN_SOURCE define to
compiler options, i.e., for Solaris 10 and later (cf: 20100403).
This is a workaround for gcc 4.6, which fails to build the c++
binding if that symbol is defined by the application, due to
incorrectly combining the corresponding feature test macros
(report by Peter Kruse).
+ 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.
+ add check in test/configure for use_window, use_screen.
+ add configure-checks for getopt's variables, which may be declared
as different types on some Unix systems.
+ add check in test/configure for some legacy curses types of the
function pointer passed to tputs().
+ modify init_pair() to accept -1's for color value after
assume_default_colors() has been called (Debian #337905).
+ modify test/background.c, adding commmand-line options to demonstrate
assume_default_colors() and use_default_colors().
+ fixes to build c++ binding with clang 3.0 (patch by Alexander
Kolesen).
+ add check for unctrl.h in test/configure, to work around breakage in
some ncurses packages.
+ add "--disable-widec" option to test/configure script.
+ add "--with-curses-colr" and "--with-curses-5lib" options to the
test/configure script to address testing with very old machines.
+ add special check in Ada95/configure script for ncurses6 reentrant
code.
+ regen Ada html documentation.
+ build-fix for Ada shared libraries versus the varargs workaround.
+ add rpm and dpkg scripts for Ada95 and test directories, for test
builds.
+ update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
CF_X_ATHENA_LIBS.
+ add configure check to determine if gnat's project feature supports
libraries, i.e., collections of .ali files.
+ make all dereferences in Ada95 samples explicit.
+ fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
+ add configure check for, ifdef's for math.h which is in a separate
package on Solaris and potentially not installed (report by Petr
Pavlu).
> fixes for Ada95 binding (Nicolas Boulenguez):
+ improve type-checking in Ada95 by eliminating a few warning-suppress
pragmas.
+ suppress unreferenced warnings.
+ make all dereferences in binding explicit.
+ modify Ada95/configure script to make the --with-curses-dir option
work without requiring the --with-ncurses option.
+ modify test programs to allow them to be built with NetBSD curses.
+ document thick- and double-line symbols in curs_add_wch.3x manpage.
+ document WACS_xxx constants in curs_add_wch.3x manpage.
+ fix some warnings for clang 2.6 "--analyze"
+ modify Ada95 makefiles to make html-documentation with the project
file configuration if that is used.
+ update config.guess, config.sub
+ miscellaneous build-fixes for Ada95 and test-directories when built
out-of-tree.
+ use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
+ fix typo in rmso for tek4106 entry -Goran Weinholt
+ add configure option --enable-pthreads-eintr to control whether the
new EINTR feature is enabled.
+ modify logic in pthread configuration to allow EINTR to interrupt
a read operation in wgetch() (Novell #540571, patch by Werner Fink).
+ drop mkdirs.sh, use "mkdir -p".
+ add configure option --disable-libtool-version, to use the
"-version-number" feature which was added in libtool 1.5 (report by
Peter Haering). The default value for the option uses the newer
feature, which makes libraries generated using libtool compatible
with the standard builds of ncurses.
+ updated test/configure to match configure script macros.
+ fixes for configure script from lynx changes:
+ improve CF_FIND_LINKAGE logic for the case where a function is
found in predefined libraries.
+ revert part of change to CF_HEADER (cf: 20100424)
+ generate manpages for the *-config scripts, adapted from help2man
(suggested by Sven Joachim).
+ use va_copy() in _nc_printf_string() to avoid conflicting use of
va_list value in _nc_printf_length() (report by Wim Lewis).
+ corrected gcc options for building shared libraries on IRIX64.
+ add configure check for awk programs unable to handle big-strings,
use that to improve the default for --enable-big-strings option.
+ makefile-fixes for --enable-weak-symbols (report by Frederic L W
Meunier).
+ update test/configure script.
+ adapt ifdef's from library to make test/view.c build when mbrtowc()
is unavailable, e.g., with HPUX 10.20.
+ add configure check for wcsrtombs, mbsrtowcs, which are used in
test/ncurses.c, and use wcstombs, mbstowcs instead if available,
fixing build of ncursew for HPUX 11.00
+ add configure option --enable-weak-symbols to turn on new feature.
+ add configure-check for availability of weak symbols.
+ modify linkage with pthread library to use weak symbols so that
applications not linked to that library will not use the mutexes,
etc. This relies on gcc, and may be platform-specific (patch by Dr
Werner Fink).
+ add note to INSTALL to document limitation of renaming of tic library
using the --with-ticlib configure option (report by Dr Werner Fink).
+ document (in manpage) why tputs does not detect I/O errors (prompted
by comments by Samuel Thibault).
+ fix remaining warnings from Klocwork report.
+ update test programs to build/work with various UNIX curses for
comparisons. This was to reinvestigate statement in X/Open curses
that insnstr and winsnstr perform wrapping. None of the Unix-branded
implementations do this, as noted in manpage (cf: 20040228).
+ add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
changes the CharEq() macro to an inline function to allow comparing
cchar_t struct's without comparing gaps in a possibly unpacked
memory layout (report by Miroslav Lichvar).
+ add a configure check for gcc's options for inlining, use that to
quiet a warning message where gcc's default behavior changed from
3.x to 4.x.
+ improve warning message when checking if GPM is linked to curses
library by not warning if its use of "wgetch" is via a weak symbol.
+ add loader options when building with static libraries to ensure that
an installed shared library for ncurses does not conflict. This is
reported as problem with Tru64, but could affect other platforms
(report Martin Mokrejs, analysis by Tim Mooney).
+ fix build on cygwin after recent ticlib/termlib changes, i.e.,
+ adjust TINFO_SUFFIX value to work with cygwin's dll naming
+ revert a change from 20070303 which commented out dependency of
SHLIB_LIST in form/menu/panel/c++ libraries.
+ fix initialization of ripoff stack pointer (cf: 20070421).
+ increase size of array in _nc_visbuf2n() to make "tic -v" work
properly in its similar_sgr() function (report/analysis by Peter
Santoro).
+ add --enable-reentrant configure option for ongoing changes to
implement a reentrant version of ncurses:
+ libraries are suffixed with "t"
+ wrap several global variables (curscr, newscr, stdscr, ttytype,
COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
functions returning values stored in SCREEN or cur_term.
+ move some initialization (LINES, COLS) from lib_setup.c,
i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
+ modify fix_wchnstr() in form library to strip attributes (and color)
from the cchar_t array (field cells) read from a field's window.
Otherwise, when copying the field cells back to the window, the
associated color overrides the field's background color (report by
Ricardo Cantu).
+ improve tracing for form library, showing created forms, fields, etc.
+ ignore --enable-rpath configure option if --with-shared was omitted.
+ add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
to allow leak-checking when both tic- and tinfo-libraries are built.
+ drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
no longer relies on it.
+ disallow combining configure script options --with-ticlib and
--enable-termcap (report by Rong-En Fan).
+ remove tack from ncurses tree.