| ------------------------------------------------------------------------------- |
| -- Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. -- |
| -- -- |
| -- Permission is hereby granted, free of charge, to any person obtaining a -- |
| -- copy of this software and associated documentation files (the -- |
| -- "Software"), to deal in the Software without restriction, including -- |
| -- without limitation the rights to use, copy, modify, merge, publish, -- |
| -- distribute, distribute with modifications, sublicense, and/or sell copies -- |
| -- of the Software, and to permit persons to whom the Software is furnished -- |
| -- to do so, subject to the following conditions: -- |
| -- -- |
| -- The above copyright notice and this permission notice shall be included -- |
| -- in all copies or substantial portions of the Software. -- |
| -- -- |
| -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- |
| -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- |
| -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -- |
| -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- |
| -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- |
| -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -- |
| -- USE OR OTHER DEALINGS IN THE SOFTWARE. -- |
| -- -- |
| -- Except as contained in this notice, the name(s) of the above copyright -- |
| -- holders shall not be used in advertising or otherwise to promote the -- |
| -- sale, use or other dealings in this Software without prior written -- |
| -- authorization. -- |
| ------------------------------------------------------------------------------- |
| -- $Id: NEWS,v 1.1320 2008/11/02 00:56:22 tom Exp $ |
| ------------------------------------------------------------------------------- |
| |
| This is a log of changes that ncurses has gone through since Zeyd started |
| working with Pavel Curtis' original work, pcurses, in 1992. |
| |
| Changes through 1.9.9e are recorded by Zeyd M Ben-Halim. |
| Changes since 1.9.9e are recorded by Thomas E Dickey. |
| |
| Contributors include those who have provided patches (even small ones), as well |
| as those who provide useful information (bug reports, analyses). Changes with |
| no cited author are the work of Thomas E Dickey (TD). |
| |
| A few contributors are given in this file by their initials. |
| They each account for one percent or more of the changes since 1.9.9e. |
| See the AUTHORS file for the corresponding full names. |
| |
| Changes through 1.9.9e did not credit all contributions; |
| it is not possible to add this information. |
| |
| 20081102 5.7 release for upload to ftp.gnu.org |
| |
| 20081025 |
| + add a manpage to discuss memory leaks. |
| + add support for shared libraries for QNX (other than libtool, which |
| does not work well on that platform). |
| + build-fix for QNX C++ binding. |
| |
| 20081018 |
| + build-fixes for OS/2 EMX. |
| + modify form library to accept control characters such as newline |
| in set_field_buffer(), which is compatible with Solaris (report by |
| Nit Khair). |
| + modify configure script to assume --without-hashed-db when |
| --disable-database is used. |
| + add "-e" option in ncurses/Makefile.in when generating source-files |
| to force earlier exit if the build environment fails unexpectedly |
| (prompted by patch by Adrian Bunk). |
| + change configure script to use CF_UTF8_LIB, improved variant of |
| CF_LIBUTF8. |
| |
| 20081012 |
| + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename |
| original to teraterm2.3 -TD |
| + update "gnome" terminfo to 2.22.3 -TD |
| + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD |
| + add "aterm" terminfo -TD |
| + add "linux2.6.26" terminfo -TD |
| + add logic to tic for cancelling strings in user-defined capabilities, |
| overlooked til now. |
| |
| 20081011 |
| + update html documentation. |
| + add -m and -s options to test/keynames.c and test/key_names.c to test |
| the meta() function with keyname() or key_name(), respectively. |
| + correct return value of key_name() on error; it is null. |
| + document some unresolved issues for rpath and pthreads in TO-DO. |
| + fix a missing prototype for ioctl() on OpenBSD in tset.c |
| + add configure option --disable-tic-depends to make explicit whether |
| tic library depends on ncurses/ncursesw library, amends change from |
| 20080823 (prompted by Debian #501421). |
| |
| 20081004 |
| + some build-fixes for configure --disable-ext-funcs (incomplete, but |
| works for C/C++ parts). |
| + improve configure-check for awks unable to handle large strings, e.g. |
| AIX 5.1 whose awk silently gives up on large printf's. |
| |
| 20080927 |
| + fix build for --with-dmalloc by workaround for redefinition of |
| strndup between string.h and dmalloc.h |
| + fix build for --disable-sigwinch |
| + add environment variable NCURSES_GPM_TERMS to allow override to use |
| GPM on terminals other than "linux", etc. |
| + disable GPM mouse support when $TERM does not happen to contain |
| "linux", since Gpm_Open() no longer limits its assertion to terminals |
| that it might handle, e.g., within "screen" in xterm. |
| + reset mouse file-descriptor when unloading GPM library (report by |
| Miroslav Lichvar). |
| + fix build for --disable-leaks --enable-widec --with-termlib |
| > patch by Juergen Pfeifer: |
| + use improved initialization for soft-label keys in Ada95 sample code. |
| + discard internal symbol _nc_slk_format (unused since 20080112). |
| + move call of slk_paint_info() from _nc_slk_initialize() to |
| slk_intern_refresh(), improving initialization. |
| |
| 20080925 |
| + fix bug in mouse code for GPM from 20080920 changes (reported in |
| Debian #500103, also Miroslav Lichvar). |
| |
| 20080920 |
| + fix shared-library rules for cygwin with tic- and tinfo-libraries. |
| + fix a memory leak when failure to connect to GPM. |
| + correct check for notimeout() in wgetch() (report on linux.redhat |
| newsgroup by FurtiveBertie). |
| + add an example warning-suppression file for valgrind, |
| misc/ncurses.supp (based on example from Reuben Thomas) |
| |
| 20080913 |
| + change shared-library configuration for OpenBSD, make rpath work. |
| + build-fixes for using libutf8, e.g., on OpenBSD 3.7 |
| |
| 20080907 |
| + corrected fix for --enable-weak-symbols (report by Frederic L W |
| Meunier). |
| |
| 20080906 |
| + corrected gcc options for building shared libraries on IRIX64. |
| + add configure check for awk programs unable to handle big-strings, |
| use that to improve the default for --enable-big-strings option. |
| + makefile-fixes for --enable-weak-symbols (report by Frederic L W |
| Meunier). |
| + update test/configure script. |
| + adapt ifdef's from library to make test/view.c build when mbrtowc() |
| is unavailable, e.g., with HPUX 10.20. |
| + add configure check for wcsrtombs, mbsrtowcs, which are used in |
| test/ncurses.c, and use wcstombs, mbstowcs instead if available, |
| fixing build of ncursew for HPUX 11.00 |
| |
| 20080830 |
| + fixes to make Ada95 demo_panels() example work. |
| + modify Ada95 'rain' test program to accept keyboard commands like the |
| C-version. |
| + modify BeOS-specific ifdef's to build on Haiku (patch by Scott |
| Mccreary). |
| + add configure-check to see if the std namespace is legal for cerr |
| and endl, to fix a build issue with Tru64. |
| + consistently use NCURSES_BOOL in lib_gen.c |
| + filter #line's from lib_gen.c |
| + change delimiter in MKlib_gen.sh from '%' to '@', to avoid |
| substitution by IBM xlc to '#' as part of its extensions to digraphs. |
| + update config.guess, config.sub from |
| http://savannah.gnu.org/projects/config |
| (caveat - its maintainer removed support for older Linux systems). |
| |
| 20080823 |
| + modify configure check for pthread library to work with OSF/1 5.1, |
| which uses #define's to associate its header and library. |
| + use pthread_mutexattr_init() for initializing pthread_mutexattr_t, |
| makes threaded code work on HPUX 11.23 |
| + fix a bug in demo_menus in freeing menus (cf: 20080804). |
| + modify configure script for the case where tic library is used (and |
| possibly renamed) to remove its dependency upon ncurses/ncursew |
| library (patch by Dr Werner Fink). |
| + correct manpage for menu_fore() which gave wrong default for |
| the attribute used to display a selected entry (report by Mike Gran). |
| + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by |
| Debian #495815) -TD |
| |
| 20080816 |
| + add configure option --enable-weak-symbols to turn on new feature. |
| + add configure-check for availability of weak symbols. |
| + modify linkage with pthread library to use weak symbols so that |
| applications not linked to that library will not use the mutexes, |
| etc. This relies on gcc, and may be platform-specific (patch by Dr |
| Werner Fink). |
| + add note to INSTALL to document limitation of renaming of tic library |
| using the --with-ticlib configure option (report by Dr Werner Fink). |
| + document (in manpage) why tputs does not detect I/O errors (prompted |
| by comments by Samuel Thibault). |
| + fix remaining warnings from Klocwork report. |
| |
| 20080804 |
| + modify _nc_panelhook() data to account for a permanent memory leak. |
| + fix memory leaks in test/demo_menus |
| + fix most warnings from Klocwork tool (report by Larry Zhou). |
| + modify configure script CF_XOPEN_SOURCE macro to add case for |
| "dragonfly" from xterm #236 changes. |
| + modify configure script --with-hashed-db to let $LIBS override the |
| search for the db library (prompted by report by Samson Pierre). |
| |
| 20080726 |
| + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining |
| thresholds). |
| |
| 20080713 |
| + build-fix (reports by Christian Ebert, Funda Wang). |
| |
| 20080712 |
| + compiler-warning fixes for Solaris. |
| |
| 20080705 |
| + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to |
| make those work properly with the "--enable-ext-mouse" configuration |
| (cf: 20050205). |
| + improve documentation of build-cc options in INSTALL. |
| + work-around a bug in gcc 4.2.4 on AIX, which does not pass the |
| -static/-dynamic flags properly to linker, causing test/bs to |
| not link. |
| |
| 20080628 |
| + correct some ifdef's needed for the broken-linker configuration. |
| + make debugging library's $BAUDRATE feature work for termcap |
| interface. |
| + make $NCURSES_NO_PADDING feature work for termcap interface (prompted |
| by comment on FreeBSD mailing list). |
| + add screen.mlterm terminfo entry -TD |
| + improve mlterm and mlterm+pcfkeys terminfo entries -TD |
| |
| 20080621 |
| + regenerated html documentation. |
| + expand manpage description of parameters for form_driver() and |
| menu_driver() (prompted by discussion with Adam Spragg). |
| + add null-pointer checks for cur_term in baudrate() and |
| def_shell_mode(), def_prog_mode() |
| + fix some memory leaks in delscreen() and wide acs. |
| |
| 20080614 |
| + modify test/ditto.c to illustrate multi-threaded use_screen(). |
| + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris. |
| + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report |
| by Poor Yorick). |
| |
| 20080607 |
| + finish changes to wgetch(), making it switch as needed to the |
| window's actual screen when calling wrefresh() and wgetnstr(). That |
| allows wgetch() to get used concurrently in different threads with |
| some minor restrictions, e.g., the application should not delete a |
| window which is being used in a wgetch(). |
| + simplify mutex's, combining the window- and screen-mutex's. |
| |
| 20080531 |
| + modify wgetch() to use the screen which corresponds to its window |
| parameter rather than relying on SP; some dependent functions still |
| use SP internally. |
| + factor out most use of SP in lib_mouse.c, using parameter. |
| + add internal _nc_keyname(), replacing keyname() to associate with a |
| particular SCREEN rather than the global SP. |
| + add internal _nc_unctrl(), replacing unctrl() to associate with a |
| particular SCREEN rather than the global SP. |
| + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate |
| its associated global buffer _nc_globals.tracemse_buf now in SCREEN. |
| + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in |
| preference to the global _nc_globals.tracechr_buf buffer. |
| |
| 20080524 |
| + modify _nc_keypad() to make it switch temporarily as needed to the |
| screen which must be updated. |
| + wrap cur_term variable to help make _nc_keymap() thread-safe, and |
| always set the screen's copy of this variable in set_curterm(). |
| + restore curs_set() state after endwin()/refresh() (report/patch |
| Miroslav Lichvar) |
| |
| 20080517 |
| + modify configure script to note that --enable-ext-colors and |
| --enable-ext-mouse are not experimental, but extensions from |
| the ncurses ABI 5. |
| + corrected manpage description of setcchar() (discussion with |
| Emanuele Giaquinta). |
| + fix for adding a non-spacing character at the beginning of a line |
| (report/patch by Miroslav Lichvar). |
| |
| 20080503 |
| + modify screen.* terminfo entries using new screen+fkeys to fix |
| overridden keys in screen.rxvt (Debian #478094) -TD |
| + modify internal interfaces to reduce wgetch()'s dependency on the |
| global SP. |
| + simplify some loops with macros each_screen(), each_window() and |
| each_ripoff(). |
| |
| 20080426 |
| + continue modifying test/ditto.c toward making it demonstrate |
| multithreaded use_screen(), using fifos to pass data between screens. |
| + fix typo in form.3x (report by Mike Gran). |
| |
| 20080419 |
| + add screen.rxvt terminfo entry -TD |
| + modify tic -f option to format spaces as \s to prevent them from |
| being lost when that is read back in unformatted strings. |
| + improve test/ditto.c, using a "talk"-style layout. |
| |
| 20080412 |
| + change test/ditto.c to use openpty() and xterm. |
| + add locks for copywin(), dupwin(), overlap(), overlay() on their |
| window parameters. |
| + add locks for initscr() and newterm() on updates to the SCREEN |
| pointer. |
| + finish table in curs_thread.3x manpage. |
| |
| 20080405 |
| + begin table in curs_thread.3x manpage describing the scope of data |
| used by each function (or symbol) for threading analysis. |
| + add null-pointer checks to setsyx() and getsyx() (prompted by |
| discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on |
| python-dev2 mailing list). |
| |
| 20080329 |
| + add null-pointer checks in set_term() and delscreen(). |
| + move _nc_windows into _nc_globals, since windows can be pads, which |
| are not associated with a particular screen. |
| + change use_screen() to pass the SCREEN* parameter rather than |
| stdscr to the callback function. |
| + force libtool to use tag for 'CC' in case it does not detect this, |
| e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc |
| (report/patch by Michael Haubenwallner). |
| + override OBJEXT to "lo" when building with libtool, to work on |
| platforms such as AIX where libtool may use a different suffix for |
| the object files than ".o" (report/patch by Michael Haubenwallner). |
| + add configure --with-pthread option, for building with the POSIX |
| thread library. |
| |
| 20080322 |
| + fill in extended-color pair two more places in wbkgrndset() and |
| waddch_nosync() (prompted by Sedeno's patch). |
| + fill in extended-color pair in _nc_build_wch() to make colors work |
| for wide-characters using extended-colors (patch by Alejandro R |
| Sedeno). |
| + add x/X toggles to ncurses.c C color test to test/demo |
| wide-characters with extended-colors. |
| + add a/A toggles to ncurses.c c/C color tests. |
| + modify test/ditto.c to use use_screen(). |
| + finish modifying test/rain.c to demonstrate threads. |
| |
| 20080308 |
| + start modifying test/rain.c for threading demo. |
| + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles |
| that the 'F' accepts. |
| + modify test/worm.c to show trail in reverse-video when other threads |
| are working concurrently. |
| + fix a deadlock from improper nesting of mutexes for windowlist and |
| window. |
| |
| 20080301 |
| + fixes from 20080223 resolved issue with mutexes; change to use |
| recursive mutexes to fix memory leak in delwin() as called from |
| _nc_free_and_exit(). |
| |
| 20080223 |
| + fix a size-difference in _nc_globals which caused hanging of mutex |
| lock/unlock when termlib was built separately. |
| |
| 20080216 |
| + avoid using nanosleep() in threaded configuration since that often |
| is implemented to suspend the entire process. |
| |
| 20080209 |
| + update test programs to build/work with various UNIX curses for |
| comparisons. This was to reinvestigate statement in X/Open curses |
| that insnstr and winsnstr perform wrapping. None of the Unix-branded |
| implementations do this, as noted in manpage (cf: 20040228). |
| |
| 20080203 |
| + modify _nc_setupscreen() to set the legacy-coding value the same |
| for both narrow/wide models. It had been set only for wide model, |
| but is needed to make unctrl() work with locale in the narrow model. |
| + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by |
| using unctrl() to display illegal bytes rather than trying to append |
| further bytes to make up a valid sequence (reported by Andrey A |
| Chernov). |
| + modify unctrl() to check codes in 128-255 range versus isprint(). |
| If they are not printable, and locale was set, use a "M-" or "~" |
| sequence. |
| |
| 20080126 |
| + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE |
| handling). Now it hangs in napms(), no matter whether nanosleep() |
| or poll() or select() are used on Linux. |
| |
| 20080119 |
| + fixes to build with --disable-ext-funcs |
| + add manpage for use_window and use_screen. |
| + add set_tabsize() and set_escdelay() functions. |
| |
| 20080112 |
| + remove recursive-mutex definitions, finish threading demo for worm.c |
| + remove a redundant adjustment of lines in resizeterm.c's |
| adjust_window() which caused occasional misadjustment of stdscr when |
| softkeys were used. |
| |
| 20080105 |
| + several improvements to terminfo entries based on xterm #230 -TD |
| + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the |
| "link_test" builds properly. |
| + fix for toe command-line options -u/-U to ensure filename is given. |
| + fix allocation-size for command-line parsing in infocmp from 20070728 |
| (report by Miroslav Lichvar) |
| + improve resizeterm() by moving ripped-off lines, and repainting the |
| soft-keys (report by Katarina Machalkova) |
| + add clarification in wclear's manpage noting that the screen will be |
| cleared even if a subwindow is cleared (prompted by Christer Enfors |
| question). |
| + change test/ncurses.c soft-key tests to work with KEY_RESIZE. |
| |
| 20071222 |
| + continue implementing support for threading demo by adding mutex |
| for delwin(). |
| |
| 20071215 |
| + add several functions to C++ binding which wrap C functions that |
| pass a WINDOW* parameter (request by Chris Lee). |
| |
| 20071201 |
| + add note about configure options needed for Berkeley database to the |
| INSTALL file. |
| + improve checks for version of Berkeley database libraries. |
| + amend fix for rpath to not modify LDFLAGS if the platform has no |
| applicable transformation (report by Christian Ebert, cf: 20071124). |
| |
| 20071124 |
| + modify configure option --with-hashed-db to accept a parameter which |
| is the install-prefix of a given Berkeley Database (prompted by |
| pierre4d2 comments). |
| + rewrite wrapper for wcrtomb(), making it work on Solaris. This is |
| used in the form library to determine the length of the buffer needed |
| by field_buffer (report by Alfred Fung). |
| + remove unneeded window-parameter from C++ binding for wresize (report |
| by Chris Lee). |
| |
| 20071117 |
| + modify the support for filesystems which do not support mixed-case to |
| generate 2-character (hexadecimal) codes for the lower-level of the |
| filesystem terminfo database (request by Michail Vidiassov). |
| + add configure option --enable-mixed-case, to allow overriding the |
| configure script's check if the filesystem supports mixed-case |
| filenames. |
| + add wresize() to C++ binding (request by Chris Lee). |
| + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make |
| it simpler to tell if the extended functions and/or colors are |
| declared. |
| |
| 20071103 |
| + update memory-leak checks for changes to names.c and codes.c |
| + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler). |
| |
| 20071020 |
| + continue implementing support for threading demo by adding mutex |
| for use_window(). |
| + add mrxvt terminfo entry, add/fix xterm building blocks for modified |
| cursor keys -TD |
| + compile with FreeBSD "contemporary" TTY interface (patch by |
| Rong-En Fan). |
| |
| 20071013 |
| + modify makefile rules to allow clear, tput and tset to be built |
| without libtic. The other programs (infocmp, tic and toe) rely on |
| that library. |
| + add/modify null-pointer checks in several functions for SP and/or |
| the WINDOW* parameter (report by Thorben Krueger). |
| + fixes for field_buffer() in formw library (see Redhat Bugzilla |
| #310071, patches by Miroslav Lichvar). |
| + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav |
| Lichvar). |
| + update/improve mlterm and rxvt terminfo entries, e.g., for |
| the modified cursor- and keypad-keys -TD |
| |
| 20071006 |
| + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which |
| changes the CharEq() macro to an inline function to allow comparing |
| cchar_t struct's without comparing gaps in a possibly unpacked |
| memory layout (report by Miroslav Lichvar). |
| |
| 20070929 |
| + add new functions to lib_trace.c to setup mutex's for the _tracef() |
| calls within the ncurses library. |
| + for the reentrant model, move _nc_tputs_trace and _nc_outchars into |
| the SCREEN. |
| + start modifying test/worm.c to provide threading demo (incomplete). |
| + separated ifdef's for some BSD-related symbols in tset.c, to make |
| it compile on LynxOS (report by Greg Gemmer). |
| 20070915 |
| + modify Ada95/gen/Makefile to use shlib script, to simplify building |
| shared-library configuration on platforms lacking rpath support. |
| + build-fix for Ada95/src/Makefile to reflect changed dependency for |
| the terminal-interface-curses-aux.adb file which is now generated. |
| + restructuring test/worm.c, for use_window() example. |
| |
| 20070908 |
| + add use_window() and use_screen() functions, to develop into support |
| for threaded library (incomplete). |
| + fix typos in man/curs_opaque.3x which kept the install script from |
| creating symbolic links to two aliases created in 20070818 (report by |
| Rong-En Fan). |
| |
| 20070901 |
| + remove a spurious newline from output of html.m4, which caused links |
| for Ada95 html to be incorrect for the files generated using m4. |
| + start investigating mutex's for SCREEN manipulation (incomplete). |
| + minor cleanup of codes.c/names.c for --enable-const |
| + expand/revise "Routine and Argument Names" section of ncurses manpage |
| to address report by David Givens in newsgroup discussion. |
| + fix interaction between --without-progs/--with-termcap configure |
| options (report by Michail Vidiassov). |
| + fix typo in "--disable-relink" option (report by Michail Vidiassov). |
| |
| 20070825 |
| + fix a sign-extension bug in infocmp's repair_acsc() function |
| (cf: 971004). |
| + fix old configure script bug which prevented "--disable-warnings" |
| option from working (patch by Mike Frysinger). |
| |
| 20070818 |
| + add 9term terminal description (request by Juhapekka Tolvanen) -TD |
| + modify comp_hash.c's string output to avoid misinterpreting a null |
| "\0" followed by a digit. |
| + modify MKnames.awk and MKcodes.awk to support big-strings. |
| This only applies to the cases (broken linker, reentrant) where |
| the corresponding arrays are accessed via wrapper functions. |
| + split MKnames.awk into two scripts, eliminating the shell redirection |
| which complicated the make process and also the bogus timestamp file |
| which was introduced to fix "make -j". |
| + add test/test_opaque.c, test/test_arrays.c |
| + add wgetscrreg() and wgetparent() for applications that may need it |
| when NCURSES_OPAQUE is defined (prompted by Bryan Christ). |
| |
| 20070812 |
| + amend treatment of infocmp "-r" option to retain the 1023-byte limit |
| unless "-T" is given (cf: 981017). |
| + modify comp_captab.c generation to use big-strings. |
| + make _nc_capalias_table and _nc_infoalias_table private accessed via |
| _nc_get_alias_table() since the tables are used only within the tic |
| library. |
| + modify configure script to skip Intel compiler in CF_C_INLINE. |
| + make _nc_info_hash_table and _nc_cap_hash_table private accessed via |
| _nc_get_hash_table() since the tables are used only within the tic |
| library. |
| |
| 20070728 |
| + make _nc_capalias_table and _nc_infoalias_table private, accessed via |
| _nc_get_alias_table() since they are used only by parse_entry.c |
| + make _nc_key_names private since it is used only by lib_keyname.c |
| + add --disable-big-strings configure option to control whether |
| unctrl.c is generated using the big-string optimization - which may |
| use strings longer than supported by a given compiler. |
| + reduce relocation tables for tic, infocmp by changing type of |
| internal hash tables to short, and make those private symbols. |
| + eliminate large fixed arrays from progs/infocmp.c |
| |
| 20070721 |
| + change winnstr() to stop at the end of the line (cf: 970315). |
| + add test/test_get_wstr.c |
| + add test/test_getstr.c |
| + add test/test_inwstr.c |
| + add test/test_instr.c |
| |
| 20070716 |
| + restore a call to obtain screen-size in _nc_setupterm(), which |
| is used in tput and other non-screen applications via setupterm() |
| (Debian #433357, reported by Florent Bayle, Christian Ohm, |
| cf: 20070310). |
| |
| 20070714 |
| + add test/savescreen.c test-program |
| + add check to trace-file open, if the given name is a directory, add |
| ".log" to the name and try again. |
| + add konsole-256color entry -TD |
| + add extra gcc warning options from xterm. |
| + minor fixes for ncurses/hashmap test-program. |
| + modify configure script to quiet c++ build with libtool when the |
| --disable-echo option is used. |
| + modify configure script to disable ada95 if libtool is selected, |
| writing a warning message (addresses FreeBSD ports/114493). |
| + update config.guess, config.sub |
| |
| 20070707 |
| + add continuous-move "M" to demo_panels to help test refresh changes. |
| + improve fix for refresh of window on top of multi-column characters, |
| taking into account some split characters on left/right window |
| boundaries. |
| |
| 20070630 |
| + add "widec" row to _tracedump() output to help diagnose remaining |
| problems with multi-column characters. |
| + partial fix for refresh of window on top of multi-column characters |
| which are partly overwritten (report by Sadrul H Chowdhury). |
| + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case |
| multi-column extension bits are passed there. |
| + add setlocale() call to demo_panels.c, needed for wide-characters. |
| + add some output flags to _nc_trace_ttymode to help diagnose a bug |
| report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET, |
| |
| 20070623 |
| + add test/demo_panels.c |
| + implement opaque version of setsyx() and getsyx(). |
| |
| 20070612 |
| + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm |
| #226 -TD |
| + split-out key_name() from MKkeyname.awk since it now depends upon |
| wunctrl() which is not in libtinfo (report by Rong-En Fan). |
| |
| 20070609 |
| + add test/key_name.c |
| + add stdscr cases to test/inchs.c and test/inch_wide.c |
| + update test/configure |
| + correct formatting of DEL (0x7f) in _nc_vischar(). |
| + null-terminate result of wunctrl(). |
| + add null-pointer check in key_name() (report by Andreas Krennmair, |
| cf: 20020901). |
| |
| 20070602 |
| + adapt mouse-handling code from menu library in form-library |
| (discussion with Clive Nicolson). |
| + add a modification of test/dots.c, i.e., test/dots_mvcur.c to |
| illustrate how to use mvcur(). |
| + modify wide-character flavor of SetAttr() to preserve the |
| WidecExt() value stored in the .attr field, e.g., in case it |
| is overwritten by chgat (report by Aleksi Torhamo). |
| + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo). |
| + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman). |
| |
| 20070526 |
| + modify keyname() to use "^X" form only if meta() has been called, or |
| if keyname() is called without initializing curses, e.g., via |
| initscr() or newterm() (prompted by LinuxBase #1604). |
| + document some portability issues in man/curs_util.3x |
| + add a shadow copy of TTY buffer to _nc_prescreen to fix applications |
| broken by moving that data into SCREEN (cf: 20061230). |
| |
| 20070512 |
| + add 'O' (wide-character panel test) in ncurses.c to demonstrate a |
| problem reported by Sadrul H Chowdhury with repainting parts of |
| a fullwidth cell. |
| + modify slk_init() so that if there are preceding calls to |
| ripoffline(), those affect the available lines for soft-keys (adapted |
| from patch by Clive Nicolson). |
| + document some portability issues in man/curs_getyx.3x |
| |
| 20070505 |
| + fix a bug in Ada95/samples/ncurses which caused a variable to |
| become uninitialized in the "b" test. |
| + fix Ada95/gen/Makefile.in adahtml rule to account for recent |
| movement of files, fix a few incorrect manpage references in the |
| generated html. |
| + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with |
| memory-checking. |
| + correct some functions in Ada95 binding which were using return value |
| from C where none was returned: idcok(), immedok() and wtimeout(). |
| + amend recent changes for Ada95 binding to make it build with |
| Cygwin's linker, e.g., with configure options |
| --enable-broken-linker --with-ticlib |
| |
| 20070428 |
| + add a configure check for gcc's options for inlining, use that to |
| quiet a warning message where gcc's default behavior changed from |
| 3.x to 4.x. |
| + improve warning message when checking if GPM is linked to curses |
| library by not warning if its use of "wgetch" is via a weak symbol. |
| + add loader options when building with static libraries to ensure that |
| an installed shared library for ncurses does not conflict. This is |
| reported as problem with Tru64, but could affect other platforms |
| (report Martin Mokrejs, analysis by Tim Mooney). |
| + fix build on cygwin after recent ticlib/termlib changes, i.e., |
| + adjust TINFO_SUFFIX value to work with cygwin's dll naming |
| + revert a change from 20070303 which commented out dependency of |
| SHLIB_LIST in form/menu/panel/c++ libraries. |
| + fix initialization of ripoff stack pointer (cf: 20070421). |
| |
| 20070421 |
| + move most static variables into structures _nc_globals and |
| _nc_prescreen, to simplify storage. |
| + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding |
| type for data manipulated by signal handlers (prompted by comments |
| in mailing.openbsd.bugs newsgroup). |
| + modify CF_WITH_LIBTOOL to allow one to pass options such as -static |
| to the libtool create- and link-operations. |
| |
| 20070414 |
| + fix whitespace in curs_opaque.3x which caused a spurious ';' in |
| the installed aliases (report by Peter Santoro). |
| + fix configure script to not try to generate adacurses-config when |
| Ada95 tree is not built. |
| |
| 20070407 |
| + add man/curs_legacy.3x, man/curs_opaque.3x |
| + fix acs_map binding for Ada95 when --enable-reentrant is used. |
| + add adacurses-config to the Ada95 install, based on version from |
| FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by |
| comment on comp.lang.ada newsgroup). |
| + fix includes in c++ binding to build with Intel compiler |
| (cf: 20061209). |
| + update install rule in Ada95 to use mkdirs.sh |
| > other fixes prompted by inspection for Coverity report: |
| + modify ifdef's for c++ binding to use try/catch/throw statements |
| + add a null-pointer check in tack/ansi.c request_cfss() |
| + fix a memory leak in ncurses/base/wresize.c |
| + corrected check for valid memu/meml capabilities in |
| progs/dump_entry.c when handling V_HPUX case. |
| > fixes based on Coverity report: |
| + remove dead code in test/bs.c |
| + remove dead code in test/demo_defkey.c |
| + remove an unused assignment in progs/infocmp.c |
| + fix a limit check in tack/ansi.c tools_charset() |
| + fix tack/ansi.c tools_status() to perform the VT320/VT420 |
| tests in request_cfss(). The function had exited too soon. |
| + fix a memory leak in tic.c's make_namelist() |
| + fix a couple of places in tack/output.c which did not check for EOF. |
| + fix a loop-condition in test/bs.c |
| + add index checks in lib_color.c for color palettes |
| + add index checks in progs/dump_entry.c for version_filter() handling |
| of V_BSD case. |
| + fix a possible null-pointer dereference in copywin() |
| + fix a possible null-pointer dereference in waddchnstr() |
| + add a null-pointer check in _nc_expand_try() |
| + add a null-pointer check in tic.c's make_namelist() |
| + add a null-pointer check in _nc_expand_try() |
| + add null-pointer checks in test/cardfile.c |
| + fix a double-free in ncurses/tinfo/trim_sgr0.c |
| + fix a double-free in ncurses/base/wresize.c |
| + add try/catch block to c++/cursesmain.cc |
| |
| 20070331 |
| + modify Ada95 binding to build with --enable-reentrant by wrapping |
| global variables (bug: acs_map does not yet work). |
| + modify Ada95 binding to use the new access-functions, allowing it |
| to build/run when NCURSES_OPAQUE is set. |
| + add access-functions and macros to return properties of the WINDOW |
| structure, e.g., when NCURSES_OPAQUE is set. |
| + improved install-sh's quoting. |
| + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from |
| other programs. |
| |
| 20070324 |
| + eliminate part of the direct use of WINDOW data from Ada95 interface. |
| + fix substitutions for termlib filename to make configure option |
| --enable-reentrant work with --with-termlib. |
| + change a constructor for NCursesWindow to allow compiling with |
| NCURSES_OPAQUE set, since we cannot pass a reference to |
| an opaque pointer. |
| |
| 20070317 |
| + ignore --with-chtype=unsigned since unsigned is always added to |
| the type in curses.h; do the same for --with-mmask-t. |
| + change warning regarding --enable-ext-colors and wide-character |
| in the configure script to an error. |
| + tweak error message in CF_WITH_LIBTOOL to distinguish other programs |
| such as Darwin's libtool program (report by Michail Vidiassov) |
| + modify edit_man.sh to allow for multiple substitutions per line. |
| + set locale in misc/ncurses-config.in since it uses a range |
| + change permissions libncurses++.a install (report by Michail |
| Vidiassov). |
| + corrected length of temporary buffer in wide-character version |
| of set_field_buffer() (related to report by Bryan Christ). |
| |
| 20070311 |
| + fix mk-1st.awk script install_shlib() function, broken in 20070224 |
| changes for cygwin (report by Michail Vidiassov). |
| |
| 20070310 |
| + increase size of array in _nc_visbuf2n() to make "tic -v" work |
| properly in its similar_sgr() function (report/analysis by Peter |
| Santoro). |
| + add --enable-reentrant configure option for ongoing changes to |
| implement a reentrant version of ncurses: |
| + libraries are suffixed with "t" |
| + wrap several global variables (curscr, newscr, stdscr, ttytype, |
| COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as |
| functions returning values stored in SCREEN or cur_term. |
| + move some initialization (LINES, COLS) from lib_setup.c, |
| i.e., setupterm() to _nc_setupscreen(), i.e., newterm(). |
| |
| 20070303 |
| + regenerated html documentation. |
| + add NCURSES_OPAQUE symbol to curses.h, will use to make structs |
| opaque in selected configurations. |
| + move the chunk in lib_acs.c which resets acs capabilities when |
| running on a terminal whose locale interferes with those into |
| _nc_setupscreen(), so the libtinfo/libtinfow files can be made |
| identical (requested by Miroslav Lichvar). |
| + do not use configure variable SHLIB_LIBS for building libraries |
| outside the ncurses directory, since that symbol is customized |
| only for that directory, and using it introduces an unneeded |
| dependency on libdl (requested by Miroslav Lichvar). |
| + modify mk-1st.awk so the generated makefile rules for linking or |
| installing shared libraries do not first remove the library, in |
| case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff |
| Chua). |
| + revised section "Using NCURSES under XTERM" in ncurses-intro.html |
| (prompted by newsgroup comment by Nick Guenther). |
| |
| 20070224 |
| + change internal return codes of _nc_wgetch() to check for cases |
| where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was |
| ungetch'd, and read by wget_wch(). |
| + fix static-library build broken in 20070217 changes to remove "-ldl" |
| (report by Miroslav Lichvar). |
| + change makefile/scripts for cygwin to allow building termlib. |
| + use Form_Hook in manpages to match form.h |
| + use Menu_Hook in manpages, as well as a few places in menu.h |
| + correct form- and menu-manpages to use specific Field_Options, |
| Menu_Options and Item_Options types. |
| + correct prototype for _tracechar() in manpage (cf: 20011229). |
| + correct prototype for wunctrl() in manpage. |
| |
| 20070217 |
| + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav |
| Lichvar). |
| + modify relinking of shared libraries to apply only when rpath is |
| enabled, and add --disable-relink option which can be used to |
| disable the feature altogether (reports by Michail Vidiassov, |
| Adam J Richter). |
| + fix --with-termlib option for wide-character configuration, stripping |
| the "w" suffix in one place (report by Miroslav Lichvar). |
| + remove "-ldl" from some library lists to reduce dependencies in |
| programs (report by Miroslav Lichvar). |
| + correct description of --enable-signed-char in configure --help |
| (report by Michail Vidiassov). |
| + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE, |
| which matches an earlier change to CF_SHARED_OPTS, from xterm #224 |
| fixes. |
| + remove "${DESTDIR}" from -install_name option used for linking |
| shared libraries on Darwin (report by Michail Vidiassov). |
| |
| 20070210 |
| + add test/inchs.c, test/inch_wide.c, to test win_wchnstr(). |
| + remove libdl from library list for termlib (report by Miroslav |
| Lichvar). |
| + fix configure.in to allow --without-progs --with-termlib (patch by |
| Miroslav Lichvar). |
| + modify win_wchnstr() to ensure that only a base cell is returned |
| for each multi-column character (prompted by report by Wei Kong |
| regarding change in mvwin_wch() cf: 20041023). |
| |
| 20070203 |
| + modify fix_wchnstr() in form library to strip attributes (and color) |
| from the cchar_t array (field cells) read from a field's window. |
| Otherwise, when copying the field cells back to the window, the |
| associated color overrides the field's background color (report by |
| Ricardo Cantu). |
| + improve tracing for form library, showing created forms, fields, etc. |
| + ignore --enable-rpath configure option if --with-shared was omitted. |
| + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints |
| to allow leak-checking when both tic- and tinfo-libraries are built. |
| + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding |
| no longer relies on it. |
| + disallow combining configure script options --with-ticlib and |
| --enable-termcap (report by Rong-En Fan). |
| + remove tack from ncurses tree. |
| |
| 20070128 |
| + fix typo in configure script that broke --with-termlib option |
| (report by Rong-En Fan). |
| |
| 20070127 |
| + improve fix for FreeBSD gnu/98975, to allow for null pointer passed |
| to tgetent() (report by Rong-en Fan). |
| + update tack/HISTORY and tack/README to tell how to build it after |
| it is removed from the ncurses tree. |
| + fix configure check for libtool's version to trim blank lines |
| (report by sci-fi@hush.ai). |
| + review/eliminate other original-file artifacts in cursesw.cc, making |
| its license consistent with ncurses. |
| + use ncurses vw_scanw() rather than reading into a fixed buffer in |
| the c++ binding for scanw() methods (prompted by report by Nuno Dias). |
| + eliminate fixed-buffer vsprintf() calls in c++ binding. |
| |
| 20070120 |
| + add _nc_leaks_tic() to separate leak-checking of tic library from |
| term/ncurses libraries, and thereby eliminate a library dependency. |
| + fix test/mk-test.awk to ignore blank lines. |
| + correct paths in include/headers, for --srcdir (patch by Miroslav |
| Lichvar). |
| |
| 20070113 |
| + add a break-statement in misc/shlib to ensure that it exits on the |
| _first_ matched directory (report by Paul Novak). |
| + add tack/configure, which can be used to build tack outside the |
| ncurses build-tree. |
| + add --with-ticlib option, to build/install the tic-support functions |
| in a separate library (suggested by Miroslav Lichvar). |
| |
| 20070106 |
| + change MKunctrl.awk to reduce relocation table for unctrl.o |
| + change MKkeyname.awk to reduce relocation table for keyname.o |
| (patch by Miroslav Lichvar). |
| |
| 20061230 |
| + modify configure check for libtool's version to trim blank lines |
| (report by sci-fi@hush.ai). |
| + modify some modules to allow them to be reentrant if _REENTRANT is |
| defined: lib_baudrate.c, resizeterm.c (local data only) |
| + eliminate static data from some modules: add_tries.c, hardscroll.c, |
| lib_ttyflags.c, lib_twait.c |
| + improve manpage install to add aliases for the transformed program |
| names, e.g., from --program-prefix. |
| + used linklint to verify links in the HTML documentation, made fixes |
| to manpages as needed. |
| + fix a typo in curs_mouse.3x (report by William McBrine). |
| + fix install-rule for ncurses5-config to make the bin-directory. |
| |
| 20061223 |
| + modify configure script to omit the tic (terminfo compiler) support |
| from ncurses library if --without-progs option is given. |
| + modify install rule for ncurses5-config to do this via "install.libs" |
| + modify shared-library rules to allow FreeBSD 3.x to use rpath. |
| + update config.guess, config.sub |
| |
| 20061217 5.6 release for upload to ftp.gnu.org |
| |
| 20061217 |
| + add ifdef's for <wctype.h> for HPUX, which has the corresponding |
| definitions in <wchar.h>. |
| + revert the va_copy() change from 20061202, since it was neither |
| correct nor portable. |
| + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for |
| rpath on Solaris. |
| + ignore wide-acs line-drawing characters that wcwidth() claims are |
| not one-column. This is a workaround for Solaris' broken locale |
| support. |
| |
| 20061216 |
| + modify configure --with-gpm option to allow it to accept a parameter, |
| i.e., the name of the dynamic GPM library to load via dlopen() |
| (requested by Bryan Henderson). |
| + add configure option --with-valgrind, changes from vile. |
| + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use |
| 'return' in preference to 'exit()'. |
| |
| 20061209 |
| + change default for --with-develop back to "no". |
| + add XTABS to tracing of TTY bits. |
| + updated autoconf patch to ifdef-out the misfeature which declares |
| exit() for configure tests. This fixes a redefinition warning on |
| Solaris. |
| + use ${CC} rather than ${LD} in shared library rules for IRIX64, |
| Solaris to help ensure that initialization sections are provided for |
| extra linkage requirements, e.g., of C++ applications (prompted by |
| comment by Casper Dik in newsgroup). |
| + rename "$target" in CF_MAN_PAGES to make it easier to distinguish |
| from the autoconf predefined symbol. There was no conflict, |
| since "$target" was used only in the generated edit_man.sh file, |
| but SuSE's rpm package contains a patch. |
| |
| 20061202 |
| + update man/term.5 to reflect extended terminfo support and hashed |
| database configuration. |
| + updates for test/configure script. |
| + adapted from SuSE rpm package: |
| + remove long-obsolete workaround for broken-linker which declared |
| cur_term in tic.c |
| + improve error recovery in PUTC() macro when wcrtomb() does not |
| return usable results for an 8-bit character. |
| + patches from rpm package (SuSE): |
| + use va_copy() in extra varargs manipulation for tracing version |
| of printw, etc. |
| + use a va_list rather than a null in _nc_freeall()'s call to |
| _nc_printf_string(). |
| + add some see-also references in manpages to show related |
| wide-character functions (suggested by Claus Fischer). |
| |
| 20061125 |
| + add a check in lib_color.c to ensure caller does not increase COLORS |
| above max_colors, which is used as an array index (discussion with |
| Simon Sasburg). |
| + add ifdef's allowing ncurses to be built with tparm() using either |
| varargs (the existing status), or using a fixed-parameter list (to |
| match X/Open). |
| |
| 20061104 |
| + fix redrawing of windows other than stdscr using wredrawln() by |
| touching the corresponding rows in curscr (discussion with Dan |
| Gookin). |
| + add test/redraw.c |
| + add test/echochar.c |
| + review/cleanup manpage descriptions of error-returns for form- and |
| menu-libraries (prompted by FreeBSD docs/46196). |
| |
| 20061028 |
| + add AUTHORS file -TD |
| + omit the -D options from output of the new config script --cflags |
| option (suggested by Ralf S Engelschall). |
| + make NCURSES_INLINE unconditionally defined in curses.h |
| |
| 20061021 |
| + revert change to accommodate bash 3.2, since that breaks other |
| platforms, e.g., Solaris. |
| + minor fixes to NEWS file to simplify scripting to obtain list of |
| contributors. |
| + improve some shared-library configure scripting for Linux, FreeBSD |
| and NetBSD to make "--with-shlib-version" work. |
| + change configure-script rules for FreeBSD shared libraries to allow |
| for rpath support in versions past 3. |
| + use $(DESTDIR) in makefile rules for installing/uninstalling the |
| package config script (reports/patches by Christian Wiese, |
| Ralf S Engelschall). |
| + fix a warning in the configure script for NetBSD 2.0, working around |
| spurious blanks embedded in its ${MAKEFLAGS} symbol. |
| + change test/Makefile to simplify installing test programs in a |
| different directory when --enable-rpath is used. |
| |
| 20061014 |
| + work around bug in bash 3.2 by adding extra quotes (Jim Gifford). |
| + add/install a package config script, e.g., "ncurses5-config" or |
| "ncursesw5-config", according to configuration options. |
| |
| 20061007 |
| + add several GNU Screen terminfo variations with 16- and 256-colors, |
| and status line (Alain Bench). |
| + change the way shared libraries (other than libtool) are installed. |
| Rather than copying the build-tree's libraries, link the shared |
| objects into the install directory. This makes the --with-rpath |
| option work except with $(DESTDIR) (cf: 20000930). |
| |
| 20060930 |
| + fix ifdef in c++/internal.h for QNX 6.1 |
| + test-compiled with (old) egcs-1.1.2, modified configure script to |
| not unset the $CXX and related variables which would prevent this. |
| + fix a few terminfo.src typos exposed by improvments to "-f" option. |
| + improve infocmp/tic "-f" option formatting. |
| |
| 20060923 |
| + make --disable-largefile option work (report by Thomas M Ott). |
| + updated html documentation. |
| + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD |
| + minor improvements to rxvt+pcfkeys -TD |
| |
| 20060916 |
| + move static data from lib_mouse.c into SCREEN struct. |
| + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X |
| (report by Michail Vidiassov). |
| + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix |
| option (from lynx changes) -TD |
| + adapt AC_PROG_EGREP check, noting that this is likely to be another |
| place aggravated by POSIXLY_CORRECT. |
| + modify configure check for awk to ensure that it is found (prompted |
| by report by Christopher Parker). |
| + update config.sub |
| |
| 20060909 |
| + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD |
| + remove invis capability from klone+sgr, mainly used by linux entry, |
| since it does not really do this -TD |
| |
| 20060903 |
| + correct logic in wadd_wch() and wecho_wch(), which did not guard |
| against passing the multi-column attribute into a call on waddch(), |
| e.g., using data returned by win_wch() (cf: 20041023) |
| (report by Sadrul H Chowdhury). |
| |
| 20060902 |
| + fix kterm's acsc string -TD |
| + fix for change to tic/infocmp in 20060819 to ensure no blank is |
| embedded into a termcap description. |
| + workaround for 20050806 ifdef's change to allow visbuf.c to compile |
| when using --with-termlib --with-trace options. |
| + improve tgetstr() by making the return value point into the user's |
| buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla |
| #202480)). |
| + correct libraries needed for foldkeys (report by Stanislav Ievlev) |
| |
| 20060826 |
| + add terminfo entries for xfce terminal (xfce) and multi gnome |
| terminal (mgt) -TD |
| + add test/foldkeys.c |
| |
| 20060819 |
| + modify tic and infocmp to avoid writing trailing blanks on terminfo |
| source output (Debian #378783). |
| + modify configure script to ensure that if the C compiler is used |
| rather than the loader in making shared libraries, the $(CFLAGS) |
| variable is also used (Redhat Bugzilla #199369). |
| + port hashed-db code to db2 and db3. |
| + fix a bug in tgetent() from 20060625 and 20060715 changes |
| (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)). |
| |
| 20060805 |
| + updated xterm function-keys terminfo to match xterm #216 -TD |
| + add configure --with-hashed-db option (tested only with FreeBSD 6.0, |
| e.g., the db 1.8.5 interface). |
| |
| 20060729 |
| + modify toe to access termcap data, e.g., via cgetent() functions, |
| or as a text file if those are not available. |
| + use _nc_basename() in tset to improve $SHELL check for csh/sh. |
| + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp, |
| can access termcap data when the terminfo database is disabled. |
| |
| 20060722 |
| + widen the test for xterm kmous a little to allow for other strings |
| than \E[M, e.g., for xterm-sco functionality in xterm. |
| + update xterm-related terminfo entries to match xterm patch #216 -TD |
| + update config.guess, config.sub |
| |
| 20060715 |
| + fix for install-rule in Ada95 to add terminal_interface.ads |
| and terminal_interface.ali (anonymous posting in comp.lang.ada). |
| + correction to manpage for getcchar() (report by William McBrine). |
| + add test/chgat.c |
| + modify wchgat() to mark updated cells as changed so a refresh will |
| repaint those cells (comments by Sadrul H Chowdhury and William |
| McBrine). |
| + split up dependency of names.c and codes.c in ncurses/Makefile to |
| work with parallel make (report/analysis by Joseph S Myers). |
| + suppress a warning message (which is ignored) for systems without |
| an ldconfig program (patch by Justin Hibbits). |
| + modify configure script --disable-symlinks option to allow one to |
| disable symlink() in tic even when link() does not work (report by |
| Nigel Horne). |
| + modify MKfallback.sh to use tic -x when constructing fallback tables |
| to allow extended capabilities to be retrieved from a fallback entry. |
| + improve leak-checking logic in tgetent() from 20060625 to ensure that |
| it does not free the current screen (report by Miroslav Lichvar). |
| |
| 20060708 |
| + add a check for _POSIX_VDISABLE in tset (NetBSD #33916). |
| + correct _nc_free_entries() and related functions used for memory leak |
| checking of tic. |
| |
| 20060701 |
| + revert a minor change for magic-cookie support from 20060513, which |
| caused unexpected reset of attributes, e.g., when resizing test/view |
| in color mode. |
| + note in clear manpage that the program ignores command-line |
| parameters (prompted by Debian #371855). |
| + fixes to make lib_gen.c build properly with changes to the configure |
| --disable-macros option and NCURSES_NOMACROS (cf: 20060527) |
| + update/correct several terminfo entries -TD |
| + add some notes regarding copyright to terminfo.src -TD |
| |
| 20060625 |
| + fixes to build Ada95 binding with gnat-4.1.0 |
| + modify read_termtype() so the term_names data is always allocated as |
| part of the str_table, a better fix for a memory leak (cf: 20030809). |
| + reduce memory leaks in repeated calls to tgetent() by remembering the |
| last TERMINAL* value allocated to hold the corresponding data and |
| freeing that if the tgetent() result buffer is the same as the |
| previous call (report by "Matt" for FreeBSD gnu/98975). |
| + modify tack to test extended capability function-key strings. |
| + improved gnome terminfo entry (GenToo #122566). |
| + improved xterm-256color terminfo entry (patch by Alain Bench). |
| |
| 20060617 |
| + fix two small memory leaks related to repeated tgetent() calls |
| with TERM=screen (report by "Matt" for FreeBSD gnu/98975). |
| + add --enable-signed-char to simplify Debian package. |
| + reduce name-pollution in term.h by removing #define's for HAVE_xxx |
| symbols. |
| + correct typo in curs_terminfo.3x (Debian #369168). |
| |
| 20060603 |
| + enable the mouse in test/movewindow.c |
| + improve a limit-check in frm_def.c (John Heasley). |
| + minor copyright fixes. |
| + change configure script to produce test/Makefile from data file. |
| |
| 20060527 |
| + add a configure option --enable-wgetch-events to enable |
| NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in |
| lib_twait.c (report by Bernd Jendrissek). |
| + remove include/nomacros.h from build, since the ifdef for |
| NCURSES_NOMACROS makes that obsolete. |
| + add entrypoints for some functions which were only provided as macros |
| to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(), |
| getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(), |
| wgetbkgrnd(). |
| + provide ifdef for NCURSES_NOMACROS which suppresses most macro |
| definitions from curses.h, i.e., where a macro is defined to override |
| a function to improve performance. Allowing a developer to suppress |
| these definitions can simplify some application (discussion with |
| Stanislav Ievlev). |
| + improve description of memu/meml in terminfo manpage. |
| |
| 20060520 |
| + if msgr is false, reset video attributes when doing an automargin |
| wrap to the next line. This makes the ncurses 'k' test work properly |
| for hpterm. |
| + correct caching of keyname(), which was using only half of its table. |
| + minor fixes to memory-leak checking. |
| + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than |
| arrays, making ACS_LEN less visible to applications (suggested by |
| Stanislav Ievlev). |
| + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so |
| _screen_acs_map will have the same offset in both ncurses/ncursesw, |
| making the corresponding tinfo/tinfow libraries binary-compatible |
| (cf: 20041016, report by Stanislav Ievlev). |
| |
| 20060513 |
| + improve debug-tracing for EmitRange(). |
| + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS |
| and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime |
| suppression of the related hard-tabs and xmc-glitch features. |
| + add ncurses version number to top-level manpages, e.g., ncurses, tic, |
| infocmp, terminfo as well as form, menu, panel. |
| + update config.guess, config.sub |
| + modify ncurses.c to work around a bug in NetBSD 3.0 curses |
| (field_buffer returning null for a valid field). The 'r' test |
| appears to not work with that configuration since the new_fieldtype() |
| function is broken in that implementation. |
| |
| 20060506 |
| + add hpterm-color terminfo entry -TD |
| + fixes to compile test-programs with HPUX 11.23 |
| |
| 20060422 |
| + add copyright notices to files other than those that are generated, |
| data or adapted from pdcurses (reports by William McBrine, David |
| Taylor). |
| + improve rendering on hpterm by not resetting attributes at the end |
| of doupdate() if the terminal has the magic-cookie feature (report |
| by Bernd Rieke). |
| + add 256color variants of terminfo entries for programs which are |
| reported to implement this feature -TD |
| |
| 20060416 |
| + fix typo in change to NewChar() macro from 20060311 changes, which |
| broke tab-expansion (report by Frederic L W Meunier). |
| |
| 20060415 |
| + document -U option of tic and infocmp. |
| + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed |
| due to size limit, e.g., converting to termcap format. Also |
| suppress them if the output format does not contain acsc and it |
| was not VT100-like, i.e., a one-one mapping (Novell #163715). |
| + add configure check to ensure that SIGWINCH is defined on platforms |
| such as OS X which exclude that when _XOPEN_SOURCE, etc., are |
| defined (report by Nicholas Cole) |
| |
| 20060408 |
| + modify write_object() to not write coincidental extensions of an |
| entry made due to it being referenced in a use= clause (report by |
| Alain Bench). |
| + another fix for infocmp -i option, which did not ensure that some |
| escape sequences had comparable prefixes (report by Alain Bench). |
| |
| 20060401 |
| + improve discussion of init/reset in terminfo and tput manpages |
| (report by Alain Bench). |
| + use is3 string for a fallback of rs3 in the reset program; it was |
| using is2 (report by Alain Bench). |
| + correct logic for infocmp -i option, which did not account for |
| multiple digits in a parameter (cf: 20040828) (report by Alain |
| Bench). |
| + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib |
| option work after 20060114 changes (report by Arkadiusz Miskiewicz). |
| + add copyright notices to test-programs as needed (report by William |
| McBrine). |
| |
| 20060318 |
| + modify ncurses.c 'F' test to combine the wide-characters with color |
| and/or video attributes. |
| + modify test/ncurses to use CTL/Q or ESC consistently for exiting |
| a test-screen (some commands used 'x' or 'q'). |
| |
| 20060312 |
| + fix an off-by-one in the scrolling-region change (cf_ 20060311). |
| |
| 20060311 |
| + add checks in waddchnstr() and wadd_wchnstr() to stop copying when |
| a null character is found (report by Igor Bogomazov). |
| + modify progs/Makefile.in to make "tput init" work properly with |
| cygwin, i.e., do not pass a ".exe" in the reference string used |
| in check_aliases (report by Samuel Thibault). |
| + add some checks to ensure current position is within scrolling |
| region before scrolling on a new line (report by Dan Gookin). |
| + change some NewChar() usage to static variables to work around |
| stack garbage introduced when cchar_t is not packed (Redhat #182024). |
| |
| 20060225 |
| + workarounds to build test/movewindow with PDcurses 2.7. |
| + fix for nsterm-16color entry (patch by Alain Bench). |
| + correct a typo in infocmp manpage (Debian #354281). |
| |
| 20060218 |
| + add nsterm-16color entry -TD |
| + updated mlterm terminfo entry -TD |
| + remove 970913 feature for copying subwindows as they are moved in |
| mvwin() (discussion with Bryan Christ). |
| + modify test/demo_menus.c to demonstrate moving a menu (both the |
| window and subwindow) using shifted cursor-keys. |
| + start implementing recursive mvwin() in movewindow.c (incomplete). |
| + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h, |
| for movewindow.c (report by William McBrine). |
| + add help-message to test/movewindow.c |
| |
| 20060211 |
| + add test/movewindow.c, to test mvderwin(). |
| + fix ncurses soft-key test so color changes are shown immediately |
| rather than delayed. |
| + modify ncurses soft-key test to hide the keys when exiting the test |
| screen. |
| + fixes to build test programs with PDCurses 2.7, e.g., its headers |
| rely on autoconf symbols, and it declares stubs for nonfunctional |
| terminfo and termcap entrypoints. |
| |
| 20060204 |
| + improved test/configure to build test/ncurses on HPUX 11 using the |
| vendor curses. |
| + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the |
| benefit of developers who do not read INSTALL. |
| |
| 20060128 |
| + correct form library Window_To_Buffer() change (cf: 20040516), which |
| should ignore the video attributes (report by Ricardo Cantu). |
| |
| 20060121 |
| + minor fixes to xmc-glitch experimental code: |
| + suppress line-drawing |
| + implement max_attributes |
| tested with xterm. |
| + minor fixes for the database iterator. |
| + fix some buffer limits in c++ demo (comment by Falk Hueffner in |
| Debian #348117). |
| |
| 20060114 |
| + add toe -a option, to show all databases. This uses new private |
| interfaces in the ncurses library for iterating through the list of |
| databases. |
| + fix toe from 20000909 changes which made it not look at |
| $HOME/.terminfo |
| + make toe's -v option parameter optional as per manpage. |
| + improve SIGWINCH handling by postponing its effect during newterm(), |
| etc., when allocating screens. |
| |
| 20060111 |
| + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use |
| this in test/filter.c |
| + fix an error in filter() modification which caused some applications |
| to fail. |
| |
| 20060107 |
| + check if filter() was called when getting the screensize. Keep it |
| at 1 if so (based on Redhat #174498). |
| + add extension nofilter(). |
| + refined the workaround for ACS mapping. |
| + make ifdef's consistent in curses.h for the extended colors so the |
| header file can be used for the normal curses library. The header |
| file installed for extended colors is a variation of the |
| wide-character configuration (report by Frederic L W Meunier). |
| |
| 20051231 |
| + add a workaround to ACS mapping to allow applications such as |
| test/blue.c to use the "PC ROM" characters by masking them with |
| A_ALTCHARSET. This worked up til 5.5, but was lost in the revision |
| of legacy coding (report by Michael Deutschmann). |
| + add a null-pointer check in the wide-character version of |
| calculate_actual_width() (report by Victor Julien). |
| + improve test/ncurses 'd' (color-edit) test by allowing the RGB |
| values to be set independently (patch by William McBrine). |
| + modify test/configure script to allow building test programs with |
| PDCurses/X11. |
| + modified test programs to allow some to work with NetBSD curses. |
| Several do not because NetBSD curses implements a subset of X/Open |
| curses, and also lacks much of SVr4 additions. But it's enough for |
| comparison. |
| + update config.guess and config.sub |
| |
| 20051224 |
| + use BSD-specific fix for return-value from cgetent() from CVS where |
| an unknown terminal type would be reportd as "database not found". |
| + make tgetent() return code more readable using new symbols |
| TGETENT_YES, etc. |
| + remove references to non-existent "tctest" program. |
| + remove TESTPROGS from progs/Makefile.in (it was referring to code |
| that was never built in that directory). |
| + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS). |
| |
| 20051217 |
| + add use_legacy_coding() function to support lynx's font-switching |
| feature. |
| + fix formatting in curs_termcap.3x (report by Mike Frysinger). |
| + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to |
| bool. |
| |
| 20051210 |
| + extend test/ncurses.c 's' (overlay window) test to exercise overlay(), |
| overwrite() and copywin() with different combinations of colors and |
| attributes (including background color) to make it easy to see the |
| effect of the different functions. |
| + corrections to menu/m_global.c for wide-characters (report by |
| Victor Julien). |
| |
| 20051203 |
| + add configure option --without-dlsym, allowing developers to |
| configure GPM support without using dlsym() (discussion with Michael |
| Setzer). |
| + fix wins_nwstr(), which did not handle single-column non-8bit codes |
| (Debian #341661). |
| |
| 20051126 |
| + move prototypes for wide-character trace functions from curses.tail |
| to curses.wide to avoid accidental reference to those if |
| _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is |
| included. |
| + add/use NCURSES_INLINE definition. |
| + change some internal functions to use int/unsigned rather than the |
| short equivalents. |
| |
| 20051119 |
| + remove a redundant check in lib_color.c (Debian #335655). |
| + use ld's -search_paths_first option on Darwin to work around odd |
| search rules on that platform (report by Christian Gennerat, analysis |
| by Andrea Govoni). |
| + remove special case for Darwin in CF_XOPEN_SOURCE configure macro. |
| + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518). |
| + fix several bugs in test/bs.c (patch by Stephen Lindholm). |
| |
| 20051112 |
| + other minor fixes to cygwin based on tack -TD |
| + correct smacs in cygwin (Debian #338234, report by Baurzhan |
| Ismagulov, who noted that it was fixed in Cygwin). |
| |
| 20051029 |
| + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD |
| + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits |
| since those record the state of multicolumn characters (Debian |
| #316663). |
| + modify werase to clear multicolumn characters that extend into |
| a derived window (Debian #316663). |
| |
| 20051022 |
| + move assignment from environment variable ESCDELAY from initscr() |
| down to newterm() so the environment variable affects timeouts for |
| terminals opened with newterm() as well. |
| + fix a memory leak in keyname(). |
| + add test/demo_altkeys.c |
| + modify test/demo_defkey.c to exit from loop via 'q' to allow |
| leak-checking, as well as fix a buffer size in winnstr() call. |
| |
| 20051015 |
| + correct order of use-clauses in rxvt-basic entry which made codes for |
| f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp). |
| + suppress configure check for gnatmake if Ada95/Makefile.in is not |
| found. |
| + correct a typo in configure --with-bool option for the case where |
| --without-cxx is used (report by Daniel Jacobowitz). |
| + add a note to INSTALL's discussion of --with-normal, pointing out |
| that one may wish to use --without-gpm to ensure a completely |
| static link (prompted by report by Felix von Leitner). |
| |
| 20051010 5.5 release for upload to ftp.gnu.org |
| |
| 20051008 |
| + document in demo_forms.c some portability issues. |
| |
| 20051001 |
| + document side-effect of werase() which sets the cursor position. |
| + save/restore the current position in form field editing to make |
| overlay mode work. |
| |
| 20050924 |
| + correct header dependencies in progs, allowing parallel make (report |
| by Daniel Jacobowitz). |
| + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides |
| the configure check for --with-build-cc (report by Daniel Jacobowitz). |
| + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for |
| NetBSD. |
| + update config.guess and config.sub from |
| http://subversions.gnu.org/cgi-bin/viewcvs/config/config/ |
| |
| 20050917 |
| + modify sed expression which computes path for /usr/lib/terminfo |
| symbolic link in install to ensure that it does not change unexpected |
| levels of the path (Gentoo #42336). |
| + modify default for --disable-lp64 configure option to reduce impact |
| on existing 64-bit builds. Enabling the _LP64 option may change the |
| size of chtype and mmask_t. However, for ABI 6, it is enabled by |
| default (report by Mike Frysinger). |
| + add configure script check for --enable-ext-mouse, bump ABI to 6 by |
| default if it is used. |
| + improve configure script logic for bumping ABI to omit this if the |
| --with-abi-version option was used. |
| + update address for Free Software Foundation in tack's source. |
| + correct wins_wch(), which was not marking the filler-cells of |
| multi-column characters (cf: 20041023). |
| |
| 20050910 |
| + modify mouse initialization to ensure that Gpm_Open() is called only |
| once. Otherwise GPM gets confused in its initialization of signal |
| handlers (Debian #326709). |
| |
| 20050903 |
| + modify logic for backspacing in a multiline form field to ensure that |
| it works even when the preceding line is full (report by Frank van |
| Vugt). |
| + remove comment about BUGS section of ncurses manpage (Debian #325481) |
| |
| 20050827 |
| + document some workarounds for shared and libtool library |
| configurations in INSTALL (see --with-shared and --with-libtool). |
| + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate |
| cross-compilers which emit the platform name in their version |
| message, e.g., |
| arm-sa1100-linux-gnu-g++ (GCC) 4.0.1 |
| (report by Frank van Vugt). |
| |
| 20050820 |
| + start updating documentation for upcoming 5.5 release. |
| + fix to make libtool and libtinfo work together again (cf: 20050122). |
| + fixes to allow building traces into libtinfo |
| + add debug trace to tic that shows if/how ncurses will write to the |
| lower corner of a terminal's screen. |
| + update llib-l* files. |
| |
| 20050813 |
| + modify initializers in c++ binding to build with old versions of g++. |
| + improve special case for 20050115 repainting fix, ensuring that if |
| the first changed cell is not a character that the range to be |
| repainted is adjusted to start at a character's beginning (Debian |
| #316663). |
| |
| 20050806 |
| + fixes to build on QNX 6.1 |
| + improve configure script checks for Intel 9.0 compiler. |
| + remove #include's for libc.h (obsolete). |
| + adjust ifdef's in curses.priv.h so that when cross-compiling to |
| produce comp_hash and make_keys, no dependency on wchar.h is needed. |
| That simplifies the build-cppflags (report by Frank van Vugt). |
| + move modules related to key-binding into libtinfo to fix linkage |
| problem caused by 20050430 changes to MKkeyname.sh (report by |
| Konstantin Andreev). |
| |
| 20050723 |
| + updates/fixes for configure script macros from vile -TD |
| + make prism9's sgr string agree with the rest of the terminfo -TD |
| + make vt220's sgr0 string consistent with sgr string, do this for |
| several related cases -TD |
| + improve translation to termcap by filtering the 'me' (sgr0) strings |
| as in the runtime call to tgetent() (prompted by a discussion with |
| Thomas Klausner). |
| + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0 |
| resets line-drawing. |
| |
| 20050716 |
| + fix special cases for trimming sgr0 for hurd and vt220 (Debian |
| #318621). |
| + split-out _nc_trim_sgr0() from modifications made to tgetent(), to |
| allow it to be used by tic to provide information about the runtime |
| changes that would be made to sgr0 for termcap applications. |
| + modify make_sed.sh to make the group-name in the NAME section of |
| form/menu library manpage agree with the TITLE string when renaming |
| is done for Debian (Debian #78866). |
| |
| 20050702 |
| + modify parameter type in c++ binding for insch() and mvwinsch() to |
| be consistent with underlying ncurses library (was char, is chtype). |
| + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined |
| on Linux. |
| + improve configure check for nanosleep(), checking that it works since |
| some older systems such as AIX 4.3 have a nonworking version. |
| |
| 20050625 |
| + update config.guess and config.sub from |
| http://subversions.gnu.org/cgi-bin/viewcvs/config/config/ |
| + modify misc/shlib to work in test-directory. |
| + suppress $suffix in misc/run_tic.sh when cross-compiling. This |
| allows cross-compiles to use the host's tic program to handle the |
| "make install.data" step. |
| + improve description of $LINES and $COLUMNS variables in manpages |
| (prompted by report by Dave Ulrick). |
| + improve description of cross-compiling in INSTALL |
| + add NCURSES-Programming-HOWTO.html by Pradeep Padala |
| (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/). |
| + modify configure script to obtain soname for GPM library (discussion |
| with Daniel Jacobowitz). |
| + modify configure script so that --with-chtype option will still |
| compute the unsigned literals suffix for constants in curses.h |
| (report by Daniel Jacobowitz: |
| + patches from Daniel Jacobowitz: |
| + the man_db.renames entry for tack.1 was backwards. |
| + tack.1 had some 1m's that should have been 1M's. |
| + the section for curs_inwstr.3 was wrong. |
| |
| 20050619 |
| + correction to --with-chtype option (report by Daniel Jacobowitz). |
| |
| 20050618 |
| + move build-time edit_man.sh and edit_man.sed scripts to top directory |
| to simplify reusing them for renaming tack's manpage (prompted by a |
| review of Debian package). |
| + revert minor optimization from 20041030 (Debian #313609). |
| + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6, |
| 1.5.10 and 1.5.18 (all work except as noted previously for the c++ |
| install using libtool 1.5.0): |
| + modify the clean-rule in c++/Makefile.in to work with IRIX64 make |
| program. |
| + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830 |
| + add configure options --with-chtype and --with-mmask-t, to allow |
| overriding of the non-LP64 model's use of the corresponding types. |
| + revise test for size of chtype (and mmask_t), which always returned |
| "long" due to an uninitialized variable (report by Daniel Jacobowitz). |
| |
| 20050611 |
| + change _tracef's that used "%p" format for va_list values to ignore |
| that, since on some platforms those are not pointers. |
| + fixes for long-formats in printf's due to largefile support. |
| |
| 20050604 |
| + fixes for termcap support: |
| + reset pointer to _nc_curr_token.tk_name when the input stream is |
| closed, which could point to free memory (cf: 20030215). |
| + delink TERMTYPE data which is used by the termcap reader, so that |
| extended names data will be freed consistently. |
| + free pointer to TERMTYPE data in _nc_free_termtype() rather than |
| its callers. |
| + add some entrypoints for freeing permanently allocated data via |
| _nc_freeall() when NO_LEAKS is defined. |
| + amend 20041030 change to _nc_do_color to ensure that optimization is |
| applied only when the terminal supports back_color_erase (bce). |
| |
| 20050528 |
| + add sun-color terminfo entry -TD |
| + correct a missing assignment in c++ binding's method |
| NCursesPanel::UserPointer() from 20050409 changes. |
| + improve configure check for large-files, adding check for dirent64 |
| from vile -TD |
| + minor change to configure script to improve linker options for the |
| Ada95 tree. |
| |
| 20050515 |
| + document error conditions for ncurses library functions (report by |
| Stanislav Ievlev). |
| + regenerated html documentation for ada binding. |
| see ftp://invisible-island.net/ncurses/patches/gnathtml |
| |
| 20050507 |
| + regenerated html documentation for manpages. |
| + add $(BUILD_EXEEXT) suffix to invocation of make_keys in |
| ncurses/Makefile (Gentoo #89772). |
| + modify c++/demo.cc to build with g++ -fno-implicit-templates option |
| (patch by Mike Frysinger). |
| + modify tic to filter out long extended names when translating to |
| termcap format. Only two characters are permissible for termcap |
| capability names. |
| |
| 20050430 |
| + modify terminfo entries xterm-new and rxvt to add strings for |
| shift-, control-cursor keys. |
| + workaround to allow c++ binding to compile with g++ 2.95.3, which |
| has a broken implementation of static_cast<> (patch by Jeff Chua). |
| + modify initialization of key lookup table so that if an extended |
| capability (tic -x) string is defined, and its name begins with 'k', |
| it will automatically be treated as a key. |
| + modify test/keynames.c to allow for the possibility of extended |
| key names, e.g., via define_key(), or via "tic -x". |
| + add test/demo_termcap.c to show the contents of given entry via the |
| termcap interface. |
| |
| 20050423 |
| + minor fixes for vt100/vt52 entries -TD |
| + add configure option --enable-largefile |
| + corrected libraries used to build Ada95/gen/gen, found in testing |
| gcc 4.0.0. |
| |
| 20050416 |
| + update config.guess, config.sub |
| + modify configure script check for _XOPEN_SOURCE, disable that on |
| Darwin whose header files have problems (patch by Chris Zubrzycki). |
| + modify form library Is_Printable_String() to use iswprint() rather |
| than wcwidth() for determining if a character is printable. The |
| latter caused it to reject menu items containing non-spacing |
| characters. |
| + modify ncurses test program's F-test to handle non-spacing characters |
| by combining them with a reverse-video blank. |
| + review/fix several gcc -Wconversion warnings. |
| |
| 20050409 |
| + correct an off-by-one error in m_driver() for mouse-clicks used to |
| position the mouse to a particular item. |
| + implement test/demo_menus.c |
| + add some checks in lib_mouse to ensure SP is set. |
| + modify C++ binding to make 20050403 changes work with the configure |
| --enable-const option. |
| |
| 20050403 |
| + modify start_color() to return ERR if it cannot allocate memory. |
| + address g++ compiler warnings in C++ binding by adding explicit |
| member initialization, assignment operators and copy constructors. |
| Most of the changes simply preserve the existing semantics of the |
| binding, which can leak memory, etc., but by making these features |
| visible, it provides a framework for improving the binding. |
| + improve C++ binding using static_cast, etc. |
| + modify configure script --enable-warnings to add options to g++ to |
| correspond to the gcc --enable-warnings. |
| + modify C++ binding to use some C internal functions to make it |
| compile properly on Solaris (and other platforms). |
| |
| 20050327 |
| + amend change from 20050320 to limit it to configurations with a |
| valid locale. |
| + fix a bug introduced in 20050320 which broke the translation of |
| nonprinting characters to uparrow form (report by Takahashi Tamotsu). |
| |
| 20050326 |
| + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for |
| chtype and mmask_t, but add configure option --disable-lp64 in case |
| anyone used that configuration. |
| + update misc/shlib script to account for Mac OS X (report by Michail |
| Vidiassov). |
| + correct comparison for wrapping multibyte characters in |
| waddch_literal() (report by Takahashi Tamotsu). |
| |
| 20050320 |
| + add -c and -w options to tset to allow user to suppress ncurses' |
| resizing of the terminal emulator window in the special case where it |
| is not able to detect the true size (report by Win Delvaux, Debian |
| #300419). |
| + modify waddch_nosync() to account for locale zn_CH.GBK, which uses |
| codes 128-159 as part of multibyte characters (report by Wang |
| WenRui, Debian #300512). |
| |
| 20050319 |
| + modify ncurses.c 'd' test to make it work with 88-color |
| configuration, i.e., by implementing scrolling. |
| + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color |
| configuration. |
| |
| 20050312 |
| + change tracemunch to use strict checking. |
| + modify ncurses.c 'p' test to test line-drawing within a pad. |
| + implement environment variable NCURSES_NO_UTF8_ACS to support |
| miscellaneous terminal emulators which ignore alternate character |
| set escape sequences when in UTF-8 mode. |
| |
| 20050305 |
| + change NCursesWindow::err_handler() to a virtual function (request by |
| Steve Beal). |
| + modify fty_int.c and fty_num.c to handle wide characters (report by |
| Wolfgang Gutjahr). |
| + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal |
| and wide characters inconsistently (report by Wolfgang Gutjahr). |
| + update llib-* files to reflect internal interface additions/changes. |
| |
| 20050226 |
| + improve test/configure script, adding tests for _XOPEN_SOURCE, etc., |
| from lynx. |
| + add aixterm-16color terminfo entry -TD |
| + modified xterm-new terminfo entry to work with tgetent() changes -TD |
| + extended changes in tgetent() from 20040710 to allow the substring of |
| sgr0 which matches rmacs to be at the beginning of the sgr0 string |
| (request by Thomas Wolff). Wolff says the visual effect in |
| combination with pre-20040710 ncurses is improved. |
| + fix off-by-one in winnstr() call which caused form field validation |
| of multibyte characters to ignore the last character in a field. |
| + correct logic in winsch() for inserting multibyte strings; the code |
| would clear cells after the insertion rather than push them to the |
| right (cf: 20040228). |
| + fix an inconsistency in Check_Alpha_Field() between normal and wide |
| character logic (report by Wolfgang Gutjahr). |
| |
| 20050219 |
| + fix a bug in editing wide-characters in form library: deleting a |
| nonwide character modified the previous wide-character. |
| + update manpage to describe NCURSES_MOUSE_VERSION 2. |
| + correct manpage description of mouseinterval() (Debian #280687). |
| + add a note to default_colors.3x explaining why this extension was |
| added (Debian #295083). |
| + add traces to panel library. |
| |
| 20050212 |
| + improve editing of wide-characters in form library: left/right |
| cursor movement, and single-character deletions work properly. |
| + disable GPM mouse support when $TERM happens to be prefixed with |
| "xterm". Gpm_Open() would otherwise assert that it can deal with |
| mouse events in this case. |
| + modify GPM mouse support so it closes the server connection when |
| the caller disables the mouse (report by Stanislav Ievlev). |
| |
| 20050205 |
| + add traces for callback functions in form library. |
| + add experimental configure option --enable-ext-mouse, which defines |
| NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to |
| support wheel mice, which may transmit buttons 4 and 5. This works |
| with xterm and similar X terminal emulators (prompted by question by |
| Andreas Henningsson, this is also related to Debian #230990). |
| + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to |
| avoid redefinition warnings on cygwin. |
| |
| 20050129 |
| + merge remaining development changes for extended colors (mostly |
| complete, does not appear to break other configurations). |
| + add xterm-88color.dat (part of extended colors testing). |
| + improve _tracedump() handling of color pairs past 96. |
| + modify return-value from start_color() to return OK if colors have |
| already been started. |
| + modify curs_color.3x list error conditions for init_pair(), |
| pair_content() and color_content(). |
| + modify pair_content() to return -1 for consistency with init_pair() |
| if it corresponds to the default-color. |
| + change internal representation of default-color to allow application |
| to use color number 255. This does not affect the total number of |
| color pairs which are allowed. |
| + add a top-level tags rule. |
| |
| 20050122 |
| + add a null-pointer check in wgetch() in case it is called without |
| first calling initscr(). |
| + add some null-pointer checks for SP, which is not set by libtinfo. |
| + modify misc/shlib to ensure that absolute pathnames are used. |
| + modify test/Makefile.in, etc., to link test programs only against the |
| libraries needed, e.g., omit form/menu/panel library for the ones |
| that are curses-specific. |
| + change SP->_current_attr to a pointer, adjust ifdef's to ensure that |
| libtinfo.so and libtinfow.so have the same ABI. The reason for this |
| is that the corresponding data which belongs to the upper-level |
| ncurses library has a different size in each model (report by |
| Stanislav Ievlev). |
| |
| 20050115 |
| + minor fixes to allow test-compiles with g++. |
| + correct column value shown in tic's warnings, which did not account |
| for leading whitespace. |
| + add a check in _nc_trans_string() for improperly ended strings, i.e., |
| where a following line begins in column 1. |
| + modify _nc_save_str() to return a null pointer on buffer overflow. |
| + improve repainting while scrolling wide-character data (Eungkyu Song). |
| |
| 20050108 |
| + merge some development changes to extend color capabilities. |
| |
| 20050101 |
| + merge some development changes to extend color capabilities. |
| + fix manpage typo (FreeBSD report docs/75544). |
| + update config.guess, config.sub |
| > patches for configure script (Albert Chin-A-Young): |
| + improved fix to make mbstate_t recognized on HPUX 11i (cf: |
| 20030705), making vsscanf() prototype visible on IRIX64. Tested for |
| on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1, |
| IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0. |
| + print the result of the --disable-home-terminfo option. |
| + use -rpath when compiling with SGI C compiler. |
| |
| 20041225 |
| + add trace calls to remaining public functions in form and menu |
| libraries. |
| + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests. |
| + fix typo in test/ncurses.c 'c' test from 20041218. |
| |
| 20041218 |
| + revise test/ncurses.c 'c' color test to improve use for xterm-88color |
| and xterm-256color, added 'C' test using the wide-character color_set |
| and attr_set functions. |
| |
| 20041211 |
| + modify configure script to work with Intel compiler. |
| + fix an limit-check in wadd_wchnstr() which caused labels in the |
| forms-demo to be one character short. |
| + fix typo in curs_addchstr.3x (Jared Yanovich). |
| + add trace calls to most functions in form and menu libraries. |
| + update working-position for adding wide-characters when window is |
| scrolled (prompted by related report by Eungkyu Song). |
| |
| 20041204 |
| + replace some references on Linux to wcrtomb() which use it to obtain |
| the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is |
| broken in glibc (see Debian #284260). |
| + corrected length-computation in wide-character support for |
| field_buffer(). |
| + some fixes to frm_driver.c to allow it to accept multibyte input. |
| + modify configure script to work with Intel 8.0 compiler. |
| |
| 20041127 |
| + amend change to setupterm() in 20030405 which would reuse the value |
| of cur_term if the same output was selected. This now reuses it only |
| when setupterm() is called from tgetent(), which has no notion of |
| separate SCREENs. Note that tgetent() must be called after initscr() |
| or newterm() to use this feature (Redhat Bugzilla #140326). |
| + add a check in CF_BUILD_CC macro to ensure that developer has given |
| the --with-build-cc option when cross-compiling (report by Alexandre |
| Campo). |
| + improved configure script checks for _XOPEN_SOURCE and |
| _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE |
| updates from lynx). |
| + cosmetic fix to test/gdc.c to recolor the bottom edge of the box |
| for consistency (comment by Dan Nelson). |
| |
| 20041120 |
| + update wsvt25 terminfo entry -TD |
| + modify test/ins_wide.c to test all flavors of ins_wstr(). |
| + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array |
| which consists of multi-column characters, since this function |
| constructs them (cf: 20041023). |
| + modify winnstr() to return multibyte character strings for the |
| wide-character configuration. |
| |
| 20041106 |
| + fixes to make slk_set() and slk_wset() accept and store multibyte |
| or multicolumn characters. |
| |
| 20041030 |
| + improve color optimization a little by making _nc_do_color() check |
| if the old/new pairs are equivalent to the default pair 0. |
| + modify assume_default_colors() to not require that |
| use_default_colors() be called first. |
| |
| 20041023 |
| + modify term_attrs() to use termattrs(), add the extended attributes |
| such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs(). |
| + add logic in waddch_literal() to clear orphaned cells when one |
| multi-column character partly overwrites another. |
| + improved logic for clearing cells when a multi-column character |
| must be wrapped to a new line. |
| + revise storage of cells for multi-column characters to correct a |
| problem with repainting. In the old scheme, it was possible for |
| doupdate() to decide that only part of a multi-column character |
| should be repainted since the filler cells stored only an attribute |
| to denote them as fillers, rather than the character value and the |
| attribute. |
| |
| 20041016 |
| + minor fixes for traces. |
| + add SP->_screen_acs_map[], used to ensure that mapping of missing |
| line-drawing characters is handled properly. For example, ACS_DARROW |
| is absent from xterm-new, and it was coincidentally displayed the |
| same as ACS_BTEE. |
| |
| 20041009 |
| + amend 20021221 workaround for broken acs to reset the sgr, rmacs |
| and smacs strings as well. Also modify the check for screen's |
| limitations in that area to allow the multi-character shift-in |
| and shift-out which seem to work. |
| + change GPM initialization, using dl library to load it dynamically |
| at runtime (Debian #110586). |
| |
| 20041002 |
| + correct logic for color pair in setcchar() and getcchar() (patch by |
| Marcin 'Qrczak' Kowalczyk). |
| + add t/T commands to ncurses b/B tests to allow a different color to |
| be tested for the attrset part of the test than is used in the |
| background color. |
| |
| 20040925 |
| + fix to make setcchar() to work when its wchar_t* parameter is |
| pointing to a string which contains more data than can be converted. |
| + modify wget_wstr() and example in ncurses.c to work if wchar_t and |
| wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk). |
| |
| 20040918 |
| + remove check in wget_wch() added to fix an infinite loop, appears to |
| have been working around a transitory glibc bug, and interferes |
| with normal operation (report by Marcin 'Qrczak' Kowalczyk). |
| + correct wadd_wch() and wecho_wch(), which did not pass the rendition |
| information (report by Marcin 'Qrczak' Kowalczyk). |
| + fix aclocal.m4 so that the wide-character version of ncurses gets |
| compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib |
| (adapted from patch by James J Ramsey). |
| + change configure script for --with-caps option to indicate that it |
| is no longer experimental. |
| + change configure script to reflect the fact that --enable-widec has |
| not been "experimental" since 5.3 (report by Bruno Lustosa). |
| |
| 20040911 |
| + add 'B' test to ncurses.c, to exercise some wide-character functions. |
| |
| 20040828 |
| + modify infocmp -i option to match 8-bit controls against its table |
| entries, e.g., so it can analyze the xterm-8bit entry. |
| + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin). |
| + correct translation of "%%" in terminfo format to termcap, e.g., |
| using "tic -C" (Redhat Bugzilla #130921). |
| + modified configure script CF_XOPEN_SOURCE macro to ensure that if |
| it defines _POSIX_C_SOURCE, that it defines it to a specific value |
| (comp.os.stratus newsgroup comment). |
| |
| 20040821 |
| + fixes to build with Ada95 binding with gnat 3.4 (all warnings are |
| fatal, and gnat does not follow the guidelines for pragmas). |
| However that did find a coding error in Assume_Default_Colors(). |
| + modify several terminfo entries to ensure xterm mouse and cursor |
| visibility are reset in rs2 string: hurd, putty, gnome, |
| konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The |
| xterm entries are left alone - old ones for compatibility, and the |
| new ones do not require this change. -TD |
| |
| 20040814 |
| + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators |
| and window managers (Debian #265631). |
| > terminfo updates -TD |
| + remove dch/dch1 from rxvt because they are implemented inconsistently |
| with the common usage of bce/ech |
| + remove khome from vt220 (vt220's have no home key) |
| + add rxvt+pcfkeys |
| |
| 20040807 |
| + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through |
| combinations of video attributes so that for instance bold and |
| underline can be tested. This made the legend too crowded, added |
| a help window as well. |
| + modify test/ncurses.c 'b' test to cycle through default colors if |
| the -d option is set. |
| + update putty terminfo entry (Robert de Bath). |
| |
| 20040731 |
| + modify test/cardfile.c to allow it to read more data than can be |
| displayed. |
| + correct logic in resizeterm.c which kept it from processing all |
| levels of window hierarchy (reports by Folkert van Heusden, |
| Chris Share). |
| |
| 20040724 |
| + modify "tic -cv" to ignore delays when comparing strings. Also |
| modify it to ignore a canceled sgr string, e.g., for terminals which |
| cannot properly combine attributes in one control sequence. |
| + corrections for gnome and konsole entries (Redhat Bugzilla #122815, |
| patch by Hans de Goede) |
| > terminfo updates -TD |
| + make ncsa-m rmacs/smacs consistent with sgr |
| + add sgr, rc/sc and ech to syscons entries |
| + add function-keys to decansi |
| + add sgr to mterm-ansi |
| + add sgr, civis, cnorm to emu |
| + correct/simplify cup in addrinfo |
| |
| 20040717 |
| > terminfo updates -TD |
| + add xterm-pc-fkeys |
| + review/update gnome and gnome-rh90 entries (prompted by Redhat |
| Bugzilla #122815). |
| + review/update konsole entries |
| + add sgr, correct sgr0 for kterm and mlterm |
| + correct tsl string in kterm |
| |
| 20040711 |
| + add configure option --without-xterm-new |
| |
| 20040710 |
| + add check in wget_wch() for printable bytes that are not part of a |
| multibyte character. |
| + modify wadd_wchnstr() to render text using window's background |
| attributes. |
| + improve tic's check to compare sgr and sgr0. |
| + fix c++ directory's .cc.i rule. |
| + modify logic in tgetent() which adjusts the termcap "me" string |
| to work with ISO-2022 string used in xterm-new (cf: 20010908). |
| + modify tic's check for conflicting function keys to omit that if |
| converting termcap to termcap format. |
| + add -U option to tic and infocmp. |
| + add rmam/smam to linux terminfo entry (Trevor Van Bremen) |
| > terminfo updates -TD |
| + minor fixes for emu |
| + add emu-220 |
| + change wyse acsc strings to use 'i' map rather than 'I' |
| + fixes for avatar0 |
| + fixes for vp3a+ |
| |
| 20040703 |
| + use tic -x to install terminfo database -TD |
| + add -x to infocmp's usage message. |
| + correct field used for comparing O_ROWMAJOR in set_menu_format() |
| (report/patch by Tony Li). |
| + fix a missing nul check in set_field_buffer() from 20040508 changes. |
| > terminfo updates -TD |
| + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than |
| xterm-basic -TD |
| + align with xterm patch #192's use of xterm-new -TD |
| + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD |
| + make xterm-new the default "xterm" entry -TD |
| |
| 20040626 |
| + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow |
| cross-compiling from a separate directory tree (report/patch by |
| Dan Engel). |
| + modify is_term_resized() to ensure that window sizes are nonzero, |
| as documented in the manpage (report by Ian Collier). |
| + modify CF_XOPEN_SOURCE configure macro to make Hurd port build |
| (Debian #249214, report/patch by Jeff Bailey). |
| + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS |
| + update config.guess, config.sub |
| > terminfo updates -TD |
| + add mlterm |
| + add xterm-xf86-v44 |
| + modify xterm-new aka xterm-xfree86 to accommodate luit, which |
| relies on G1 being used via an ISO-2022 escape sequence (report by |
| Juliusz Chroboczek) |
| + add 'hurd' entry |
| |
| 20040619 |
| + reconsidered winsnstr(), decided after comparing other |
| implementations that wrapping is an X/Open documentation error. |
| + modify test/inserts.c to test all flavors of insstr(). |
| |
| 20040605 |
| + add setlocale() calls to a few test programs which may require it: |
| demo_forms.c, filter.c, ins_wide.c, inserts.c |
| + correct a few misspelled function names in ncurses-intro.html (report |
| by Tony Li). |
| + correct internal name of key_defined() manpage, which conflicted with |
| define_key(). |
| |
| 20040529 |
| + correct size of internal pad used for holding wide-character |
| field_buffer() results. |
| + modify data_ahead() to work with wide-characters. |
| |
| 20040522 |
| + improve description of terminfo if-then-else expressions (suggested |
| by Arne Thomassen). |
| + improve test/ncurses.c 'd' test, allow it to use external file for |
| initial palette (added xterm-16color.dat and linux-color.dat), and |
| reset colors to the initial palette when starting/ending the test. |
| + change limit-check in init_color() to allow r/g/b component to |
| reach 1000 (cf: 20020928). |
| |
| 20040516 |
| + modify form library to use cchar_t's rather than char's in the |
| wide-character configuration for storing data for field buffers. |
| + correct logic of win_wchnstr(), which did not work for more than |
| one cell. |
| |
| 20040508 |
| + replace memset/memcpy usage in form library with for-loops to |
| simplify changing the datatype of FIELD.buf, part of wide-character |
| changes. |
| + fix some inconsistent use of #if/#ifdef (report by Alain Guibert). |
| |
| 20040501 |
| + modify menu library to account for actual number of columns used by |
| multibyte character strings, in the wide-character configuration |
| (adapted from patch by Philipp Tomsich). |
| + add "-x" option to infocmp like tic's "-x", for use in "-F" |
| comparisons. This modifies infocmp to only report extended |
| capabilities if the -x option is given, making this more consistent |
| with tic. Some scripts may break, since infocmp previous gave this |
| information without an option. |
| + modify termcap-parsing to retain 2-character aliases at the beginning |
| of an entry if the "-x" option is used in tic. |
| |
| 20040424 |
| + minor compiler-warning and test-program fixes. |
| |
| 20040417 |
| + modify tic's missing-sgr warning to apply to terminfo only. |
| + free some memory leaks in tic. |
| + remove check in post_menu() that prevented menus from extending |
| beyond the screen (request by Max J. Werner). |
| + remove check in newwin() that prevents allocating windows |
| that extend beyond the screen. Solaris curses does this. |
| + add ifdef in test/color_set.c to allow it to compile with older |
| curses. |
| + add napms() calls to test/dots.c to make it not be a CPU hog. |
| |
| 20040403 |
| + modify unctrl() to return null if its parameter does not correspond |
| to an unsigned char. |
| + add some limit-checks to guard isprint(), etc., from being used on |
| values that do not fit into an unsigned char (report by Sami Farin). |
| |
| 20040328 |
| + fix a typo in the _nc_get_locale() change. |
| |
| 20040327 |
| + modify _nc_get_locale() to use setlocale() to query the program's |
| current locale rather than using getenv(). This fixes a case in tin |
| which relies on legacy treatment of 8-bit characters when the locale |
| is not initialized (reported by Urs Jansen). |
| + add sgr string to screen's and rxvt's terminfo entries -TD. |
| + add a check in tic for terminfo entries having an sgr0 but no sgr |
| string. This confuses Tru64 and HPUX curses when combined with |
| color, e.g., making them leave line-drawing characters in odd places. |
| + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the |
| original definitions used in Debian package to fix PowerPC bug before |
| 20030802 (Debian #237629). |
| |
| 20040320 |
| + modify PutAttrChar() and PUTC() macro to improve use of |
| A_ALTCHARSET attribute to prevent line-drawing characters from |
| being lost in situations where the locale would otherwise treat the |
| raw data as nonprintable (Debian #227879). |
| |
| 20040313 |
| + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report |
| by Jim Idle). |
| + remove ".PP" after ".SH NAME" in a few manpages; this confuses |
| some apropos script (Debian #237831). |
| |
| 20040306 |
| + modify ncurses.c 'r' test so editing commands, like inserted text, |
| set the field background, and the state of insert/overlay editing |
| mode is shown in that test. |
| + change syntax of dummy targets in Ada95 makefiles to work with pmake. |
| + correct logic in test/ncurses.c 'b' for noncolor terminals which |
| did not recognize a quit-command (cf: 20030419). |
| |
| 20040228 |
| + modify _nc_insert_ch() to allow for its input to be part of a |
| multibyte string. |
| + split out lib_insnstr.c, to prepare to rewrite it. X/Open states |
| that this function performs wrapping, unlike all of the other |
| insert-functions. Currently it does not wrap. |
| + check for nl_langinfo(CODESET), use it if available (report by |
| Stanislav Ievlev). |
| + split-out CF_BUILD_CC macro, actually did this for lynx first. |
| + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC, |
| which happened to work with bash, but not with Bourne shell (report |
| by Marco d'Itri via tin-dev). |
| |
| 20040221 |
| + some changes to adapt the form library to wide characters, incomplete |
| (request by Mike Aubury). |
| + add symbol to curses.h which can be used to suppress include of |
| stdbool.h, e.g., |
| #define NCURSES_ENABLE_STDBOOL_H 0 |
| #include <curses.h> |
| (discussion on XFree86 mailing list). |
| |
| 20040214 |
| + modify configure --with-termlib option to accept a value which sets |
| the name of the terminfo library. This would allow a packager to |
| build libtinfow.so renamed to coincide with libtinfo.so (discussion |
| with Stanislav Ievlev). |
| + improve documentation of --with-install-prefix, --prefix and |
| $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew). |
| + add configure check if the compiler can use -c -o options to rename |
| its output file, use that to omit the 'cd' command which was used to |
| ensure object files are created in a separate staging directory |
| (prompted by comments by Johnny Wezel, Martin Mokrejs). |
| |
| 20040208 5.4 release for upload to ftp.gnu.org |
| + update TO-DO. |
| |
| 20040207 pre-release |
| + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param, |
| and do not count %d if it follows a %p. |
| + correct an inconsistency between handling of codes in the 128-255 |
| range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX |
| locale, the latter did not show printable results, while the former |
| did. |
| + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac |
| OS X, which alters "%%" to "% % " (report by Robert Simms, fix |
| verified by Scott Corscadden). |
| |
| 20040131 pre-release |
| + modify SCREEN struct to align it between normal/wide curses flavors |
| to simplify future changes to build a single version of libtinfo |
| (patch by Stanislav Ievlev). |
| + document handling of carriage return by addch() in manpage. |
| + document special features of unctrl() in manpage. |
| + documented interface changes in INSTALL. |
| + corrected control-char test in lib_addch.c to account for locale |
| (Debian #230335, cf: 971206). |
| + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT. |
| + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package. |
| + minor configure-script fixes for older ports, e.g., BeOS R4.5. |
| |
| 20040125 pre-release |
| + amend change to PutAttrChar() from 20030614 which computed the number |
| of cells for a possibly multi-cell character. The 20030614 change |
| forced the cell to a blank if the result from wcwidth() was not |
| greater than zero. However, wcwidth() called for parameters in the |
| range 128-255 can give this return value. The logic now simply |
| ensures that the number of cells is greater than zero without |
| modifying the displayed value. |
| |
| 20040124 pre-release |
| + looked good for 5.4 release for upload to ftp.gnu.org (but see above) |
| + modify configure script check for ranlib to use AC_CHECK_TOOL, since |
| that works better for cross-compiling. |
| |
| 20040117 pre-release |
| + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to |
| work around core dump in Solaris 8's locale support, e.g., for |
| zh_CN.GB18030 (report by Saravanan Bellan). |
| + add includes for <stdarg.h> and <stdio.h> in configure script macro |
| to make <wchar.h> check work with Tru64 4.0d. |
| + add terminfo entry for U/Win -TD |
| + add terminfo entries for SFU aka Interix aka OpenNT (Federico |
| Bianchi). |
| + modify tput's error messages to prefix them with the program name |
| (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian |
| #227586)). |
| + correct a place in tack where exit_standout_mode was used instead of |
| exit_attribute_mode (patch by Jochen Voss (see Debian #224443)). |
| + modify c++/cursesf.h to use const in the Enumeration_Field method. |
| + remove an ambiguous (actually redundant) method from c++/cursesf.h |
| + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev). |
| + improve sed script which extracts libtool's version in the |
| CF_WITH_LIBTOOL macro. |
| + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to |
| simplify local patch for Albert Chin-A-Young).. |
| + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from |
| patch by Albert Chin-A-Young).. |
| + fix a missing substitution in configure.in for "$target" needed for |
| HPUX .so/.sl case. |
| + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and |
| NetBSD 1.6 conflicts with _XOPEN_SOURCE. |
| + make check for stdbool.h more specific, to ensure that including it |
| will actually define/declare bool for the configured compiler. |
| + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The |
| intention of that is to #define NCURSES_BOOL as bool when the |
| compiler declares bool, and to #define bool as NCURSES_BOOL when it |
| does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213). |
| |
| 20040110 pre-release |
| + change minor version to 4, i.e., ncurses 5.4 |
| + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W |
| Sittler). |
| + simplified ncurses/base/version.c by defining the result from the |
| configure script rather than using sprintf (suggested by Stanislav |
| Ievlev). |
| + remove obsolete casts from c++/cursesw.h (reported by Stanislav |
| Ievlev). |
| + modify configure script so that when configuring for termlib, programs |
| such as tic are not linked with the upper-level ncurses library |
| (suggested by Stanislav Ievlev). |
| + move version.c from ncurses/base to ncurses/tinfo to allow linking |
| of tic, etc., using libtinfo (suggested by Stanislav Ievlev). |
| |
| 20040103 |
| + adjust -D's to build ncursesw on OpenBSD. |
| + modify CF_PROG_EXT to make OS/2 build with EXEEXT. |
| + add pecho_wchar(). |
| + remove <wctype.h> include from lib_slk_wset.c which is not needed (or |
| available) on older platforms. |
| |
| 20031227 |
| + add -D's to build ncursew on FreeBSD 5.1. |
| + modify shared library configuration for FreeBSD 4.x/5.x to add the |
| soname information (request by Marc Glisse). |
| + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only |
| for limiting the length of a filename in the terminfo database. |
| + modify termname() to return the terminal name used by setupterm() |
| rather than $TERM, without truncating to 14 characters as documented |
| by X/Open (report by Stanislav Ievlev, cf: 970719). |
| + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206). |
| |
| 20031220 |
| + add configure option --with-manpage-format=catonly to address |
| behavior of BSDI, allow install of man+cat files on NetBSD, whose |
| behavior has diverged by requiring both to be present. |
| + remove leading blanks from comment-lines in manlinks.sed script to |
| work with Tru64 4.0d. |
| + add screen.linux terminfo entry (discussion on mutt-users mailing |
| list). |
| |
| 20031213 |
| + add a check for tic to flag missing backslashes for termcap |
| continuation lines. ncurses reads the whole entry, but termcap |
| applications do not. |
| + add configure option "--with-manpage-aliases" extending |
| "--with-manpage-aliases" to provide the option of generating ".so" |
| files rather than symbolic links for manpage aliases. |
| + add bool definition in include/curses.h.in for configurations with no |
| usable C++ compiler (cf: 20030607). |
| + fix pathname of SigAction.h for building with --srcdir (reported by |
| Mike Castle). |
| |
| 20031206 |
| + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h, |
| since that header is used only within ncurses/tty/lib_tstp.c, for |
| non-POSIX systems (discussion with Stanislav Ievlev). |
| + remove obsolete _nc_outstr() function (report by Stanislav Ievlev |
| <inger@altlinux.org>). |
| + add test/background.c and test/color_set.c |
| + modify color_set() function to work with color pair 0 (report by |
| George Andreou <gbandreo@tem.uoc.gr>). |
| + add configure option --with-trace, since defining TRACE seems too |
| awkward for some cases. |
| + remove a call to _nc_free_termtype() from read_termtype(), since the |
| corresponding buffer contents were already zeroed by a memset (cf: |
| 20000101). |
| + improve configure check for _XOPEN_SOURCE and related definitions, |
| adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's |
| __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>). |
| + small fixes to compile on Solaris and IRIX64 using cc. |
| + correct typo in check for pre-POSIX sort options in MKkey_defs.sh |
| (cf: 20031101). |
| |
| 20031129 |
| + modify _nc_gettime() to avoid a problem with arithmetic on unsigned |
| values (Philippe Blain). |
| + improve the nanosleep() logic in napms() by checking for EINTR and |
| restarting (Philippe Blain). |
| + correct expression for "%D" in lib_tgoto.c (Juha Jarvi |
| <mooz@welho.com>). |
| |
| 20031122 |
| + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>). |
| + allow "\|" escape in terminfo; tic should not warn about this. |
| + save the full pathname of the trace-file the first time it is opened, |
| to avoid creating it in different directories if the application |
| opens and closes it while changing its working directory. |
| + modify configure script to provide a non-empty default for |
| $BROKEN_LINKER |
| |
| 20031108 |
| + add DJGPP to special case of DOS-style drive letters potentially |
| appearing in TERMCAP environment variable. |
| + fix some spelling in comments (reports by Jason McIntyre, Jonathon |
| Gray). |
| + update config.guess, config.sub |
| |
| 20031101 |
| + fix a memory leak in error-return from setupterm() (report by |
| Stanislav Ievlev <inger@altlinux.org>). |
| + use EXEEXT and OBJEXT consistently in makefiles. |
| + amend fixes for cross-compiling to use separate executable-suffix |
| BUILD_EXEEXT (cf: 20031018). |
| + modify MKkey_defs.sh to check for sort utility that does not |
| recognize key options, e.g., busybox (report by Peter S Mazinger |
| <ps.m@gmx.net>). |
| + fix potential out-of-bounds indexing in _nc_infotocap() (found by |
| David Krause using some of the new malloc debugging features |
| under OpenBSD, patch by Ted Unangst). |
| + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a |
| ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>). |
| |
| 20031025 |
| + update terminfo for xterm-xfree86 -TD |
| + add check for multiple "tc=" clauses in a termcap to tic. |
| + check for missing op/oc in tic. |
| + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and |
| tic to show cancelled capabilities. These functions were ignoring |
| the state of the target entry, which should be untouched if cancelled. |
| + correct comment in tack/output.c (Debian #215806). |
| + add some null-pointer checks to lib_options.c (report by Michael |
| Bienia). |
| + regenerated html documentation. |
| + correction to tar-copy.sh, remove a trap command that resulted in |
| leaving temporary files (cf: 20030510). |
| + remove contact/maintainer addresses for Juergen Pfeifer (his request). |
| |
| 20031018 |
| + updated test/configure to reflect changes for libtool (cf: 20030830). |
| + fix several places in tack/pad.c which tested and used the parameter- |
| and parameterless strings inconsistently, i.e., in pad_rin(), |
| pad_il(), pad_indn() and pad_dl() (Debian #215805). |
| + minor fixes for configure script and makefiles to cleanup executables |
| generated when cross-compiling for DJGPP. |
| + modify infocmp to omit check for $TERM for operations that do not |
| require it, e.g., "infocmp -e" used to build fallback list (report by |
| Koblinger Egmont). |
| |
| 20031004 |
| + add terminfo entries for DJGPP. |
| + updated note about maintainer in ncurses-intro.html |
| |
| 20030927 |
| + update terminfo entries for gnome terminal. |
| + modify tack to reset colors after each color test, correct a place |
| where exit_standout_mode was used instead of exit_attribute_mode. |
| + improve tack's bce test by making it set colors other than black |
| on white. |
| + plug a potential recursion between napms() and _nc_timed_wait() |
| (report by Philippe Blain). |
| |
| 20030920 |
| + add --with-rel-version option to allow workaround to allow making |
| libtool on Darwin generate the "same" library names as with the |
| --with-shared option. The Darwin ld program does not work well |
| with a zero as the minor-version value (request by Chris Zubrzycki). |
| + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling. |
| + modify tack to allow it to run from fallback terminfo data. |
| > patch by Philippe Blain: |
| + improve PutRange() by adjusting call to EmitRange() and corresponding |
| return-value to not emit unchanged characters on the end of the |
| range. |
| + improve a check for changed-attribute by exiting a loop when the |
| change is found. |
| + improve logic in TransformLine(), eliminating a duplicated comparison |
| in the clr_bol logic. |
| |
| 20030913 |
| > patch by Philippe Blain: |
| + in ncurses/tty/lib_mvcur.c, |
| move the label 'nonlocal' just before the second gettimeofday() to |
| be able to compute the diff time when 'goto nonlocal' used. |
| Rename 'msec' to 'microsec' in the debug-message. |
| + in ncurses/tty/lib_mvcur.c, |
| Use _nc_outch() in carriage return/newline movement instead of |
| putchar() which goes to stdout. Move test for xold>0 out of loop. |
| + in ncurses/tinfo/setbuf.c, |
| Set the flag SP->_buffered at the end of operations when all has been |
| successful (typeMalloc can fail). |
| + simplify NC_BUFFERED macro by moving check inside _nc_setbuf(). |
| |
| 20030906 |
| + modify configure script to avoid using "head -1", which does not |
| work if POSIXLY_CORRECT (sic) is set. |
| + modify run_tic.in to avoid using wrong shared libraries when |
| cross-compiling (Dan Kegel). |
| |
| 20030830 |
| + alter configure script help message to make it clearer that |
| --with-build-cc does not specify a cross-compiler (suggested by Dan |
| Kegel <dank@kegel.com>). |
| + modify configure script to accommodate libtool 1.5, as well as add an |
| parameter to the "--with-libtool" option which can specify the |
| pathname of libtool (report by Chris Zubrzycki). We note that |
| libtool 1.5 has more than one bug in its C++ support, so it is not |
| able to install libncurses++, for instance, if $DESTDIR or the option |
| --with-install-prefix is used. |
| |
| 20030823 |
| > patch by Philippe Blain: |
| + move assignments to SP->_cursrow, SP->_curscol into online_mvcur(). |
| + make baudrate computation in delay_output() consistent with the |
| assumption in _nc_mvcur_init(), i.e., a byte is 9 bits. |
| |
| 20030816 |
| + modify logic in waddch_literal() to take into account zh_TW.Big5 |
| whose multibyte sequences may contain "printable" characters, e.g., |
| a "g" in the sequence "\247g" (Debian #204889, cf: 20030621). |
| + improve storage used by _nc_safe_strcpy() by ensuring that the size |
| is reset based on the initialization call, in case it were called |
| after other strcpy/strcat calls (report by Philippe Blain). |
| > patch by Philippe Blain: |
| + remove an unused ifdef for REAL_ATTR & WANT_CHAR |
| + correct a place where _cup_cost was used rather than _cuu_cost |
| |
| 20030809 |
| + fix a small memory leak in _nc_free_termtype(). |
| + close trace-file if trace() is called with a zero parameter. |
| + free memory allocated for soft-key strings, in delscreen(). |
| + fix an allocation size in safe_sprintf.c for the "*" format code. |
| + correct safe_sprintf.c to not return a null pointer if the format |
| happens to be an empty string. This applies to the "configure |
| --enable-safe-sprintf" option (Redhat #101486). |
| |
| 20030802 |
| + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by |
| Daniel Jacobowitz). |
| > patch by Philippe Blain: |
| + change padding for change_scroll_region to not be proportional to |
| the size of the scroll-region. |
| + correct error-return in _nc_safe_strcat(). |
| |
| 20030726 |
| + correct limit-checks in _nc_scroll_window() (report and test-case by |
| Thomas Graf <graf@dms.at> cf: 20011020). |
| + re-order configure checks for _XOPEN_SOURCE to avoid conflict with |
| _GNU_SOURCE check. |
| |
| 20030719 |
| + use clr_eol in preference to blanks for bce terminals, so select and |
| paste will have fewer trailing blanks, e.g., when using xterm |
| (request by Vincent Lefevre). |
| + correct prototype for wunctrl() in manpage. |
| + add configure --with-abi-version option (discussion with Charles |
| Wilson). |
| > cygwin changes from Charles Wilson: |
| + aclocal.m4: on cygwin, use autodetected prefix for import |
| and static lib, but use "cyg" for DLL. |
| + include/ncurses_dll.h: correct the comments to reflect current |
| status of cygwin/mingw port. Fix compiler warning. |
| + misc/run_tic.in: ensure that tic.exe can find the uninstalled |
| DLL, by adding the lib-directory to the PATH variable. |
| + misc/terminfo.src (nxterm|xterm-color): make xterm-color |
| primary instead of nxterm, to match XFree86's xterm.terminfo |
| usage and to prevent circular links. |
| (rxvt): add additional codes from rxvt.org. |
| (rxvt-color): new alias |
| (rxvt-xpm): new alias |
| (rxvt-cygwin): like rxvt, but with special acsc codes. |
| (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or |
| with a "native" MSWin GUI. Each takes different acsc codes, |
| which are both different from the "normal" rxvt's acsc. |
| (cygwin): cygwin-in-cmd.exe window. Lots of fixes. |
| (cygwinDBG): ditto. |
| + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import |
| and static libs. |
| |
| 20030712 |
| + update config.guess, config.sub |
| + add triples for configuring shared libraries with the Debian |
| GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>). |
| |
| 20030705 |
| + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some |
| platforms have installed g++ along with the native C compiler, which |
| would not accept gcc warning options. |
| + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to |
| get mbstate_t declaration on HPUX 11.11 (report by David Ellement). |
| + add _nc_pathlast() to get rid of casts in _nc_basename() calls. |
| + correct a sign-extension in wadd_wch() and wecho_wchar() from |
| 20030628 (report by Tomohiro Kubota). |
| + work around omission of btowc() and wctob() from wide-character |
| support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by |
| Gabor Z Papp). |
| + add portability note to curs_get_wstr.3x (Debian #199957). |
| |
| 20030628 |
| + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar() |
| respectively, to avoid calling waddch_noecho() with wide-character |
| data, since that function assumes its input is 8-bit data. |
| Similarly, modify waddnwstr() to call wadd_wch(). |
| + remove logic from waddnstr() which transformed multibyte character |
| strings into wide-characters. Rewrite of waddch_literal() from |
| 20030621 assumes its input is raw multibyte data rather than wide |
| characters (report by Tomohiro Kubota). |
| |
| 20030621 |
| + write getyx() and related 2-return macros in terms of getcury(), |
| getcurx(), etc. |
| + modify waddch_literal() in case an application passes bytes of a |
| multibyte character directly to waddch(). In this case, waddch() |
| must reassemble the bytes into a wide-character (report by Tomohiro |
| Kubota <kubota@debian.org>). |
| |
| 20030614 |
| + modify waddch_literal() in case a multibyte value occupies more than |
| two cells. |
| + modify PutAttrChar() to compute the number of character cells that |
| are used in multibyte values. This fixes a problem displaying |
| double-width characters (report/test by Mitsuru Chinen |
| <mchinen@yamato.ibm.com>). |
| + add a null-pointer check for result of keyname() in _tracechar() |
| + modify _tracechar() to work around glibc sprintf bug. |
| |
| 20030607 |
| + add a call to setlocale() in cursesmain.cc, making demo display |
| properly in a UTF-8 locale. |
| + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted |
| by discussion with Gabor Z Papp). |
| + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to |
| appease -Wchar-subscript with g++ 3.3 (Debian #195732). |
| + fix a redefinition of $RANLIB in the configure script when libtool |
| is used, which broke configure on Mac OS X (report by Chris Zubrzycki |
| <beren@mac.com>). |
| + simplify ifdef for bool declaration in curses.h.in (suggested by |
| Albert Chin-A-Young). |
| + remove configure script check to allow -Wconversion for older |
| versions of gcc (suggested by Albert Chin-A-Young). |
| |
| 20030531 |
| + regenerated html manpages. |
| + modify ifdef's in curses.h.in that disabled use of __attribute__() |
| for g++, since recent versions implement the cases which ncurses uses |
| (Debian #195230). |
| + modify _nc_get_token() to handle a case where an entry has no |
| description, and capabilities begin on the same line as the entry |
| name. |
| + fix a typo in ncurses_dll.h reported by gcc 3.3. |
| + add an entry for key_defined.3x to man_db.renames. |
| |
| 20030524 |
| + modify setcchar() to allow converting control characters to complex |
| characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>). |
| + add tkterm entry -TD |
| + modify parse_entry.c to allow a terminfo entry with a leading |
| 2-character name (report by Don Libes). |
| + corrected acsc in screen.teraterm, which requires a PC-style mapping. |
| + fix trace statements in read_entry.c to use lseek() rather than |
| tell(). |
| + fix signed/unsigned warnings from Sun's compiler (gcc should give |
| these warnings, but it is unpredictable). |
| + modify configure script to omit -Winline for gcc 3.3, since that |
| feature is broken. |
| + modify manlinks.sed to add a few functions that were overlooked since |
| they return function pointers: field_init, field_term, form_init, |
| form_term, item_init, item_term, menu_init and menu_term. |
| |
| 20030517 |
| + prevent recursion in wgetch() via wgetnstr() if the connection cannot |
| be switched between cooked/raw modes because it is not a TTY (report |
| by Wolfgang Gutjahr <gutw@knapp.com>). |
| + change parameter of define_key() and key_defined() to const (prompted |
| by Debian #192860). |
| + add a check in test/configure for ncurses extensions, since there |
| are some older versions, etc., which would not compile with the |
| current test programs. |
| + corrected demo in test/ncurses.c of wgetn_wstr(), which did not |
| convert wchar_t string to multibyte form before printing it. |
| + corrections to lib_get_wstr.c: |
| + null-terminate buffer passed to setcchar(), which occasionally |
| failed. |
| + map special characters such as erase- and kill-characters into |
| key-codes so those will work as expected even if they are not |
| mentioned in the terminfo. |
| + modify PUTC() and Charable() macros to make wide-character line |
| drawing work for POSIX locale on Linux console (cf: 20021221). |
| |
| 20030510 |
| + make typography for program options in manpages consistent (report |
| by Miloslav Trmac <mitr@volny.cz>). |
| + correct dependencies in Ada95/src/Makefile.in, so the builds with |
| "--srcdir" work (report by Warren L Dodge). |
| + correct missing definition of $(CC) in Ada95/gen/Makefile.in |
| (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>). |
| + fix typos and whitespace in manpages (patch by Jason McIntyre |
| <jmc@prioris.mini.pw.edu.pl>). |
| |
| 20030503 |
| + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR, |
| REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at |
| the editing position before making modifications. |
| + add test/demo_forms and associated test/edit_field.c demos. |
| + modify test/configure.in to use test/modules for the list of objects |
| to compile rather than using the list of programs. |
| |
| 20030419 |
| + modify logic of acsc to use the original character if no mapping is |
| defined, noting that Solaris does this. |
| + modify ncurses 'b' test to avoid using the acs_map[] array since |
| 20021231 changes it to no longer contain information from the acsc |
| string. |
| + modify makefile rules in c++, progs, tack and test to ensure that |
| the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link |
| command (report by Jose Luis Rico Botella <informatica@serpis.com>). |
| + modify soft-key initialization to use A_REVERSE if A_STANDOUT would |
| not be shown when colors are used, i.e., if ncv#1 is set in the |
| terminfo as is done in "screen". |
| |
| 20030412 |
| + add a test for slk_color(), in ncurses.c |
| + fix some issues reported by valgrind in the slk_set() and slk_wset() |
| code, from recent rewrite. |
| + modify ncurses 'E' test to use show previous label via slk_label(), |
| as in 'e' test. |
| + modify wide-character versions of NewChar(), NewChar2() macros to |
| ensure that the whole struct is initialized. |
| |
| 20030405 |
| + modify setupterm() to check if the terminfo and terminal-modes have |
| already been read. This ensures that it does not reinvoke |
| def_prog_mode() when an application calls more than one function, |
| such as tgetent() and initscr() (report by Olaf Buddenhagen). |
| |
| 20030329 |
| + add 'E' test to ncurses.c, to exercise slk_wset(). |
| + correct handling of carriage-return in wgetn_wstr(), used in demo of |
| slk_wset(). |
| + first draft of slk_wset() function. |
| |
| 20030322 |
| + improved warnings in tic when suppressing items to fit in termcap's |
| 1023-byte limit. |
| + built a list in test/README showing which externals are being used |
| by either programs in the test-directory or via internal library |
| calls. |
| + adjust include-options in CF_ETIP_DEFINES to avoid missing |
| ncurses_dll.h, fixing special definitions that may be needed for |
| etip.h (reported by Greg Schafer <gschafer@zip.com.au>). |
| |
| 20030315 |
| + minor fixes for cardfile.c, to make it write the updated fields to |
| a file when ^W is given. |
| + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in |
| trace code. |
| |
| 20030308 |
| + correct a case in _nc_remove_string(), used by define_key(), to avoid |
| infinite loop if the given string happens to be a substring of other |
| strings which are assigned to keys (report by John McCutchan). |
| + add key_defined() function, to tell which keycode a string is bound |
| to (discussion with John McCutchan <ttb@tentacle.dhs.org>). |
| + correct keybound(), which reported definitions in the wrong table, |
| i.e., the list of definitions which are disabled by keyok(). |
| + modify demo_keydef.c to show the details it changes, and to check |
| for errors. |
| |
| 20030301 |
| + restructured test/configure script, make it work for libncursesw. |
| + add description of link_fieldtype() to manpage (report by |
| L Dee Holtsclaw <dee@sunbeltsoft.com>). |
| |
| 20030222 |
| + corrected ifdef's relating to configure check for wchar_t, etc. |
| + if the output is a socket or other non-tty device, use 1 millisecond |
| for the cost in mvcur; previously it was 9 milliseconds because the |
| baudrate was not known. |
| + in _nc_get_tty_mode(), initialize the TTY buffer on error, since |
| glibc copies uninitialized data in that case, as noted by valgrind. |
| + modify tput to use the same parameter analysis as tparm() does, to |
| provide for user-defined strings, e.g., for xterm title, a |
| corresponding capability might be |
| title=\E]2;%p1%s^G, |
| + modify MKlib_gen.sh to avoid passing "#" tokens through the C |
| preprocessor. This works around Mac OS X's preprocessor, which |
| insists on adding a blank on each side of the token (report/analysis |
| by Kevin Murphy <murphy@genome.chop.edu>). |
| |
| 20030215 |
| + add configure check for wchar_t and wint_t types, rather than rely |
| on preprocessor definitions. Also work around for gcc fixinclude |
| bug which creates a shadow copy of curses.h if it sees these symbols |
| apparently typedef'd. |
| + if database is disabled, do not generate run_tic.sh |
| + minor fixes for memory-leak checking when termcap is read. |
| |
| 20030208 |
| + add checking in tic for incomplete line-drawing character mapping. |
| + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL, |
| which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by |
| Gerben Wierda <Sherlock@rna.nl>). |
| + make return value from _nc_printf_string() consistent. Before, |
| depending on whether --enable-safe-sprintf was used, it might not be |
| cached for reallocating. |
| |
| 20030201 |
| + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c |
| + correct a potentially-uninitialized value if _read_termtype() does |
| not read as much data as expected (report by Wolfgang Rohdewald |
| <wr6@uni.de>). |
| + correct several places where the aclocal.m4 macros relied on cache |
| variable names which were incompatible (as usual) between autoconf |
| 2.13 and 2.5x, causing the test for broken-linker to give incorrect |
| results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser |
| <te@dbs.uni-hannover.de>). |
| + do not try to open gpm mouse driver if standard output is not a tty; |
| the gpm library does not make this check (bug report for dialog |
| by David Oliveira <davidoliveira@develop.prozone.ws>). |
| |
| 20030125 |
| + modified emx.src to correspond more closely to terminfo.src, added |
| emx-base to the latter -TD |
| + add configure option for FreeBSD sysmouse, --with-sysmouse, and |
| implement support for that in lib_mouse.c, lib_getch.c |
| |
| 20030118 |
| + revert 20030105 change to can_clear_with(), does not work for the |
| case where the update is made on cells which are blanks with |
| attributes, e.g., reverse. |
| + improve ifdef's to guard against redefinition of wchar_t and wint_t |
| in curses.h (report by Urs Jansen). |
| |
| 20030111 |
| + improve mvcur() by checking if it is safe to move when video |
| attributes are set (msgr), and if not, reset/restore attributes |
| within that function rather than doing it separately in the GoTo() |
| function in tty_update.c (suggested by Philippe Blain). |
| + add a message in run_tic.in to explain more clearly what does not |
| work when attempting to create a symbolic link for /usr/lib/terminfo |
| on OS/2 and other platforms with no symbolic links (report by John |
| Polterak). |
| + change several sed scripts to avoid using "\+" since it is not a BRE |
| (basic regular expression). One instance caused terminfo.5 to be |
| misformatted on FreeBSD (report by Kazuo Horikawa |
| <horikawa@FreeBSD.org> (see FreeBSD docs/46709)). |
| + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins). |
| |
| 20030105 |
| + improve description of terminfo operators, especially static/dynamic |
| variables (comments by Mark I Manning IV <mark4th@earthlink.net>). |
| + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to |
| use the predefined TYPE_ALPHA field-type, and by defining a |
| specialized type for the middle initial/name. |
| + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature |
| of sed 4.0 |
| > patch by Philippe Blain: |
| + optimize can_clear_with() a little by testing first if the parameter |
| is indeed a "blank". |
| + simplify ClrBottom() a little by allowing it to use clr_eos to clear |
| sections as small as one line. |
| + improve ClrToEOL() by checking if clr_eos is available before trying |
| to use it. |
| + use tputs() rather than putp() in a few cases in tty_update.c since |
| the corresponding delays are proportional to the number of lines |
| affected: repeat_char, clr_eos, change_scroll_region. |
| |
| 20021231 |
| + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from |
| global acs_map[] array; removed the lines that did the copying. |
| |
| 20021228 |
| + change some overlooked tputs() calls in scrolling code to use putp() |
| (report by Philippe Blain). |
| + modify lib_getch.c to avoid recursion via wgetnstr() when the input |
| is not a tty and consequently mode-changes do not work (report by |
| <R.Chamberlin@querix.com>). |
| + rewrote lib_acs.c to allow PutAttrChar() to decide how to render |
| alternate-characters, i.e., to work with Linux console and UTF-8 |
| locale. |
| + correct line/column reference in adjust_window(), needed to make |
| special windows such as curscr track properly when resizing (report |
| by Lucas Gonze <lgonze@panix.com>). |
| > patch by Philippe Blain: |
| + correct the value used for blank in ClrBottom() (broken in 20000708). |
| + correct an off-by-one in GoTo() parameter in _nc_scrolln(). |
| |
| 20021221 |
| + change several tputs() calls in scrolling code to use putp(), to |
| enable padding which may be needed for some terminals (patch by |
| Philippe Blain). |
| + use '%' as sed substitute delimiter in run_tic script to avoid |
| problems with pathname delimiters such as ':' and '@' (report by John |
| Polterak). |
| + implement a workaround so that line-drawing works with screen's |
| crippled UTF-8 support (tested with 3.9.13). This only works with |
| the wide-character support (--enable-widec); the normal library will |
| simply suppress line-drawing when running in a UTF-8 locale in screen. |
| |
| 20021214 |
| + allow BUILD_CC and related configure script variables to be |
| overridden from the environment. |
| + make build-tools variables in ncurses/Makefile.in consistent with |
| the configure script variables (report by Maciej W Rozycki). |
| + modify ncurses/modules to allow |
| configure --disable-leaks --disable-ext-funcs |
| to build (report by Gary Samuelson). |
| + fix a few places in configure.in which lacked quotes (report by |
| Gary Samuelson <gary.samuelson@verizon.com>). |
| + correct handling of multibyte characters in waddch_literal() which |
| force wrapping because they are started too late on the line (report |
| by Sam Varshavchik). |
| + small fix for CF_GNAT_VERSION to ignore the help-message which |
| gnatmake adds to its version-message. |
| > Maciej W Rozycki <macro@ds2.pg.gda.pl>: |
| + use AC_CHECK_TOOL to get proper values for AR and LD for cross |
| compiling. |
| + use $cross_compiling variable in configure script rather than |
| comparing $host_alias and $target alias, since "host" is |
| traditionally misused in autoconf to refer to the target platform. |
| + change configure --help message to use "build" rather than "host" |
| when referring to the --with-build-XXX options. |
| |
| 20021206 |
| + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for |
| possible gnat versions such as 3.2 (report by Chris Lingard |
| <chris@stockwith.co.uk>). |
| + modify #define's for CKILL and other default control characters in |
| tset to use the system's default values if they are defined. |
| + correct interchanged defaults for kill and interrupt characters |
| in tset, which caused it to report unnecessarily (Debian #171583). |
| + repair check for missing C++ compiler, which is broken in autoconf |
| 2.5x by hardcoding it to g++ (report by Martin Mokrejs). |
| + update config.guess, config.sub (2002-11-30) |
| + modify configure script to skip --with-shared, etc., when the |
| --with-libtool option is given, since they would be ignored anyway. |
| + fix to allow "configure --with-libtool --with-termlib" to build. |
| + modify configure script to show version number of libtool, to help |
| with bug reports. libtool still gets confused if the installed |
| ncurses libraries are old, since it ignores the -L options at some |
| point (tested with libtool 1.3.3 and 1.4.3). |
| + reorder configure script's updating of $CPPFLAGS and $CFLAGS to |
| prevent -I options in the user's environment from introducing |
| conflicts with the build -I options (may be related to reports by |
| Patrick Ash and George Goffe). |
| + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to |
| test/demo_keyok.c to allow building these with libtool. |
| |
| 20021123 |
| + add example program test/define_key.c for define_key(). |
| + add example program test/keyok.c for keyok(). |
| + add example program test/ins_wide.c for wins_wch() and wins_wstr(). |
| + modify wins_wch() and wins_wstr() to interpret tabs by using the |
| winsch() internal function. |
| + modify setcchar() to allow for wchar_t input strings that have |
| more than one spacing character. |
| |
| 20021116 |
| + fix a boundary check in lib_insch.c (patch by Philippe Blain). |
| + change type for *printw functions from NCURSES_CONST to const |
| (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>, |
| but really from a note on X/Open's website stating that either is |
| acceptable, and the latter will be used in a future revision). |
| + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in |
| lib_mouse.c (20021026) -TD |
| + add screen-bce, screen-s entries from screen 3.9.13 (report by |
| Adam Lazur <zal@debian.org>) -TD |
| + add mterm terminfo entries -TD |
| |
| 20021109 |
| + split-out useful fragments in terminfo for vt100 and vt220 numeric |
| keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and |
| vt220+keypad. The last as embedded in various entries had ka3 and |
| kb2 interchanged (report/discussion with Leonard den Ottolander |
| <leonardjo@hetnet.nl>). |
| + add check in tic for keypads consistent with vt100 layout. |
| + improve checks in tic for color capabilities |
| |
| 20021102 |
| + check for missing/empty/illegal terminfo name in _nc_read_entry() |
| (report by Martin Mokrejs, where $TERM was set to an empty string). |
| + rewrote lib_insch.c, combining it with lib_insstr.c so both handle |
| tab and other control characters consistently (report by Philippe |
| Blain). |
| + remove an #undef for KEY_EVENT from curses.tail used in the |
| experimental NCURSES_WGETCH_EVENTS feature. The #undef confuses |
| dpkg's build script (Debian #165897). |
| + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT |
| feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>). |
| |
| 20021026 |
| + implement logic in lib_mouse.c to handle position reports which are |
| generated when XFree86 xterm is initialized with private modes 1002 |
| or 1003. These are returned to the application as the |
| REPORT_MOUSE_POSITION mask, which was not implemented. Tested both |
| with ncurses 'a' menu (prompted by discussion with Larry Riedel |
| <Larry@Riedel.org>). |
| + modify lib_mouse.c to look for "XM" terminfo string, which allows |
| one to override the escape sequence used to enable/disable mouse |
| mode. In particular this works for XFree86 xterm private modes |
| 1002 and 1003. If "XM" is missing (note that this is an extended |
| name), lib_mouse uses the conventional private mode 1000. |
| + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns |
| where it used screen_lines (report by Philippe Blain). |
| + correct makefile rules for the case when both --with-libtool and |
| --with-gpm are given (report by Mr E_T <troll@logi.net.au>). |
| + add note to terminfo manpage regarding the differences between |
| setaf/setab and setf/setb capabilities (report by Pavel Roskin). |
| |
| 20021019 |
| + remove redundant initialization of TABSIZE in newterm(), since it is |
| already done in setupterm() (report by Philippe Blain). |
| + add test/inserts.c, to test winnstr() and winsch(). |
| + replace 'sort' in dist.mk with script that sets locale to POSIX. |
| + update URLs in announce.html.in (patch by Frederic L W Meunier). |
| + remove glibc add-on files, which are no longer needed (report by |
| Frederic L W Meunier). |
| |
| 20021012 5.3 release for upload to ftp.gnu.org |
| + modify ifdef's in etip.h.in to allow the etip.h header to compile |
| with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>). |
| + add logic to setupterm() to make it like initscr() and newterm(), |
| by checking for $NCURSES_TRACE environment variable and enabling |
| the debug trace in that case. |
| + modify setupterm() to ensure that it initializes the baudrate, for |
| applications such as tput (report by Frank Henigman). |
| + modify definition of bits used for command-line and library debug |
| traces to avoid overlap, using new definition TRACE_SHIFT to relate |
| the two. |
| + document tput's interpretation of parameterized strings according to |
| whether parameters are given, etc. (discussion with Robert De Bath). |
| |
| 20021005 pre-release |
| + correct winnwstr() to account for non-character cells generated when |
| a double-width character is added (report by Michael Bienia |
| <michael@vorlon.ping.de>). |
| + modify _nc_viswbuf2n() to provide better results using wctomb(). |
| + correct logic in _nc_varargs() which broke tracing of parameters for |
| formats such as "%.*s". |
| + correct scale factor in linux-c and linux-c-nc terminfo entries |
| (report Floyd Davidson). |
| + change tic -A option to -t, add the same option to infocmp for |
| consistency. |
| + correct "%c" implementation in lib_tparm.c, which did not map a null |
| character to a 128 (cf: 980620) (patch by Frank Henigman |
| <fjhenigman@mud.cgl.uwaterloo.ca>). |
| |
| 20020928 pre-release |
| + modify MKkey_defs.sh to check for POSIX sort -k option, use that if |
| it is found, to accommodate newer utility which dropped the |
| compatibility support for +number options (reported by Andrey A |
| Chernov). |
| + modify linux terminfo entry to use color palette feature from |
| linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson). |
| + restore original color definitions in endwin() if init_color() was |
| used, and resume those colors on the next doupdate() or refresh() |
| (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>). |
| + improve debug-traces by modifying MKlib_gen.sh to generate calls |
| to returnBool() and returnAttr(). |
| + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace |
| of waddnstr() and similar functions to match the parameters as used. |
| + add/use _nc_retrace_bool() and _nc_retrace_unsigned(). |
| + correct type used by _nc_retrace_chtype(). |
| + add debug traces to some functions in lib_mouse.c |
| + modify lib_addch.c to handle non-spacing characters. |
| + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++ |
| demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629). |
| + correct width computed in _tracedump(), which did not account for |
| the attributes (broken in 20010602). |
| + modify test/tracemunch to replace addresses for windows other than |
| curscr, newscr and stdscr with window0, window1, etc. |
| |
| 20020921 pre-release |
| + redid fix for edit_man.sed path. |
| + workaround for Cygwin bug which makes subprocess writes to stdout |
| result in core dump. |
| + documented getbegx(), etc. |
| + minor fixes to configure script to use '%' consistently as a sed |
| delimiter rather than '@'. |
| > patch by Philippe Blain: |
| + add check in lib_overlay.c to ensure that the windows to be merged |
| actually overlap, and in copywin(), limit the area to be touched |
| to the lines given for the destination window. |
| |
| 20020914 pre-release |
| + modified curses.h so that if the wide-character version is installed |
| overwriting /usr/include/curses.h, and if it relied on libutf8.h, |
| then applications that use that header for wide-character support |
| must define HAVE_LIBUTF8_H. |
| + modify putwin(), getwin() and dupwin() to allow them to operate on |
| pads (request by Philippe Blain). |
| + correct attribute-merging in wborder(), broken in 20020216 (report |
| by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>). |
| > patch by Philippe Blain: |
| + corrected pop-counts in tparam_internal() to '!' and '~' cases. |
| + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype). |
| + remove some unused variables from mvcur test-driver. |
| |
| 20020907 pre-release |
| + change configure script to allow install of widec-character |
| (ncursesw) headers to overwrite normal (ncurses) headers, since the |
| latter is a compatible subset of the former. |
| + fix path of edit_man.sed in configure script, needed to regenerate |
| html manpages on Debian. |
| + fix mismatched enums in vsscanf.c, which caused warning on Solaris. |
| + update README.emx to reflect current patch used for autoconf. |
| + change web- and ftp-site to invisible-island.net |
| > patch by Philippe Blain: |
| + change case for 'P' in tparam_internal() to indicate that it pops |
| a variable from the stack. |
| + correct sense of precision and width in parse_format(), to avoid |
| confusion. |
| + modify lib_tparm.c, absorb really_get_space() into get_space(). |
| + modify getwin() and dupwin() to copy the _notimeout, _idlok and |
| _idcok window fields. |
| + better fix for _nc_set_type(), using typeMalloc(). |
| |
| 20020901 pre-release |
| + change minor version to 3, i.e., ncurses 5.3 |
| + update config.guess, config.sub |
| + retest build with each configure option; minor ifdef fixes. |
| + make keyname() return a null pointer rather than "UNKNOWN STRING" to |
| match XSI. |
| + modify handling of wide line-drawing character functions to use the |
| normal line-drawing characters when not in UTF-8 locale. |
| + add check/fix to comp_parse.c to suppress warning about missing acsc |
| string. This happens in configurations where raw termcap information |
| is processed; tic already does this and other checks. |
| + modify tic's check for ich/ich1 versus rmir/smir to only warn about |
| ich1, to match xterm patch #70 notes. |
| + moved information for ripped-off lines into SCREEN struct to allow |
| use in resizeterm(). |
| + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS |
| (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ). |
| + amend check in kgetch() from 20020824 to look only for function-keys, |
| otherwise escape sequences are not resolved properly. |
| > patch by Philippe Blain: |
| + removed redundant assignment to SP->_checkfd from newterm(). |
| + check return-value of setupterm() in restartterm(). |
| + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype). |
| + prevent dupwin() from duplicating a pad. |
| + prevent putwin() from writing a pad. |
| + use typeRealloc() or typeMalloc() in preference to direct calls on |
| _nc_doalloc(). |
| |
| 20020824 |
| + add a check in kgetch() for cooked characters in the fifo to avoid |
| calling fifo_push() when a KEY_RESIZE is available (report/analysis |
| by Sam Varshavchik <mrsam@courier-mta.com>). |
| + fix an overlooked case for bugzilla #68199 (Philippe Blain). |
| + ensure clearerr() is called before using ferror() e.g., in |
| lib_screen.c (report by Philippe Blain). |
| |
| 20020817 |
| + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific |
| pointers for curscr/stdscr/newscr when scr_save() and scr_restore() |
| modify the global curscr/stdscr/newscr variables. Fixes Redhat |
| bugzilla #68199 dated 2002-07-07. |
| + add checks for null pointer in calls to tparm() and tgoto() based on |
| FreeBSD bug report. If ncurses were built with termcap support, and |
| the first call to tgoto() were a zero-length string, the result would |
| be a null pointer, which was not handled properly. |
| + correct a typo in terminfo.head, which gave the octal code for colon |
| rather than comma. |
| + remove the "tic -u" option from 20020810, since it did not account |
| for nested "tc=" clauses, and when that was addressed, was still |
| unsatisfactory. |
| |
| 20020810 |
| + add tic -A option to suppress capabilities which are commented out |
| when translating to termcap. |
| + add tic -u option to provide older behavior of "tc=" clauses. |
| + modified tic to expand all but the final "tc=" clause in a termcap |
| entry, to accommodate termcap libraries which do not handle multiple |
| tc clauses. |
| + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by |
| Philippe Blain). |
| + remove a couple of redundant uses of A_ATTRIBUTES in expressions |
| using AttrOf(), which already incorporates that mask (report by |
| Philippe Blain). |
| + document TABSIZE variable. |
| + add NCURSES_ASSUMED_COLORS environment variable, to allow users to |
| override compiled-in default black-on-white assumption used in |
| assume_default_colors(). |
| + correct an off-by-one comparison against max_colors in COLORFGBG |
| logic. |
| + correct a use of uninitialized memory found by valgrind (reported by |
| Olaf Buddenhagen <olafBuddenhagen@web.de>). |
| + modified wresize() to ensure that a failed realloc will not corrupt |
| the window structure, and to make subwindows fit within the resized |
| window (completes Debian #87678, #101699) |
| |
| 20020803 |
| + fix an off-by-one in lib_pad.c check for limits of pad (patch by |
| Philippe Blain). |
| + revise logic for BeOS in lib_twait.c altered in 20011013 to restore |
| logic used by lib_getch.c's support for GPM or EMX mouse (report by |
| Philippe Blain) |
| + remove NCURSES_CONST from several prototypes in curses.wide, to make |
| the --enable-const --enable-widec configure options to work together |
| (report by George Goffe <grgoffe@yahoo.com>). |
| |
| 20020727 |
| + finish no-leak checking in cardfile.c, using this for testing changes |
| to resizeterm(). |
| + simplify _nc_freeall() using delscreen(). |
| |
| 20020720 |
| + check error-return from _nc_set_tty_mode() in _nc_initscr() and |
| reset_prog_mode() (report/patch by Philippe Blain). |
| + regenerate configure using patch for autoconf 2.52, to address |
| problem with identifying C++ bool type. |
| + correct/improve logic to produce an exit status for errors in tput, |
| which did not exit with an error when told to put a string not in the |
| current terminfo entry (report by David Gomez <david@pleyades.net>). |
| + modify configure script AC_OUTPUT() call to work around defect in |
| autoconf 2.52 which adds an ifdef'd include to the generated |
| configure definitions. |
| + remove fstat() check from scr_init(), which also fixes a missing |
| include for <sys/stat.h> from 20020713 (reported by David Ellement, |
| fix suggested by Philippe Blain). |
| + update curs_scanw.3x manpage to note that XSI curses differs from |
| SVr4 curses: return-values are incompatible. |
| + correct several prototypes in manpages which used const |
| inconsistently with the curses.h file, and removed spurious const's |
| in a few places from curses.h, e.g., for wbkgd() (report by Glenn |
| Maynard <glenn@zewt.org>). |
| + change internal type used by tparm() to long, to work with LP64 model. |
| + modify nc_alloc.h to allow building with g++, for testing. |
| |
| 20020713 |
| + add resize-handling to cardfile.c test program. |
| + altered resizeterm() to avoid having it fail when a child window |
| cannot be resized because it would be larger than its parent. (More |
| work must be done on this, but it works well enough to integrate). |
| + improve a limit-check in lib_refresh.c |
| + remove check in lib_screen.c relating dumptime to file's modification |
| times, since that would not necessarily work for remotely mounted |
| filesystems. |
| + modify lrtest to simplify debugging changes to resizeterm, e.g., |
| t/T commands to enable/disable tracing. |
| + updated status of multibyte support in TO-DO. |
| + update contact info in source-files (patch by Juergen Pfeifer). |
| |
| 20020706 |
| + add Caps.hpux11, as an example. |
| + modify version_filter(), used to implement -R option for tic and |
| infocmp, to use computed array offsets based on the Caps.* file which |
| is actually configured, rather than constants which correspond to |
| the Caps file. |
| + reorganized lib_raw.c to avoid updating SP and cur_term state if the |
| functions fail (reported by Philippe Blain). |
| + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc. |
| |
| 20020629 |
| + correct parameters to setcchar() in ncurses.c (cf: 20020406). |
| + set locale in most test programs (view.c and ncurses.c were the |
| only ones). |
| + add configure option --with-build-cppflags (report by Maksim A |
| Nikulin <M.A.Nikulin@inp.nsk.su>). |
| + correct a typo in wide-character logic for lib_bkgnd.c (Philippe |
| Blain). |
| + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when |
| in UTF-8 locale. Wide-character functions use Unicode values, while |
| narrow-character functions use the terminfo data. |
| + fix a couple of places in Ada95/samples which did not compile with |
| gnat 3.14 |
| + modify mkinstalldirs so the DOS-pathname case is locale-independent. |
| + fix locale problem in MKlib_gen.sh by forcing related variables to |
| POSIX (C), using same approach as autoconf (set variables only if |
| they were set before). Update MKterminfo.sh and MKtermsort.sh to |
| match. |
| |
| 20020622 |
| + add charset to generated html. |
| + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy |
| <dcrudy@pacbell.net> -TD |
| + add rxvt-16color, ibm+16color entries -TD |
| + modify check in --disable-overwrite option so that it is used by |
| default unless the --prefix/$prefix value is not /usr, in attempt to |
| work around packagers, e.g., for Sun's freeware, who do not read the |
| INSTALL notes. |
| |
| 20020615 |
| + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function |
| key code in get_wch(). |
| + extended resize-handling in test/ncurses 'a' menu to the entire |
| stack of windows created with 'w' commands. |
| + improve $COLORFGBG feature by interpreting an out-of-range color |
| value as an SGR 39 or 49, for foreground/background respectively. |
| + correct a typo in configure --enable-colorfgbg option, and move it |
| to the experimental section (cf: 20011208). |
| |
| 20020601 |
| + add logic to dump_entry.c to remove function-key definitions that do |
| not fit into the 1023-byte limit for generated termcaps. This makes |
| hds200 fit. |
| + more improvements to tic's warnings, including logic to ignore |
| differences between delay values in sgr strings. |
| + move definition of KEY_RESIZE into MKkeydefs.sh script, to |
| accommodate Caps.osf1r5 which introduced a conflicting definition. |
| |
| 20020525 |
| + add simple resize-handling in test/ncurses.c 'a' menu. |
| + fixes in keyname() and _tracechar() to handle negative values. |
| + make tic's warnings about mismatches in sgr strings easier to follow. |
| + correct tic checks for number of parameters in smgbp and smglp. |
| + improve scoansi terminfo entry, and add scoansi-new entry -TD |
| + add pcvt25-color terminfo entry -TD |
| + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen |
| Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD |
| + add entrypoint _nc_trace_ttymode(), use this to distinguish the |
| Ottyb and Nttyb members of terminal (aka cur_term), for tracing. |
| |
| 20020523 |
| + correct and simplify logic for lib_pad.c change in 20020518 (reported |
| by Mike Castle). |
| |
| 20020518 |
| + fix lib_pad.c for case of drawing a double-width character which |
| falls off the left margin of the pad (patch by Kriang Lerdsuwanakij |
| <lerdsuwa@users.sourceforge.net>) |
| + modify configure script to work around broken gcc 3.1 "--version" |
| option, which adds unnecessary trash to the requested information. |
| + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP |
| (reported by Ben Decker <deckerben@freenet.de>). |
| |
| 20020511 |
| + implement vid_puts(), vid_attr(), term_attrs() based on the narrow- |
| character versions as well. |
| + implement erasewchar(), killwchar() based on erasechar() and |
| killchar(). |
| + modify erasechar() and killchar() to return ERR if the value was |
| VDISABLE. |
| + correct a bug in wresize() in handling subwindows (based on patch by |
| Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck |
| <scott@gossamer-threads.com>). |
| + improve test/tclock.c by making the second-hand update more often |
| if gettimeofday() is available. |
| |
| 20020429 |
| + workaround for Solaris sed with MKlib_gen.sh (reported by Andy |
| Tsouladze <andyt@mypoints.com>). |
| |
| 20020427 |
| + correct return-value from getcchar(), making it consistent with |
| Solaris and Tru64. |
| + reorder loops that generate makefile rules for different models vs |
| subsets so configure --with-termlib works again. This was broken by |
| logic added to avoid duplicate rules in changes to accommodate cygwin |
| dll's (reported by George.R.Goffe@seagate.com). |
| + update config.guess, config.sub |
| |
| 20020421 |
| + modify ifdef's in write_entry.c to allow use of symbolic links on |
| platforms with no hard links, e.g., BeOS. |
| + modify a few includes to allow compile with BeOS, which has stdbool.h |
| with a conflicting definition for 'bool' versus its OS.h definition. |
| + amend MKlib_gen.sh to work with gawk, which defines 'func' as an |
| alias for 'function'. |
| |
| 20020420 |
| + correct form of prototype for ripoffline(). |
| + modify MKlib_gen.sh to test that all functions marked as implemented |
| can be linked. |
| |
| 20020413 |
| + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x |
| + implement wgetn_wstr(). |
| + implement win_wchnstr(). |
| + remove redefinition of unget_wch() in lib_gen.c (reported by |
| Jungshik Shin <jshin@jtan.com>). |
| |
| 20020406 |
| + modified several of the test programs to allow them to compile with |
| vendor curses implementations, e.g., Solaris, AIX -TD |
| |
| 20020323 |
| + modified test/configure to allow configuring against ncursesw. |
| + change WACS_xxx definition to use address, to work like Tru64 curses. |
| |
| 20020317 |
| + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate |
| effect of echo/noecho and meta modes. |
| + add 'A' test to ncurses.c to demonstrate wget_wch() and related |
| functions. |
| + add manpage: curs_get_wch.3x |
| + implement unget_wch(). |
| + implement wget_wch(). |
| |
| 20020310 |
| + regenerated html manpages. |
| + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x |
| + implement wins_wch(). |
| + implement win_wch(). |
| + implement wins_nwstr(), wins_wstr(). |
| |
| 20020309 |
| + add manpages: curs_addwstr.3x, curs_winwstr.3x |
| + implement winnwstr(), winwstr(). |
| |
| 20020223 |
| + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x |
| + document wunctrl, key_name. |
| + implement key_name(). |
| + remove const's in lib_box.c incorrectly leftover after splitting off |
| lib_box_set.c |
| + update llib-lncurses, llib-ncursesw, fix configure script related to |
| these. |
| |
| 20020218 |
| + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted |
| in spurious symlinks on install. |
| |
| 20020216 |
| + implement whline_set(), wvline_set(), add manpage curs_border_set. |
| + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of |
| box() and box_set() functions. |
| + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr() |
| given UTF-8 string equivalents of WACS_xxx symbols. |
| + minor fixes to several manpages based on groff -ww output. |
| + add descriptions of external variables of termcap interface to |
| the manpage (report by Bruce Evans <bde@zeta.org.au>). |
| > patches by Bernhard Rosenkraenzer: |
| + correct configure option --with-bool, which was executed as |
| --with-ospeed. |
| + add quotes for parameters of --with-bool and --with-ospeed configure |
| options. |
| > patch by Sven Verdoolaege (report by Gerhard Haering |
| <haering_linux@gmx.de>): |
| + correct typos in definitions of several wide-character macros: |
| waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr, |
| mvwaddwstr. |
| + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition |
| of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris |
| |
| 20020209 |
| + implement wide-acs characters for UTF-8 locales. When in UTF-8 |
| locale, ignore narrow version of acs. Add 'F' test to test/ncurses.c |
| to demonstrate. |
| + correct prototype in keybound manpage (noted from a Debian mailing |
| list item). |
| |
| 20020202 |
| + add several cases to the wscanw() example in testcurs.c, showing the |
| format. |
| + implement a simple vsscanf() fallback function which uses the %n |
| conversion to help parse the input data (prompted by discussion with |
| Albert Chin-A-Young). |
| + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making |
| shared libraries, and to use $(CFLAGS) when linking test programs |
| (patch by Albert Chin-A-Young). |
| + add a call to _nc_keypad() in keypad() to accommodate applications |
| such as nvi, which use curses for output but not for input (fixes |
| Debian #131263, cf: 20011215). |
| + add entrypoints to resizeterm.c which provide better control over the |
| process: is_term_resized() and resize_term(). The latter restores |
| the original design of resizeterm() before KEY_RESIZE was added in |
| 970906. Do this to accommodate 20010922 changes to view.c, but allow |
| for programs with their own sigwinch handler, such as lynx (reported |
| by Russell Ruby <russ@math.orst.edu>). |
| |
| 20020127 |
| + fix a typo in change to mk-1st.awk, which broke the shared-library |
| makefile rules (reported by Martin Mokrejs). |
| |
| 20020126 |
| + update config.guess, config.sub |
| + finish changes needed to build dll's on cygwin. |
| + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net). |
| |
| 20020119 |
| + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov). |
| + correct missing sed-editing stage in manpage installs which is used |
| to rename manpages, broken in 20010324 fix for Debian #89939 (Debian |
| #78866). |
| + remove -L$(libdir) from linker flags, probably not needed any more |
| since HPUX is handled properly (reported by Niibe Yutaka |
| <gniibe@m17n.org>). |
| + add configure check for mbstate_t, needed for wide-character |
| configuration. On some platforms we must include <wchar.h> to |
| define this (reported by Daniel Jacobowitz). |
| + incorporate some of the changes needed to build dll's on cygwin. |
| |
| 20020112a |
| + workaround for awk did not work with mawk, adjusted shell script. |
| |
| 20020112 |
| + add Caps.osf1r5, as an example. |
| + modify behavior of can_clear_with() so that if an application is |
| running in a non-bce terminals with default colors enabled, it |
| returns true, allowing the user to select/paste text without picking |
| up extraneous trailing blanks (adapted from patch by Daniel |
| Jacobowitz <dmj+@andrew.cmu.edu>). |
| + modify generated curses.h to ifdef-out prototypes for extensions if |
| they are disabled, and to define curses_version() as a string in that |
| case. This is needed to make the programs such as tic build in that |
| configuration. |
| + modified generated headers.sh to remove a gzip'd version of the |
| target file if it exists, in case non-gzip'd manpages are installed |
| into a directory where gzip'd ones exist. In that case, the latter |
| would be found. |
| + corrected a redundant initialization of signal handlers from 20010922 |
| changes. |
| + clarified bug-reporting address in terminfo.src (report by John H |
| DuBois III <spcecdt@armory.com>). |
| > several fixes from Robert Joop: |
| + do not use "-v" option of awk in MKkey_defs.sh because it does not |
| work with SunOS nawk. |
| + modify definitions for libutf8 in curses.h to avoid redefinition |
| warnings for mblen |
| + quoted references to compiler in shell command in misc/Makefile, in |
| case it uses multiple tokens. |
| |
| 20011229 |
| + restore special case from 20010922 changes to omit SA_RESTART when |
| setting up SIGWINCH handler, which is needed to allow wgetch() to be |
| interrupted by that signal. |
| + update configure macro CF_WITH_PATHLIST, to omit some double quotes |
| not needed with autoconf 2.52 |
| + revert configure script to autoconf 2.13 patched with |
| autoconf-2.13-19990117.patch.gz (or later) |
| from |
| ftp://invisible-island.net/autoconf/ |
| because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0 |
| (report by David Ellement <ellement@sdd.hp.com>). This also fixes a |
| different problem configuring with Mac OS X (reported by Marc Smith |
| <marc.a.smith@home.com>). |
| |
| 20011222 |
| + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from |
| term.h |
| + move prototype for _nc_vsscanf() into curses.h.in to omit |
| HAVE_VSSCANF symbol from curses.h, which was dependent upon the |
| ncurses_cfg.h file which is not installed. |
| + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c, |
| to work with broken linker configuration, e.g., cygwin (report by |
| Robert Joop <rj@rainbow.in-berlin.de>). |
| + make napms() call _nc_timed_wait() rather than poll() or select(), |
| to work around broken implementations of these on cygwin. |
| |
| 20011218 |
| + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete |
| by Sven Verdoolaege's rewrite of wide-character support. This makes |
| libncursesw incompatible again, but makes the header files almost the |
| same as in the narrow-character configuration. |
| + simplify definitions that combine wide/narrow versions of bkgd, etc., |
| to eliminate differences between the wide/narrow versions of curses.h |
| + correct typo in configure macro CF_FUNC_VSSCANF |
| + correct location of call to _nc_keypad() from 20011215 changes which |
| prevented keypad() from being disabled (reported by Lars Hecking). |
| |
| 20011215 |
| + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions |
| better, e.g., by adding a 'w' command to create new windows which |
| may have different keypad() settings. |
| + corrected logic of keypad() by adding internal screen state to track |
| whether the terminal's keypad-mode has been set. Use this in |
| wgetch() to update the keypad-mode according to whether the |
| associated window's keypad-mode has been set with keypad(). This |
| corrects a related problem restoring terminal state after handling |
| SIGTSTP (reported by Mike Castle). |
| + regenerate configure using patch for autoconf 2.52 |
| autoconf-2.52-patch.gz |
| at |
| ftp://invisible-island.net/autoconf/ |
| + update config.guess, config.sub from |
| http://subversions.gnu.org/cgi-bin/viewcvs/config/config/ |
| + minor changes to quoting in configure script to allow it to work |
| with autoconf 2.52 |
| |
| 20011208 |
| + modify final checks in lib_setup.c for line and col values, making |
| them independent. |
| + modify acs_map[] if configure --broken-linker is specified, to make |
| it use a function rather than an array (prompted by an incorrect |
| implementation in cygwin package). |
| + correct spelling of configure option --enable-colorfgbg, which |
| happened to work if --with-develop was set (noted in cygwin package |
| for ncurses). |
| + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop |
| 6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>). |
| + add configure checks to see if ncurses' fallback vsscanf() will |
| compile either of the special cases for FILE structs, and if not, |
| force it to the case which simply returns an error (report by |
| Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with |
| 64-bits does not allow access to FILE's fields). |
| + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in |
| the ncurses library if no better substitute for this can be found |
| in the C++ runtime. |
| + modify the build to name dynamic libraries according to the |
| convention used on OS X and Darwin. Rather than something like |
| libncurses.dylib.5.2, Darwin would name it libncurses. 5.dylib. |
| There are a few additional minor fixes, such as setting the library |
| version and compatibility version numbers (patch by Jason Evans |
| <jevans@apple.com>). |
| + use 'sh' to run mkinstalldirs, to work around problems with buggy |
| versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>). |
| + correct typo in manpage description of curs_set() (Debian #121548). |
| + replace the configure script existence-check for mkstemp() by one |
| that checks if the function works, needed for older glibc and |
| AmigaOS. |
| |
| 20011201 |
| + modify script that generates fallbacks.c to compile a temporary |
| copy of the terminfo source in case the host does not contain all of |
| the entries requested for fallbacks (request by Greg Roelofs). |
| + modify configure script to accommodate systems such as Mac OS X whose |
| <stdbool.h> header defines a 'bool' type inconsistent with ncurses, |
| which normally makes 'bool' consistent with C++. Include <stdbool.h> |
| from curses.h to force consistent usage, define a new type |
| NCURSES_BOOL and related that to the exported 'bool' as either a |
| typedef or definition, according to whether <stdbool.h> is present |
| (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>). |
| |
| 20011124 |
| + added/updated terminfo entries for M$ telnet and KDE konsole -TD |
| |
| 20011117 |
| + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries |
| (Benjamin C W Sittler). |
| + add putty terminfo entry -TD |
| + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since |
| this may not otherwise be defined to make test/view.c compile. |
| |
| 20011110 |
| + review/correct several missing/generated items in curses.wide, sorted |
| the lists to make subsequent diff's easier to track. |
| |
| 20011103 |
| + add manual pages for add_wch(), echo_wchar(), getcchar(), |
| mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar(). |
| + implement wecho_wchar() |
| + modify _tracedump() to handle wide-characters by mapping them to '?' |
| and control-characters to '.', to make the trace file readable. Also |
| dynamically allocate the buffer used by _tracedump() for formatting |
| the results. |
| + modify T_CALLED/T_RETURN macros to ease balancing call/return lines |
| in a trace by using curly braces. |
| + implement _nc_viscbuf(), for tracing cchar_t arrays. |
| + correct trace-calls in setcchar() and getcchar() functions, which |
| traced the return values but not the entry to each function. |
| + correct usage message in test/view.c, which still mentioned -u flag. |
| |
| 20011027 |
| + modify configure script to allow building with termcap only, or with |
| fallbacks only. In this case, we do not build tic and toe. |
| + add configure --with-termpath option, to override default TERMPATH |
| value of /etc/termcap:/usr/share/misc/termcap. |
| + cosmetic change to tack: make menu descriptions agree with menu |
| titles. |
| |
| 20011020 |
| + rewrote limit-checks in wscrl() and associated _nc_scroll_window(), |
| to ensure that if the parameter of wscrl() is larger than the size of |
| the scrolling region, then the scrolling region will be cleared |
| (report by Ben Kohlen <bckohlen@yahoo.com>). |
| + add trace/varargs.c, using this to trace parameters in lib_printw.c |
| + implement _tracecchar_t2() and _tracecchar_t(). |
| + split-out trace/visbuf.c |
| + correct typo in lib_printw.c changes from 20010922 (report by Mike |
| Castle). |
| |
| 20011013 |
| + modify run_tic.sh to check if the build is a cross-compile. In that |
| case, do not use the build's tic to install the terminfo database |
| (report by Rafael Rodriguez Velilla <rrv@tid.es>). |
| + modify mouse click resolution so that mouseinterval(-1) will disable |
| it, e.g., to handle touchscreens via a slow connection (request by |
| Byron Stanoszek <gandalf@winds.org>). |
| + correct mouseinterval() default value shown in curs_mouse.3x |
| + remove conflicting definition of mouse_trafo() (reported by Lars |
| Hecking, using gcc 2.95.3). |
| |
| 20011001 |
| + simpler fix for signal_name(), to replace the one overlooked in |
| 20010929 (reported by Larry Virden). |
| |
| 20010929 |
| + add -i option to view.c, to test ncurses' check for non-default |
| signal handler for SIGINT, etc. |
| + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun |
| <bbraun@synack.net>). |
| + modify tset to restore original I/O modes if an error is encountered. |
| Also modify to use buffered stderr consistently rather than mixing |
| with write(). |
| + change signal_name() function to use if-then-else rather than case |
| statement, since signal-values aren't really integers (reported by |
| Larry Virden). |
| + add limit checks in wredrawln(), fixing a problem where lynx was |
| repainting a pad which was much larger than the screen. |
| |
| 20010922 |
| + fix: PutRange() was counting the second part of a wide character as |
| part of a run, resulting in a cursor position that was one too far |
| (patch by Sven Verdoolaege). |
| + modify resizeterm() to not queue a KEY_RESIZE if there was no |
| SIGWINCH, thereby separating the two styles of SIGWINCH handling |
| in test/view.c |
| + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH. |
| + eliminate several static buffers in the terminfo compiler, using |
| allocated buffers. |
| + modify MKkeyname.awk so that keyname() does not store its result into |
| a static buffer that is overwritten by the next call. |
| + reorganize the output of infocmp -E and -e options to compile cleanly |
| with gcc -Wwrite-strings warnings. |
| + remove redefinition of chgat/wchgat/mvwchgat from curses.wide |
| |
| 20010915 |
| + add label to test/view.c, showing the name of the last key or signal |
| that made the screen repaint, to make it clearer when a sigwinch |
| does this. |
| + use ExitProgram() consistently in the test-programs to make it |
| simpler to test leaks with dmalloc, etc. |
| + move hashtab static data out of hashmap.c into SCREEN struct. |
| + make NO_LEAK code compile with revised WINDOWLIST structs. |
| |
| 20010908 |
| + modify tgetent() to check if exit_attribute_mode resets the alternate |
| character set, and if so, attempt to adjust the copy of the termcap |
| "me" string which it will return to eliminate that part. In |
| particular, 'screen' would lose track of line-drawing characters |
| (report by Frederic L W Meunier <0@pervalidus.net>, analysis by |
| Michael Schroeder). |
| |
| 20010901 |
| + specify DOCTYPE in html manpages. |
| + add missing macros for several "generated" functions: attr_get(), |
| attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and |
| mouse_trafo(). |
| + modify view.c to agree with non-experimental status of ncurses' |
| sigwinch handler: |
| + change the sense of the -r option, making it default to ncurses' |
| sigwinch handler. |
| + add a note explaining what functions are unsafe in a signal |
| handler. |
| + add a -c option, to set color display, for testing. |
| + unset $data variable in MKterminfo.sh script, to address potential |
| infinite loop if shell malfunction (report by Samuel Mikes |
| <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system). |
| + change kbs in mach terminfo entries to ^? (Marcus Brinkmann |
| <Marcus.Brinkmann@ruhr-uni-bochum.de>). |
| + correct logic for COLORFGBG environment variable: if rxvt is compiled |
| with xpm support, the variable has three fields, making it slightly |
| incompatible with itself. In either case, the background color is |
| the last field. |
| |
| 20010825 |
| + move calls to def_shell_mode() and def_prog_mode() before loop with |
| callbacks in lib_set_term.c, since the c++ demo otherwise initialized |
| the tty modes before saving them (patch by John David Anglin |
| <dave@hiauly1.hia.nrc.ca>). |
| + duplicate logic used to initialize trace in newterm(), in initscr() |
| to avoid confusing trace of initscr(). |
| + simplify allocation of WINDOW and WINDOWLIST structs by making the |
| first a part of the second rather than storing a pointer. This saves |
| a call to malloc for each window (discussion with Philippe Blain). |
| + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe |
| Blain). |
| + modify c++/Makefile.in to accommodate archive programs that are |
| different for C++ than for C, and add cases for vendor's C++ |
| compilers on Solaris and IRIX (report by Albert Chin-A-Young). |
| + correct manpage description of criteria for deciding if the terminal |
| supports xterm mouse controls. |
| + add several configure script options to aid with cross-compiling: |
| --with-build-cc, --with-build-cflags, --with-build-ldflags, and |
| --with-build-libs (request by Greg Roelofs). |
| + change criteria for deciding if configure is cross-compiling from |
| host/build mismatch to host/target mismatch (request by Greg Roelofs |
| <greg.roelofs@philips.com>). |
| + correct logic for infocmp -e and -E options which writes the data for |
| the ext_Names[] array. This is needed if one constructs a fallback |
| table for a terminfo entry which uses extended termcap names, e.g., |
| AX in a color xterm. |
| + fix undefined NCURSES_PATHSEP when configure --disable-database |
| option is given. |
| |
| 20010811 |
| + fix for VALID_BOOLEAN() macro when char is not signed. |
| + modify 'clean' rule for C++ binding to work with Sun compiler, which |
| caches additional information in a subdirectory of the objects. |
| + added llib-ncursesw. |
| |
| 20010804 |
| + add Caps.keys example for experimental extended function keys |
| (adapted from a patch by Ilya Zakharevich). |
| + correct parameter types of vidputs() and vidattr() to agree with |
| header files (report by William P Setzer). |
| + fix typos in several man-pages (patch by William P Setzer). |
| + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure |
| macro, which made ncurses C++ binding fail to build with other |
| C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young). |
| + workaround for bug in HPUX 11.x C compiler: add a blank after |
| NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young) |
| + ignore blank lines in Caps* files in MKkey_defs.sh script (report by |
| Albert Chin-A-Young). |
| + correct definition of key_end in Caps.aix4, which left KEY_END |
| undefined (report by Albert Chin-A-Young). |
| + remove a QNX-specific fallback prototype for vsscanf(), which is |
| obsolete with QNX RTP. |
| + review/fix some of the T() and TR() macro calls, having noticed that |
| there was no data for delwin() in a trace of dialog because there was |
| no returnVoid call for wtimeout(). Also, traces in lib_twait.c are |
| now selected under TRACE_IEVENT rather than TRACE_CALLS. |
| |
| 20010728 |
| + add a _nc_access() check before opening files listed via $TERMPATH. |
| + using modified man2html, regenerate some of the html manpages to fix |
| broken HREF's where the link was hyphenated. |
| |
| 20010721 |
| + add some limit/pointer checks to -S option of tputs. |
| + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries |
| (Benjamin C W Sittler). |
| + add a note in curs_termcap.3x regarding a defect in the XSI |
| description of tgetent (based on a discussion with Urs Jansen |
| regarding the HPUX 11.x implementation, whose termcap interface is |
| not compatible with existing termcap programs). |
| + modify manhtml rule in dist.mk to preserve copyright notice on the |
| generated files, as well as to address HTML style issues reported by |
| tidy and weblint. Regenerated/updated corresponding html files. |
| + comment out use of Protected_Character and related rarely used |
| attributes in ncurses Ada95 test/demo to compile with wide-character |
| configuration. |
| |
| 20010714 |
| + implement a simple example in C++ demo to test scanw(). |
| + corrected stdio function used to implement scanw() in cursesw.cc |
| + correct definition of RemAttr() macro from 20010602 changes, which |
| caused C++ SillyDemo to not show line-drawing characters. |
| + modify C++ binding, adding getKey() which can be overridden by user |
| to substitute functions other than getch() for keyboard processing |
| of forms and menus (patch by Juergen Pfeifer). |
| |
| 20010707 |
| + fix some of the trace calls which needed modification to work with |
| new wide-character structures. |
| + modify magic-cookie code in tty_update.c to compile with new |
| wide-character structures (report by <George.R.Goffe@seagate.com>). |
| + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if |
| compiling for wide-character configuration. |
| + make addwnstr() handle non-spacing characters (patch by Sven |
| Verdoolaege). |
| |
| 20010630 |
| + add configure check to define _GNU_SOURCE, needed to prop up glibc |
| header files. |
| + split-out include/curses.wide to solve spurious redefinitions caused |
| by defining _GNU_SOURCE, and move includes for <signal.h> before |
| <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header |
| file. |
| + extended ospeed change to NetBSD and OpenBSD -TD |
| + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it |
| work properly for termcap applications (patch by Andrey A Chernov). |
| |
| 20010623 |
| + correct an overlooked CharOf/UChar instance (reports by Eugene Lee |
| <eugene@anime.net>, Sven Verdoolaege). |
| + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege) |
| |
| 20010618 |
| + change overlooked several CharOf/UChar instances. |
| > several patches from Sven Verdoolaege: |
| + correct a typo in wunctrl(), which made it appear that botwc() was |
| needed (no such function: use btowc()). |
| + reimplement wide-character demo in test/view.c, using new functions. |
| + implement getcchar(), setcchar(), wadd_wchnstr() and related macros. |
| + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h). |
| |
| 20010616 |
| + add parentheses in macros for malloc in test.priv.h, fixes an |
| expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>). |
| + add Caps.uwin, as an example. |
| + change the way curses.h is generated, making the list of function |
| key definitions extracted from the Caps file. |
| + add #undef's before possible redefinition of ERR and OK in curses.h |
| + modify logic in tic, toe, tput and tset which checks for basename of |
| argv[0] to work properly on systems such as OS/2 which have |
| case-independent filenames and/or program suffixes, e.g., ".ext". |
| |
| 20010609 |
| + add a configure check, if --enable-widec is specified, for putwc(), |
| which may be in libutf8. |
| + remove some unnecessary text from curs_extend.3x and |
| default_colors.3x which caused man-db to make incorrect symbolic |
| links (Debian bug report #99550). |
| + add configure check if cast for _IO_va_list is needed to compile |
| C++ vscan code (Debian bug report #97945). |
| > several patches from Sven Verdoolaege: |
| + correct code that used non-standard auto-initialization of a struct, |
| which gcc allows (report by Larry Virden). |
| + use putwc() in PUTC() macro. |
| + make addstr() work for the special case where the codeset is |
| non-stateful (eg. UTF-8), as well as stateful codesets. |
| |
| 20010603 |
| + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes |
| from 20010602 (report by Mike Castle). |
| |
| 20010602 |
| + modify mvcur() to avoid emitting newline characters when nonl() mode |
| is set. Normally this is not a problem since the actual terminal |
| mode is set to suppress nl/crlf translations, however it is useful to |
| allow the caller to manipulate the terminal mode to avoid staircasing |
| effects after spawning a process which writes messages (for lynx |
| 2.8.4) -TD |
| > several patches from Sven Verdoolaege <skimo@kotnet.org>: |
| + remove redundant type-conversion in fifo_push() |
| + correct definition of addwstr() macro in curses.h.in |
| + remove _nc_utf8_outch() |
| + rename most existing uses of CharOf() to UChar(), e.g., where it is |
| used to prevent sign-extension in ctype macros. |
| + change some chtype's to attr_t's where the corresponding variables |
| are used to manipulate attributes. |
| + UpdateAttr() was applied to both attributes (attr_t) and characters |
| (chtype). Modify macro and calls to it to make these distinct. |
| + add CharEq() macro, use in places where wide-character configuration |
| implementation uses a struct for cchar_t. |
| + moved struct ldat into curses.priv.h, to hide implementation details. |
| + change CharOf() macro to use it for masking A_CHARTEXT data from |
| chtype's. |
| + add L() macro to curses.priv.h, for long-character literals. |
| + replace several assignments from struct ldat entries to chtype or |
| char values with combinations of CharOf() and AttrOf() macros. |
| + add/use intermediate ChAttrOf() and ChCharOf() macros where we know |
| we are using chtype data. |
| + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr() |
| and SetAttr(). |
| + add/use SetChar() macro, to change a cchar_t based on a character and |
| attributes. |
| + convert most internal use of chtype to NCURSES_CH_T, to simplify use |
| of cchar_t for wide-character configuration. Similarly, use ARG_CH_T |
| where a pointer would be more useful. |
| + add stubs for tracing cchar_t values. |
| + add/use macro ISBLANK() |
| + add/use constructors for cchar_t's: NewChar(), NewChar2(). |
| + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate |
| passing cchar_t's by address. |
| + add/use PUTC_DATA, PUTC() macros. |
| + for wide-character configuration, move the window background data to |
| the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED |
| is defined or not, the offsets in the struct will not change. |
| + modify addch() to work with wide-characters. |
| + mark several wide-character functions as generated in curses.h.in |
| + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(), |
| wborder_set() and waddnwstr(). |
| |
| 20010526 |
| + add experimental --with-caps=XXX option to customize to similar |
| terminfo database formats such as AIX 4.x |
| + add Caps.aix4 as an example. |
| + modify Caps to add columns for the the KEY_xxx symbols. |
| + modify configure --with-widec to suppress overwrite of libcurses.so |
| and curses.h |
| + add checks to toe.c to avoid being confused by files and directories |
| where we would expect the reverse, e.g., source-files in the |
| top-level terminfo levels as is the case for AIX. |
| |
| 20010519 |
| + add top-level 'depend' rule for the C sources, assuming that the |
| makedepend program is available. As a side-effect, this makes |
| the generated sources, as in "make sources" (prompted by a report |
| by Mike Castle that "make -j" fails because the resulting parallel |
| processes race to generate ncurses/names.c). |
| + modify configure script so that --disable-overwrite option's action |
| to add a symbolic link for libcurses applies to the static library as |
| well as the shared library when both are configured (report by Felix |
| Natter <f.natter@ndh.net>). |
| + add ELKS terminfo entries (Federico Bianchi |
| <bianchi@www.arte.unipi.it>) |
| + add u6 (CSR) to Eterm (Michael Jennings). |
| |
| 20010512 |
| + modify test/ncurses.c to work with xterm-256color, which has fewer |
| color pairs than colors*colors (report by David Ellement |
| <ellement@sdd.hp.com>). |
| |
| 20010505 |
| + corrected screen.xterm-xfree86 entry. |
| + update comment in Caps regarding IBM (AIX) function-key definitions. |
| |
| 20010421 |
| + modify c++/Makefile.in to link with libncurses++w.a when configured |
| for wide-characters (patch by Sven Verdoolaege). |
| + add check in _nc_trace_buf() to refrain from freeing a null pointer. |
| + improve CF_PROG_INSTALL macro using CF_DIRNAME. |
| + update config.guess, config.sub from autoconf 2.49e (alpha). |
| |
| 20010414 |
| + add secondary check in tic.c, similar_sgr() to see if the reason |
| for mismatch was that the individual capabilities used a time-delay |
| while sgr did not. Used this to cleanup mismatches, e.g., in vt100, |
| and remove time-delay from Apple_Terminal entries. |
| + add Apple_Terminal terminfo entries (Benjamin C W Sittler |
| <bsittler@iname.com>). |
| + correct definitions of shifted editing keys for xterm-xfree86 -TD |
| + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra). |
| + prevent relative_move() from doing an overwrite if it detects 8-bit |
| characters when configured for UTF-8 (reported by Sven Verdoolaege |
| <skimo@kotnet.org>). |
| |
| 20010407 |
| + add configure checks for strstream.h vscan function, and similar |
| stdio-based function which may be used in C++ binding for gcc 3.0 |
| (reports by George Goffe, Lars Hecking, Mike Castle). |
| + rewrite parts of configure.in which used changequote(). That feature |
| is broken in the latest autoconf alphas (e.g., 2.49d). |
| + add a missing pathname for ncurses_dll.h, needed when building in |
| a directory outside the source tree (patch by Sven Verdoolaege |
| <skimo@kotnet.org>). |
| > fix 2 bugs in test/bs.c Erik Sigra <sigra@home.se>: |
| + no ships were ever placed in the last row or in the last column. |
| This made the game very easy to win, because you never had to waste |
| any shots there, but the computer did. |
| + the squares around a sunken ship that belonged to the player were not |
| displayed as already hit by the computer, like it does for the |
| player. |
| |
| 20010331 |
| + add some examples of customizing screen's terminfo: |
| screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD |
| + modify screen's terminfo entry to match the khome/kend in screen |
| 3.09.08 (Debian bug report #92215). |
| + correct a memory leak in forms library (report by Stefan Vogtner |
| <stefan@vogtner.de>) (patch by Juergen Pfeifer). |
| |
| 20010324 |
| + change symbols used to guard against repeated includes to begin |
| consistently with "NCURSES_" rather than a leading underscore. There |
| are other symbols defined in the header files which begin with a |
| leading underscore, but they are part of the legacy interface. |
| + reorder includes in c++ binding so that rcs identifiers can be |
| compiled-in. |
| + add .cc.ii rule to c++ makefile, to get preprocessor output for |
| debugging. |
| + correct configure script handling of @keyword@ substitutions when the |
| --with-manpage-renames option is given (cf: 20000715, fixes Debian |
| bug #89939). |
| + report stack underflow/overflow in tparm() when tic -cv option is |
| given. |
| + remove spurious "%|" operator from xterm-xfree86 terminfo entry, |
| (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222). |
| |
| 20010310 |
| + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc |
| 2.95.2, and correcting some conflicting color pair initializations. |
| + add missing copyright notice for cursesw.h |
| + review, make minor fixes for use of '::' for referring to C-language |
| interface from C++ binding. |
| + modify configure check for g++ library slightly to accommodate |
| nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho |
| <rho@mipos2.intel.com>). |
| + add configure check for c++ <sstream> header, replace hardcoded |
| ifdef. |
| + workaround for pre-release of gcc 3.0 libstdc++, which has dropped |
| vscan from strstreambuf to follow standard, use wrapper for C vscanf |
| instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart |
| <taggart@carmen.fc.hp.com>, fixes Debian . |
| |
| 20010303 |
| + modify interface of _nc_get_token() to pass 'silent' parameter to it, |
| to make quieter loading of /etc/termcap (patch by Todd C Miller). |
| + correct a few typos in curs_slk.3x and curs_outopts.3x manpages |
| (patch by Todd C Miller). |
| |
| 20010224 |
| + compiler-warning fixes (reported by Nelson Beebe). |
| |
| 20010210 |
| + modify screen terminfo entry to use new 3.9.8 feature allowing xterm |
| mouse controls -TD |
| |
| 20010203 |
| + broaden patterns used to match OS/2 EMX in configure script to cover |
| variant used in newer config.guess/config.sub |
| + remove changequote() calls from configure script, since this feature |
| is broken in the autoconf 2.49c alpha, maintainers decline to fix. |
| + remove macro callPutChar() from tty_update.c, since this is no longer |
| needed (reported by Philippe Blain). |
| + add a null-pointer check in tic.c to handle the case when the input |
| file is really empty. Modify the next_char() function in comp_scan.c |
| to allow arbitrarily long lines, and incidentally supply a newline to |
| files that do not end in a newline. These changes improve tic's |
| recovery from attempts to read binary files, e.g., its output from |
| the terminfo database (reported by Bernhard Rosenkraenzer). |
| |
| 20010127 |
| + revert change to c++
|