Commit Graph

61 Commits

Author SHA1 Message Date
Thomas E. Dickey
eb952c651f 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).
2019-10-16 00:42:21 +00:00
Thomas E. Dickey
b025434573 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
2019-10-13 01:25:51 +00:00
Thomas E. Dickey
8d8a3537cd ncurses 6.1 - patch 20191005
+ modify the ncurse*-config and pc-files to more closely match for the
  -I and -l options.
2019-10-06 00:58:27 +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
06b5ef53ba 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.
2019-09-22 01:25:51 +00:00
Thomas E. Dickey
f8f67d02e9 ncurses 6.1 - patch 20190914
+ build-fixes for Ada95 configure-script and corresponding test package
2019-09-15 01:08:42 +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
9435f97aa7 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
2019-08-04 00:24:33 +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
97cb42f22c ncurses 6.1 - patch 20190727
+ fix a few coverity warnings.
+ documentation updates based on tctest.
2019-07-28 00:01:44 +00:00
Thomas E. Dickey
a8dfaf0998 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).
2019-07-21 01:22:45 +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
a05f3a7819 ncurses 6.1 - patch 20190706
+ add domterm -TD
+ improve comments for recent changes, add alias xterm.js -TD
2019-07-07 00:14:47 +00:00
Thomas E. Dickey
4f56e7e405 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
2019-06-30 23:48:04 +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
51a395aaa2 ncurses 6.1 - patch 20190615
+ expand the portability section of the man/tabs.1 manual page.
+ regenerate HTML manpages.
2019-06-16 00:13:35 +00:00
Thomas E. Dickey
eed52798fc 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.
2019-06-09 21:36:47 +00:00
Thomas E. Dickey
9a0b985989 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.
2019-06-02 00:39:24 +00:00
Thomas E. Dickey
296420e1ec ncurses 6.1 - patch 20190525
+ modify reset_cmd.c to allow for tabstops at intervals other than 8
  (report by Vincent Huisman).
2019-05-25 23:00:21 +00:00
Thomas E. Dickey
8f6d94b8d6 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.
2019-05-19 00:40:25 +00:00
Thomas E. Dickey
b116355ab2 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.
2019-05-11 22:31:51 +00:00
Thomas E. Dickey
88e7914aca 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.
2019-05-05 00:42:44 +00:00
Thomas E. Dickey
b3969973c9 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.
2019-04-28 01:27:21 +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
0de8912c1c 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).
2019-03-24 01:47:18 +00:00
Thomas E. Dickey
cb4427a167 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.
2019-03-18 00:04:50 +00:00
Thomas E. Dickey
cdaf29481b 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).
2019-03-10 02:12:50 +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
b60a2772d9 ncurses 6.1 - patch 20190209
+ add check in tic to provide warnings for mismatched number of
  parameters in the documented user-capability extensions.
2019-02-10 02:53:50 +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
acb4184f8f 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)
2019-01-13 01:08:21 +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
321b81e6b3 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).
2018-12-09 02:29:47 +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
4496a3f032 ncurses 6.1 - patch 20181125
+ build-fix (reports by Chih-Hsuan Yen, Sven Joachim).
2018-11-25 11:38:20 +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
bf5877fb3d 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.
2018-11-18 00:22:59 +00:00