]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - NEWS
ncurses 6.0 - patch 20170107
[ncurses.git] / NEWS
diff --git a/NEWS b/NEWS
index 43dfe1609856571ad7626c458ac3a09c55b06aa0..eac8f2b84ecb03d0994e720e7522018d2eca6913 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright (c) 1998-2014,2015 Free Software Foundation, Inc.               --
+-- Copyright (c) 1998-2016,2017 Free Software Foundation, Inc.               --
 --                                                                           --
 -- Permission is hereby granted, free of charge, to any person obtaining a   --
 -- copy of this software and associated documentation files (the             --
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.2526 2015/11/08 01:57:15 tom Exp $
+-- $Id: NEWS,v 1.2732 2017/01/07 22:49:11 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,444 @@ See the AUTHORS file for the corresponding full names.
 Changes through 1.9.9e did not credit all contributions;
 it is not possible to add this information.
 
+20170107
+       + amend changes for tput to reset tty modes to "sane" if the program
+         is run as "reset", like tset.  Likewise, ensure that tset sends
+         either reset- or init-strings.
+       + improve manual page descriptions of tput init/reset and tset/reset,
+         to make it easier to see how they are similar and different.
+       + move a static result from key_name() to _nc_globals
+       + modify _nc_get_screensize to allow for use_env() and use_tioctl()
+         state to be per-screen when sp-funcs are configured, better matching
+         the behavior when using the term-driver configuration.
+       + improve cross-references in manual pages for often used functions
+       + move SCREEN field for use_tioctl() data before the ncursesw fields,
+         and limit that to the sp-funcs configuration to improve termlib
+         compatibility (cf:  20120714).
+       + correct order of initialization for traces in use_env() and
+         use_tioctl() versus first trace calls.
+
+20161231
+       + fix errata for ncurses-howto (report by Damien Ruscoe).
+       + fix a few places in configure/build scripts where DESTDIR and rpath
+         were combined (report by Thomas Klausner).
+       + merge current st description (report by Harry Gindi) -TD
+       + modify flash capability for linux and wyse entries to put the delay
+         between the reverse/normal escapes rather than after -TD
+       + modify program tabs to pass the actual tty file descriptor to
+         setupterm rather than the standard output, making padding work
+         consistently.
+       + explain in clear's manual page that it writes to stdout.
+       + add special case for verbose debugging traces of command-line
+         utilities which write to stderr (cf: 20161126).
+       + remove a trace with literal escapes from skip_DECSCNM(), added in
+         20161203.
+       + update config.guess, config.sub from
+               http://git.savannah.gnu.org/cgit/config.git
+
+20161224
+       + correct parmeters for copywin call in _nc_Synchronize_Attributes()
+         (patch by Leon Winter).
+       + improve color-handling section in terminfo manual page (prompted by
+         patch by Mihail Konev).
+       + modify programs clear, tput and tset to pass the actual tty file
+         descriptor to setupterm rather than the standard output, making
+         padding work.
+
+20161217
+       + add tput-colorcube demo script.
+       + add -r and -s options to tput-initc demo, to match usage in xterm.
+       + flush the standard output in _nc_flush for the case where SP is zero,
+         e.g., when called via putp.  This fixes a scenario where "tput flash"
+         did not work after changes in 20130112.
+
+20161210
+       + add configure script option --disable-wattr-macros for use in cases
+         where one wants to use the same headers for ncurses5/ncurses6
+         development, by suppressing the wattr* macros which differ due to
+         the introduction of extended colors (prompted by comments in
+         Debian #230990, Redhat #1270534).
+       + add test/tput-initc to demonstrate tput used to initialize palette
+         from a data file.
+       + modify test/xterm*.dat to use the newer color4/color12 values.
+
+20161203
+       + improve discussion of field validation in form_driver.3x manual page.
+       + update curs_trace.3x manual page.
+
+20161126
+       + modify linux-16color to not mask dim, standout or reverse with the
+         ncv capability -TD
+       + add 0.1sec mandatory delay to flash capabilities using the VT100
+         reverse-video control -TD
+       + omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
+         entry, to avoid conflict with the user-defined mapping.  The reset
+         feature will use ISO-8859-1 in any case (Mikulas Patocka).
+       + improve check in tic for delays by also warning about beep/flash
+         when a delay is not embedded, or if those use the VT100 reverse
+         video escape without using a delay.
+       + minor fix for syntax-check of delays from 20161119 changes.
+       + modify trace() to avoid overwriting existing file (report by Maor
+         Shwartz).
+
+20161119
+       + add check in tic for some syntax errors of delays, as well as use of
+         proportional delays for non-line capabilities.
+       + document history of the clear program and the E3 extension, prompted
+         by various discussions including
+         http://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer
+
+20161112
+       + improve -W option in tic/infocmp:
+         + correct order of size-adjustments in wrapped lines
+         + if -f option splits line, do not further split it with -W
+         + begin a new line when adding "use=" after a wrapped line
+
+20161105
+       + fix typo in man/terminfo.tail (Alain Williams).
+       + correct program-name in adacurses6-config.1 manual page.
+
+20161029
+       + add new function "unfocus_current_field" (Leon Winter)
+
+20161022
+       + modify tset -w (and tput reset) to update the program's copy of the
+         screensize if it was already set in the system, to improve tabstop
+         setting which relies upon knowing the actual screensize.
+       + add functionality of tset -w to tput, like the "-c" feature this is
+         not optional in tput.
+       + add "clear" as a possible link/alias to tput.
+       + improve tput's check for being called as "init" or "reset" to allow
+         for transformed names.
+       + split-out the "clear" function from progs/clear.c, share with
+         tput to get the same behavior, e.g., the E3 extension.
+
+20161015
+       + amend internal use of tputs to consistently use the number of lines
+         affected, e.g., for insert/delete character operations.  While
+         merging terminfo source early in 1995, several descriptions used the
+         "*" proportional delay for these operations, prompting a change in
+         doupdate.
+       + regenerate llib-* files.
+       + regenerate HTML manpages.
+       + fix several formatting issues with manual pages.
+
+20161008
+       + adjust size in infocmp/tic to work with strlcpy.
+       + fix configure script to record when strlcat is found on OpenBSD.
+       + build-fix for "recent" OpenBSD vs baudrate.
+
+20161001
+       + add -W option to tic/infocmp to force long strings to wrap.  This is
+         in addition to the -w option which attempts to fit capabilities into
+         a given line-length.
+       + add linux-m1 minitel entries (patch by Alexandre Montaron).
+       + correct rs2 string for vt100-nam -TD
+
+20160924
+       + modify _nc_tic_expand to escape comma if it immediately follows a
+         percent sign, to work with minitel change.
+       + updated minitel and viewdata descriptions (Alexandre Montaron).
+
+20160917
+       + build-fix for gnat6, which unhelpfully attempts to compile C files.
+       + fix typo in 20160910 changes (Debian #837892, patch by Sven Joachim).
+
+20160910
+       + trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
+         Leon Winter).
+       + trim some obsolete/incorrect wording about EINTR from wgetch manual
+         page (patch by Leon Winter).
+       + really correct 20100515 change (patch by Rich Coe).
+       + add "--enable-string-hacks" option to test/configure
+       + completed string-hacks for "sprintf", etc., including test-programs.
+       + make "--enable-string-hacks" work with Debian by checking for the
+         "bsd" library and its associated "<bsd/string.h>" header.
+
+20160903
+       + correct 20100515 change for weak signals versus sigprocmask (report
+         by Rich Coe).
+       + modify misc/Makefile.in to work around OpenBSD "make" which unlike
+         all other versions of "make" does not recognize continuation lines
+         of comments.
+       + amend the last change to CF_C_ENV_FLAGS to move only the
+         preprocessor, optimization and warning flags to CPPFLAGS and CFLAGS,
+         leaving the residue in CC.  That happens to work for gcc's various
+         "model" options, but may require tuning for other compilers (report
+         by Sven Joachim).
+
+20160827
+       + add "v" menu entry to test/ncurses.c to show baudrate and other
+         values.
+       + add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c,
+         lib_baudrate.c
+       + modify CF_XOPEN_SOURCE macro:
+         + add "uclinux" to case for "linux" (patch by Yann E. Morin)
+         + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5
+           (patch by Corinna Vinschen, from changes to tin).
+       + improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
+         as "ccache" (report by Enrico Scholz).
+       + update config.guess, config.sub from
+               http://git.savannah.gnu.org/cgit/config.git
+
+20160820
+       + update tput manual page to reflect changes to manipulate terminal
+         modes by sharing functions with tset.
+       + add the terminal-mode parts of "reset" (aka tset) to the "tput reset"
+         command, making the two almost the same except for window-size.
+       + adapt logic used in dialog "--keep-tite" option for test/filter.c as
+         "-a" option.  When set, test/filter attempts to suppress the
+         alternate screen.
+       + correct a typo in interix entry -TD
+
+20160813
+       + add a dependency upon generated-sources in Ada95/src/Makefile.in to
+         handle a case of "configure && make install".
+       + trim trailing blanks from include/Caps*, to work around a problem
+         in sed (Debian #818067).
+
+20160806
+       + improve CF_GNU_SOURCE configure macro to optionally define
+         _DEFAULT_SOURCE work around a nuisance in recent glibc releases.
+       + move the terminfo-specific parts of tput's "reset" function into
+         the shared reset_cmd.c, making the two forms of reset use the same
+         strings.
+       + split-out the terminal initialization functions from tset as
+         progs/reset_cmd.c, as part of changes to merge the reset-feature
+         with tput.
+
+20160730
+       + change tset's initialization to allow it to get settings from the
+         standard input as well as /dev/tty, to be more effective when
+         output or error are redirected.
+       + improve discussion of history and portability for tset/reset/tput
+         manual pages.
+
+20160723
+       + improve error message from tset/reset when both stderr/stdout are
+         redirected to a file or pipe.
+       + improve organization of curs_attr.3x, curs_color.3x
+
+20160709
+       + work around Debian's antique/unmaintained version of mawk when
+         building link_test.
+       + improve test/list_keys.c, showing ncurses's convention of modifiers
+         for special keys, based on xterm.
+
+20160702
+       + improve test/list_keys.c, using $TERM if no parameters areg given.
+
+20160625
+       + build-fixes for ncurses "test_progs" rule.
+       + amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
+         work (report by Sven Joachim).
+
+20160618
+       + build-fixes for ncurses-examples with NetBSD curses.
+       + improve test/list_keys.c, fixing column-widths and sorting the list
+         to make it more readable.
+
+20160611
+       + revise fix for Debian #805618 (report by Vlado Potisk, cf: 20151128).
+       + modify test/ncurses.c a/A screens to make exiting on an escape
+         character depend on the start of keypad and timeout modes, to allow
+         better testing of function-keys.
+       + modify rs1 for xterm-16color, xterm-88color and xterm-256color to
+         reset palette using "oc" string as in linux -TD
+       + use ANSI reply for u8 in xterm-new, to reflect vt220-style responses
+         that could be returned -TD
+       + added a few capabilities fixed in recent vte -TD
+
+20160604
+       + correct logic for -f option in test/demo_terminfo.c
+       + add test/list_keys.c
+
+20160528
+       + further workaround for PIE/PIC breakage which causes gpm to not link.
+       + fix most cppcheck warnings, mostly style, in ncurses library.
+
+20160521
+       + improved manual page description of tset/reset versus window-size.
+       + fixes to work with a slightly broken compiler configuration which
+         cannot compile "Hello World!" without adding compiler options
+         (report by Ola x Nilsson):
+         + pass appropriate compiler options to the CF_PROG_CC_C_O macro.
+         + when separating compiler and options in CF_CC_ENV_FLAGS, ensure
+           that all options are split-off into CFLAGS or CPPFLAGS
+         + restore some -I options removed in 20140726 because they appeared
+           to be redundant.  In fact, they are needed for a compiler that
+           cannot combine -c and -o options.
+
+20160514
+       + regenerate HTML manpages.
+       + improve manual pages for wgetch and wget_wch to point out that they
+         might return values without names in curses.h (Debian #822426).
+       + make linux3.0 entry the default linux entry (Debian #823658) -TD
+       + modify linux2.6 entry to improve line-drawing so that the linux3.0
+         entry can be used in non-UTF-8 mode -TD
+       + document return value of use_extended_names (report by Mike Gran).
+
+20160507
+       + amend change to _nc_do_color to restore the early return for the
+         special case used in _nc_screen_wrap (report by Dick Streefland,
+         cf: 20151017).
+       + modify test/ncurses.c:
+         + check return-value of putwin
+         + correct ifdef which made the 'g' test's legend not reflect changes
+           to keypad- and scroll-modes.
+       + correct return-value of extended putwin (report by Mike Gran).
+
+20160423
+       + modify test/ncurses.c 'd' edit-color menu to optionally read xterm
+         color palette directly from terminal, as well as handling KEY_RESIZE
+         and screen-repainting with control/L and control/R.
+       + add 'oc' capability to xterm+256color, allowing palette reset for
+         xterm -TD
+
+20160416
+       + add workaround in configure script for inept transition to PIE vs
+         PIC builds documented in
+                 https://fedoraproject.org/wiki/Changes/Harden_All_Packages
+       + add "reset" to list of programs whose names might change in manpages
+         due to program-transformation configure options.
+       + drop long-obsolete "-n" option from tset.
+
+20160409
+       + modify test/blue.c to use Unicode values for card-glyphs when
+         available, as well as improving the check for CP437 and CP850.
+
+20160402
+       + regenerate HTML manpages.
+       + improve manual pages for utilities with respect to POSIX versus
+         X/Open Curses.
+
+20160326
+       + regenerate HTML manpages.
+       + improve test/demo_menus.c, allowing mouse-click on the menu-headers
+         to switch the active menu.  This requires a new extension option
+         O_MOUSE_MENU to tell the menu driver to put mouse events which do not
+         apply to the active menu back into the queue so that the application
+         can handle the event.
+
+20160319
+       + improve description of tgoto parameters (report by Steffen Nurpmeso).
+       + amend workaround for Solaris line-drawing to restore a special case
+         that maps Unicode line-drawing characters into the acsc string for
+         non-Unicode locales (Debian #816888).
+
+20160312
+       + modified test/filter.c to illustrate an alternative to getnstr, that
+         polls for input while updating a clock on the right margin as well
+         as responding to window size-changes.
+
+20160305
+       + omit a redefinition of "inline" when traces are enabled, since this
+         does not work with gcc 5.3.x MinGW cross-compiling (cf: 20150912).
+
+20160220
+       + modify test/configure script to check for pthread dependency of
+         ncursest or ncursestw library when building ncurses examples, e.g.,
+         in case weak symbols are used.
+       + modify configure macro for shared-library rules to use -Wl,-rpath
+         rather than -rpath to work around a bug in scons (FreeBSD #178732,
+         cf: 20061021).
+       + double-width multibyte characters were not counted properly in
+         winsnstr and wins_nwstr (report/example by Eric Pruitt).
+       + update config.guess, config.sub from
+               http://git.savannah.gnu.org/cgit/config.git
+
+20160213
+       + amend fix for _nc_ripoffline from 20091031 to make test/ditto.c work
+         in threaded configuration.
+       + move _nc_tracebits, _tracedump and _tracemouse to curses.priv.h,
+         since they are not part of the suggested ABI6.
+
+20160206
+       + define WIN32_LEAN_AND_MEAN for MinGW port, making builds faster.
+       + modify test/ditto.c to allow $XTERM_PROG environment variable to
+         override "xterm" as the name of the program to run in the threaded
+         configuration.
+
+20160130
+       + improve formatting of man/curs_refresh.3x and man/tset.1 manpages
+       + regenerate HTML manpages using newer man2html to eliminate some
+         unwanted blank lines.
+
+20160123
+       + ifdef'd header-file definition of mouse_trafo() with NCURSES_NOMACROS
+         (report by Corey Minyard).
+       + fix some strict compiler-warnings in traces.
+
+20160116
+       + tidy up comments about hardcoded 256color palette (report by
+         Leonardo Brondani Schenkel) -TD
+       + add putty-noapp entry, and amend putty entry to use application mode
+         for better consistency with xterm (report by Leonardo Brondani
+         Schenkel) -TD
+       + modify _nc_viscbuf2() and _tracecchar_t2() to trace wide-characters
+         as a whole rather than their multibyte equivalents.
+       + minor fix in wadd_wchnstr() to ensure that each cell has nonzero
+         width.
+       + move PUTC_INIT calls next to wcrtomb calls, to avoid carry-over of
+         error status when processing Unicode values which are not mapped.
+
+20160102
+       + modify ncurses c/C color test-screens to take advantage of wide
+         screens, reducing the number of lines used for 88- and 256-colors.
+       + minor refinement to check versus ncv to ignore two parameters of
+         SGR 38 and 48 when those come from color-capabilities.
+
+20151226
+       + add check in tic for use of bold, etc., video attributes in the
+         color capabilities, accounting whether the feature is listed in ncv.
+       + add check in tic for conflict between ritm, rmso, rmul versus sgr0.
+
+20151219
+       + add a paragraph to curs_getch.3x discussing key naming (discussion
+         with James Crippen).
+       + amend workaround for Solaris vs line-drawing to take the configure
+         check into account.
+       + add a configure check for wcwidth() versus the ncurses line-drawing
+         characters, to use in special-casing systems such as Solaris.
+
+20151212
+       + improve CF_XOPEN_CURSES macro used in test/configure, to define as
+         needed NCURSES_WIDECHAR for platforms where _XOPEN_SOURCE_EXTENDED
+         does not work.  Also modified the test program to ensure that if
+         building with ncurses, that the cchar_t type is checked, since that
+         normally is since 20111030 ifdef'd depending on this test.
+       + improve 20121222 workaround for broken acs, letting Solaris "work"
+         in spite of its misconfigured wcwidth which marks all of the line
+         drawing characters as double-width.
+
+20151205
+       + update form_cursor.3x, form_post.3x, menu_attributes.3x to list
+         function names in NAME section (patch by Jason McIntyre).
+       + minor fixes to manpage NAME/SYNOPSIS sections to consistently use
+         rule that either all functions which are prototyped in SYNOPSIS are
+         listed in the NAME section, or the manual-page name is the sole item
+         listed in the NAME section.  The latter is used to reduce clutter,
+         e.g., for the top-level library manual pages as well as for certain
+         feature-pages such as SP-funcs and threading (prompted by patches by
+         Jason McIntyre).
+
+20151128
+       + add option to preserve leading whitespace in form fields (patch by
+         Leon Winter).
+       + add missing assignment in lib_getch.c to make notimeout() work
+         (Debian #805618).
+       + add 't' toggle for notimeout() function in test/ncurses.c a/A screens
+       + add viewdata terminal description (Alexandre Montaron).
+       + fix a case in tic/infocmp for formatting capabilities where a
+         backslash at the end of a string was mishandled.
+       + fix some typos in curs_inopts.3x (Benno Schulenberg).
+
+20151121
+       + fix some inconsistencies in the pccon* entries -TD
+       + add bold to pccon+sgr+acs and pccon-base (Tati Chevron).
+       + add keys f12-f124 to pccon+keys (Tati Chevron).
+       + add test/test_sgr.c program to exercise all combinations of sgr.
+
 20151107
        + modify tset's assignment to TERM in its output to reflect the name by
          which the terminal description is found, rather than the primary
@@ -10778,7 +11216,7 @@ it is not possible to add this information.
          (SVr4) curses, which doesn't use 'const' in its prototypes.
        + modify ifdef's in test/hashtest.c and test/view.c to compile with
          Solaris curses.
-       + modify _tracedump() to pad pad colors & attrs lines to match change
+       + modify _tracedump() to pad colors & attrs lines to match change
          in 970101 showing first/last changes.
        + corrected location of terminating null on dynamically allocated forms
          fields (patch by Per Foreby).