Commit Graph

43 Commits

Author SHA1 Message Date
Thomas E. Dickey
7ca9d1eb1a ncurses 5.9 - patch 20111030
+ modify make_db_path() to allow creating "terminfo.db" in the same
  directory as an existing "terminfo" directory.  This fixes a case
  where switching between hashed/filesystem databases would cause the
  new hashed database to be installed in the next best location -
  root's home directory.
+ add variable cf_cv_prog_gnat_correct to those passed to
  config.status, fixing a problem with Ada95 builds (cf: 20111022).
+ change feature test from _XPG5 to _XOPEN_SOURCE in two places, to
  accommodate broken implementations for _XPG6.
+ eliminate usage of NULL symbol from etip.h, to reduce header
  interdependencies.
+ add configure check to decide when to add _XOPEN_SOURCE define to
  compiler options, i.e., for Solaris 10 and later (cf: 20100403).
  This is a workaround for gcc 4.6, which fails to build the c++
  binding if that symbol is defined by the application, due to
  incorrectly combining the corresponding feature test macros
  (report by Peter Kruse).
2011-10-30 23:32:22 +00:00
Thomas E. Dickey
f3eb40315f ncurses 5.9 - patch 20110917
+ fix compiler warning for clang 2.9
+ improve merging of mouse events (integrated patch by Damien
  Guibouret).
+ correct mask-check used in lib_mouse for wheel mouse buttons 4/5
  (patch by Damien Guibouret).
2011-09-18 01:02:06 +00:00
Thomas E. Dickey
8e25fff6a5 ncurses 5.9 - patch 20110730
+ modify configure script and makefiles in c++ and progs to allow the
  directory used for rpath option to be overridden, e.g., to work
  around updates to the variables used by tic during an install.
+ add -K option to tic/infocmp, to provide stricter BSD-compatibility
  for termcap output.
+ add _nc_strict_bsd variable in tic library which controls the
  "strict" BSD termcap compatibility from 20110723, plus these
  features:
  + allow escapes such as "\8" and "\9" when reading termcap
  + disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
    termcap files, passing through "a", "e", etc.
  + expand "\:" as "\072" on output.
+ modify _nc_get_token() to reset the token's string value in case
  there is a string-typed token lacking the "=" marker.
+ fix a few memory leaks in _nc_tgetent.
+ fix a few places where reading from a termcap file could refer to
  freed memory.
+ add an overflow check when converting terminfo/termcap numeric
  values, since terminfo stores those in a short, and they must be
  positive.
+ correct internal variables used for translating to termcap "%>"
  feature, and translating from termcap %B to terminfo, needed by
  tctest (cf: 19991211).
+ amend a minor fix to acsc when loading a termcap file to separate it
  from warnings needed for tic (cf: 20040710)
+ modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
  a termcap file to be handled via TERMINFO_DIRS.
+ modify _nc_infotocap() to include non-mandatory padding when
  translating to termcap.
+ modify _nc_read_termcap_entry(), passing a flag in the case where
  getcap is used, to reduce interactive warning messages.
2011-07-31 01:15:59 +00:00
Thomas E. Dickey
30d31dfbac ncurses 5.9 - patch 20110702
+ add workaround from xterm #271 changes to ensure that compiler flags
  are not used in the $CC variable.
+ improve support for shared libraries, tested with AIX 5.3, 6.1 and
  7.1 with both gcc 4.2.4 and cc.
+ modify configure checks for AIX to include release 7.x
+ add loader flags/libraries to libtool options so that dynamic loading
  works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
  at gentoo prefix repository (patch by Michael Haubenwallner).
2011-07-02 23:10:10 +00:00
Thomas E. Dickey
e8685f5e41 ncurses 5.9 - patch 20110409
+ fixes to build c++ binding with clang 3.0 (patch by Alexander
  Kolesen).
+ add check for unctrl.h in test/configure, to work around breakage in
  some ncurses packages.
+ add "--disable-widec" option to test/configure script.
+ add "--with-curses-colr" and "--with-curses-5lib" options to the
  test/configure script to address testing with very old machines.
2011-04-10 00:33:46 +00:00
Thomas E. Dickey
c340bf75ca ncurses 5.7 - patch 20101127
+ miscellaneous build-fixes for Ada95 and test-directories when built
  out-of-tree.
+ use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
+ fix typo in rmso for tek4106 entry -Goran Weinholt
2010-11-28 00:33:36 +00:00
Thomas E. Dickey
275aeb5889 ncurses 5.7 - patch 20100904
+ add configure option --without-tests, to suppress building test
  programs (request by Frederic L W Meunier).
2010-09-05 01:24:19 +00:00
Thomas E. Dickey
41677b308e ncurses 5.7 - patch 20100515
+ add configure option --enable-pthreads-eintr to control whether the
  new EINTR feature is enabled.
+ modify logic in pthread configuration to allow EINTR to interrupt
  a read operation in wgetch() (Novell #540571, patch by Werner Fink).
+ drop mkdirs.sh, use "mkdir -p".
+ add configure option --disable-libtool-version, to use the
  "-version-number" feature which was added in libtool 1.5 (report by
  Peter Haering).  The default value for the option uses the newer
  feature, which makes libraries generated using libtool compatible
  with the standard builds of ncurses.
+ updated test/configure to match configure script macros.
+ fixes for configure script from lynx changes:
  + improve CF_FIND_LINKAGE logic for the case where a function is
    found in predefined libraries.
  + revert part of change to CF_HEADER (cf: 20100424)
2010-05-16 00:56:17 +00:00
Thomas E. Dickey
cf94c7485f ncurses 5.7 - patch 20100403
+ add configure check for exctags vs ctags, to work around pkgsrc.
+ simplify logic in _nc_get_screensize() to make it easier to see how
  environment variables may override system- and terminfo-values
  (prompted by discussion with Igor Bujna).
+ make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
+ improve handling of color-pairs embedded in attributes for the
  extended-colors configuration.
+ modify MKlib_gen.sh to build link_test with sp-funcs.
+ build-fixes for OpenSolaris aka Solaris 11, for wide-character
  configuration as well as for rpath feature in *-config scripts.
2010-04-04 01:26:17 +00:00
Thomas E. Dickey
4f10f7dff4 ncurses 5.7 - patch 20100220
+ add make-tar.sh scripts to Ada95 and test subdirectories to help with
  making those separately distributable.
+ build-fix for static libraries without dlsym (Debian #556378).
+ fix a syntax error in man/form_field_opts.3x (patch by Ingo
  Schwarze).
2010-02-21 02:19:47 +00:00
Thomas E. Dickey
d998cb49bf ncurses 5.7 - patch 20090425 2009-05-03 00:59:25 +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
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
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
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
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
11ca5f6299 ncurses 5.6 - patch 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.
2008-08-17 01:51:55 +00:00
Thomas E. Dickey
8f527f87c0 ncurses 5.6 - patch 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).
2008-08-05 01:06:16 +00:00
Thomas E. Dickey
25358bc041 ncurses 5.6 - patch 20080119
+ fixes to build with --disable-ext-funcs
+ add manpage for use_window and use_screen.
+ add set_tabsize() and set_escdelay() functions.
2008-01-20 00:51:10 +00:00
Thomas E. Dickey
f0af2558d3 ncurses 5.6 - patch 20071217 2007-12-16 00:40:08 +00:00
Thomas E. Dickey
c7bc3019ea ncurses 5.6 - patch 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).
2007-11-25 02:05:21 +00:00
Thomas E. Dickey
40df80d8d3 ncurses 5.6 - patch 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.
2007-11-18 02:09:05 +00:00
Thomas E. Dickey
3853a8e97d ncurses 5.6 - patch 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).
2007-06-03 00:04:38 +00:00
Thomas E. Dickey
3faafb2efc ncurses 5.6 - patch 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).
2007-04-29 00:13:28 +00:00
Thomas E. Dickey
7a27c7d49c ncurses 5.6 - patch 20070421 2007-04-22 00:57:08 +00:00
Thomas E. Dickey
2639531af0 ncurses 5.6 - patch 20070407 2007-04-08 01:10:28 +00:00
Thomas E. Dickey
5a9c046f10 ncurses 5.6 - patch 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.
  NCURSES_OPAQUE set, since we cannot pass a reference to
2007-04-01 00:48:02 +00:00
Thomas E. Dickey
33b3156f43 ncurses 5.6 - patch 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 defined, since we cannot pass a reference to
  an opaque pointer.
2007-03-25 00:28:09 +00:00
Thomas E. Dickey
65d8011455 ncurses 5.6 - patch 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).
2007-03-17 21:11:16 +00:00
Thomas E. Dickey
82a087c4c4 ncurses 5.6 - patch 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).
2007-03-04 00:18:45 +00:00
Thomas E. Dickey
1559c1ba9c ncurses 5.6 - patch 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.
+ eliminate fixed-buffer vsprintf() calls in c++ binding.
2007-01-28 00:56:00 +00:00
Thomas E. Dickey
f70db18a0c ncurses 5.6 - patch 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.
2006-12-24 02:11:39 +00:00
Thomas E. Dickey
6f8ad7d77b ncurses 5.6 - patch 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
2006-12-24 02:11:39 +00:00
Thomas E. Dickey
027ae42953 ncurses 5.6 2006-12-17 23:32:42 -05:00
Thomas E. Dickey
55ccd2b959 ncurses 5.5 2005-10-09 14:41:57 -04:00
Thomas E. Dickey
a8987e73ec ncurses 5.4 2004-02-08 21:15:26 -05:00
Thomas E. Dickey
46722468f4 ncurses 5.3 2002-10-12 23:35:53 -04:00
Thomas E. Dickey
c633e5103a ncurses 5.2 2000-10-21 00:42:11 -04:00
Thomas E. Dickey
b1f61d9f3a ncurses 5.1 2000-07-08 22:46:08 -04:00
Thomas E. Dickey
0eb88fc528 ncurses 5.0 1999-10-24 00:32:42 -04:00
Thomas E. Dickey
661078ddbd ncurses 4.2 1998-02-28 23:21:12 -05:00
Thomas E. Dickey
3a9b6a3bf0 ncurses 4.1 1997-05-14 23:00:00 -05:00