Commit Graph

809 Commits

Author SHA1 Message Date
Thomas E. Dickey
b5d80765d2 ncurses 6.3 - patch 20220924
+ modify configure macro CF_BUILD_CC to check if the build-compiler
  works, rather than that it is different from the cross-compiler, e.g.,
  to accommodate a compiler which can be used for either purpose with
  different flags (report by Mikhail Korolev).
+ fix another memory-leak in tic.
+ correct change for cppcheck in menu library (report/analysis by
  "tuxway", cf: 20220903).
+ update config.guess, config.sub
2022-09-25 00:12:05 +00:00
Thomas E. Dickey
3ffedbf101 ncurses 6.3 - patch 20220917
+ reduce memory-leak in tic by separating allocations for struct entry
  from TERMTYPE2 (cf: 20220430).
+ improve interaction between tic -v option and NCURSES_TRACE, by
  processing the latter only when -v option does not set _nc_tracing.
+ modify curses_trace() to show the trace-mask as symbols, e.g.,
  TRACE_ORDINARY, DEBUG_LEVEL(3).
2022-09-17 23:40:53 +00:00
Thomas E. Dickey
17db5dfb5e ncurses 6.3 - patch 20220910
+ amend verbose-option change to make this affect level 3, e.g., using
  "tic -cv3 terminfo".
+ work around musl's nonstandard use of feature test macros by adding
  a definition for NCURSES_WIDECHAR to the generated ".pc" and *-config
  files (report by Sam James).
2022-09-10 22:47:56 +00:00
Thomas E. Dickey
d761c922d9 ncurses 6.3 - patch 20220903
+ modify verbose-option of infocmp, tic, toe to enable debug-tracing
  if that is configured.
2022-09-03 23:59:18 +00:00
Thomas E. Dickey
414771292d ncurses 6.3 - patch 20220827
+ modify configure scripts to use overlooked cases for LD and
  PKG_CONFIG variables (report by Alan Webb, Gentoo #866398).
+ modify nsterm to use xterm+alt1049 (report by Paul Handly) -TD
+ modify putty to use xterm+alt1049 -TD
2022-08-27 23:30:06 +00:00
Thomas E. Dickey
00351a08b4 ncurses 6.3 - patch 20220820
+ fix some cppcheck warnings, mostly style, in ncurses and c++
  libraries and progs directory.
+ add curses_trace to ifdef's for START_TRACE in test/test.priv.h
+ update config.guess
2022-08-21 00:16:12 +00:00
Thomas E. Dickey
1c305869cc ncurses 6.3 - patch 20220813
+ modify delscreen to more effectively delete all windows on the given
  screen.
+ amend portability note for delwin in manual page.
+ adapt test/test_delwin.c from example by Bill Gray.
+ account for prescreen data if freeing leaks in pthread-configuration
+ split-out _nc_set_read_thread(), to reduce compiler warnings about
  pthread_self(), which may/may not be a weak symbol.
+ improve pthread-configuration for test/worm.c
2022-08-14 00:26:10 +00:00
Thomas E. Dickey
768f77851c ncurses 6.3 - patch 20220806
+ amend end_of_stream() to allow for input files without a final
  newline.
+ check for non-textfiles to tic.
2022-08-07 09:47:59 +00:00
Thomas E. Dickey
3183ac61c6 ncurses 6.3 - patch 20220729
+ fixes to build with dietlibc:
  + add configure check for fpathconf (report by Georg Lehner).
  + add configure check for math sine/cosine, needed in test/tclock,
    and eliminate pow() from test/hanoi (report by Georg Lehner).
  + use wcsnlen as an alternative to wmemchr if it is not found
    (adapted from patch by Georg Lehner).
+ trim out some unwanted linker options from ncurses*config and .pc
  files seen in Fedora 36+.
2022-07-29 21:04:24 +00:00
Thomas E. Dickey
6662c1ccb4 ncurses 6.3 - patch 20220724
+ add portability notes for delscreen and delwin in manual.
+ improve pthread-configuration for test/worm.c, test/rain.c
+ improve pointer/limit checks associated with deleting a screen
  (Debian #1015756).
2022-07-24 22:50:11 +00:00
Thomas E. Dickey
67ea664505 ncurses 6.3 - patch 20220716
+ build-fix for test_mouse.c, for non-standard cfmakeraw.
+ improve shell-scripts with shellcheck
+ fix typo in run_tic.in (report/patch by Jan Starke).
2022-07-16 22:47:30 +00:00
Thomas E. Dickey
3f57ad09df ncurses 6.3 - patch 20220709
+ lock the prescreen data consistently in newterm, etc., for the
  pthreads configuration (report by Tom de Vries).
2022-07-09 22:51:27 +00:00
Thomas E. Dickey
6cd4a712ad ncurses 6.3 - patch 20220703
+ add consistency check in tic for u6/u7/u8/u9 and NQ capabilities.
+ use NQ to flag entries where the terminal does not support query and
  response -TD
+ use ansi+enq and decid+cpr in cases where the terminal probably
  supported the u6-u9 extension -TD
+ add/use apollo+vt132, xterm+alt47 -TD
2022-07-03 22:52:51 +00:00
Thomas E. Dickey
80803f3a4a ncurses 6.3 - patch 20220625
+ improve man/curs_bkgd.3x, explaining that bkgdset can affect results
  for bkgd (report by Anton Vidovic).
+ correct dsl in dec+sl (report by Rajeev Pillai) -TD
+ add/use ansi+cpr, decid+cpr -TD
2022-06-25 23:51:36 +00:00
Thomas E. Dickey
38586db6a6 ncurses 6.3 - patch 20220618
+ add a null-pointer check for term_names field in copy_termtype(),
  needed for MinGW port (report by Peiyuan Song, cf: 20220521).
+ revise kon/kon2/jfbterm to undo "linux2.6" change to
  smacs/rmacs/enacs (Debian #1012800) -TD
+ amended note for att610+cvis0, as per documentation for att610,
  att620, att730 -TD
2022-06-18 23:58:35 +00:00
Thomas E. Dickey
fe04a14d6f ncurses 6.3 - patch 20220612
+ modify waddch_literal() to allow for double-width base character when
  merging a combining character (report by Gavin Troy).
+ improve _tracecchar_t2() formatting of base+combining character.
2022-06-12 18:14:27 +00:00
Thomas E. Dickey
7104baa59f ncurses 6.3 - patch 20220604
+ add note on portable memory-leak checking in man/curs_memleaks.3x
+ remove u6-u9 from teken-2018 -TD
+ set "xterm-new" to "xterm-p370", add "xterm-p371" -TD
2022-06-05 00:13:01 +00:00
Thomas E. Dickey
66dce3ce75 ncurses 6.3 - patch 20220529
+ expanded notes for teken/syscons -TD
+ fix overlooked copying of extended string-heap in copy_termtype
  (cf: 20220430).
+ update config.guess
2022-05-30 00:05:21 +00:00
Thomas E. Dickey
1ddfa997c0 ncurses 6.3 - patch 20220521
+ improve memory-leak checking in several test-programs.
+ set trailing null on string passed from winsnstr() to wins_nwstr().
+ modify del_curterm() to fix memory-leak introduced by change to
  copy_termtype().
2022-05-22 00:12:22 +00:00
Thomas E. Dickey
eeac2ef5db ncurses 6.3 - patch 20220514
+ further improvements to test/test_mouse.c; compare with ncurses test
  program menu A/a.
2022-05-15 00:51:18 +00:00
Thomas E. Dickey
f8401f5e86 ncurses 6.3 - patch 20220507
+ add test/test_mouse.c (patch by Leonid S Usov).
+ add a few debug-traces for tic, fix a couple of memory-leaks.
2022-05-08 00:52:05 +00:00
Thomas E. Dickey
a0c6d9cb65 ncurses 6.3 - patch 20220501
+ build-fix for debug-traces (report/patch by Chris Clayton).
2022-05-01 18:51:43 +00:00
Thomas E. Dickey
47c323416b ncurses 6.3 - patch 20220430
+ modify samples for xterm mouse 1002/1003 modes to use 1006 mode, and
  also provide for focus in/out responses -TD
+ modify default case in handle_wheel() to always report button-release
  events, e.g., for xterm mouse mode 1003 (patch by Leonid S Usov).
+ improve valid_entryname() to disallow characters used in terminfo
  syntax: '#', '=', '|', '\'.
+ alter copy_termtype() to allocate new str_table and ext_str_table
  data rather than relying upon its callers.
+ use calloc in _nc_init_entry() when allocating stringbuf, to ensure
  it is initialized.
+ add library-level TYPE_CALLOC for consistency with TYPE_MALLOC.
+ add some debug-traces for tic/infocmp.
2022-05-01 00:03:53 +00:00
Thomas E. Dickey
20db1fb41e ncurses 6.3 - patch 20220423
+ in-progress work on invalid_merge(), disable it (cf: 20220402).
+ fix memory leak in _nc_tic_dir() when called from _nc_set_writedir().
+ fix memory leak in tic when "-c" option is used.
2022-04-24 00:17:21 +00:00
Thomas E. Dickey
4c9f63c460 ncurses 6.3 - patch 20220416
+ add a limit-check to guard against corrupt terminfo data
  (report/testcase by NCNIPC of China).
+ add check/warning in configure script if option --with-xterm-kbs is
  missing or inconsistent (Arch #74379).
+ add setlocale call to several test-programs.
+ allow extended-color number in opts parameter of wattr_on.
2022-04-17 00:27:48 +00:00
Thomas E. Dickey
f8a52f8d51 ncurses 6.3 - patch 20220409
+ add test/test_unget_wch.c
2022-04-10 00:16:54 +00:00
Thomas E. Dickey
64eb5fae19 ncurses 6.3 - patch 20220402
+ amend extended_captype(), returning CANCEL if a string is explicitly
  cancelled.
+ make description-fields distinct -TD
2022-04-03 00:00:27 +00:00
Thomas E. Dickey
ad14e224ec ncurses 6.3 - patch 20220326
+ update teken -TD
+ add teken-16color, teken-vt and teken-sc -TD
+ add a few missing details for vte-2018 (report by Robert Lange) -TD
2022-03-27 00:22:57 +00:00
Thomas E. Dickey
648995d041 ncurses 6.3 - patch 20220319
+ add xgterm -TD
+ correct setal in mintty/tmux entries, add to vte-2018 (report by
  Robert Lange)
+ add blink to vte-2018 (report by Robert Lange)
+ improve tic warning about XT versus redundant tsl, etc.
2022-03-20 00:45:48 +00:00
Thomas E. Dickey
8bf8c836fe ncurses 6.3 - patch 20220312
+ add xterm+acs building-block -TD
+ add xterm-p370, for use in older terminals -TD
+ add dec+sl to xterm-new, per patch #371 -TD
+ add mosh and mosh-256color -TD
2022-03-13 00:52:29 +00:00
Thomas E. Dickey
bc0df47489 ncurses 6.3 - patch 20220305
+ replace obsolescent "-gnatg" option with "-gnatwa" and "-gnatyg", to
  work around build problems with gnat 12.
+ update external links in Ada95.html
+ trim unused return-value from canonical_name().
2022-03-06 02:01:23 +00:00
Thomas E. Dickey
2ef2f5486d ncurses 6.3 - patch 20220226
+ fix issues found with coverity:
  + rewrite canonical_name() function of infocmp to ensure buffer size
  + corrected use of original tty-modes in tput init/reset subcommands
  + modify tabs program to limit tab-stop values to max-columns
  + add limit-checks for palette rgb values in test/ncurses.c
+ add a few null-pointer checks to help with static-analysis.
+ enforce limit on number of soft-keys used in c++ binding.
+ adjust a buffer-limit in write_entry.c to quiet a bogus warning from
  gcc 12.0.1
2022-02-27 01:00:55 +00:00
Thomas E. Dickey
87154b424e ncurses 6.3 - patch 20220219
+ expanded description in man/resizeterm.3x
+ additional workaround for ImageMagick in test/picsmap.c
2022-02-20 02:01:54 +00:00
Thomas E. Dickey
16fbf3f4f7 ncurses 6.3 - patch 20220212
+ improve font-formatting in other manpages, for consistency.
+ correct/improve font-formatting in curs_wgetch.3x (patch by Benno
  Schulenberg).
2022-02-13 02:28:27 +00:00
Thomas E. Dickey
79b07cae47 ncurses 6.3 - patch 20220205
+ workaround in test/picsmap.c for use of floating point for rgb values
  by ImageMagick 6.9.11, which appears to use the wrong upper limit.
+ improve use of "trap" in shell scripts, using "fixup-trap".
2022-02-06 01:46:24 +00:00
Thomas E. Dickey
95b3f94ec8 ncurses 6.3 - patch 20220129
+ minor updates for test-packages
+ improve handling of --with-pkg-config-libdir option, allowing for the
  case where either $PKG_CONFIG_LIBDIR or the option value has a
  colon-separated list of directories (report by Rudi Heitbaum,
  cf: 20211113).
+ update kitty -TD
2022-01-30 01:46:17 +00:00
Thomas E. Dickey
22b1106649 ncurses 6.3 - patch 20220122
+ add ABI 7 defaults to configure script.
+ add warning in configure script if file specified for "--with-caps"
  does not exist.
+ use fix for CF_FIX_WARNINGS from cdk-perl, ignoring error-exit on
  format-warnings.
+ improve readability of long parameterized expressions with the
  infocmp "-f" option by allowing split before a "%p" marker.
2022-01-23 01:58:35 +00:00
Thomas E. Dickey
91e462de27 ncurses 6.3 - patch 20220115
+ improve checks for valid mouse events when an intermediate mouse
  state is not part of the mousemask specified by the caller (report by
  Anton Vidovic, cf: 20111022).
+ use newer version 1.36 of gnathtml for generating Ada html files.
2022-01-16 02:14:52 +00:00
Thomas E. Dickey
3b56f70388 ncurses 6.3 - patch 20220101
+ add section on releasing memory to curs_termcap.3x and
  curs_terminfo.3x manpages.
2022-01-02 01:07:07 +00:00
Thomas E. Dickey
74433bcf4f ncurses 6.3 - patch 20211225
+ improve markup, e.g., for external manpage links in the manpages
  (prompted by report by Helge Kreutzmann).
2021-12-26 02:01:14 +00:00
Thomas E. Dickey
e6bb3226cd ncurses 6.3 - patch 20211219
+ install ncurses-examples programs in libexecdir, adding a wrapper
  script to invoke those.
+ add help-screen and screen-dump to test/combine.c
2021-12-20 00:46:47 +00:00
Thomas E. Dickey
5487d20851 ncurses 6.3 - patch 20211211
+ add test/combine.c, to demo/test combining characters.
2021-12-12 01:11:22 +00:00
Thomas E. Dickey
4782c5a046 ncurses 6.3 - patch 20211204
+ improve configure check for getttynam (report by Werner Fink).
2021-12-06 21:34:05 +00:00
Thomas E. Dickey
bc6feebe06 ncurses 6.3 - patch 20211127
+ fix errata in description fields (report by Eric Lindblad) -TD
+ add x10term+sl, aixterm+sl, ncr260vp+sl, ncr260vp+vt, wyse+sl -TD
2021-11-28 02:17:37 +00:00
Thomas E. Dickey
461e72d182 ncurses 6.3 - patch 20211120
+ add dim, ecma+strikeout to st-0.6 -TD
+ deallocate the tparm cache when del_curterm is called for the last
  allocated TERMINAL structure (report/testcase by Bram Moolenaar,
  cf: 20200531).
+ modify test-package to more closely conform to Debian multi-arch.
+ if the --with-pkg-config-libdir option is not given, use
  ${libdir}/pkgconfig as a default (prompted by discussion with Ross
  Burton).
2021-11-21 01:19:08 +00:00
Thomas E. Dickey
214f159cd8 ncurses 6.3 - patch 20211115
+ fix memory-leak in delwin for pads (report by Werner Fink, OpenSUSE
  #1192668, cf:  20211106),
2021-11-16 00:54:00 +00:00
Thomas E. Dickey
8f4cd91a25 ncurses 6.3 - patch 20211113
+ minor clarification to clear.1 (Debian #999437).
+ add xterm+sl-alt, use that in foot+base (report by Jonas Grosse
  Sundrup) -TD
+ improve search-path check for pkg-config, for Debian testing which
  installs pkg-config with architecture-prefixes.
2021-11-14 01:21:10 +00:00
Thomas E. Dickey
f399f54c6c ncurses 6.3 - patch 20211106
+ improve check in misc/Makefile.in for empty $PKG_CONFIG_LIBDIR
+ modify wnoutrefresh to call pnoutrefresh if its parameter is a pad,
  rather than treating it as an error, and modify new_panel to permit
  its window-parameter to be a pad (report by Giorgos Xou).
+ fix a memory-leak in del_curterm (prompted by discussion with Bram
  Moolenaar, cf: 20210821).
2021-11-07 00:20:43 +00:00
Thomas E. Dickey
63d2670947 ncurses 6.3 - patch 20211030
+ simplify some references to WINDOWS._flags using macros.
+ add a "check" rule in Ada95 makefile, to help with test-packages.
+ build-fix for cross-compiling to MingW, conditionally add -lssp
2021-10-31 00:48:33 +00:00
Thomas E. Dickey
d21ad44bda ncurses 6.3 - patch 20211026
+ corrected regex needed for older pkg-config used in Solaris 10.
+ amend configure option's auto-search to account for systems where
  none of the directories known to pkg-config exist, adapted from
  mailing-list comment (report by Milan P. Stanic).
2021-10-26 23:55:34 +00:00