-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.2937 2017/08/27 18:35:58 tom Exp $
+-- $Id: NEWS,v 1.2939 2017/09/02 21:48:17 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20170902
+ + amend change for endwin-state for better consistency with the older
+ logic (report/patch by Jeb Rosen, cf: 20170722).
+ + modify check in fmt_entry() to handle a cancelled reset string
+ (Debian #873746). Make similar fixes in other parts of dump_entry.c
+ and tput.c
+
20170827
+ fix a bug in repeat_char logic (cf: 20170729, report by Chris Clayton).
-5:0:9 6.0 20170827
+5:0:9 6.0 20170902
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1180 2017/08/27 15:37:47 tom Exp $
+# $Id: dist.mk,v 1.1181 2017/08/29 22:24:15 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 0
-NCURSES_PATCH = 20170827
+NCURSES_PATCH = 20170902
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
#include <ctype.h>
-MODULE_ID("$Id: tty_update.c,v 1.296 2017/08/27 19:40:17 tom Exp $")
+MODULE_ID("$Id: tty_update.c,v 1.297 2017/09/02 21:45:44 Jeb.Rosen Exp $")
/*
* This define controls the line-breakout optimization. Every once in a
SP_PARM->_fifohold--;
#if USE_SIZECHANGE
- if ((SP_PARM->_endwin == ewRunning)
+ if ((SP_PARM->_endwin == ewSuspend)
|| _nc_handle_sigwinch(SP_PARM)) {
/*
* This is a transparent extension: XSI does not address it,
-ncurses6 (6.0+20170827) unstable; urgency=low
+ncurses6 (6.0+20170902) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 27 Aug 2017 11:37:47 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Tue, 29 Aug 2017 18:24:15 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.0+20170827) unstable; urgency=low
+ncurses6 (6.0+20170902) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 27 Aug 2017 11:37:47 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Tue, 29 Aug 2017 18:24:15 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.0+20170827) unstable; urgency=low
+ncurses6 (6.0+20170902) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 27 Aug 2017 11:37:47 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Tue, 29 Aug 2017 18:24:15 -0400
ncurses6 (5.9-20120608) unstable; urgency=low
-; $Id: mingw-ncurses.nsi,v 1.228 2017/08/27 15:37:47 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.229 2017/08/29 22:24:15 tom Exp $\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "0"\r
!define VERSION_YYYY "2017"\r
-!define VERSION_MMDD "0827"\r
+!define VERSION_MMDD "0902"\r
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
\r
!define MY_ABI "5"\r
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.0
-Release: 20170827
+Release: 20170902
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.0
-Release: 20170827
+Release: 20170902
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
#include "termsort.c" /* this C file is generated */
#include <parametrized.h> /* so is this */
-MODULE_ID("$Id: dump_entry.c,v 1.167 2017/07/15 21:22:01 tom Exp $")
+MODULE_ID("$Id: dump_entry.c,v 1.168 2017/09/02 21:01:54 tom Exp $")
#define DISCARD(string) string = ABSENT_STRING
#define PRINTF (void) printf
#undef CUR
#define CUR tterm->
if (outform == F_TERMCAP) {
- if (termcap_reset != ABSENT_STRING) {
- if (init_3string != ABSENT_STRING
+ if (VALID_STRING(termcap_reset)) {
+ if (VALID_STRING(init_3string)
&& !strcmp(init_3string, termcap_reset))
DISCARD(init_3string);
- if (reset_2string != ABSENT_STRING
+ if (VALID_STRING(reset_2string)
&& !strcmp(reset_2string, termcap_reset))
DISCARD(reset_2string);
}
buffer[0] = '\0';
if (predval != FAIL) {
- if (capability != ABSENT_STRING
+ if (VALID_STRING(capability)
&& i + 1 > num_strings)
num_strings = i + 1;
}
}
/* e.g., trimmed_sgr0 */
- if (capability != ABSENT_STRING &&
- capability != CANCELLED_STRING &&
+ if (VALID_STRING(capability) &&
capability != tterm->Strings[i])
free(capability);
}
for (n = 0; n <= 10; ++n) {
_nc_SPRINTF(name, _nc_SLIMIT(sizeof(name)) "lf%d", n);
- if ((cap = find_string(tterm, name)) != ABSENT_STRING
+ cap = find_string(tterm, name);
+ if (VALID_STRING(cap)
&& kill_string(tterm, cap)) {
target -= (int) (strlen(cap) + 5);
++result;
for (n = 60; n >= 0; --n) {
_nc_SPRINTF(name, _nc_SLIMIT(sizeof(name)) "kf%d", n);
- if ((cap = find_string(tterm, name)) != ABSENT_STRING
+ cap = find_string(tterm, name);
+ if (VALID_STRING(cap)
&& kill_string(tterm, cap)) {
target -= (int) (strlen(cap) + 5);
++result;
{
bool result = TRUE;
- if (mapping != ABSENT_STRING) {
+ if (VALID_STRING(mapping)) {
int n = 0;
while (mapping[n] != '\0') {
if (isLine(mapping[n]) &&
#include <transform.h>
#include <tty_settings.h>
-MODULE_ID("$Id: tput.c,v 1.71 2017/08/19 13:44:27 tom Exp $")
+MODULE_ID("$Id: tput.c,v 1.72 2017/09/02 21:03:26 tom Exp $")
#define PUTS(s) fputs(s, stdout)
}
#endif
quit(4, "unknown terminfo capability '%s'", name);
- } else if (s != ABSENT_STRING) {
+ } else if (VALID_STRING(s)) {
if (argc > 1) {
int k;
int ignored;