]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - NEWS
ncurses 6.0 - patch 20171014
[ncurses.git] / NEWS
diff --git a/NEWS b/NEWS
index acd629940c2b6a541dc07157220ee2ebb11d9733..64be9a918ae29a92e864ab1aecc8bbb57f3f1d1d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.2799 2017/04/08 22:54:04 tom Exp $
+-- $Id: NEWS,v 1.2975 2017/10/14 23:49:52 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,369 @@ 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.
 
+20171014
+       + minor cleanup to test/view.c:
+         + eliminate "-n" option by simply reading the whole file.
+         + implement page up/down commands.
+       + add check in tput for init/reset operands to ensure those use a
+         terminal.
+       + improve manual pages which discuss chtype, cchar_t types and the
+         attribute values which can be stored in those types.
+       + correct array-index when parsing "-T" command-line option in tabs
+         program.
+       + modify demo_new_pair.c to pass extended pairs to setcchar().
+       + add test/dots_xcurses.c to illustrate a different approach used for
+         extended colors which can be contrasted with dots_curses.c.
+       + add a check in tic to note when a description uses non-mandatory
+         delays without xon_xoff.  This is not an error, but some descriptions
+         for a terminal emulator may use the combination incorrectly.
+
+20171007
+       + modify "-T" option of clear and tput to call use_tioctl() to obtain
+         the operating system's notion of the screensize if possible.
+       + review/repair some exit-codes for tput, making usage-message exit
+         with 2 rather than 1, and a failure to open terminal 4+errno.
+       + amend check in tput, tabs and clear to allow those to use the
+         database-only features in cron if a -T option gives a suitable
+         terminal name (report by Lauri Tirkkonen).
+       + correct an ifdef in test/ncurses.c for systems with soft-keys but
+         not slk_color().
+       + regenerate man-html documentation.
+
+20170930
+       + fix a symbol conflict that made ncurses.c C/c menu not work with
+         Solaris xpg4 curses.
+       + add refresh() call to dots_mvcur.c, needed to use mvcur() with
+         Solaris xpg4 curses after calling newterm().
+       + minor fixes for configure script from work on ncurses-examples and
+         tin.
+       + improve animation in test/xmas.c by adding a time-delay in blinkit().
+       + modify several test programs to reflect that ncurses honors existing
+         signal handlers in initscr(), while other implementations do not.
+       + modify bs.c to make it easier to quit.
+       + change ncurses-examples to use attr_t vs chtype to follow X/Open
+         documentation more closely since Solaris xpg4-curses uses different
+         values for WA_xxx vs A_xxx that rely on attr_t being an unsigned
+         short.  Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the
+         two sets.
+
+20170923
+       + modify menu for test/ncurses.c to fit on 24-line screen.
+       + build-fix for configure --with-caps=uwin
+       + add options to test_arrays.c, for selecting termcap vs terminfo, etc.
+
+20170916
+       + minor fix to test/filter.c to avoid clearing the command in one case.
+       + modify filter() to discard clr_eos if back_color_erase is set.
+
+20170909
+       + improve wide-character implementation of myADDNSTR() in frm_driver.c,
+         which was inconsistent with the normal implementation.
+       + save/restore cursor position in Undo_Justification(), matching
+         behavior of Buffer_To_Window() (report by Leon Winter).
+       + modify test/knight to provide the "slow" solution for small screens
+         using "R", noting that Warnsdorf's method is easily done with "a".
+       + modify several test-programs which call use_default_colors() to
+         consistently do this only if "-d" option is given.
+       + additional changes to test with non-standard variants of curses:
+         + modify a loop limit in firework.c to work around absense of limit
+           checks in some libraries.
+         + fill the last row of a window with "?" in firstlast if waddch does
+           not return ERR on the lower-right corner.
+       + add checks in test/configure for some functions not in 4.3BSD curses.
+       + fix a regression in test/configure (cf: 20170826).
+
+20170902
+       + amend change for endwin-state for better consistency with the older
+         logic (report/patch by Jeb Rosen, cf: 20170722).
+       + modify check in fmt_entry() to handle a cancelled reset string
+         (Debian #873746).  Make similar fixes in other parts of dump_entry.c
+         and tput.c
+
+20170827
+       + fix a bug in repeat_char logic (cf: 20170729, report by Chris Clayton).
+
+20170826
+       + fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
+       + corrected a warning from tic about keys which are the same, to skip
+         over missing/cancelled values.
+       + add check in tic for unnecessary use of "2" to denote a shifted
+         special key.
+       + improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for
+         cancelled string capabilities.
+       + add check in _nc_parse_entry() for invalid entry name, setting the
+         name to "invalid" to avoid problems storing entries.
+       + add/improve checks in tic's parser to address invalid input
+         + add a check in comp_scan.c to handle the special case where a
+           nontext file ending with a NUL rather than newline is given to tic
+           as input (Redhat #1484274).
+         + allow for cancelled capabilities in _nc_save_str (Redhat #1484276).
+         + add validity checks for "use=" target in _nc_parse_entry (Redhat
+           #1484284).
+         + check for invalid strings in postprocess_termcap (Redhat #1484285)
+         + reset secondary pointers on EOF in next_char() (Redhat #1484287).
+         + guard _nc_safe_strcpy() and _nc_safe_strcat() against calls using
+           cancelled strings (Redhat #1484291).
+       + correct typo in curs_memleaks.3x (Sven Joachim).
+       + improve test/configure checks for some curses variants not based on
+         X/Open Curses.
+       + add options for test/configure to disable checks for form, menu and
+         panel libraries.
+
+20170819
+       + update "iterm" entry -TD
+       + add "iterm2" entry (report by Leonardo Brondani Schenkel) -TD
+       + regenerate llib-* files.
+       + regenerate HTML manpages.
+       + improve picsmap test-program:
+         + reduce memory used for tsearch
+         + add report in log file showing cumulative color coverage.
+       + add -x option to clear/tput to make the E3 extension optional
+         (cf: 20130622).
+       + add options -T and -V to clear command for compatibility with tput.
+       + add usage message to clear command (Debian #371855).
+       + improve usage messages for tset and tput.
+       + minor fixes to "RDGB" extension and reset_color_pairs().
+
+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
+
+20170729
+       + update interix entry using tack and SFU on Windows 7 Ultimate -TD
+       + use ^? for kdch1 in interix (reported by Jonathan de Boyne Pollard)
+       + add "rep" to xterm-new, available since 1997/01/26 -TD
+       + move SGR 24 and 27 from vte-2014 to vte-2012 (request by Alain
+         Williams) -TD
+       + add a check in newline_forces_scroll() in case a program moves the
+         cursor outside scrolling margins (report by Robert King).
+       + improve _nc_tparm_analyze, using that to extend the checks made by
+         tic for reporting inconsistencies between the expected number of
+         parameters for a capability and the actual.
+       + amend handling of repeat_char capability in EmitRange (adapted from
+         report/patch by Dick Wesseling):
+         + translate the character to the alternate character set when the
+           alternate character set is enabled.
+         + do not use repeat_char for characters past 255.
+       + document "_nc_free_tinfo" in manual page, because it could be used in
+         tack for memory-leak checking.
+       + add "--without-tack" configure option to refine "--with-progs"
+         configure option.  Normally tack is no longer built in-tree, but
+         a few packagers combine it during the build.  If term_entry.h is
+         installed, there is no advantage to in-tree builds.
+       + adjust configure-script to define HAVE_CURSES_DATA_BOOLNAMES symbol
+         needed for tack 1.08 when built in-tree.  Rather than relying upon
+         internal "_nc_" functions, tack now uses the boolean, number and
+         string capability name-arrays provided by ncurses and SVr4 Unix
+         curses.  It still uses term_entry.h for the definitions of the
+         extended capability arrays.
+       + add an overlooked null-pointer check in mvcur changes from 20170722
+
+20170722
+       + improve test-packages for ncurses-examples and AdaCurses for lintian
+       + modify logic for endwin-state to be able to detect the case where
+         the screen was never initialized, using that to trigger a flush of
+         ncurses' buffer for mvcur, e.g., in test/dots_mvcur.c for the
+         term-driver configuration.
+       + add dependency upon ncurses_cfg.h to a few other internal header
+         files to allow each to be compiled separately.
+       + add dependency upon ncurses_cfg.h to tic's header-files; any program
+         using tic-library will have to supply this file.  Legacy tack
+         versions supply this file; ongoing tack development has dropped the
+         dependency upon tic-library and new releases will not be affected.
+
+20170715
+       + modify command-line parameters for "convert" used in picsmap to work
+         with ImageMagick 6.8 and newer.
+       + fix build-problem with tack and ABI-5 (Debian #868328).
+       + repair termcap-format from tic/infocmp broken in 20170701 fixes
+         (Debian #868266).
+       + reformat terminfo.src with 20170513 updates.
+       + improve test-packages to address lintian warnings.
+
+20170708
+       + add a note to tic manual page about -W versus -f options.
+       + correct a limit-check in fixes from 20170701 (report by Sven Joachim).
+
+20170701
+       + modify update_getenv() in db_iterator.c to ensure that environment
+         variables which are not initially set will be checked later if an
+         application happens to set them (patch by Guillaume Maudoux).
+       + remove initialization-check for calling napms() in the term-driver
+         configuration; none is needed.
+       + add help-screen to test/test_getstr.c and test/test_get_wstr.c
+       + improve compatibility between different configurations of new_prescr,
+         fixing a case with threaded code and term-driver where c++/demo did
+         not work (cf: 20160213).
+       + the fixes for Redhat #1464685 obscured a problem subsequently
+         reported in Redhat #1464687; the given test-case was no longer
+         reproducible.  Testing without the fixes for the earlier reports
+         showed a problem with buffer overflow in dump_entry.c, which is
+         addressed by reducing the use of a fixed-size buffer.
+       + add/improve checks in tic's parser to address invalid input
+         (Redhat #1464684, #1464685, #1464686, #1464691).
+         + alloc_entry.c, add a check for a null-pointer.
+         + parse_entry.c, add several checks for valid pointers as well as
+           one check to ensure that a single character on a line is not
+           treated as the 2-character termcap short-name.
+       + fix a memory leak in delscreen() (report by Bai Junq).
+       + improve tracemunch, showing thread identifiers as names.
+       + fix a use-after-free in NCursesMenu::~NCursesMenu()
+       + further amend incorrect calls for memory-leaks from 20170617 changes
+         (report by Allen Hewes).
+
+20170624
+       + modify c++/etip.h.in to accommodate deprecation of throw() and
+         throws() in c++17 (prompted by patch by Romain Geissler).
+       + remove some incorrect calls for memory-leaks from 20170617 changes
+         (report by Allen Hewes).
+       + add test-programs for termattrs and term_attrs.
+       + modify _nc_outc_wrapper to use the standard output if the screen was
+         not initialized, rather than returning an error.
+       + improve checks for low-level terminfo functions when the terminal
+         has not been initialized (Redhat #1345963).
+       + modify make_hash to allow building with address-sanitizer,
+         assuming that --disable-leaks is configured.
+       + amend changes for number_format() in 20170506 to avoid undefined
+         behavior when shifting (patch by Emanuele Giaquinta).
+
+20170617
+       + fill in some places where TERMTYPE2 vs TERMTYPE was not used
+         (report by Allen Hewes).
+       + use ExitTerminfo() internally in error-exits for ncurses' setupterm
+         to help with leak checking.
+       + use ExitProgram() in error-exit from initscr() to help with leak
+         checking.
+       + review test-programs, adding checks for cases where the terminal
+         cannot be initialized.
+
+20170610
+       + add option "-xp" to picsmap.c, to use init_extended_pair().
+       + make simple performance fixes for picsmap.c
+       + improve aspect ratio of images read from "convert" in picsmap.c
+
+20170603
+       + add option to picsmap to use color-palette files, e.g., for mapping
+         to xterm-256color.
+       + move the data in SCREEN used for the alloc_pair() function to the
+         end, to restore compatibility between ncurses/ncursesw libtinfo
+         (report/patch by Miroslav Lichvar).
+       + add build-time utility "report_offsets" to help show when the various
+         configurations of tinfo library are compatible or not.
+
+20170527
+       + improved test/picsmap.c:
+         + lookup named colors for xpm files in rgb.txt
+         + accept blanks in color-keys for xpm files.
+         + if neither xbm/xpm work, try "convert", which may be available.
+
+20170520
+       + modify test/picsmap.c to read xpm files.
+       + modify package/debian/* to create documentation packages, so the
+         related files can be checked with lintian.
+       + fix some typos in manpages (report/patch by Sven Joachim).
+
+20170513
+       + add test/picsmap.c to fill in some testing issues not met by dots.
+         The initial version reads X bitmap (".xbm") files.
+       + repair logic which forces a repaint where a color-pair's content is
+         changed (cf: 20170311).
+       + improve tracemunch, showing screenXX pointers as names.
+
+20170506
+       + modify tic/infocmp display of numeric values to use hexadecimal when
+         they are "close" to a power of two, making the result more readable.
+       + improve discussion of portability in curs_mouse.3x
+       + change line-length for generated html/manpages to 78 columns from 65.
+       + improve discussion of line-drawing characters in curs_add_wch.3x
+         (prompted by discussion with Lorinczy Zsigmond).
+       + cleanup formatting of hackguide.html and ncurses-intro.html
+       + add examples for WACS_D_PLUS and WACS_T_PLUS to test/ncurses.c
+
+20170429
+       + corrected a case where $with_gpm was set to "maybe" after CF_WITH_GPM,
+         overlooked in 20160528 fixes (report by Alexandre Bury).
+       + improve a couple of test-program's help-messages.
+       + corrected loop in rain.c from 20170415 changes.
+       + modify winnstr and winchnstr to return error if the output pointer is
+         null, as well as adding a null pointer check of the window pointer
+         for better compatibility with other implementations.
+       + improve discussion of NetBSD curses in scr_dump.5
+       + modify LIMIT_TYPED macro in new_pair.h to avoid changing sign of the
+         value to be limited (reports by Darby Payne, Rob Boudreau).
+       + update config.guess, config.sub from
+               http://git.savannah.gnu.org/cgit/config.git
+
+20170422
+       + build-fix for termcap-configuration (report by Chi-Hsuan Yen).
+       + improve terminfo manual page discussion of control- and graphics-
+         characters.
+       + remove tic warning about "^?" in string capabilities, which was
+         marked as an extension (cf: 20000610, 20110820); however all Unix
+         implementations support this and X/Open Curses does not address it.
+         On the other hand, termcap never did support this feature.
+       + correct missing comma-separator between string capabilities in
+         icl6402 and m2-nam -TD
+       + restore rmir/smir in ansi+idc to better match original ansiterm+idc,
+         add alias ansiterm (report by Robert King).
+       + amend an old check for ambiguous use of "ma" in terminfo versus
+         a termcap use, if the capability is cancelled to treat it as number.
+       + correct a case in _nc_captoinfo() which read "%%" and emitted "%".
+       + modify sscanf calls in _nc_infotocap() for patterns "%{number}%+%c"
+         and "%'char'%+%c" to check that the final character is really 'c',
+         avoiding a case in icl6404 which cannot be converted to termcap.
+       + in _nc_infotocap(), add a check to ensure that terminfo "^?" is not
+         written to termcap, because the BSDs did not implement that.
+       + in _nc_tic_expand() and _nc_infotocap(), improve string-length check
+         when deciding whether to use "^X" or "\xxx" format for control
+         characters, to make the output of tic/infocmp more predictable.
+       + limit termcap "%d" width to 2 digits on input, and use "%2" in
+         preference to "%02" on output.
+       + correct terminfo/termcap conversion of "%02" and "%03" into "%2" and
+         "%3"; the result repeated the last character.
+       + add man/scr_dump.5 to document screen-dump format.
+
+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.
+
 20170408
        + change logic in wins_nwstr() to avoid addressing data past the output
          of mbstowcs().
@@ -4164,7 +4527,7 @@ it is not possible to add this information.
 
 20080209
        + update test programs to build/work with various UNIX curses for
-         comparisons.  This was to reinvestigate statement in X/Open curses
+         comparisons.  This was to reinvestigate statement in X/Open Curses
          that insnstr and winsnstr perform wrapping.  None of the Unix-branded
          implementations do this, as noted in manpage (cf: 20040228).