Commit Graph

83 Commits

Author SHA1 Message Date
Thomas E. Dickey
f3ec084eb6 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().
2020-03-22 01:09:36 +00:00
Thomas E. Dickey
c0f109a299 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>
2020-03-15 01:36:38 +00:00
Thomas E. Dickey
3ef920d65f 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).
2020-03-09 00:21:51 +00:00
Thomas E. Dickey
a6ff7e087f 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).
2020-03-02 23:18:56 +00:00
Thomas E. Dickey
18f51bcf99 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.
2020-03-01 01:58:39 +00:00
Thomas E. Dickey
a90dd7b66f 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.
2020-02-23 02:26:40 +00:00
Thomas E. Dickey
84cf9f63bf 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.
2020-02-16 02:14:29 +00:00
Thomas E. Dickey
47d2fb4537 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
2020-02-12 09:50:22 +00:00
Thomas E. Dickey
c55d387ceb 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.
2020-01-19 02:49:58 +00:00
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
d479dbaecb 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.
2019-12-29 02:31:23 +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
d97989d1e0 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.
2019-12-01 01:27:53 +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
97893bbc72 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).
2019-11-17 01:23:05 +00:00
Thomas E. Dickey
34acd9acb1 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).
2019-11-10 00:43:22 +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
336aa08038 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).
2019-10-27 01:34:14 +00:00
Thomas E. Dickey
5f288254c6 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).
2019-10-20 01:10:33 +00:00
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