]> ncurses.scripts.mit.edu Git - ncurses.git/log
ncurses.git
3 years agoncurses 6.2 - patch 20200801
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

3 years agoncurses 6.2 - patch 20200725
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).

3 years agoncurses 6.2 - patch 20200718
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.

3 years agoncurses 6.2 - patch 20200711
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).

3 years agoncurses 6.2 - patch 20200704
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++.

3 years agoncurses 6.2 - patch 20200627
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

3 years agoncurses 6.2 - patch 20200613
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).

3 years agoncurses 6.2 - patch 20200606
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).

3 years agoncurses 6.2 - patch 20200531
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").

3 years agoncurses 6.2 - patch 20200523
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.

3 years agoncurses 6.2 - patch 20200516
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

3 years agoncurses 6.2 - patch 20200509
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.

3 years agoncurses 6.2 - patch 20200502
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.

3 years agoncurses 6.2 - patch 20200425
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".

4 years agoncurses 6.2 - patch 20200418
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

4 years agoncurses 6.2 - patch 20200411
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

4 years agoncurses 6.2 - patch 20200404
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.

4 years agoncurses 6.2 - patch 20200328
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).

4 years agoncurses 6.2 - patch 20200321
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().

4 years agoncurses 6.2 - patch 20200314
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>

4 years agoncurses 6.2 - patch 20200308
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).

4 years agoncurses 6.2 - patch 20200301
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).

4 years agoncurses 6.2 - patch 20200229
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.

4 years agoncurses 6.2 - patch 20200222
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.

4 years agoncurses 6.2 - patch 20200215
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.

4 years agoncurses 6.2 - patch 20200212 v6.2
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

4 years agoncurses 6.1 - patch 20200118
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.

4 years agoncurses 6.1 - patch 20200111
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

4 years agoncurses 6.1 - patch 20200104
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

4 years agoncurses 6.1 - patch 20191228
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.

4 years agoncurses 6.1 - patch 20191221
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).

4 years agoncurses 6.1 - patch 20191214
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.

4 years agoncurses 6.1 - patch 20191207
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().

4 years agoncurses 6.1 - patch 20191130
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.

4 years agoncurses 6.1 - patch 20191123
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.

4 years agoncurses 6.1 - patch 20191116
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).

4 years agoncurses 6.1 - patch 20191109
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).

4 years agoncurses 6.1 - patch 20191102
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

4 years agoncurses 6.1 - patch 20191026
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).

4 years agoncurses 6.1 - patch 20191019
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).

4 years agoncurses 6.1 - patch 20191015
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).

4 years agoncurses 6.1 - patch 20191012
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

4 years agoncurses 6.1 - patch 20191005
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.

4 years agoncurses 6.1 - patch 20190928
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)

4 years agoncurses 6.1 - patch 20190921
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.

4 years agoncurses 6.1 - patch 20190914
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

4 years agoncurses 6.1 - patch 20190907
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).

4 years agoncurses 6.1 - patch 20190831
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.

4 years agoncurses 6.1 - patch 20190824
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.

4 years agoncurses 6.1 - patch 20190817
Thomas E. Dickey [Sun, 18 Aug 2019 00:33:55 +0000 (00:33 +0000)]
ncurses 6.1 - patch 20190817

+ amend 20181208 changes for wbkgd() and wbkgrnd(), fixing a few
  details where it still differed from SVr4.
+ fix some cppcheck warnings, mostly style, in ncurses test-programs.

4 years agoncurses 6.1 - patch 20190810
Thomas E. Dickey [Sat, 10 Aug 2019 23:58:30 +0000 (23:58 +0000)]
ncurses 6.1 - patch 20190810

+ fix a few more coverity warnings.

4 years agoncurses 6.1 - patch 20190803
Thomas E. Dickey [Sun, 4 Aug 2019 00:24:33 +0000 (00:24 +0000)]
ncurses 6.1 - patch 20190803

+ improve loop limits in _nc_scroll_window() to handle a case where
  the scrolled data is a pad which is taller than the window (patch
  by Rob King).
+ amend the change to screen, because tmux relies upon that entry
  and does not support that feature (Debian #933572) -TD
+ updated ms-terminal entry & notes -TD
+ updated kitty entry & notes -TD
+ updated alacritty+common entry & notes -TD
+ use xterm+sl-twm for consistency -TD

4 years agoncurses 6.1 - patch 20190728
Thomas E. Dickey [Mon, 29 Jul 2019 00:58:02 +0000 (00:58 +0000)]
ncurses 6.1 - patch 20190728

+ fix a few more coverity warnings.
+ more documentation updates based on tctest.

4 years agoncurses 6.1 - patch 20190727
Thomas E. Dickey [Sun, 28 Jul 2019 00:01:44 +0000 (00:01 +0000)]
ncurses 6.1 - patch 20190727

+ fix a few coverity warnings.
+ documentation updates based on tctest.

4 years agoncurses 6.1 - patch 20190720
Thomas E. Dickey [Sun, 21 Jul 2019 01:22:45 +0000 (01:22 +0000)]
ncurses 6.1 - patch 20190720

+ fix a few warnings for gcc 4.x
+ add some portability/historical details to the tic, toe and infocmp
  manual pages.
+ correct fix for broken link from terminfo(5) to tabs(1) manpage
  (report by Sven Joachim).

4 years agoncurses 6.1 - patch 20190713
Thomas E. Dickey [Sun, 14 Jul 2019 00:50:41 +0000 (00:50 +0000)]
ncurses 6.1 - patch 20190713

+ change reset's behavior for margins to simply clear soft-margins if
  possible, rather than clearing and then setting them according to the
  terminal's width (suggested by Thomas Wolff).
+ correct order of one wbkgd versus start_color call in test/padview.c

4 years agoncurses 6.1 - patch 20190706
Thomas E. Dickey [Sun, 7 Jul 2019 00:14:47 +0000 (00:14 +0000)]
ncurses 6.1 - patch 20190706

+ add domterm -TD
+ improve comments for recent changes, add alias xterm.js -TD

4 years agoncurses 6.1 - patch 20190630
Thomas E. Dickey [Sun, 30 Jun 2019 23:48:04 +0000 (23:48 +0000)]
ncurses 6.1 - patch 20190630

+ add --with-tic-path and --with-infocmp-path to work around problems
  building fallback source using pre-6.0 tic/infocmp.
+ add a check in tic for paired indn/rin
+ correct a buffer-limit in write_entry.c for systems that use caseless
  filenames.
+ add ms-terminal -TD
+ add vscode, vscode-direct -TD

4 years agoncurses 6.1 - patch 20190623
Thomas E. Dickey [Sun, 23 Jun 2019 23:43:23 +0000 (23:43 +0000)]
ncurses 6.1 - patch 20190623

+ improve the tabs.1 manual page to distinguish the PWB/Unix and 7th
  Edition versions of the tabs utility.
+ add configure check for getenv() to work around implementation shown
  in Emscripten #6766, use that to optionally suppress START_TRACE
  macro, whose call to getenv() may not work properly (report by Ilya
  Ig Petrov).
+ modify initialization functions to avoid relying upon persistent
  data for the result from getenv().
+ update config.guess, config.sub

4 years agoncurses 6.1 - patch 20190615
Thomas E. Dickey [Sun, 16 Jun 2019 00:13:35 +0000 (00:13 +0000)]
ncurses 6.1 - patch 20190615

+ expand the portability section of the man/tabs.1 manual page.
+ regenerate HTML manpages.

4 years agoncurses 6.1 - patch 20190609
Thomas E. Dickey [Sun, 9 Jun 2019 21:36:47 +0000 (21:36 +0000)]
ncurses 6.1 - patch 20190609

+ add mintty, mintty-direct (adapted from patch by Thomas Wolff).
  Some of the suggested user-defined capabilities are commented-out,
  to allow builds with ncurses 5.9 and 6.0
+ add Smol/Rmol for tmux, vte-2018 (patch by Nicholas Marriott).
+ add rs1 to konsole, mlterm -TD
+ modify _nc_merge_entry() to make a copy of the data which it merges,
  to avoid modifying the source-data when aligning extended names.

4 years agoncurses 6.1 - patch 20190601
Thomas E. Dickey [Sun, 2 Jun 2019 00:39:24 +0000 (00:39 +0000)]
ncurses 6.1 - patch 20190601

+ modify an internal call to vid_puts to pass extended color pairs
  e.g., from tty_update.c and lib_mvcur.c (report by Niegodziwy Beru).
+ improve manual page description of init_tabs capability and TABSIZE
  variable.

4 years agoncurses 6.1 - patch 20190525
Thomas E. Dickey [Sat, 25 May 2019 23:00:21 +0000 (23:00 +0000)]
ncurses 6.1 - patch 20190525

+ modify reset_cmd.c to allow for tabstops at intervals other than 8
  (report by Vincent Huisman).

4 years agoncurses 6.1 - patch 20190518
Thomas E. Dickey [Sun, 19 May 2019 00:40:25 +0000 (00:40 +0000)]
ncurses 6.1 - patch 20190518

+ update xterm-new to xterm patch #345 -TD
+ add/use xterm+keypad in xterm-new (report by Alain D D Williams) -TD
+ update terminator entry -TD
+ remove hard-tabs from ti703 (report by Robert Clausecker)
+ mention meml/memu/box1 in user_caps manual page.
+ mention user_caps.5 in tic and infocmp manual pages.

4 years agoncurses 6.1 - patch 20190511
Thomas E. Dickey [Sat, 11 May 2019 22:31:51 +0000 (22:31 +0000)]
ncurses 6.1 - patch 20190511

+ fix a spurious blank line seen with "infocmp -1fx xterm+x11mouse"
+ add checks in repair_subwindows() to keep the current position and
  scroll-margins inside the resized subwindow.
+ add a limit check in newline_forces_scroll() for the case where the
  row is inside scroll-margins, but not at the end (report by Toshio
  Kuratomi, cf: 20170729).
+ corrected a warning message in tic for extended capabilities versus
  number of parameters.

4 years agoncurses 6.1 - patch 20190504
Thomas E. Dickey [Sun, 5 May 2019 00:42:44 +0000 (00:42 +0000)]
ncurses 6.1 - patch 20190504

+ improve workaround for Solaris wcwidth versus line-drawing characters
  (report by Pavel Stehule).
+ add special case in tic to validate RGB string-capability extension.
+ corrected string/parameter-field for RGB in Caps-ncurses.

4 years agoncurses 6.1 - patch 20190427
Thomas E. Dickey [Sun, 28 Apr 2019 01:27:21 +0000 (01:27 +0000)]
ncurses 6.1 - patch 20190427

+ corrected problem in terminfo load/realignment which prevented
  infocmp from comparing extended capabilities with the same name
  but different types.

5 years agoncurses 6.1 - patch 20190420
Thomas E. Dickey [Sun, 21 Apr 2019 01:53:37 +0000 (01:53 +0000)]
ncurses 6.1 - patch 20190420

+ improve ifdef's for TABSIZE variable, to help with AIX/HPUX ports.

5 years agoncurses 6.1 - patch 20190413
Thomas E. Dickey [Sun, 14 Apr 2019 01:30:08 +0000 (01:30 +0000)]
ncurses 6.1 - patch 20190413

+ check for TABSIZE variable in test/configure script.
+ used test/test_arrays.c to improve Caps.aix1 and Caps.hpux11
+ corrected filtering of comments in MKparametrized.sh
+ reduce duplication across Caps* files by moving some parts which do
  not depend on order into Caps-ncurses.

5 years agoncurses 6.1 - patch 20190406
Thomas E. Dickey [Sun, 7 Apr 2019 01:23:31 +0000 (01:23 +0000)]
ncurses 6.1 - patch 20190406

+ modify MKcaptab.sh, MKkey_defs.sh, and MKhashsize.sh to handle
  split-up Caps-files.
+ build-fixes if extended-functions are disabled.

5 years agoncurses 6.1 - patch 20190330
Thomas E. Dickey [Sun, 31 Mar 2019 01:31:05 +0000 (01:31 +0000)]
ncurses 6.1 - patch 20190330

+ add "screen5", to mention italics (report by Stefan Assmann)
+ modify description of xterm+x11hilite to eliminate unused p5 -TD
+ add configure script checks to help with a port to Ultrix 3.1
  (report by Dennis Grevenstein).
  + check if "b" binary feature of fopen works
  + check for missing feature of locale.h
  + add fallback for strstr() in test-programs
  + add fallback for STDOUT_FILENO in test-programs
+ update config.guess, config.sub

5 years agoncurses 6.1 - patch 20190323
Thomas E. Dickey [Sun, 24 Mar 2019 01:47:18 +0000 (01:47 +0000)]
ncurses 6.1 - patch 20190323

+ move macro for is_linetouched() inside NCURSES_NOMACROS ifndef.
+ corrected prototypes in several manpages using script to extract
  those in compilable form.
+ use _nc_copy_termtype2() rather than direct assignment in setupterm,
  in case it is called repeatedly using fallback terminfo descriptions
  (report/patch by Werner Fink).

5 years agoncurses 6.1 - patch 20190317
Thomas E. Dickey [Mon, 18 Mar 2019 00:04:50 +0000 (00:04 +0000)]
ncurses 6.1 - patch 20190317

+ regenerate llib-* files.
+ modify tic to also use new function for user-defined capability info.
+ modify _nc_parse_entry() to check if a user-defined capability has
  an unexpected type; ignore it in that case.
+ fix a special case of link-anchors in generated Ada html files.
+ use newer rel=author tag in generated html rather than rev=made,
  which did not become accepted.

5 years agoncurses 6.1 - patch 20190309
Thomas E. Dickey [Sun, 10 Mar 2019 02:12:50 +0000 (02:12 +0000)]
ncurses 6.1 - patch 20190309

+ in-progress changes to add parameter-checking for common user-defined
  capabilities in tic.
+ update MKcodes.awk and MKnames.awk to ignore the new "userdef"
  data in Caps-ncurses (cf: 20190302).

5 years agoncurses 6.1 - patch 20190302
Thomas E. Dickey [Sun, 3 Mar 2019 02:12:54 +0000 (02:12 +0000)]
ncurses 6.1 - patch 20190302

+ corrected some of the undocumented terminfo names in Caps.hpux11
+ add "Caps-ncurses" file to help with checking inconsistencies in some
  user-defined capabilities.
+ amend check for repeat_char to handle a case where setlocale() was
  called after initscr() (report by "Ampera").

5 years agoncurses 6.1 - patch 20190223
Thomas E. Dickey [Sun, 24 Feb 2019 01:51:57 +0000 (01:51 +0000)]
ncurses 6.1 - patch 20190223

+ fix typo in adds200 -TD
+ add tic check for consistent alternate character set capabilities.
+ improve check in mvcur() to decide whether to use hard-tabs, using
  xt, tbc and hts as clues.
+ replace check in reset command for obsolete "pt" capability using
  tbc and hts capabilities as clues (report by Nicolas Marriott).

5 years agoncurses 6.1 - patch 20190216
Thomas E. Dickey [Sun, 17 Feb 2019 02:40:14 +0000 (02:40 +0000)]
ncurses 6.1 - patch 20190216

+ improve manual page description of TABSIZE.
+ add test/demo_tabs program.

5 years agoncurses 6.1 - patch 20190209
Thomas E. Dickey [Sun, 10 Feb 2019 02:53:50 +0000 (02:53 +0000)]
ncurses 6.1 - patch 20190209

+ add check in tic to provide warnings for mismatched number of
  parameters in the documented user-capability extensions.

5 years agoncurses 6.1 - patch 20190202
Thomas E. Dickey [Sun, 3 Feb 2019 01:24:46 +0000 (01:24 +0000)]
ncurses 6.1 - patch 20190202

+ modify rpm test-package ".spec" file to work around naming conflict
  with Redhat's package for ncurses6.
+ modify no-leaks code in test/picsmap to avoid non-standard tdestroy.
+ amend change to configure script which altered the top-level makefile
  to avoid attempting to install the terminfo database when it was not
  configured, to allow for installing the ".pc" files which are also
  in the misc directory (report by Steve Wills).

5 years agoncurses 6.1 - patch 20190126
Thomas E. Dickey [Sun, 27 Jan 2019 02:01:01 +0000 (02:01 +0000)]
ncurses 6.1 - patch 20190126

+ change some "%define" statements in test-packages for RPMs to
  "%global" to work around changes in rpm 4.14 from recent Redhat.
+ fixes for O_INPUT_FIELD extension (patch by Leon Winter).
+ eliminate fixed buffer-size when reading $TERMCAP variable.
+ correct logic in read_entry.c which prevented $TERMCAP variable from
  being interpreted as a fallback to terminfo entry (prompted by
  Savannah #54556, cf: 20110924).

5 years agoncurses 6.1 - patch 20190121
Thomas E. Dickey [Tue, 22 Jan 2019 00:49:19 +0000 (00:49 +0000)]
ncurses 6.1 - patch 20190121

+ add a check in test/configure to work around non-ncurses termcap.h
  file in Slackware.
+ corrected flag for "seq" method of db 1.8.5 interface, needed by toe
  on some of the BSDs.
+ updated "string-hacks" feature.
+ minor improvements to manpage typography.
+ corrected conditionally-compiled limit on color pairs (report by
  "Hudd").
+ add -x option to test/pair_content, test/color_content for testing
  init_extended_pair, extended_pair_content, init_extended_color,
  extended_color_content
+ add -p option to test/pair_content, test/color_content to show the
  return values from the tested functions.
+ improve manual page curs_color.3x discussion of error returns and
  extensions.
+ add O_INPUT_FIELD extension to form library (patch by Leon Winter).
+ override/suppress --enable-db-install if --disable-database configure
  option was given.
+ change a too-large terminal entry in tic from a fatal error to a
  warning (prompted by discussion with Gabriele Balducci).

5 years agoncurses 6.1 - patch 20190112
Thomas E. Dickey [Sun, 13 Jan 2019 01:08:21 +0000 (01:08 +0000)]
ncurses 6.1 - patch 20190112

+ fix typo in term(5), improve explanation of format (report by Otto
  Modinos).
+ add nsterm-direct -TD
+ use SGR 1006 mouse for konsole-base -TD
+ use SGR 1006 mouse for putty -TD
+ add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)

5 years agoncurses 6.1 - patch 20190105
Thomas E. Dickey [Sun, 6 Jan 2019 02:32:59 +0000 (02:32 +0000)]
ncurses 6.1 - patch 20190105

+ add dummy "check" rule in top-level and test-Makefile to simply
  building test-packages for Arch.
+ modify configure script to avoid conflict with a non-POSIX feature
  that enables all parts of the system headers by default.  Some
  packagers have come to rely upon this behavior (FreeBSD #234049).
+ update config.guess, config.sub

5 years agoncurses 6.1 - patch 20181229
Thomas E. Dickey [Sun, 30 Dec 2018 01:55:38 +0000 (01:55 +0000)]
ncurses 6.1 - patch 20181229

+ improve man/curs_mouse.3x with regard to xterm
+ modify tracemunch to accept filename parameters in addition to use
  as a pipe/filter.
+ minor optimization to reduce calls to _nc_reserve_pairs (prompted by
  discussion with Bryan Christ).
+ add test/pair_content.c and test/color_content.c
+ modify infocmp to omit filtering of "OTxx" names which are used for
  obsolete capabilities, when the output is sorted by long-names.
  Doing this helps when making a table of the short/long capability
  names.

5 years agoncurses 6.1 - patch 20181215
Thomas E. Dickey [Sun, 16 Dec 2018 02:17:42 +0000 (02:17 +0000)]
ncurses 6.1 - patch 20181215

+ several fixes for gcc8 strict compiler warnings.
+ fix a typo in comments (Aaron Gyes).
+ add nsterm-build309 to replace nsterm-256color, assigning the latter
  as an alias of nsterm, to make mouse work with nsterm-256color -TD
+ base gnome-256color entry on "gnome", not "vte", for consistency -TD
+ updates for configure macros from work on tin and xterm:
  + CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the
    _DEFAULT_SOURCE symbol.
  + CF_VA_COPY, add fallback check if neither va_copy/__va_copy is
    supported, to try copying the pointers for va_list, or as an array.
    Also add another fallback check, for __builtin_va_copy(), which
    could be used with AIX xlc in c89 mode.

5 years agoncurses 6.1 - patch 20181208
Thomas E. Dickey [Sun, 9 Dec 2018 02:29:47 +0000 (02:29 +0000)]
ncurses 6.1 - patch 20181208

+ modify wbkgd() and wbkgrnd() to improve compatibility with SVr4
  curses, changing the way the window rendition is updated when the
  background character is modified (report by Valery Ushakov).

5 years agoncurses 6.1 - patch 20181201
Thomas E. Dickey [Sun, 2 Dec 2018 01:14:13 +0000 (01:14 +0000)]
ncurses 6.1 - patch 20181201

+ add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen).
+ add "@" command to test/ncurses F-test, to allow rapid jump to
  different character pages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git

5 years agoncurses 6.1 - patch 20181125
Thomas E. Dickey [Sun, 25 Nov 2018 11:38:20 +0000 (11:38 +0000)]
ncurses 6.1 - patch 20181125

+ build-fix (reports by Chih-Hsuan Yen, Sven Joachim).

5 years agoncurses 6.1 - patch 20181124
Thomas E. Dickey [Sun, 25 Nov 2018 01:20:22 +0000 (01:20 +0000)]
ncurses 6.1 - patch 20181124

+ check --with-fallbacks option to ensure there is a value, and add
  the fallback information to top-level Makefile summary.
+ add some traces in initialization to show whether a fallback entry is
  used.
+ build-fix for test/movewindow with ncurses-examples on Solaris.
+ add "-l" option to test/background, to dump screen contents in a form
  that lets different curses implementations be compared.
+ modify the initialization checks for mouse so that the xterm+sm+1006
  block will work with terminal descriptions not mentioning xterm
  (report by Tomas Janousek).

5 years agoncurses 6.1 - patch 20181117
Thomas E. Dickey [Sun, 18 Nov 2018 00:22:59 +0000 (00:22 +0000)]
ncurses 6.1 - patch 20181117

+ ignore the hex/b64 $TERMINFO in toe's listing.
+ correct a status-check in _nc_read_tic_entry() so that if reading
  a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
  the compiled-in search list.

5 years agoncurses 6.1 - patch 20181110
Thomas E. Dickey [Sun, 11 Nov 2018 02:45:34 +0000 (02:45 +0000)]
ncurses 6.1 - patch 20181110

+ several workarounds to ensure proper C compiler used in parts of
  Ada95 tree.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git

5 years agoncurses 6.1 - patch 20181027
Thomas E. Dickey [Sun, 28 Oct 2018 00:58:09 +0000 (00:58 +0000)]
ncurses 6.1 - patch 20181027

+ add OpenGL clients alacritty and kitty -TD
+ add Smulx for tmux, vte-2018 -Nicholas Marriott

5 years agoncurses 6.1 - patch 20181020
Thomas E. Dickey [Sun, 21 Oct 2018 01:13:21 +0000 (01:13 +0000)]
ncurses 6.1 - patch 20181020

+ ignore $TERMINFO as a default value in configure script if it came
  from the infocmp -Q option.
+ allow value for --with-versioned-syms to be a relative pathname
+ add a couple of broken-linker symbols to the list of versioned
  symbols to help with link-time optimization versus weak symbols.
+ apply shift/control/alt logic when decoding xterm's 1006 mode to
  wheel-mouse events (Redhat #1610681).

5 years agoncurses 6.1 - patch 20181013
Thomas E. Dickey [Sun, 14 Oct 2018 01:50:11 +0000 (01:50 +0000)]
ncurses 6.1 - patch 20181013

+ amend change from 20180818, which undid a fix for the $INSTALL value
  to make it an absolute path.

5 years agoncurses 6.1 - patch 20181006
Thomas E. Dickey [Sun, 7 Oct 2018 01:00:25 +0000 (01:00 +0000)]
ncurses 6.1 - patch 20181006

+ improve a configure check to work with newer optimizers (report by
  Denis Pronin, Gentoo #606142).
+ fix typo in tput.c (Sven Joachim, cf: 20180825).

5 years agoncurses 6.1 - patch 20180929
Thomas E. Dickey [Sun, 30 Sep 2018 01:01:20 +0000 (01:01 +0000)]
ncurses 6.1 - patch 20180929

+ fix typo in tvi955 -TD
+ corrected acsc for regent60 -TD
+ add alias n7900 -TD
+ corrected acsc for tvi950 -TD
+ remove bogus kf0 from tvi950 -TD
+ added function-key definitions to agree with Televideo 950 manual -TD
+ add bel to tvi950 -TD
+ add shifted function-keys to regent60 -TD
+ renumber regent40 function-keys to match manual -TD
+ add cd (clr_eos) to adds200 -TD

5 years agoncurses 6.1 - patch 20180923
Thomas E. Dickey [Sun, 23 Sep 2018 09:07:52 +0000 (09:07 +0000)]
ncurses 6.1 - patch 20180923

+ build-fix: remove a _tracef call which was used for debugging (report
  by Chris Clayton).

5 years agoncurses 6.1 - patch 20180922
Thomas E. Dickey [Sat, 22 Sep 2018 23:44:43 +0000 (23:44 +0000)]
ncurses 6.1 - patch 20180922

+ ignore interrupted system-call in test/ncurses's command-line, e.g.,
  if the terminal were resized.
+ add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
  #1610681, cf: 20141011).
+ modify rpm test-packages to not use --disable-relink with Redhat,
  since Fedora 28's tools do not work with that feature.

5 years agoncurses 6.1 - patch 20180908
Thomas E. Dickey [Sun, 9 Sep 2018 01:14:35 +0000 (01:14 +0000)]
ncurses 6.1 - patch 20180908

+ document --with-pcre2 configure option in INSTALL.
+ improve workaround for special case in PutAttrChar() where a cell is
  marked as alternate-character set, to handle a case where the
  character in the cell does not correspond to any of the ASCII
  fallbacks (report by Leon Winter, cf: 20180505).
+ amend change to form library which attempted to avoid unnecessary
  update of cursor position in non-public fields, to simply disable
  output in this case (patch by Leon Winter, cf: 20180414).
+ improve check for LINE_MAX runtime limit, to accommodate broken
  implementations of sysconf().

5 years agoncurses 6.1 - patch 20180901
Thomas E. Dickey [Sun, 2 Sep 2018 00:30:36 +0000 (00:30 +0000)]
ncurses 6.1 - patch 20180901

+ improve manual page for wgetnstr, giving background for the length
  parameter.
+ define a limit for wgetnstr, wgetn_wstr when length is negative or
  "too large".
+ update configure script to autoconf 2.52.20180819 (Debian #887390).