]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 6.0 - patch 20160319
authorThomas E. Dickey <dickey@invisible-island.net>
Sun, 20 Mar 2016 01:23:38 +0000 (01:23 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sun, 20 Mar 2016 01:23:38 +0000 (01:23 +0000)
+ improve description of tgoto parameters (report by Steffen Nurpmeso).
+ amend workaround for Solaris line-drawing to restore a special case
  that maps Unicode line-drawing characters into the acsc string for
  non-Unicode locales (Debian #816888).

NEWS
VERSION
dist.mk
man/curs_termcap.3x
ncurses/widechar/lib_wacs.c
package/debian-mingw/changelog
package/debian-mingw64/changelog
package/debian/changelog
package/mingw-ncurses.nsi
package/mingw-ncurses.spec
package/ncurses.spec

diff --git a/NEWS b/NEWS
index fd6dde3c2790e9834e5e856fbf2484ca0f2223ec..6a983cadc0317ef80070b09d8e9157aa6c335b44 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.2580 2016/03/12 18:59:41 tom Exp $
+-- $Id: NEWS,v 1.2583 2016/03/19 23:00:31 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,12 @@ 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.
 
+20160319
+       + improve description of tgoto parameters (report by Steffen Nurpmeso).
+       + amend workaround for Solaris line-drawing to restore a special case
+         that maps Unicode line-drawing characters into the acsc string for
+         non-Unicode locales (Debian #816888).
+
 20160312
        + modified test/filter.c to illustrate an alternative to getnstr, that
          polls for input while updating a clock on the right margin as well
diff --git a/VERSION b/VERSION
index 1ce32c81af311ffac414190ffb2fdda8fe1ccf61..9d0ab42c3c1f82cdfebc61b42d1bb777250d9833 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5:0:9  6.0     20160312
+5:0:9  6.0     20160319
diff --git a/dist.mk b/dist.mk
index 37dabd8c5ff5485d5c5c53892018c5ad9dbc3283..b4894977ec0661247fde13493e1d30220c680ac3 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.1097 2016/03/12 14:38:16 tom Exp $
+# $Id: dist.mk,v 1.1098 2016/03/19 14:38:08 tom Exp $
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -37,7 +37,7 @@ SHELL = /bin/sh
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 6
 NCURSES_MINOR = 0
-NCURSES_PATCH = 20160312
+NCURSES_PATCH = 20160319
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index 2f0eea875838882c71d616d0c0bc67d0e93ec5a7..9b21505603b968b74af2ea357cd98d4129a06a9e 100644 (file)
@@ -1,5 +1,5 @@
 .\"***************************************************************************
-.\" Copyright (c) 1998-2013,2015 Free Software Foundation, Inc.              *
+.\" Copyright (c) 1998-2015,2016 Free Software Foundation, Inc.              *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
 .\" copy of this software and associated documentation files (the            *
@@ -26,7 +26,7 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: curs_termcap.3x,v 1.31 2015/04/26 00:49:10 tom Exp $
+.\" $Id: curs_termcap.3x,v 1.32 2016/03/19 22:52:25 tom Exp $
 .TH curs_termcap 3X ""
 .de bP
 .IP \(bu 4
@@ -146,8 +146,26 @@ Only the first two characters of the \fBid\fR parameter of
 \fBtgetstr\fR are compared in lookups.
 .SS FORMATTING CAPABILITIES
 .PP
-The \fBtgoto\fR routine instantiates the parameters into the given capability.
-The output from this routine is to be passed to \fBtputs\fR.
+The \fBtgoto\fR routine expands the given capability using the parameters.
+.bP
+Because the capability may have padding characters,
+the output of \fBtgoto\fP should be passed to \fBtputs\fR
+rather than some other output function such as \fBprintf\fP.
+.bP
+While \fBtgoto\fP is assumed to be used for the two-parameter
+cursor positioning capability,
+termcap applications also use it for single-parameter capabilities.
+.IP
+Doing this shows a quirk in \fBtgoto\fP: most hardware
+terminals use cursor addressing with \fIrow\fP first,
+but the original developers of the termcap interface chose to
+put the \fIcolumn\fP parameter first.
+The \fBtgoto\fP function swaps the order of parameters.
+It does this also for calls requiring only a single parameter.
+In that case, the first parameter is merely a placeholder.
+.bP
+Normally the ncurses library is compiled with terminfo support.
+In that case, \fBtgoto\fP uses \fBtparm\fP (a more capable formatter).
 .PP
 The \fBtputs\fR routine is described on the \fBcurs_terminfo\fR(3X) manual
 page.  It can retrieve capabilities by either termcap or terminfo name.
index 455f4a1894a9c30d27429c9b806dc3e24ae1fd58..716ce728bc5df0a7aad8542d053b6ec9195275c2 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2002-2014,2015 Free Software Foundation, Inc.              *
+ * Copyright (c) 2002-2015,2016 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -32,7 +32,7 @@
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: lib_wacs.c,v 1.16 2015/12/19 23:29:03 tom Exp $")
+MODULE_ID("$Id: lib_wacs.c,v 1.17 2016/03/19 19:00:09 tom Exp $")
 
 NCURSES_EXPORT_VAR(cchar_t) * _nc_wacs = 0;
 
@@ -129,9 +129,13 @@ _nc_init_wacs(void)
 #endif
 
            m = table[n].map;
-           SetChar(_nc_wacs[m],
-                   table[n].value[(active && (wide == 1)) ? 1 : 0],
-                   A_NORMAL);
+           if (active && (wide == 1)) {
+               SetChar(_nc_wacs[m], table[n].value[1], A_NORMAL);
+           } else if (acs_map[m] & A_ALTCHARSET) {
+               SetChar(_nc_wacs[m], m, A_ALTCHARSET);
+           } else {
+               SetChar(_nc_wacs[m], table[n].value[0], A_NORMAL);
+           }
 
            T(("#%d, wide:%d SetChar(%c, %#04x) = %s",
               n, wide, m,
index fac672650b57d0ba58367ae17778f054a8acc99c..da6da78120930197233bb10d66a455f9ec2be23f 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.0+20160312) unstable; urgency=low
+ncurses6 (6.0+20160319) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Mar 2016 09:38:16 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 19 Mar 2016 10:38:08 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index fac672650b57d0ba58367ae17778f054a8acc99c..da6da78120930197233bb10d66a455f9ec2be23f 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.0+20160312) unstable; urgency=low
+ncurses6 (6.0+20160319) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Mar 2016 09:38:16 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 19 Mar 2016 10:38:08 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index 1c3223c7f6d72120392d42c55b01a0aa44a16727..0e22cf6788598254cbea14a36d7b3ee51e4c57ab 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.0+20160312) unstable; urgency=low
+ncurses6 (6.0+20160319) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Mar 2016 09:38:16 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 19 Mar 2016 10:38:08 -0400
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index c1295216d112ec57a3a8a7e3ad74e095fa257a67..cd7156694757075f73102bf9789ffcd54c5f3a22 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.149 2016/03/12 14:38:16 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.150 2016/03/19 14:38:08 tom Exp $\r
 \r
 ; TODO add examples\r
 ; TODO bump ABI to 6\r
@@ -10,7 +10,7 @@
 !define VERSION_MAJOR "6"\r
 !define VERSION_MINOR "0"\r
 !define VERSION_YYYY  "2016"\r
-!define VERSION_MMDD  "0312"\r
+!define VERSION_MMDD  "0319"\r
 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
 \r
 !define MY_ABI   "5"\r
index 3d971e67ea8091060ba948ee7707f15883e6c69b..0ccebb8153a89cb5d0a388c115b5cfa0601844a0 100644 (file)
@@ -3,7 +3,7 @@
 Summary: shared libraries for terminal handling
 Name: mingw32-ncurses6
 Version: 6.0
-Release: 20160312
+Release: 20160319
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
index 91ae153a4ed95f491998d739b8603c55452d1f23..5ae2085e0f1f866d0e7b6ce428a2bb55f65fcbc2 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Version: 6.0
-Release: 20160312
+Release: 20160319
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz