Commit Graph

136 Commits

Author SHA1 Message Date
Thomas E. Dickey
ccb812c9ce ncurses 5.7 - patch 20090711
+ improve performance of tigetstr, etc., by using hashing code from tic.
+ minor fixes for memory-leak checking.
+ add test/demo_terminfo, for comparison with demo_termcap
2009-07-11 23:12:47 +00:00
Thomas E. Dickey
5b7f4de105 ncurses 5.7 - patch 20090704
+ remove wide-character checks from unctrl() (patch by Clemens Ladisch).
+ revise wadd_wch() and wecho_wchar() to eliminate dependency on
  unctrl().
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-07-04 23:55:21 +00:00
Thomas E. Dickey
da1f84b7eb ncurses 5.7 - patch 20090627
+ update llib-lncurses[wt] to use sp-funcs.
+ various code-fixes to build/work with --disable-macros configure
  option.
+ add several new files from Juergen Pfeifer which will be used when
  integration of "sp-funcs" is complete.  This includes a port to
  MinGW.
2009-06-28 01:00:34 +00:00
Thomas E. Dickey
3ce2c58251 ncurses 5.7 - patch 20090613
+ move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
  make includes of term.h without curses.h work (report by "Nix").
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-06-14 00:39:29 +00:00
Thomas E. Dickey
dc6f2587b1 ncurses 5.7 - patch 20090607
+ fix a regression in lib_tputs.c, from ongoing merges.
2009-06-07 14:35:36 +00:00
Thomas E. Dickey
d4ede7c5fa ncurses 5.7 - patch 20090606
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-06-07 00:51:13 +00:00
Thomas E. Dickey
26522e4669 ncurses 5.7 - patch 20090530
+ fix an infinite recursion when adding a legacy-coding 8-bit value
  using insch() (report by Clemens Ladisch).
+ free home-terminfo string in del_curterm() (patch by Dan Weber).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-05-30 23:24:28 +00:00
Thomas E. Dickey
1886515007 ncurses 5.7 - patch 20090523
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-05-24 01:18:15 +00:00
Thomas E. Dickey
9dda8e1ed1 ncurses 5.7 - patch 20090516
+ work around antique BSD game's manipulation of stdscr, etc., versus
  SCREEN's copy of the pointer (Debian #528411).
+ add a cast to wattrset macro to avoid compiler warning when comparing
  its result against ERR (adapted from patch by Matt Kraii, Debian
  #528374).
2009-05-17 00:47:23 +00:00
Thomas E. Dickey
404cc3f5b0 ncurses 5.7 - patch 20090510
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-05-10 23:36:12 +00:00
Thomas E. Dickey
d998cb49bf ncurses 5.7 - patch 20090425 2009-05-03 00:59:25 +00:00
Thomas E. Dickey
049beef99e ncurses 5.7 - patch 20090425
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-04-26 01:00:20 +00:00
Thomas E. Dickey
37babca07f ncurses 5.7 - patch 20090419
+ build fix for _nc_free_and_exit() change in 20090418 (report by
  Christian Ebert).
2009-04-19 15:09:33 +00:00
Thomas E. Dickey
7a6bbc8cf4 ncurses 5.7 - patch 20090418
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-04-19 00:38:07 +00:00
Thomas E. Dickey
fc79b49bd8 ncurses 5.7 - patch 20090411
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
  This change finishes merging for menu and panel libraries, does
  part of the form library.
2009-04-11 22:39:24 +00:00
Thomas E. Dickey
92059d2075 ncurses 5.7 - patch 20090404
+ suppress configure check for static/dynamic linker flags for gcc on
  Darwin (report by Nelson Beebe).
2009-04-04 23:41:00 +00:00
Thomas E. Dickey
1bdf9cf115 ncurses 5.7 - patch 20090328
+ extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
  function key definitions from emx-base for consistency -TD
+ correct missing final 'p' in pfkey capability of ansi.sys-old (report
  by Kalle Olavi Niemitalo).
+ improve test/ncurses.c 'F' test, show combining characters in color.
+ quiet a false report by cppcheck in c++/cursesw.cc by eliminating
  a temporary variable.
+ use _nc_doalloc() rather than realloc() in a few places in ncurses
  library to avoid leak in out-of-memory condition (reports by William
  Egert and Martin Ettl based on cppcheck tool).
+ add --with-ncurses-wrap-prefix option to test/configure (discussion
  with Charles Wilson).
+ use ncurses*-config scripts if available for test/configure.
+ update test/aclocal.m4 and test/configure
> patches by Charles Wilson:
+ modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
  version numbers (e.g.  which include alphabetic chars, as well as
  digits, after the final '.').
+ improve use of -no-undefined option for libtool by setting an
  intermediate variable LT_UNDEF in the configure script, and then
  using that in the libtool link-commands.
+ fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
  from 2009031 changes.
+ improve mk-1st.awk script by writing separate cases for the
  LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
  termlib) is to be linked.
+ modify configure.in to allow broken-linker configurations, not just
  enable-reentrant, to set public wrap prefix.
2009-03-29 00:06:57 +00:00
Thomas E. Dickey
2782cd7cf3 ncurses 5.7 - patch 20090321
+ add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
  build with tic and term libraries (patch by Charles Wilson).
+ add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
  (report by Charles Wilson).
+ fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
  the form, menu or panel libraries (patch by Charles Wilson).
+ add configure option --with-wrap-prefix to allow setting the prefix
  for functions used to wrap global variables to something other than
  "_nc_" (discussion with Charles Wilson).
2009-03-22 00:51:17 +00:00
Thomas E. Dickey
684ea7a157 ncurses 5.7 - patch 20090314
+ modify scripts to generate ncurses*-config and pc-files to add
  dependency for tinfo library (patch by Charles Wilson).
+ improve comparison of program-names when checking for linked flavors
  such as "reset" by ignoring the executable suffix (reports by Charles
  Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
  list).
+ suppress configure check for static/dynamic linker flags for gcc on
  Solaris 10, since gcc is confused by absence of static libc, and
  does not switch back to dynamic mode before finishing the libraries
  (reports by Joel Bertrand, Alan Pae).
+ minor fixes to Intel compiler warning checks in configure script.
+ modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
+ modify set_curterm() to make broken-linker configuration work with
  changes from 20090228 (report by Charles Wilson).
2009-03-15 01:02:54 +00:00
Thomas E. Dickey
b94faec6aa ncurses 5.7 - patch 20090228
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ modify declaration of cur_term when broken-linker is used, but
  enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
2009-02-28 23:06:36 +00:00
Thomas E. Dickey
9fab8ab6b6 ncurses 5.7 - patch 20090221
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-02-22 02:08:00 +00:00
Thomas E. Dickey
78e49873c6 ncurses 5.7 - patch 20090214
+ add configure script --enable-sp-funcs to enable the new set of
  extended functions.
+ start integrating patches by Juergen Pfeifer:
  + add extended functions which specify the SCREEN pointer for several
    curses functions which use the global SP (these are incomplete;
    some internals work is needed to complete these).
  + add special cases to configure script for MinGW port.
2009-02-15 02:14:18 +00:00
Thomas E. Dickey
eae581c004 ncurses 5.7 - patch 20090207
+ update several configure macros from lynx changes
  + append (not prepend) to CFLAGS/CPPFLAGS
  + change variable from PATHSEP to PATH_SEPARATOR
+ improve install-rules for pc-files (patch by Miroslav Lichvar).
  + make it work with $DESTDIR
  + create the pkg-config library directory if needed.
2009-02-07 21:13:13 +00:00
Thomas E. Dickey
95a30fbbfc ncurses 5.7 - patch 20090124
+ modify init_pair() to allow caller to create extra color pairs beyond
  the color_pairs limit, which use default colors (request by Emanuele
  Giaquinta).
+ add misc/terminfo.tmp and misc/*.pc to "sources" rule.
+ fix typo "==" where "=" is needed in ncurses-config.in and
  gen-pkgconfig.in files (Debian #512161).
2009-01-25 02:04:12 +00:00
Thomas E. Dickey
1f21085964 ncurses 5.7 - patch 20090117
+ add -shared option to MK_SHARED_LIB when -Bsharable is used, for
  *BSD's, without which "main" might be one of the shared library's
  dependencies (report/analysis by Ken Dickey).
+ modify waddch_literal(), updating line-pointer after a multicolumn
  character is found to not fit on the current row, and wrapping is
  done.  Since the line-pointer was not updated, the wrapped
  multicolumn character was written to the beginning of the current row
  (cf: 20041023, reported by "Nick" regarding problem with ncmpc
  http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
2009-01-18 00:21:12 +00:00
Thomas E. Dickey
fde8fd6531 ncurses 5.7 - patch 20090110
+ add screen.Eterm terminfo entry (GenToo #124887) -TD
+ modify adacurses-config to look for ".ali" files in the adalib
  directory.
+ correct install for Ada95, which omitted libAdaCurses.a used in
  adacurses-config
+ change install for adacurses-config to provide additional flavors
  such as adacursesw-config, for ncursesw (GenToo #167849).
2009-01-11 02:29:48 +00:00
Thomas E. Dickey
c37d51504d ncurses 5.7 - patch 20090105
+ remove undeveloped feature in ncurses-config.in for setting
  prefix variable.
+ recent change to ncurses-config.in did not take into account the
  --disable-overwrite option, which sets $includedir to the
  subdirectory and using just that for a -I option does not work - fix
  (report by Frederic L W Meunier).
2009-01-06 01:45:02 +00:00
Thomas E. Dickey
f9e12ea019 ncurses 5.7 - patch 20090104
+ modify gen-pkgconfig.in to eliminate a dependency on rpath when
  deciding whether to add $LIBS to --libs output; that should be shown
  for the ncurses and tinfo libraries without taking rpath into
  account.
+ fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
  used in static libraries (report by Marty Jack).
2009-01-04 22:54:42 +00:00
Thomas E. Dickey
96097feb6c ncurses 5.7 - patch 20090103
+ add a configure-time check to pick a suitable value for
  CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
+ add configure --with-pkg-config and --enable-pc-files options, along
  with misc/gen-pkgconfig.in which can be used to generate ".pc" files
  for pkg-config (request by Jan Engelhardt).
+ use $includedir symbol in misc/ncurses-config.in, add --includedir
  option.
+ change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
  configure check to detect whether a "-" is needed before "ar"
  options.
+ update config.guess, config.sub from
	http://savannah.gnu.org/projects/config
2009-01-04 02:08:30 +00:00
Thomas E. Dickey
8c7df70e2d ncurses 5.7 - patch 20081227
+ modify mk-1st.awk to work with extra categories for tinfo library.
+ modify configure script to allow building shared libraries with gcc
  on AIX 5 or 6 (adapted from patch by Lital Natan).
2008-12-28 01:49:09 +00:00
Thomas E. Dickey
06ae48ca77 ncurses 5.7 - patch 20081220
+ modify to omit the opaque-functions from lib_gen.o when
  --disable-ext-funcs is used.
+ add test/clip_printw.c to illustrate how to use printw without
  wrapping.
+ modify ncurses 'F' test to demo wborder_set() with colored lines.
+ modify ncurses 'f' test to demo wborder() with colored lines.
2008-12-21 01:18:36 +00:00
Thomas E. Dickey
e9d205b516 ncurses 5.7 - patch 20081213
+ add check for failure to open hashed-database needed for db4.6
  (GenToo #245370).
+ corrected --without-manpages option; previous change only suppressed
  the auxiliary rules install.man and uninstall.man
+ add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
  GenToo #250454).
+ fixes from NetBSD port at
  http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
  patch-ac (build-fix for DragonFly)
  patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
+ improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
  by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
  search-lists.
+ correct title string for keybound manpage (patch by Frederic Culot,
  OpenBSD documentation/6019),
2008-12-13 23:26:23 +00:00
Thomas E. Dickey
879fd5bd9d ncurses 5.7 - patch 20081206
+ move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
  work for progs/clear, progs/tabs, etc.
+ correct buffer-size after internal resizing of wide-character
  set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
+ add "-i" option to test/filter.c to tell it to use initscr() rather
  than newterm(), to investigate report on comp.unix.programmer that
  ncurses would clear the screen in that case (it does not - the issue
  was xterm's alternate screen feature).
+ add check in mouse-driver to disable connection if GPM returns a
  zero, indicating that the connection is closed (Debian #506717,
  adapted from patch by Samuel Thibault).
2008-12-07 01:42:58 +00:00
Thomas E. Dickey
86b23c4fe3 ncurses 5.7 - patch 20081129
+ improve a workaround in adding wide-characters, when a control
  character is found.  The library (cf: 20040207) uses unctrl() to
  obtain a printable version of the control character, but was not
  passing color or video attributes.
+ improve test/ncurses.c 'a' test, using unctrl() more consistently to
  display meta-characters.
+ turn on _XOPEN_CURSES definition in curses.h
+ add eterm-color entry (report by Vincent Lefevre) -TD
+ correct use of key_name() in test/ncurses.c 'A' test, which only
  displays wide-characters, not key-codes since 20070612 (report by
  Ricardo Cantu).
2008-11-30 00:38:32 +00:00
Thomas E. Dickey
65ee0f2ca5 ncurses 5.7 - patch 20081122
+ change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
  Ada95 (patch by Juergen Pfeifer).
+ document in TO-DO an issue with Cygwin's package for GNAT (report
  by Mike Dennison).
+ improve error-checking of command-line options in "tabs" program.
2008-11-23 01:33:11 +00:00
Thomas E. Dickey
412da50547 ncurses 5.7 - patch 20081115
+ change several terminfo entries to make consistent use of ANSI
  clear-all-tabs -TD
+ add "tabs" program (prompted by Debian #502260).
+ add configure --without-manpages option (request by Mike Frysinger).
2008-11-16 02:16:59 +00:00
Thomas E. Dickey
e70a86c3d4 ncurses 5.7 2008-11-02 21:13:51 -05:00
Thomas E. Dickey
e116460ef1 ncurses 5.6 - patch 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.
2008-10-26 01:07:21 +00:00
Thomas E. Dickey
b5df67bc68 ncurses 5.6 - patch 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.
2008-10-19 00:58:44 +00:00
Thomas E. Dickey
b6bff46512 ncurses 5.6 - patch 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.
2008-10-13 00:34:11 +00:00
Thomas E. Dickey
f6718d80c9 ncurses 5.6 - patch 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).
2008-10-11 23:44:29 +00:00
Thomas E. Dickey
205f120bce ncurses 5.6 - patch 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.
2008-10-05 00:17:19 +00:00
Thomas E. Dickey
76af49c338 ncurses 5.6 - patch 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.
2008-09-28 01:08:36 +00:00
Thomas E. Dickey
feb958a7e8 ncurses 5.6 - patch 20080925
+ fix bug in mouse code for GPM from 20080920 changes (reported in
  Debian #500103, also Miroslav Lichvar).
2008-09-25 23:54:34 +00:00
Thomas E. Dickey
1c2ec25b81 ncurses 5.6 - patch 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)
2008-09-21 01:01:25 +00:00
Thomas E. Dickey
d736364fc0 ncurses 5.6 - patch 20080913
+ change shared-library configuration for OpenBSD, make rpath work.
+ build-fixes for using libutf8, e.g., on OpenBSD 3.7
2008-09-14 01:09:37 +00:00
Thomas E. Dickey
057900a2db ncurses 5.6 - patch 20080907
+ corrected fix for --enable-weak-symbols (report by Frederic L W
  Meunier).
2008-09-07 17:49:37 +00:00
Thomas E. Dickey
a7d99bb6b2 ncurses 5.6 - patch 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
2008-09-07 01:02:23 +00:00
Thomas E. Dickey
d8b5e3f818 ncurses 5.6 - patch 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).
2008-08-31 01:08:33 +00:00
Thomas E. Dickey
48310f11b2 ncurses 5.6 - patch 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
2008-08-24 00:26:02 +00:00