]> ncurses.scripts.mit.edu Git - ncurses.git/log
ncurses.git
14 years agoncurses 5.7 - patch 20090510
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).

14 years agoncurses 5.7 - patch 20090425
Thomas E. Dickey [Sun, 3 May 2009 00:59:25 +0000 (00:59 +0000)]
ncurses 5.7 - patch 20090425

14 years agoncurses 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).

15 years agoncurses 5.7 - patch 20090419
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).

15 years agoncurses 5.7 - patch 20090418
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).

15 years agoncurses 5.7 - patch 20090411
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.

15 years agoncurses 5.7 - patch 20090404
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).

15 years agoncurses 5.7 - patch 20090328
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.

15 years agoncurses 5.7 - patch 20090321
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).

15 years agoncurses 5.7 - patch 20090314
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).

15 years agoncurses 5.7 - patch 20090228
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).

15 years agoncurses 5.7 - patch 20090221
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).

15 years agoncurses 5.7 - patch 20090214
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.

15 years agoncurses 5.7 - patch 20090207
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.

15 years agoncurses 5.7 - patch 20090124
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).

15 years agoncurses 5.7 - patch 20090117
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).

15 years agoncurses 5.7 - patch 20090110
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).

15 years agoncurses 5.7 - patch 20090105
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).

15 years agoncurses 5.7 - patch 20090104
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).

15 years agoncurses 5.7 - patch 20090103
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

15 years agoncurses 5.7 - patch 20081227
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).

15 years agoncurses 5.7 - patch 20081220
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.

15 years agoncurses 5.7 - patch 20081213
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),

15 years agoncurses 5.7 - patch 20081206
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).

15 years agoncurses 5.7 - patch 20081129
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).

15 years agoncurses 5.7 - patch 20081122
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.

15 years agoncurses 5.7 - patch 20081115
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).

15 years agoncurses 5.7 v5.7
Thomas E. Dickey [Mon, 3 Nov 2008 02:13:51 +0000 (21:13 -0500)]
ncurses 5.7

15 years agoncurses 5.6 - patch 20081025
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.

15 years agoncurses 5.6 - patch 20081018
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.

15 years agoncurses 5.6 - patch 20081012
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.

15 years agoncurses 5.6 - patch 20081011
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).

15 years agoncurses 5.6 - patch 20081004
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.

15 years agoncurses 5.6 - patch 20080927
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.

15 years agoncurses 5.6 - patch 20080925
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).

15 years agoncurses 5.6 - patch 20080920
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)

15 years agoncurses 5.6 - patch 20080913
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

15 years agoncurses 5.6 - patch 20080907
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).

15 years agoncurses 5.6 - patch 20080906
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

15 years agoncurses 5.6 - patch 20080830
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).

15 years agoncurses 5.6 - patch 20080823
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

15 years agoncurses 5.6 - patch 20080816
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.

15 years agoncurses 5.6 - patch 20080804
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).

15 years agoncurses 5.6 - patch 20080726
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).

15 years agoncurses 5.6 - patch 20080713
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).

15 years agoncurses 5.6 - patch 20080712
Thomas E. Dickey [Sun, 13 Jul 2008 00:35:08 +0000 (00:35 +0000)]
ncurses 5.6 - patch 20080712

+ compiler-warning fixes for Solaris.

15 years agoncurses 5.6 - patch 20080705
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.

15 years agoncurses 5.6 - patch 20080628
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

15 years agoncurses 5.6 - patch 20080621
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.

15 years agoncurses 5.6 - patch 20080614
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).

15 years agoncurses 5.6 - patch 20080607
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.

15 years agoncurses 5.6 - patch 20080531
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.

15 years agoncurses 5.6 - patch 20080524
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)

15 years agoncurses 5.6 - patch 20080517
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).

15 years agoncurses 5.6 - patch 20080503
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).

16 years agoncurses 5.6 - patch 20080419
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.

16 years agoncurses 5.6 - patch 20080412
Thomas E. Dickey [Sun, 13 Apr 2008 01:03:15 +0000 (01:03 +0000)]
ncurses 5.6 - patch 20080412

+ change test/ditto.c to use openpty() and xterm.
+ add locks for copywin(), dupwin(), overlap(), overlay() on their
  window parameters.
+ add locks for initscr() and newterm() on updates to the SCREEN
  pointer.
+ finish table in curs_thread.3x manpage.

16 years agoncurses 5.6 - patch 20080405
Thomas E. Dickey [Sun, 6 Apr 2008 00:59:00 +0000 (00:59 +0000)]
ncurses 5.6 - patch 20080405

+ begin table in curs_thread.3x manpage describing the scope of data
  used by each function (or symbol) for threading analysis.
+ add null-pointer checks to setsyx() and getsyx() (prompted by
  discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
  python-dev2 mailing list).

16 years agoncurses 5.6 - patch 20080329
Thomas E. Dickey [Sat, 29 Mar 2008 23:48:44 +0000 (23:48 +0000)]
ncurses 5.6 - patch 20080329

+ add null-pointer checks in set_term() and delscreen().
+ move _nc_windows into _nc_globals, since windows can be pads, which
  are not associated with a particular screen.
+ change use_screen() to pass the SCREEN* parameter rather than
  stdscr to the callback function.
+ force libtool to use tag for 'CC' in case it does not detect this,
  e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
  (report/patch by Michael Haubenwallner).
+ override OBJEXT to "lo" when building with libtool, to work on
  platforms such as AIX where libtool supports only static libraries
  (report/patch by Michael Haubenwallner).
+ add configure --with-pthread option, for building with the POSIX
  thread library.

16 years agoncurses 5.6 - patch 20080322
Thomas E. Dickey [Sun, 23 Mar 2008 01:02:37 +0000 (01:02 +0000)]
ncurses 5.6 - patch 20080322

+ fill in extended-color pair two more places in wbkgrndset() and
  waddch_nosync() (prompted by Sedeno's patch).
+ fill in extended-color pair in _nc_build_wch() to make colors work
  for wide-characters using extended-colors (patch by Alejandro R
  Sedeno).
+ add x/X toggles to ncurses.c C color test to test/demo
  wide-characters with extended-colors.
+ add a/A toggles to ncurses.c c/C color tests.
+ modify test/ditto.c to use use_screen().
+ finish modifying test/rain.c to demonstrate threads.

16 years agoncurses 5.6 - patch 20080308
Thomas E. Dickey [Sun, 9 Mar 2008 00:57:07 +0000 (00:57 +0000)]
ncurses 5.6 - patch 20080308

+ start modifying test/rain.c for threading demo.
+ modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
  that the 'F' accepts.
+ modify test/worm.c to show trail in reverse-video when other threads
  are working concurrently.
+ fix a deadlock from improper nesting of mutexes for windowlist and
  window.

16 years agoncurses 5.6 - patch 20080301
Thomas E. Dickey [Sun, 2 Mar 2008 00:28:54 +0000 (00:28 +0000)]
ncurses 5.6 - patch 20080301

+ fixes from 20080223 resolved issue with mutexes; change to use
  recursive mutexes to fix memory leak in delwin() as called from
  _nc_free_and_exit().

16 years agoncurses 5.6 - patch 20080223
Thomas E. Dickey [Sun, 24 Feb 2008 01:25:21 +0000 (01:25 +0000)]
ncurses 5.6 - patch 20080223

+ fix a size-difference in _nc_globals which caused hanging of mutex
  lock/unlock when termlib was built separately.
+ avoid using nanosleep() in threaded configuration since that often
  is implemented to suspend the entire process.

16 years agoncurses 5.6 - patch 20080209
Thomas E. Dickey [Sun, 10 Feb 2008 00:41:46 +0000 (00:41 +0000)]
ncurses 5.6 - patch 20080209

+ 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).

16 years agoncurses 5.6 - patch 20080203
Thomas E. Dickey [Sun, 3 Feb 2008 20:52:12 +0000 (20:52 +0000)]
ncurses 5.6 - patch 20080203

+ modify _nc_setupscreen() to set the legacy-coding value the same
  for both narrow/wide models.  It had been set only for wide model,
  but is needed to make unctrl() work with locale in the narrow model.
+ improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
  using unctrl() to display illegal bytes rather than trying to append
  further bytes to make up a valid sequence (reported by Andrey A
  Chernov).
+ modify unctrl() to check codes in 128-255 range versus isprint().
  If they are not printable, and locale was set, use a "M-" or "~"
  sequence.
+ improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
  handling).  Now it hangs in napms(), no matter whether nanosleep()
  or poll() or select() are used on Linux.

16 years agoncurses 5.6 - patch 20080119
Thomas E. Dickey [Sun, 20 Jan 2008 00:51:10 +0000 (00:51 +0000)]
ncurses 5.6 - patch 20080119

+ fixes to build with --disable-ext-funcs
+ add manpage for use_window and use_screen.
+ add set_tabsize() and set_escdelay() functions.

16 years agoncurses 5.6 - patch 20080112
Thomas E. Dickey [Sun, 13 Jan 2008 02:05:47 +0000 (02:05 +0000)]
ncurses 5.6 - patch 20080112

+ remove recursive-mutex definitions, finish threading demo for worm.c
+ remove a redundant adjustment of lines in resizeterm.c's
  adjust_window() which caused occasional misadjustment of stdscr when
  softkeys were used.

16 years agoncurses 5.6 - patch 20080105
Thomas E. Dickey [Sun, 6 Jan 2008 02:04:59 +0000 (02:04 +0000)]
ncurses 5.6 - patch 20080105

+ several improvements to terminfo entries based on xterm #230 -TD
+ modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
  "link_test" builds properly.
+ fix for toe command-line options -u/-U to ensure filename is given.
+ fix allocation-size for command-line parsing in infocmp from 20070728
  (report by Miroslav Lichvar)
+ improve resizeterm() by moving ripped-off lines, and repainting the
  soft-keys (report by Katarina Machalkova)
+ add clarification in wclear's manpage noting that the screen will be
  cleared even if a subwindow is cleared (prompted by Christer Enfors
  question).
+ change test/ncurses.c soft-key tests to work with KEY_RESIZE.

16 years agoncurses 5.6 - patch 20071222
Thomas E. Dickey [Sun, 23 Dec 2007 01:43:39 +0000 (01:43 +0000)]
ncurses 5.6 - patch 20071222

+ continue implementing support for threading demo by adding mutex
  for delwin().

16 years agoncurses 5.6 - patch 20071217
Thomas E. Dickey [Sun, 16 Dec 2007 00:40:08 +0000 (00:40 +0000)]
ncurses 5.6 - patch 20071217

16 years agoncurses 5.6 - patch 20071201
Thomas E. Dickey [Sun, 2 Dec 2007 01:15:08 +0000 (01:15 +0000)]
ncurses 5.6 - patch 20071201

+ add note about configure options needed for Berkeley database to the
  INSTALL file.
+ improve checks for version of Berkeley database libraries.
+ amend fix for rpath to not modify LDFLAGS if the platform has no
  applicable transformation (report by Christian Ebert, cf: 20071124).

16 years agoncurses 5.6 - patch 20071124
Thomas E. Dickey [Sun, 25 Nov 2007 02:05:21 +0000 (02:05 +0000)]
ncurses 5.6 - patch 20071124

+ modify configure option --with-hashed-db to accept a parameter which
  is the install-prefix of a given Berkeley Database (prompted by
  pierre4d2 comments).
+ rewrite wrapper for wcrtomb(), making it work on Solaris.  This is
  used in the form library to determine the length of the buffer needed
  by field_buffer (report by Alfred Fung).
+ remove unneeded window-parameter from C++ binding for wresize (report
  by Chris Lee).

16 years agoncurses 5.6 - patch 20071117
Thomas E. Dickey [Sun, 18 Nov 2007 02:09:05 +0000 (02:09 +0000)]
ncurses 5.6 - patch 20071117

+ modify the support for filesystems which do not support mixed-case to
  generate 2-character (hexadecimal) codes for the lower-level of the
  filesystem terminfo database (request by Michail Vidiassov).
+ add configure option --enable-mixed-case, to allow overriding the
  configure script's check if the filesystem supports mixed-case
  filenames.
+ add wresize() to C++ binding (request by Chris Lee).
+ define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
  it simpler to tell if the extended functions and/or colors are
  declared.

16 years agoncurses 5.6 - patch 20071103
Thomas E. Dickey [Sun, 4 Nov 2007 00:06:31 +0000 (00:06 +0000)]
ncurses 5.6 - patch 20071103

+ update memory-leak checks for changes to names.c and codes.c
+ correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).

16 years agoncurses 5.6 - patch 20071020
Thomas E. Dickey [Sat, 20 Oct 2007 23:21:19 +0000 (23:21 +0000)]
ncurses 5.6 - patch 20071020

+ continue implementing support for threading demo by adding mutex
  for use_window().
+ add mrxvt terminfo entry, add/fix xterm building blocks for modified
  cursor keys -TD
+ compile with FreeBSD "contemporary" TTY interface (patch by
  Rong-En Fan).

16 years agoncurses 5.6 - patch 20071013
Thomas E. Dickey [Sun, 14 Oct 2007 00:38:28 +0000 (00:38 +0000)]
ncurses 5.6 - patch 20071013

+ modify makefile rules to allow clear, tput and tset to be built
  without libtic.  The other programs (infocmp, tic and toe) rely on
  that library.
+ add/modify null-pointer checks in several functions for SP and/or
  the WINDOW* parameter (report by Thorben Krueger).
+ fixes for field_buffer() in formw library (see Redhat Bugzilla
  #310071, patches by Miroslav Lichvar).
+ improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
  Lichvar).
+ update/improve mlterm and rxvt terminfo entries, e.g., for
  the modified cursor- and keypad-keys -TD

16 years agoncurses 5.6 - patch 20071006
Thomas E. Dickey [Sat, 6 Oct 2007 23:01:06 +0000 (23:01 +0000)]
ncurses 5.6 - patch 20071006

+ 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).

16 years agoncurses 5.6 - patch 20070929
Thomas E. Dickey [Sat, 29 Sep 2007 23:30:37 +0000 (23:30 +0000)]
ncurses 5.6 - patch 20070929

+ add new functions to lib_trace.c to setup mutex's for the _tracef()
  calls within the ncurses library.
+ for the reentrant model, move _nc_tputs_trace and _nc_outchars into
  the SCREEN.
+ start modifying test/worm.c to provide threading demo (incomplete).
+ separated ifdef's for some BSD-related symbols in tset.c, to make
  it compile on LynxOS (report by Greg Gemmer).

16 years agoncurses 5.6 - patch 20070915
Thomas E. Dickey [Sat, 15 Sep 2007 22:30:31 +0000 (22:30 +0000)]
ncurses 5.6 - patch 20070915

+ modify Ada95/gen/Makefile to use shlib script, to simplify building
  shared-library configuration on platforms lacking rpath support.
+ build-fix for Ada95/src/Makefile to reflect changed dependency for
  the terminal-interface-curses-aux.adb file which is now generated.
+ restructuring test/worm.c, for use_window() example.

16 years agoncurses 5.6 - patch 20070908
Thomas E. Dickey [Sat, 8 Sep 2007 22:25:05 +0000 (22:25 +0000)]
ncurses 5.6 - patch 20070908

+ add use_window() and use_screen() functions, to develop into support
  for threaded library (incomplete).
+ fix typos in man/curs_opaque.3x which kept the install script from
  creating symbolic links to two aliases created in 20070818 (report by
  Rong-En Fan).

16 years agoncurses 5.6 - patch 20070901
Thomas E. Dickey [Sun, 2 Sep 2007 00:20:31 +0000 (00:20 +0000)]
ncurses 5.6 - patch 20070901

+ remove a spurious newline from output of html.m4, which caused links
  for Ada95 html to be incorrect for the files generated using m4.
+ start investigating mutex's for SCREEN manipulation (incomplete).
+ minor cleanup of codes.c/names.c for --enable-const
+ expand/revise "Routine and Argument Names" section of ncurses manpage
  to address report by David Givens in newsgroup discussion.
+ fix interaction between --without-progs/--with-termcap configure
  options (report by Michail Vidiassov).
+ fix typo in "--disable-relink" option (report by Michail Vidiassov).

16 years agoncurses 5.6 - patch 20070825
Thomas E. Dickey [Sat, 25 Aug 2007 20:38:10 +0000 (20:38 +0000)]
ncurses 5.6 - patch 20070825

+ fix a sign-extension bug in infocmp's repair_acsc() function
  (cf: 971004).
+ fix old configure script bug which prevented "--disable-warnings"
  option from working (patch by Mike Frysinger).

16 years agoncurses 5.6 - patch 20070818
Thomas E. Dickey [Sun, 19 Aug 2007 00:27:58 +0000 (00:27 +0000)]
ncurses 5.6 - patch 20070818

+ add 9term terminal description (request by Juhapekka Tolvanen) -TD
+ modify comp_hash.c's string output to avoid misinterpreting a null
  "\0" followed by a digit.
+ modify MKnames.awk and MKcodes.awk to support big-strings.
  This only applies to the cases (broken linker, reentrant) where
  the corresponding arrays are accessed via wrapper functions.
+ split MKnames.awk into two scripts, eliminating the shell redirection
  which complicated the make process and also the bogus timestamp file
  which was introduced to fix "make -j".
+ add test/test_opaque.c, test/test_arrays.c
+ add wgetscrreg() and wgetparent() for applications that may need it
  when NCURSES_OPAQUE is defined (prompted by Bryan Christ).

16 years agoncurses 5.6 - patch 20070812
Thomas E. Dickey [Sun, 12 Aug 2007 16:31:21 +0000 (16:31 +0000)]
ncurses 5.6 - patch 20070812

+ amend treatment of infocmp "-r" option to retain the 1023-byte limit
  unless "-T" is given (cf: 981017).
+ modify comp_captab.c generation to use big-strings.
+ make _nc_capalias_table and _nc_infoalias_table private accessed via
  _nc_get_alias_table() since the tables are used only within the tic
  library.
+ modify configure script to skip Intel compiler in CF_C_INLINE.
+ make _nc_info_hash_table and _nc_cap_hash_table private accessed via
  _nc_get_hash_table() since the tables are used only within the tic
  library.

16 years agoncurses 5.6 - patch 20070728
Thomas E. Dickey [Sun, 29 Jul 2007 00:27:12 +0000 (00:27 +0000)]
ncurses 5.6 - patch 20070728

+ make _nc_capalias_table and _nc_infoalias_table private, accessed via
  _nc_get_alias_table() since they are used only by parse_entry.c
+ make _nc_key_names private since it is used only by lib_keyname.c
+ add --disable-big-strings configure option to control whether
  unctrl.c is generated using the big-string optimization - which may
  use strings longer than supported by a given compiler.
+ reduce relocation tables for tic, infocmp by changing type of
  internal hash tables to short, and make those private symbols.
+ eliminate large fixed arrays from progs/infocmp.c

16 years agoncurses 5.6 - patch 20070721
Thomas E. Dickey [Sat, 21 Jul 2007 23:58:49 +0000 (23:58 +0000)]
ncurses 5.6 - patch 20070721

+ change winnstr() to stop at the end of the line (cf: 970315).
+ add test/test_get_wstr.c
+ add test/test_getstr.c
+ add test/test_inwstr.c
+ add test/test_instr.c

16 years agoncurses 5.6 - patch 20070716
Thomas E. Dickey [Mon, 16 Jul 2007 22:24:03 +0000 (22:24 +0000)]
ncurses 5.6 - patch 20070716

+ restore a call to obtain screen-size in _nc_setupterm(), which
  is used in tput and other non-screen applications via setupterm()
  (Debian #433357, reported by Florent Bayle, Christian Ohm,
  cf: 20070310).

16 years agoncurses 5.6 - patch 20070714
Thomas E. Dickey [Sun, 15 Jul 2007 00:11:01 +0000 (00:11 +0000)]
ncurses 5.6 - patch 20070714

+ add test/savescreen.c test-program
+ add check to trace-file open, if the given name is a directory, add
  ".log" to the name and try again.
+ add konsole-256color entry -TD
+ add extra gcc warning options from xterm.
+ minor fixes for ncurses/hashmap test-program.
+ modify configure script to quiet c++ build with libtool when the
  --disable-echo option is used.
+ modify configure script to disable ada95 if libtool is selected,
  writing a warning message (addresses FreeBSD ports/114493).
+ update config.guess, config.sub

16 years agoncurses 5.6 - patch 20070707
Thomas E. Dickey [Sat, 7 Jul 2007 23:55:05 +0000 (23:55 +0000)]
ncurses 5.6 - patch 20070707

+ add continuous-move "M" to demo_panels to help test refresh changes.
+ improve fix for refresh of window on top of multi-column characters,
  taking into account some split characters on left/right window
  boundaries.

16 years agoncurses 5.6 - patch 20070630
Thomas E. Dickey [Sun, 1 Jul 2007 00:42:27 +0000 (00:42 +0000)]
ncurses 5.6 - patch 20070630

+ add "widec" row to _tracedump() output to help diagnose remaining
  problems with multi-column characters.
+ partial fix for refresh of window on top of multi-column characters
  which are partly overwritten (report by Sadrul H Chowdhury).
+ ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
  multi-column extension bits are passed there.
+ add setlocale() call to demo_panels.c, needed for wide-characters.
+ add some output flags to _nc_trace_ttymode to help diagnose a bug
  report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,

16 years agoncurses 5.6 - patch 20070623
Thomas E. Dickey [Sat, 23 Jun 2007 23:14:41 +0000 (23:14 +0000)]
ncurses 5.6 - patch 20070623

+ add test/demo_panels.c
+ implement opaque version of setsyx() and getsyx().

16 years agoncurses 5.6 - patch 20070612
Thomas E. Dickey [Tue, 12 Jun 2007 23:12:17 +0000 (23:12 +0000)]
ncurses 5.6 - patch 20070612

+ corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
  #226 -TD
+ split-out key_name() from MKkeyname.awk since it now depends upon
  wunctrl() which is not in libtinfo (report by Rong-En Fan).

16 years agoncurses 5.6 - patch 20070609
Thomas E. Dickey [Sun, 10 Jun 2007 00:41:32 +0000 (00:41 +0000)]
ncurses 5.6 - patch 20070609

+ add test/key_name.c
+ add stdscr cases to test/inchs.c and test_inch_wide.c
+ update test/configure
+ correct formatting of DEL (0x7f) in _nc_vischar().
+ null-terminate result of wunctrl().
+ add null-pointer check in key_name() (report by Andreas Krennmair,
  cf: 20020901).

16 years agoncurses 5.6 - patch 20070602
Thomas E. Dickey [Sun, 3 Jun 2007 00:04:38 +0000 (00:04 +0000)]
ncurses 5.6 - patch 20070602

+ adapt mouse-handling code from menu library in form-library
  (discussion with Clive Nicolson).
+ add a modification of test/dots.c, i.e., test/dots_mvcur.c to
  illustrate how to use mvcur().
+ modify wide-character flavor of SetAttr() to preserve the
  WidecExt() value stored in the .attr field, e.g., in case it
  is overwritten by chgat (report by Aleksi Torhamo).
+ correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
+ build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).

16 years agoncurses 5.6 - patch 20070526
Thomas E. Dickey [Sat, 26 May 2007 23:44:27 +0000 (23:44 +0000)]
ncurses 5.6 - patch 20070526

+ modify keyname() to use "^X" form only if meta() has been called, or
  if keyname() is called without initializing curses, e.g., via
  initscr() or newterm() (prompted by LinuxBase #1604).
+ document some portability issues in man/curs_util.3x
+ add a shadow copy of TTY buffer to _nc_prescreen to fix applications
  broken by moving that data into SCREEN (cf: 20061230).

16 years agoncurses 5.6 - patch 20070512
Thomas E. Dickey [Sun, 13 May 2007 00:52:59 +0000 (00:52 +0000)]
ncurses 5.6 - patch 20070512

+ add 'O' (wide-character panel test) in ncurses.c to demonstrate a
  problem reported by Sadrul H Chowdhury with repainting parts of
  a fullwidth cell.
+ modify slk_init() so that if there are preceding calls to
  ripoffline(), those affect the available lines for soft-keys (adapted
  from patch by Clive Nicolson).
+ document some portability issues in man/curs_getyx.3x

16 years agoncurses 5.6 - patch 20070505
Thomas E. Dickey [Sun, 6 May 2007 00:26:41 +0000 (00:26 +0000)]
ncurses 5.6 - patch 20070505

+ fix a bug in Ada95/samples/ncurses which caused a variable to
  become uninitialized in the "b" test.
+ fix Ada95/gen/Makefile.in adahtml rule to account for recent
  movement of files, fix a few incorrect manpage references in the
  generated html.
+ add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
  memory-checking.
+ correct some functions in Ada95 binding which were using return value
  from C where none was returned:  idcok(), immedok() and wtimeout().
+ amend recent changes for Ada95 binding to make it build with
  Cygwin's linker, e.g., with configure options
--enable-broken-linker --with-ticlib

16 years agoncurses 5.6 - patch 20070428
Thomas E. Dickey [Sun, 29 Apr 2007 00:13:28 +0000 (00:13 +0000)]
ncurses 5.6 - patch 20070428

+ 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).

16 years agoncurses 5.6 - patch 20070421
Thomas E. Dickey [Sun, 22 Apr 2007 00:57:08 +0000 (00:57 +0000)]
ncurses 5.6 - patch 20070421

17 years agoncurses 5.6 - patch 20070414
Thomas E. Dickey [Sat, 14 Apr 2007 23:23:43 +0000 (23:23 +0000)]
ncurses 5.6 - patch 20070414