Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
b0bdfbb1c7 ncurses 6.0 - patch 20171230
+ build-fix for ncurses-examples with Fedora27, adding check for
  reset_color_pairs() -- not yet in Fedora's package.
+ consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
  script when the latter happens to use the C compiler rather than
  directly using the loader (report by Jeffrey Walton).
+ set ABI for upcoming 6.1 release in "*.map" files.  While there are
  some remaining internals to apply, no ABI-related changes are
  anticipated.
+ add configure --with-config-suffix option to work around filename
  conflict with Redhat packages versus test-packages.
2017-12-31 01:08:31 +00:00
Thomas E. Dickey
a20e6eb464 ncurses 6.0 - patch 20170812
+ improve description of -R option in infocmp manual page (report by
  Stephane Chazelas).
+ add reset_color_pairs() function.
+ add user_caps.5 manual page to document the terminfo extensions used
  by ncurses.
+ improve build scripts, using SIGQUIT vs SIGTRAP; add other configure
  script fixes from work on xterm, lynx and tack.
+ modify install-rule for ncurses-examples to put the data files in
  /usr/share/ncurses-examples
+ improve tracemunch, by changing address-parameters of add_wch(),
  color_content() and pair_content() to dummy parameters.
+ minor optimization to _nc_change_pair, to return quickly when the
  current screen is marked for clearing.
+ in-progress changes to improve performance of test/picsmap.c for
  loading image files.
+ modify allocation for SCREEN's color-pair table to start small, grow
  on demand up to the existing limit.
+ add "RGB" extension capability for direct-color support, use this to
  improve color_content().
+ improve picsmap test-program:
  + if no palette file is needed, attempt to load one based on $TERM,
    checking first in the current directory, then by adding ".dat"
    suffix, and finally in the data-directory, e.g.,
    /usr/share/ncurses-examples
  + add "-l" option for logging
  + add "-d" option for debugging
  + add "-s" option for stepping automatically through list of images,
    with time delay.
  + use tsearch to improve time for loading color table for images.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2017-08-13 00:55:26 +00:00
Thomas E. Dickey
5e1e572b71 ncurses 6.0 - patch 20170415
+ modify several test programs to use new popup_msgs, adapted from
  help-screen used in test/edit_field.c
+ drop two symbols obsoleted in 2004: _nc_check_termtype, and
  _nc_resolve_uses
+ fix some old copyright dates (cf: 20031025).
+ build-fixes for test/savescreen.c to work with AIX and HPUX.
+ minor fix to configure script, adding a backslash/continuation.
+ extend TERMINAL structure for ABI 6 to store numbers internally as
  integers rather than short, by adding new data for this purpose.
+ more fixes for minor memory-leaks in test-programs.
2017-04-16 01:08:25 +00:00
Thomas E. Dickey
3eda6f30a8 ncurses 6.0 - patch 20170401
+ minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
+ add smso for env230, to match sgr -TD
+ remove p7/protect from sgr in fbterm -TD
+ drop setf/setb from fbterm; setaf/setab are enough -TD
+ make xterm-pcolor sgr consistent with other capabilities -TD
+ add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
  (discussion with Nicholas Marriott)
+ add test-programs sp_tinfo and extended_color
+ modify no-leaks code for lib_cur_term.c to account for the tgetent()
  cache.
+ modify setupterm() to save original tty-modes so that erasechar()
  works as expected.  Also modify _nc_setupscreen() to avoid redundant
  calls to get original tty-modes.
+ modify set_curterm() to update ttytype[] data used by longname().
+ modify wattr_set() and wattr_get() to return ERR if win-parameter is
  null, as documented.
+ improve cast used for null-pointer checks in header macros, to
  reduce compiler warnings.
+ modify several functions, using the reserved "opts" parameter to pass
  color- and pair-values larger than 16-bits:
  + getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
    wattr_set(), wchgat(), wcolor_set().
  + Other functions call these with the corresponding altered behavior,
    including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
    slk_color_off(), vid_attr().
+ add new functions for manipulating color- and pair-values larger
  than 16-bits.  These are extended_color_content(),
  extended_pair_content(), extended_slk_color(), init_extended_color(),
  init_extended_pair(), and the corresponding sp-funcs.
2017-04-02 01:27:53 +00:00
Thomas E. Dickey
90d42867e1 ncurses 6.0 - patch 20170311
+ modify vt100 rs2 string to reset vt52 mode and scrolling regions
  (report/analysis by Robert King) -TD
+ add vt100+4bsd building block, use that for older terminals rather
  than "vt100" which is now mostly used as a building block for
  terminal emulators -TD
+ correct a few spelling errors in terminfo.src comments -TD
+ add fbterm -TD
+ fix a typo in ncurses.c test_attr legend (patch by Petr Vanek).
+ changed internal colorpair_t to a struct, eliminating an internal
  8-bit limit on colors
+ add ncurses/new_pair.h
+ add ncurses/base/new_pair.c with alloc_pair(), find_pair() and
  free_pair() functions
+ add test/demo_new_pair.c
2017-03-12 01:04:32 +00:00
Thomas E. Dickey
9c110809dc ncurses 6.0 - patch 20161029
+ add new function "unfocus_current_field" (Leon Winter)
2016-10-30 01:40:40 +00:00
Thomas E. Dickey
a3725e3927 ncurses 6.0 - patch 20150905
+ add note in curs_addch.3x about line-drawing when it depends upon
  UTF-8.
+ add tic -q option for consistency with infocmp, use it to suppress
  all comments from the "tic -I" output.
+ modify infocmp -q option to suppress the "Reconstructed from"
  header.
+ add infocmp/tic -Q option, which allows one to dump the compiled
  form of the terminal entry, in hexadecimal or base64.
2015-09-06 01:23:48 +00:00
Thomas E. Dickey
91e802b0dd ncurses 6.0 - patch 20150627
+ modify configure script to remove deprecated ABI 5 symbols when
  building ABI 6.
+ add symbols _nc_Default_Field, _nc_Default_Form, _nc_has_mouse to
  map-files, but marked as deprecated so that they can easily be
  suppressed from ABI 6 builds (Debian #788610).
+ comment-out "screen.xterm" entry, and inherit screen.xterm-256color
  from xterm-new (report by Richard Birkett) -TD
+ modify read_entry.c to set the error-return to -1 if no terminal
  databases were found, as documented for setupterm.
+ add test_setupterm.c to demonstrate normal/error returns from the
  setupterm and restartterm functions.
+ amend cleanup change from 20110813 which removed redundant definition
  of ret_error, etc., from tinfo_driver.c, to account for the fact that
  it should return a bool rather than int (report/analysis by Johannes
  Schindelin).
2015-06-28 01:06:27 +00:00
Thomas E. Dickey
4ec5af5be8 ncurses 6.0 - patch 20150613
+ fix overflow warning for OSX with lib_baudrate.c (cf: 20010630).
+ modify script used to generate map/sym files to mark 5.9.20150530 as
  the last "5.9" version, and regenerated the files.  That makes the
  files not use ".current" for the post-5.9 symbols.  This also
  corrects the label for _nc_sigprocmask used in when weak symbols are
  configured for the ncursest/ncursestw libraries (prompted by
  discussion with Sven Joachim).
+ fix typo in NEWS (report by Sven Joachim).
  "--with-abi-version=5" option.
2015-06-14 01:15:46 +00:00
Thomas E. Dickey
c6cfd97b8b ncurses 5.9 - patch 20150214
+ regenerate html manpages using improved man2html from work on xterm.
+ regenerated ".map" and ".sym" files using improved script, accounting
  for the "--enable-weak-symbols" configure option (report by Werner
  Fink).
2015-02-15 01:42:27 +00:00
Thomas E. Dickey
a6ccf7a72f ncurses 5.9 - patch 20150131
+ regenerated ".map" and ".sym" files using improved script, showing
  the combinations of configure options used at each stage.
2015-02-01 02:07:33 +00:00
Thomas E. Dickey
5865ab4cec ncurses 5.9 - patch 20150117
+ improve description in INSTALL of the --with-versioned-syms option.
+ add combination of --with-hashed-db and --with-ticlib to
  configurations for ".map" files (report by Werner Fink).
2015-01-18 01:43:30 +00:00
Thomas E. Dickey
4ad721f3e6 ncurses 5.9 - patch 20150110
+ add a step to generating ".map" files, to declare any remaining
  symbols beginning with "_" as local, at the last version node.
+ improve configure checks for pkg-config, addressing a variant found
  with FreeBSD ports.
+ modify win_driver.c to provide characters for special keys, like
  ansi.sys, when keypad mode is off, rather than returning nothing at
  all (discussion with Eli Zaretskii).
+ add "broken_linker" and "hashed-db" configure options to combinations
  use for generating the ".map" and ".sym" files.
+ avoid using "ld" directly when creating shared library, to simplify
  cross-compiles.  Also drop "-Bsharable" option from shared-library
  rules for FreeBSD and DragonFly (FreeBSD #196592).
+ fix a memory leak in form library Free_RegularExpression_Type()
  (report by Pavel Balaev).
2015-01-11 01:37:29 +00:00
Thomas E. Dickey
b8cca229aa ncurses 5.9 - patch 20150103
+ modify_nc_flush() to retry if interrupted (patch by Stian Skjelstad).
+ change map files to make _nc_freeall a global, since it may be used
  via the Ada95 binding when checking for memory leaks.
+ improve sed script used in 20141220 to account for wide-, threaded-
  variations in ABI 6.
2015-01-04 01:53:54 +00:00
Thomas E. Dickey
1cfa1119f2 ncurses 5.9 - patch 20141227
+ regenerate ".map" files, using step overlooked in 20141213 to use
  the same patch-dates across each file to match ncurses.map (report by
  Sven Joachim).
2014-12-28 01:17:04 +00:00
Thomas E. Dickey
7b077b4a85 ncurses 5.9 - patch 20141213
+ modify misc/gen-pkgconfig.in to add -I option for include-directory
  when using both --prefix and --disable-overwrite (report by Misty
  De Meo).
+ add configure option --with-pc-suffix to allow minor renaming of
  ".pc" files and the corresponding library.  Use this in the test
  package for ncurses6.
+ modify configure script so that if pkg-config is not installed, it
  is still possible to install ".pc" files (report by Misty De Meo).
+ updated ".sym" files, removing symbols which are marked as "local"
  in the corresponding ".map" files.
+ updated ".map" files to reflect move of comp_captab and comp_hash
  from tic-library to tinfo-library in 20090711 (report by Sven
  Joachim).
2014-12-14 02:33:09 +00:00
Thomas E. Dickey
97bb4678dc ncurses 5.9 - patch 20141206
+ updated ".map" files so that each symbol that may be shared across
  the different library configurations has the same label.  Some
  review is needed to ensure these are really compatible.
+ modify MKlib_gen.sh to work around change in development version of
  gcc introduced here:
	  https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
	  https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
  (reports by Marcus Shawcroft, Maohui Lei).
+ improved configure macro CF_SUBDIR_PATH, from lynx changes.
2014-12-07 03:10:09 +00:00
Thomas E. Dickey
762520a793 ncurses 5.9 - patch 20141129
+ improved ".map" files by generating them with a script that builds
  ncurses with several related configurations and merges the results.
  A further refinement is planned, to make the tic- and tinfo-library
  symbols use the same versions across each of the four configurations
  which are represented (reports by Sven Joachim, Werner Fink).
2014-11-30 00:36:42 +00:00
Thomas E. Dickey
50acaeeb9b ncurses 5.9 - patch 20141115
+ improve description of limits for color values and color pairs in
  curs_color.3x (prompted by patch by Tim van der Molen).
+ add VERSION file, using first field in that to record the ABI version
  used for configure --with-libtool --disable-libtool-version
+ add configure options for applying the ".map" and ".sym" files to
  the ncurses, form, menu and panel libraries.
+ add ".map" and ".sym" files to show exported symbols, e.g., for
  symbol-versioning.
2014-11-16 04:08:00 +00:00