Commit Graph

95 Commits

Author SHA1 Message Date
Thomas E. Dickey
dff527f594 ncurses 5.9 - patch 20130824
+ fix some gcc 4.8 -Wconversion warnings.
+ change format of dpkg test-scripts to quilted to work around bug
  introduced by Debian #700177.
+ discard cached keyname() values if meta() is changed after a value
  was cached using (report by Kurban Mallachiev).
2013-08-25 00:03:40 +00:00
Thomas E. Dickey
7087871f80 ncurses 5.9 - patch 20130727
+ improve configure macros from ongoing work on cdk, dialog, xterm:
  + CF_ADD_LIB_AFTER - fix a problem with -Wl options
  + CF_RPATH_HACK - add missing result-message
  + CF_SHARED_OPTS - modify to use $rel_builddir in cygwin and mingw
    dll symbols (which can be overridden) rather than explicit "../".
  + CF_SHARED_OPTS - modify NetBSD and DragonFly symbols to use ${CC}
    rather than ${LD} to improve rpath support.
  + CF_SHARED_OPTS - add a symbol to denote the temporary files that
    are created by the macro, to simplify clean-rules.
  + CF_X_ATHENA - trim extra libraries to work with -Wl,--as-needed
+ fix a regression in hashed-database support for NetBSD, which uses
  the key-size differently from other implementations (cf: 20121229).
2013-07-28 00:32:27 +00:00
Thomas E. Dickey
ffc2db8cc2 ncurses 5.9 - patch 20130706
+ add fallback defs for <inttypes.h> and <stdint.h> (cf: 20120225).
+ add check for size of wchar_t, use that to suppress a chunk of
  wcwidth.h in MinGW port.
+ quiet linker warnings for MinGW cross-compile with dll's using the
  --enable-auto-import flag.
+ add ncurses.map rule to ncurses/Makefile to help diagnose symbol
  table issues.
2013-07-06 22:59:22 +00:00
Thomas E. Dickey
a7de4c96ca ncurses 5.9 - patch 20130615
+ minor changes to some configure macros to make them more reusable.
+ fixes for tabs program (prompted by report by Nick Andrik):
  + corrected logic in command-line parsing of -a and -c predefined
    tab-lists options.
  + allow "-0" and "-8" options to be combined with others, e.g.,"-0d".
  + make warning messages more consistent with the other utilities by
    not printing the full pathname of the program.
  + add -V option for consistency with other utilities.
+ fix off-by-one in columns for tabs program when processing an option
  such as "-5" (patch by Nick Andrik).
2013-06-15 22:39:16 +00:00
Thomas E. Dickey
e6f4ffe150 ncurses 5.9 - patch 20130608
+ add to test/demo_forms.c examples of using the menu-hooks as well
  as showing how the menu item user-data can be used to pass a callback
  function pointer.
+ add test/dots_termcap.c
+ remove setupterm call from test/demo_termcap.c
+ build-fix if --disable-ext-funcs configure option is used.
+ modified test/edit_field.c and test/demo_forms.c to move the lengths
  into a user-data structure, keeping the original string for later
  expansion to free-format input/out demo.
+ modified test/demo_forms.c to load data from file.
+ added note to clarify Terminal.app's non-emulation of the various
  terminal types listed in the preferences dialog -TD
+ fix regression in error-reporting in lib_setup.c (Debian #711134,
  cf: 20121117).
+ build-fix for a case where --enable-broken_linker and
  --enable-reentrant options are combined (report by George R Goffe).
2013-06-09 01:17:29 +00:00
Thomas E. Dickey
fd52bfa497 ncurses 5.9 - patch 20130427
+ fix clang 3.2 warning in progs/dump_entry.c
+ drop AC_TYPE_SIGNAL check; ncurses relies on c89 and later.
2013-04-27 23:24:20 +00:00
Thomas E. Dickey
32f1c9b1a0 ncurses 5.9 - patch 20130413
+ add MinGW to cases where ncurses installs by default into /usr
  (prompted by discussion with Daniel Silva Ferreira).
+ add -D option to infocmp's usage-message (patch by Miroslav Lichvar).
+ add a missing 'int' type for main function in configure check for
  type of bool variable, to work with clang 3.2 (report by Dmitri
  Gribenko).
+ improve configure check for static_cast, to work with clang 3.2
  (report by Dmitri Gribenko).
+ re-order rule for demo.o and macros defining header dependencies in
  c++/Makefile.in to accommodate gmake (report by Dmitri Gribenko).
2013-04-14 00:01:10 +00:00
Thomas E. Dickey
e2d7d0028f ncurses 5.9 - patch 20130309
+ amend change to toe.c for reading from /dev/zero, to ensure that
  there is a buffer for the temporary filename (cf: 20120324).
+ regenerated html manpages.
+ fix typo in terminfo.head (report by Sven Joachim, cf: 20130302).
+ updated some autoconf macros:
  + CF_ACVERSION_CHECK, from byacc 1.9 20130304
  + CF_INTEL_COMPILER, CF_XOPEN_SOURCE from luit 2.0-20130217
+ add configure option --with-cxx-shared to permit building
  libncurses++ as a shared library when using g++, e.g., the same
  limitations as libtool but better integrated with the usual build
  configuration (Redhat 911540).
+ modify MKkey_defs.sh to filter out build-path which was unnecessarily
  shown in curses.h (Debian #689131).
2013-03-10 00:35:23 +00:00
Thomas E. Dickey
2403eaecbe ncurses 5.9 - patch 20130126
+ further fixes to mvcur to pass callback function (cf: 20130112),
  needed to make test/dots_mvcur work.
+ reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
  help reduce flicker.
+ modify configure script to omit "+b" from linker options for very
  old HP-UX systems (report by Dennis Grevenstein)
+ add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
  by Dennis Grevenstein).
+ restore memmove/strdup support for antique systems (request by
  Dennis Grevenstein).
+ change %l behavior in tparm to push the string length onto the stack
  rather than saving the formatted length into the output buffer
  (report by Roy Marples, cf: 980620).
2013-01-27 02:16:18 +00:00
Thomas E. Dickey
925cd3b851 ncurses 5.9 - patch 20121222
+ add *.dSYM directories to clean-rule in ncurses directory makefile,
  for Mac OS builds.
+ add a configure check for gcc option -no-cpp-precomp, which is not
  available in all Mac OS X configurations (report by Andras Salamon,
  cf: 20011208).
+ improve 20021221 workaround for broken acs, handling a case where
  that ACS_xxx character is not in the acsc string but there is a known
  wide-character which can be used.
2012-12-23 02:10:42 +00:00
Thomas E. Dickey
da2e96ef70 ncurses 5.9 - patch 20121110
+ modify configure macro CF_INCLUDE_DIRS to put $CPPFLAGS after the
  local -I include options in case someone has set conflicting -I
  options in $CPPFLAGS (prompted by patch for ncurses/Makefile.in by
  Vassili Courzakis).
+ modify the ncurses*-config scripts to eliminate relative paths from
  the RPATH_LIST variable, e.g., "../lib" as used in installing shared
  libraries or executables.
2012-11-11 01:22:06 +00:00
Thomas E. Dickey
5ae2721913 ncurses 5.9 - patch 20121102
+ realign these related pages:
    curs_add_wchstr.3x
    curs_addchstr.3x
    curs_addstr.3x
    curs_addwstr.3x
  and fix a long-ago error in curs_addstr.3x which said that a -1
  length parameter would only write as much as fit onto one line
  (report by Reuben Thomas).
+ remove obsolete fallback _nc_memmove() for memmove()/bcopy().
+ remove obsolete fallback _nc_strdup() for strdup().
+ cancel any debug-rpm in package/ncurses.spec
+ reviewed vte-2012, reverted most of the change since it was incorrect
  based on testing with tack -TD
+ un-cancel the initc in vte-256color, since this was implemented
  starting with version 0.20 in 2009 -TD
2012-11-03 23:59:23 +00:00
Thomas E. Dickey
91fa4688e8 ncurses 5.9 - patch 20121026
+ improve malloc/realloc checking (prompted by discussion in Redhat
  #866989).
+ add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
+ updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST.  The
  first corrects pattern used for Mac OS X's customization of gcc.
2012-10-27 23:06:26 +00:00
Thomas E. Dickey
c3e8eb8e74 ncurses 5.9 - patch 20121006
+ improve CF_GCC_VERSION to work around Debian's customization of gcc
  --version message.
+ improve configure macros as done in byacc:
  + drop 2.13 compatibility; use 2.52.xxxx version only since EMX port
    has used that for a while.
  + add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e.,
    for experimental use.
  + remove unused configure macros.
+ modify configure script and makefiles to quiet new autoconf warning
  for LIBS_TO_MAKE variable.
+ modify configure script to show $PATH_SEPARATOR variable.
+ update config.guess, config.sub
2012-10-07 01:23:59 +00:00
Thomas E. Dickey
d2650934c6 ncurses 5.9 - patch 20120811
+ update autoconf patch to 2.52.20120811, adding --datarootdir
  (prompted by discussion with Erwin Waterlander).
+ improve description of --enable-reentrant option in README and the
  INSTALL file.
+ add nsterm-256color, make this the default nsterm -TD
+ remove bw from nsterm-bce, per testing with tack -TD
2012-08-12 01:10:31 +00:00
Thomas E. Dickey
634674af07 ncurses 5.9 - patch 20120804
+ update test/configure, adding check for tinfo library.
+ improve limit-checks for the getch fifo (report by Werner Fink).
+ fix a remaining mismatch between $with_echo and the symbols updated
  by CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by
  Sven Joachim, cf:  20120317).
+ modify followup check for pkg-config's library directory in the
  --enable-pc-files option to validate syntax (report by Sven Joachim,
  cf: 20110716).
2012-08-04 23:37:25 +00:00
Thomas E. Dickey
cc0205ede8 ncurses 5.9 - patch 20120630
+ add --enable-interop to sample package scripts (suggested by Juergen
  Pfeifer).
+ update CF_PATH_SYNTAX macro, from mawk changes.
+ modify mk-0th.awk to allow for generating llib-ltic, etc., though
  some work is needed on cproto to work with lib_gen.c to update
  llib-lncurses.
+ remove redundant getenv() cal in database-iterator leftover from
  cleanup in 20120622 changes (report by Sven Joachim).
2012-06-30 23:07:18 +00:00
Thomas E. Dickey
b6d0d9ad9e ncurses 5.9 - patch 20120616
+ add configure check to distinguish clang from gcc to eliminate
  warnings about unused command-line parameters when compiler warnings
  are enabled.
+ improve behavior when updating terminfo entries which are hardlinked
  by allowing for the possibility that an alias has been repurposed to
  a new primary name.
+ fix some strict compiler warnings based on package scripts.
+ further fixes for configure check for working poll (Debian #676461).
2012-06-16 23:57:20 +00:00
Thomas E. Dickey
8789460c7a ncurses 5.9 - patch 20120505
+ remove p6 (bold) from opus3n1+ for consistency -TD
+ remove acs stuff from env230 per clues in Ingres termcap -TD
+ modify env230 sgr/sgr0 to match other capabilities -TD
+ modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
+ make sgr for dku7202 agree with other caps -TD
+ make sgr for ibmpc agree with other caps -TD
+ make sgr for tek4107 agree with other caps -TD
+ make sgr for ndr9500 agree with other caps -TD
+ make sgr for sco-ansi agree with other caps -TD
+ make sgr for d410 agree with other caps -TD
+ make sgr for d210 agree with other caps -TD
+ make sgr for d470c, d470c-7b agree with other caps -TD
+ remove redundant AC_DEFINE for NDEBUG versus Makefile definition.
+ fix a back-link in _nc_delink_entry(), which is needed if ncurses is
  configured with --enable-termcap and --disable-getcap.
2012-05-05 23:38:59 +00:00
Thomas E. Dickey
3e800f58dd ncurses 5.9 - patch 20120331
+ update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317).
+ correct order of use-clauses in st-256color -TD
+ modify configure script to look for gnatgcc if the Ada95 binding
  is built, in preference to the default gcc/cc (suggested by
  Nicolas Boulenguez).
+ modify configure script to ensure that the same -On option used for
  the C compiler in CFLAGS is used for ADAFLAGS rather than simply
  using -O3 (suggested by Nicolas Boulenguez)
2012-04-01 00:16:56 +00:00
Thomas E. Dickey
85b1a47885 ncurses 5.9 - patch 20120317
+ correct a check made in lib_napms.c, so that terminfo applications
  can again use napms() (cf: 20110604).
+ add a note in tic.h regarding required casts for ABSENT_BOOLEAN
  (cf: 20040327).
+ correct scripting for --disable-echo option in test/configure.
+ amend check for missing c++ compiler to work when no error is
  reported, and no variables set (cf: 20021206).
+ add/use configure macro CF_DISABLE_ECHO.
2012-03-18 00:14:18 +00:00
Thomas E. Dickey
8b06e371ed ncurses 5.9 - patch 20120225
+ modify configure script to allow creating dll's for MinGW when
  cross-compiling.
+ add --enable-string-hacks option to control whether strlcat and
  strlcpy may be used.  The same issue applies to OpenBSD's warnings
  about snprintf, noting that this function is weakly standardized.
+ add configure checks for strlcat, strlcpy and snprintf, to help
  reduce bogus warnings with OpenBSD builds.
+ build-fix for OpenBSD 4.9 to supply consistent intptr_t declaration
  (cf:20111231)
+ update config.guess, config.sub
2012-02-26 01:59:00 +00:00
Thomas E. Dickey
a3173aa5ed ncurses 5.9 - patch 20120218
+ correct CF_ETIP_DEFINES configure macro, making it exit properly on
  the first success (patch by Pierre Labastie).
+ improve configure macro CF_MKSTEMP by moving existence-check for
  mkstemp out of the AC_TRY_RUN, to help with cross-compiles.
+ improve configure macro CF_FUNC_POLL from luit changes to detect
  broken implementations, e.g., with Mac OS X.
+ add configure option --with-tparm-arg
+ build-fix for MinGW cross-compiling, so that make_hash does not
  depend on TTY definition (cf: 20111008).
2012-02-19 02:09:31 +00:00
Thomas E. Dickey
a108bc76f2 ncurses 5.9 - patch 20120121
+ add --with-lib-prefix option to allow configuring for old/new flavors
  of OS/2 EMX.
+ modify check for gnat version to allow for year, as used in FreeBSD
  port.
+ modify check_existence() in db_iterator.c to simply check if the
  path is a directory or file, according to the need.  Checking for
  directory size also gives no usable result with OS/2 (cf: 20120107).
+ support OS/2 kLIBC (patch by KO Myung-Han).
2012-01-22 01:23:31 +00:00
Thomas E. Dickey
f367fa254c ncurses 5.9 - patch 20120114
+ several improvements to test/movewindow.c (prompted by discussion on
  Linux Mint forum):
  + modify movement commands to make them continuous
  + rewrote the test for mvderwin
  + rewrote the test for recursive mvwin
+ split-out reusable CF_WITH_NCURSES_ETC macro in test/configure.in
+ updated configure macro CF_XOPEN_SOURCE, build-fixes for Mac OS X
  and OpenBSD.
+ regenerated html manpages.
+ various improvments for MinGW (Juergen Pfeifer):
2012-01-15 00:46:23 +00:00
Thomas E. Dickey
cba932f979 ncurses 5.9 - patch 20111210
+ modify configure script to check if thread library provides
  pthread_mutexattr_settype(), e.g., not provided by Solaris 2.6
+ modify configure script to suppress check to define _XOPEN_SOURCE
  for IRIX64, since its header files have a conflict versus
  _SGI_SOURCE.
+ modify configure script to add ".pc" files for tic- and
  tinfo-libraries, which were omitted in recent change (cf: 20111126).
+ fix inconsistent checks on $PKG_CONFIG variable in configure script.
2011-12-11 01:31:46 +00:00
Thomas E. Dickey
29b24b6ba4 ncurses 5.9 - patch 20111126
+ correct database iterator's check for duplicate entries
  (cf: 20111001).
+ modify database iterator to ignore $TERMCAP when it is not an
  absolute pathname.
+ add -D option to tic, to show the database locations that it could
  use.
+ improve description of database locations in tic manpage.
+ modify the configure script to generate a list of the ".pc" files to
  generate, rather than deriving the list from the libraries which have
  been built (patch by Mike Frysinger).
+ use AC_CHECK_TOOLS in preference to AC_PATH_PROGS when searching for
  ncurses*-config, e.g., in Ada95/configure and test/configure (adapted
  from patch by Mike Frysinger).
2011-11-27 02:34:54 +00:00
Thomas E. Dickey
b7f1cb3f50 ncurses 5.9 - patch 20111112
+ add pccon entries for OpenBSD console (Alexei Malinin).
+ build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to
  600 to work around inconsistent ifdef'ing of wcstof between C and
  C++ header files.
+ modify capconvert script to accept more than exact match on "xterm",
  e.g., the "xterm-*" variants, to exclude from the conversion (patch
  by Robert Millan).
+ add -lc_r as alternative for -lpthread, allows build of threaded code
  in older FreeBSD machines.
+ build-fix for MirBSD, which fails when either _XOPEN_SOURCE or
  _POSIX_SOURCE are defined.
+ fix a typo misc/Makefile.in, used in uninstalling pc-files.
2011-11-13 02:51:43 +00:00
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
03f728e5bb ncurses 5.9 - patch 20111022
+ correct logic for discarding mouse events, retaining the partial
  events used to build up click, double-click, etc, until needed
  (cf: 20110917).
+ fix configure script to avoid creating unused Ada95 makefile when
  gnat does not work.
+ cleanup width-related gcc 3.4.3 warnings for 64-bit platform, for the
  internal functions of libncurses.  The external interface of courses
  uses bool, which still produces these warnings.
2011-10-23 01:04:18 +00:00
Thomas E. Dickey
22fd3b2368 ncurses 5.9 - patch 20110924
+ modify _nc_read_tic_entry() so that hashed-database is checked before
  filesystem.
+ updated CF_CURSES_LIBS check in test/configure script.
+ modify configure script and makefiles to split TIC_ARGS and
  TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables,
  to help separate searches for tic- and tinfo-libraries (patch by Nick
  Alcock aka "Nix").
+ build-fix for lib_mouse.c changes (ch: 20110917).
2011-09-24 23:21:18 +00:00
Thomas E. Dickey
3c19a91c36 ncurses 5.9 - patch 20110910
+ modify misc/gen_edit.sh to select a "linux" entry which works with
  the current kernel rather than assuming it is always "linux3.0"
  (cf: 20110716).
+ revert a change to getmouse() which had the undesirable side-effect
  of suppressing button-release events (report by Damien Guibouret,
  cf: 20100102).
+ add xterm+kbs fragment from xterm #272 -TD
+ add configure option --with-pkg-config-libdir to provide control over
  the actual directory into which pc-files are installed, do not use
  the pkg-config environment variables (discussion with Frederic L W
  Meunier).
+ add link to mailing-list archive in announce.html.in, as done in
  FAQ (prompted by question by Andrius Bentkus).
+ improve manpage install by adjusting the "#include" examples to
  show the ncurses-subdirectory used when --disable-overwrite option
  is used.
+ install an alias for "curses" to the ncurses manpage, tied to the
  --with-curses-h configure option (suggested by Reuben Thomas).
2011-09-11 01:26:11 +00:00
Thomas E. Dickey
d4d1d81ab6 ncurses 5.9 - patch 20110807
+ improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST
  variable is defined in the makefiles which use it.
+ build-fix for DragonFlyBSD's pkgsrc in test/configure script.
+ build-fixes for NetBSD 5.1 with termcap support enabled.
+ corrected k9 in dg460-ansi, add other features based on manuals -TD
+ improve trimming of whitespace at the end of terminfo/termcap output
  from tic/infocmp.
+ when writing termcap source, ensure that colons in the description
  field are translated to a non-delimiter, i.e., "=".
+ add "-0" option to tic/infocmp, to make the termcap/terminfo source
  use a single line.
+ add a null-pointer check when handling the $CC variable.
2011-08-07 22:43:00 +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
0c12f3c8ff ncurses 5.9 - patch 20110723
+ add a check in start_color() to limit color-pairs to 256 when
  extended colors are not supported (patch by David Benjamin).
+ modify setcchar to omit no-longer-needed OR'ing of color pair in
  the SetAttr() macro (patch by David Benjamin).
+ add kich1 to sun terminfo entry (Yuri Pankov)
+ use bold rather than reverse for smso in sun-color terminfo entry
  (Yuri Pankov).
+ improve generation of termcap using tic/infocmp -C option, e.g.,
  to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
  regarding Schilling's test program):
  + translate %02 and %03 to %2 and %3 respectively.
  + suppress string capabilities which use %s, not supported by tgoto
  + use \040 rather than \s
  + expand null characters as \200 rather than \0
+ modify configure script to support shared libraries for DragonFlyBSD.
2011-07-24 00:36:27 +00:00
Thomas E. Dickey
d6509484bd ncurses 5.9 - patch 20110716
+ replace an assert() in _nc_Free_Argument() with a regular null
  pointer check (report/analysis by Franjo Ivancic).
+ modify configure --enable-pc-files option to take into account the
  PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
+ add/use xterm+tmux chunk from xterm #271 -TD
+ resync xterm-new entry from xterm #271 -TD
+ add E3 extended capability to linux-basic (Miroslav Lichvar)
+ add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
+ add SI/SO change to linux2.6 entry (Debian #515609) -TD
+ fix inconsistent tabset path in pcmw (Todd C. Miller).
+ remove a backslash which continued comment, obscuring altos3
  definition with OpenBSD toolset (Nicholas Marriott).
2011-07-17 00:59:52 +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
331f875fac ncurses 5.9 - patch 20110604
+ fixes for MirBSD port:
  + set default prefix to /usr.
  + add support for shared libraries in configure script.
  + use S_ISREG and S_ISDIR consistently, with fallback definitions.
+ add a few more checks based on ncurses/link_test.
+ modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type.
2011-06-05 01:01:53 +00:00
Thomas E. Dickey
d1a026123a ncurses 5.9 - patch 20110528
+ add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
+ used ncurses/link_test to check for behavior when the terminal has
  not been initialized and when an application passes null pointers
  to the library.  Added checks to cover this (prompted by Redhat
  #707344).
+ modify MKlib_gen.sh to make its main() function call each function
  with zero parameters, to help find inconsistent checking for null
  pointers, etc.
2011-05-29 00:20:42 +00:00
Thomas E. Dickey
3f20704179 ncurses 5.9 - patch 20110514
+ compiler-warning fixes in panel and progs.
+ modify CF_PKG_CONFIG macro, from changes to tin -TD
+ modify CF_CURSES_FUNCS configure macro, used in test directory
  configure script:
  + work around (non-optimizer) bug in gcc 4.2.1 which caused
    test-expression to be omitted from executable.
  + force the linker to see a link-time expression of a symbol, to
    help work around weak-symbol issues.
2011-05-15 00:38:25 +00:00
Thomas E. Dickey
cecf066335 ncurses 5.9 - patch 20110507
+ update discussion of MKfallback.sh script in INSTALL; normally the
  script is used automatically via the configured makefiles.  However
  there are still occasions when it might be used directly by packagers
  (report by Gunter Schaffler).
+ modify misc/ncurses-config.in to omit the "-L" option from the
  "--libs" output if the library directory is /usr/lib.
+ change order of tests for curses.h versus ncurses.h headers in the
  configure scripts for Ada95 and test-directories, to look for
  ncurses.h, from fixes to tin -TD
+ modify ncurses/tinfo/access.c to account for Tandem's root uid
  (report by Joachim Schmitz).
2011-05-08 00:57:14 +00:00
Thomas E. Dickey
e460260b42 ncurses 5.9 - patch 20110430
+ modify rules in Ada95/src/Makefile.in to ensure that the PIC option
  is not used when building a static library (report by Nicolas
  Boulenguez):
+ Ada95 build-fix for big-endian architectures such as sparc.  This
  undoes one of the fixes from 20110319, which added an "Unused" member
  to representation clauses, replacing that with pragmas to suppress
  warnings about unused bits (patch by Nicolas Boulenguez):
2011-05-01 00:43:48 +00:00
Thomas E. Dickey
950eed9ace ncurses 5.9 - patch 20110423
+ add check in test/configure for use_window, use_screen.
+ add configure-checks for getopt's variables, which may be declared
  as different types on some Unix systems.
+ add check in test/configure for some legacy curses types of the
  function pointer passed to tputs().
+ modify init_pair() to accept -1's for color value after
  assume_default_colors() has been called (Debian #337905).
+ modify test/background.c, adding commmand-line options to demonstrate
  assume_default_colors() and use_default_colors().
2011-04-24 00:53:45 +00:00
Thomas E. Dickey
d91d170b30 ncurses 5.8 - patch 20110402
+ various build-fixes for the rpm/dpkg scripts.
+ add "--enable-rpath-link" option to Ada95/configure, to allow
  packages to suppress the rpath feature which is normally used for
  the in-tree build of sample programs.
+ corrected definition of libdir variable in Ada95/src/Makefile.in,
  needed for rpm script.
+ add "--with-shared" option to Ada95/configure script, to allow
  making the C-language parts of the binding use appropriate compiler
  options if building a shared library with gnat.
2011-04-02 19:23:53 +00:00
Thomas E. Dickey
362db2575a ncurses 5.8 - patch 20110329
> portability fixes for Ada95 binding:
+ add configure check to ensure that SIGINT works with gnat.  This is
  needed for the "rain" sample program.  If SIGINT does not work, omit
  that sample program.
+ correct typo in check of $PKG_CONFIG variable in Ada95/configure
+ add ncurses_compat.c, to supply functions used in the Ada95 binding
  which were added in 5.7 and later.
+ modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
  upon GNU sed.
2011-03-29 10:57:44 +00:00
Thomas E. Dickey
2b635f090e ncurses 5.8 - patch 20110326
+ add special check in Ada95/configure script for ncurses6 reentrant
  code.
+ regen Ada html documentation.
+ build-fix for Ada shared libraries versus the varargs workaround.
+ add rpm and dpkg scripts for Ada95 and test directories, for test
  builds.
+ update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
  CF_X_ATHENA_LIBS.
+ add configure check to determine if gnat's project feature supports
  libraries, i.e., collections of .ali files.
+ make all dereferences in Ada95 samples explicit.
+ fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
+ add configure check for, ifdef's for math.h which is in a separate
  package on Solaris and potentially not installed (report by Petr
  Pavlu).
> fixes for Ada95 binding (Nicolas Boulenguez):
+ improve type-checking in Ada95 by eliminating a few warning-suppress
  pragmas.
+ suppress unreferenced warnings.
+ make all dereferences in binding explicit.
2011-03-27 01:06:46 +00:00
Thomas E. Dickey
9776951416 ncurses 5.8 - patch 20110319
+ regen Ada html documentation.
+ change order of -I options from ncurses*-config script when the
  --disable-overwrite option was used, so that the subdirectory include
  is listed first.
+ modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
+ modify configure script to provide value for HTML_DIR in
  Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
  distributed separately (report by Nicolas Boulenguez).
+ modify configure script to add -g and/or -O3 to ADAFLAGS if the
  CFLAGS for the build has these options.
+ amend change from 20070324, to not add 1 to the result of getmaxx
  and getmaxy in the Ada binding (report by Nicolas Boulenguez for
  thread in comp.lang.ada).
+ build-fix Ada95/samples for gnat 4.5
+ spelling fixes for Ada95/samples/explain.txt
> fixes for Ada95 binding (Nicolas Boulenguez):
+ add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
+ add workaround for binding to set_field_type(), which uses varargs.
  The original binding from 990220 relied on the prevalent
  implementation of varargs which did not support or need va_copy().
+ add dependency on gen/Makefile.in needed for *-panels.ads
+ add Library_Options to library.gpr
+ add Languages to library.gpr, for gprbuild
2011-03-20 00:59:06 +00:00
Thomas E. Dickey
687aeec3e3 ncurses 5.8 - patch 20110307
+ revert changes to limit-checks from 20110122 (Debian #616711).
> minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
+ corrected a minor sign error in a field of Low_Level_Field_Type, to
  conform to form.h.
+ replaced C_Int by Curses_Bool as return type for some callbacks, see
  fieldtype(3FORM).
+ modify samples/sample-explain.adb to provide explicit message when
  explain.txt is not found.
2011-03-08 02:01:18 +00:00
Thomas E. Dickey
9817912d80 ncurses 5.8 - patch 20110305
+ improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
+ fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
  for compiler warnings (report by Nicolas Boulenguez).
+ modify Ada95/gen/gen.c to declare unused bits in generated layouts,
  needed to compile when chtype is 64-bits using gnat 4.4.5
2011-03-07 10:49:20 +00:00
Thomas E. Dickey
f86cbeb5f9 ncurses 5.8 - patch 20110226
+ update release notes, for 5.8.
+ regenerated html manpages.
+ change open() in _nc_read_file_entry() to fopen() for consistency
  with write_file().
+ modify misc/run_tic.in to create parent directory, in case this is
  a new install of hashed database.
+ fix typo in Ada95/mk-1st.awk which causes error with original awk.
+ add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
2011-02-26 20:51:01 +00:00