]> ncurses.scripts.mit.edu Git - ncurses.git/blob - NEWS
ncurses 5.7 - patch 20090425
[ncurses.git] / NEWS
1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.               --
3 --                                                                           --
4 -- Permission is hereby granted, free of charge, to any person obtaining a   --
5 -- copy of this software and associated documentation files (the             --
6 -- "Software"), to deal in the Software without restriction, including       --
7 -- without limitation the rights to use, copy, modify, merge, publish,       --
8 -- distribute, distribute with modifications, sublicense, and/or sell copies --
9 -- of the Software, and to permit persons to whom the Software is furnished  --
10 -- to do so, subject to the following conditions:                            --
11 --                                                                           --
12 -- The above copyright notice and this permission notice shall be included   --
13 -- in all copies or substantial portions of the Software.                    --
14 --                                                                           --
15 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS   --
16 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF                --
17 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
18 -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,       --
19 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR     --
20 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
21 -- USE OR OTHER DEALINGS IN THE SOFTWARE.                                    --
22 --                                                                           --
23 -- Except as contained in this notice, the name(s) of the above copyright    --
24 -- holders shall not be used in advertising or otherwise to promote the      --
25 -- sale, use or other dealings in this Software without prior written        --
26 -- authorization.                                                            --
27 -------------------------------------------------------------------------------
28 -- $Id: NEWS,v 1.1384 2009/05/02 22:27:02 tom Exp $
29 -------------------------------------------------------------------------------
30
31 This is a log of changes that ncurses has gone through since Zeyd started
32 working with Pavel Curtis' original work, pcurses, in 1992.
33
34 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
35 Changes since 1.9.9e are recorded by Thomas E Dickey.
36
37 Contributors include those who have provided patches (even small ones), as well
38 as those who provide useful information (bug reports, analyses).  Changes with
39 no cited author are the work of Thomas E Dickey (TD).
40
41 A few contributors are given in this file by their initials.
42 They each account for one percent or more of the changes since 1.9.9e.
43 See the AUTHORS file for the corresponding full names.
44
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
47
48 20090502
49         + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
50         + add vwmterm terminfo entry (patch by Bryan Christ).
51
52 20090425
53         + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
54
55 20090419
56         + build fix for _nc_free_and_exit() change in 20090418 (report by
57           Christian Ebert).
58
59 20090418
60         + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
61
62 20090411
63         + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
64           This change finishes merging for menu and panel libraries, does
65           part of the form library.
66
67 20090404
68         + suppress configure check for static/dynamic linker flags for gcc on
69           Darwin (report by Nelson Beebe).
70
71 20090328
72         + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
73           function key definitions from emx-base for consistency -TD
74         + correct missing final 'p' in pfkey capability of ansi.sys-old (report
75           by Kalle Olavi Niemitalo).
76         + improve test/ncurses.c 'F' test, show combining characters in color.
77         + quiet a false report by cppcheck in c++/cursesw.cc by eliminating
78           a temporary variable.
79         + use _nc_doalloc() rather than realloc() in a few places in ncurses
80           library to avoid leak in out-of-memory condition (reports by William
81           Egert and Martin Ettl based on cppcheck tool).
82         + add --with-ncurses-wrap-prefix option to test/configure (discussion
83           with Charles Wilson).
84         + use ncurses*-config scripts if available for test/configure.
85         + update test/aclocal.m4 and test/configure
86         > patches by Charles Wilson:
87         + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
88           version numbers (e.g.  which include alphabetic chars, as well as
89           digits, after the final '.').
90         + improve use of -no-undefined option for libtool by setting an
91           intermediate variable LT_UNDEF in the configure script, and then
92           using that in the libtool link-commands.
93         + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
94           from 2009031 changes.
95         + improve mk-1st.awk script by writing separate cases for the
96           LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
97           termlib) is to be linked.
98         + modify configure.in to allow broken-linker configurations, not just
99           enable-reentrant, to set public wrap prefix.
100
101 20090321
102         + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
103           build with tic and term libraries (patch by Charles Wilson).
104         + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
105           (report by Charles Wilson).
106         + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
107           the form, menu or panel libraries (patch by Charles Wilson).
108         + add configure option --with-wrap-prefix to allow setting the prefix
109           for functions used to wrap global variables to something other than
110           "_nc_" (discussion with Charles Wilson).
111
112 20090314
113         + modify scripts to generate ncurses*-config and pc-files to add
114           dependency for tinfo library (patch by Charles Wilson).
115         + improve comparison of program-names when checking for linked flavors
116           such as "reset" by ignoring the executable suffix (reports by Charles
117           Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
118           list).
119         + suppress configure check for static/dynamic linker flags for gcc on
120           Solaris 10, since gcc is confused by absence of static libc, and
121           does not switch back to dynamic mode before finishing the libraries
122           (reports by Joel Bertrand, Alan Pae).
123         + minor fixes to Intel compiler warning checks in configure script.
124         + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
125         + modify set_curterm() to make broken-linker configuration work with
126           changes from 20090228 (report by Charles Wilson).
127
128 20090228
129         + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
130         + modify declaration of cur_term when broken-linker is used, but
131           enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
132
133 20090221
134         + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
135
136 20090214
137         + add configure script --enable-sp-funcs to enable the new set of
138           extended functions.
139         + start integrating patches by Juergen Pfeifer:
140           + add extended functions which specify the SCREEN pointer for several
141             curses functions which use the global SP (these are incomplete;
142             some internals work is needed to complete these).
143           + add special cases to configure script for MinGW port.
144
145 20090207
146         + update several configure macros from lynx changes
147           + append (not prepend) to CFLAGS/CPPFLAGS
148           + change variable from PATHSEP to PATH_SEPARATOR
149         + improve install-rules for pc-files (patch by Miroslav Lichvar).
150           + make it work with $DESTDIR
151           + create the pkg-config library directory if needed.
152
153 20090124
154         + modify init_pair() to allow caller to create extra color pairs beyond
155           the color_pairs limit, which use default colors (request by Emanuele
156           Giaquinta).
157         + add misc/terminfo.tmp and misc/*.pc to "sources" rule.
158         + fix typo "==" where "=" is needed in ncurses-config.in and
159           gen-pkgconfig.in files (Debian #512161).
160
161 20090117
162         + add -shared option to MK_SHARED_LIB when -Bsharable is used, for
163           *BSD's, without which "main" might be one of the shared library's
164           dependencies (report/analysis by Ken Dickey).
165         + modify waddch_literal(), updating line-pointer after a multicolumn
166           character is found to not fit on the current row, and wrapping is
167           done.  Since the line-pointer was not updated, the wrapped
168           multicolumn character was written to the beginning of the current row
169           (cf: 20041023, reported by "Nick" regarding problem with ncmpc
170           http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
171
172 20090110
173         + add screen.Eterm terminfo entry (GenToo #124887) -TD
174         + modify adacurses-config to look for ".ali" files in the adalib
175           directory.
176         + correct install for Ada95, which omitted libAdaCurses.a used in
177           adacurses-config
178         + change install for adacurses-config to provide additional flavors
179           such as adacursesw-config, for ncursesw (GenToo #167849).
180
181 20090105
182         + remove undeveloped feature in ncurses-config.in for setting
183           prefix variable.
184         + recent change to ncurses-config.in did not take into account the
185           --disable-overwrite option, which sets $includedir to the
186           subdirectory and using just that for a -I option does not work - fix
187           (report by Frederic L W Meunier).
188
189 20090104
190         + modify gen-pkgconfig.in to eliminate a dependency on rpath when
191           deciding whether to add $LIBS to --libs output; that should be shown
192           for the ncurses and tinfo libraries without taking rpath into
193           account.
194         + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
195           used in static libraries (report by Marty Jack).
196
197 20090103
198         + add a configure-time check to pick a suitable value for
199           CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
200         + add configure --with-pkg-config and --enable-pc-files options, along
201           with misc/gen-pkgconfig.in which can be used to generate ".pc" files
202           for pkg-config (request by Jan Engelhardt).
203         + use $includedir symbol in misc/ncurses-config.in, add --includedir
204           option.
205         + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
206           configure check to detect whether a "-" is needed before "ar"
207           options.
208         + update config.guess, config.sub from
209                 http://savannah.gnu.org/projects/config
210
211 20081227
212         + modify mk-1st.awk to work with extra categories for tinfo library.
213         + modify configure script to allow building shared libraries with gcc
214           on AIX 5 or 6 (adapted from patch by Lital Natan).
215
216 20081220
217         + modify to omit the opaque-functions from lib_gen.o when
218           --disable-ext-funcs is used.
219         + add test/clip_printw.c to illustrate how to use printw without
220           wrapping.
221         + modify ncurses 'F' test to demo wborder_set() with colored lines.
222         + modify ncurses 'f' test to demo wborder() with colored lines.
223
224 20081213
225         + add check for failure to open hashed-database needed for db4.6
226           (GenToo #245370).
227         + corrected --without-manpages option; previous change only suppressed
228           the auxiliary rules install.man and uninstall.man
229         + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
230           GenToo #250454).
231         + fixes from NetBSD port at
232           http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
233           patch-ac (build-fix for DragonFly)
234           patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
235         + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
236           by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
237           search-lists.
238         + correct title string for keybound manpage (patch by Frederic Culot,
239           OpenBSD documentation/6019),
240
241 20081206
242         + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
243           work for progs/clear, progs/tabs, etc.
244         + correct buffer-size after internal resizing of wide-character
245           set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
246         + add "-i" option to test/filter.c to tell it to use initscr() rather
247           than newterm(), to investigate report on comp.unix.programmer that
248           ncurses would clear the screen in that case (it does not - the issue
249           was xterm's alternate screen feature).
250         + add check in mouse-driver to disable connection if GPM returns a
251           zero, indicating that the connection is closed (Debian #506717,
252           adapted from patch by Samuel Thibault).
253
254 20081129
255         + improve a workaround in adding wide-characters, when a control
256           character is found.  The library (cf: 20040207) uses unctrl() to
257           obtain a printable version of the control character, but was not
258           passing color or video attributes.
259         + improve test/ncurses.c 'a' test, using unctrl() more consistently to
260           display meta-characters.
261         + turn on _XOPEN_CURSES definition in curses.h
262         + add eterm-color entry (report by Vincent Lefevre) -TD
263         + correct use of key_name() in test/ncurses.c 'A' test, which only
264           displays wide-characters, not key-codes since 20070612 (report by
265           Ricardo Cantu).
266
267 20081122
268         + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
269           Ada95 (patch by Juergen Pfeifer).
270         + document in TO-DO an issue with Cygwin's package for GNAT (report
271           by Mike Dennison).
272         + improve error-checking of command-line options in "tabs" program.
273
274 20081115
275         + change several terminfo entries to make consistent use of ANSI
276           clear-all-tabs -TD
277         + add "tabs" program (prompted by Debian #502260).
278         + add configure --without-manpages option (request by Mike Frysinger).
279
280 20081102 5.7 release for upload to ftp.gnu.org
281
282 20081025
283         + add a manpage to discuss memory leaks.
284         + add support for shared libraries for QNX (other than libtool, which
285           does not work well on that platform).
286         + build-fix for QNX C++ binding.
287
288 20081018
289         + build-fixes for OS/2 EMX.
290         + modify form library to accept control characters such as newline
291           in set_field_buffer(), which is compatible with Solaris (report by
292           Nit Khair).
293         + modify configure script to assume --without-hashed-db when
294           --disable-database is used.
295         + add "-e" option in ncurses/Makefile.in when generating source-files
296           to force earlier exit if the build environment fails unexpectedly
297           (prompted by patch by Adrian Bunk).
298         + change configure script to use CF_UTF8_LIB, improved variant of
299           CF_LIBUTF8.
300
301 20081012
302         + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
303           original to teraterm2.3 -TD
304         + update "gnome" terminfo to 2.22.3 -TD
305         + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
306         + add "aterm" terminfo -TD
307         + add "linux2.6.26" terminfo -TD
308         + add logic to tic for cancelling strings in user-defined capabilities,
309           overlooked til now.
310
311 20081011
312         + update html documentation.
313         + add -m and -s options to test/keynames.c and test/key_names.c to test
314           the meta() function with keyname() or key_name(), respectively.
315         + correct return value of key_name() on error; it is null.
316         + document some unresolved issues for rpath and pthreads in TO-DO.
317         + fix a missing prototype for ioctl() on OpenBSD in tset.c
318         + add configure option --disable-tic-depends to make explicit whether
319           tic library depends on ncurses/ncursesw library, amends change from
320           20080823 (prompted by Debian #501421).
321
322 20081004
323         + some build-fixes for configure --disable-ext-funcs (incomplete, but
324           works for C/C++ parts).
325         + improve configure-check for awks unable to handle large strings, e.g.
326           AIX 5.1 whose awk silently gives up on large printf's.
327
328 20080927
329         + fix build for --with-dmalloc by workaround for redefinition of
330           strndup between string.h and dmalloc.h
331         + fix build for --disable-sigwinch
332         + add environment variable NCURSES_GPM_TERMS to allow override to use
333           GPM on terminals other than "linux", etc.
334         + disable GPM mouse support when $TERM does not happen to contain
335           "linux", since Gpm_Open() no longer limits its assertion to terminals
336           that it might handle, e.g., within "screen" in xterm.
337         + reset mouse file-descriptor when unloading GPM library (report by
338           Miroslav Lichvar).
339         + fix build for --disable-leaks --enable-widec --with-termlib
340         > patch by Juergen Pfeifer:
341         + use improved initialization for soft-label keys in Ada95 sample code.
342         + discard internal symbol _nc_slk_format (unused since 20080112).
343         + move call of slk_paint_info() from _nc_slk_initialize() to
344           slk_intern_refresh(), improving initialization.
345
346 20080925
347         + fix bug in mouse code for GPM from 20080920 changes (reported in
348           Debian #500103, also Miroslav Lichvar).
349
350 20080920
351         + fix shared-library rules for cygwin with tic- and tinfo-libraries.
352         + fix a memory leak when failure to connect to GPM.
353         + correct check for notimeout() in wgetch() (report on linux.redhat
354           newsgroup by FurtiveBertie).
355         + add an example warning-suppression file for valgrind,
356           misc/ncurses.supp (based on example from Reuben Thomas)
357
358 20080913
359         + change shared-library configuration for OpenBSD, make rpath work.
360         + build-fixes for using libutf8, e.g., on OpenBSD 3.7
361
362 20080907
363         + corrected fix for --enable-weak-symbols (report by Frederic L W
364           Meunier).
365
366 20080906
367         + corrected gcc options for building shared libraries on IRIX64.
368         + add configure check for awk programs unable to handle big-strings,
369           use that to improve the default for --enable-big-strings option.
370         + makefile-fixes for --enable-weak-symbols (report by Frederic L W
371           Meunier).
372         + update test/configure script.
373         + adapt ifdef's from library to make test/view.c build when mbrtowc()
374           is unavailable, e.g., with HPUX 10.20.
375         + add configure check for wcsrtombs, mbsrtowcs, which are used in
376           test/ncurses.c, and use wcstombs, mbstowcs instead if available,
377           fixing build of ncursew for HPUX 11.00
378
379 20080830
380         + fixes to make Ada95 demo_panels() example work.
381         + modify Ada95 'rain' test program to accept keyboard commands like the
382           C-version.
383         + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
384           Mccreary).
385         + add configure-check to see if the std namespace is legal for cerr
386           and endl, to fix a build issue with Tru64.
387         + consistently use NCURSES_BOOL in lib_gen.c
388         + filter #line's from lib_gen.c
389         + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
390           substitution by IBM xlc to '#' as part of its extensions to digraphs.
391         + update config.guess, config.sub from
392                 http://savannah.gnu.org/projects/config
393           (caveat - its maintainer removed support for older Linux systems).
394
395 20080823
396         + modify configure check for pthread library to work with OSF/1 5.1,
397           which uses #define's to associate its header and library.
398         + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
399           makes threaded code work on HPUX 11.23
400         + fix a bug in demo_menus in freeing menus (cf: 20080804).
401         + modify configure script for the case where tic library is used (and
402           possibly renamed) to remove its dependency upon ncurses/ncursew
403           library (patch by Dr Werner Fink).
404         + correct manpage for menu_fore() which gave wrong default for
405           the attribute used to display a selected entry (report by Mike Gran).
406         + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
407           Debian #495815) -TD
408
409 20080816
410         + add configure option --enable-weak-symbols to turn on new feature.
411         + add configure-check for availability of weak symbols.
412         + modify linkage with pthread library to use weak symbols so that
413           applications not linked to that library will not use the mutexes,
414           etc.  This relies on gcc, and may be platform-specific (patch by Dr
415           Werner Fink).
416         + add note to INSTALL to document limitation of renaming of tic library
417           using the --with-ticlib configure option (report by Dr Werner Fink).
418         + document (in manpage) why tputs does not detect I/O errors (prompted
419           by comments by Samuel Thibault).
420         + fix remaining warnings from Klocwork report.
421
422 20080804
423         + modify _nc_panelhook() data to account for a permanent memory leak.
424         + fix memory leaks in test/demo_menus
425         + fix most warnings from Klocwork tool (report by Larry Zhou).
426         + modify configure script CF_XOPEN_SOURCE macro to add case for
427           "dragonfly" from xterm #236 changes.
428         + modify configure script --with-hashed-db to let $LIBS override the
429           search for the db library (prompted by report by Samson Pierre).
430
431 20080726
432         + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
433           thresholds).
434
435 20080713
436         + build-fix (reports by Christian Ebert, Funda Wang).
437
438 20080712
439         + compiler-warning fixes for Solaris.
440
441 20080705
442         + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
443           make those work properly with the "--enable-ext-mouse" configuration
444           (cf: 20050205).
445         + improve documentation of build-cc options in INSTALL.
446         + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
447           -static/-dynamic flags properly to linker, causing test/bs to
448           not link.
449
450 20080628
451         + correct some ifdef's needed for the broken-linker configuration.
452         + make debugging library's $BAUDRATE feature work for termcap
453           interface.
454         + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
455           by comment on FreeBSD mailing list).
456         + add screen.mlterm terminfo entry -TD
457         + improve mlterm and mlterm+pcfkeys terminfo entries -TD
458
459 20080621
460         + regenerated html documentation.
461         + expand manpage description of parameters for form_driver() and
462           menu_driver() (prompted by discussion with Adam Spragg).
463         + add null-pointer checks for cur_term in baudrate() and
464           def_shell_mode(), def_prog_mode()
465         + fix some memory leaks in delscreen() and wide acs.
466
467 20080614
468         + modify test/ditto.c to illustrate multi-threaded use_screen().
469         + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
470         + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
471           by Poor Yorick).
472
473 20080607
474         + finish changes to wgetch(), making it switch as needed to the
475           window's actual screen when calling wrefresh() and wgetnstr().  That
476           allows wgetch() to get used concurrently in different threads with
477           some minor restrictions, e.g., the application should not delete a
478           window which is being used in a wgetch().
479         + simplify mutex's, combining the window- and screen-mutex's.
480
481 20080531
482         + modify wgetch() to use the screen which corresponds to its window
483           parameter rather than relying on SP; some dependent functions still
484           use SP internally.
485         + factor out most use of SP in lib_mouse.c, using parameter.
486         + add internal _nc_keyname(), replacing keyname() to associate with a
487           particular SCREEN rather than the global SP.
488         + add internal _nc_unctrl(), replacing unctrl() to associate with a
489           particular SCREEN rather than the global SP.
490         + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
491           its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
492         + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
493           preference to the global _nc_globals.tracechr_buf buffer.
494
495 20080524
496         + modify _nc_keypad() to make it switch temporarily as needed to the
497           screen which must be updated.
498         + wrap cur_term variable to help make _nc_keymap() thread-safe, and
499           always set the screen's copy of this variable in set_curterm().
500         + restore curs_set() state after endwin()/refresh() (report/patch
501           Miroslav Lichvar)
502
503 20080517
504         + modify configure script to note that --enable-ext-colors and
505           --enable-ext-mouse are not experimental, but extensions from
506           the ncurses ABI 5.
507         + corrected manpage description of setcchar() (discussion with
508           Emanuele Giaquinta).
509         + fix for adding a non-spacing character at the beginning of a line
510           (report/patch by Miroslav Lichvar).
511
512 20080503
513         + modify screen.* terminfo entries using new screen+fkeys to fix
514           overridden keys in screen.rxvt (Debian #478094) -TD
515         + modify internal interfaces to reduce wgetch()'s dependency on the
516           global SP.
517         + simplify some loops with macros each_screen(), each_window() and
518           each_ripoff().
519
520 20080426
521         + continue modifying test/ditto.c toward making it demonstrate
522           multithreaded use_screen(), using fifos to pass data between screens.
523         + fix typo in form.3x (report by Mike Gran).
524
525 20080419
526         + add screen.rxvt terminfo entry -TD
527         + modify tic -f option to format spaces as \s to prevent them from
528           being lost when that is read back in unformatted strings.
529         + improve test/ditto.c, using a "talk"-style layout.
530
531 20080412
532         + change test/ditto.c to use openpty() and xterm.
533         + add locks for copywin(), dupwin(), overlap(), overlay() on their
534           window parameters.
535         + add locks for initscr() and newterm() on updates to the SCREEN
536           pointer.
537         + finish table in curs_thread.3x manpage.
538
539 20080405
540         + begin table in curs_thread.3x manpage describing the scope of data
541           used by each function (or symbol) for threading analysis.
542         + add null-pointer checks to setsyx() and getsyx() (prompted by
543           discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
544           python-dev2 mailing list).
545
546 20080329
547         + add null-pointer checks in set_term() and delscreen().
548         + move _nc_windows into _nc_globals, since windows can be pads, which
549           are not associated with a particular screen.
550         + change use_screen() to pass the SCREEN* parameter rather than
551           stdscr to the callback function.
552         + force libtool to use tag for 'CC' in case it does not detect this,
553           e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
554           (report/patch by Michael Haubenwallner).
555         + override OBJEXT to "lo" when building with libtool, to work on
556           platforms such as AIX where libtool may use a different suffix for
557           the object files than ".o" (report/patch by Michael Haubenwallner).
558         + add configure --with-pthread option, for building with the POSIX
559           thread library.
560
561 20080322
562         + fill in extended-color pair two more places in wbkgrndset() and
563           waddch_nosync() (prompted by Sedeno's patch).
564         + fill in extended-color pair in _nc_build_wch() to make colors work
565           for wide-characters using extended-colors (patch by Alejandro R
566           Sedeno).
567         + add x/X toggles to ncurses.c C color test to test/demo
568           wide-characters with extended-colors.
569         + add a/A toggles to ncurses.c c/C color tests.
570         + modify test/ditto.c to use use_screen().
571         + finish modifying test/rain.c to demonstrate threads.
572
573 20080308
574         + start modifying test/rain.c for threading demo.
575         + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
576           that the 'F' accepts.
577         + modify test/worm.c to show trail in reverse-video when other threads
578           are working concurrently.
579         + fix a deadlock from improper nesting of mutexes for windowlist and
580           window.
581
582 20080301
583         + fixes from 20080223 resolved issue with mutexes; change to use
584           recursive mutexes to fix memory leak in delwin() as called from
585           _nc_free_and_exit().
586
587 20080223
588         + fix a size-difference in _nc_globals which caused hanging of mutex
589           lock/unlock when termlib was built separately.
590
591 20080216
592         + avoid using nanosleep() in threaded configuration since that often
593           is implemented to suspend the entire process.
594
595 20080209
596         + update test programs to build/work with various UNIX curses for
597           comparisons.  This was to reinvestigate statement in X/Open curses
598           that insnstr and winsnstr perform wrapping.  None of the Unix-branded
599           implementations do this, as noted in manpage (cf: 20040228).
600
601 20080203
602         + modify _nc_setupscreen() to set the legacy-coding value the same
603           for both narrow/wide models.  It had been set only for wide model,
604           but is needed to make unctrl() work with locale in the narrow model.
605         + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
606           using unctrl() to display illegal bytes rather than trying to append
607           further bytes to make up a valid sequence (reported by Andrey A
608           Chernov).
609         + modify unctrl() to check codes in 128-255 range versus isprint().
610           If they are not printable, and locale was set, use a "M-" or "~"
611           sequence.
612
613 20080126
614         + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
615           handling).  Now it hangs in napms(), no matter whether nanosleep()
616           or poll() or select() are used on Linux.
617
618 20080119
619         + fixes to build with --disable-ext-funcs
620         + add manpage for use_window and use_screen.
621         + add set_tabsize() and set_escdelay() functions.
622
623 20080112
624         + remove recursive-mutex definitions, finish threading demo for worm.c
625         + remove a redundant adjustment of lines in resizeterm.c's
626           adjust_window() which caused occasional misadjustment of stdscr when
627           softkeys were used.
628
629 20080105
630         + several improvements to terminfo entries based on xterm #230 -TD
631         + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
632           "link_test" builds properly.
633         + fix for toe command-line options -u/-U to ensure filename is given.
634         + fix allocation-size for command-line parsing in infocmp from 20070728
635           (report by Miroslav Lichvar)
636         + improve resizeterm() by moving ripped-off lines, and repainting the
637           soft-keys (report by Katarina Machalkova)
638         + add clarification in wclear's manpage noting that the screen will be
639           cleared even if a subwindow is cleared (prompted by Christer Enfors
640           question).
641         + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
642
643 20071222
644         + continue implementing support for threading demo by adding mutex
645           for delwin().
646
647 20071215
648         + add several functions to C++ binding which wrap C functions that
649           pass a WINDOW* parameter (request by Chris Lee).
650
651 20071201
652         + add note about configure options needed for Berkeley database to the
653           INSTALL file.
654         + improve checks for version of Berkeley database libraries.
655         + amend fix for rpath to not modify LDFLAGS if the platform has no
656           applicable transformation (report by Christian Ebert, cf: 20071124).
657
658 20071124
659         + modify configure option --with-hashed-db to accept a parameter which
660           is the install-prefix of a given Berkeley Database (prompted by
661           pierre4d2 comments).
662         + rewrite wrapper for wcrtomb(), making it work on Solaris.  This is
663           used in the form library to determine the length of the buffer needed
664           by field_buffer (report by Alfred Fung).
665         + remove unneeded window-parameter from C++ binding for wresize (report
666           by Chris Lee).
667
668 20071117
669         + modify the support for filesystems which do not support mixed-case to
670           generate 2-character (hexadecimal) codes for the lower-level of the
671           filesystem terminfo database (request by Michail Vidiassov).
672         + add configure option --enable-mixed-case, to allow overriding the
673           configure script's check if the filesystem supports mixed-case
674           filenames.
675         + add wresize() to C++ binding (request by Chris Lee).
676         + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
677           it simpler to tell if the extended functions and/or colors are
678           declared.
679
680 20071103
681         + update memory-leak checks for changes to names.c and codes.c
682         + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
683
684 20071020
685         + continue implementing support for threading demo by adding mutex
686           for use_window().
687         + add mrxvt terminfo entry, add/fix xterm building blocks for modified
688           cursor keys -TD
689         + compile with FreeBSD "contemporary" TTY interface (patch by
690           Rong-En Fan).
691
692 20071013
693         + modify makefile rules to allow clear, tput and tset to be built
694           without libtic.  The other programs (infocmp, tic and toe) rely on
695           that library.
696         + add/modify null-pointer checks in several functions for SP and/or
697           the WINDOW* parameter (report by Thorben Krueger).
698         + fixes for field_buffer() in formw library (see Redhat Bugzilla
699           #310071, patches by Miroslav Lichvar).
700         + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
701           Lichvar).
702         + update/improve mlterm and rxvt terminfo entries, e.g., for
703           the modified cursor- and keypad-keys -TD
704
705 20071006
706         + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
707           changes the CharEq() macro to an inline function to allow comparing
708           cchar_t struct's without comparing gaps in a possibly unpacked
709           memory layout (report by Miroslav Lichvar).
710
711 20070929
712         + add new functions to lib_trace.c to setup mutex's for the _tracef()
713           calls within the ncurses library.
714         + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
715           the SCREEN.
716         + start modifying test/worm.c to provide threading demo (incomplete).
717         + separated ifdef's for some BSD-related symbols in tset.c, to make
718           it compile on LynxOS (report by Greg Gemmer).
719 20070915
720         + modify Ada95/gen/Makefile to use shlib script, to simplify building
721           shared-library configuration on platforms lacking rpath support.
722         + build-fix for Ada95/src/Makefile to reflect changed dependency for
723           the terminal-interface-curses-aux.adb file which is now generated.
724         + restructuring test/worm.c, for use_window() example.
725
726 20070908
727         + add use_window() and use_screen() functions, to develop into support
728           for threaded library (incomplete).
729         + fix typos in man/curs_opaque.3x which kept the install script from
730           creating symbolic links to two aliases created in 20070818 (report by
731           Rong-En Fan).
732
733 20070901
734         + remove a spurious newline from output of html.m4, which caused links
735           for Ada95 html to be incorrect for the files generated using m4.
736         + start investigating mutex's for SCREEN manipulation (incomplete).
737         + minor cleanup of codes.c/names.c for --enable-const
738         + expand/revise "Routine and Argument Names" section of ncurses manpage
739           to address report by David Givens in newsgroup discussion.
740         + fix interaction between --without-progs/--with-termcap configure
741           options (report by Michail Vidiassov).
742         + fix typo in "--disable-relink" option (report by Michail Vidiassov).
743
744 20070825
745         + fix a sign-extension bug in infocmp's repair_acsc() function
746           (cf: 971004).
747         + fix old configure script bug which prevented "--disable-warnings"
748           option from working (patch by Mike Frysinger).
749
750 20070818
751         + add 9term terminal description (request by Juhapekka Tolvanen) -TD
752         + modify comp_hash.c's string output to avoid misinterpreting a null
753           "\0" followed by a digit.
754         + modify MKnames.awk and MKcodes.awk to support big-strings.
755           This only applies to the cases (broken linker, reentrant) where
756           the corresponding arrays are accessed via wrapper functions.
757         + split MKnames.awk into two scripts, eliminating the shell redirection
758           which complicated the make process and also the bogus timestamp file
759           which was introduced to fix "make -j".
760         + add test/test_opaque.c, test/test_arrays.c
761         + add wgetscrreg() and wgetparent() for applications that may need it
762           when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
763
764 20070812
765         + amend treatment of infocmp "-r" option to retain the 1023-byte limit
766           unless "-T" is given (cf: 981017).
767         + modify comp_captab.c generation to use big-strings.
768         + make _nc_capalias_table and _nc_infoalias_table private accessed via
769           _nc_get_alias_table() since the tables are used only within the tic
770           library.
771         + modify configure script to skip Intel compiler in CF_C_INLINE.
772         + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
773           _nc_get_hash_table() since the tables are used only within the tic
774           library.
775
776 20070728
777         + make _nc_capalias_table and _nc_infoalias_table private, accessed via
778           _nc_get_alias_table() since they are used only by parse_entry.c
779         + make _nc_key_names private since it is used only by lib_keyname.c
780         + add --disable-big-strings configure option to control whether
781           unctrl.c is generated using the big-string optimization - which may
782           use strings longer than supported by a given compiler.
783         + reduce relocation tables for tic, infocmp by changing type of
784           internal hash tables to short, and make those private symbols.
785         + eliminate large fixed arrays from progs/infocmp.c
786
787 20070721
788         + change winnstr() to stop at the end of the line (cf: 970315).
789         + add test/test_get_wstr.c
790         + add test/test_getstr.c
791         + add test/test_inwstr.c
792         + add test/test_instr.c
793
794 20070716
795         + restore a call to obtain screen-size in _nc_setupterm(), which
796           is used in tput and other non-screen applications via setupterm()
797           (Debian #433357, reported by Florent Bayle, Christian Ohm,
798           cf: 20070310).
799
800 20070714
801         + add test/savescreen.c test-program
802         + add check to trace-file open, if the given name is a directory, add
803           ".log" to the name and try again.
804         + add konsole-256color entry -TD
805         + add extra gcc warning options from xterm.
806         + minor fixes for ncurses/hashmap test-program.
807         + modify configure script to quiet c++ build with libtool when the
808           --disable-echo option is used.
809         + modify configure script to disable ada95 if libtool is selected,
810           writing a warning message (addresses FreeBSD ports/114493).
811         + update config.guess, config.sub
812
813 20070707
814         + add continuous-move "M" to demo_panels to help test refresh changes.
815         + improve fix for refresh of window on top of multi-column characters,
816           taking into account some split characters on left/right window
817           boundaries.
818
819 20070630
820         + add "widec" row to _tracedump() output to help diagnose remaining
821           problems with multi-column characters.
822         + partial fix for refresh of window on top of multi-column characters
823           which are partly overwritten (report by Sadrul H Chowdhury).
824         + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
825           multi-column extension bits are passed there.
826         + add setlocale() call to demo_panels.c, needed for wide-characters.
827         + add some output flags to _nc_trace_ttymode to help diagnose a bug
828           report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
829
830 20070623
831         + add test/demo_panels.c
832         + implement opaque version of setsyx() and getsyx().
833
834 20070612
835         + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
836           #226 -TD
837         + split-out key_name() from MKkeyname.awk since it now depends upon
838           wunctrl() which is not in libtinfo (report by Rong-En Fan).
839
840 20070609
841         + add test/key_name.c
842         + add stdscr cases to test/inchs.c and test/inch_wide.c
843         + update test/configure
844         + correct formatting of DEL (0x7f) in _nc_vischar().
845         + null-terminate result of wunctrl().
846         + add null-pointer check in key_name() (report by Andreas Krennmair,
847           cf: 20020901).
848
849 20070602
850         + adapt mouse-handling code from menu library in form-library
851           (discussion with Clive Nicolson).
852         + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
853           illustrate how to use mvcur().
854         + modify wide-character flavor of SetAttr() to preserve the
855           WidecExt() value stored in the .attr field, e.g., in case it
856           is overwritten by chgat (report by Aleksi Torhamo).
857         + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
858         + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
859
860 20070526
861         + modify keyname() to use "^X" form only if meta() has been called, or
862           if keyname() is called without initializing curses, e.g., via
863           initscr() or newterm() (prompted by LinuxBase #1604).
864         + document some portability issues in man/curs_util.3x
865         + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
866           broken by moving that data into SCREEN (cf: 20061230).
867
868 20070512
869         + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
870           problem reported by Sadrul H Chowdhury with repainting parts of
871           a fullwidth cell.
872         + modify slk_init() so that if there are preceding calls to
873           ripoffline(), those affect the available lines for soft-keys (adapted
874           from patch by Clive Nicolson).
875         + document some portability issues in man/curs_getyx.3x
876
877 20070505
878         + fix a bug in Ada95/samples/ncurses which caused a variable to
879           become uninitialized in the "b" test.
880         + fix Ada95/gen/Makefile.in adahtml rule to account for recent
881           movement of files, fix a few incorrect manpage references in the
882           generated html.
883         + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
884           memory-checking.
885         + correct some functions in Ada95 binding which were using return value
886           from C where none was returned:  idcok(), immedok() and wtimeout().
887         + amend recent changes for Ada95 binding to make it build with
888           Cygwin's linker, e.g., with configure options
889                 --enable-broken-linker --with-ticlib
890
891 20070428
892         + add a configure check for gcc's options for inlining, use that to
893           quiet a warning message where gcc's default behavior changed from
894           3.x to 4.x.
895         + improve warning message when checking if GPM is linked to curses
896           library by not warning if its use of "wgetch" is via a weak symbol.
897         + add loader options when building with static libraries to ensure that
898           an installed shared library for ncurses does not conflict.  This is
899           reported as problem with Tru64, but could affect other platforms
900           (report Martin Mokrejs, analysis by Tim Mooney).
901         + fix build on cygwin after recent ticlib/termlib changes, i.e.,
902           + adjust TINFO_SUFFIX value to work with cygwin's dll naming
903           + revert a change from 20070303 which commented out dependency of
904             SHLIB_LIST in form/menu/panel/c++ libraries.
905         + fix initialization of ripoff stack pointer (cf: 20070421).
906
907 20070421
908         + move most static variables into structures _nc_globals and
909           _nc_prescreen, to simplify storage.
910         + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
911           type for data manipulated by signal handlers (prompted by comments
912           in mailing.openbsd.bugs newsgroup).
913         + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
914           to the libtool create- and link-operations.
915
916 20070414
917         + fix whitespace in curs_opaque.3x which caused a spurious ';' in
918           the installed aliases (report by Peter Santoro).
919         + fix configure script to not try to generate adacurses-config when
920           Ada95 tree is not built.
921
922 20070407
923         + add man/curs_legacy.3x, man/curs_opaque.3x
924         + fix acs_map binding for Ada95 when --enable-reentrant is used.
925         + add adacurses-config to the Ada95 install, based on version from
926           FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
927           comment on comp.lang.ada newsgroup).
928         + fix includes in c++ binding to build with Intel compiler
929           (cf: 20061209).
930         + update install rule in Ada95 to use mkdirs.sh
931         > other fixes prompted by inspection for Coverity report:
932         + modify ifdef's for c++ binding to use try/catch/throw statements
933         + add a null-pointer check in tack/ansi.c request_cfss()
934         + fix a memory leak in ncurses/base/wresize.c
935         + corrected check for valid memu/meml capabilities in
936           progs/dump_entry.c when handling V_HPUX case.
937         > fixes based on Coverity report:
938         + remove dead code in test/bs.c
939         + remove dead code in test/demo_defkey.c
940         + remove an unused assignment in progs/infocmp.c
941         + fix a limit check in tack/ansi.c tools_charset()
942         + fix tack/ansi.c tools_status() to perform the VT320/VT420
943           tests in request_cfss().  The function had exited too soon.
944         + fix a memory leak in tic.c's make_namelist()
945         + fix a couple of places in tack/output.c which did not check for EOF.
946         + fix a loop-condition in test/bs.c
947         + add index checks in lib_color.c for color palettes
948         + add index checks in progs/dump_entry.c for version_filter() handling
949           of V_BSD case.
950         + fix a possible null-pointer dereference in copywin()
951         + fix a possible null-pointer dereference in waddchnstr()
952         + add a null-pointer check in _nc_expand_try()
953         + add a null-pointer check in tic.c's make_namelist()
954         + add a null-pointer check in _nc_expand_try()
955         + add null-pointer checks in test/cardfile.c
956         + fix a double-free in ncurses/tinfo/trim_sgr0.c
957         + fix a double-free in ncurses/base/wresize.c
958         + add try/catch block to c++/cursesmain.cc
959
960 20070331
961         + modify Ada95 binding to build with --enable-reentrant by wrapping
962           global variables (bug: acs_map does not yet work).
963         + modify Ada95 binding to use the new access-functions, allowing it
964           to build/run when NCURSES_OPAQUE is set.
965         + add access-functions and macros to return properties of the WINDOW
966           structure, e.g., when NCURSES_OPAQUE is set.
967         + improved install-sh's quoting.
968         + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
969           other programs.
970
971 20070324
972         + eliminate part of the direct use of WINDOW data from Ada95 interface.
973         + fix substitutions for termlib filename to make configure option
974           --enable-reentrant work with --with-termlib.
975         + change a constructor for NCursesWindow to allow compiling with
976           NCURSES_OPAQUE set, since we cannot pass a reference to
977           an opaque pointer.
978
979 20070317
980         + ignore --with-chtype=unsigned since unsigned is always added to
981           the type in curses.h; do the same for --with-mmask-t.
982         + change warning regarding --enable-ext-colors and wide-character
983           in the configure script to an error.
984         + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
985           such as Darwin's libtool program (report by Michail Vidiassov)
986         + modify edit_man.sh to allow for multiple substitutions per line.
987         + set locale in misc/ncurses-config.in since it uses a range
988         + change permissions libncurses++.a install (report by Michail
989           Vidiassov).
990         + corrected length of temporary buffer in wide-character version
991           of set_field_buffer() (related to report by Bryan Christ).
992
993 20070311
994         + fix mk-1st.awk script install_shlib() function, broken in 20070224
995           changes for cygwin (report by  Michail Vidiassov).
996
997 20070310
998         + increase size of array in _nc_visbuf2n() to make "tic -v" work
999           properly in its similar_sgr() function (report/analysis by Peter
1000           Santoro).
1001         + add --enable-reentrant configure option for ongoing changes to
1002           implement a reentrant version of ncurses:
1003           + libraries are suffixed with "t"
1004           + wrap several global variables (curscr, newscr, stdscr, ttytype,
1005             COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
1006             functions returning values stored in SCREEN or cur_term.
1007           + move some initialization (LINES, COLS) from lib_setup.c,
1008             i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
1009
1010 20070303
1011         + regenerated html documentation.
1012         + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
1013           opaque in selected configurations.
1014         + move the chunk in lib_acs.c which resets acs capabilities when
1015           running on a terminal whose locale interferes with those into
1016           _nc_setupscreen(), so the libtinfo/libtinfow files can be made
1017           identical (requested by Miroslav Lichvar).
1018         + do not use configure variable SHLIB_LIBS for building libraries
1019           outside the ncurses directory, since that symbol is customized
1020           only for that directory, and using it introduces an unneeded
1021           dependency on libdl (requested by Miroslav Lichvar).
1022         + modify mk-1st.awk so the generated makefile rules for linking or
1023           installing shared libraries do not first remove the library, in
1024           case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
1025           Chua).
1026         + revised section "Using NCURSES under XTERM" in ncurses-intro.html
1027           (prompted by newsgroup comment by Nick Guenther).
1028
1029 20070224
1030         + change internal return codes of _nc_wgetch() to check for cases
1031           where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
1032           ungetch'd, and read by wget_wch().
1033         + fix static-library build broken in 20070217 changes to remove "-ldl"
1034           (report by Miroslav Lichvar).
1035         + change makefile/scripts for cygwin to allow building termlib.
1036         + use Form_Hook in manpages to match form.h
1037         + use Menu_Hook in manpages, as well as a few places in menu.h
1038         + correct form- and menu-manpages to use specific Field_Options,
1039           Menu_Options and Item_Options types.
1040         + correct prototype for _tracechar() in manpage (cf: 20011229).
1041         + correct prototype for wunctrl() in manpage.
1042
1043 20070217
1044         + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
1045           Lichvar).
1046         + modify relinking of shared libraries to apply only when rpath is
1047           enabled, and add --disable-relink option which can be used to
1048           disable the feature altogether (reports by Michail Vidiassov,
1049           Adam J Richter).
1050         + fix --with-termlib option for wide-character configuration, stripping
1051           the "w" suffix in one place (report by Miroslav Lichvar).
1052         + remove "-ldl" from some library lists to reduce dependencies in
1053           programs (report by Miroslav Lichvar).
1054         + correct description of --enable-signed-char in configure --help
1055           (report by Michail Vidiassov).
1056         + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
1057           which matches an earlier change to CF_SHARED_OPTS, from xterm #224
1058           fixes.
1059         + remove "${DESTDIR}" from -install_name option used for linking
1060           shared libraries on Darwin (report by Michail Vidiassov).
1061
1062 20070210
1063         + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
1064         + remove libdl from library list for termlib (report by Miroslav
1065           Lichvar).
1066         + fix configure.in to allow --without-progs --with-termlib (patch by
1067           Miroslav Lichvar).
1068         + modify win_wchnstr() to ensure that only a base cell is returned
1069           for each multi-column character (prompted by report by Wei Kong
1070           regarding change in mvwin_wch() cf: 20041023).
1071
1072 20070203
1073         + modify fix_wchnstr() in form library to strip attributes (and color)
1074           from the cchar_t array (field cells) read from a field's window.
1075           Otherwise, when copying the field cells back to the window, the
1076           associated color overrides the field's background color (report by
1077           Ricardo Cantu).
1078         + improve tracing for form library, showing created forms, fields, etc.
1079         + ignore --enable-rpath configure option if --with-shared was omitted.
1080         + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
1081           to allow leak-checking when both tic- and tinfo-libraries are built.
1082         + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
1083           no longer relies on it.
1084         + disallow combining configure script options --with-ticlib and
1085           --enable-termcap (report by Rong-En Fan).
1086         + remove tack from ncurses tree.
1087
1088 20070128
1089         + fix typo in configure script that broke --with-termlib option
1090           (report by Rong-En Fan).
1091
1092 20070127
1093         + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
1094           to tgetent() (report by Rong-en Fan).
1095         + update tack/HISTORY and tack/README to tell how to build it after
1096           it is removed from the ncurses tree.
1097         + fix configure check for libtool's version to trim blank lines
1098           (report by sci-fi@hush.ai).
1099         + review/eliminate other original-file artifacts in cursesw.cc, making
1100           its license consistent with ncurses.
1101         + use ncurses vw_scanw() rather than reading into a fixed buffer in
1102           the c++ binding for scanw() methods (prompted by report by Nuno Dias).
1103         + eliminate fixed-buffer vsprintf() calls in c++ binding.
1104
1105 20070120
1106         + add _nc_leaks_tic() to separate leak-checking of tic library from
1107           term/ncurses libraries, and thereby eliminate a library dependency.
1108         + fix test/mk-test.awk to ignore blank lines.
1109         + correct paths in include/headers, for --srcdir (patch by Miroslav
1110           Lichvar).
1111
1112 20070113
1113         + add a break-statement in misc/shlib to ensure that it exits on the
1114           _first_ matched directory (report by Paul Novak).
1115         + add tack/configure, which can be used to build tack outside the
1116           ncurses build-tree.
1117         + add --with-ticlib option, to build/install the tic-support functions
1118           in a separate library (suggested by Miroslav Lichvar).
1119
1120 20070106
1121         + change MKunctrl.awk to reduce relocation table for unctrl.o
1122         + change MKkeyname.awk to reduce relocation table for keyname.o
1123           (patch by Miroslav Lichvar).
1124
1125 20061230
1126         + modify configure check for libtool's version to trim blank lines
1127           (report by sci-fi@hush.ai).
1128         + modify some modules to allow them to be reentrant if _REENTRANT is
1129           defined: lib_baudrate.c, resizeterm.c (local data only)
1130         + eliminate static data from some modules: add_tries.c, hardscroll.c,
1131           lib_ttyflags.c, lib_twait.c
1132         + improve manpage install to add aliases for the transformed program
1133           names, e.g., from --program-prefix.
1134         + used linklint to verify links in the HTML documentation, made fixes
1135           to manpages as needed.
1136         + fix a typo in curs_mouse.3x (report by William McBrine).
1137         + fix install-rule for ncurses5-config to make the bin-directory.
1138
1139 20061223
1140         + modify configure script to omit the tic (terminfo compiler) support
1141           from ncurses library if --without-progs option is given.
1142         + modify install rule for ncurses5-config to do this via "install.libs"
1143         + modify shared-library rules to allow FreeBSD 3.x to use rpath.
1144         + update config.guess, config.sub
1145
1146 20061217 5.6 release for upload to ftp.gnu.org
1147
1148 20061217
1149         + add ifdef's for <wctype.h> for HPUX, which has the corresponding
1150           definitions in <wchar.h>.
1151         + revert the va_copy() change from 20061202, since it was neither
1152           correct nor portable.
1153         + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
1154           rpath on Solaris.
1155         + ignore wide-acs line-drawing characters that wcwidth() claims are
1156           not one-column.  This is a workaround for Solaris' broken locale
1157           support.
1158
1159 20061216
1160         + modify configure --with-gpm option to allow it to accept a parameter,
1161           i.e., the name of the dynamic GPM library to load via dlopen()
1162           (requested by Bryan Henderson).
1163         + add configure option --with-valgrind, changes from vile.
1164         + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
1165           'return' in preference to 'exit()'.
1166
1167 20061209
1168         + change default for --with-develop back to "no".
1169         + add XTABS to tracing of TTY bits.
1170         + updated autoconf patch to ifdef-out the misfeature which declares
1171           exit() for configure tests.  This fixes a redefinition warning on
1172           Solaris.
1173         + use ${CC} rather than ${LD} in shared library rules for IRIX64,
1174           Solaris to help ensure that initialization sections are provided for
1175           extra linkage requirements, e.g., of C++ applications (prompted by
1176           comment by Casper Dik in newsgroup).
1177         + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
1178           from the autoconf predefined symbol.  There was no conflict,
1179           since "$target" was used only in the generated edit_man.sh file,
1180           but SuSE's rpm package contains a patch.
1181
1182 20061202
1183         + update man/term.5 to reflect extended terminfo support and hashed
1184           database configuration.
1185         + updates for test/configure script.
1186         + adapted from SuSE rpm package:
1187           + remove long-obsolete workaround for broken-linker which declared
1188             cur_term in tic.c
1189           + improve error recovery in PUTC() macro when wcrtomb() does not
1190             return usable results for an 8-bit character.
1191         + patches from rpm package (SuSE):
1192           + use va_copy() in extra varargs manipulation for tracing version
1193             of printw, etc.
1194           + use a va_list rather than a null in _nc_freeall()'s call to
1195             _nc_printf_string().
1196         + add some see-also references in manpages to show related
1197           wide-character functions (suggested by Claus Fischer).
1198
1199 20061125
1200         + add a check in lib_color.c to ensure caller does not increase COLORS
1201           above max_colors, which is used as an array index (discussion with
1202           Simon Sasburg).
1203         + add ifdef's allowing ncurses to be built with tparm() using either
1204           varargs (the existing status), or using a fixed-parameter list (to
1205           match X/Open).
1206
1207 20061104
1208         + fix redrawing of windows other than stdscr using wredrawln() by
1209           touching the corresponding rows in curscr (discussion with Dan
1210           Gookin).
1211         + add test/redraw.c
1212         + add test/echochar.c
1213         + review/cleanup manpage descriptions of error-returns for form- and
1214           menu-libraries (prompted by FreeBSD docs/46196).
1215
1216 20061028
1217         + add AUTHORS file -TD
1218         + omit the -D options from output of the new config script --cflags
1219           option (suggested by Ralf S Engelschall).
1220         + make NCURSES_INLINE unconditionally defined in curses.h
1221
1222 20061021
1223         + revert change to accommodate bash 3.2, since that breaks other
1224           platforms, e.g., Solaris.
1225         + minor fixes to NEWS file to simplify scripting to obtain list of
1226           contributors.
1227         + improve some shared-library configure scripting for Linux, FreeBSD
1228           and NetBSD to make "--with-shlib-version" work.
1229         + change configure-script rules for FreeBSD shared libraries to allow
1230           for rpath support in versions past 3.
1231         + use $(DESTDIR) in makefile rules for installing/uninstalling the
1232           package config script (reports/patches by Christian Wiese,
1233           Ralf S Engelschall).
1234         + fix a warning in the configure script for NetBSD 2.0, working around
1235           spurious blanks embedded in its ${MAKEFLAGS} symbol.
1236         + change test/Makefile to simplify installing test programs in a
1237           different directory when --enable-rpath is used.
1238
1239 20061014
1240         + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
1241         + add/install a package config script, e.g., "ncurses5-config" or
1242           "ncursesw5-config", according to configuration options.
1243
1244 20061007
1245         + add several GNU Screen terminfo variations with 16- and 256-colors,
1246           and status line (Alain Bench).
1247         + change the way shared libraries (other than libtool) are installed.
1248           Rather than copying the build-tree's libraries, link the shared
1249           objects into the install directory.  This makes the --with-rpath
1250           option work except with $(DESTDIR) (cf: 20000930).
1251
1252 20060930
1253         + fix ifdef in c++/internal.h for QNX 6.1
1254         + test-compiled with (old) egcs-1.1.2, modified configure script to
1255           not unset the $CXX and related variables which would prevent this.
1256         + fix a few terminfo.src typos exposed by improvments to "-f" option.
1257         + improve infocmp/tic "-f" option formatting.
1258
1259 20060923
1260         + make --disable-largefile option work (report by Thomas M Ott).
1261         + updated html documentation.
1262         + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
1263         + minor improvements to rxvt+pcfkeys -TD
1264
1265 20060916
1266         + move static data from lib_mouse.c into SCREEN struct.
1267         + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
1268           (report by Michail Vidiassov).
1269         + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
1270           option (from lynx changes) -TD
1271         + adapt AC_PROG_EGREP check, noting that this is likely to be another
1272           place aggravated by POSIXLY_CORRECT.
1273         + modify configure check for awk to ensure that it is found (prompted
1274           by report by Christopher Parker).
1275         + update config.sub
1276
1277 20060909
1278         + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
1279         + remove invis capability from klone+sgr, mainly used by linux entry,
1280           since it does not really do this -TD
1281
1282 20060903
1283         + correct logic in wadd_wch() and wecho_wch(), which did not guard
1284           against passing the multi-column attribute into a call on waddch(),
1285           e.g., using data returned by win_wch() (cf: 20041023)
1286           (report by Sadrul H Chowdhury).
1287
1288 20060902
1289         + fix kterm's acsc string -TD
1290         + fix for change to tic/infocmp in 20060819 to ensure no blank is
1291           embedded into a termcap description.
1292         + workaround for 20050806 ifdef's change to allow visbuf.c to compile
1293           when using --with-termlib --with-trace options.
1294         + improve tgetstr() by making the return value point into the user's
1295           buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
1296           #202480)).
1297         + correct libraries needed for foldkeys (report by Stanislav Ievlev)
1298
1299 20060826
1300         + add terminfo entries for xfce terminal (xfce) and multi gnome
1301           terminal (mgt) -TD
1302         + add test/foldkeys.c
1303
1304 20060819
1305         + modify tic and infocmp to avoid writing trailing blanks on terminfo
1306           source output (Debian #378783).
1307         + modify configure script to ensure that if the C compiler is used
1308           rather than the loader in making shared libraries, the $(CFLAGS)
1309           variable is also used (Redhat Bugzilla #199369).
1310         + port hashed-db code to db2 and db3.
1311         + fix a bug in tgetent() from 20060625 and 20060715 changes
1312           (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
1313
1314 20060805
1315         + updated xterm function-keys terminfo to match xterm #216 -TD
1316         + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
1317           e.g., the db 1.8.5 interface).
1318
1319 20060729
1320         + modify toe to access termcap data, e.g., via cgetent() functions,
1321           or as a text file if those are not available.
1322         + use _nc_basename() in tset to improve $SHELL check for csh/sh.
1323         + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
1324           can access termcap data when the terminfo database is disabled.
1325
1326 20060722
1327         + widen the test for xterm kmous a little to allow for other strings
1328           than \E[M, e.g., for xterm-sco functionality in xterm.
1329         + update xterm-related terminfo entries to match xterm patch #216 -TD
1330         + update config.guess, config.sub
1331
1332 20060715
1333         + fix for install-rule in Ada95 to add terminal_interface.ads
1334           and terminal_interface.ali (anonymous posting in comp.lang.ada).
1335         + correction to manpage for getcchar() (report by William McBrine).
1336         + add test/chgat.c
1337         + modify wchgat() to mark updated cells as changed so a refresh will
1338           repaint those cells (comments by Sadrul H Chowdhury and William
1339           McBrine).
1340         + split up dependency of names.c and codes.c in ncurses/Makefile to
1341           work with parallel make (report/analysis by Joseph S Myers).
1342         + suppress a warning message (which is ignored) for systems without
1343           an ldconfig program (patch by Justin Hibbits).
1344         + modify configure script --disable-symlinks option to allow one to
1345           disable symlink() in tic even when link() does not work (report by
1346           Nigel Horne).
1347         + modify MKfallback.sh to use tic -x when constructing fallback tables
1348           to allow extended capabilities to be retrieved from a fallback entry.
1349         + improve leak-checking logic in tgetent() from 20060625 to ensure that
1350           it does not free the current screen (report by Miroslav Lichvar).
1351
1352 20060708
1353         + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
1354         + correct _nc_free_entries() and related functions used for memory leak
1355           checking of tic.
1356
1357 20060701
1358         + revert a minor change for magic-cookie support from 20060513, which
1359           caused unexpected reset of attributes, e.g., when resizing test/view
1360           in color mode.
1361         + note in clear manpage that the program ignores command-line
1362           parameters (prompted by Debian #371855).
1363         + fixes to make lib_gen.c build properly with changes to the configure
1364           --disable-macros option and NCURSES_NOMACROS (cf:  20060527)
1365         + update/correct several terminfo entries -TD
1366         + add some notes regarding copyright to terminfo.src -TD
1367
1368 20060625
1369         + fixes to build Ada95 binding with gnat-4.1.0
1370         + modify read_termtype() so the term_names data is always allocated as
1371           part of the str_table, a better fix for a memory leak (cf: 20030809).
1372         + reduce memory leaks in repeated calls to tgetent() by remembering the
1373           last TERMINAL* value allocated to hold the corresponding data and
1374           freeing that if the tgetent() result buffer is the same as the
1375           previous call (report by "Matt" for FreeBSD gnu/98975).
1376         + modify tack to test extended capability function-key strings.
1377         + improved gnome terminfo entry (GenToo #122566).
1378         + improved xterm-256color terminfo entry (patch by Alain Bench).
1379
1380 20060617
1381         + fix two small memory leaks related to repeated tgetent() calls
1382           with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
1383         + add --enable-signed-char to simplify Debian package.
1384         + reduce name-pollution in term.h by removing #define's for HAVE_xxx
1385           symbols.
1386         + correct typo in curs_terminfo.3x (Debian #369168).
1387
1388 20060603
1389         + enable the mouse in test/movewindow.c
1390         + improve a limit-check in frm_def.c (John Heasley).
1391         + minor copyright fixes.
1392         + change configure script to produce test/Makefile from data file.
1393
1394 20060527
1395         + add a configure option --enable-wgetch-events to enable
1396           NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
1397           lib_twait.c (report by Bernd Jendrissek).
1398         + remove include/nomacros.h from build, since the ifdef for
1399           NCURSES_NOMACROS makes that obsolete.
1400         + add entrypoints for some functions which were only provided as macros
1401           to make NCURSES_NOMACROS ifdef work properly:  getcurx(), getcury(),
1402           getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
1403           wgetbkgrnd().
1404         + provide ifdef for NCURSES_NOMACROS which suppresses most macro
1405           definitions from curses.h, i.e., where a macro is defined to override
1406           a function to improve performance.  Allowing a developer to suppress
1407           these definitions can simplify some application (discussion with
1408           Stanislav Ievlev).
1409         + improve description of memu/meml in terminfo manpage.
1410
1411 20060520
1412         + if msgr is false, reset video attributes when doing an automargin
1413           wrap to the next line.  This makes the ncurses 'k' test work properly
1414           for hpterm.
1415         + correct caching of keyname(), which was using only half of its table.
1416         + minor fixes to memory-leak checking.
1417         + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
1418           arrays, making ACS_LEN less visible to applications (suggested by
1419           Stanislav Ievlev).
1420         + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
1421           _screen_acs_map will have the same offset in both ncurses/ncursesw,
1422           making the corresponding tinfo/tinfow libraries binary-compatible
1423           (cf: 20041016, report by Stanislav Ievlev).
1424
1425 20060513
1426         + improve debug-tracing for EmitRange().
1427         + change default for --with-develop to "yes".  Add NCURSES_NO_HARD_TABS
1428           and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
1429           suppression of the related hard-tabs and xmc-glitch features.
1430         + add ncurses version number to top-level manpages, e.g., ncurses, tic,
1431           infocmp, terminfo as well as form, menu, panel.
1432         + update config.guess, config.sub
1433         + modify ncurses.c to work around a bug in NetBSD 3.0 curses
1434           (field_buffer returning null for a valid field).  The 'r' test
1435           appears to not work with that configuration since the new_fieldtype()
1436           function is broken in that implementation.
1437
1438 20060506
1439         + add hpterm-color terminfo entry -TD
1440         + fixes to compile test-programs with HPUX 11.23
1441
1442 20060422
1443         + add copyright notices to files other than those that are generated,
1444           data or adapted from pdcurses (reports by William McBrine, David
1445           Taylor).
1446         + improve rendering on hpterm by not resetting attributes at the end
1447           of doupdate() if the terminal has the magic-cookie feature (report
1448           by Bernd Rieke).
1449         + add 256color variants of terminfo entries for programs which are
1450           reported to implement this feature -TD
1451
1452 20060416
1453         + fix typo in change to NewChar() macro from 20060311 changes, which
1454           broke tab-expansion (report by Frederic L W Meunier).
1455
1456 20060415
1457         + document -U option of tic and infocmp.
1458         + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
1459           due to size limit, e.g., converting to termcap format.  Also
1460           suppress them if the output format does not contain acsc and it
1461           was not VT100-like, i.e., a one-one mapping (Novell #163715).
1462         + add configure check to ensure that SIGWINCH is defined on platforms
1463           such as OS X which exclude that when _XOPEN_SOURCE, etc., are
1464           defined (report by Nicholas Cole)
1465
1466 20060408
1467         + modify write_object() to not write coincidental extensions of an
1468           entry made due to it being referenced in a use= clause (report by
1469           Alain Bench).
1470         + another fix for infocmp -i option, which did not ensure that some
1471           escape sequences had comparable prefixes (report by Alain Bench).
1472
1473 20060401
1474         + improve discussion of init/reset in terminfo and tput manpages
1475           (report by Alain Bench).
1476         + use is3 string for a fallback of rs3 in the reset program; it was
1477           using is2 (report by Alain Bench).
1478         + correct logic for infocmp -i option, which did not account for
1479           multiple digits in a parameter (cf: 20040828) (report by Alain
1480           Bench).
1481         + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
1482           option work after 20060114 changes (report by Arkadiusz Miskiewicz).
1483         + add copyright notices to test-programs as needed (report by William
1484           McBrine).
1485
1486 20060318
1487         + modify ncurses.c 'F' test to combine the wide-characters with color
1488           and/or video attributes.
1489         + modify test/ncurses to use CTL/Q or ESC consistently for exiting
1490           a test-screen (some commands used 'x' or 'q').
1491
1492 20060312
1493         + fix an off-by-one in the scrolling-region change (cf_ 20060311).
1494
1495 20060311
1496         + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
1497           a null character is found (report by Igor Bogomazov).
1498         + modify progs/Makefile.in to make "tput init" work properly with
1499           cygwin, i.e., do not pass a ".exe" in the reference string used
1500           in check_aliases (report by Samuel Thibault).
1501         + add some checks to ensure current position is within scrolling
1502           region before scrolling on a new line (report by Dan Gookin).
1503         + change some NewChar() usage to static variables to work around
1504           stack garbage introduced when cchar_t is not packed (Redhat #182024).
1505
1506 20060225
1507         + workarounds to build test/movewindow with PDcurses 2.7.
1508         + fix for nsterm-16color entry (patch by Alain Bench).
1509         + correct a typo in infocmp manpage (Debian #354281).
1510
1511 20060218
1512         + add nsterm-16color entry -TD
1513         + updated mlterm terminfo entry -TD
1514         + remove 970913 feature for copying subwindows as they are moved in
1515           mvwin() (discussion with Bryan Christ).
1516         + modify test/demo_menus.c to demonstrate moving a menu (both the
1517           window and subwindow) using shifted cursor-keys.
1518         + start implementing recursive mvwin() in movewindow.c (incomplete).
1519         + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
1520           for movewindow.c (report by William McBrine).
1521         + add help-message to test/movewindow.c
1522
1523 20060211
1524         + add test/movewindow.c, to test mvderwin().
1525         + fix ncurses soft-key test so color changes are shown immediately
1526           rather than delayed.
1527         + modify ncurses soft-key test to hide the keys when exiting the test
1528           screen.
1529         + fixes to build test programs with PDCurses 2.7, e.g., its headers
1530           rely on autoconf symbols, and it declares stubs for nonfunctional
1531           terminfo and termcap entrypoints.
1532
1533 20060204
1534         + improved test/configure to build test/ncurses on HPUX 11 using the
1535           vendor curses.
1536         + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
1537           benefit of developers who do not read INSTALL.
1538
1539 20060128
1540         + correct form library Window_To_Buffer() change (cf:  20040516), which
1541           should ignore the video attributes (report by Ricardo Cantu).
1542
1543 20060121
1544         + minor fixes to xmc-glitch experimental code:
1545           + suppress line-drawing
1546           + implement max_attributes
1547           tested with xterm.
1548         + minor fixes for the database iterator.
1549         + fix some buffer limits in c++ demo (comment by Falk Hueffner in
1550           Debian #348117).
1551
1552 20060114
1553         + add toe -a option, to show all databases.  This uses new private
1554           interfaces in the ncurses library for iterating through the list of
1555           databases.
1556         + fix toe from 20000909 changes which made it not look at
1557           $HOME/.terminfo
1558         + make toe's -v option parameter optional as per manpage.
1559         + improve SIGWINCH handling by postponing its effect during newterm(),
1560           etc., when allocating screens.
1561
1562 20060111
1563         + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs.  Use
1564           this in test/filter.c
1565         + fix an error in filter() modification which caused some applications
1566           to fail.
1567
1568 20060107
1569         + check if filter() was called when getting the screensize.  Keep it
1570           at 1 if so (based on Redhat #174498).
1571         + add extension nofilter().
1572         + refined the workaround for ACS mapping.
1573         + make ifdef's consistent in curses.h for the extended colors so the
1574           header file can be used for the normal curses library.  The header
1575           file installed for extended colors is a variation of the
1576           wide-character configuration (report by Frederic L W Meunier).
1577
1578 20051231
1579         + add a workaround to ACS mapping to allow applications such as
1580           test/blue.c to use the "PC ROM" characters by masking them with
1581           A_ALTCHARSET.  This worked up til 5.5, but was lost in the revision
1582           of legacy coding (report by Michael Deutschmann).
1583         + add a null-pointer check in the wide-character version of
1584           calculate_actual_width() (report by Victor Julien).
1585         + improve test/ncurses 'd' (color-edit) test by allowing the RGB
1586           values to be set independently (patch by William McBrine).
1587         + modify test/configure script to allow building test programs with
1588           PDCurses/X11.
1589         + modified test programs to allow some to work with NetBSD curses.
1590           Several do not because NetBSD curses implements a subset of X/Open
1591           curses, and also lacks much of SVr4 additions.  But it's enough for
1592           comparison.
1593         + update config.guess and config.sub
1594
1595 20051224
1596         + use BSD-specific fix for return-value from cgetent() from CVS where
1597           an unknown terminal type would be reportd as "database not found".
1598         + make tgetent() return code more readable using new symbols
1599           TGETENT_YES, etc.
1600         + remove references to non-existent "tctest" program.
1601         + remove TESTPROGS from progs/Makefile.in (it was referring to code
1602           that was never built in that directory).
1603         + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
1604
1605 20051217
1606         + add use_legacy_coding() function to support lynx's font-switching
1607           feature.
1608         + fix formatting in curs_termcap.3x (report by Mike Frysinger).
1609         + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
1610           bool.
1611
1612 20051210
1613         + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
1614           overwrite() and copywin() with different combinations of colors and
1615           attributes (including background color) to make it easy to see the
1616           effect of the different functions.
1617         + corrections to menu/m_global.c for wide-characters (report by
1618           Victor Julien).
1619
1620 20051203
1621         + add configure option --without-dlsym, allowing developers to
1622           configure GPM support without using dlsym() (discussion with Michael
1623           Setzer).
1624         + fix wins_nwstr(), which did not handle single-column non-8bit codes
1625           (Debian #341661).
1626
1627 20051126
1628         + move prototypes for wide-character trace functions from curses.tail
1629           to curses.wide to avoid accidental reference to those if
1630           _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
1631           included.
1632         + add/use NCURSES_INLINE definition.
1633         + change some internal functions to use int/unsigned rather than the
1634           short equivalents.
1635
1636 20051119
1637         + remove a redundant check in lib_color.c (Debian #335655).
1638         + use ld's -search_paths_first option on Darwin to work around odd
1639           search rules on that platform (report by Christian Gennerat, analysis
1640           by Andrea Govoni).
1641         + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
1642         + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
1643         + fix several bugs in test/bs.c (patch by Stephen Lindholm).
1644
1645 20051112
1646         + other minor fixes to cygwin based on tack -TD
1647         + correct smacs in cygwin (Debian #338234, report by Baurzhan
1648           Ismagulov, who noted that it was fixed in Cygwin).
1649
1650 20051029
1651         + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
1652         + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
1653           since those record the state of multicolumn characters (Debian
1654           #316663).
1655         + modify werase to clear multicolumn characters that extend into
1656           a derived window (Debian #316663).
1657
1658 20051022
1659         + move assignment from environment variable ESCDELAY from initscr()
1660           down to newterm() so the environment variable affects timeouts for
1661           terminals opened with newterm() as well.
1662         + fix a memory leak in keyname().
1663         + add test/demo_altkeys.c
1664         + modify test/demo_defkey.c to exit from loop via 'q' to allow
1665           leak-checking, as well as fix a buffer size in winnstr() call.
1666
1667 20051015
1668         + correct order of use-clauses in rxvt-basic entry which made codes for
1669           f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
1670         + suppress configure check for gnatmake if Ada95/Makefile.in is not
1671           found.
1672         + correct a typo in configure --with-bool option for the case where
1673           --without-cxx is used (report by Daniel Jacobowitz).
1674         + add a note to INSTALL's discussion of --with-normal, pointing out
1675           that one may wish to use --without-gpm to ensure a completely
1676           static link (prompted by report by Felix von Leitner).
1677
1678 20051010 5.5 release for upload to ftp.gnu.org
1679
1680 20051008
1681         + document in demo_forms.c some portability issues.
1682
1683 20051001
1684         + document side-effect of werase() which sets the cursor position.
1685         + save/restore the current position in form field editing to make
1686           overlay mode work.
1687
1688 20050924
1689         + correct header dependencies in progs, allowing parallel make (report
1690           by Daniel Jacobowitz).
1691         + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
1692           the configure check for --with-build-cc (report by Daniel Jacobowitz).
1693         + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
1694           NetBSD.
1695         + update config.guess and config.sub from
1696                 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1697
1698 20050917
1699         + modify sed expression which computes path for /usr/lib/terminfo
1700           symbolic link in install to ensure that it does not change unexpected
1701           levels of the path (Gentoo #42336).
1702         + modify default for --disable-lp64 configure option to reduce impact
1703           on existing 64-bit builds.  Enabling the _LP64 option may change the
1704           size of chtype and mmask_t.  However, for ABI 6, it is enabled by
1705           default (report by Mike Frysinger).
1706         + add configure script check for --enable-ext-mouse, bump ABI to 6 by
1707           default if it is used.
1708         + improve configure script logic for bumping ABI to omit this if the
1709           --with-abi-version option was used.
1710         + update address for Free Software Foundation in tack's source.
1711         + correct wins_wch(), which was not marking the filler-cells of
1712           multi-column characters (cf:  20041023).
1713
1714 20050910
1715         + modify mouse initialization to ensure that Gpm_Open() is called only
1716           once.  Otherwise GPM gets confused in its initialization of signal
1717           handlers (Debian #326709).
1718
1719 20050903
1720         + modify logic for backspacing in a multiline form field to ensure that
1721           it works even when the preceding line is full (report by Frank van
1722           Vugt).
1723         + remove comment about BUGS section of ncurses manpage (Debian #325481)
1724
1725 20050827
1726         + document some workarounds for shared and libtool library
1727           configurations in INSTALL (see --with-shared and --with-libtool).
1728         + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
1729           cross-compilers which emit the platform name in their version
1730           message, e.g.,
1731                 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
1732           (report by Frank van Vugt).
1733
1734 20050820
1735         + start updating documentation for upcoming 5.5 release.
1736         + fix to make libtool  and libtinfo work together again (cf: 20050122).
1737         + fixes to allow building traces into libtinfo
1738         + add debug trace to tic that shows if/how ncurses will write to the
1739           lower corner of a terminal's screen.
1740         + update llib-l* files.
1741
1742 20050813
1743         + modify initializers in c++ binding to build with old versions of g++.
1744         + improve special case for 20050115 repainting fix, ensuring that if
1745           the first changed cell is not a character that the range to be
1746           repainted is adjusted to start at a character's beginning (Debian
1747           #316663).
1748
1749 20050806
1750         + fixes to build on QNX 6.1
1751         + improve configure script checks for Intel 9.0 compiler.
1752         + remove #include's for libc.h (obsolete).
1753         + adjust ifdef's in curses.priv.h so that when cross-compiling to
1754           produce comp_hash and make_keys, no dependency on wchar.h is needed.
1755           That simplifies the build-cppflags (report by Frank van Vugt).
1756         + move modules related to key-binding into libtinfo to fix linkage
1757           problem caused by 20050430 changes to MKkeyname.sh (report by
1758           Konstantin Andreev).
1759
1760 20050723
1761         + updates/fixes for configure script macros from vile -TD
1762         + make prism9's sgr string agree with the rest of the terminfo -TD
1763         + make vt220's sgr0 string consistent with sgr string, do this for
1764           several related cases -TD
1765         + improve translation to termcap by filtering the 'me' (sgr0) strings
1766           as in the runtime call to tgetent() (prompted by a discussion with
1767           Thomas Klausner).
1768         + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
1769           resets line-drawing.
1770
1771 20050716
1772         + fix special cases for trimming sgr0 for hurd and vt220 (Debian
1773           #318621).
1774         + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
1775           allow it to be used by tic to provide information about the runtime
1776           changes that would be made to sgr0 for termcap applications.
1777         + modify make_sed.sh to make the group-name in the NAME section of
1778           form/menu library manpage agree with the TITLE string when renaming
1779           is done for Debian (Debian #78866).
1780
1781 20050702
1782         + modify parameter type in c++ binding for insch() and mvwinsch() to
1783           be consistent with underlying ncurses library (was char, is chtype).
1784         + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
1785           on Linux.
1786         + improve configure check for nanosleep(), checking that it works since
1787           some older systems such as AIX 4.3 have a nonworking version.
1788
1789 20050625
1790         + update config.guess and config.sub from
1791                 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1792         + modify misc/shlib to work in test-directory.
1793         + suppress $suffix in misc/run_tic.sh when cross-compiling.  This
1794           allows cross-compiles to use the host's tic program to handle the
1795           "make install.data" step.
1796         + improve description of $LINES and $COLUMNS variables in manpages
1797           (prompted by report by Dave Ulrick).
1798         + improve description of cross-compiling in INSTALL
1799         + add NCURSES-Programming-HOWTO.html by Pradeep Padala
1800           (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
1801         + modify configure script to obtain soname for GPM library (discussion
1802           with Daniel Jacobowitz).
1803         + modify configure script so that --with-chtype option will still
1804           compute the unsigned literals suffix for constants in curses.h
1805           (report by Daniel Jacobowitz:
1806         + patches from Daniel Jacobowitz:
1807           + the man_db.renames entry for tack.1 was backwards.
1808           + tack.1 had some 1m's that should have been 1M's.
1809           + the section for curs_inwstr.3 was wrong.
1810
1811 20050619
1812         + correction to --with-chtype option (report by Daniel Jacobowitz).
1813
1814 20050618
1815         + move build-time edit_man.sh and edit_man.sed scripts to top directory
1816           to simplify reusing them for renaming tack's manpage (prompted by a
1817           review of Debian package).
1818         + revert minor optimization from 20041030 (Debian #313609).
1819         + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
1820           1.5.10 and 1.5.18 (all work except as noted previously for the c++
1821           install using libtool 1.5.0):
1822           + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
1823             program.
1824           + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
1825         + add configure options --with-chtype and --with-mmask-t, to allow
1826           overriding of the non-LP64 model's use of the corresponding types.
1827         + revise test for size of chtype (and mmask_t), which always returned
1828           "long" due to an uninitialized variable (report by Daniel Jacobowitz).
1829
1830 20050611
1831         + change _tracef's that used "%p" format for va_list values to ignore
1832           that, since on some platforms those are not pointers.
1833         + fixes for long-formats in printf's due to largefile support.
1834
1835 20050604
1836         + fixes for termcap support:
1837           + reset pointer to _nc_curr_token.tk_name when the input stream is
1838             closed, which could point to free memory (cf: 20030215).
1839           + delink TERMTYPE data which is used by the termcap reader, so that
1840             extended names data will be freed consistently.
1841           + free pointer to TERMTYPE data in _nc_free_termtype() rather than
1842             its callers.
1843           + add some entrypoints for freeing permanently allocated data via
1844             _nc_freeall() when NO_LEAKS is defined.
1845         + amend 20041030 change to _nc_do_color to ensure that optimization is
1846           applied only when the terminal supports back_color_erase (bce).
1847
1848 20050528
1849         + add sun-color terminfo entry -TD
1850         + correct a missing assignment in c++ binding's method
1851           NCursesPanel::UserPointer() from 20050409 changes.
1852         + improve configure check for large-files, adding check for dirent64
1853           from vile -TD
1854         + minor change to configure script to improve linker options for the
1855           Ada95 tree.
1856
1857 20050515
1858         + document error conditions for ncurses library functions (report by
1859           Stanislav Ievlev).
1860         + regenerated html documentation for ada binding.
1861           see ftp://invisible-island.net/ncurses/patches/gnathtml
1862
1863 20050507
1864         + regenerated html documentation for manpages.
1865         + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
1866           ncurses/Makefile (Gentoo #89772).
1867         + modify c++/demo.cc to build with g++ -fno-implicit-templates option
1868           (patch by Mike Frysinger).
1869         + modify tic to filter out long extended names when translating to
1870           termcap format.  Only two characters are permissible for termcap
1871           capability names.
1872
1873 20050430
1874         + modify terminfo entries xterm-new and rxvt to add strings for
1875           shift-, control-cursor keys.
1876         + workaround to allow c++ binding to compile with g++ 2.95.3, which
1877           has a broken implementation of static_cast<> (patch by Jeff Chua).
1878         + modify initialization of key lookup table so that if an extended
1879           capability (tic -x) string is defined, and its name begins with 'k',
1880           it will automatically be treated as a key.
1881         + modify test/keynames.c to allow for the possibility of extended
1882           key names, e.g., via define_key(), or via "tic -x".
1883         + add test/demo_termcap.c to show the contents of given entry via the
1884           termcap interface.
1885
1886 20050423
1887         + minor fixes for vt100/vt52 entries -TD
1888         + add configure option --enable-largefile
1889         + corrected libraries used to build Ada95/gen/gen, found in testing
1890           gcc 4.0.0.
1891
1892 20050416
1893         + update config.guess, config.sub
1894         + modify configure script check for _XOPEN_SOURCE, disable that on
1895           Darwin whose header files have problems (patch by Chris Zubrzycki).
1896         + modify form library Is_Printable_String() to use iswprint() rather
1897           than wcwidth() for determining if a character is printable.  The
1898           latter caused it to reject menu items containing non-spacing
1899           characters.
1900         + modify ncurses test program's F-test to handle non-spacing characters
1901           by combining them with a reverse-video blank.
1902         + review/fix several gcc -Wconversion warnings.
1903
1904 20050409
1905         + correct an off-by-one error in m_driver() for mouse-clicks used to
1906           position the mouse to a particular item.
1907         + implement test/demo_menus.c
1908         + add some checks in lib_mouse to ensure SP is set.
1909         + modify C++ binding to make 20050403 changes work with the configure
1910           --enable-const option.
1911
1912 20050403
1913         + modify start_color() to return ERR if it cannot allocate memory.
1914         + address g++ compiler warnings in C++ binding by adding explicit
1915           member initialization, assignment operators and copy constructors.
1916           Most of the changes simply preserve the existing semantics of the
1917           binding, which can leak memory, etc., but by making these features
1918           visible, it provides a framework for improving the binding.
1919         + improve C++ binding using static_cast, etc.
1920         + modify configure script --enable-warnings to add options to g++ to
1921           correspond to the gcc --enable-warnings.
1922         + modify C++ binding to use some C internal functions to make it
1923           compile properly on Solaris (and other platforms).
1924
1925 20050327
1926         + amend change from 20050320 to limit it to configurations with a
1927           valid locale.
1928         + fix a bug introduced in 20050320 which broke the translation of
1929           nonprinting characters to uparrow form (report by Takahashi Tamotsu).
1930
1931 20050326
1932         + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
1933           chtype and mmask_t, but add configure option --disable-lp64 in case
1934           anyone used that configuration.
1935         + update misc/shlib script to account for Mac OS X (report by Michail
1936           Vidiassov).
1937         + correct comparison for wrapping multibyte characters in
1938           waddch_literal() (report by Takahashi Tamotsu).
1939
1940 20050320
1941         + add -c and -w options to tset to allow user to suppress ncurses'
1942           resizing of the terminal emulator window in the special case where it
1943           is not able to detect the true size (report by Win Delvaux, Debian
1944           #300419).
1945         + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
1946           codes 128-159 as part of multibyte characters (report by Wang
1947           WenRui, Debian #300512).
1948
1949 20050319
1950         + modify ncurses.c 'd' test to make it work with 88-color
1951           configuration, i.e., by implementing scrolling.
1952         + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
1953           configuration.
1954
1955 20050312
1956         + change tracemunch to use strict checking.
1957         + modify ncurses.c 'p' test to test line-drawing within a pad.
1958         + implement environment variable NCURSES_NO_UTF8_ACS to support
1959           miscellaneous terminal emulators which ignore alternate character
1960           set escape sequences when in UTF-8 mode.
1961
1962 20050305
1963         + change NCursesWindow::err_handler() to a virtual function (request by
1964           Steve Beal).
1965         + modify fty_int.c and fty_num.c to handle wide characters (report by
1966           Wolfgang Gutjahr).
1967         + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
1968           and wide characters inconsistently (report by Wolfgang Gutjahr).
1969         + update llib-* files to reflect internal interface additions/changes.
1970
1971 20050226
1972         + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
1973           from lynx.
1974         + add aixterm-16color terminfo entry -TD
1975         + modified xterm-new terminfo entry to work with tgetent() changes -TD
1976         + extended changes in tgetent() from 20040710 to allow the substring of
1977           sgr0 which matches rmacs to be at the beginning of the sgr0 string
1978           (request by Thomas Wolff).  Wolff says the visual effect in
1979           combination with pre-20040710 ncurses is improved.
1980         + fix off-by-one in winnstr() call which caused form field validation
1981           of multibyte characters to ignore the last character in a field.
1982         + correct logic in winsch() for inserting multibyte strings; the code
1983           would clear cells after the insertion rather than push them to the
1984           right (cf: 20040228).
1985         + fix an inconsistency in Check_Alpha_Field() between normal and wide
1986           character logic (report by Wolfgang Gutjahr).
1987
1988 20050219
1989         + fix a bug in editing wide-characters in form library: deleting a
1990           nonwide character modified the previous wide-character.
1991         + update manpage to describe NCURSES_MOUSE_VERSION 2.
1992         + correct manpage description of mouseinterval() (Debian #280687).
1993         + add a note to default_colors.3x explaining why this extension was
1994           added (Debian #295083).
1995         + add traces to panel library.
1996
1997 20050212
1998         + improve editing of wide-characters in form library:  left/right
1999           cursor movement, and single-character deletions work properly.
2000         + disable GPM mouse support when $TERM happens to be prefixed with
2001           "xterm".  Gpm_Open() would otherwise assert that it can deal with
2002           mouse events in this case.
2003         + modify GPM mouse support so it closes the server connection when
2004           the caller disables the mouse (report by Stanislav Ievlev).
2005
2006 20050205
2007         + add traces for callback functions in form library.
2008         + add experimental configure option --enable-ext-mouse, which defines
2009           NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
2010           support wheel mice, which may transmit buttons 4 and 5.  This works
2011           with xterm and similar X terminal emulators (prompted by question by
2012           Andreas Henningsson, this is also related to Debian #230990).
2013         + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
2014           avoid redefinition warnings on cygwin.
2015
2016 20050129
2017         + merge remaining development changes for extended colors (mostly
2018           complete, does not appear to break other configurations).
2019         + add xterm-88color.dat (part of extended colors testing).
2020         + improve _tracedump() handling of color pairs past 96.
2021         + modify return-value from start_color() to return OK if colors have
2022           already been started.
2023         + modify curs_color.3x list error conditions for init_pair(),
2024           pair_content() and color_content().
2025         + modify pair_content() to return -1 for consistency with init_pair()
2026           if it corresponds to the default-color.
2027         + change internal representation of default-color to allow application
2028           to use color number 255.  This does not affect the total number of
2029           color pairs which are allowed.
2030         + add a top-level tags rule.
2031
2032 20050122
2033         + add a null-pointer check in wgetch() in case it is called without
2034           first calling initscr().
2035         + add some null-pointer checks for SP, which is not set by libtinfo.
2036         + modify misc/shlib to ensure that absolute pathnames are used.
2037         + modify test/Makefile.in, etc., to link test programs only against the
2038           libraries needed, e.g., omit form/menu/panel library for the ones
2039           that are curses-specific.
2040         + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
2041           libtinfo.so and libtinfow.so have the same ABI.  The reason for this
2042           is that the corresponding data which belongs to the upper-level
2043           ncurses library has a different size in each model (report by
2044           Stanislav Ievlev).
2045
2046 20050115
2047         + minor fixes to allow test-compiles with g++.
2048         + correct column value shown in tic's warnings, which did not account
2049           for leading whitespace.
2050         + add a check in _nc_trans_string() for improperly ended strings, i.e.,
2051           where a following line begins in column 1.
2052         + modify _nc_save_str() to return a null pointer on buffer overflow.
2053         + improve repainting while scrolling wide-character data (Eungkyu Song).
2054
2055 20050108
2056         + merge some development changes to extend color capabilities.
2057
2058 20050101
2059         + merge some development changes to extend color capabilities.
2060         + fix manpage typo (FreeBSD report docs/75544).
2061         + update config.guess, config.sub
2062         > patches for configure script (Albert Chin-A-Young):
2063         + improved fix to make mbstate_t recognized on HPUX 11i (cf:
2064           20030705), making vsscanf() prototype visible on IRIX64.  Tested for
2065           on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
2066           IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
2067         + print the result of the --disable-home-terminfo option.
2068         + use -rpath when compiling with SGI C compiler.
2069
2070 20041225
2071         + add trace calls to remaining public functions in form and menu
2072           libraries.
2073         + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
2074         + fix typo in test/ncurses.c 'c' test from 20041218.
2075
2076 20041218
2077         + revise test/ncurses.c 'c' color test to improve use for xterm-88color
2078           and xterm-256color, added 'C' test using the wide-character color_set
2079           and attr_set functions.
2080
2081 20041211
2082         + modify configure script to work with Intel compiler.
2083         + fix an limit-check in wadd_wchnstr() which caused labels in the
2084           forms-demo to be one character short.
2085         + fix typo in curs_addchstr.3x (Jared Yanovich).
2086         + add trace calls to most functions in form and menu libraries.
2087         + update working-position for adding wide-characters when window is
2088           scrolled (prompted by related report by Eungkyu Song).
2089
2090 20041204
2091         + replace some references on Linux to wcrtomb() which use it to obtain
2092           the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
2093           broken in glibc (see Debian #284260).
2094         + corrected length-computation in wide-character support for
2095           field_buffer().
2096         + some fixes to frm_driver.c to allow it to accept multibyte input.
2097         + modify configure script to work with Intel 8.0 compiler.
2098
2099 20041127
2100         + amend change to setupterm() in 20030405 which would reuse the value
2101           of cur_term if the same output was selected.  This now reuses it only
2102           when setupterm() is called from tgetent(), which has no notion of
2103           separate SCREENs.  Note that tgetent() must be called after initscr()
2104           or newterm() to use this feature (Redhat Bugzilla #140326).
2105         + add a check in CF_BUILD_CC macro to ensure that developer has given
2106           the --with-build-cc option when cross-compiling (report by Alexandre
2107           Campo).
2108         + improved configure script checks for _XOPEN_SOURCE and
2109           _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
2110           updates from lynx).
2111         + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
2112           for consistency (comment by Dan Nelson).
2113
2114 20041120
2115         + update wsvt25 terminfo entry -TD
2116         + modify test/ins_wide.c to test all flavors of ins_wstr().
2117         + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
2118           which consists of multi-column characters, since this function
2119           constructs them (cf: 20041023).
2120         + modify winnstr() to return multibyte character strings for the
2121           wide-character configuration.
2122
2123 20041106
2124         + fixes to make slk_set() and slk_wset() accept and store multibyte
2125           or multicolumn characters.
2126
2127 20041030
2128         + improve color optimization a little by making _nc_do_color() check
2129           if the old/new pairs are equivalent to the default pair 0.
2130         + modify assume_default_colors() to not require that
2131           use_default_colors() be called first.
2132
2133 20041023
2134         + modify term_attrs() to use termattrs(), add the extended attributes
2135           such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
2136         + add logic in waddch_literal() to clear orphaned cells when one
2137           multi-column character partly overwrites another.
2138         + improved logic for clearing cells when a multi-column character
2139           must be wrapped to a new line.
2140         + revise storage of cells for multi-column characters to correct a
2141           problem with repainting.  In the old scheme, it was possible for
2142           doupdate() to decide that only part of a multi-column character
2143           should be repainted since the filler cells stored only an attribute
2144           to denote them as fillers, rather than the character value and the
2145           attribute.
2146
2147 20041016
2148         + minor fixes for traces.
2149         + add SP->_screen_acs_map[], used to ensure that mapping of missing
2150           line-drawing characters is handled properly.  For example, ACS_DARROW
2151           is absent from xterm-new, and it was coincidentally displayed the
2152           same as ACS_BTEE.
2153
2154 20041009
2155         + amend 20021221 workaround for broken acs to reset the sgr, rmacs
2156           and smacs strings as well.  Also modify the check for screen's
2157           limitations in that area to allow the multi-character shift-in
2158           and shift-out which seem to work.
2159         + change GPM initialization, using dl library to load it dynamically
2160           at runtime (Debian #110586).
2161
2162 20041002
2163         + correct logic for color pair in setcchar() and getcchar() (patch by
2164           Marcin 'Qrczak' Kowalczyk).
2165         + add t/T commands to ncurses b/B tests to allow a different color to
2166           be tested for the attrset part of the test than is used in the
2167           background color.
2168
2169 20040925
2170         + fix to make setcchar() to work when its wchar_t* parameter is
2171           pointing to a string which contains more data than can be converted.
2172         + modify wget_wstr() and example in ncurses.c to work if wchar_t and
2173           wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
2174
2175 20040918
2176         + remove check in wget_wch() added to fix an infinite loop, appears to
2177           have been working around a transitory glibc bug, and interferes
2178           with normal operation (report by Marcin 'Qrczak' Kowalczyk).
2179         + correct wadd_wch() and wecho_wch(), which did not pass the rendition
2180           information (report by Marcin 'Qrczak' Kowalczyk).
2181         + fix aclocal.m4 so that the wide-character version of ncurses gets
2182           compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
2183           (adapted from patch by James J Ramsey).
2184         + change configure script for --with-caps option to indicate that it
2185           is no longer experimental.
2186         + change configure script to reflect the fact that --enable-widec has
2187           not been "experimental" since 5.3 (report by Bruno Lustosa).
2188
2189 20040911
2190         + add 'B' test to ncurses.c, to exercise some wide-character functions.
2191
2192 20040828
2193         + modify infocmp -i option to match 8-bit controls against its table
2194           entries, e.g., so it can analyze the xterm-8bit entry.
2195         + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
2196         + correct translation of "%%" in terminfo format to termcap, e.g.,
2197           using "tic -C" (Redhat Bugzilla #130921).
2198         + modified configure script CF_XOPEN_SOURCE macro to ensure that if
2199           it defines _POSIX_C_SOURCE, that it defines it to a specific value
2200           (comp.os.stratus newsgroup comment).
2201
2202 20040821
2203         + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
2204           fatal, and gnat does not follow the guidelines for pragmas).
2205           However that did find a coding error in Assume_Default_Colors().
2206         + modify several terminfo entries to ensure xterm mouse and cursor
2207           visibility are reset in rs2 string:  hurd, putty, gnome,
2208           konsole-base, mlterm, Eterm, screen (Debian #265784, #55637).  The
2209           xterm entries are left alone - old ones for compatibility, and the
2210           new ones do not require this change. -TD
2211
2212 20040814
2213         + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
2214           and window managers (Debian #265631).
2215         > terminfo updates -TD
2216         + remove dch/dch1 from rxvt because they are implemented inconsistently
2217           with the common usage of bce/ech
2218         + remove khome from vt220 (vt220's have no home key)
2219         + add rxvt+pcfkeys
2220
2221 20040807
2222         + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
2223           combinations of video attributes so that for instance bold and
2224           underline can be tested.  This made the legend too crowded, added
2225           a help window as well.
2226         + modify test/ncurses.c 'b' test to cycle through default colors if
2227           the -d option is set.
2228         + update putty terminfo entry (Robert de Bath).
2229
2230 20040731
2231         + modify test/cardfile.c to allow it to read more data than can be
2232           displayed.
2233         + correct logic in resizeterm.c which kept it from processing all
2234           levels of window hierarchy (reports by Folkert van Heusden,
2235           Chris Share).
2236
2237 20040724
2238         + modify "tic -cv" to ignore delays when comparing strings.  Also
2239           modify it to ignore a canceled sgr string, e.g., for terminals which
2240           cannot properly combine attributes in one control sequence.
2241         + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
2242           patch by Hans de Goede)
2243         > terminfo updates -TD
2244         + make ncsa-m rmacs/smacs consistent with sgr
2245         + add sgr, rc/sc and ech to syscons entries
2246         + add function-keys to decansi
2247         + add sgr to mterm-ansi
2248         + add sgr, civis, cnorm to emu
2249         + correct/simplify cup in addrinfo
2250
2251 20040717
2252         > terminfo updates -TD
2253         + add xterm-pc-fkeys
2254         + review/update gnome and gnome-rh90 entries (prompted by Redhat
2255           Bugzilla #122815).
2256         + review/update konsole entries
2257         + add sgr, correct sgr0 for kterm and mlterm
2258         + correct tsl string in kterm
2259
2260 20040711
2261         + add configure option --without-xterm-new
2262
2263 20040710
2264         + add check in wget_wch() for printable bytes that are not part of a
2265           multibyte character.
2266         + modify wadd_wchnstr() to render text using window's background
2267           attributes.
2268         + improve tic's check to compare sgr and sgr0.
2269         + fix c++ directory's .cc.i rule.
2270         + modify logic in tgetent() which adjusts the termcap "me" string
2271           to work with ISO-2022 string used in xterm-new (cf: 20010908).
2272         + modify tic's check for conflicting function keys to omit that if
2273           converting termcap to termcap format.
2274         + add -U option to tic and infocmp.
2275         + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
2276         > terminfo updates -TD
2277         + minor fixes for emu
2278         + add emu-220
2279         + change wyse acsc strings to use 'i' map rather than 'I'
2280         + fixes for avatar0
2281         + fixes for vp3a+
2282
2283 20040703
2284         + use tic -x to install terminfo database -TD
2285         + add -x to infocmp's usage message.
2286         + correct field used for comparing O_ROWMAJOR in set_menu_format()
2287           (report/patch by Tony Li).
2288         + fix a missing nul check in set_field_buffer() from 20040508 changes.
2289         > terminfo updates -TD
2290           + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
2291             xterm-basic -TD
2292           + align with xterm patch #192's use of xterm-new -TD
2293           + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
2294           + make xterm-new the default "xterm" entry -TD
2295
2296 20040626
2297         + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
2298           cross-compiling from a separate directory tree (report/patch by
2299           Dan Engel).
2300         + modify is_term_resized() to ensure that window sizes are nonzero,
2301           as documented in the manpage (report by Ian Collier).
2302         + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
2303           (Debian #249214, report/patch by Jeff Bailey).
2304         + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
2305         + update config.guess, config.sub
2306         > terminfo updates -TD
2307           + add mlterm
2308           + add xterm-xf86-v44
2309           + modify xterm-new aka xterm-xfree86 to accommodate luit, which
2310             relies on G1 being used via an ISO-2022 escape sequence (report by
2311             Juliusz Chroboczek)
2312           + add 'hurd' entry
2313
2314 20040619
2315         + reconsidered winsnstr(), decided after comparing other
2316           implementations that wrapping is an X/Open documentation error.
2317         + modify test/inserts.c to test all flavors of insstr().
2318
2319 20040605
2320         + add setlocale() calls to a few test programs which may require it:
2321           demo_forms.c, filter.c, ins_wide.c, inserts.c
2322         + correct a few misspelled function names in ncurses-intro.html (report
2323           by Tony Li).
2324         + correct internal name of key_defined() manpage, which conflicted with
2325           define_key().
2326
2327 20040529
2328         + correct size of internal pad used for holding wide-character
2329           field_buffer() results.
2330         + modify data_ahead() to work with wide-characters.
2331
2332 20040522
2333         + improve description of terminfo if-then-else expressions (suggested
2334           by Arne Thomassen).
2335         + improve test/ncurses.c 'd' test, allow it to use external file for
2336           initial palette (added xterm-16color.dat and linux-color.dat), and
2337           reset colors to the initial palette when starting/ending the test.
2338         + change limit-check in init_color() to allow r/g/b component to
2339           reach 1000 (cf: 20020928).
2340
2341 20040516
2342         + modify form library to use cchar_t's rather than char's in the
2343           wide-character configuration for storing data for field buffers.
2344         + correct logic of win_wchnstr(), which did not work for more than
2345           one cell.
2346
2347 20040508
2348         + replace memset/memcpy usage in form library with for-loops to
2349           simplify changing the datatype of FIELD.buf, part of wide-character
2350           changes.
2351         + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
2352
2353 20040501
2354         + modify menu library to account for actual number of columns used by
2355           multibyte character strings, in the wide-character configuration
2356           (adapted from patch by Philipp Tomsich).
2357         + add "-x" option to infocmp like tic's "-x", for use in "-F"
2358           comparisons.  This modifies infocmp to only report extended
2359           capabilities if the -x option is given, making this more consistent
2360           with tic.  Some scripts may break, since infocmp previous gave this
2361           information without an option.
2362         + modify termcap-parsing to retain 2-character aliases at the beginning
2363           of an entry if the "-x" option is used in tic.
2364
2365 20040424
2366         + minor compiler-warning and test-program fixes.
2367
2368 20040417
2369         + modify tic's missing-sgr warning to apply to terminfo only.
2370         + free some memory leaks in tic.
2371         + remove check in post_menu() that prevented menus from extending
2372           beyond the screen (request by Max J. Werner).
2373         + remove check in newwin() that prevents allocating windows
2374           that extend beyond the screen.  Solaris curses does this.
2375         + add ifdef in test/color_set.c to allow it to compile with older
2376           curses.
2377         + add napms() calls to test/dots.c to make it not be a CPU hog.
2378
2379 20040403
2380         + modify unctrl() to return null if its parameter does not correspond
2381           to an unsigned char.
2382         + add some limit-checks to guard isprint(), etc., from being used on
2383           values that do not fit into an unsigned char (report by Sami Farin).
2384
2385 20040328
2386         + fix a typo in the _nc_get_locale() change.
2387
2388 20040327
2389         + modify _nc_get_locale() to use setlocale() to query the program's
2390           current locale rather than using getenv().  This fixes a case in tin
2391           which relies on legacy treatment of 8-bit characters when the locale
2392           is not initialized (reported by Urs Jansen).
2393         + add sgr string to screen's and rxvt's terminfo entries -TD.
2394         + add a check in tic for terminfo entries having an sgr0 but no sgr
2395           string.  This confuses Tru64 and HPUX curses when combined with
2396           color, e.g., making them leave line-drawing characters in odd places.
2397         + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
2398           original definitions used in Debian package to fix PowerPC bug before
2399           20030802 (Debian #237629).
2400
2401 20040320
2402         + modify PutAttrChar() and PUTC() macro to improve use of
2403           A_ALTCHARSET attribute to prevent line-drawing characters from
2404           being lost in situations where the locale would otherwise treat the
2405           raw data as nonprintable (Debian #227879).
2406
2407 20040313
2408         + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
2409           by Jim Idle).
2410         + remove ".PP" after ".SH NAME" in a few manpages; this confuses
2411           some apropos script (Debian #237831).
2412
2413 20040306
2414         + modify ncurses.c 'r' test so editing commands, like inserted text,
2415           set the field background, and the state of insert/overlay editing
2416           mode is shown in that test.
2417         + change syntax of dummy targets in Ada95 makefiles to work with pmake.
2418         + correct logic in test/ncurses.c 'b' for noncolor terminals which
2419           did not recognize a quit-command (cf: 20030419).
2420
2421 20040228
2422         + modify _nc_insert_ch() to allow for its input to be part of a
2423           multibyte string.
2424         + split out lib_insnstr.c, to prepare to rewrite it.  X/Open states
2425           that this function performs wrapping, unlike all of the other
2426           insert-functions.  Currently it does not wrap.
2427         + check for nl_langinfo(CODESET), use it if available (report by
2428           Stanislav Ievlev).
2429         + split-out CF_BUILD_CC macro, actually did this for lynx first.
2430         + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
2431           which happened to work with bash, but not with Bourne shell (report
2432           by Marco d'Itri via tin-dev).
2433
2434 20040221
2435         + some changes to adapt the form library to wide characters, incomplete
2436           (request by Mike Aubury).
2437         + add symbol to curses.h which can be used to suppress include of
2438           stdbool.h, e.g.,
2439                 #define NCURSES_ENABLE_STDBOOL_H 0
2440                 #include <curses.h>
2441           (discussion on XFree86 mailing list).
2442
2443 20040214
2444         + modify configure --with-termlib option to accept a value which sets
2445           the name of the terminfo library.  This would allow a packager to
2446           build libtinfow.so renamed to coincide with libtinfo.so (discussion
2447           with Stanislav Ievlev).
2448         + improve documentation of --with-install-prefix, --prefix and
2449           $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
2450         + add configure check if the compiler can use -c -o options to rename
2451           its output file, use that to omit the 'cd' command which was used to
2452           ensure object files are created in a separate staging directory
2453           (prompted by comments by Johnny Wezel, Martin Mokrejs).
2454
2455 20040208 5.4 release for upload to ftp.gnu.org
2456         + update TO-DO.
2457
2458 20040207 pre-release
2459         + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
2460           and do not count %d if it follows a %p.
2461         + correct an inconsistency between handling of codes in the 128-255
2462           range, e.g., as illustrated by test/ncurses.c f/F tests.  In POSIX
2463           locale, the latter did not show printable results, while the former
2464           did.
2465         + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
2466           OS X, which alters "%%" to "% % " (report by Robert Simms, fix
2467           verified by Scott Corscadden).
2468
2469 20040131 pre-release
2470         + modify SCREEN struct to align it between normal/wide curses flavors
2471           to simplify future changes to build a single version of libtinfo
2472           (patch by Stanislav Ievlev).
2473         + document handling of carriage return by addch() in manpage.
2474         + document special features of unctrl() in manpage.
2475         + documented interface changes in INSTALL.
2476         + corrected control-char test in lib_addch.c to account for locale
2477           (Debian #230335, cf: 971206).
2478         + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
2479         + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
2480         + minor configure-script fixes for older ports, e.g., BeOS R4.5.
2481
2482 20040125 pre-release
2483         + amend change to PutAttrChar() from 20030614 which computed the number
2484           of cells for a possibly multi-cell character.  The 20030614 change
2485           forced the cell to a blank if the result from wcwidth() was not
2486           greater than zero.  However, wcwidth() called for parameters in the
2487           range 128-255 can give this return value.  The logic now simply
2488           ensures that the number of cells is greater than zero without
2489           modifying the displayed value.
2490
2491 20040124 pre-release
2492         + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
2493         + modify configure script check for ranlib to use AC_CHECK_TOOL, since
2494           that works better for cross-compiling.
2495
2496 20040117 pre-release
2497         + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
2498           work around core dump in Solaris 8's locale support, e.g., for
2499           zh_CN.GB18030 (report by Saravanan Bellan).
2500         + add includes for <stdarg.h> and <stdio.h> in configure script macro
2501           to make <wchar.h> check work with Tru64 4.0d.
2502         + add terminfo entry for U/Win -TD
2503         + add terminfo entries for SFU aka Interix aka OpenNT (Federico
2504           Bianchi).
2505         + modify tput's error messages to prefix them with the program name
2506           (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
2507           #227586)).
2508         + correct a place in tack where exit_standout_mode was used instead of
2509           exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
2510         + modify c++/cursesf.h to use const in the Enumeration_Field method.
2511         + remove an ambiguous (actually redundant) method from c++/cursesf.h
2512         + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
2513         + improve sed script which extracts libtool's version in the
2514           CF_WITH_LIBTOOL macro.
2515         + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
2516           simplify local patch for Albert Chin-A-Young)..
2517         + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
2518           patch by Albert Chin-A-Young)..
2519         + fix a missing substitution in configure.in for "$target" needed for
2520           HPUX .so/.sl case.
2521         + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
2522           NetBSD 1.6 conflicts with _XOPEN_SOURCE.
2523         + make check for stdbool.h more specific, to ensure that including it
2524           will actually define/declare bool for the configured compiler.
2525         + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool.  The
2526           intention of that is to #define NCURSES_BOOL as bool when the
2527           compiler declares bool, and to #define bool as NCURSES_BOOL when it
2528           does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
2529
2530 20040110 pre-release
2531         + change minor version to 4, i.e., ncurses 5.4
2532         + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
2533           Sittler).
2534         + simplified ncurses/base/version.c by defining the result from the
2535           configure script rather than using sprintf (suggested by Stanislav
2536           Ievlev).
2537         + remove obsolete casts from c++/cursesw.h (reported by Stanislav
2538           Ievlev).
2539         + modify configure script so that when configuring for termlib, programs
2540           such as tic are not linked with the upper-level ncurses library
2541           (suggested by Stanislav Ievlev).
2542         + move version.c from ncurses/base to ncurses/tinfo to allow linking
2543           of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
2544
2545 20040103
2546         + adjust -D's to build ncursesw on OpenBSD.
2547         + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
2548         + add pecho_wchar().
2549         + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
2550           available) on older platforms.
2551
2552 20031227
2553         + add -D's to build ncursew on FreeBSD 5.1.
2554         + modify shared library configuration for FreeBSD 4.x/5.x to add the
2555           soname information (request by Marc Glisse).
2556         + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
2557           for limiting the length of a filename in the terminfo database.
2558         + modify termname() to return the terminal name used by setupterm()
2559           rather than $TERM, without truncating to 14 characters as documented
2560           by X/Open (report by Stanislav Ievlev, cf:  970719).
2561         + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
2562
2563 20031220
2564         + add configure option --with-manpage-format=catonly to address
2565           behavior of BSDI, allow install of man+cat files on NetBSD, whose
2566           behavior has diverged by requiring both to be present.
2567         + remove leading blanks from comment-lines in manlinks.sed script to
2568           work with Tru64 4.0d.
2569         + add screen.linux terminfo entry (discussion on mutt-users mailing
2570           list).
2571
2572 20031213
2573         + add a check for tic to flag missing backslashes for termcap
2574           continuation lines.  ncurses reads the whole entry, but termcap
2575           applications do not.
2576         + add configure option "--with-manpage-aliases" extending
2577           "--with-manpage-aliases" to provide the option of generating ".so"
2578           files rather than symbolic links for manpage aliases.
2579         + add bool definition in include/curses.h.in for configurations with no
2580           usable C++ compiler (cf: 20030607).
2581         + fix pathname of SigAction.h for building with --srcdir (reported by
2582           Mike Castle).
2583
2584 20031206
2585         + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
2586           since that header is used only within ncurses/tty/lib_tstp.c, for
2587           non-POSIX systems (discussion with Stanislav Ievlev).
2588         + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
2589           <inger@altlinux.org>).
2590         + add test/background.c and test/color_set.c
2591         + modify color_set() function to work with color pair 0 (report by
2592           George Andreou <gbandreo@tem.uoc.gr>).
2593         + add configure option --with-trace, since defining TRACE seems too
2594           awkward for some cases.
2595         + remove a call to _nc_free_termtype() from read_termtype(), since the
2596           corresponding buffer contents were already zeroed by a memset (cf:
2597           20000101).
2598         + improve configure check for _XOPEN_SOURCE and related definitions,
2599           adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
2600           __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
2601         + small fixes to compile on Solaris and IRIX64 using cc.
2602         + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
2603           (cf: 20031101).
2604
2605 20031129
2606         + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
2607           values (Philippe Blain).
2608         + improve the nanosleep() logic in napms() by checking for EINTR and
2609           restarting (Philippe Blain).
2610         + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
2611           <mooz@welho.com>).
2612
2613 20031122
2614         + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
2615         + allow "\|" escape in terminfo; tic should not warn about this.
2616         + save the full pathname of the trace-file the first time it is opened,
2617           to avoid creating it in different directories if the application
2618           opens and closes it while changing its working directory.
2619         + modify configure script to provide a non-empty default for
2620           $BROKEN_LINKER
2621
2622 20031108
2623         + add DJGPP to special case of DOS-style drive letters potentially
2624           appearing in TERMCAP environment variable.
2625         + fix some spelling in comments (reports by Jason McIntyre, Jonathon
2626           Gray).
2627         + update config.guess, config.sub
2628
2629 20031101
2630         + fix a memory leak in error-return from setupterm() (report by
2631           Stanislav Ievlev <inger@altlinux.org>).
2632         + use EXEEXT and OBJEXT consistently in makefiles.
2633         + amend fixes for cross-compiling to use separate executable-suffix
2634           BUILD_EXEEXT (cf: 20031018).
2635         + modify MKkey_defs.sh to check for sort utility that does not
2636           recognize key options, e.g., busybox (report by Peter S Mazinger
2637           <ps.m@gmx.net>).
2638         + fix potential out-of-bounds indexing in _nc_infotocap() (found by
2639           David Krause using some of the new malloc debugging features
2640           under OpenBSD, patch by Ted Unangst).
2641         + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
2642           ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
2643
2644 20031025
2645         + update terminfo for xterm-xfree86 -TD
2646         + add check for multiple "tc=" clauses in a termcap to tic.
2647         + check for missing op/oc in tic.
2648         + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
2649           tic to show cancelled capabilities.  These functions were ignoring
2650           the state of the target entry, which should be untouched if cancelled.
2651         + correct comment in tack/output.c (Debian #215806).
2652         + add some null-pointer checks to lib_options.c (report by Michael
2653           Bienia).
2654         + regenerated html documentation.
2655         + correction to tar-copy.sh, remove a trap command that resulted in
2656           leaving temporary files (cf: 20030510).
2657         + remove contact/maintainer addresses for Juergen Pfeifer (his request).
2658
2659 20031018
2660         + updated test/configure to reflect changes for libtool (cf: 20030830).
2661         + fix several places in tack/pad.c which tested and used the parameter-
2662           and parameterless strings inconsistently, i.e., in pad_rin(),
2663           pad_il(), pad_indn() and pad_dl() (Debian #215805).
2664         + minor fixes for configure script and makefiles to cleanup executables
2665           generated when cross-compiling for DJGPP.
2666         + modify infocmp to omit check for $TERM for operations that do not
2667           require it, e.g., "infocmp -e" used to build fallback list (report by
2668           Koblinger Egmont).
2669
2670 20031004
2671         + add terminfo entries for DJGPP.
2672         + updated note about maintainer in ncurses-intro.html
2673
2674 20030927
2675         + update terminfo entries for gnome terminal.
2676         + modify tack to reset colors after each color test, correct a place
2677           where exit_standout_mode was used instead of exit_attribute_mode.
2678         + improve tack's bce test by making it set colors other than black
2679           on white.
2680         + plug a potential recursion between napms() and _nc_timed_wait()
2681           (report by Philippe Blain).
2682
2683 20030920
2684         + add --with-rel-version option to allow workaround to allow making
2685           libtool on Darwin generate the "same" library names as with the
2686           --with-shared option.  The Darwin ld program does not work well
2687           with a zero as the minor-version value (request by Chris Zubrzycki).
2688         + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
2689         + modify tack to allow it to run from fallback terminfo data.
2690         > patch by Philippe Blain:
2691         + improve PutRange() by adjusting call to EmitRange() and corresponding
2692           return-value to not emit unchanged characters on the end of the
2693           range.
2694         + improve a check for changed-attribute by exiting a loop when the
2695           change is found.
2696         + improve logic in TransformLine(), eliminating a duplicated comparison
2697           in the clr_bol logic.
2698
2699 20030913
2700         > patch by Philippe Blain:
2701         + in ncurses/tty/lib_mvcur.c,
2702           move the label 'nonlocal' just before the second gettimeofday() to
2703           be able to compute the diff time when 'goto nonlocal' used.
2704           Rename 'msec' to 'microsec' in the debug-message.
2705         + in ncurses/tty/lib_mvcur.c,
2706           Use _nc_outch() in carriage return/newline movement instead of
2707           putchar() which goes to stdout.  Move test for xold>0 out of loop.
2708         + in ncurses/tinfo/setbuf.c,
2709           Set the flag SP->_buffered at the end of operations when all has been
2710           successful (typeMalloc can fail).
2711         + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
2712
2713 20030906
2714         + modify configure script to avoid using "head -1", which does not
2715           work if POSIXLY_CORRECT (sic) is set.
2716         + modify run_tic.in to avoid using wrong shared libraries when
2717           cross-compiling (Dan Kegel).
2718
2719 20030830
2720         + alter configure script help message to make it clearer that
2721           --with-build-cc does not specify a cross-compiler (suggested by Dan
2722           Kegel <dank@kegel.com>).
2723         + modify configure script to accommodate libtool 1.5, as well as add an
2724           parameter to the "--with-libtool" option which can specify the
2725           pathname of libtool (report by Chris Zubrzycki).  We note that
2726           libtool 1.5 has more than one bug in its C++ support, so it is not
2727           able to install libncurses++, for instance, if $DESTDIR or the option
2728           --with-install-prefix is used.
2729
2730 20030823
2731         > patch by Philippe Blain:
2732         + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
2733         + make baudrate computation in delay_output() consistent with the
2734           assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
2735
2736 20030816
2737         + modify logic in waddch_literal() to take into account zh_TW.Big5
2738           whose multibyte sequences may contain "printable" characters, e.g.,
2739           a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
2740         + improve storage used by _nc_safe_strcpy() by ensuring that the size
2741           is reset based on the initialization call, in case it were called
2742           after other strcpy/strcat calls (report by Philippe Blain).
2743         > patch by Philippe Blain:
2744         + remove an unused ifdef for REAL_ATTR & WANT_CHAR
2745         + correct a place where _cup_cost was used rather than _cuu_cost
2746
2747 20030809
2748         + fix a small memory leak in _nc_free_termtype().
2749         + close trace-file if trace() is called with a zero parameter.
2750         + free memory allocated for soft-key strings, in delscreen().
2751         + fix an allocation size in safe_sprintf.c for the "*" format code.
2752         + correct safe_sprintf.c to not return a null pointer if the format
2753           happens to be an empty string.  This applies to the "configure
2754           --enable-safe-sprintf" option (Redhat #101486).
2755
2756 20030802
2757         + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
2758           Daniel Jacobowitz).
2759         > patch by Philippe Blain:
2760         + change padding for change_scroll_region to not be proportional to
2761           the size of the scroll-region.
2762         + correct error-return in _nc_safe_strcat().
2763
2764 20030726
2765         + correct limit-checks in _nc_scroll_window() (report and test-case by
2766           Thomas Graf <graf@dms.at> cf: 20011020).
2767         + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
2768           _GNU_SOURCE check.
2769
2770 20030719
2771         + use clr_eol in preference to blanks for bce terminals, so select and
2772           paste will have fewer trailing blanks, e.g., when using xterm
2773           (request by Vincent Lefevre).
2774         + correct prototype for wunctrl() in manpage.
2775         + add configure --with-abi-version option (discussion with Charles
2776           Wilson).
2777         > cygwin changes from Charles Wilson:
2778           + aclocal.m4: on cygwin, use autodetected prefix for import
2779             and static lib, but use "cyg" for DLL.
2780           + include/ncurses_dll.h: correct the comments to reflect current
2781             status of cygwin/mingw port.  Fix compiler warning.
2782           + misc/run_tic.in: ensure that tic.exe can find the uninstalled
2783             DLL, by adding the lib-directory to the PATH variable.
2784           + misc/terminfo.src (nxterm|xterm-color): make xterm-color
2785             primary instead of nxterm, to match XFree86's xterm.terminfo
2786             usage and to prevent circular links.
2787             (rxvt): add additional codes from rxvt.org.
2788             (rxvt-color): new alias
2789             (rxvt-xpm): new alias
2790             (rxvt-cygwin): like rxvt, but with special acsc codes.
2791             (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
2792             with a "native" MSWin GUI.  Each takes different acsc codes,
2793             which are both different from the "normal" rxvt's acsc.
2794             (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
2795             (cygwinDBG): ditto.
2796           + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
2797             and static libs.
2798
2799 20030712
2800         + update config.guess, config.sub
2801         + add triples for configuring shared libraries with the Debian
2802           GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
2803
2804 20030705
2805         + modify CF_GCC_WARNINGS so it only applies to gcc, not g++.  Some
2806           platforms have installed g++ along with the native C compiler, which
2807           would not accept gcc warning options.
2808         + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
2809           get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
2810         + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
2811         + correct a sign-extension in wadd_wch() and wecho_wchar() from
2812           20030628 (report by Tomohiro Kubota).
2813         + work around omission of btowc() and wctob() from wide-character
2814           support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
2815           Gabor Z Papp).
2816         + add portability note to curs_get_wstr.3x (Debian #199957).
2817
2818 20030628
2819         + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
2820           respectively, to avoid calling waddch_noecho() with wide-character
2821           data, since that function assumes its input is 8-bit data.
2822           Similarly, modify waddnwstr() to call wadd_wch().
2823         + remove logic from waddnstr() which transformed multibyte character
2824           strings into wide-characters.  Rewrite of waddch_literal() from
2825           20030621 assumes its input is raw multibyte data rather than wide
2826           characters (report by Tomohiro Kubota).
2827
2828 20030621
2829         + write getyx() and related 2-return macros in terms of getcury(),
2830           getcurx(), etc.
2831         + modify waddch_literal() in case an application passes bytes of a
2832           multibyte character directly to waddch().  In this case, waddch()
2833           must reassemble the bytes into a wide-character (report by Tomohiro
2834           Kubota <kubota@debian.org>).
2835
2836 20030614
2837         + modify waddch_literal() in case a multibyte value occupies more than
2838           two cells.
2839         + modify PutAttrChar() to compute the number of character cells that
2840           are used in multibyte values.  This fixes a problem displaying
2841           double-width characters (report/test by Mitsuru Chinen
2842           <mchinen@yamato.ibm.com>).
2843         + add a null-pointer check for result of keyname() in _tracechar()
2844         + modify _tracechar() to work around glibc sprintf bug.
2845
2846 20030607
2847         + add a call to setlocale() in cursesmain.cc, making demo display
2848           properly in a UTF-8 locale.
2849         + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
2850           by discussion with Gabor Z Papp).
2851         + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
2852           appease -Wchar-subscript with g++ 3.3 (Debian #195732).
2853         + fix a redefinition of $RANLIB in the configure script when libtool
2854           is used, which broke configure on Mac OS X (report by Chris Zubrzycki
2855           <beren@mac.com>).
2856         + simplify ifdef for bool declaration in curses.h.in (suggested by
2857           Albert Chin-A-Young).
2858         + remove configure script check to allow -Wconversion for older
2859           versions of gcc (suggested by Albert Chin-A-Young).
2860
2861 20030531
2862         + regenerated html manpages.
2863         + modify ifdef's in curses.h.in that disabled use of __attribute__()
2864           for g++, since recent versions implement the cases which ncurses uses
2865           (Debian #195230).
2866         + modify _nc_get_token() to handle a case where an entry has no
2867           description, and capabilities begin on the same line as the entry
2868           name.
2869         + fix a typo in ncurses_dll.h reported by gcc 3.3.
2870         + add an entry for key_defined.3x to man_db.renames.
2871
2872 20030524
2873         + modify setcchar() to allow converting control characters to complex
2874           characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
2875         + add tkterm entry -TD
2876         + modify parse_entry.c to allow a terminfo entry with a leading
2877           2-character name (report by Don Libes).
2878         + corrected acsc in screen.teraterm, which requires a PC-style mapping.
2879         + fix trace statements in read_entry.c to use lseek() rather than
2880           tell().
2881         + fix signed/unsigned warnings from Sun's compiler (gcc should give
2882           these warnings, but it is unpredictable).
2883         + modify configure script to omit -Winline for gcc 3.3, since that
2884           feature is broken.
2885         + modify manlinks.sed to add a few functions that were overlooked since
2886           they return function pointers:  field_init, field_term, form_init,
2887           form_term, item_init, item_term, menu_init and menu_term.
2888
2889 20030517
2890         + prevent recursion in wgetch() via wgetnstr() if the connection cannot
2891           be switched between cooked/raw modes because it is not a TTY (report
2892           by Wolfgang Gutjahr <gutw@knapp.com>).
2893         + change parameter of define_key() and key_defined() to const (prompted
2894           by Debian #192860).
2895         + add a check in test/configure for ncurses extensions, since there
2896           are some older versions, etc., which would not compile with the
2897           current test programs.
2898         + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
2899           convert wchar_t string to multibyte form before printing it.
2900         + corrections to lib_get_wstr.c:
2901           + null-terminate buffer passed to setcchar(), which occasionally
2902             failed.
2903           + map special characters such as erase- and kill-characters into
2904             key-codes so those will work as expected even if they are not
2905             mentioned in the terminfo.
2906         + modify PUTC() and Charable() macros to make wide-character line
2907           drawing work for POSIX locale on Linux console (cf: 20021221).
2908
2909 20030510
2910         + make typography for program options in manpages consistent (report
2911           by Miloslav Trmac <mitr@volny.cz>).
2912         + correct dependencies in Ada95/src/Makefile.in, so the builds with
2913           "--srcdir" work (report by Warren L Dodge).
2914         + correct missing definition of $(CC) in Ada95/gen/Makefile.in
2915           (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
2916         + fix typos and whitespace in manpages (patch by Jason McIntyre
2917           <jmc@prioris.mini.pw.edu.pl>).
2918
2919 20030503
2920         + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
2921           REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
2922           the editing position before making modifications.
2923         + add test/demo_forms and associated test/edit_field.c demos.
2924         + modify test/configure.in to use test/modules for the list of objects
2925           to compile rather than using the list of programs.
2926
2927 20030419
2928         + modify logic of acsc to use the original character if no mapping is
2929           defined, noting that Solaris does this.
2930         + modify ncurses 'b' test to avoid using the acs_map[] array since
2931           20021231 changes it to no longer contain information from the acsc
2932           string.
2933         + modify makefile rules in c++, progs, tack and test to ensure that
2934           the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
2935           command (report by Jose Luis Rico Botella <informatica@serpis.com>).
2936         + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
2937           not be shown when colors are used, i.e., if ncv#1 is set in the
2938           terminfo as is done in "screen".
2939
2940 20030412
2941         + add a test for slk_color(), in ncurses.c
2942         + fix some issues reported by valgrind in the slk_set() and slk_wset()
2943           code, from recent rewrite.
2944         + modify ncurses 'E' test to use show previous label via slk_label(),
2945           as in 'e' test.
2946         + modify wide-character versions of NewChar(), NewChar2() macros to
2947           ensure that the whole struct is initialized.
2948
2949 20030405
2950         + modify setupterm() to check if the terminfo and terminal-modes have
2951           already been read.  This ensures that it does not reinvoke
2952           def_prog_mode() when an application calls more than one function,
2953           such as tgetent() and initscr() (report by Olaf Buddenhagen).
2954
2955 20030329
2956         + add 'E' test to ncurses.c, to exercise slk_wset().
2957         + correct handling of carriage-return in wgetn_wstr(), used in demo of
2958           slk_wset().
2959         + first draft of slk_wset() function.
2960
2961 20030322
2962         + improved warnings in tic when suppressing items to fit in termcap's
2963           1023-byte limit.
2964         + built a list in test/README showing which externals are being used
2965           by either programs in the test-directory or via internal library
2966           calls.
2967         + adjust include-options in CF_ETIP_DEFINES to avoid missing
2968           ncurses_dll.h, fixing special definitions that may be needed for
2969           etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
2970
2971 20030315
2972         + minor fixes for cardfile.c, to make it write the updated fields to
2973           a file when ^W is given.
2974         + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
2975           trace code.
2976
2977 20030308
2978         + correct a case in _nc_remove_string(), used by define_key(), to avoid
2979           infinite loop if the given string happens to be a substring of other
2980           strings which are assigned to keys (report by John McCutchan).
2981         + add key_defined() function, to tell which keycode a string is bound
2982           to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
2983         + correct keybound(), which reported definitions in the wrong table,
2984           i.e., the list of definitions which are disabled by keyok().
2985         + modify demo_keydef.c to show the details it changes, and to check
2986           for errors.
2987
2988 20030301
2989         + restructured test/configure script, make it work for libncursesw.
2990         + add description of link_fieldtype() to manpage (report by
2991           L Dee Holtsclaw <dee@sunbeltsoft.com>).
2992
2993 20030222
2994         + corrected ifdef's relating to configure check for wchar_t, etc.
2995         + if the output is a socket or other non-tty device, use 1 millisecond
2996           for the cost in mvcur; previously it was 9 milliseconds because the
2997           baudrate was not known.
2998         + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
2999           glibc copies uninitialized data in that case, as noted by valgrind.
3000         + modify tput to use the same parameter analysis as tparm() does, to
3001           provide for user-defined strings, e.g., for xterm title, a
3002           corresponding capability might be
3003                 title=\E]2;%p1%s^G,
3004         + modify MKlib_gen.sh to avoid passing "#" tokens through the C
3005           preprocessor.  This works around Mac OS X's preprocessor, which
3006           insists on adding a blank on each side of the token (report/analysis
3007           by Kevin Murphy <murphy@genome.chop.edu>).
3008
3009 20030215
3010         + add configure check for wchar_t and wint_t types, rather than rely
3011           on preprocessor definitions.  Also work around for gcc fixinclude
3012           bug which creates a shadow copy of curses.h if it sees these symbols
3013           apparently typedef'd.
3014         + if database is disabled, do not generate run_tic.sh
3015         + minor fixes for memory-leak checking when termcap is read.
3016
3017 20030208
3018         + add checking in tic for incomplete line-drawing character mapping.
3019         + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
3020           which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
3021           Gerben Wierda <Sherlock@rna.nl>).
3022         + make return value from _nc_printf_string() consistent.  Before,
3023           depending on whether --enable-safe-sprintf was used, it might not be
3024           cached for reallocating.
3025
3026 20030201
3027         + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
3028         + correct a potentially-uninitialized value if _read_termtype() does
3029           not read as much data as expected (report by Wolfgang Rohdewald
3030           <wr6@uni.de>).
3031         + correct several places where the aclocal.m4 macros relied on cache
3032           variable names which were incompatible (as usual) between autoconf
3033           2.13 and 2.5x, causing the test for broken-linker to give incorrect
3034           results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
3035           <te@dbs.uni-hannover.de>).
3036         + do not try to open gpm mouse driver if standard output is not a tty;
3037           the gpm library does not make this check (bug report for dialog
3038           by David Oliveira <davidoliveira@develop.prozone.ws>).
3039
3040 20030125
3041         + modified emx.src to correspond more closely to terminfo.src, added
3042           emx-base to the latter -TD
3043         + add configure option for FreeBSD sysmouse, --with-sysmouse, and
3044           implement support for that in lib_mouse.c, lib_getch.c
3045
3046 20030118
3047         + revert 20030105 change to can_clear_with(), does not work for the
3048           case where the update is made on cells which are blanks with
3049           attributes, e.g., reverse.
3050         + improve ifdef's to guard against redefinition of wchar_t and wint_t
3051           in curses.h (report by Urs Jansen).
3052
3053 20030111
3054         + improve mvcur() by checking if it is safe to move when video
3055           attributes are set (msgr), and if not, reset/restore attributes
3056           within that function rather than doing it separately in the GoTo()
3057           function in tty_update.c (suggested by Philippe Blain).
3058         + add a message in run_tic.in to explain more clearly what does not
3059           work when attempting to create a symbolic link for /usr/lib/terminfo
3060           on OS/2 and other platforms with no symbolic links (report by John
3061           Polterak).
3062         + change several sed scripts to avoid using "\+" since it is not a BRE
3063           (basic regular expression).  One instance caused terminfo.5 to be
3064           misformatted on FreeBSD (report by Kazuo Horikawa
3065           <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
3066         + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
3067
3068 20030105
3069         + improve description of terminfo operators, especially static/dynamic
3070           variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
3071         + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
3072           use the predefined TYPE_ALPHA field-type, and by defining a
3073           specialized type for the middle initial/name.
3074         + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
3075           of sed 4.0
3076         > patch by Philippe Blain:
3077         + optimize can_clear_with() a little by testing first if the parameter
3078           is indeed a "blank".
3079         + simplify ClrBottom() a little by allowing it to use clr_eos to clear
3080           sections as small as one line.
3081         + improve ClrToEOL() by checking if clr_eos is available before trying
3082           to use it.
3083         + use tputs() rather than putp() in a few cases in tty_update.c since
3084           the corresponding delays are proportional to the number of lines
3085           affected: repeat_char, clr_eos, change_scroll_region.
3086
3087 20021231
3088         + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
3089           global acs_map[] array; removed the lines that did the copying.
3090
3091 20021228
3092         + change some overlooked tputs() calls in scrolling code to use putp()
3093           (report by Philippe Blain).
3094         + modify lib_getch.c to avoid recursion via wgetnstr() when the input
3095           is not a tty and consequently mode-changes do not work (report by
3096           <R.Chamberlin@querix.com>).
3097         + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
3098           alternate-characters, i.e., to work with Linux console and UTF-8
3099           locale.
3100         + correct line/column reference in adjust_window(), needed to make
3101           special windows such as curscr track properly when resizing (report
3102           by Lucas Gonze <lgonze@panix.com>).
3103         > patch by Philippe Blain:
3104         + correct the value used for blank in ClrBottom() (broken in 20000708).
3105         + correct an off-by-one in GoTo() parameter in _nc_scrolln().
3106
3107 20021221
3108         + change several tputs() calls in scrolling code to use putp(), to
3109           enable padding which may be needed for some terminals (patch by
3110           Philippe Blain).
3111         + use '%' as sed substitute delimiter in run_tic script to avoid
3112           problems with pathname delimiters such as ':' and '@' (report by John
3113           Polterak).
3114         + implement a workaround so that line-drawing works with screen's
3115           crippled UTF-8 support (tested with 3.9.13).  This only works with
3116           the wide-character support (--enable-widec); the normal library will
3117           simply suppress line-drawing when running in a UTF-8 locale in screen.
3118
3119 20021214
3120         + allow BUILD_CC and related configure script variables to be
3121           overridden from the environment.
3122         + make build-tools variables in ncurses/Makefile.in consistent with
3123           the configure script variables (report by Maciej W Rozycki).
3124         + modify ncurses/modules to allow
3125                 configure --disable-leaks --disable-ext-funcs
3126           to build (report by Gary Samuelson).
3127         + fix a few places in configure.in which lacked quotes (report by
3128           Gary Samuelson <gary.samuelson@verizon.com>).
3129         + correct handling of multibyte characters in waddch_literal() which
3130           force wrapping because they are started too late on the line (report
3131           by Sam Varshavchik).
3132         + small fix for CF_GNAT_VERSION to ignore the help-message which
3133           gnatmake adds to its version-message.
3134         > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
3135         + use AC_CHECK_TOOL to get proper values for AR and LD for cross
3136           compiling.
3137         + use $cross_compiling variable in configure script rather than
3138           comparing $host_alias and $target alias, since "host" is
3139           traditionally misused in autoconf to refer to the target platform.
3140         + change configure --help message to use "build" rather than "host"
3141           when referring to the --with-build-XXX options.
3142
3143 20021206
3144         + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
3145           possible gnat versions such as 3.2 (report by Chris Lingard
3146           <chris@stockwith.co.uk>).
3147         + modify #define's for CKILL and other default control characters in
3148           tset to use the system's default values if they are defined.
3149         + correct interchanged defaults for kill and interrupt characters
3150           in tset, which caused it to report unnecessarily (Debian #171583).
3151         + repair check for missing C++ compiler, which is broken in autoconf
3152           2.5x by hardcoding it to g++ (report by Martin Mokrejs).
3153         + update config.guess, config.sub (2002-11-30)
3154         + modify configure script to skip --with-shared, etc., when the
3155           --with-libtool option is given, since they would be ignored anyway.
3156         + fix to allow "configure --with-libtool --with-termlib" to build.
3157         + modify configure script to show version number of libtool, to help
3158           with bug reports.  libtool still gets confused if the installed
3159           ncurses libraries are old, since it ignores the -L options at some
3160           point (tested with libtool 1.3.3 and 1.4.3).
3161         + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
3162           prevent -I options in the user's environment from introducing
3163           conflicts with the build -I options (may be related to reports by
3164           Patrick Ash and George Goffe).
3165         + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
3166           test/demo_keyok.c to allow building these with libtool.
3167
3168 20021123
3169         + add example program test/define_key.c for define_key().
3170         + add example program test/keyok.c for keyok().
3171         + add example program test/ins_wide.c for wins_wch() and wins_wstr().
3172         + modify wins_wch() and wins_wstr() to interpret tabs by using the
3173           winsch() internal function.
3174         + modify setcchar() to allow for wchar_t input strings that have
3175           more than one spacing character.
3176
3177 20021116
3178         + fix a boundary check in lib_insch.c (patch by Philippe Blain).
3179         + change type for *printw functions from NCURSES_CONST to const
3180           (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
3181           but really from a note on X/Open's website stating that either is
3182           acceptable, and the latter will be used in a future revision).
3183         + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
3184           lib_mouse.c (20021026) -TD
3185         + add screen-bce, screen-s entries from screen 3.9.13 (report by
3186           Adam Lazur <zal@debian.org>) -TD
3187         + add mterm terminfo entries -TD
3188
3189 20021109
3190         + split-out useful fragments in terminfo for vt100 and vt220 numeric
3191           keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
3192           vt220+keypad.  The last as embedded in various entries had ka3 and
3193           kb2 interchanged (report/discussion with Leonard den Ottolander
3194           <leonardjo@hetnet.nl>).
3195         + add check in tic for keypads consistent with vt100 layout.
3196         + improve checks in tic for color capabilities
3197
3198 20021102
3199         + check for missing/empty/illegal terminfo name in _nc_read_entry()
3200           (report by Martin Mokrejs, where $TERM was set to an empty string).
3201         + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
3202           tab and other control characters consistently (report by Philippe
3203           Blain).
3204         + remove an #undef for KEY_EVENT from curses.tail used in the
3205           experimental NCURSES_WGETCH_EVENTS feature.  The #undef confuses
3206           dpkg's build script (Debian #165897).
3207         + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
3208           feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
3209
3210 20021026
3211         + implement logic in lib_mouse.c to handle position reports which are
3212           generated when XFree86 xterm is initialized with private modes 1002
3213           or 1003.  These are returned to the application as the
3214           REPORT_MOUSE_POSITION mask, which was not implemented.  Tested both
3215           with ncurses 'a' menu (prompted by discussion with Larry Riedel
3216           <Larry@Riedel.org>).
3217         + modify lib_mouse.c to look for "XM" terminfo string, which allows
3218           one to override the escape sequence used to enable/disable mouse
3219           mode.  In particular this works for XFree86 xterm private modes
3220           1002 and 1003.  If "XM" is missing (note that this is an extended
3221           name), lib_mouse uses the conventional private mode 1000.
3222         + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
3223           where it used screen_lines (report by Philippe Blain).
3224         + correct makefile rules for the case when both --with-libtool and
3225           --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
3226         + add note to terminfo manpage regarding the differences between
3227           setaf/setab and setf/setb capabilities (report by Pavel Roskin).
3228
3229 20021019
3230         + remove redundant initialization of TABSIZE in newterm(), since it is
3231           already done in setupterm() (report by Philippe Blain).
3232         + add test/inserts.c, to test winnstr() and winsch().
3233         + replace 'sort' in dist.mk with script that sets locale to POSIX.
3234         + update URLs in announce.html.in (patch by Frederic L W Meunier).
3235         + remove glibc add-on files, which are no longer needed (report by
3236           Frederic L W Meunier).
3237
3238 20021012 5.3 release for upload to ftp.gnu.org
3239         + modify ifdef's in etip.h.in to allow the etip.h header to compile
3240           with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
3241         + add logic to setupterm() to make it like initscr() and newterm(),
3242           by checking for $NCURSES_TRACE environment variable and enabling
3243           the debug trace in that case.
3244         + modify setupterm() to ensure that it initializes the baudrate, for
3245           applications such as tput (report by Frank Henigman).
3246         + modify definition of bits used for command-line and library debug
3247           traces to avoid overlap, using new definition TRACE_SHIFT to relate
3248           the two.
3249         + document tput's interpretation of parameterized strings according to
3250           whether parameters are given, etc. (discussion with Robert De Bath).
3251
3252 20021005 pre-release
3253         + correct winnwstr() to account for non-character cells generated when
3254           a double-width character is added (report by Michael Bienia
3255           <michael@vorlon.ping.de>).
3256         + modify _nc_viswbuf2n() to provide better results using wctomb().
3257         + correct logic in _nc_varargs() which broke tracing of parameters for
3258           formats such as "%.*s".
3259         + correct scale factor in linux-c and linux-c-nc terminfo entries
3260           (report Floyd Davidson).
3261         + change tic -A option to -t, add the same option to infocmp for
3262           consistency.
3263         + correct "%c" implementation in lib_tparm.c, which did not map a null
3264           character to a 128 (cf: 980620) (patch by Frank Henigman
3265           <fjhenigman@mud.cgl.uwaterloo.ca>).
3266
3267 20020928 pre-release
3268         + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
3269           it is found, to accommodate newer utility which dropped the
3270           compatibility support for +number options (reported by Andrey A
3271           Chernov).
3272         + modify linux terminfo entry to use color palette feature from
3273           linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
3274         + restore original color definitions in endwin() if init_color() was
3275           used, and resume those colors on the next doupdate() or refresh()
3276           (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
3277         + improve debug-traces by modifying MKlib_gen.sh to generate calls
3278           to returnBool() and returnAttr().
3279         + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
3280           of waddnstr() and similar functions to match the parameters as used.
3281         + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
3282         + correct type used by _nc_retrace_chtype().
3283         + add debug traces to some functions in lib_mouse.c
3284         + modify lib_addch.c to handle non-spacing characters.
3285         + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
3286           demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
3287         + correct width computed in _tracedump(), which did not account for
3288           the attributes (broken in 20010602).
3289         + modify test/tracemunch to replace addresses for windows other than
3290           curscr, newscr and stdscr with window0, window1, etc.
3291
3292 20020921 pre-release
3293         + redid fix for edit_man.sed path.
3294         + workaround for Cygwin bug which makes subprocess writes to stdout
3295           result in core dump.
3296         + documented getbegx(), etc.
3297         + minor fixes to configure script to use '%' consistently as a sed
3298           delimiter rather than '@'.
3299         > patch by Philippe Blain:
3300         + add check in lib_overlay.c to ensure that the windows to be merged
3301           actually overlap, and in copywin(), limit the area to be touched
3302           to the lines given for the destination window.
3303
3304 20020914 pre-release
3305         + modified curses.h so that if the wide-character version is installed
3306           overwriting /usr/include/curses.h, and if it relied on libutf8.h,
3307           then applications that use that header for wide-character support
3308           must define HAVE_LIBUTF8_H.
3309         + modify putwin(), getwin() and dupwin() to allow them to operate on
3310           pads (request by Philippe Blain).
3311         + correct attribute-merging in wborder(), broken in 20020216 (report
3312           by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
3313         > patch by Philippe Blain:
3314         + corrected pop-counts in tparam_internal() to '!' and '~' cases.
3315         + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
3316         + remove some unused variables from mvcur test-driver.
3317
3318 20020907 pre-release
3319         + change configure script to allow install of widec-character
3320           (ncursesw) headers to overwrite normal (ncurses) headers, since the
3321           latter is a compatible subset of the former.
3322         + fix path of edit_man.sed in configure script, needed to regenerate
3323           html manpages on Debian.
3324         + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
3325         + update README.emx to reflect current patch used for autoconf.
3326         + change web- and ftp-site to invisible-island.net
3327         > patch by Philippe Blain:
3328         + change case for 'P' in tparam_internal() to indicate that it pops
3329           a variable from the stack.
3330         + correct sense of precision and width in parse_format(), to avoid
3331           confusion.
3332         + modify lib_tparm.c, absorb really_get_space() into get_space().
3333         + modify getwin() and dupwin() to copy the _notimeout, _idlok and
3334           _idcok window fields.
3335         + better fix for _nc_set_type(), using typeMalloc().
3336
3337 20020901 pre-release
3338         + change minor version to 3, i.e., ncurses 5.3
3339         + update config.guess, config.sub
3340         + retest build with each configure option; minor ifdef fixes.
3341         + make keyname() return a null pointer rather than "UNKNOWN STRING" to
3342           match XSI.
3343         + modify handling of wide line-drawing character functions to use the
3344           normal line-drawing characters when not in UTF-8 locale.
3345         + add check/fix to comp_parse.c to suppress warning about missing acsc
3346           string.  This happens in configurations where raw termcap information
3347           is processed; tic already does this and other checks.
3348         + modify tic's check for ich/ich1 versus rmir/smir to only warn about
3349           ich1, to match xterm patch #70 notes.
3350         + moved information for ripped-off lines into SCREEN struct to allow
3351           use in resizeterm().
3352         + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
3353           (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
3354         + amend check in kgetch() from 20020824 to look only for function-keys,
3355           otherwise escape sequences are not resolved properly.
3356         > patch by Philippe Blain:
3357         + removed redundant assignment to SP->_checkfd from newterm().
3358         + check return-value of setupterm() in restartterm().
3359         + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
3360         + prevent dupwin() from duplicating a pad.
3361         + prevent putwin() from writing a pad.
3362         + use typeRealloc() or typeMalloc() in preference to direct calls on
3363           _nc_doalloc().
3364
3365 20020824
3366         + add a check in kgetch() for cooked characters in the fifo to avoid
3367           calling fifo_push() when a KEY_RESIZE is available (report/analysis
3368           by Sam Varshavchik <mrsam@courier-mta.com>).
3369         + fix an overlooked case for bugzilla #68199 (Philippe Blain).
3370         + ensure clearerr() is called before using ferror() e.g., in
3371           lib_screen.c (report by Philippe Blain).
3372
3373 20020817
3374         + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
3375           pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
3376           modify the global curscr/stdscr/newscr variables.  Fixes Redhat
3377           bugzilla #68199 dated 2002-07-07.
3378         + add checks for null pointer in calls to tparm() and tgoto() based on
3379           FreeBSD bug report.  If ncurses were built with termcap support, and
3380           the first call to tgoto() were a zero-length string, the result would
3381           be a null pointer, which was not handled properly.
3382         + correct a typo in terminfo.head, which gave the octal code for colon
3383           rather than comma.
3384         + remove the "tic -u" option from 20020810, since it did not account
3385           for nested "tc=" clauses, and when that was addressed, was still
3386           unsatisfactory.
3387
3388 20020810
3389         + add tic -A option to suppress capabilities which are commented out
3390           when translating to termcap.
3391         + add tic -u option to provide older behavior of "tc=" clauses.
3392         + modified tic to expand all but the final "tc=" clause in a termcap
3393           entry, to accommodate termcap libraries which do not handle multiple
3394           tc clauses.
3395         + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
3396           Philippe Blain).
3397         + remove a couple of redundant uses of A_ATTRIBUTES in expressions
3398           using AttrOf(), which already incorporates that mask (report by
3399           Philippe Blain).
3400         + document TABSIZE variable.
3401         + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
3402           override compiled-in default black-on-white assumption used in
3403           assume_default_colors().
3404         + correct an off-by-one comparison against max_colors in COLORFGBG
3405           logic.
3406         + correct a use of uninitialized memory found by valgrind (reported by
3407           Olaf Buddenhagen <olafBuddenhagen@web.de>).