Commit Graph

354 Commits

Author SHA1 Message Date
Thomas E. Dickey
96a4663880 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
2020-01-12 02:31:09 +00:00
Thomas E. Dickey
0ff9bcb7f9 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
2020-01-05 03:01:45 +00:00
Thomas E. Dickey
896224bea6 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).
2019-12-22 03:20:49 +00:00
Thomas E. Dickey
02f1dee48f ncurses 6.1 - patch 20191214
+ add exit_curses() and exit_terminfo() to replace internal symbols for
  leak-checking.
2019-12-15 02:10:35 +00:00
Thomas E. Dickey
8890c8f28a ncurses 6.1 - patch 20191207
+ fix a few warnings for test-package builds
+ add curses_trace(), to replace trace().
2019-12-08 02:13:02 +00:00
Thomas E. Dickey
1379ab3f6c ncurses 6.1 - patch 20191123
+ fix typo for MinGW rpm test-package.
+ workaround in rpm specs for NFS problems in Fedora 31.
2019-11-24 02:39:05 +00:00
Thomas E. Dickey
119b5a6788 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
2019-11-03 01:16:28 +00:00
Thomas E. Dickey
ac3f601c4d 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)
2019-09-28 15:09:31 +00:00
Thomas E. Dickey
3ab4db2402 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).
2019-09-08 01:44:15 +00:00
Thomas E. Dickey
5ed80e8d70 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.
2019-09-01 00:58:56 +00:00
Thomas E. Dickey
efa78d11c3 ncurses 6.1 - patch 20190824
+ fix some cppcheck warnings, mostly style, in ncurses test-programs.
2019-08-25 01:15:21 +00:00
Thomas E. Dickey
9d37907c23 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.
2019-08-18 00:33:55 +00:00
Thomas E. Dickey
d76c9bfec6 ncurses 6.1 - patch 20190810
+ fix a few more coverity warnings.
2019-08-10 23:58:30 +00:00
Thomas E. Dickey
97df2f3356 ncurses 6.1 - patch 20190728
+ fix a few more coverity warnings.
+ more documentation updates based on tctest.
2019-07-29 00:58:02 +00:00
Thomas E. Dickey
9193d07620 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
2019-07-14 00:50:41 +00:00
Thomas E. Dickey
fe43d506ce 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
2019-06-23 23:43:23 +00:00
Thomas E. Dickey
8b6693ef8f ncurses 6.1 - patch 20190420
+ improve ifdef's for TABSIZE variable, to help with AIX/HPUX ports.
2019-04-21 01:53:37 +00:00
Thomas E. Dickey
81c758ae6f 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.
2019-04-14 01:30:08 +00:00
Thomas E. Dickey
6b99a55918 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.
2019-04-07 01:23:31 +00:00
Thomas E. Dickey
e656c0ca01 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
2019-03-31 01:31:05 +00:00
Thomas E. Dickey
ade723c546 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").
2019-03-03 02:12:54 +00:00
Thomas E. Dickey
344194b55b 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).
2019-02-24 01:51:57 +00:00
Thomas E. Dickey
6b4f5830b7 ncurses 6.1 - patch 20190216
+ improve manual page description of TABSIZE.
+ add test/demo_tabs program.
2019-02-17 02:40:14 +00:00
Thomas E. Dickey
4677e861e7 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).
2019-02-03 01:24:46 +00:00
Thomas E. Dickey
fe8c285d2a 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).
2019-01-27 02:01:01 +00:00
Thomas E. Dickey
eccca377f5 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).
2019-01-22 00:49:19 +00:00
Thomas E. Dickey
6a586fefa9 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
2019-01-06 02:32:59 +00:00
Thomas E. Dickey
bfe3845eb1 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.
2018-12-30 01:55:38 +00:00
Thomas E. Dickey
45291421be 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.
2018-12-16 02:17:42 +00:00
Thomas E. Dickey
31418a0e4a 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
2018-12-02 01:14:13 +00:00
Thomas E. Dickey
44963481f1 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).
2018-11-25 01:20:22 +00:00
Thomas E. Dickey
3bc481a075 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).
2018-10-07 01:00:25 +00:00
Thomas E. Dickey
b73ae15cdc 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.
2018-09-22 23:44:43 +00:00
Thomas E. Dickey
30393be892 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).
2018-09-02 00:30:36 +00:00
Thomas E. Dickey
df51c7005b ncurses 6.1 - patch 20180818
+ build-fix for PDCurses with ncurses-examples.
+ improved CF_CC_ENV_FLAGS.
+ modify configure scripts to reduce relinking/ranlib during library
  install (Debian #903790):
  + use "install -p" when available, to avoid need for ranlib of
    static libraries.
  + modify scripts which use "--disable-relink" to add a 1-second
    sleep to work around tools which use whole-second timestamps, e.g.,
    in utime() rather than the actual file system resolution.
+ add "--disable-touching" option for using "install -p" option during
  the install, e.g., so that header-files have a predictable timestamp.
2018-08-19 01:04:13 +00:00
Thomas E. Dickey
6941ed1e8b ncurses 6.1 - patch 20180721
+ build-fixes for gcc8.
+ corrected acsc for wy50 -TD
+ add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
+ remove ansi+rep mis-added to interix in 2018-02-23 -TD
2018-07-22 01:11:25 +00:00
Thomas E. Dickey
32345daa97 ncurses 6.1 - patch 20180714
+ add enum, regex examples to test/demo_forms
+ add configure check for pcre-posix library to help with MinGW port.
2018-07-15 00:59:40 +00:00
Thomas E. Dickey
5da4544722 ncurses 6.1 - patch 20180623
+ use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
  to simplify building with MSVC, since the former are defined in both
  compiler configurations (report by Ali Abdulkadir).
+ further improvements to configure-checks from work on dialog, i.e.,
  updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
  CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
  CF_TRY_XOPEN_SOURCE.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2018-06-24 00:40:50 +00:00
Thomas E. Dickey
d60228973b ncurses 6.1 - patch 20180616
+ build-fix for ncurses-examples related to gcc8-fixes (cf: 20180526).
+ reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
  combines with _XOPEN_SOURCE (Debian #900987).
+ change target configure level for _XOPEN_SOURCE to 600 to address
  use of vsscanf and setenv.
+ improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from
  work on dialog.
2018-06-17 02:07:06 +00:00
Thomas E. Dickey
e23d7db3de ncurses 6.1 - patch 20180609
+ modify generatesd ncurses*config and ncurses.pc, ncursesw.pc, etc.,
  to list helper libraries such as gpm for static linking (Debian
  #900839).
+ marked vwprintw and vwscanw as deprecated; recommend using vw_printw
  and vw_scanw, respectively.
2018-06-09 23:57:16 +00:00
Thomas E. Dickey
8556933f52 ncurses 6.1 - patch 20180602
+ add RPM test-package "ncursest-examples".
+ modified RPM test-package to work with Mageia6.
2018-06-03 01:08:44 +00:00
Thomas E. Dickey
0237f10a29 ncurses 6.1 - patch 20180526
+ add note in curs_util.3x about unctrl.h
+ review/improve header files to ensure that those include necessary
  files except for the previously-documented cases (report by Isaac
  Pascual Monells).
+ improved test-package scripts, adapted from byacc 1.9 20180525.
+ fix some gcc8 warnings seen in Redhat package build, but
  work around bug in gcc8 compiler warnings in comp_parse.c
2018-05-27 01:00:14 +00:00
Thomas E. Dickey
9208e1bde5 ncurses 6.1 - patch 20180512
+ remove trailing ';' from GCC_DEPRECATED definition.
+ repair a change from 20110730 which left an error-check/warning dead.
+ fix several minor Coverity warnings.
2018-05-12 23:58:52 +00:00
Thomas E. Dickey
61d8ae54ff ncurses 6.1 - patch 20180505
+ add deprecation warnings for internal functions called by older
  versions of tack.
+ fix a special case in PutAttrChar() where a cell is marked as
  alternate-character set, but the terminal does not actually support
  the given graphic character.  This would happen in an older terminal
  such as vt52, which lacks most line-drawing capability.
+ use configure --with-config-suffix option to work around filename
  conflict with Debian packages versus test-packages.
+ update tracemunch to work with perl 5.26.2, which changed the rules
  for escaping regular expressions.
2018-05-06 00:58:46 +00:00
Thomas E. Dickey
02c4e383be ncurses 6.1 - patch 20180407
+ clarify in manual pages that vwprintw and vwscanw are obsolete,
  not part of X/Open Curses since 2007.
+ use "const" in some prototypes rather than NCURSES_CONST where X/Open
  Curses was updated to do this, e.g., wscanw, newterm, the terminfo
  interface.  Also use "const" for consistency in the termcap
  interface, which was withdrawn by X/Open Curses in Issue 5 (2007).
  As of Issue 7, X/Open Curses still lacks "const" for certain return
  values, e.g., keyname().
2018-04-08 00:58:31 +00:00
Thomas E. Dickey
073e4446d2 ncurses 6.1 - patch 20180324
+ amend Scaled256() macro in test/picsmap.c to cover the full range
  0..1000 (report by Roger Pau Monne).
+ add some checks in tracemunch for undefined variables.
2018-03-25 00:33:35 +00:00
Thomas E. Dickey
d545d5dd98 ncurses 6.1 - patch 20180217
+ remove incorrect free() from 20170617 changes (report by David Macek).
+ correct type for "U8" in user_caps.5; it is a number not boolean.
+ add a null-pointer check in safe_sprintf.c (report by Steven Noonan).
+ improve fix for Debian #882620 by reusing limit2 variable (report
  Julien Cristau, Sven Cristau).
2018-02-18 01:45:21 +00:00
Thomas E. Dickey
9da7d09296 ncurses 6.1 - patch 20180203
+ minor fixes to test/*.h to make them idempotent.
+ add/use test/parse_rgb.h to show how the "RGB" capability works.
+ add a clarification in user_caps.5 regarding "RGB" capability.
+ add extended_slk_color{,_sp} symbols to the appropriate
  package/*.{map,sym} files (report by Sven Joachim, cf: 20170401).
2018-02-04 02:13:47 +00:00
Thomas E. Dickey
1713400c1c ncurses 6.1 2018-01-28 01:02:35 +00:00
Thomas E. Dickey
d66080c210 ncurses 6.1 - patch 20180127
+ updated release notes
+ amend a warning message from tic which should have flagged misuse
  of "XT" capability in "screen" terminal description.
> terminfo changes:
+ trim "XT" from screen entry, add comments to explain why it was
  not suitable -TD
+ modify iterm to use xterm+sl-twm building block -TD
+ mark konsole-420pc, konsole-vt100, konsole-xf3x obsolete reflecting
  konsole's removal in 2008 -TD
+ expanded the history section of konsole to explain its flawed
  imitation of xterm's keyboard -TD
+ use xterm+x11mouse in screen.* entries because screen does not yet
  support xterm's 1006 mode -TD
+ add nsterm-build400 for macOS 10.13 -TD
+ add ansi+idc1, use that in ansi+idc adding dch for consistency -TD
+ update vte to vte-2017 -TD
+ add ecma+strikeout to vte-2017 -TD
+ add iterm2-direct -TD
+ updated teraterm, added teraterm-256color -TD
+ add mlterm-direct -TD
+ add descriptions for ANSI building-blocks -TD
2018-01-28 01:02:35 +00:00