Commit Graph

94 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
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
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
48c8a4fe45 ncurses 5.9 - patch 20110416
+ modify configure script/source-code to only define _POSIX_SOURCE if
  the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
  and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
+ update config.guess, config.sub
2011-04-16 19:26:53 +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
90ffd62494 ncurses 5.7 - patch 20110220
+ configure script rpath fixes from xterm #269.
+ workaround for cygwin's non-functional features.h, to force ncurses'
  configure script to define _XOPEN_SOURCE_EXTENDED when building
  wide-character configuration.
+ build-fix in run_tic.sh for OS/2 EMX install
+ add cons25-debian entry (patch by Brian M Carlson, Debina #607662).
2011-02-21 02:00:14 +00:00
Thomas E. Dickey
52aa842907 ncurses 5.7 - patch 20101113
+ compiler warning fixes for test programs.
+ various build-fixes for test-programs with pdcurses.
+ updated configure checks for X packages in test/configure from xterm
  #267 changes.
+ add configure check to gnatmake, to accommodate cygwin.
2010-11-14 01:43:00 +00:00
Thomas E. Dickey
b35ecb17e0 ncurses 5.7 - patch 20101023
+ correct parsing of relative tab-stops in tabs program (report by
  Philip Ganchev).
+ adjust configure script so that "t" is not added to library suffix
  when weak-symbols are used, allowing the pthread configuration to
  more closely match the non-thread naming (report by Werner Fink).
+ modify configure check for tic program, used for fallbacks, to a
  warning if not found.  This makes it simpler to use additonal
  scripts to bootstrap the fallbacks code using tic from the build
  tree (report by Werner Fink).
+ fix several places in configure script using ${variable-value} form.
+ modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
  which do not support selectively linking against static libraries
  (report by John P. Hartmann)
+ fix an unescaped dash in man/tset.1 (report by Sven Joachim).
2010-10-24 00:27:42 +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
9bb12d03d8 ncurses 5.7 - patch 20100814
+ document in manpages that "mv" functions first use wmove() to check
  the window pointer and whether the position lies within the window
  (suggested by Poul-Henning Kamp).
+ fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch
  by Tim van der Molen).
+ modify configure script to transform library names for tic- and
  tinfo-libraries so that those build properly with Mac OS X shared
  library configuration.
+ modify configure script to ensure that it removes conftest.dSYM
  directory leftover on checks with Mac OS X.
+ modify configure script to cleanup after check for symbolic links.
2010-08-15 00:45:51 +00:00
Thomas E. Dickey
da518a7ad2 ncurses 5.7 - patch 20100807
+ correct a typo in mk-1st.awk (patch by Gabriele Balducci)
  (cf: 20100724)
+ improve configure checks for location of tic and infocmp programs
  used for installing database and for generating fallback data,
  e.g., for cross-compiling.
+ add Markus Kuhn's wcwidth function for compiling MinGW
+ add special case to CF_REGEX for cross-compiling to MinGW target.
2010-08-08 00:55:18 +00:00
Thomas E. Dickey
d96f3e9b8a ncurses 5.7 - patch 20100724
+ add a check in tic for missing set_tab if clear_all_tabs given.
+ improve use of symbolic links in makefiles by using "-f" option if
  it is supported, to eliminate temporary removal of the target
  (prompted by http://www.t2-project.org/packages/ncurses.html)
+ minor improvement to test/ncurses.c, reset color pairs in 'd' test
  after exit from 'm' main-menu command.
+ improved ncu-indent, from mawk changes, allows more than one of
  GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line.
+ add hard-reset for rs2 to wsvt25 to help ensure that reset ends
2010-07-25 01:01:36 +00:00
Thomas E. Dickey
43f75d22e2 ncurses 5.7 - patch 20100703
+ continue integrating changes to use gnatmake project files in Ada95
  + add/use configure check to turn on project rules for Ada95/src.
+ revert the vfork change from 20100130, since it does not work.
2010-07-04 00:06:47 +00:00
Thomas E. Dickey
3b18e0dcb8 ncurses 5.7 - patch 20100626
+ continue integrating changes to use gnatmake project files in Ada95
  + old gnatmake (3.15) does not produce libraries using project-file;
    work around by adding script to generate alternate makefile.
2010-06-27 01:14:50 +00:00
Thomas E. Dickey
0141530788 ncurses 5.7 - patch 20100619
+ continue integrating changes to use gnatmake project files in Ada95
  + add configure --with-ada-sharedlib option, for the test_make rule.
  + move Ada95-related logic into aclocal.m4, since additional checks
    will be needed to distinguish old/new implementations of gnat.
2010-06-20 00:56:51 +00:00
Thomas E. Dickey
6b43eaddcd ncurses 5.7 - patch 20100605
+ change search order of options for Solaris in CF_SHARED_OPTS, to
  work with 64-bit compiles.
+ correct quoting of assignment in CF_SHARED_OPTS case for aix
  (cf: 20081227)
2010-06-06 00:57:09 +00:00
Thomas E. Dickey
f9d358b4f3 ncurses 5.7 - patch 20100529
+ regenerated html documentation.
+ modify test/configure to support pkg-config for checking X libraries
  used by PDCurses.
+ add/use configure macro CF_ADD_LIB to force consistency of
  assignments to $LIBS, etc.
+ fix configure script for combining --with-pthread
  and --enable-weak-symbols options.
2010-05-30 01:08:46 +00:00
Thomas E. Dickey
a2ea66477b ncurses 5.7 - patch 20100522
+ correct cross-compiling configure check for CF_MKSTEMP macro, by
  adding a check cache variable set by AC_CHECK_FUNC (report by
  Pierre Labastie).
+ simplify include-dependencies of make_hash and make_keys, to reduce
  the need for setting BUILD_CPPFLAGS in cross-compiling when the
  build- and target-machines differ.
+ repair broken-linker configuration by restoring a definition of SP
  variable to curses.priv.h, and adjusting for cases where sp-funcs
  are used.
+ improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
  variable to override (prompted by report by Pablo Cazallas).
2010-05-23 00:52:44 +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
92e187a345 ncurses 5.7 - patch 20100501
+ correct limit-check in wredrawln, accounting for begy/begx values
  (patch by David Benjamin).
+ fix most compiler warnings from clang.
+ amend build-fix for OpenSolaris, to ensure that a system header is
  included in curses.h before testing feature symbols, since they
  may be defined by that route.
2010-05-02 00:59:02 +00:00
Thomas E. Dickey
11dead3981 ncurses 5.7 - patch 20100424
+ fix some strict compiler warnings in ncurses library.
+ modify configure macro CF_HEADER_PATH to not look for variations in
  the predefined include directories.
+ improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
  with gcc 4.x's c89 alias, which gives warning messages for cases
  where older versions would produce an error.
2010-04-25 01:40:39 +00:00
Thomas E. Dickey
614f0d6711 ncurses 5.7 - patch 20100417
+ modify _nc_capcmp() to work with cancelled strings.
+ correct translation of "^" in _nc_infotocap(), used to transform
  terminfo to termcap strings
+ add configure --disable-rpath-hack, to allow disabling the feature
  which adds rpath options for libraries in unusual places.
+ improve CF_RPATH_HACK_2 by checking if the rpath option for a given
  directory was already added.
+ improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
  directories (which will be ignored).
2010-04-18 01:13:38 +00:00
Thomas E. Dickey
10539f5afe ncurses 5.7 - patch 20100410
+ improve win_driver.c handling of mouse:
  + discard motion events
  + avoid calling _nc_timed_wait when there is a mouse event
  + handle 4th and "rightmost" buttons.
+ quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
  cases where there are embedded blanks in the rpath option.
2010-04-10 23:46:02 +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
94bd28fde2 ncurses 5.7 - patch 20100327
+ refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
  reusable.
+ improve configure CF_REGEX, similar fixes.
+ improve configure CF_FIND_LINKAGE, adding add check between system
  (default) and explicit paths, where we can find the entrypoint in the
  given library.
+ add check if Gpm_Open() returns a -2, e.g., for "xterm".  This is
  normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
  Ensure that Gpm_Close() is called in this case.
2010-03-28 00:37:08 +00:00
Thomas E. Dickey
8c0ecb76c7 ncurses 5.7 - patch 20100313
+ modify install-rule for manpages so that *-config manpages will
  install when building with --srcdir (report by Sven Joachim).
+ modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
  option is not the same as --disable-leaks (GenToo #305889).
+ modify #define's for build-compiler to suppress cchar_t symbol from
  compile of make_hash and make_keys, improving cross-compilation of
  ncursesw (report by Bernhard Rosenkraenzer).
+ modify CF_MAN_PAGES configure macro to replace all occurrences of
  TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
  Kaseorg).
2010-03-13 21:18:05 +00:00
Thomas E. Dickey
d49a800c7f ncurses 5.7 - patch 20100306
+ generate manpages for the *-config scripts, adapted from help2man
  (suggested by Sven Joachim).
+ use va_copy() in _nc_printf_string() to avoid conflicting use of
  va_list value in _nc_printf_length() (report by Wim Lewis).
2010-03-07 00:37:08 +00:00
Thomas E. Dickey
41068edef0 ncurses 5.7 - patch 20100130
+ use vfork in test/ditto.c if available (request by Mike Frysinger).
+ miscellaneous cleanup of manpages.
+ fix typo in curs_bkgd.3x (patch by Tim van der Molen).
+ build-fix for --srcdir (patch by Miroslav Lichvar).
2010-01-31 01:29:33 +00:00
Thomas E. Dickey
77afe78361 ncurses 5.7 - patch 20100109
+ modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
  consistently to add new -D's while removing duplicates.
+ modify a few configure macros to consistently put new options
  before older in the list.
+ add tiparm(), based on review of X/Open Curses Issue 7.
+ minor documentation cleanup.
+ update config.guess, config.sub from
	http://savannah.gnu.org/projects/config
  (caveat - its maintainer put 2010 copyright date on files dated 2009)
2010-01-10 01:50:23 +00:00
Thomas E. Dickey
582d14ba03 ncurses 5.7 - patch 20091121
+ fix case where progs/tput is used while sp-funcs is configure; this
  requires save/restore of out-character function from _nc_prescreen
  rather than the SCREEN structure (report by Charles Wilson).
+ fix typo in man/curs_trace.3x which caused incorrect symbolic links
+ improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
2009-11-22 01:54:35 +00:00
Thomas E. Dickey
dfaa1a3001 ncurses 5.7 - patch 20090718
+ fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
  20070704 changes.
+ modify _nc_find_type_entry() to use hashing.
+ make CCHARW_MAX value configurable, noting that changing this would
  change the size of cchar_t, and would be ABI-incompatible.
+ modify test-programs, e.g,.  test/view.c, to address subtle
  differences between Tru64/Solaris and HPUX/AIX getcchar() return
  values.
+ modify length returned by getcchar() to count the trailing null
  which is documented in X/Open (cf: 20020427).
+ fixes for test programs to build/work on HPUX and AIX, etc.
2009-07-19 01:03:05 +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
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
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
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