OSDN Git Service
Chih-Wei Huang [Fri, 18 Jun 2021 11:06:03 +0000 (19:06 +0800)]
Fix building errors on Android 10
Allow to use host gcc and related utilities to run configure script
and build host tools.
Chih-Wei Huang [Fri, 18 Jun 2021 11:03:31 +0000 (19:03 +0800)]
Android: initial porting of ncurses 6.2
Based on https://github.com/hmtheboy154/android_external_libncurses
but rather than committing the generated files into the repository,
generate these files to $OUT at build time. The source tree will not
be modified at build time.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Wed, 16 Jun 2021 15:52:05 +0000 (23:52 +0800)]
ncurses: base: set default value of TERM to linux
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Chih-Wei Huang [Wed, 16 Jun 2021 15:02:19 +0000 (23:02 +0800)]
Let $(AUTO_SRC) depend on config.status
The additional dependency makes sure $(AUTO_SRC) wii be regenerated
after re-configured.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Thomas E. Dickey [Sun, 23 May 2021 23:24:01 +0000 (23:24 +0000)]
ncurses 6.2 - patch
20210522
+ regenerate configure scripts with autoconf 2.52.
20210509 to eliminate
an unnecessary warning in config.log (report by Miroslav Lichvar).
+ add a note in manual page to explain ungetch vs unget_wch (prompted
by discussion with Peter Farley).
+ add sp-funcs for erasewchar, killwchar.
+ modify wgetnstr, wgetn_wstr to improve compatibility with SVr4 curses
in its treatment of interrupt and quit characters (prompted by
report/testcase by Bill Gray)
+ update config.guess, config.sub
Thomas E. Dickey [Sun, 16 May 2021 00:32:33 +0000 (00:32 +0000)]
ncurses 6.2 - patch
20210515
+ improve manual pages for wgetnstr, newwin (prompted by
report/testcase by Bill Gray).
is required for supporting the terminfo delay feature (report by
Thomas E. Dickey [Sun, 9 May 2021 00:34:51 +0000 (00:34 +0000)]
ncurses 6.2 - patch
20210508
+ modify tputs' error check to allow it to be used without first
calling tgetent or setupterm, noting that terminfo initialization
is requires for supporting the terminfo delay feature (report by
Sebastiano Vigna).
+ fix several warnings from clang --analyze
+ add null-pointer check in comp_parse.c, when a "use=" clause refers
to a nonexisting terminal description (report/patch by Miroslav
Lichvar, cf:
20210227).
Thomas E. Dickey [Sun, 2 May 2021 01:10:38 +0000 (01:10 +0000)]
ncurses 6.2 - patch
20210501
+ add a special case in the configure script to work around one of the
build-time breakages reported for OpenBSD 6 here:
https://www.mail-archive.com/bugs@openbsd.org/msg13200.html
There is no workaround for the other issue, a broken linker spec.
+ modify configure check for libtool to prevent accidental use of an
OpenBSD program which uses the same name.
+ update config.guess, config.sub
Thomas E. Dickey [Sun, 25 Apr 2021 01:07:00 +0000 (01:07 +0000)]
ncurses 6.2 - patch
20210424
+ avoid using broken system macros for snprintf which interfere with
_nc_SLIMIT's conditionally adding a parameter when the string-hacks
configure option is enabled.
+ add a "all::" rule before the new "check" rule in test/Makefile.in
Thomas E. Dickey [Mon, 19 Apr 2021 00:00:48 +0000 (00:00 +0000)]
ncurses 6.2 - patch
20210418
+ improve CF_LINK_FUNCS by ensuring that the source-file is closed
before linking to the target.
+ add "check" rules for headers in c++, progs and test-directories.
+ build-fix for termsort module when configured with termcap (reports
by Rajeev V Pillai, Rudi Heitbaum).
Thomas E. Dickey [Sun, 18 Apr 2021 01:15:31 +0000 (01:15 +0000)]
ncurses 6.2 - patch
20210417
+ extend --disable-pkg-ldflags option to also control whether $LDFLAGS
from the build is provided in -config and .pc files (Debian #986764).
+ fix some cppcheck warnings, mostly style, in ncurses and c++
libraries and progs directory.
+ fix off-by-one limit for tput's processing command-line arguments
(patch by Hadrien Lacour).
Thomas E. Dickey [Sun, 4 Apr 2021 01:13:05 +0000 (01:13 +0000)]
ncurses 6.2 - patch
20210403
+ fix some cppcheck warnings, mostly style, in ncurses library and
progs directory.
+ improve description of BSD-style padding in curs_termcap.3x
+ improved CF_C11_NORETURN macro, from byacc changes.
+ fix "--enable-leak" in CF_DISABLE_LEAKS to allow turning
leak-checking off later in a set of options.
+ relax modification-time comparison in CF_LINK_FUNCS to allow it to
accept link() function with NFS filesystems which change the mtime
on the link target, e.g., several BSD systems.
+ call delay_output_sp to handle BSD-style padding when tputs_sp is
called, whether directly or internally, to ensure that the SCREEN
pointer is passed correctly (reports by Henric Jungheim, Juraj
Lutter).
Thomas E. Dickey [Sun, 28 Mar 2021 00:52:50 +0000 (00:52 +0000)]
ncurses 6.2 - patch
20210327
+ build-fixes for Solaris10 /bin/sh
+ fix some cppcheck warnings, mostly style, in ncurses test-programs,
form and menu libraries.
Thomas E. Dickey [Tue, 23 Mar 2021 19:20:04 +0000 (19:20 +0000)]
ncurses 6.2 - patch
20210323
+ add configure option --enable-stdnoreturn, making the _Noreturn
keyword optional to ease transition (prompted by report by
Rajeev V Pillai).
Thomas E. Dickey [Sun, 21 Mar 2021 01:09:34 +0000 (01:09 +0000)]
ncurses 6.2 - patch
20210320
+ improve parameter-checking in tput by forcing it to analyze any
extended string capability, e.g., as used in the Cs and Ms
capabilities of the tmux description (report by Brad Town,
cf:
20200531).
+ remove an incorrect free in the fallback (non-checking) version of
_nc_free_and_exit (report by Miroslav Lichvar).
+ correct use-ordering in some xterm-direct flavors -TD
+ add hterm, hterm-256color (Mike Frysinger)
+ if the build-time compiler accepts c11's _Noreturn keyword, use that
rather than gcc's attribute.
+ change configure-check for gcc's noreturn attribute to assume it is
a prefix rather than suffix, matching c11's _Noreturn convention.
+ add "lint" rule to c++/Makefile, e.g., with cppcheck.
Thomas E. Dickey [Sun, 14 Mar 2021 00:59:53 +0000 (00:59 +0000)]
ncurses 6.2 - patch
20210313
+ improve configure CF_LD_SEARCHPATH macro used for ncurses*-config and
".pc" files, from dialog changes.
+ reduce dependency of math-library in test programs.
+ minor fixes for test_tparm.c (cf:
20210306)
+ mention "ncurses" prefix in curses_version() manpage (report by
Michal Bielinski).
+ improved test/test_tparm.c, by limiting the tests to capabilities
Thomas E. Dickey [Sun, 7 Mar 2021 01:58:37 +0000 (01:58 +0000)]
ncurses 6.2 - patch
20210306
+ improved test/test_parm.c, by limiting the tests to capabilities
that might have parameters or padding, and combined with tputs test.
+ improve discussion of padding versus tparm and tputs in
man/curs_terminfo.3x
+ update portability note for FreeBSD in man/tput.1
Thomas E. Dickey [Sun, 28 Feb 2021 01:43:45 +0000 (01:43 +0000)]
ncurses 6.2 - patch
20210227
+ modify tic/infocmp to eliminate unnecessary "\" to escape ":" in
terminfo format.
+ add check in tic for duplicate "use=" clauses.
Thomas E. Dickey [Sun, 21 Feb 2021 01:27:41 +0000 (01:27 +0000)]
ncurses 6.2 - patch
20210220
+ improve tic warning when oc/op do not mention SGR 39/49 for xterm
compatible XT flag.
+ revert change to lib_addch.c in waddch_literal() from
20210130, since
the followup fix in PutCharLR() actually corrects the problem while
this change causes too-early filling/wrapping (report by Johannes
Altmanninger).
+ add/use vt220+pcedit and vt220+vtedit -TD
+ add scrt/securecrt and absolute -TD
+ add nel to xterm-new, though supported since X11R5 -TD
+ add/use xterm+nofkeys -TD
+ move use of ecma+italics from xterm-basic to xterm+nofkeys -TD
Thomas E. Dickey [Sun, 14 Feb 2021 02:07:27 +0000 (02:07 +0000)]
ncurses 6.2 - patch
20210213
+ add test/back_ground.c, to exercise the wide-character background
functions.
+ add a check in _nc_build_wch() in case the background character is a
wide-character, rather than a new part of a multibyte character.
+ improve tracemunch's coverage of form/menu/panel libraries.
+ improve tracemunch's checking/reporting the type for the first
parameter, e.g., "WINDOW*" rather than "#1".
Thomas E. Dickey [Sun, 7 Feb 2021 01:41:32 +0000 (01:41 +0000)]
ncurses 6.2 - patch
20210206
+ provide for wide-characters as background character in wbkgrnd
(report/testcase by Anton Vidovic)
+ add name for Fedora's pcre2 to configure check for "--with-pcre2"
option, from xterm #363 -TD
+ modify adjustment in PutCharLR to restore the cursor position before
writing to the lower-right corner, rather than decrementing the
cursor column, in case it was a double-width character (cf:
20210130).
Thomas E. Dickey [Sun, 31 Jan 2021 01:43:20 +0000 (01:43 +0000)]
ncurses 6.2 - patch
20210130
+ correct an off-by-one in comparison in waddch_literal() which caused
scrolling when a double-cell character would not fit at the lower
right corner of the screen (report by Benno Schulenberg).
+ split-out att610+cvis, vt220+cvis, vt220+cvis8 -TD
+ add vt220-base, for terminal emulators which generally have not
supported att610's blinking cursor control -TD
+ use vt220+cvis in vt220, etc -TD
+ use att610+cvis, xterm+tmux and ansi+enq in kitty -TD
+ use vt220+cvis in st, terminology, termite since they ignore
blinking-cursor detail in att610+cvis -TD
Thomas E. Dickey [Sun, 24 Jan 2021 00:36:13 +0000 (00:36 +0000)]
ncurses 6.2 - patch
20210123
+ modify package/config scripts to provide an explicit -L option for
cases when the loader search path has other directories preceding
the one in which ncurses is installed (report by Yuri Victorovich).
+ minor build-fixes in configure script and makefiles to work around
quirks of pmake.
Thomas E. Dickey [Sun, 17 Jan 2021 01:35:02 +0000 (01:35 +0000)]
ncurses 6.2 - patch
20210116
+ add comment for linux2.6 regarding CONFIG_CONSOLE_TRANSLATIONS
(report by Patrick McDermott) -TD
+ make opts extension for getcchar work as documented for ncurses 6.1,
adding "-g" flag to test/demo_new_pair to illustrate.
Thomas E. Dickey [Sun, 10 Jan 2021 01:43:07 +0000 (01:43 +0000)]
ncurses 6.2 - patch
20210109
+ fix errata in man/ncurses.3x from recent updates.
+ improve quoting/escaping in configure script, uses some features of
autoconf 2.52.
20210105
Thomas E. Dickey [Sun, 3 Jan 2021 02:22:25 +0000 (02:22 +0000)]
ncurses 6.2 - patch
20210102
+ update man/curs_memleaks.3x, to include <term.h> which declares
exit_terminfo.
+ clarify man/curs_terminfo.3x, to mention why the macro setterm is
defined in <curses.h>, and remove it from the list of prototypes
(prompted by patch by Graeme McCutcheon).
+ amend man/curs_terminfo.3x, to note that <curses.h> is required
for certain functions, e.g., those using chtype or attr_t for
types, as well as mvcur (cf:
20201031).
+ use parameter-names in prototypes in curs_sp_funcs.3x, for
consistency with other manpages.
Thomas E. Dickey [Mon, 28 Dec 2020 01:11:44 +0000 (01:11 +0000)]
ncurses 6.2 - patch
20201227
+ update terminology entry to 1.8.1 -TD
+ fix some compiler-warnings which gcc8 reports incorrectly.
Thomas E. Dickey [Sun, 20 Dec 2020 01:12:40 +0000 (01:12 +0000)]
ncurses 6.2 - patch
20201219
+ suppress hyphenation in generated html for manpages, to address
regression in upgrade of groff 1.22.2 to 1.22.3.
+ fix inconsistent sort-order in see-also sections of manpages (report
by Chris Bennett).
Thomas E. Dickey [Sun, 13 Dec 2020 01:01:12 +0000 (01:01 +0000)]
ncurses 6.2 - patch
20201212
+ improve manual pages for form field-types.
Thomas E. Dickey [Sun, 6 Dec 2020 01:15:52 +0000 (01:15 +0000)]
ncurses 6.2 - patch
20201205
+ amend build-fixes for gnat 10 to work with certain systems lacking
gprbuild (cf:
20200627).
+ eliminate an additional strlen and wsclen.
+ eliminate an unnecessary strlen in waddnstr() (suggested by Benjamin
Abendroth).
+ modify inopts manpage, separating the items for nodelay and notimeout
(patch by Benno Schulenberg).
+ correct mlterm3 kf1-kf4 (Debian #975322) -TD
+ add flash to mlterm3 -TD
Thomas E. Dickey [Sun, 29 Nov 2020 01:11:38 +0000 (01:11 +0000)]
ncurses 6.2 - patch
20201128
+ add Smulx to alacritty (Christian Duerr).
+ add rep to PuTTY -TD
+ add putty+keypad -TD
+ add another fflush(stdout) in _nc_flush() to handle time-delays in
the middle of strings such as flash when the application uses
low-level calls rather than curses (cf:
20161217).
+ modify configure check for c89/c99 aliases of clang to use its
-std option instead, because some platforms, in particular macOS,
do not provide workable c89/c99 aliases.
Thomas E. Dickey [Sun, 22 Nov 2020 00:48:48 +0000 (00:48 +0000)]
ncurses 6.2 - patch
20201121
+ fix some compiler-warnings in experimental Windows-10 driver.
+ add the definitions needed in recent configure-check for clang
(report by Steven Pitman).
Thomas E. Dickey [Sun, 15 Nov 2020 01:01:04 +0000 (01:01 +0000)]
ncurses 6.2 - patch
20201114
+ fix some compiler-warnings in experimental Windows-10 driver.
+ modify a check for parameters in terminfo capabilities to handle the
special case where short extended capability strings were not
converted from terminfo to termcap format.
+ modify CF_MIXEDCASE_FILENAMES macro, adding darwin as special case
when cross-compiling (report by Eli Rykoff).
Thomas E. Dickey [Sun, 8 Nov 2020 00:48:44 +0000 (00:48 +0000)]
ncurses 6.2 - patch
20201107
+ update kitty+common -TD
+ add putty+screen and putty-screen (suggested by Alexandre Montaron).
+ explain in ncurses.3x that functions in the tinfo library do not rely
upon wide-characters (prompted by discussion with Reuben Thomas).
Thomas E. Dickey [Sun, 1 Nov 2020 01:33:01 +0000 (01:33 +0000)]
ncurses 6.2 - patch
20201031
+ modify MKterm.h.in so that it is not necessary to include <curses.h>
before <term.h> (prompted by discussion with Reuben Thomas).
+ review/improve synopsis for curs_sp_funcs.3x (prompted by discussion
with Reuben Thomas).
+ improve format of output in tic's check_infotocap() function, to
ensure that the messages contain only printable text.
+ modify configure-check for clang to verify that -Qunused-arguments
is supported. IBM's xlclang does not support it (report by Steven
Pitman).
needed in to tic's use-resolution when pad_char is cancelled
Thomas E. Dickey [Sun, 25 Oct 2020 01:07:10 +0000 (01:07 +0000)]
ncurses 6.2 - patch
20201024
+ provide workaround configure-check for bool when cross-compiling.
+ fix a potential indexing error in _nc_parse_entry(), seen with
Herlim's test data using address-sanitizer.
+ change a null-pointer check in set_curterm to a valid-string check,
needed in to tic's use-resolution work pad_char is cancelled
(report/testcase by Robert Sebastian Herlim)
+ improve tic's -c option to validate the number and type of parameters
and compare against expected number/type before deciding which set of
parameter-lists to use in tparm calls (report/testcase by Robert
Sebastian Herlim).
+ fix a link for tabs.1 manpage in announce.html.in (report by Nick
Black), as well as some fixes via linklint.
Thomas E. Dickey [Sun, 18 Oct 2020 01:25:54 +0000 (01:25 +0000)]
ncurses 6.2 - patch
20201017
+ improve manpage typography.
+ improve discussion in curs_addch.3x of the use of unctrl to display
nonprintable characters.
+ add a note in terminfo.5 explaining that no-parameter strings such
as sgr0 or cnorm should not be used with tparm.
Thomas E. Dickey [Sun, 11 Oct 2020 00:40:41 +0000 (00:40 +0000)]
ncurses 6.2 - patch
20201010
+ correct sgr in aaa+rv (report by Florian Weimer) -TD
+ fix some sgr inconsistencies in d230c, ibm6153, ibm6154,
ncrvt100an -TD
+ improve tic's check for errors detected in tparm (prompted by
discussion with Florian Weimer).
+ set output-mode to binary in experimental Windows-10 driver (Juergen
Pfeifer).
+ add tmux-direct (tmux #2370, Debian #895754)
Thomas E. Dickey [Sun, 4 Oct 2020 01:30:03 +0000 (01:30 +0000)]
ncurses 6.2 - patch
20201003
+ remove output-related checks for nl/nonl (report by Leon Winter).
+ change tmux's kbs to ^? (report by Premysl Eric Janouch)
+ simplify mlterm initialization with DECSTR -TD
+ fix a typo in man/curs_terminfo.3 (Reuben Thomas).
+ add tmux-direct (tmux #2370)
+ add user-defined capabilities from mintty to Caps-ncurses, for
checking consistency with tic.
Thomas E. Dickey [Sun, 27 Sep 2020 01:45:57 +0000 (01:45 +0000)]
ncurses 6.2 - patch
20200926
+ correct configure-check for gnurx library.
+ regenerate llib-* files.
+ modify tracemunch and the panel library to show readable traces for
panel- and user-pointers.
Thomas E. Dickey [Sun, 20 Sep 2020 01:13:28 +0000 (01:13 +0000)]
ncurses 6.2 - patch
20200919
+ update mlterm3 for 3.9.0 (report by Premysl Eric Janouch) -TD
Thomas E. Dickey [Sat, 19 Sep 2020 00:28:02 +0000 (00:28 +0000)]
ncurses 6.2 - patch
20200918
+ corrected condition for appending curses.events to the generated
curses.h (report by Sven Joachim, Debian #970545).
Thomas E. Dickey [Sun, 13 Sep 2020 01:31:37 +0000 (01:31 +0000)]
ncurses 6.2 - patch
20200912
+ add configure-check for systre/tre with mingw configuration, to get
the library-dependencies as seen in msys2 configuration for mingw64.
+ build-fixes for the win32-driver configuration.
+ use more defensive binary mode setting for Win32 (Juergen Pfeifer).
Thomas E. Dickey [Mon, 7 Sep 2020 23:37:37 +0000 (23:37 +0000)]
ncurses 6.2 - patch
20200907
+ fix regression in setupterm validating non-empty $TERM (report by
Soren Tempel).
Thomas E. Dickey [Sun, 6 Sep 2020 23:50:45 +0000 (23:50 +0000)]
ncurses 6.2 - patch
20200906
+ merge/adapt in-progress work by Juergen Pfeifer for new version of
win32-driver.
+ correct description of vt330/vt340 (Ross Combs).
Thomas E. Dickey [Tue, 1 Sep 2020 00:23:25 +0000 (00:23 +0000)]
ncurses 6.2 - patch
20200831
+ build-fix for awk-scripts modified for win32-driver (report by Werner
Fink).
Thomas E. Dickey [Sun, 30 Aug 2020 01:38:16 +0000 (01:38 +0000)]
ncurses 6.2 - patch
20200829
+ remove a redundant NCURSES_EXPORT as a build-fix for "Maarten
Anonymous".
+ merge/adapt in-progress work by Juergen Pfeifer for new version of
win32-driver.
+ modify configure script, moving gcc -Werror options to EXTRA_CFLAGS
to avoid breaking configure-checks (adapted from ongoing work on
mawk and lynx).
> errate for terminfo.src (report by Florian Weimer):
+ correct icl6404 csr
+ correct ti916 cup
+ improve ndr9500
Thomas E. Dickey [Sun, 23 Aug 2020 01:24:28 +0000 (01:24 +0000)]
ncurses 6.2 - patch
20200822
+ improve version-number extraction in MKlib_gen.sh
+ make the test-package for manpages installable by adjusting the
man_db.renames file.
+ correct an off-by-one loop-limit in convert_strings function
(report by Yue Tai).
+ add CF_SHARED_OPTS cases for HPE NonStop systems (Randall S Becker).
+ modify CF_SHARED_OPTS case for NetBSD to use the same "-shared"
option for the non-rpath case as for the rpath case, to allow gcc to
provide suitable runtime initialization (report by Rajeev V Pillai).
Thomas E. Dickey [Mon, 17 Aug 2020 22:29:28 +0000 (22:29 +0000)]
ncurses 6.2 - patch
20200817
+ reduce build-warnings by excluding ncurses-internals from deprecation
warnings.
+ mark wgetch-events feature as deprecated.
+ add definition for $(LIBS) to ncurses/Makefile.in, to simplify builds
using the string-hacks option.
+ prevent KEY_EVENT from appearing in curses.h unless the configure
option --enable-wgetch-events is used (report by Werner Fink).
Thomas E. Dickey [Sun, 16 Aug 2020 23:51:45 +0000 (23:51 +0000)]
ncurses 6.2 - patch
20200816
+ amend tic/infocmp check to allow for the respective tool's absence
(report by Steve Wills, cf:
20200808).
+ improved some of the build-scripts with shellcheck
+ filter out -MT/-MD/-MTd/-MDd options in script for Visual Studio C++
(discussion with "Maarten Anonymous").
Thomas E. Dickey [Sun, 9 Aug 2020 01:35:32 +0000 (01:35 +0000)]
ncurses 6.2 - patch
20200808
+ improve discussion of the system's tic utility when used as part
of cross-compiling (discussion with Keith Marshall).
+ modify configuration checks for build-time tic/infocmp to use
AC_CHECK_TOOL. That can still be overridden by --with-tic-path and
--with-infocmp-path when fallbacks are used, but even if not using
fallbacks, the improved check may help with cross-compiling
(discussion with Keith Marshall).
+ other build-fixes for Ada95 with MinGW.
+ modify Ada95 source-generation utility to write to a file given as
parameter rather than to the standard output, allowing builds with
MinGW.
Thomas E. Dickey [Sat, 1 Aug 2020 23:44:17 +0000 (23:44 +0000)]
ncurses 6.2 - patch
20200801
+ remove remaining parts of checks for ISC Unix (cf:
20121006).
+ add user32.lib to LDFLAGS for Visual Studio C++ configuration
(discussion with "Maarten Anonymous").
+ modify MKkey_defs.sh to hide ncurses' definition of KEY_EVENTS to
reduce Visual Studio C++ redefinition warnings.
+ improve/update checks for external functions in test/configure
Thomas E. Dickey [Sun, 26 Jul 2020 00:15:40 +0000 (00:15 +0000)]
ncurses 6.2 - patch
20200725
+ set LINK_TESTS in CF_SHARED_OPTS for msvc (patch by
"Maarten Anonymous")
+ improved workaround for redefinition-warnings for KEY_EVENT.
+ improve man/term.5 section on legacy storage format (report by
Florian Weimer).
Thomas E. Dickey [Sat, 18 Jul 2020 23:07:05 +0000 (23:07 +0000)]
ncurses 6.2 - patch
20200718
+ reduce redefinition-warnings for KEY_EVENT when building with Visual
Studio C++.
+ define NCURSES_STATIC when compiling programs to link with static
libraries, to work with MinGW vs Visual Studio C++.
> additional changes for building with Visual Studio C++ and msys2
(reports/patches by "Maarten Anonymous")
+ modify c++/Makefile.in to set the current directory while compiling
the main program, so the linker can find related objects.
+ several changes to allow the c++/demo program to compile/link.
+ change an ifdef in test-directory, to use VC++ wide-character funcs.
Thomas E. Dickey [Sun, 12 Jul 2020 00:25:08 +0000 (00:25 +0000)]
ncurses 6.2 - patch
20200711
+ fix pound-sign mapping in acsc of linux2.6 entry (report by Ingo
Bruckl).
+ additional changes for building with Visual Studio C++ and msys2
(reports/patches by "Maarten Anonymous")
+ build-improvements for Windows 10 and MinGW (patch by Juergen
Pfeifer).
+ fix a typo in curs_printw.3x (patch by William Pursell).
+ fix two errors in infotocap which allowed indexing outside the
buffer (report/testcases by Zhang Gan).
+ update length of strings in infocmp's usage function to restore a
trailing null on the longest string (report/testcase by Zhang Gen).
Thomas E. Dickey [Sun, 5 Jul 2020 01:11:37 +0000 (01:11 +0000)]
ncurses 6.2 - patch
20200704
+ modify version-check with Ada generics to use the same pattern as in
the check for supported gnat versions (report by Pascal Pignard).
> additional changes for building with Visual Studio C++ and msys2
(patches by "Maarten Anonymous"):
+ adjust headers/declarations to provide for "dllimport" vs "dllexport"
declarations when constructing DLLs, to worko with Visual Studio C++.
Thomas E. Dickey [Sun, 28 Jun 2020 01:38:12 +0000 (01:38 +0000)]
ncurses 6.2 - patch
20200627
+ build-fixes for gnat 10.1.1, whose gnatmake drops integration with
gprbuild.
+ correct buffer-length in test/color_name.h
Thomas E. Dickey [Sun, 14 Jun 2020 01:26:43 +0000 (01:26 +0000)]
ncurses 6.2 - patch
20200613
+ update list of functions in ncurses.3x
+ move dlclose() call from lib_mouse.c to delscreen() to avoid a case
in the former which could be called from SIGTSTP handler (Debian
#961097).
Thomas E. Dickey [Sun, 7 Jun 2020 01:06:32 +0000 (01:06 +0000)]
ncurses 6.2 - patch
20200606
+ add xterm+256color2, xterm+88color2, to deprecate nonstandard usage
in xterm+256color, xterm+88color -TD
+ add shifted Linux console keys in linux+sfkeys entry for
screen.linux (report by Alexandre Montaron).
+ use vt100+enq in screen (report by Alexandre Montaron).
+ add screen.linux-s alias (suggested by Alexandre Montaron).
Thomas E. Dickey [Mon, 1 Jun 2020 00:02:30 +0000 (00:02 +0000)]
ncurses 6.2 - patch
20200531
+ correct configure version-check/warnng for g++ to allow for 10.x
+ re-enable "bel" in konsole-base (report by Nia Huang)
+ add linux-s entry (patch by Alexandre Montaron).
+ drop long-obsolete convert_configure.pl
+ add test/test_parm.c, for checking tparm changes.
+ improve parameter-checking for tparm, adding function _nc_tiparm() to
handle the most-used case, which accepts only numeric parameters
(report/testcase by "puppet-meteor").
+ use a more conservative estimate of the buffer-size in lib_tparm.c's
save_text() and save_number(), in case the sprintf() function
passes-through unexpected characters from a format specifier
(report/testcase by "puppet-meteor").
+ add a check for end-of-string in cvtchar to handle a malformed
string in infotocap (report/testcase by "puppet-meteor").
Thomas E. Dickey [Sun, 24 May 2020 01:57:50 +0000 (01:57 +0000)]
ncurses 6.2 - patch
20200523
+ update version-check for gnat to allow for gnat 10.x to 99.x
+ fix an uninitialized variable in lib_mouse.c changes (cf:
20200502)
+ add a check in EmitRange to guard against repeat_char emitting digits
which could be interpreted as BSD-style padding when --enable-bsdpad
is configured (report/patch by Hiltjo Posthuma).
+ add --disable-pkg-ldflags to suppress EXTRA_LDFLAGS from the
generated pkg-config and ncurses*-config files, to simplify
configuring in the case where rpath is used but the packager wants
to hide the feature (report by Michael Stapelberg).
> fixes for building with Visual Studio C++ and msys2 (patches by
"Maarten Anonymous"):
+ modify CF_SHARED_OPTS to generate a script which translates linker
options into Visual Studio's dialect.
+ omit parentheses around function-names in generated lib_gen.c to
work around a Visual Studio C++ limitation.
Thomas E. Dickey [Sun, 17 May 2020 01:51:36 +0000 (01:51 +0000)]
ncurses 6.2 - patch
20200516
+ add notes on termcap.h header in curs_termcap.3x
+ update notes on vscode / xterm.js -TD
Thomas E. Dickey [Sun, 10 May 2020 21:22:09 +0000 (21:22 +0000)]
ncurses 6.2 - patch
20200509
+ add "-r" option to the dots test-programs, to help with scripting
a performance comparison.
+ build-fix test/move_field.c for NetBSD curses, whose form headers
use different names than SVr4 or ncurses.
Thomas E. Dickey [Sun, 3 May 2020 02:00:56 +0000 (02:00 +0000)]
ncurses 6.2 - patch
20200502
+ add details on the change to Linux SGR 21 in 2018 -TD
+ add xterm-direct16 and xterm-direct256 -TD
+ modify lib_mouse.c to check for out-of-range button numbers, convert
those to position reports.
Thomas E. Dickey [Sun, 26 Apr 2020 01:15:23 +0000 (01:15 +0000)]
ncurses 6.2 - patch
20200425
+ use vt100+fnkeys in putty -TD
+ fix a typo in tput.1; "columns" should be "cols".
Thomas E. Dickey [Sun, 19 Apr 2020 02:02:25 +0000 (02:02 +0000)]
ncurses 6.2 - patch
20200418
+ improve tracemunch logic for "RUN" compaction.
+ fix a special case in wresize() where copying the old text did not
check if the last cell on a row was the beginning of a fullwidth
character (adapted from patch by Benno Schulenberg).
+ use vt52+keypad in xterm-vt52, from xterm #354 -TD
+ improve see-also section of user_caps.5
Thomas E. Dickey [Sun, 12 Apr 2020 01:22:49 +0000 (01:22 +0000)]
ncurses 6.2 - patch
20200411
+ fix find_pair(), overlooked when refactoring for _nc_reserve_pairs()
(report/testcase by Brad Town, cf:
20170812).
+ add a trailing null for magic-string in putwin, flagged by gcc 10
+ update check for gcc version versus gnat to work with gcc 10.x
Thomas E. Dickey [Sun, 5 Apr 2020 00:59:09 +0000 (00:59 +0000)]
ncurses 6.2 - patch
20200404
+ modify -fvisibility check to work with g++
> fixes for building with Visual Studio C++ and msys2 (patches by
"Maarten Anonymous"):
+ add configure option and check for gcc -fvisibility=hidden feature
+ define NCURSES_NOMACROS in lib_gen.c to work around Visual Studio
C++ preprocessor limitations.
+ modify some of the configure-macros, as well as mk-1st.awk to work
with Visual Studio C++ default filenaming.
Thomas E. Dickey [Sun, 29 Mar 2020 01:03:54 +0000 (01:03 +0000)]
ncurses 6.2 - patch
20200328
+ correct length of buffer copied in dup_field().
+ remove "$(srcdir)/" from path of library.gpr, needed for out-of-tree
builds of Ada95 (patch by Adam Van Ymeren).
Thomas E. Dickey [Sun, 22 Mar 2020 01:09:36 +0000 (01:09 +0000)]
ncurses 6.2 - patch
20200321
+ improve configure-checks to reduce warnings about unused variables.
+ improve description of error-returns in waddch and waddnstr manual
pages (prompted by patch by Benno Schulenberg).
+ add test/move_field.c to demonstrate move_field(), and a stub for
a corresponding demo of dup_field().
Thomas E. Dickey [Sun, 15 Mar 2020 01:36:38 +0000 (01:36 +0000)]
ncurses 6.2 - patch
20200314
+ add history note to curs_scanw.3x for <stdarg.h> and <varargs.h>
+ add history note to curs_printw.3x for <stdarg.h> and <varargs.h>
+ add portability note to ncurses.3x regarding <stdarg.h>
Thomas E. Dickey [Mon, 9 Mar 2020 00:21:51 +0000 (00:21 +0000)]
ncurses 6.2 - patch
20200308
+ update copyright notices in test-packages.
+ modify tracemunch to guard against errors in its known_p1 table.
+ add several --with-xxx-libname options, to help with pkgsrc (prompted
by discussion with Thomas Klausner).
Thomas E. Dickey [Mon, 2 Mar 2020 23:18:56 +0000 (23:18 +0000)]
ncurses 6.2 - patch
20200301
+ modify wbkgd() and wbkgrnd() to avoid storing a null in the
background character, because it may be used in cases where the
corresponding 0x80 is not treated as a null (report by Marc Rechte,
cf:
20181208).
Thomas E. Dickey [Sun, 1 Mar 2020 01:58:39 +0000 (01:58 +0000)]
ncurses 6.2 - patch
20200229
+ modify CF_NCURSES_CONFIG to work around xcode's c99 "-W" option,
which conflicts with conventional use for passing linker options.
> fixes for building with Visual Studio C++ and msys2 (patches by
"Maarten Anonymous"):
+ check for pcre2posix.h instead of pcre2-posix.h
+ add case in CF_SHARED_OPTS for msys2 + msvc
+ add fallback definition for STDIN_FILENO in progs.priv.h
+ modify win_driver.c to use _alloca() rather than gcc's variable
length array feature.
+ add NCURSES_IMPEXP to ncurses wrapped-variable declarations
+ remove NCURSES_IMPEXP from class variables in c++/cursslk.h
+ remove fallback prototype for exit() from c++/etip.h.in
+ use configured check for <sys/time.h> in a couple of places
+ conditionally include winsock.h in ncurses/win32con/gettimeofday.c,
because Visual Studio needs this for the timestruct declaration.
+ adjust syntax in a couple of files using the NCURSES_API symbol.
Thomas E. Dickey [Sun, 23 Feb 2020 02:26:40 +0000 (02:26 +0000)]
ncurses 6.2 - patch
20200222
+ expanded note in ncurses.3x regarding automatically-included headers
+ improve vt50h and vt52 based on DECScope manual -TD
+ add/use vt52+keypad and vt52-basic -TD
+ check/workaround for line-too-long in Ada95 generate utility when
building out-of-tree.
+ improve/update HEADER_DEPS in */Makefile.in
+ add "check" rule to include/Makefile, to demonstrate that the headers
include all of the required headers for the types used.
Thomas E. Dickey [Sun, 16 Feb 2020 02:14:29 +0000 (02:14 +0000)]
ncurses 6.2 - patch
20200215
+ improve manual page for panel library, extending the portability
section as well as documenting error-returns.
+ show tic's version when installing terminal database in run_tic.sh
+ correct check for gcc vs other compilers used in ncurses 6.0, from
FreeBSD patch by Kyle Evans (cf:
20150725).
+ add notes for 6.2 to INSTALL.
Thomas E. Dickey [Wed, 12 Feb 2020 09:50:22 +0000 (09:50 +0000)]
ncurses 6.2 - patch
20200212
+ update release notes
+ minor build-fixes, mostly to test-package scripts
+ modify check for sizeof(wchar_t) to ensure it gives useful result
when cross-compiling.
+ drop assumption in configure script that Cygwin's linker is broken.
+ define NCURSES_BROKEN_LINKER if the broken-linker feature is used,
to simplify configure-checks for ncurses-examples.
+ reassert copyright on ncurses, per discussion in ncurses FAQ:
https://invisible-island.net/ncurses/ncurses.faq.html#relicensed
+ modify comparison in make_hash.c to correct a special case in
collision handling for Caps-hpux11
+ add testing utility report_hashing to check hash-tables used for
terminfo and termcap names.
+ fix a missing prototype for _nc_free_and_exit().
+ update a few comments about tack 1.07
+ use an awk script to split too-long pathnames used in Ada95 sample
programs for explain.txt
Thomas E. Dickey [Sun, 19 Jan 2020 02:49:58 +0000 (02:49 +0000)]
ncurses 6.1 - patch
20200118
+ expanded description of XM in user_caps.5
+ improve xm example for xterm+x11mouse, xterm+sm+1006 -TD
+ add history section to curs_slk.3x and curs_terminfo.3x manpages.
+ update alacritty entries for 0.4.0 (prompted by patch by
Christian Durr) -TD
+ correct spelling errors found with codespell.
+ fix for test/configure, from xterm #352.
Thomas E. Dickey [Sun, 12 Jan 2020 02:31:09 +0000 (02:31 +0000)]
ncurses 6.1 - patch
20200111
+ improve configure macros which check for the X11/Intrinsic.h header,
to accommodate recent MacOS changes.
+ suppress gcc's -Winline warning; it has not been useful for some time
+ update config.guess, config.sub
Thomas E. Dickey [Sun, 5 Jan 2020 03:01:45 +0000 (03:01 +0000)]
ncurses 6.1 - patch
20200104
+ modify a couple of macros in aclocal.m4 to allow autoconf 2.69 to
"work", to help illustrate discussion in
https://invisible-island.net/autoconf/my-autoconf.html
+ fix some warnings from autoheader-252
Thomas E. Dickey [Sun, 29 Dec 2019 02:31:23 +0000 (02:31 +0000)]
ncurses 6.1 - patch
20191228
+ in gen-pkgconfig.in, move the RPATH_LIST and PRIVATE_LIBS assignments
past the various prefix/libdir assignments, to allow for using those
symbols, e.g., as done via CF_SHARED_OPTS.
+ improve ncurses*-config and pc-files by filtering out linker-specs.
+ modify test-package to more closely match Fedora's configuration
for PIE/PIC feature and debug-packages.
Thomas E. Dickey [Sun, 22 Dec 2019 03:20:49 +0000 (03:20 +0000)]
ncurses 6.1 - patch
20191221
+ correct pathname used in Ada95 sample programs for explain.txt, to
work with test-packages.
+ improve tracemunch:
+ keep track of TERMINAL* values
+ if tracing was first turned on after initialization, attempt to
show distinct screen, window and terminal names anyway.
+ ensure that GCC_NORETURN is defined in term.h, because the prototype
for exit_terminfo() uses it (report by Werner Fink).
Thomas E. Dickey [Sun, 15 Dec 2019 02:10:35 +0000 (02:10 +0000)]
ncurses 6.1 - patch
20191214
+ add exit_curses() and exit_terminfo() to replace internal symbols for
leak-checking.
Thomas E. Dickey [Sun, 8 Dec 2019 02:13:02 +0000 (02:13 +0000)]
ncurses 6.1 - patch
20191207
+ fix a few warnings for test-package builds
+ add curses_trace(), to replace trace().
Thomas E. Dickey [Sun, 1 Dec 2019 01:27:53 +0000 (01:27 +0000)]
ncurses 6.1 - patch
20191130
+ add portability section to curs_getcchar manpage (prompted by
discussion with Nick Black).
+ improve portability discussion of ACS characters in curs_addch
manpage.
+ improve typography for double-quotes in manpages.
Thomas E. Dickey [Sun, 24 Nov 2019 02:39:05 +0000 (02:39 +0000)]
ncurses 6.1 - patch
20191123
+ fix typo for MinGW rpm test-package.
+ workaround in rpm specs for NFS problems in Fedora 31.
Thomas E. Dickey [Sun, 17 Nov 2019 01:23:05 +0000 (01:23 +0000)]
ncurses 6.1 - patch
20191116
+ modify ncurses/Makefile.in to fix a case where Debian/testing changes
to the ld --as-needed configuration broke ncurses-examples test
packages.
+ drop library-dependency on psapi for MinGW port, since win_driver.c
defines PSAPI_VERSION to 2, making it use GetProcessImageFileName
from kernel32.dll (prompted by patch by Simon Sobish, cf:
20140503).
Thomas E. Dickey [Sun, 10 Nov 2019 00:43:22 +0000 (00:43 +0000)]
ncurses 6.1 - patch
20191109
+ add warning-check in tic for terminals with parm_dch vs parm_ich.
+ drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility
with old non-curses programs -TD
+ reviewed st 0.8.2, updated some details -TD
+ use ansi+rep several places -TD
+ corrected tic's check for ich1 (report by Sebastian J. Bronner,
cf:
20020901).
Thomas E. Dickey [Sun, 3 Nov 2019 01:16:28 +0000 (01:16 +0000)]
ncurses 6.1 - patch
20191102
+ check parameter of set_escdelay, return ERR if negative.
+ check parameter of set_tabsize, return ERR if not greater than zero
(report/patch by Anthony Sottile).
+ revise CF_ADD_LIBS macro to prepend rather than append libraries.
+ add "xterm-mono" to help packagers (report by Sven Joachim) -TD
Thomas E. Dickey [Sun, 27 Oct 2019 01:34:14 +0000 (01:34 +0000)]
ncurses 6.1 - patch
20191026
+ add a note in man/curs_add_wch.3x about Unicode terminology for the
line-drawing characters (report by Nick Black).
+ improve comment in lib_tgoto.c regarding the use of \200 where a
\0 would be intended by the caller (report by "64 bit", cf:
20000923).
+ modify linux-16color to accommodate Linux console driver change in
early 2018 (report by Dino Petrucci).
Thomas E. Dickey [Sun, 20 Oct 2019 01:10:33 +0000 (01:10 +0000)]
ncurses 6.1 - patch
20191019
+ modify make_hash to not require --disable-leaks, to simplify building
with address-sanitizer.
+ modify tic to exit if it cannot remove a conflicting name, because
treating that as a partial success can cause an infinite loop in
use-resolution (report/testcase by Hongxu Chen, cf:
20111001).
Thomas E. Dickey [Wed, 16 Oct 2019 00:42:21 +0000 (00:42 +0000)]
ncurses 6.1 - patch
20191015
+ improve buffer-checks in captoinfo.c, for some cases when the
input string is shorter than expected.
> fix two errata in tic (report/testcases by Hongxu Chen):
+ check for missing character after backslash in write_it
+ check for missing characters after "%>" when converting from termcap
syntax (cf: 980530).
Thomas E. Dickey [Sun, 13 Oct 2019 01:25:51 +0000 (01:25 +0000)]
ncurses 6.1 - patch
20191012
+ amend recent changes to ncurses*-config and pc-files to filter out
Debian linker-flags (report by Sven Joachim, cf:
20150516).
+ clarify relationship between tic, infocmp and captoinfo in manpage.
+ check for invalid hashcode in _nc_find_type_entry and
_nc_find_name_entry.
> fix several errata in tic (reports/testcases by "zjuchenyuan"):
+ check for invalid hashcode in _nc_find_entry.
+ check for missing character after backslash in fmt_entry
+ check for acsc with odd length in dump_entry in check for one-one
mapping (cf:
20060415);
+ check length when converting from old AIX box_chars_1 capability,
overlooked in changes to eliminate strcpy (cf:
20001007).
+ amend the ncurses*-config and pc-files to take into account the rpath
Thomas E. Dickey [Sun, 6 Oct 2019 00:58:27 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20191005
+ modify the ncurse*-config and pc-files to more closely match for the
-I and -l options.
Thomas E. Dickey [Sat, 28 Sep 2019 15:09:31 +0000 (15:09 +0000)]
ncurses 6.1 - patch
20190928
+ amend the ncurse*-config and pc-files to take into account the rpath
hack which differed between those files.
+ improve -L option filtering in ncurses*-config
+ improve recovery from error when reading command-character in
test/ncurses.c, showing the relevant error message and not exiting on
EINTR (cf:
20180922)
Thomas E. Dickey [Sun, 22 Sep 2019 01:25:51 +0000 (01:25 +0000)]
ncurses 6.1 - patch
20190921
+ add a note in resizeterm manpage about top-level windows which touch
the screen's borders.
+ modify configure-checks for gnat to identify each of the tools path
and version.
Thomas E. Dickey [Sun, 15 Sep 2019 01:08:42 +0000 (01:08 +0000)]
ncurses 6.1 - patch
20190914
+ build-fixes for Ada95 configure-script and corresponding test package
Thomas E. Dickey [Sun, 8 Sep 2019 01:44:15 +0000 (01:44 +0000)]
ncurses 6.1 - patch
20190907
+ add --with-ada-libname option and modify Ada95 configuration to
allow renaming the "AdaCurses" library (prompted by proposed changes
by Pascal Pignard).
+ modify configure script to distinguish gcc from icc and clang when
the --enable-warnings option is not used, to avoid unnecessary
warnings about unrecognized inline options (report by Sven Joachim).
Thomas E. Dickey [Sun, 1 Sep 2019 00:58:56 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20190831
+ build-fixes for configuration using --program-suffix with Ada95,
noticed with MacOS but applicable to other platforms without
libpanelw, etc.
Thomas E. Dickey [Sun, 25 Aug 2019 01:15:21 +0000 (01:15 +0000)]
ncurses 6.1 - patch
20190824
+ fix some cppcheck warnings, mostly style, in ncurses test-programs.