+ correct prototype in manpage for vid_puts.
+ drop ncurses/tty/tty_display.h, ncurses/tty/tty_input.h, since they
are unused in the current driver model.
+ modify mvcur to use stdout except when called within the ncurses
library.
+ modify vidattr and vid_attr to use stdout as documented in manpage.
+ amend changes made to buffering in 20120825 so that the low-level
putp() call uses stdout rather than ncurses' internal buffering.
The putp_sp() call does the same, for consistency (Redhat #892674).
+ add "-s" option to test/view.c to allow it to start in single-step
mode, reducing size of trace files when it is used for debugging
MinGW changes.
+ revert part of 20121222 change to tinfo_driver.c
+ add experimental logic in win_driver.c to improve optimization of
screen updates. This does not yet work with double-width characters,
so it is ifdef'd out for the moment (prompted by report by Erwin
Waterlander regarding screen flicker).
+ fix coverity warnings regarding copying into fixed-size buffers.
+ add throw-declarations in the c++ binding per Coverity warning.
+ minor changes to new-items for consistent reference to bug-report
numbers.
+ fix several warnings from clang 3.1 --analyze, includes correcting
a null-pointer check in _nc_mvcur_resume.
+ correct display of double-width characters with MinGW port (report
by Erwin Waterlander).
+ replace MinGW's wcrtomb(), fixing a problem with _nc_viscbuf
> fixes based on Coverity report:
+ correct coloring in test/bs.c
+ correct check for 8-bit value in _nc_insert_ch().
+ remove dead code in progs/tset.c, test/linedata.h
+ add null-pointer checks in lib_tracemse.c, panel.priv.h, and some
test-programs.
+ modify test/knight.c to show the number of choices possible for
each position in automove option, e.g., to allow user to follow
Warnsdorff's rule to solve the puzzle.
+ modify test/hanoi.c to show the minimum number of moves possible for
the given number of tiles (prompted by patch by Lucas Gioia).
> fixes based on Coverity report:
+ remove a few redundant checks.
+ correct logic in test/bs.c, when randomly placing a specific type of
ship.
+ check return value from remove/unlink in tic.
+ check return value from sscanf in test/ncurses.c
+ fix a null dereference in c++/cursesw.cc
+ fix two instances of uninitialized variables when configuring for the
terminal driver.
+ correct scope of variable used in SetSafeOutcWrapper macro.
+ set umask when calling mkstemp in tic.
+ initialize wbkgrndset() temporary variable when extended-colors are
used.
+ also replace MinGW's wctomb(), fixing a problem with setcchar().
+ modify test/view.c to load UTF-8 when built with MinGW by using
regular win32 API because the MinGW functions mblen() and mbtowc()
do not work.
+ correct order of color initialization versus display in some of the
test-programs, e.g., test_addstr.c
> fixes based on Coverity report:
+ delete windows on exit from some of the test-programs.
> fixes based on Coverity report:
+ add missing braces around FreeAndNull in two places.
+ various fixes in test/ncurses.c
+ improve limit-checks in tinfo/make_hash.c, tinfo/read_entry.c
+ correct malloc size in progs/infocmp.c
+ guard against negative array indices in test/knight.c
+ fix off-by-one limit check in test/color_name.h
+ add null-pointer check in progs/tabs.c, test/bs.c, test/demo_forms.c,
test/inchs.c
+ fix memory-leak in tinfo/lib_setup.c, progs/toe.c,
test/clip_printw.c, test/demo_menus.c
+ delete unused windows in test/chgat.c, test/clip_printw.c,
test/insdelln.c, test/newdemo.c on error-return.
+ 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.
+ improve CF_GCC_VERSION to work around Debian's customization of gcc
--version message.
+ improve configure macros as done in byacc:
+ drop 2.13 compatibility; use 2.52.xxxx version only since EMX port
has used that for a while.
+ add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e.,
for experimental use.
+ remove unused configure macros.
+ modify configure script and makefiles to quiet new autoconf warning
for LIBS_TO_MAKE variable.
+ modify configure script to show $PATH_SEPARATOR variable.
+ update config.guess, config.sub
+ add a null-pointer check in _nc_flush (cf: 20120825).
+ fix a case in _nc_scroll_optimize() where the _oldnums_list array
might not be allocated.
+ improve comparisons in configure.in for unset shell variables.
+ update autoconf patch to 2.52.20120811, adding --datarootdir
(prompted by discussion with Erwin Waterlander).
+ improve description of --enable-reentrant option in README and the
INSTALL file.
+ add nsterm-256color, make this the default nsterm -TD
+ remove bw from nsterm-bce, per testing with tack -TD
+ update test/configure, adding check for tinfo library.
+ improve limit-checks for the getch fifo (report by Werner Fink).
+ fix a remaining mismatch between $with_echo and the symbols updated
by CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by
Sven Joachim, cf: 20120317).
+ modify followup check for pkg-config's library directory in the
--enable-pc-files option to validate syntax (report by Sven Joachim,
cf: 20110716).
+ improved form_request_by_name() and menu_request_by_name().
+ eliminate two fixed-size buffers in toe.c
+ extend use_tioctl() to have expected behavior when use_env(FALSE) and
use_tioctl(TRUE) are called.
+ modify ncurses test-program, adding -E and -T options to demonstrate
use_env() versus use_tioctl().
+ add ncurses_mingw.h to installed headers (prompted by patch by
Juergen Pfeifer).
+ clarify return-codes from wgetch() in response to SIGWINCH (prompted
by Novell #769788).
+ modify resizeterm() to always push a KEY_RESIZE onto the fifo, even
if screensize is unchanged. Modify _nc_update_screensize() to push a
KEY_RESIZE if there was a SIGWINCH, even if it does not call
resizeterm(). These changes eliminate the case where a SIGWINCH is
received, but ERR returned from wgetch or wgetnstr because the screen
dimensions did not change (Novell #769788).
+ add --enable-interop to sample package scripts (suggested by Juergen
Pfeifer).
+ update CF_PATH_SYNTAX macro, from mawk changes.
+ modify mk-0th.awk to allow for generating llib-ltic, etc., though
some work is needed on cproto to work with lib_gen.c to update
llib-lncurses.
+ remove redundant getenv() cal in database-iterator leftover from
cleanup in 20120622 changes (report by Sven Joachim).
+ add -d, -e and -q options to test/demo_terminfo and test/demo_termcap
+ fix caching of environment variables in database-iterator (patch by
Philippe Troin, Redhat #831366).
+ add configure check to distinguish clang from gcc to eliminate
warnings about unused command-line parameters when compiler warnings
are enabled.
+ improve behavior when updating terminfo entries which are hardlinked
by allowing for the possibility that an alias has been repurposed to
a new primary name.
+ fix some strict compiler warnings based on package scripts.
+ further fixes for configure check for working poll (Debian #676461).
+ corrected 'op' for bterm (report by Samuel Thibault) -TD
+ modify test/background.c to demonstrate a background character
holding a colored ACS_HLINE. The behavior differs from SVr4 due to
the thick- and double-line extension (cf: 20091003).
+ modify handling of acs characters in PutAttrChar to avoid mapping an
unmapped character to a space with A_ALTCHARSET set.
+ rewrite vt520 entry based on vt420 -TD
+ update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317).
+ correct order of use-clauses in st-256color -TD
+ modify configure script to look for gnatgcc if the Ada95 binding
is built, in preference to the default gcc/cc (suggested by
Nicolas Boulenguez).
+ modify configure script to ensure that the same -On option used for
the C compiler in CFLAGS is used for ADAFLAGS rather than simply
using -O3 (suggested by Nicolas Boulenguez)
+ correct a check made in lib_napms.c, so that terminfo applications
can again use napms() (cf: 20110604).
+ add a note in tic.h regarding required casts for ABSENT_BOOLEAN
(cf: 20040327).
+ correct scripting for --disable-echo option in test/configure.
+ amend check for missing c++ compiler to work when no error is
reported, and no variables set (cf: 20021206).
+ add/use configure macro CF_DISABLE_ECHO.
+ minor tidying of terminfo.tail, clarify reason for limitation
regarding mapping of \0 to \200
+ minor improvement to _nc_copy_termtype(), using memcpy to replace
loops.
+ fix no-leaks checking in test/demo_termcap.c to account for multiple
calls to setupterm().
+ modified the libgpm change to show previous load as a problem in the
debug-trace.
> merge some patches from OpenSUSE rpm (Werner Fink):
+ ncurses-5.7-printw.dif, fixes for varargs handling in lib_printw.c
+ ncurses-5.7-gpm.dif, do not dlopen libgpm if already loaded by
runtime linker
+ ncurses-5.6-fallback.dif, do not free arrays and strings from static
fallback entries
+ add --with-lib-prefix option to allow configuring for old/new flavors
of OS/2 EMX.
+ modify check for gnat version to allow for year, as used in FreeBSD
port.
+ modify check_existence() in db_iterator.c to simply check if the
path is a directory or file, according to the need. Checking for
directory size also gives no usable result with OS/2 (cf: 20120107).
+ support OS/2 kLIBC (patch by KO Myung-Han).
+ several improvements to test/movewindow.c (prompted by discussion on
Linux Mint forum):
+ modify movement commands to make them continuous
+ rewrote the test for mvderwin
+ rewrote the test for recursive mvwin
+ split-out reusable CF_WITH_NCURSES_ETC macro in test/configure.in
+ updated configure macro CF_XOPEN_SOURCE, build-fixes for Mac OS X
and OpenBSD.
+ regenerated html manpages.
+ various improvments for MinGW (Juergen Pfeifer):
+ various improvments for MinGW (patch by Juergen Pfeifer):
+ modify stat() calls to ignore the st_size member
+ drop mk-dlls.sh script.
+ change recommended regular expression library.
+ modify rain.c to allow for threaded configuraton.
+ modify tset.c to allow for case when size-change logic is not used.
+ modify configure script to check if thread library provides
pthread_mutexattr_settype(), e.g., not provided by Solaris 2.6
+ modify configure script to suppress check to define _XOPEN_SOURCE
for IRIX64, since its header files have a conflict versus
_SGI_SOURCE.
+ modify configure script to add ".pc" files for tic- and
tinfo-libraries, which were omitted in recent change (cf: 20111126).
+ fix inconsistent checks on $PKG_CONFIG variable in configure script.
+ correct database iterator's check for duplicate entries
(cf: 20111001).
+ modify database iterator to ignore $TERMCAP when it is not an
absolute pathname.
+ add -D option to tic, to show the database locations that it could
use.
+ improve description of database locations in tic manpage.
+ modify the configure script to generate a list of the ".pc" files to
generate, rather than deriving the list from the libraries which have
been built (patch by Mike Frysinger).
+ use AC_CHECK_TOOLS in preference to AC_PATH_PROGS when searching for
ncurses*-config, e.g., in Ada95/configure and test/configure (adapted
from patch by Mike Frysinger).
+ add pccon entries for OpenBSD console (Alexei Malinin).
+ build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to
600 to work around inconsistent ifdef'ing of wcstof between C and
C++ header files.
+ modify capconvert script to accept more than exact match on "xterm",
e.g., the "xterm-*" variants, to exclude from the conversion (patch
by Robert Millan).
+ add -lc_r as alternative for -lpthread, allows build of threaded code
in older FreeBSD machines.
+ build-fix for MirBSD, which fails when either _XOPEN_SOURCE or
_POSIX_SOURCE are defined.
+ fix a typo misc/Makefile.in, used in uninstalling pc-files.
+ 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).
+ 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).
+ 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).
+ 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).
+ 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 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).
+ compiler-warning fixes in panel and progs.
+ modify CF_PKG_CONFIG macro, from changes to tin -TD
+ modify CF_CURSES_FUNCS configure macro, used in test directory
configure script:
+ work around (non-optimizer) bug in gcc 4.2.1 which caused
test-expression to be omitted from executable.
+ force the linker to see a link-time expression of a symbol, to
help work around weak-symbol issues.
+ update discussion of MKfallback.sh script in INSTALL; normally the
script is used automatically via the configured makefiles. However
there are still occasions when it might be used directly by packagers
(report by Gunter Schaffler).
+ modify misc/ncurses-config.in to omit the "-L" option from the
"--libs" output if the library directory is /usr/lib.
+ change order of tests for curses.h versus ncurses.h headers in the
configure scripts for Ada95 and test-directories, to look for
ncurses.h, from fixes to tin -TD
+ modify ncurses/tinfo/access.c to account for Tandem's root uid
(report by Joachim Schmitz).
+ 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.
+ regen Ada html documentation.
+ change order of -I options from ncurses*-config script when the
--disable-overwrite option was used, so that the subdirectory include
is listed first.
+ modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
+ modify configure script to provide value for HTML_DIR in
Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
distributed separately (report by Nicolas Boulenguez).
+ modify configure script to add -g and/or -O3 to ADAFLAGS if the
CFLAGS for the build has these options.
+ amend change from 20070324, to not add 1 to the result of getmaxx
and getmaxy in the Ada binding (report by Nicolas Boulenguez for
thread in comp.lang.ada).
+ build-fix Ada95/samples for gnat 4.5
+ spelling fixes for Ada95/samples/explain.txt
> fixes for Ada95 binding (Nicolas Boulenguez):
+ add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
+ add workaround for binding to set_field_type(), which uses varargs.
The original binding from 990220 relied on the prevalent
implementation of varargs which did not support or need va_copy().
+ add dependency on gen/Makefile.in needed for *-panels.ads
+ add Library_Options to library.gpr
+ add Languages to library.gpr, for gprbuild
+ update release notes, for 5.8.
+ regenerated html manpages.
+ change open() in _nc_read_file_entry() to fopen() for consistency
with write_file().
+ modify misc/run_tic.in to create parent directory, in case this is
a new install of hashed database.
+ fix typo in Ada95/mk-1st.awk which causes error with original awk.
+ add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
+ start documenting interface changes for upcoming 5.8 release.
+ correct limit-checks in derwin().
+ correct limit-checks in newwin(), to ensure that windows have nonzero
size (report by Garrett Cooper).
+ fix a missing "weak" declaration for pthread_kill (patch by Nicholas
Alcock).
+ improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
by discussion with Kevin Martin).
+ 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
+ modify nc_tparm.h, adding guards against repeated inclusion, and
allowing TPARM_ARG to be overridden.
+ fix some strict compiler warnings in ncurses library.
+ suppress ncv in screen entry, allowing underline (patch by Alejandro
R Sedeno).
+ also suppress ncv in konsole-base -TD
+ fixes in wins_nwstr() and related functions to ensure that special
characters, i.e., control characters are handled properly with the
wide-character configuration.
+ correct a comparison in wins_nwstr() (Redhat #661506).
+ correct help-messages in some of the test-programs, which still
referred to quitting with 'q'.
+ modify test/configure and test/Makefile.in to handle this special
case of building within a build-tree (Debian #34182):
mkdir -p build && cd build && ../test/configure && make