Commit Graph

727 Commits

Author SHA1 Message Date
Thomas E. Dickey
b661daf116 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.
2021-03-28 00:52:50 +00:00
Thomas E. Dickey
6830dca51a 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).
2021-03-23 19:20:04 +00:00
Thomas E. Dickey
c2650100f8 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.
2021-03-21 01:09:34 +00:00
Thomas E. Dickey
bec710451b 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
2021-03-14 00:59:53 +00:00
Thomas E. Dickey
21b36e89c0 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
2021-03-07 01:58:37 +00:00
Thomas E. Dickey
3934889cc6 ncurses 6.2 - patch 20210227
+ modify tic/infocmp to eliminate unnecessary "\" to escape ":" in
  terminfo format.
+ add check in tic for duplicate "use=" clauses.
2021-02-28 01:43:45 +00:00
Thomas E. Dickey
9a9dd79463 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
2021-02-21 01:27:41 +00:00
Thomas E. Dickey
fae162795e 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".
2021-02-14 02:07:27 +00:00
Thomas E. Dickey
b724cdc89c 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).
2021-02-07 01:41:32 +00:00
Thomas E. Dickey
5d5daf5386 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
2021-01-31 01:43:20 +00:00
Thomas E. Dickey
4546e76f7d 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.
2021-01-24 00:36:13 +00:00
Thomas E. Dickey
1b93a8aeaa 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.
2021-01-17 01:35:02 +00:00
Thomas E. Dickey
152c5a6052 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
2021-01-10 01:43:07 +00:00
Thomas E. Dickey
61790aa3ac 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.
2021-01-03 02:22:25 +00:00
Thomas E. Dickey
a28e782d77 ncurses 6.2 - patch 20201227
+ update terminology entry to 1.8.1 -TD
+ fix some compiler-warnings which gcc8 reports incorrectly.
2020-12-28 01:11:44 +00:00
Thomas E. Dickey
a6eb34d7fe 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).
2020-12-20 01:12:40 +00:00
Thomas E. Dickey
5925150381 ncurses 6.2 - patch 20201212
+ improve manual pages for form field-types.
2020-12-13 01:01:12 +00:00
Thomas E. Dickey
42259b594b 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
2020-12-06 01:15:52 +00:00
Thomas E. Dickey
31dcb6fc49 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.
2020-11-29 01:11:38 +00:00
Thomas E. Dickey
07694efddd 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).
2020-11-22 00:48:48 +00:00
Thomas E. Dickey
ee8861cb49 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).
2020-11-15 01:01:04 +00:00
Thomas E. Dickey
14d46fadc4 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).
2020-11-08 00:48:44 +00:00
Thomas E. Dickey
d1cc319afc 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
2020-11-01 01:33:01 +00:00
Thomas E. Dickey
7884aa084f 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.
2020-10-25 01:07:10 +00:00
Thomas E. Dickey
e5d1530ca2 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.
2020-10-18 01:25:54 +00:00
Thomas E. Dickey
5c90fc94a5 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)
2020-10-11 00:40:41 +00:00
Thomas E. Dickey
349761f30e 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.
2020-10-04 01:30:03 +00:00
Thomas E. Dickey
5079dc1dbb 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.
2020-09-27 01:45:57 +00:00
Thomas E. Dickey
2ba352d86b ncurses 6.2 - patch 20200919
+ update mlterm3 for 3.9.0 (report by Premysl Eric Janouch) -TD
2020-09-20 01:13:28 +00:00
Thomas E. Dickey
66762a2208 ncurses 6.2 - patch 20200918
+ corrected condition for appending curses.events to the generated
  curses.h (report by Sven Joachim, Debian #970545).
2020-09-19 00:28:02 +00:00
Thomas E. Dickey
d6c65d2871 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).
2020-09-13 01:31:37 +00:00
Thomas E. Dickey
f67a188e71 ncurses 6.2 - patch 20200907
+ fix regression in setupterm validating non-empty $TERM (report by
  Soren Tempel).
2020-09-07 23:37:37 +00:00
Thomas E. Dickey
2b7c2fd2f9 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).
2020-09-06 23:50:45 +00:00
Thomas E. Dickey
2a3e5b0949 ncurses 6.2 - patch 20200831
+ build-fix for awk-scripts modified for win32-driver (report by Werner
  Fink).
2020-09-01 00:23:25 +00:00
Thomas E. Dickey
1f7a36fe16 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
2020-08-30 01:38:16 +00:00
Thomas E. Dickey
fbd79f88d0 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).
2020-08-23 01:24:28 +00:00
Thomas E. Dickey
a7e05fb980 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).
2020-08-17 22:29:28 +00:00
Thomas E. Dickey
dafd158641 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").
2020-08-16 23:51:45 +00:00
Thomas E. Dickey
e8c3445229 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.
2020-08-09 01:35:32 +00:00
Thomas E. Dickey
3b3a6d094f 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
2020-08-01 23:44:17 +00:00
Thomas E. Dickey
5899b5e464 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).
2020-07-26 00:15:40 +00:00
Thomas E. Dickey
cf6a62567b 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.
2020-07-18 23:07:05 +00:00
Thomas E. Dickey
d61c3c6a83 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).
2020-07-12 00:25:08 +00:00
Thomas E. Dickey
04d942c3d9 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++.
2020-07-05 01:11:37 +00:00
Thomas E. Dickey
9b4c4abadc 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
2020-06-28 01:38:12 +00:00
Thomas E. Dickey
7503e8d822 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).
2020-06-14 01:26:43 +00:00
Thomas E. Dickey
73dd18dba5 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).
2020-06-07 01:06:32 +00:00
Thomas E. Dickey
790a85dbd4 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").
2020-06-01 00:02:30 +00:00
Thomas E. Dickey
3e37c7d3fa 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.
2020-05-24 01:57:50 +00:00
Thomas E. Dickey
54d0d62f0e ncurses 6.2 - patch 20200516
+ add notes on termcap.h header in curs_termcap.3x
+ update notes on vscode / xterm.js -TD
2020-05-17 01:51:36 +00:00