Thomas E. Dickey [Sat, 13 Feb 2010 23:54:33 +0000 (23:54 +0000)]
ncurses 5.7 - patch
20100213
+ add several screen-bce.XXX entries -TD
Thomas E. Dickey [Sun, 7 Feb 2010 01:40:29 +0000 (01:40 +0000)]
ncurses 5.7 - patch
20100206
+ update mrxvt terminfo entry -TD
+ modify win_driver.c to support mouse single-clicks.
+ correct name for termlib in ncurses*-config, e.g., if it is renamed
to provide a single file for ncurses/ncursesw libraries (patch by
Miroslav Lichvar).
Thomas E. Dickey [Sun, 31 Jan 2010 01:29:33 +0000 (01:29 +0000)]
ncurses 5.7 - patch
20100130
+ use vfork in test/ditto.c if available (request by Mike Frysinger).
+ miscellaneous cleanup of manpages.
+ fix typo in curs_bkgd.3x (patch by Tim van der Molen).
+ build-fix for --srcdir (patch by Miroslav Lichvar).
Thomas E. Dickey [Sun, 24 Jan 2010 01:42:57 +0000 (01:42 +0000)]
ncurses 5.7 - patch
20100123
+ for term-driver configuration, ensure that the driver pointer is
initialized in setupterm so that terminfo/termcap programs work.
+ amend fix for Debian #542031 to ensure that wattrset() returns only
OK or ERR, rather than the attribute value (report by Miroslav
Lichvar).
+ reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
_nc_screen_of() compatible between normal/wide libraries again (patch
by Miroslav Lichvar)
+ review/fix include-dependencies in modules files (report by Miroslav
Lichvar).
Thomas E. Dickey [Sun, 17 Jan 2010 01:52:00 +0000 (01:52 +0000)]
ncurses 5.7 - patch
20100116
+ modify win_driver.c to initialize acs_map for win32 console, so
that line-drawing works.
+ modify win_driver.c to initialize TERMINAL struct so that programs
such as test/lrtest.c and test/ncurses.c which test string
capabilities can run.
+ modify term-driver modules to eliminate forward-reference
declarations.
Thomas E. Dickey [Sun, 10 Jan 2010 01:50:23 +0000 (01:50 +0000)]
ncurses 5.7 - patch
20100109
+ modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
consistently to add new -D's while removing duplicates.
+ modify a few configure macros to consistently put new options
before older in the list.
+ add tiparm(), based on review of X/Open Curses Issue 7.
+ minor documentation cleanup.
+ update config.guess, config.sub from
http://savannah.gnu.org/projects/config
(caveat - its maintainer put 2010 copyright date on files dated 2009)
Thomas E. Dickey [Sun, 3 Jan 2010 02:07:10 +0000 (02:07 +0000)]
ncurses 5.7 - patch
20100102
+ minor improvement to tic's checking of similar SGR's to allow for the
most common case of SGR 0.
+ modify getmouse() to act as its documentation implied, returning on
each call the preceding event until none are left. When no more
events remain, it will return ERR.
Thomas E. Dickey [Sun, 27 Dec 2009 16:59:25 +0000 (16:59 +0000)]
ncurses 5.7 - patch
20091227
+ change order of lookup in progs/tput.c, looking for terminfo data
first. This fixes a confusion between termcap "sg" and terminfo
"sgr" or "sgr0", originally from 990123 changes, but exposed by
20091114 fixes for hashing. With this change, only "dl" and "ed" are
ambiguous (Mandriva #56272).
Thomas E. Dickey [Sun, 27 Dec 2009 02:37:03 +0000 (02:37 +0000)]
ncurses 5.7 - patch
20091226
+ add bterm terminfo entry, based on bogl 0.1.18 -TD
+ minor fix to rxvt+pcfkeys terminfo entry -TD
+ build-fixes for Ada95 tree for gnat 4.4 "style".
Thomas E. Dickey [Sun, 20 Dec 2009 02:23:49 +0000 (02:23 +0000)]
ncurses 5.7 - patch
20091219
+ remove old check in mvderwin() which prevented moving a derived
window whose origin happened to coincide with its parent's origin
(report by Katarina Machalkova).
+ improve test/ncurses.c to put mouse droppings in the proper window.
+ update minix terminfo entry -TD
+ add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
Thomas E. Dickey [Sun, 13 Dec 2009 01:36:17 +0000 (01:36 +0000)]
ncurses 5.7 - patch
20091212
+ correct transfer of multicolumn characters in multirow
field_buffer(), which stopped at the end of the first row due to
filling of unused entries in a cchar_t array with nulls.
+ updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
+ modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
nulls.
+ use strdup() in set_menu_mark(), restore .marklen struct member on
failure.
+ eliminate clause 3 from the UCB copyrights in read_termcap.c and
tset.c per
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
(patch by Nicholas Marriott).
+ replace a malloc in tic.c with strdup, checking for failure (patch by
Nicholas Marriott).
+ update config.guess, config.sub from
http://savannah.gnu.org/projects/config
Thomas E. Dickey [Sun, 6 Dec 2009 01:32:45 +0000 (01:32 +0000)]
ncurses 5.7 - patch
20091205
+ correct layout of working window used to extract data in
wide-character configured by set_field_buffer (patch by Rafael
Garrido Fernandez)
+ improve some limit-checks related to filename length in reading and
writing terminfo entries.
+ ensure that filename is always filled in when attempting to read
a terminfo entry, so that infocmp can report the filename (patch
by Nicholas Marriott).
Thomas E. Dickey [Sun, 29 Nov 2009 02:00:36 +0000 (02:00 +0000)]
ncurses 5.7 - patch
20091128
+ modify mk-1st.awk to allow tinfo library to be built when term-driver
is enabled.
+ add error-check to configure script to ensure that sp-funcs is
enabled if term-driver is, since some internal interfaces rely upon
this.
Thomas E. Dickey [Sun, 22 Nov 2009 01:54:35 +0000 (01:54 +0000)]
ncurses 5.7 - patch
20091121
+ fix case where progs/tput is used while sp-funcs is configure; this
requires save/restore of out-character function from _nc_prescreen
rather than the SCREEN structure (report by Charles Wilson).
+ fix typo in man/curs_trace.3x which caused incorrect symbolic links
+ improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
Thomas E. Dickey [Sun, 15 Nov 2009 02:00:17 +0000 (02:00 +0000)]
ncurses 5.7 - patch
20091114
+ updated man/curs_trace.3x
+ limit hashing for termcap-names to 2-characters (Ubuntu #481740).
+ change a variable name in lib_newwin.c to make it clearer which
value is being freed on error (patch by Nicholas Marriott).
Thomas E. Dickey [Sun, 8 Nov 2009 00:45:43 +0000 (00:45 +0000)]
ncurses 5.7 - patch
20091107
+ improve test/ncurses.c color-cycling test by reusing attribute-
and color-cycling logic from the video-attributes screen.
+ add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
library which help make it compatible with interop applications
(patch by Juergen Pfeifer).
+ add configure option --enable-interop, for integrating changes
for generic/interop support to form-library by Juergen Pfeifer
Thomas E. Dickey [Sun, 1 Nov 2009 01:07:09 +0000 (01:07 +0000)]
ncurses 5.7 - patch
20091031
+ modify use of $CC environment variable which is defined by X/Open
as a curses feature, to ignore it if it is not a single character
(prompted by discussion with Benjamin C W Sittler).
+ add START_TRACE in slk_init
+ fix a regression in _nc_ripoffline which made test/ncurses.c not show
soft-keys, broken in
20090927 merging.
+ change initialization of "hidden" flag for soft-keys from true to
false, broken in
20090704 merging (Ubuntu #464274).
+ update nsterm entries (patch by Benjamin C W Sittler, prompted by
discussion with Fabian Groffen in GenToo #206201).
+ add test/xterm-256color.dat
Thomas E. Dickey [Sun, 25 Oct 2009 01:06:00 +0000 (01:06 +0000)]
ncurses 5.7 - patch
20091024
+ quiet some pedantic gcc warnings.
+ modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
SIGWINCH, and discard that value, to avoid confusing application
(patch by Eygene Ryabinkin, FreeBSD bin/136223).
Thomas E. Dickey [Sat, 17 Oct 2009 13:00:00 +0000 (13:00 +0000)]
ncurses 5.7 - patch
20091017
+ modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
a possibly colon-separated list (Debian #550716).
Thomas E. Dickey [Sun, 11 Oct 2009 00:32:49 +0000 (00:32 +0000)]
ncurses 5.7 - patch
20091010
+ supply a null-terminator to buffer in _nc_viswibuf().
+ fix a sign-extension bug in unget_wch() (report by Mike Gran).
+ minor fixes to error-returns in default function for tputs, as well
as in lib_screen.c
Thomas E. Dickey [Sun, 4 Oct 2009 00:56:38 +0000 (00:56 +0000)]
ncurses 5.7 - patch
20091003
+ add WACS_xxx definitions to wide-character configuration for thick-
and double-lines (discussion with Slava Zanko).
+ remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
+ add ccc and initc capabilities to xterm-16color -TD
> patch by Benjamin C W Sittler:
+ add linux-16color
+ correct initc capability of linux-c-nc end-of-range
+ similar change for dg+ccc and dgunix+ccc
Thomas E. Dickey [Sun, 20 Sep 2009 00:37:00 +0000 (00:37 +0000)]
ncurses 5.7 - patch
20090927
+ move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
that module since
20090711 is in libtinfo.
+ add configure option --enable-term-driver, to allow compiling with
terminal-driver. That is used in mingw port, and (being somewhat
more complicated) is an experimental alternative to the conventional
termlib internals. Currently, it requires the sp-funcs feature to
be enabled.
+ completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
library (some work remains for forms library).
Thomas E. Dickey [Sun, 20 Sep 2009 00:37:00 +0000 (00:37 +0000)]
ncurses 5.7 - patch
20090919
+ document return code from define_key (report by Mike Gran).
+ make some symbolic links in the terminfo directory-tree shorter
(patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
+ fix some groff warnings in terminfo.5, etc., from recent Debian
changes.
+ change ncv and op capabilities in sun-color terminfo entry to match
Sun's entry for this (report by Laszlo Peter).
+ improve interix smso terminfo capability by using reverse rather than
bold (report by Kristof Zelechovski).
Thomas E. Dickey [Sun, 13 Sep 2009 01:17:05 +0000 (01:17 +0000)]
ncurses 5.7 - patch
20090912
+ add some test programs (and make these use the same special keys
by sharing linedata.h functions):
test/test_addstr.c
test/test_addwstr.c
test/test_addchstr.c
test/test_add_wchstr.c
+ correct internal _nc_insert_ch() to use _nc_insert_wch() when
inserting wide characters, since the wins_wch() function that it used
did not update the cursor position (report by Ciprian Craciun).
Thomas E. Dickey [Sun, 6 Sep 2009 18:03:59 +0000 (18:03 +0000)]
ncurses 5.7 - patch
20090906
+ fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
work.
+ add null-pointer checks to other opaque-functions.
+ add is_pad() and is_subwin() functions for opaque access to WINDOW
(discussion with Mark Dickinson).
+ correct merge to lib_newterm.c, which broke when sp-funcs was
enabled.
Thomas E. Dickey [Sun, 6 Sep 2009 00:18:02 +0000 (00:18 +0000)]
ncurses 5.7 - patch
20090905
+ build-fix for building outside source-tree (report by Sven Joachim).
+ fix Debian lintian warning for man/tabs.1 by making section number
agree with file-suffix (report by Sven Joachim).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sat, 29 Aug 2009 22:41:54 +0000 (22:41 +0000)]
ncurses 5.7 - patch
20090829
+ workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
amd64 (Debian #542031).
+ fix typo in curs_mouse.3x (Debian #429198).
Thomas E. Dickey [Sun, 23 Aug 2009 01:14:12 +0000 (01:14 +0000)]
ncurses 5.7 - patch
20090822
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 16 Aug 2009 00:18:43 +0000 (00:18 +0000)]
ncurses 5.7 - patch
20090815
+ correct use of terminfo capabilities for initializing soft-keys,
broken in
20090509 merging.
+ modify wgetch() to ensure it checks SIGWINCH when it gets an error
in non-blocking mode (patch by Clemens Ladisch).
+ use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
help with builds on non-Unix platforms such as OS/2 EMX.
+ modify scripting for misc/run_tic.sh to test configure script's
$cross_compiling variable directly rather than comparing host/build
compiler names (prompted by comment in GenToo #249363).
+ fix configure script option --with-database, which was coded as an
enable-type switch.
+ build-fixes for --srcdir (report by Frederic L W Meunier).
Thomas E. Dickey [Sat, 8 Aug 2009 23:45:56 +0000 (23:45 +0000)]
ncurses 5.7 - patch
20090808
+ separate _nc_find_entry() and _nc_find_type_entry() from
implementation details of hash function.
Thomas E. Dickey [Tue, 4 Aug 2009 00:48:40 +0000 (00:48 +0000)]
ncurses 5.7 - patch
20090803
+ add tabs.1 to man/man_db.renames
+ modify lib_addch.c to compensate for removal of wide-character test
from unctrl() in
20090704 (Debian #539735).
Thomas E. Dickey [Sun, 2 Aug 2009 00:48:52 +0000 (00:48 +0000)]
ncurses 5.7 - patch
20090801
+ improve discussion in INSTALL for use of system's tic/infocmp for
cross-compiling and building fallbacks.
+ modify test/demo_termcap.c to correspond better to options in
test/demo_terminfo.c
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ fix logic for 'V' in test/ncurses.c tests f/F.
Thomas E. Dickey [Tue, 28 Jul 2009 23:10:32 +0000 (23:10 +0000)]
ncurses 5.7 - patch
20090728
+ correct logic in tigetnum(), which caused tput program to treat all
string capabilities as numeric (report by Rajeev V Pillai,
cf:
20090711).
Thomas E. Dickey [Sat, 25 Jul 2009 22:32:12 +0000 (22:32 +0000)]
ncurses 5.7 - patch
20090725
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 19 Jul 2009 01:03:05 +0000 (01:03 +0000)]
ncurses 5.7 - patch
20090718
+ fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
20070704 changes.
+ modify _nc_find_type_entry() to use hashing.
+ make CCHARW_MAX value configurable, noting that changing this would
change the size of cchar_t, and would be ABI-incompatible.
+ modify test-programs, e.g,. test/view.c, to address subtle
differences between Tru64/Solaris and HPUX/AIX getcchar() return
values.
+ modify length returned by getcchar() to count the trailing null
which is documented in X/Open (cf:
20020427).
+ fixes for test programs to build/work on HPUX and AIX, etc.
Thomas E. Dickey [Sat, 11 Jul 2009 23:12:47 +0000 (23:12 +0000)]
ncurses 5.7 - patch
20090711
+ improve performance of tigetstr, etc., by using hashing code from tic.
+ minor fixes for memory-leak checking.
+ add test/demo_terminfo, for comparison with demo_termcap
Thomas E. Dickey [Sat, 4 Jul 2009 23:55:21 +0000 (23:55 +0000)]
ncurses 5.7 - patch
20090704
+ remove wide-character checks from unctrl() (patch by Clemens Ladisch).
+ revise wadd_wch() and wecho_wchar() to eliminate dependency on
unctrl().
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 28 Jun 2009 01:00:34 +0000 (01:00 +0000)]
ncurses 5.7 - patch
20090627
+ update llib-lncurses[wt] to use sp-funcs.
+ various code-fixes to build/work with --disable-macros configure
option.
+ add several new files from Juergen Pfeifer which will be used when
integration of "sp-funcs" is complete. This includes a port to
MinGW.
Thomas E. Dickey [Sun, 14 Jun 2009 00:39:29 +0000 (00:39 +0000)]
ncurses 5.7 - patch
20090613
+ move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
make includes of term.h without curses.h work (report by "Nix").
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 7 Jun 2009 14:35:36 +0000 (14:35 +0000)]
ncurses 5.7 - patch
20090607
+ fix a regression in lib_tputs.c, from ongoing merges.
Thomas E. Dickey [Sun, 7 Jun 2009 00:51:13 +0000 (00:51 +0000)]
ncurses 5.7 - patch
20090606
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sat, 30 May 2009 23:24:28 +0000 (23:24 +0000)]
ncurses 5.7 - patch
20090530
+ fix an infinite recursion when adding a legacy-coding 8-bit value
using insch() (report by Clemens Ladisch).
+ free home-terminfo string in del_curterm() (patch by Dan Weber).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 24 May 2009 01:18:15 +0000 (01:18 +0000)]
ncurses 5.7 - patch
20090523
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 17 May 2009 00:47:23 +0000 (00:47 +0000)]
ncurses 5.7 - patch
20090516
+ work around antique BSD game's manipulation of stdscr, etc., versus
SCREEN's copy of the pointer (Debian #528411).
+ add a cast to wattrset macro to avoid compiler warning when comparing
its result against ERR (adapted from patch by Matt Kraii, Debian
#528374).
Thomas E. Dickey [Sun, 10 May 2009 23:36:12 +0000 (23:36 +0000)]
ncurses 5.7 - patch
20090510
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 3 May 2009 00:59:25 +0000 (00:59 +0000)]
ncurses 5.7 - patch
20090425
Thomas E. Dickey [Sun, 26 Apr 2009 01:00:20 +0000 (01:00 +0000)]
ncurses 5.7 - patch
20090425
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 19 Apr 2009 15:09:33 +0000 (15:09 +0000)]
ncurses 5.7 - patch
20090419
+ build fix for _nc_free_and_exit() change in
20090418 (report by
Christian Ebert).
Thomas E. Dickey [Sun, 19 Apr 2009 00:38:07 +0000 (00:38 +0000)]
ncurses 5.7 - patch
20090418
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sat, 11 Apr 2009 22:39:24 +0000 (22:39 +0000)]
ncurses 5.7 - patch
20090411
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
This change finishes merging for menu and panel libraries, does
part of the form library.
Thomas E. Dickey [Sat, 4 Apr 2009 23:41:00 +0000 (23:41 +0000)]
ncurses 5.7 - patch
20090404
+ suppress configure check for static/dynamic linker flags for gcc on
Darwin (report by Nelson Beebe).
Thomas E. Dickey [Sun, 29 Mar 2009 00:06:57 +0000 (00:06 +0000)]
ncurses 5.7 - patch
20090328
+ extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
function key definitions from emx-base for consistency -TD
+ correct missing final 'p' in pfkey capability of ansi.sys-old (report
by Kalle Olavi Niemitalo).
+ improve test/ncurses.c 'F' test, show combining characters in color.
+ quiet a false report by cppcheck in c++/cursesw.cc by eliminating
a temporary variable.
+ use _nc_doalloc() rather than realloc() in a few places in ncurses
library to avoid leak in out-of-memory condition (reports by William
Egert and Martin Ettl based on cppcheck tool).
+ add --with-ncurses-wrap-prefix option to test/configure (discussion
with Charles Wilson).
+ use ncurses*-config scripts if available for test/configure.
+ update test/aclocal.m4 and test/configure
> patches by Charles Wilson:
+ modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
version numbers (e.g. which include alphabetic chars, as well as
digits, after the final '.').
+ improve use of -no-undefined option for libtool by setting an
intermediate variable LT_UNDEF in the configure script, and then
using that in the libtool link-commands.
+ fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
from
2009031 changes.
+ improve mk-1st.awk script by writing separate cases for the
LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
termlib) is to be linked.
+ modify configure.in to allow broken-linker configurations, not just
enable-reentrant, to set public wrap prefix.
Thomas E. Dickey [Sun, 22 Mar 2009 00:51:17 +0000 (00:51 +0000)]
ncurses 5.7 - patch
20090321
+ add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
build with tic and term libraries (patch by Charles Wilson).
+ add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
(report by Charles Wilson).
+ fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
the form, menu or panel libraries (patch by Charles Wilson).
+ add configure option --with-wrap-prefix to allow setting the prefix
for functions used to wrap global variables to something other than
"_nc_" (discussion with Charles Wilson).
Thomas E. Dickey [Sun, 15 Mar 2009 01:02:54 +0000 (01:02 +0000)]
ncurses 5.7 - patch
20090314
+ modify scripts to generate ncurses*-config and pc-files to add
dependency for tinfo library (patch by Charles Wilson).
+ improve comparison of program-names when checking for linked flavors
such as "reset" by ignoring the executable suffix (reports by Charles
Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
list).
+ suppress configure check for static/dynamic linker flags for gcc on
Solaris 10, since gcc is confused by absence of static libc, and
does not switch back to dynamic mode before finishing the libraries
(reports by Joel Bertrand, Alan Pae).
+ minor fixes to Intel compiler warning checks in configure script.
+ modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
+ modify set_curterm() to make broken-linker configuration work with
changes from
20090228 (report by Charles Wilson).
Thomas E. Dickey [Sat, 28 Feb 2009 23:06:36 +0000 (23:06 +0000)]
ncurses 5.7 - patch
20090228
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ modify declaration of cur_term when broken-linker is used, but
enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
Thomas E. Dickey [Sun, 22 Feb 2009 02:08:00 +0000 (02:08 +0000)]
ncurses 5.7 - patch
20090221
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
Thomas E. Dickey [Sun, 15 Feb 2009 02:14:18 +0000 (02:14 +0000)]
ncurses 5.7 - patch
20090214
+ add configure script --enable-sp-funcs to enable the new set of
extended functions.
+ start integrating patches by Juergen Pfeifer:
+ add extended functions which specify the SCREEN pointer for several
curses functions which use the global SP (these are incomplete;
some internals work is needed to complete these).
+ add special cases to configure script for MinGW port.
Thomas E. Dickey [Sat, 7 Feb 2009 21:13:13 +0000 (21:13 +0000)]
ncurses 5.7 - patch
20090207
+ update several configure macros from lynx changes
+ append (not prepend) to CFLAGS/CPPFLAGS
+ change variable from PATHSEP to PATH_SEPARATOR
+ improve install-rules for pc-files (patch by Miroslav Lichvar).
+ make it work with $DESTDIR
+ create the pkg-config library directory if needed.
Thomas E. Dickey [Sun, 25 Jan 2009 02:04:12 +0000 (02:04 +0000)]
ncurses 5.7 - patch
20090124
+ modify init_pair() to allow caller to create extra color pairs beyond
the color_pairs limit, which use default colors (request by Emanuele
Giaquinta).
+ add misc/terminfo.tmp and misc/*.pc to "sources" rule.
+ fix typo "==" where "=" is needed in ncurses-config.in and
gen-pkgconfig.in files (Debian #512161).
Thomas E. Dickey [Sun, 18 Jan 2009 00:21:12 +0000 (00:21 +0000)]
ncurses 5.7 - patch
20090117
+ add -shared option to MK_SHARED_LIB when -Bsharable is used, for
*BSD's, without which "main" might be one of the shared library's
dependencies (report/analysis by Ken Dickey).
+ modify waddch_literal(), updating line-pointer after a multicolumn
character is found to not fit on the current row, and wrapping is
done. Since the line-pointer was not updated, the wrapped
multicolumn character was written to the beginning of the current row
(cf:
20041023, reported by "Nick" regarding problem with ncmpc
http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
Thomas E. Dickey [Sun, 11 Jan 2009 02:29:48 +0000 (02:29 +0000)]
ncurses 5.7 - patch
20090110
+ add screen.Eterm terminfo entry (GenToo #124887) -TD
+ modify adacurses-config to look for ".ali" files in the adalib
directory.
+ correct install for Ada95, which omitted libAdaCurses.a used in
adacurses-config
+ change install for adacurses-config to provide additional flavors
such as adacursesw-config, for ncursesw (GenToo #167849).
Thomas E. Dickey [Tue, 6 Jan 2009 01:45:02 +0000 (01:45 +0000)]
ncurses 5.7 - patch
20090105
+ remove undeveloped feature in ncurses-config.in for setting
prefix variable.
+ recent change to ncurses-config.in did not take into account the
--disable-overwrite option, which sets $includedir to the
subdirectory and using just that for a -I option does not work - fix
(report by Frederic L W Meunier).
Thomas E. Dickey [Sun, 4 Jan 2009 22:54:42 +0000 (22:54 +0000)]
ncurses 5.7 - patch
20090104
+ modify gen-pkgconfig.in to eliminate a dependency on rpath when
deciding whether to add $LIBS to --libs output; that should be shown
for the ncurses and tinfo libraries without taking rpath into
account.
+ fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
used in static libraries (report by Marty Jack).
Thomas E. Dickey [Sun, 4 Jan 2009 02:08:30 +0000 (02:08 +0000)]
ncurses 5.7 - patch
20090103
+ add a configure-time check to pick a suitable value for
CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
+ add configure --with-pkg-config and --enable-pc-files options, along
with misc/gen-pkgconfig.in which can be used to generate ".pc" files
for pkg-config (request by Jan Engelhardt).
+ use $includedir symbol in misc/ncurses-config.in, add --includedir
option.
+ change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
configure check to detect whether a "-" is needed before "ar"
options.
+ update config.guess, config.sub from
http://savannah.gnu.org/projects/config
Thomas E. Dickey [Sun, 28 Dec 2008 01:49:09 +0000 (01:49 +0000)]
ncurses 5.7 - patch
20081227
+ modify mk-1st.awk to work with extra categories for tinfo library.
+ modify configure script to allow building shared libraries with gcc
on AIX 5 or 6 (adapted from patch by Lital Natan).
Thomas E. Dickey [Sun, 21 Dec 2008 01:18:36 +0000 (01:18 +0000)]
ncurses 5.7 - patch
20081220
+ modify to omit the opaque-functions from lib_gen.o when
--disable-ext-funcs is used.
+ add test/clip_printw.c to illustrate how to use printw without
wrapping.
+ modify ncurses 'F' test to demo wborder_set() with colored lines.
+ modify ncurses 'f' test to demo wborder() with colored lines.
Thomas E. Dickey [Sat, 13 Dec 2008 23:26:23 +0000 (23:26 +0000)]
ncurses 5.7 - patch
20081213
+ add check for failure to open hashed-database needed for db4.6
(GenToo #245370).
+ corrected --without-manpages option; previous change only suppressed
the auxiliary rules install.man and uninstall.man
+ add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
GenToo #250454).
+ fixes from NetBSD port at
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
patch-ac (build-fix for DragonFly)
patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
+ improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
search-lists.
+ correct title string for keybound manpage (patch by Frederic Culot,
OpenBSD documentation/6019),
Thomas E. Dickey [Sun, 7 Dec 2008 01:42:58 +0000 (01:42 +0000)]
ncurses 5.7 - patch
20081206
+ move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
work for progs/clear, progs/tabs, etc.
+ correct buffer-size after internal resizing of wide-character
set_field_buffer(), broken in
20081018 changes (report by Mike Gran).
+ add "-i" option to test/filter.c to tell it to use initscr() rather
than newterm(), to investigate report on comp.unix.programmer that
ncurses would clear the screen in that case (it does not - the issue
was xterm's alternate screen feature).
+ add check in mouse-driver to disable connection if GPM returns a
zero, indicating that the connection is closed (Debian #506717,
adapted from patch by Samuel Thibault).
Thomas E. Dickey [Sun, 30 Nov 2008 00:38:32 +0000 (00:38 +0000)]
ncurses 5.7 - patch
20081129
+ improve a workaround in adding wide-characters, when a control
character is found. The library (cf:
20040207) uses unctrl() to
obtain a printable version of the control character, but was not
passing color or video attributes.
+ improve test/ncurses.c 'a' test, using unctrl() more consistently to
display meta-characters.
+ turn on _XOPEN_CURSES definition in curses.h
+ add eterm-color entry (report by Vincent Lefevre) -TD
+ correct use of key_name() in test/ncurses.c 'A' test, which only
displays wide-characters, not key-codes since
20070612 (report by
Ricardo Cantu).
Thomas E. Dickey [Sun, 23 Nov 2008 01:33:11 +0000 (01:33 +0000)]
ncurses 5.7 - patch
20081122
+ change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
Ada95 (patch by Juergen Pfeifer).
+ document in TO-DO an issue with Cygwin's package for GNAT (report
by Mike Dennison).
+ improve error-checking of command-line options in "tabs" program.
Thomas E. Dickey [Sun, 16 Nov 2008 02:16:59 +0000 (02:16 +0000)]
ncurses 5.7 - patch
20081115
+ change several terminfo entries to make consistent use of ANSI
clear-all-tabs -TD
+ add "tabs" program (prompted by Debian #502260).
+ add configure --without-manpages option (request by Mike Frysinger).
Thomas E. Dickey [Mon, 3 Nov 2008 02:13:51 +0000 (21:13 -0500)]
ncurses 5.7
Thomas E. Dickey [Sun, 26 Oct 2008 01:07:21 +0000 (01:07 +0000)]
ncurses 5.6 - patch
20081025
+ add a manpage to discuss memory leaks.
+ add support for shared libraries for QNX (other than libtool, which
does not work well on that platform).
+ build-fix for QNX C++ binding.
Thomas E. Dickey [Sun, 19 Oct 2008 00:58:44 +0000 (00:58 +0000)]
ncurses 5.6 - patch
20081018
+ build-fixes for OS/2 EMX.
+ modify form library to accept control characters such as newline
in set_field_buffer(), which is compatible with Solaris (report by
Nit Khair).
+ modify configure script to assume --without-hashed-db when
--disable-database is used.
+ add "-e" option in ncurses/Makefile.in when generating source-files
to force earlier exit if the build environment fails unexpectedly
(prompted by patch by Adrian Bunk).
+ change configure script to use CF_UTF8_LIB, improved variant of
CF_LIBUTF8.
Thomas E. Dickey [Mon, 13 Oct 2008 00:34:11 +0000 (00:34 +0000)]
ncurses 5.6 - patch
20081012
+ add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
original to teraterm2.3 -TD
+ update "gnome" terminfo to 2.22.3 -TD
+ update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
+ add "aterm" terminfo -TD
+ add "linux2.6.26" terminfo -TD
+ add logic to tic for cancelling strings in user-defined capabilities,
overlooked til now.
Thomas E. Dickey [Sat, 11 Oct 2008 23:44:29 +0000 (23:44 +0000)]
ncurses 5.6 - patch
20081011
+ update html documentation.
+ add -m and -s options to test/keynames.c and test/key_names.c to test
the meta() function with keyname() or key_name(), respectively.
+ correct return value of key_name() on error; it is null.
+ document some unresolved issues for rpath and pthreads in TO-DO.
+ fix a missing prototype for ioctl() on OpenBSD in tset.c
+ add configure option --disable-tic-depends to make explicit whether
tic library depends on ncurses/ncursesw library, amends change from
20080823 (prompted by Debian #501421).
Thomas E. Dickey [Sun, 5 Oct 2008 00:17:19 +0000 (00:17 +0000)]
ncurses 5.6 - patch
20081004
+ some build-fixes for configure --disable-ext-funcs (incomplete, but
works for C/C++ parts).
+ improve configure-check for awks unable to handle large strings, e.g.
AIX 5.1 whose awk silently gives up on large printf's.
Thomas E. Dickey [Sun, 28 Sep 2008 01:08:36 +0000 (01:08 +0000)]
ncurses 5.6 - patch
20080927
+ fix build for --with-dmalloc by workaround for redefinition of
strndup between string.h and dmalloc.h
+ fix build for --disable-sigwinch
+ add environment variable NCURSES_GPM_TERMS to allow override to use
GPM on terminals other than "linux", etc.
+ disable GPM mouse support when $TERM does not happen to contain
"linux", since Gpm_Open() no longer limits its assertion to terminals
that it might handle, e.g., within "screen" in xterm.
+ reset mouse file-descriptor when unloading GPM library (report by
Miroslav Lichvar).
+ fix build for --disable-leaks --enable-widec --with-termlib
> patch by Juergen Pfeifer:
+ use improved initialization for soft-label keys in Ada95 sample code.
+ discard internal symbol _nc_slk_format (unused since
20080112).
+ move call of slk_paint_info() from _nc_slk_initialize() to
slk_intern_refresh(), improving initialization.
Thomas E. Dickey [Thu, 25 Sep 2008 23:54:34 +0000 (23:54 +0000)]
ncurses 5.6 - patch
20080925
+ fix bug in mouse code for GPM from
20080920 changes (reported in
Debian #500103, also Miroslav Lichvar).
Thomas E. Dickey [Sun, 21 Sep 2008 01:01:25 +0000 (01:01 +0000)]
ncurses 5.6 - patch
20080920
+ fix shared-library rules for cygwin with tic- and tinfo-libraries.
+ fix a memory leak when failure to connect to GPM.
+ correct check for notimeout() in wgetch() (report on linux.redhat
newsgroup by FurtiveBertie).
+ add an example warning-suppression file for valgrind,
misc/ncurses.supp (based on example from Reuben Thomas)
Thomas E. Dickey [Sun, 14 Sep 2008 01:09:37 +0000 (01:09 +0000)]
ncurses 5.6 - patch
20080913
+ change shared-library configuration for OpenBSD, make rpath work.
+ build-fixes for using libutf8, e.g., on OpenBSD 3.7
Thomas E. Dickey [Sun, 7 Sep 2008 17:49:37 +0000 (17:49 +0000)]
ncurses 5.6 - patch
20080907
+ corrected fix for --enable-weak-symbols (report by Frederic L W
Meunier).
Thomas E. Dickey [Sun, 7 Sep 2008 01:02:23 +0000 (01:02 +0000)]
ncurses 5.6 - patch
20080906
+ 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
Thomas E. Dickey [Sun, 31 Aug 2008 01:08:33 +0000 (01:08 +0000)]
ncurses 5.6 - patch
20080830
+ fixes to make Ada95 demo_panels() example work.
+ modify Ada95 'rain' test program to accept keyboard commands like the
C-version.
+ modify BeOS-specific ifdef's to build on Haiku (patch by Scott
Mccreary).
+ add configure-check to see if the std namespace is legal for cerr
and endl, to fix a build issue with Tru64.
+ consistently use NCURSES_BOOL in lib_gen.c
+ filter #line's from lib_gen.c
+ change delimiter in MKlib_gen.sh from '%' to '@', to avoid
substitution by IBM xlc to '#' as part of its extensions to digraphs.
+ update config.guess, config.sub from
http://savannah.gnu.org/projects/config
(caveat - its maintainer removed support for older Linux systems).
Thomas E. Dickey [Sun, 24 Aug 2008 00:26:02 +0000 (00:26 +0000)]
ncurses 5.6 - patch
20080823
+ modify configure check for pthread library to work with OSF/1 5.1,
which uses #define's to associate its header and library.
+ use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
makes threaded code work on HPUX 11.23
+ fix a bug in demo_menus in freeing menus (cf:
20080804).
+ modify configure script for the case where tic library is used (and
possibly renamed) to remove its dependency upon ncurses/ncursew
library (patch by Dr Werner Fink).
+ correct manpage for menu_fore() which gave wrong default for
the attribute used to display a selected entry (report by Mike Gran).
+ add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
Debian #495815) -TD
Thomas E. Dickey [Sun, 17 Aug 2008 01:51:55 +0000 (01:51 +0000)]
ncurses 5.6 - patch
20080816
+ 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.
Thomas E. Dickey [Tue, 5 Aug 2008 01:06:16 +0000 (01:06 +0000)]
ncurses 5.6 - patch
20080804
+ modify _nc_panelhook() data to account for a permanent memory leak.
+ fix memory leaks in test/demo_menus
+ fix most warnings from Klocwork tool (report by Larry Zhou).
+ modify configure script CF_XOPEN_SOURCE macro to add case for
"dragonfly" from xterm #236 changes.
+ modify configure script --with-hashed-db to let $LIBS override the
search for the db library (prompted by report by Samson Pierre).
Thomas E. Dickey [Sat, 26 Jul 2008 22:24:31 +0000 (22:24 +0000)]
ncurses 5.6 - patch
20080726
+ build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
thresholds).
Thomas E. Dickey [Sun, 13 Jul 2008 11:09:41 +0000 (11:09 +0000)]
ncurses 5.6 - patch
20080713
+ build-fix (reports by Christian Ebert, Funda Wang).
Thomas E. Dickey [Sun, 13 Jul 2008 00:35:08 +0000 (00:35 +0000)]
ncurses 5.6 - patch
20080712
+ compiler-warning fixes for Solaris.
Thomas E. Dickey [Sun, 6 Jul 2008 00:36:01 +0000 (00:36 +0000)]
ncurses 5.6 - patch
20080705
+ use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
make those work properly with the "--enable-ext-mouse" configuration
(cf:
20050205).
+ improve documentation of build-cc options in INSTALL.
+ work-around a bug in gcc 4.2.4 on AIX, which does not pass the
-static/-dynamic flags properly to linker, causing test/bs to
not link.
Thomas E. Dickey [Sun, 29 Jun 2008 00:12:36 +0000 (00:12 +0000)]
ncurses 5.6 - patch
20080628
+ correct some ifdef's needed for the broken-linker configuration.
+ make debugging library's $BAUDRATE feature work for termcap
interface.
+ make $NCURSES_NO_PADDING feature work for termcap interface (prompted
by comment on FreeBSD mailing list).
+ add screen.mlterm terminfo entry -TD
+ improve mlterm and mlterm+pcfkeys terminfo entries -TD
Thomas E. Dickey [Sun, 22 Jun 2008 00:16:39 +0000 (00:16 +0000)]
ncurses 5.6 - patch
20080621
+ regenerated html documentation.
+ expand manpage description of parameters for form_driver() and
menu_driver() (prompted by discussion with Adam Spragg).
+ add null-pointer checks for cur_term in baudrate() and
def_shell_mode(), def_prog_mode()
+ fix some memory leaks in delscreen() and wide acs.
Thomas E. Dickey [Sun, 15 Jun 2008 00:30:11 +0000 (00:30 +0000)]
ncurses 5.6 - patch
20080614
+ modify test/ditto.c to illustrate multi-threaded use_screen().
+ change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
+ add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
by Poor Yorick).
Thomas E. Dickey [Sun, 8 Jun 2008 00:40:16 +0000 (00:40 +0000)]
ncurses 5.6 - patch
20080607
+ finish changes to wgetch(), making it switch as needed to the
window's actual screen when calling wrefresh() and wgetnstr(). That
allows wgetch() to get used concurrently in different threads with
some minor restrictions, e.g., the application should not delete a
window which is being used in a wgetch().
+ simplify mutex's, combining the window- and screen-mutex's.
Thomas E. Dickey [Sat, 31 May 2008 23:49:39 +0000 (23:49 +0000)]
ncurses 5.6 - patch
20080531
+ modify wgetch() to use the screen which corresponds to its window
parameter rather than relying on SP; some dependent functions still
use SP internally.
+ factor out most use of SP in lib_mouse.c, using parameter.
+ add internal _nc_keyname(), replacing keyname() to associate with a
particular SCREEN rather than the global SP.
+ add internal _nc_unctrl(), replacing unctrl() to associate with a
particular SCREEN rather than the global SP.
+ add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
+ add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
preference to the global _nc_globals.tracechr_buf buffer.
Thomas E. Dickey [Sun, 25 May 2008 00:49:27 +0000 (00:49 +0000)]
ncurses 5.6 - patch
20080524
+ modify _nc_keypad() to make it switch temporarily as needed to the
screen which must be updated.
+ wrap cur_term variable to help make _nc_keymap() thread-safe, and
always set the screen's copy of this variable in set_curterm().
+ restore curs_set() state after endwin()/refresh() (report/patch
Miroslav Lichvar)
Thomas E. Dickey [Sun, 18 May 2008 00:27:17 +0000 (00:27 +0000)]
ncurses 5.6 - patch
20080517
+ modify configure script to note that --enable-ext-colors and
--enable-ext-mouse are not experimental, but extensions from
the ncurses ABI 5.
+ corrected manpage description of setcchar() (discussion with
Emanuele Giaquinta).
+ fix for adding a non-spacing character at the beginning of a line
(report/patch by Miroslav Lichvar).
Thomas E. Dickey [Sun, 4 May 2008 00:48:16 +0000 (00:48 +0000)]
ncurses 5.6 - patch
20080503
+ modify screen.* terminfo entries using new screen+fkeys to fix
overridden keys in screen.rxvt (Debian #478094) -TD
+ modify internal interfaces to reduce wgetch()'s dependency on the
global SP.
+ simplify some loops with macros each_screen(), each_window() and
each_ripoff().
+ continue modifying test/ditto.c toward making it demonstrate
multithreaded use_screen(), using fifos to pass data between screens.
+ fix typo in form.3x (report by Mike Gran).
Thomas E. Dickey [Sat, 19 Apr 2008 23:51:44 +0000 (23:51 +0000)]
ncurses 5.6 - patch
20080419
+ add screen.rxvt terminfo entry -TD
+ modify tic -f option to format spaces as \s to prevent them from
being lost when that is read back in unformatted strings.
+ improve test/ditto.c, using a "talk"-style layout.