From f7b8e526e024ce141e61633e966255400de67772 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 2 Sep 2007 00:20:31 +0000 Subject: [PATCH] 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). --- Ada95/gen/html.m4 | 6 +- .../gen/terminal_interface-curses-aux.ads.m4 | 5 +- NEWS | 13 +- configure | 10 +- configure.in | 8 +- doc/html/ada/funcs/A.htm | 15 + doc/html/ada/funcs/B.htm | 10 + doc/html/ada/funcs/C.htm | 30 +- doc/html/ada/funcs/D.htm | 27 +- doc/html/ada/funcs/E.htm | 8 + doc/html/ada/funcs/F.htm | 17 + doc/html/ada/funcs/G.htm | 56 + doc/html/ada/funcs/H.htm | 8 + doc/html/ada/funcs/I.htm | 21 + doc/html/ada/funcs/K.htm | 3 + doc/html/ada/funcs/L.htm | 5 + doc/html/ada/funcs/M.htm | 9 + doc/html/ada/funcs/N.htm | 8 + doc/html/ada/funcs/O.htm | 6 +- doc/html/ada/funcs/P.htm | 16 + doc/html/ada/funcs/R.htm | 22 + doc/html/ada/funcs/S.htm | 105 +- doc/html/ada/funcs/T.htm | 11 + doc/html/ada/funcs/U.htm | 11 + doc/html/ada/funcs/V.htm | 5 +- doc/html/ada/funcs/W.htm | 1 + .../terminal_interface-curses-aux__ads.htm | 99 +- ...nterface-curses-forms-field_types__ads.htm | 171 +- ...face-curses-forms-field_user_data__ads.htm | 23 +- ...rface-curses-forms-form_user_data__ads.htm | 23 +- .../terminal_interface-curses-forms__ads.htm | 719 ++++--- ...rface-curses-menus-item_user_data__ads.htm | 23 +- ...rface-curses-menus-menu_user_data__ads.htm | 23 +- .../terminal_interface-curses-menus__ads.htm | 505 +++-- .../terminal_interface-curses-mouse__ads.htm | 207 +- ...interface-curses-panels-user_data__ads.htm | 23 +- .../terminal_interface-curses-panels__ads.htm | 69 +- .../terminal_interface-curses-trace__ads.htm | 65 +- .../ada/terminal_interface-curses__ads.htm | 1733 ++++++++--------- man/ncurses.3x | 219 ++- ncurses/Makefile.in | 3 +- ncurses/base/lib_set_term.c | 9 +- ncurses/curses.priv.h | 19 +- ncurses/tinfo/MKcodes.awk | 8 +- ncurses/tinfo/MKnames.awk | 8 +- ncurses/tinfo/lib_data.c | 5 +- ncurses/tinfo/lib_setup.c | 5 +- test/ditto.c | 42 +- test/test_arrays.c | 3 +- 49 files changed, 2469 insertions(+), 1971 deletions(-) diff --git a/Ada95/gen/html.m4 b/Ada95/gen/html.m4 index 21734c78..8df2653c 100644 --- a/Ada95/gen/html.m4 +++ b/Ada95/gen/html.m4 @@ -1,5 +1,5 @@ dnl*************************************************************************** -dnl Copyright (c) 2000,2006 Free Software Foundation, Inc. * +dnl Copyright (c) 2000-2006,2007 Free Software Foundation, Inc. * dnl * dnl Permission is hereby granted, free of charge, to any person obtaining a * dnl copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ dnl sale, use or other dealings in this Software without prior written * dnl authorization. * dnl*************************************************************************** dnl -dnl $Id: html.m4,v 1.2 2006/04/22 23:16:44 tom Exp $ +dnl $Id: html.m4,v 1.3 2007/09/01 23:59:59 tom Exp $ define(`ANCHORIDX',`0')dnl define(`MANPAGE',`define(`MANPG',$1)dnl |===================================================================== @@ -35,6 +35,6 @@ define(`MANPAGE',`define(`MANPG',$1)dnl define(`ANCHOR',`define(`ANCHORIDX',incr(ANCHORIDX))dnl `#'1A NAME="AFU`_'ANCHORIDX"`#'2dnl define(`CFUNAME',`$1')define(`AFUNAME',`$2')dnl -|') +|')dnl define(`AKA',``AKA': CFUNAME')dnl define(`ALIAS',``AKA': $1')dnl diff --git a/Ada95/gen/terminal_interface-curses-aux.ads.m4 b/Ada95/gen/terminal_interface-curses-aux.ads.m4 index 4fc742a2..e0c93489 100644 --- a/Ada95/gen/terminal_interface-curses-aux.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-aux.ads.m4 @@ -1,6 +1,7 @@ -- -*- ada -*- define(`HTMLNAME',`terminal_interface-curses-aux__ads.htm')dnl -include(M4MACRO)------------------------------------------------------------------------------ +include(M4MACRO)dnl +------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- @@ -37,7 +38,7 @@ include(M4MACRO)---------------------------------------------------------------- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.15 $ +-- $Revision: 1.16 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ include(`Base_Defs') diff --git a/NEWS b/NEWS index 23a1806d..0a9fe3af 100644 --- a/NEWS +++ b/NEWS @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.1157 2007/08/25 20:12:52 tom Exp $ +-- $Id: NEWS,v 1.1162 2007/09/02 00:01:06 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -45,6 +45,17 @@ See the AUTHORS file for the corresponding full names. Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +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). + 20070825 + fix a sign-extension bug in infocmp's repair_acsc() function (cf: 971004). diff --git a/configure b/configure index 0cf4679c..a58b6d74 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.423 . +# From configure.in Revision: 1.425 . # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.52.20061216. # @@ -4901,9 +4901,9 @@ echo "${ECHO_T}$cf_cv_ld_rpath" >&6 echo "$as_me:4901: checking if shared libraries should be relinked during install" >&5 echo $ECHO_N "checking if shared libraries should be relinked during install... $ECHO_C" >&6 -# Check whether --enable-rpath or --disable-rpath was given. -if test "${enable_rpath+set}" = set; then - enableval="$enable_rpath" +# Check whether --enable-relink or --disable-relink was given. +if test "${enable_relink+set}" = set; then + enableval="$enable_relink" cf_cv_do_relink=$enableval else cf_cv_do_relink=yes @@ -15190,7 +15190,7 @@ echo "$as_me:15189: checking for library subsets" >&5 echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 LIB_SUBSETS= -if test "$cf_with_progs" = yes || test "$with_ticlib" != no; then +if test "$cf_with_progs" = yes || test "$with_ticlib" != no || test "$with_termcap" != no; then LIB_SUBSETS="${LIB_SUBSETS}ticlib" if test "$with_ticlib" != no ; then LIB_SUBSETS="${LIB_SUBSETS} " diff --git a/configure.in b/configure.in index 0c413b01..fb6c523b 100644 --- a/configure.in +++ b/configure.in @@ -28,14 +28,14 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: configure.in,v 1.423 2007/08/25 19:15:51 Mike.Frysinger Exp $ +dnl $Id: configure.in,v 1.425 2007/09/01 17:00:08 tom Exp $ dnl Process this file with autoconf to produce a configure script. dnl dnl See http://invisible-island.net/autoconf/ for additional information. dnl dnl --------------------------------------------------------------------------- AC_PREREQ(2.13.20020210) -AC_REVISION($Revision: 1.423 $) +AC_REVISION($Revision: 1.425 $) AC_INIT(ncurses/base/lib_initscr.c) AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) @@ -353,7 +353,7 @@ AC_ARG_ENABLE(rpath, [cf_cv_ld_rpath=no]) AC_MSG_RESULT($cf_cv_ld_rpath) AC_MSG_CHECKING(if shared libraries should be relinked during install) -AC_ARG_ENABLE(rpath, +AC_ARG_ENABLE(relink, [ --disable-relink relink shared libraries during install], [cf_cv_do_relink=$enableval], [cf_cv_do_relink=yes]) @@ -1457,7 +1457,7 @@ fi AC_MSG_CHECKING(for library subsets) LIB_SUBSETS= -if test "$cf_with_progs" = yes || test "$with_ticlib" != no; then +if test "$cf_with_progs" = yes || test "$with_ticlib" != no || test "$with_termcap" != no; then LIB_SUBSETS="${LIB_SUBSETS}ticlib" if test "$with_ticlib" != no ; then LIB_SUBSETS="${LIB_SUBSETS} " diff --git a/doc/html/ada/funcs/A.htm b/doc/html/ada/funcs/A.htm index 1c0b6dd7..9a774d1b 100644 --- a/doc/html/ada/funcs/A.htm +++ b/doc/html/ada/funcs/A.htm @@ -4,6 +4,21 @@

Functions - A

[index] diff --git a/doc/html/ada/funcs/B.htm b/doc/html/ada/funcs/B.htm index dc182cc9..59c58866 100644 --- a/doc/html/ada/funcs/B.htm +++ b/doc/html/ada/funcs/B.htm @@ -4,8 +4,18 @@

Functions - B

[index] diff --git a/doc/html/ada/funcs/C.htm b/doc/html/ada/funcs/C.htm index 66bead8f..0ae83fa9 100644 --- a/doc/html/ada/funcs/C.htm +++ b/doc/html/ada/funcs/C.htm @@ -5,23 +5,51 @@ [index] diff --git a/doc/html/ada/funcs/H.htm b/doc/html/ada/funcs/H.htm index fcedda80..5c88492a 100644 --- a/doc/html/ada/funcs/H.htm +++ b/doc/html/ada/funcs/H.htm @@ -5,10 +5,18 @@ [index] diff --git a/doc/html/ada/funcs/I.htm b/doc/html/ada/funcs/I.htm index e5f516e5..2567e41c 100644 --- a/doc/html/ada/funcs/I.htm +++ b/doc/html/ada/funcs/I.htm @@ -6,19 +6,40 @@ diff --git a/doc/html/ada/funcs/L.htm b/doc/html/ada/funcs/L.htm index acc11277..b7d63ddf 100644 --- a/doc/html/ada/funcs/L.htm +++ b/doc/html/ada/funcs/L.htm @@ -4,12 +4,17 @@

Functions - L

[index] diff --git a/doc/html/ada/funcs/M.htm b/doc/html/ada/funcs/M.htm index c6b35762..61c63947 100644 --- a/doc/html/ada/funcs/M.htm +++ b/doc/html/ada/funcs/M.htm @@ -4,6 +4,9 @@

Functions - M

[index]