+ modify verbose-option of infocmp, tic, toe to enable debug-tracing
if that is configured.
20 files changed:
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3851 2022/08/27 19:29:31 tom Exp $
+-- $Id: NEWS,v 1.3853 2022/09/03 21:13:43 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
-------------------------------------------------------------------------------
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.
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20220903
+ + modify verbose-option of infocmp, tic, toe to enable debug-tracing
+ if that is configured.
+
20220827
+ modify configure scripts to use overlooked cases for LD and
PKG_CONFIG variables (report by Alan Webb, Gentoo #866398).
20220827
+ modify configure scripts to use overlooked cases for LD and
PKG_CONFIG variables (report by Alan Webb, Gentoo #866398).
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1499 2022/08/27 09:47:02 tom Exp $
+# $Id: dist.mk,v 1.1500 2022/09/03 11:56:16 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# 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 = 3
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 3
-NCURSES_PATCH = 20220827
+NCURSES_PATCH = 20220903
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
/****************************************************************************
/****************************************************************************
- * Copyright 2018-2020,2021 Thomas E. Dickey *
+ * Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 1998-2012,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* Copyright 1998-2012,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
****************************************************************************/
/*
****************************************************************************/
/*
- * $Id: tic.h,v 1.84 2021/08/21 00:24:45 tom Exp $
+ * $Id: tic.h,v 1.85 2022/09/03 19:11:20 tom Exp $
* tic.h - Global variables and structures for the terminfo compiler.
*/
* tic.h - Global variables and structures for the terminfo compiler.
*/
#define DEBUG_LEVEL(n) ((n) << TRACE_SHIFT)
#define set_trace_level(n) \
#define DEBUG_LEVEL(n) ((n) << TRACE_SHIFT)
#define set_trace_level(n) \
- _nc_tracing &= DEBUG_LEVEL(MAX_DEBUG_LEVEL) \
- + DEBUG_LEVEL(MAX_DEBUG_LEVEL) - 1, \
+ _nc_tracing &= DEBUG_LEVEL(MAX_DEBUG_LEVEL + 1) - 1, \
_nc_tracing |= DEBUG_LEVEL(n)
#ifdef TRACE
_nc_tracing |= DEBUG_LEVEL(n)
#ifdef TRACE
/****************************************************************************
/****************************************************************************
- * Copyright 2020,2021 Thomas E. Dickey *
+ * Copyright 2020-2021,2022 Thomas E. Dickey *
* Copyright 1998-2010,2012 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* Copyright 1998-2010,2012 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
-MODULE_ID("$Id: m_post.c,v 1.36 2021/05/08 20:20:01 tom Exp $")
+MODULE_ID("$Id: m_post.c,v 1.37 2022/09/03 21:40:27 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnmenu
/*---------------------------------------------------------------------------
| Facility : libnmenu
ITEM *item = menu->items[0];
ITEM *lastvert;
ITEM *hitem;
ITEM *item = menu->items[0];
ITEM *lastvert;
ITEM *hitem;
chtype s_bkgd;
assert(item && menu->win);
chtype s_bkgd;
assert(item && menu->win);
ITEM *lasthor;
wmove(menu->win, y, 0);
ITEM *lasthor;
wmove(menu->win, y, 0);
/****************************************************************************
/****************************************************************************
- * Copyright 2020 Thomas E. Dickey *
+ * Copyright 2020,2022 Thomas E. Dickey *
* Copyright 1998-2009,2016 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* Copyright 1998-2009,2016 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
-MODULE_ID("$Id: lib_erase.c,v 1.19 2020/02/02 23:34:34 tom Exp $")
+MODULE_ID("$Id: lib_erase.c,v 1.20 2022/09/03 21:40:27 tom Exp $")
NCURSES_EXPORT(int)
werase(WINDOW *win)
{
int code = ERR;
NCURSES_EXPORT(int)
werase(WINDOW *win)
{
int code = ERR;
NCURSES_CH_T *start;
T((T_CALLED("werase(%p)"), (void *) win));
if (win) {
NCURSES_CH_T *start;
T((T_CALLED("werase(%p)"), (void *) win));
if (win) {
-MODULE_ID("$Id: comp_parse.c,v 1.122 2022/05/08 00:11:44 tom Exp $")
+MODULE_ID("$Id: comp_parse.c,v 1.123 2022/09/03 20:02:45 tom Exp $")
static void sanity_check2(TERMTYPE2 *, bool);
NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2;
static void sanity_check2(TERMTYPE2 *, bool);
NCURSES_IMPEXP void (NCURSES_API *_nc_check_termtype2) (TERMTYPE2 *, bool) = sanity_check2;
- DEBUG(1, (T_CALLED("enqueue(ep=%p)"), (void *) ep));
+ DEBUG(2, (T_CALLED("enqueue(ep=%p)"), (void *) ep));
newp = _nc_copy_entry(ep);
if (newp == 0)
newp = _nc_copy_entry(ep);
if (newp == 0)
newp->next = 0;
if (newp->last)
newp->last->next = newp;
newp->next = 0;
if (newp->last)
newp->last->next = newp;
- DEBUG(1, (T_RETURN("")));
+ DEBUG(2, (T_RETURN("")));
}
#define NAMEBUFFER_SIZE (MAX_NAME_SIZE + 2)
}
#define NAMEBUFFER_SIZE (MAX_NAME_SIZE + 2)
bool oldsuppress = _nc_suppress_warnings;
int immediate = 0;
bool oldsuppress = _nc_suppress_warnings;
int immediate = 0;
(T_CALLED("_nc_read_entry_source(file=%p, buf=%p, literal=%d, silent=%d, hook=%p)"),
(void *) fp, buf, literal, silent, (void *) hook));
(T_CALLED("_nc_read_entry_source(file=%p, buf=%p, literal=%d, silent=%d, hook=%p)"),
(void *) fp, buf, literal, silent, (void *) hook));
#endif
_nc_suppress_warnings = oldsuppress;
#endif
_nc_suppress_warnings = oldsuppress;
+ DEBUG(2, (T_RETURN("")));
}
#if 0 && NCURSES_XNAMES
}
#if 0 && NCURSES_XNAMES
for_entry_list(rp) {
if (rp != qp
&& _nc_name_match(rp->tterm.term_names, lookfor, "|")) {
for_entry_list(rp) {
if (rp != qp
&& _nc_name_match(rp->tterm.term_names, lookfor, "|")) {
- DEBUG(2, ("%s: resolving use=%s (in core)",
- child, lookfor));
+ DEBUG(2, ("%s: resolving use=%s %p (in core)",
+ child, lookfor, lookfor));
qp->uses[i].link = rp;
foundit = TRUE;
qp->uses[i].link = rp;
foundit = TRUE;
for_entry_list(qp) {
if (qp->nuses > 0) {
for_entry_list(qp) {
if (qp->nuses > 0) {
- DEBUG(2, ("%s: attempting merge",
- _nc_first_name(qp->tterm.term_names)));
+ DEBUG(2, ("%s: attempting merge of %d entries",
+ _nc_first_name(qp->tterm.term_names),
+ qp->nuses));
/*
* If any of the use entries we're looking for is
* incomplete, punt. We'll catch this entry on a
* subsequent pass.
*/
/*
* If any of the use entries we're looking for is
* incomplete, punt. We'll catch this entry on a
* subsequent pass.
*/
- for (i = 0; i < qp->nuses; i++)
+ for (i = 0; i < qp->nuses; i++) {
if (qp->uses[i].link
&& qp->uses[i].link->nuses) {
DEBUG(2, ("%s: use entry %d unresolved",
_nc_first_name(qp->tterm.term_names), i));
goto incomplete;
}
if (qp->uses[i].link
&& qp->uses[i].link->nuses) {
DEBUG(2, ("%s: use entry %d unresolved",
_nc_first_name(qp->tterm.term_names), i));
goto incomplete;
}
/*
* First, make sure there is no garbage in the
/*
* First, make sure there is no garbage in the
-ncurses6 (6.3+20220827) unstable; urgency=low
+ncurses6 (6.3+20220903) unstable; urgency=low
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 27 Aug 2022 05:47:02 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Sep 2022 07:56:16 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.3+20220827) unstable; urgency=low
+ncurses6 (6.3+20220903) unstable; urgency=low
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 27 Aug 2022 05:47:02 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Sep 2022 07:56:16 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.3+20220827) unstable; urgency=low
+ncurses6 (6.3+20220903) unstable; urgency=low
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 27 Aug 2022 05:47:02 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Sep 2022 07:56:16 -0400
ncurses6 (5.9-20120608) unstable; urgency=low
ncurses6 (5.9-20120608) unstable; urgency=low
-; $Id: mingw-ncurses.nsi,v 1.539 2022/08/27 09:47:02 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.540 2022/09/03 11:56:16 tom Exp $\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "3"\r
!define VERSION_YYYY "2022"\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "3"\r
!define VERSION_YYYY "2022"\r
-!define VERSION_MMDD "0827"\r
+!define VERSION_MMDD "0903"\r
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
\r
!define MY_ABI "5"\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.3
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.3
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.3
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.3
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.3
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.3
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
-MODULE_ID("$Id: infocmp.c,v 1.153 2022/03/05 16:15:48 tom Exp $")
+MODULE_ID("$Id: infocmp.c,v 1.155 2022/09/03 23:28:48 tom Exp $")
#define MAX_STRING 1024 /* maximum formatted string */
#define MAX_STRING 1024 /* maximum formatted string */
case 'v':
itrace = (unsigned) optarg_to_number();
case 'v':
itrace = (unsigned) optarg_to_number();
- set_trace_level(itrace);
* Author: Thomas E. Dickey 1997-on *
****************************************************************************/
/*
* Author: Thomas E. Dickey 1997-on *
****************************************************************************/
/*
- * $Id: progs.priv.h,v 1.53 2021/06/26 20:43:19 tom Exp $
+ * $Id: progs.priv.h,v 1.54 2022/09/03 23:28:26 tom Exp $
#define SIZEOF(v) (sizeof(v)/sizeof(v[0]))
#define SIZEOF(v) (sizeof(v)/sizeof(v[0]))
+#ifdef TRACE
+#define use_verbosity(level) do { set_trace_level(level); if (_nc_tracing) _nc_tracing |= TRACE_MAXIMUM; } while (0)
+#else
+#define use_verbosity(level) do { set_trace_level(level); } while (0)
+#endif
+
#define NCURSES_EXT_NUMBERS (NCURSES_EXT_COLORS && HAVE_INIT_EXTENDED_COLOR)
#if NCURSES_EXT_NUMBERS
#define NCURSES_EXT_NUMBERS (NCURSES_EXT_COLORS && HAVE_INIT_EXTENDED_COLOR)
#if NCURSES_EXT_NUMBERS
#include <parametrized.h>
#include <transform.h>
#include <parametrized.h>
#include <transform.h>
-MODULE_ID("$Id: tic.c,v 1.315 2022/07/02 20:40:22 tom Exp $")
+MODULE_ID("$Id: tic.c,v 1.318 2022/09/03 23:29:16 tom Exp $")
#define STDIN_NAME "<stdin>"
#define STDIN_NAME "<stdin>"
break;
case 'D':
debug_level = VtoTrace(v_opt);
break;
case 'D':
debug_level = VtoTrace(v_opt);
- set_trace_level(debug_level);
+ use_verbosity(debug_level);
show_databases(outdir);
ExitProgram(EXIT_SUCCESS);
break;
show_databases(outdir);
ExitProgram(EXIT_SUCCESS);
break;
}
debug_level = VtoTrace(v_opt);
}
debug_level = VtoTrace(v_opt);
- set_trace_level(debug_level);
+ use_verbosity(debug_level);
if (_nc_tracing) {
save_check_termtype = _nc_check_termtype2;
if (_nc_tracing) {
save_check_termtype = _nc_check_termtype2;
/****************************************************************************
/****************************************************************************
- * Copyright 2018-2020,2021 Thomas E. Dickey *
+ * Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 1998-2013,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* Copyright 1998-2013,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
#include <hashed_db.h>
#endif
#include <hashed_db.h>
#endif
-MODULE_ID("$Id: toe.c,v 1.86 2021/10/10 00:55:32 tom Exp $")
+MODULE_ID("$Id: toe.c,v 1.88 2022/09/03 23:29:32 tom Exp $")
#define isDotname(name) (!strcmp(name, ".") || !strcmp(name, ".."))
#define isDotname(name) (!strcmp(name, ".") || !strcmp(name, ".."))
- set_trace_level(v_opt);
if (report_file != 0) {
if (freopen(report_file, "r", stdin) == 0) {
if (report_file != 0) {
if (freopen(report_file, "r", stdin) == 0) {
/****************************************************************************
/****************************************************************************
- * Copyright 2020 Thomas E. Dickey *
+ * Copyright 2020,2022 Thomas E. Dickey *
* Copyright 2002-2016,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* Copyright 2002-2016,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* authorization. *
****************************************************************************/
/*
* authorization. *
****************************************************************************/
/*
- * $Id: ins_wide.c,v 1.25 2020/02/02 23:34:34 tom Exp $
+ * $Id: ins_wide.c,v 1.26 2022/09/03 21:40:27 tom Exp $
*
* Demonstrate the wins_wstr() and wins_wch functions.
* Thomas Dickey - 2002/11/23
*
* Demonstrate the wins_wstr() and wins_wch functions.
* Thomas Dickey - 2002/11/23
-ColOf(wchar_t *buffer, int length, int margin)
+ColOf(const wchar_t *buffer, int length, int margin)
/****************************************************************************
/****************************************************************************
- * Copyright 2020,2021 Thomas E. Dickey *
+ * Copyright 2020-2021,2022 Thomas E. Dickey *
* Copyright 2009-2016,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* Copyright 2009-2016,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* authorization. *
****************************************************************************/
/*
* authorization. *
****************************************************************************/
/*
- * $Id: test_add_wchstr.c,v 1.29 2021/05/08 20:04:10 tom Exp $
+ * $Id: test_add_wchstr.c,v 1.30 2022/09/03 21:40:27 tom Exp $
*
* Demonstrate the waddwchstr() and wadd_wch functions.
* Thomas Dickey - 2009/9/12
*
* Demonstrate the waddwchstr() and wadd_wch functions.
* Thomas Dickey - 2009/9/12
-ColOf(wchar_t *buffer, int length, int margin)
+ColOf(const wchar_t *buffer, int length, int margin)