]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - NEWS
ncurses 5.9 - patch 20130218
[ncurses.git] / NEWS
diff --git a/NEWS b/NEWS
index 7deb620f77b87c7e1f987c3ffb4aae8e7ac358b3..4694622398bc2904899e31343e4105d600575b29 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.               --
+-- Copyright (c) 1998-2012,2013 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.1914 2012/06/08 23:10:50 tom Exp $
+-- $Id: NEWS,v 1.2024 2013/02/18 09:26:30 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,339 @@ 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.
 
+20130218
+       + correct ifdef on change to lib_twait.c (report by  Werner Fink).
+       + update config.guess, config.sub
+
+20130216
+       + modify test/testcurs.c to work with mouse for ncurses as it does for
+         pdcurses.
+       + modify test/knight.c to work with mouse for pdcurses as it does for
+         ncurses.
+       + modify internal recursion in wgetch() which handles cooked mode to
+         check if the call to wgetnstr() returned an error.  This can happen
+         when both nocbreak() and nodelay() are set, for instance (report by
+         Nils Christopher Brause) (cf: 960418).
+       + fixes for issues found by Coverity:
+         + add a check for valid position in ClearToEOS()
+         + fix in lib_twait.c when --enable-wgetch-events is used, pointer
+           use after free.
+         + improve a limit-check in make_hash.c
+         + fix a memory leak in hashed_db.c
+
+20130209
+       + modify test/configure script to make it simpler to override names
+         of curses-related libraries, to help with linking with pdcurses in
+         mingw environment.
+       + if the --with-terminfo-dirs configure option is not used, there is
+         no corresponding compiled-in value for that.  Fill in "no default
+         value" for that part of the manpage substitution.
+
+20130202
+       + correct initialization in knight.c which let it occasionally make
+         an incorrect move (cf: 20001028).
+       + improve documentation of the terminfo/termcap search path.
+
+20130126
+       + further fixes to mvcur to pass callback function (cf: 20130112),
+         needed to make test/dots_mvcur work.
+       + reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
+         help reduce flicker.
+       + modify configure script to omit "+b" from linker options for very
+         old HP-UX systems (report by Dennis Grevenstein)
+       + add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
+         by Dennis Grevenstein).
+       + restore memmove/strdup support for antique systems (request by
+         Dennis Grevenstein).
+       + change %l behavior in tparm to push the string length onto the stack
+         rather than saving the formatted length into the output buffer
+         (report by Roy Marples, cf: 980620).
+
+20130119
+       + fixes for issues found by Coverity:
+         + fix memory leak in safe_sprintf.c
+         + add check for return-value in tty_update.c
+         + correct initialization for -s option in test/view.c
+         + add check for numeric overflow in lib_instr.c
+         + improve error-checking in copywin
+       + add advice in infocmp manpage for termcap users (Debian #698469).
+       + add "-y" option to test/demo_termcap and test/demo_terminfo to
+         demonstrate behavior with/without extended capabilities.
+       + updated termcap manpage to document legacy termcap behavior for
+         matching capability names.
+       + modify name-comparison for tgetstr, etc., to accommodate legacy
+         applications as well as to improve compatbility with BSD 4.2
+         termcap implementations (Debian #698299) (cf: 980725).
+
+20130112
+       + correct prototype in manpage for vid_puts.
+       + drop ncurses/tty/tty_display.h, ncurses/tty/tty_input.h, since they
+         are unused in the current driver model.
+       + modify mvcur to use stdout except when called within the ncurses
+         library.
+       + modify vidattr and vid_attr to use stdout as documented in manpage.
+       + amend changes made to buffering in 20120825 so that the low-level
+         putp() call uses stdout rather than ncurses' internal buffering.
+         The putp_sp() call does the same, for consistency (Redhat #892674).
+
+20130105
+       + add "-s" option to test/view.c to allow it to start in single-step
+         mode, reducing size of trace files when it is used for debugging
+         MinGW changes.
+       + revert part of 20121222 change to tinfo_driver.c
+       + add experimental logic in win_driver.c to improve optimization of
+         screen updates.  This does not yet work with double-width characters,
+         so it is ifdef'd out for the moment (prompted by report by Erwin
+         Waterlander regarding screen flicker).
+
+20121229
+       + fix coverity warnings regarding copying into fixed-size buffers.
+       + add throw-declarations in the c++ binding per Coverity warning.
+       + minor changes to new-items for consistent reference to bug-report
+         numbers.
+
+20121222
+       + add *.dSYM directories to clean-rule in ncurses directory makefile,
+         for Mac OS builds.
+       + add a configure check for gcc option -no-cpp-precomp, which is not
+         available in all Mac OS X configurations (report by Andras Salamon,
+         cf: 20011208).
+       + improve 20021221 workaround for broken acs, handling a case where
+         that ACS_xxx character is not in the acsc string but there is a known
+         wide-character which can be used.
+
+20121215
+       + fix several warnings from clang 3.1 --analyze, includes correcting
+         a null-pointer check in _nc_mvcur_resume.
+       + correct display of double-width characters with MinGW port (report
+         by Erwin Waterlander).
+       + replace MinGW's wcrtomb(), fixing a problem with _nc_viscbuf 
+       > fixes based on Coverity report:
+       + correct coloring in test/bs.c
+       + correct check for 8-bit value in _nc_insert_ch().
+       + remove dead code in progs/tset.c, test/linedata.h
+       + add null-pointer checks in lib_tracemse.c, panel.priv.h, and some
+         test-programs.
+
+20121208
+       + modify test/knight.c to show the number of choices possible for
+         each position in automove option, e.g., to allow user to follow
+         Warnsdorff's rule to solve the puzzle.
+       + modify test/hanoi.c to show the minimum number of moves possible for
+         the given number of tiles (prompted by patch by Lucas Gioia).
+       > fixes based on Coverity report:
+       + remove a few redundant checks.
+       + correct logic in test/bs.c, when randomly placing a specific type of
+         ship.
+       + check return value from remove/unlink in tic.
+       + check return value from sscanf in test/ncurses.c
+       + fix a null dereference in c++/cursesw.cc
+       + fix two instances of uninitialized variables when configuring for the
+         terminal driver.
+       + correct scope of variable used in SetSafeOutcWrapper macro.
+       + set umask when calling mkstemp in tic.
+       + initialize wbkgrndset() temporary variable when extended-colors are
+         used.
+
+20121201
+       + also replace MinGW's wctomb(), fixing a problem with setcchar().
+       + modify test/view.c to load UTF-8 when built with MinGW by using
+         regular win32 API because the MinGW functions mblen() and mbtowc()
+         do not work.
+
+20121124
+       + correct order of color initialization versus display in some of the
+         test-programs, e.g., test_addstr.c
+       > fixes based on Coverity report:
+       + delete windows on exit from some of the test-programs.
+
+20121117
+       > fixes based on Coverity report:
+       + add missing braces around FreeAndNull in two places.
+       + various fixes in test/ncurses.c
+       + improve limit-checks in tinfo/make_hash.c, tinfo/read_entry.c
+       + correct malloc size in progs/infocmp.c
+       + guard against negative array indices in test/knight.c
+       + fix off-by-one limit check in test/color_name.h
+       + add null-pointer check in progs/tabs.c, test/bs.c, test/demo_forms.c,
+         test/inchs.c
+       + fix memory-leak in tinfo/lib_setup.c, progs/toe.c,
+         test/clip_printw.c, test/demo_menus.c
+       + delete unused windows in test/chgat.c, test/clip_printw.c,
+         test/insdelln.c, test/newdemo.c on error-return.
+
+20121110
+       + modify configure macro CF_INCLUDE_DIRS to put $CPPFLAGS after the
+         local -I include options in case someone has set conflicting -I
+         options in $CPPFLAGS (prompted by patch for ncurses/Makefile.in by
+         Vassili Courzakis).
+       + modify the ncurses*-config scripts to eliminate relative paths from
+         the RPATH_LIST variable, e.g., "../lib" as used in installing shared
+         libraries or executables.
+
+20121102
+       + realign these related pages:
+           curs_add_wchstr.3x
+           curs_addchstr.3x
+           curs_addstr.3x
+           curs_addwstr.3x
+         and fix a long-ago error in curs_addstr.3x which said that a -1
+         length parameter would only write as much as fit onto one line
+         (report by Reuben Thomas).
+       + remove obsolete fallback _nc_memmove() for memmove()/bcopy().
+       + remove obsolete fallback _nc_strdup() for strdup().
+       + cancel any debug-rpm in package/ncurses.spec
+       + reviewed vte-2012, reverted most of the change since it was incorrect
+         based on testing with tack -TD
+       + un-cancel the initc in vte-256color, since this was implemented
+         starting with version 0.20 in 2009 -TD
+
+20121026
+       + improve malloc/realloc checking (prompted by discussion in Redhat
+         #866989).
+       + add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
+       + updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST.  The
+         first corrects pattern used for Mac OS X's customization of gcc.
+
+20121017
+       + fix change to _nc_scroll_optimize(), which incorrectly freed memory 
+         (Redhat #866989).
+
+20121013
+       + add vte-2012, gnome-2012, making these the defaults for vte/gnome
+         (patch by Christian Persch).
+
+20121006
+       + improve CF_GCC_VERSION to work around Debian's customization of gcc
+         --version message.
+       + improve configure macros as done in byacc:
+         + drop 2.13 compatibility; use 2.52.xxxx version only since EMX port
+           has used that for a while.
+         + add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e.,
+           for experimental use.
+         + remove unused configure macros.
+       + modify configure script and makefiles to quiet new autoconf warning
+         for LIBS_TO_MAKE variable.
+       + modify configure script to show $PATH_SEPARATOR variable.
+       + update config.guess, config.sub
+
+20120922
+       + modify setupterm to set its copy of TERM to "unknown" if configured
+         for the terminal driver and TERM was null or empty.
+       + modify treatment of TERM variable for MinGW port to allow explicit
+         use of the windows console driver by checking if $TERM is set to
+         "#win32con" or an abbreviation of that.
+       + undo recent change to fallback definition of vsscanf() to build with
+         older Solaris compilers (cf: 20120728).
+
+20120908
+       + add test-screens to test/ncurses to show 256-characters at a time,
+         to help with MinGW port.
+
+20120903
+       + simplify varargs logic in lib_printw.c; va_copy is no longer needed
+         there.
+       + modifications for MinGW port to make wide-character display usable.
+
+20120902
+       + regenerate configure script (report by Sven Joachim, cf: 20120901).
+
+20120901
+       + add a null-pointer check in _nc_flush (cf: 20120825).
+       + fix a case in _nc_scroll_optimize() where the _oldnums_list array
+         might not be allocated.
+       + improve comparisons in configure.in for unset shell variables.
+
+20120826
+       + increase size of ncurses' output-buffer, in case of very small
+         initial screen-sizes.
+       + fix evaluation of TERMINFO and TERMINFO_DIRS default values as needed
+         after changes to use --datarootdir (reports by Gabriele Balducci,
+         Roumen Petrov).
+
+20120825
+       + change output buffering scheme, using buffer maintained by ncurses
+         rather than stdio, to avoid problems with SIGTSTP handling (report
+         by Brian Bloniarz).
+
+20120811
+       + update autoconf patch to 2.52.20120811, adding --datarootdir
+         (prompted by discussion with Erwin Waterlander).
+       + improve description of --enable-reentrant option in README and the
+         INSTALL file.
+       + add nsterm-256color, make this the default nsterm -TD
+       + remove bw from nsterm-bce, per testing with tack -TD
+
+20120804
+       + update test/configure, adding check for tinfo library.
+       + improve limit-checks for the getch fifo (report by Werner Fink).
+       + fix a remaining mismatch between $with_echo and the symbols updated
+         for CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by
+         Sven Joachim, cf:  20120317).
+       + modify followup check for pkg-config's library directory in the
+         --enable-pc-files option to validate syntax (report by Sven Joachim,
+         cf: 20110716).
+
+20120728
+       + correct path for ncurses_mingw.h in include/headers, in case build
+         is done outside source-tree (patch by Roumen Petrov).
+       + modify some older xterm entries to align with xterm source -TD
+       + separate "xterm-old" alias from "xterm-r6" -TD
+       + add E3 extended capability to xterm-basic and putty -TD
+       + parenthesize parameters of other macros in curses.h -TD
+       + parenthesize parameter of COLOR_PAIR and PAIR_NUMBER in curses.h
+         in case it happens to be a comma-expression, etc.  (patch by Nick
+         Black).
+
+20120721
+       + improved form_request_by_name() and menu_request_by_name().
+       + eliminate two fixed-size buffers in toe.c
+       + extend use_tioctl() to have expected behavior when use_env(FALSE) and
+         use_tioctl(TRUE) are called.
+       + modify ncurses test-program, adding -E and -T options to demonstrate
+         use_env() versus use_tioctl().
+
+20120714
+       + add use_tioctl() function (adapted from patch by Werner Fink,
+         Novell #769788):
+
+20120707
+       + add ncurses_mingw.h to installed headers (prompted by patch by
+         Juergen Pfeifer).
+       + clarify return-codes from wgetch() in response to SIGWINCH (prompted
+         by Novell #769788).
+       + modify resizeterm() to always push a KEY_RESIZE onto the fifo, even
+         if screensize is unchanged.  Modify _nc_update_screensize() to push a
+         KEY_RESIZE if there was a SIGWINCH, even if it does not call
+         resizeterm().  These changes eliminate the case where a SIGWINCH is
+         received, but ERR returned from wgetch or wgetnstr because the screen
+         dimensions did not change (Novell #769788).
+
+20120630
+       + add --enable-interop to sample package scripts (suggested by Juergen
+         Pfeifer).
+       + update CF_PATH_SYNTAX macro, from mawk changes.
+       + modify mk-0th.awk to allow for generating llib-ltic, etc., though
+         some work is needed on cproto to work with lib_gen.c to update
+         llib-lncurses.
+       + remove redundant getenv() cal in database-iterator leftover from
+         cleanup in 20120622 changes (report by Sven Joachim).
+
+20120622
+       + add -d, -e and -q options to test/demo_terminfo and test/demo_termcap
+       + fix caching of environment variables in database-iterator (patch by
+         Philippe Troin, Redhat #831366).
+
+20120616
+       + add configure check to distinguish clang from gcc to eliminate
+         warnings about unused command-line parameters when compiler warnings
+         are enabled.
+       + improve behavior when updating terminfo entries which are hardlinked
+         by allowing for the possibility that an alias has been repurposed to
+         a new primary name.
+       + fix some strict compiler warnings based on package scripts.
+       + further fixes for configure check for working poll (Debian #676461).
+
 20120608
        + fix an uninitialized variable in -c/-n logic for infocmp changes
          (cf: 20120526).
@@ -2180,8 +2513,8 @@ it is not possible to add this information.
          that library.
        + add/modify null-pointer checks in several functions for SP and/or
          the WINDOW* parameter (report by Thorben Krueger).
-       + fixes for field_buffer() in formw library (see Redhat Bugzilla
-         #310071, patches by Miroslav Lichvar).
+       + fixes for field_buffer() in formw library (see Redhat #310071,
+         patches by Miroslav Lichvar).
        + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
          Lichvar).
        + update/improve mlterm and rxvt terminfo entries, e.g., for
@@ -2777,8 +3110,7 @@ it is not possible to add this information.
        + workaround for 20050806 ifdef's change to allow visbuf.c to compile
          when using --with-termlib --with-trace options.
        + improve tgetstr() by making the return value point into the user's
-         buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
-         #202480)).
+         buffer, if provided (patch by Miroslav Lichvar (see Redhat #202480)).
        + correct libraries needed for foldkeys (report by Stanislav Ievlev)
 
 20060826
@@ -2791,10 +3123,10 @@ it is not possible to add this information.
          source output (Debian #378783).
        + modify configure script to ensure that if the C compiler is used
          rather than the loader in making shared libraries, the $(CFLAGS)
-         variable is also used (Redhat Bugzilla #199369).
+         variable is also used (Redhat #199369).
        + port hashed-db code to db2 and db3.
        + fix a bug in tgetent() from 20060625 and 20060715 changes
-         (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
+         (patch/analysis by Miroslav Lichvar (see Redhat #202480)).
 
 20060805
        + updated xterm function-keys terminfo to match xterm #216 -TD
@@ -3586,7 +3918,7 @@ it is not possible to add this information.
          of cur_term if the same output was selected.  This now reuses it only
          when setupterm() is called from tgetent(), which has no notion of
          separate SCREENs.  Note that tgetent() must be called after initscr()
-         or newterm() to use this feature (Redhat Bugzilla #140326).
+         or newterm() to use this feature (Redhat #140326).
        + add a check in CF_BUILD_CC macro to ensure that developer has given
          the --with-build-cc option when cross-compiling (report by Alexandre
          Campo).
@@ -3679,7 +4011,7 @@ it is not possible to add this information.
          entries, e.g., so it can analyze the xterm-8bit entry.
        + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
        + correct translation of "%%" in terminfo format to termcap, e.g.,
-         using "tic -C" (Redhat Bugzilla #130921).
+         using "tic -C" (Redhat #130921).
        + modified configure script CF_XOPEN_SOURCE macro to ensure that if
          it defines _POSIX_C_SOURCE, that it defines it to a specific value
          (comp.os.stratus newsgroup comment).
@@ -3690,9 +4022,9 @@ it is not possible to add this information.
          However that did find a coding error in Assume_Default_Colors().
        + modify several terminfo entries to ensure xterm mouse and cursor
          visibility are reset in rs2 string:  hurd, putty, gnome,
-         konsole-base, mlterm, Eterm, screen (Debian #265784, #55637).  The
-         xterm entries are left alone - old ones for compatibility, and the
-         new ones do not require this change. -TD
+         konsole-base, mlterm, Eterm, screen (Debian #265784, Debian #55637). 
+         The xterm entries are left alone - old ones for compatibility, and
+         the new ones do not require this change. -TD
 
 20040814
        + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
@@ -3723,8 +4055,8 @@ it is not possible to add this information.
        + modify "tic -cv" to ignore delays when comparing strings.  Also
          modify it to ignore a canceled sgr string, e.g., for terminals which
          cannot properly combine attributes in one control sequence.
-       + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
-         patch by Hans de Goede)
+       + corrections for gnome and konsole entries (Redhat #122815, patch by
+         Hans de Goede)
        > terminfo updates -TD
        + make ncsa-m rmacs/smacs consistent with sgr
        + add sgr, rc/sc and ech to syscons entries
@@ -3737,7 +4069,7 @@ it is not possible to add this information.
        > terminfo updates -TD
        + add xterm-pc-fkeys
        + review/update gnome and gnome-rh90 entries (prompted by Redhat
-         Bugzilla #122815).
+         #122815).
        + review/update konsole entries
        + add sgr, correct sgr0 for kterm and mlterm
        + correct tsl string in kterm
@@ -4851,7 +5183,7 @@ it is not possible to add this information.
        + add a check in kgetch() for cooked characters in the fifo to avoid
          calling fifo_push() when a KEY_RESIZE is available (report/analysis
          by Sam Varshavchik <mrsam@courier-mta.com>).
-       + fix an overlooked case for bugzilla #68199 (Philippe Blain).
+       + fix an overlooked case for Redhat #68199 (Philippe Blain).
        + ensure clearerr() is called before using ferror() e.g., in
          lib_screen.c (report by Philippe Blain).
 
@@ -4859,7 +5191,7 @@ it is not possible to add this information.
        + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
          pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
          modify the global curscr/stdscr/newscr variables.  Fixes Redhat
-         bugzilla #68199 dated 2002-07-07.
+         #68199 dated 2002-07-07.
        + add checks for null pointer in calls to tparm() and tgoto() based on
          FreeBSD bug report.  If ncurses were built with termcap support, and
          the first call to tgoto() were a zero-length string, the result would
@@ -4892,7 +5224,7 @@ it is not possible to add this information.
          Olaf Buddenhagen <olafBuddenhagen@web.de>).
        + modified wresize() to ensure that a failed realloc will not corrupt
          the window structure, and to make subwindows fit within the resized
-         window (completes Debian #87678, #101699)
+         window (completes Debian #87678, Debian #101699)
 
 20020803
        + fix an off-by-one in lib_pad.c check for limits of pad (patch by
@@ -5587,9 +5919,9 @@ it is not possible to add this information.
          which may be in libutf8.
        + remove some unnecessary text from curs_extend.3x and
          default_colors.3x which caused man-db to make incorrect symbolic
-         links (Debian bug report #99550).
+         links (Debian #99550).
        + add configure check if cast for _IO_va_list is needed to compile
-         C++ vscan code (Debian bug report #97945).
+         C++ vscan code (Debian #97945).
        > several patches from Sven Verdoolaege:
        + correct code that used non-standard auto-initialization of a struct,
          which gcc allows (report by Larry Virden).
@@ -5724,7 +6056,7 @@ it is not possible to add this information.
        + add some examples of customizing screen's terminfo:
          screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
        + modify screen's terminfo entry to match the khome/kend in screen
-         3.09.08 (Debian bug report #92215).
+         3.09.08 (Debian #92215).
        + correct a memory leak in forms library (report by Stefan Vogtner
          <stefan@vogtner.de>) (patch by Juergen Pfeifer).
 
@@ -5738,12 +6070,12 @@ it is not possible to add this information.
        + add .cc.ii rule to c++ makefile, to get preprocessor output for
          debugging.
        + correct configure script handling of @keyword@ substitutions when the
-         --with-manpage-renames option is given (cf:  20000715, fixes Debian
-         bug #89939).
+         --with-manpage-renames option is given (cf: 20000715, fixes Debian
+         #89939).
        + report stack underflow/overflow in tparm() when tic -cv option is
          given.
        + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
-         (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
+         (reported by Adam Costello <amc@cs.berkeley.edu>, Debian #89222).
 
 20010310
        + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
@@ -6447,7 +6779,7 @@ it is not possible to add this information.
        + correct spelling error in terminfo entry name:  bq300-rv was given as
          bg300-rv in esr's version.
        + modify redrawwin() macro so its parameter is fully parenthesized
-         (fixes Debian bug report #61088).
+         (fixes Debian #61088).
        + correct formatting error in dump_entry() which set incorrect column
          value when no newline trimming was needed at the end of an entry,
          before appending "use=" clauses (cf: 960406).