Commit Graph

84 Commits

Author SHA1 Message Date
Thomas E. Dickey
4546e76f7d ncurses 6.2 - patch 20210123
+ modify package/config scripts to provide an explicit -L option for
  cases when the loader search path has other directories preceding
  the one in which ncurses is installed (report by Yuri Victorovich).
+ minor build-fixes in configure script and makefiles to work around
  quirks of pmake.
2021-01-24 00:36:13 +00:00
Thomas E. Dickey
d6c65d2871 ncurses 6.2 - patch 20200912
+ add configure-check for systre/tre with mingw configuration, to get
  the library-dependencies as seen in msys2 configuration for mingw64.
+ build-fixes for the win32-driver configuration.
+ use more defensive binary mode setting for Win32 (Juergen Pfeifer).
2020-09-13 01:31:37 +00:00
Thomas E. Dickey
2b7c2fd2f9 ncurses 6.2 - patch 20200906
+ merge/adapt in-progress work by Juergen Pfeifer for new version of
  win32-driver.
+ correct description of vt330/vt340 (Ross Combs).
2020-09-06 23:50:45 +00:00
Thomas E. Dickey
1f7a36fe16 ncurses 6.2 - patch 20200829
+ remove a redundant NCURSES_EXPORT as a build-fix for "Maarten
  Anonymous".
+ merge/adapt in-progress work by Juergen Pfeifer for new version of
  win32-driver.
+ modify configure script, moving gcc -Werror options to EXTRA_CFLAGS
  to avoid breaking configure-checks (adapted from ongoing work on
  mawk and lynx).
> errate for terminfo.src (report by Florian Weimer):
+ correct icl6404 csr
+ correct ti916 cup
+ improve ndr9500
2020-08-30 01:38:16 +00:00
Thomas E. Dickey
cf6a62567b ncurses 6.2 - patch 20200718
+ reduce redefinition-warnings for KEY_EVENT when building with Visual
  Studio C++.
+ define NCURSES_STATIC when compiling programs to link with static
  libraries, to work with MinGW vs Visual Studio C++.
> additional changes for building with Visual Studio C++ and msys2
  (reports/patches by "Maarten Anonymous")
+ modify c++/Makefile.in to set the current directory while compiling
  the main program, so the linker can find related objects.
+ several changes to allow the c++/demo program to compile/link.
+ change an ifdef in test-directory, to use VC++ wide-character funcs.
2020-07-18 23:07:05 +00:00
Thomas E. Dickey
04d942c3d9 ncurses 6.2 - patch 20200704
+ modify version-check with Ada generics to use the same pattern as in
  the check for supported gnat versions (report by Pascal Pignard).
> additional changes for building with Visual Studio C++ and msys2
  (patches by "Maarten Anonymous"):
+ adjust headers/declarations to provide for "dllimport" vs "dllexport"
  declarations when constructing DLLs, to worko with Visual Studio C++.
2020-07-05 01:11:37 +00:00
Thomas E. Dickey
c976a90788 ncurses 6.2 - patch 20200404
+ modify -fvisibility check to work with g++
> fixes for building with Visual Studio C++ and msys2 (patches by
  "Maarten Anonymous"):
+ add configure option and check for gcc -fvisibility=hidden feature
+ define NCURSES_NOMACROS in lib_gen.c to work around Visual Studio
  C++ preprocessor limitations.
+ modify some of the configure-macros, as well as mk-1st.awk to work
  with Visual Studio C++ default filenaming.
2020-04-05 00:59:09 +00:00
Thomas E. Dickey
3ef920d65f ncurses 6.2 - patch 20200308
+ update copyright notices in test-packages.
+ modify tracemunch to guard against errors in its known_p1 table.
+ add several --with-xxx-libname options, to help with pkgsrc (prompted
  by discussion with Thomas Klausner).
2020-03-09 00:21:51 +00:00
Thomas E. Dickey
18f51bcf99 ncurses 6.2 - patch 20200229
+ modify CF_NCURSES_CONFIG to work around xcode's c99 "-W" option,
  which conflicts with conventional use for passing linker options.
> fixes for building with Visual Studio C++ and msys2 (patches by
  "Maarten Anonymous"):
+ check for pcre2posix.h instead of pcre2-posix.h
+ add case in CF_SHARED_OPTS for msys2 + msvc
+ add fallback definition for STDIN_FILENO in progs.priv.h
+ modify win_driver.c to use _alloca() rather than gcc's variable
  length array feature.
+ add NCURSES_IMPEXP to ncurses wrapped-variable declarations
+ remove NCURSES_IMPEXP from class variables in c++/cursslk.h
+ remove fallback prototype for exit() from c++/etip.h.in
+ use configured check for <sys/time.h> in a couple of places
+ conditionally include winsock.h in ncurses/win32con/gettimeofday.c,
  because Visual Studio needs this for the timestruct declaration.
+ adjust syntax in a couple of files using the NCURSES_API symbol.
2020-03-01 01:58:39 +00:00
Thomas E. Dickey
a90dd7b66f ncurses 6.2 - patch 20200222
+ expanded note in ncurses.3x regarding automatically-included headers
+ improve vt50h and vt52 based on DECScope manual -TD
+ add/use vt52+keypad and vt52-basic -TD
+ check/workaround for line-too-long in Ada95 generate utility when
  building out-of-tree.
+ improve/update HEADER_DEPS in */Makefile.in
+ add "check" rule to include/Makefile, to demonstrate that the headers
  include all of the required headers for the types used.
2020-02-23 02:26:40 +00:00
Thomas E. Dickey
47d2fb4537 ncurses 6.2 - patch 20200212
+ update release notes
+ minor build-fixes, mostly to test-package scripts
+ modify check for sizeof(wchar_t) to ensure it gives useful result
  when cross-compiling.
+ drop assumption in configure script that Cygwin's linker is broken.
+ define NCURSES_BROKEN_LINKER if the broken-linker feature is used,
  to simplify configure-checks for ncurses-examples.
+ reassert copyright on ncurses, per discussion in ncurses FAQ:
  https://invisible-island.net/ncurses/ncurses.faq.html#relicensed
+ modify comparison in make_hash.c to correct a special case in
  collision handling for Caps-hpux11
+ add testing utility report_hashing to check hash-tables used for
  terminfo and termcap names.
+ fix a missing prototype for _nc_free_and_exit().
+ update a few comments about tack 1.07
+ use an awk script to split too-long pathnames used in Ada95 sample
  programs for explain.txt
2020-02-12 09:50:22 +00:00
Thomas E. Dickey
c55d387ceb ncurses 6.1 - patch 20200118
+ expanded description of XM in user_caps.5
+ improve xm example for xterm+x11mouse, xterm+sm+1006 -TD
+ add history section to curs_slk.3x and curs_terminfo.3x manpages.
+ update alacritty entries for 0.4.0 (prompted by patch by
  Christian Durr) -TD
+ correct spelling errors found with codespell.
+ fix for test/configure, from xterm #352.
2020-01-19 02:49:58 +00:00
Thomas E. Dickey
02f1dee48f ncurses 6.1 - patch 20191214
+ add exit_curses() and exit_terminfo() to replace internal symbols for
  leak-checking.
2019-12-15 02:10:35 +00:00
Thomas E. Dickey
97df2f3356 ncurses 6.1 - patch 20190728
+ fix a few more coverity warnings.
+ more documentation updates based on tctest.
2019-07-29 00:58:02 +00:00
Thomas E. Dickey
30393be892 ncurses 6.1 - patch 20180901
+ improve manual page for wgetnstr, giving background for the length
  parameter.
+ define a limit for wgetnstr, wgetn_wstr when length is negative or
  "too large".
+ update configure script to autoconf 2.52.20180819 (Debian #887390).
2018-09-02 00:30:36 +00:00
Thomas E. Dickey
df51c7005b ncurses 6.1 - patch 20180818
+ build-fix for PDCurses with ncurses-examples.
+ improved CF_CC_ENV_FLAGS.
+ modify configure scripts to reduce relinking/ranlib during library
  install (Debian #903790):
  + use "install -p" when available, to avoid need for ranlib of
    static libraries.
  + modify scripts which use "--disable-relink" to add a 1-second
    sleep to work around tools which use whole-second timestamps, e.g.,
    in utime() rather than the actual file system resolution.
+ add "--disable-touching" option for using "install -p" option during
  the install, e.g., so that header-files have a predictable timestamp.
2018-08-19 01:04:13 +00:00
Thomas E. Dickey
5da4544722 ncurses 6.1 - patch 20180623
+ use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
  to simplify building with MSVC, since the former are defined in both
  compiler configurations (report by Ali Abdulkadir).
+ further improvements to configure-checks from work on dialog, i.e.,
  updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
  CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
  CF_TRY_XOPEN_SOURCE.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2018-06-24 00:40:50 +00:00
Thomas E. Dickey
0237f10a29 ncurses 6.1 - patch 20180526
+ add note in curs_util.3x about unctrl.h
+ review/improve header files to ensure that those include necessary
  files except for the previously-documented cases (report by Isaac
  Pascual Monells).
+ improved test-package scripts, adapted from byacc 1.9 20180525.
+ fix some gcc8 warnings seen in Redhat package build, but
  work around bug in gcc8 compiler warnings in comp_parse.c
2018-05-27 01:00:14 +00:00
Thomas E. Dickey
8d3ea90215 ncurses 6.0 - patch 20171125
+ modify MKlib_gen.sh to avoid tracing result from getstr/getnstr
  before initialized.
+ add "-a" aspect-ratio option to picsmap.
+ add configure check for default path of rgb.txt, used in picsmap.
+ modify _nc_write_entry() to truncate too-long filename (report by
  Hosein Askari, Debian #882620).
+ build-fix for ncurses-examples with NetBSD curses:
  + it lacks the use_env() function.
  + it lacks libpanel; a recent change used the wrong ifdef symbol.
+ add a macro for is_linetouched() and adjust the function's return
  value to make it possible for most applications to check for an
  error-return (report by Midolikawa H).
+ additional manpage cleanup.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2017-11-26 00:35:16 +00:00
Thomas E. Dickey
b22573b1ba ncurses 6.0 - patch 20170701
+ modify update_getenv() in db_iterator.c to ensure that environment
  variables which are not initially set will be checked later if an
  application happens to set them (patch by Guillaume Maudoux).
+ remove initialization-check for calling napms() in the term-driver
  configuration; none is needed.
+ add help-screen to test/test_getstr.c and test/test_get_wstr.c
+ improve compatibility between different configurations of new_prescr,
  fixing a case with threaded code and term-driver where c++/demo did
  not work (cf: 20160213).
+ the fixes for Redhat #1464685 obscured a problem subsequently
  reported in Redhat #1464687; the given test-case was no longer
  reproducible.  Testing without the fixes for the earlier reports
  showed a problem with buffer overflow in dump_entry.c, which is
  addressed by reducing the use of a fixed-size buffer.
+ add/improve checks in tic's parser to address invalid input
  (Redhat #1464684, #1464685, #1464686, #1464691).
  + alloc_entry.c, add a check for a null-pointer.
  + parse_entry.c, add several checks for valid pointers as well as
    one check to ensure that a single character on a line is not
    treated as the 2-character termcap short-name.
+ fix a memory leak in delscreen() (report by Bai Junq).
+ improve tracemunch, showing thread identifiers as names.
+ fix a use-after-free in NCursesMenu::~NCursesMenu()
+ further amend incorrect calls for memory-leaks from 20170617 changes
  (report by Allen Hewes).
2017-07-02 01:01:29 +00:00
Thomas E. Dickey
3e7e5f8b5c ncurses 6.0 - patch 20170624
+ modify c++/etip.h.in to accommodate deprecation of throw() and
  throws() in c++17 (prompted by patch by Romain Geissler).
+ remove some incorrect calls for memory-leaks from 20170617 changes
  (report by Allen Hewes).
+ add test-programs for termattrs and term_attrs.
+ modify _nc_outc_wrapper to use the standard output if the screen was
  not initialized, rather than returning an error.
+ improve checks for low-level terminfo functions when the terminal
  has not been initialized (Redhat #1345963).
+ modify make_hash to allow building with address-sanitizer,
  assuming that --disable-leaks is configured.
+ amend changes for number_format() in 20170506 to avoid undefined
  behavior when shifting (patch by Emanuele Giaquinta).
2017-06-25 01:22:12 +00:00
Thomas E. Dickey
56f1e8cd80 ncurses 6.0 - patch 20160521
+ improved manual page description of tset/reset versus window-size.
+ fixes to work with a slightly broken compiler configuration which
  cannot compile "Hello World!" without adding compiler options
  (report by Ola x Nilsson):
  + pass appropriate compiler options to the CF_PROG_CC_C_O macro.
  + when separating compiler and options in CF_CC_ENV_FLAGS, ensure
    that all options are split-off into CFLAGS or CPPFLAGS
  + restore some -I options removed in 20140726 because they appeared
    to be redundant.  In fact, they are needed for a compiler that
    cannot combine -c and -o options.
2016-05-22 00:49:17 +00:00
Thomas E. Dickey
def73dda3f ncurses 6.0 - patch 20151017
+ modify ncurses/Makefile.in to sort keys.list in POSIX locale
  (Debian #801864, patch by Esa Peuha).
+ remove an early-return from _nc_do_color, which can interfere with
  data needed by bkgd when ncurses is configured with extended colors
  (patch by Denis Tikhomirov).
> fixes for OS/2 (patches by KO Myung-Hun)
+ use button instead of kbuf[0] in EMX-specific part of lib_mouse.c
+ support building with libtool on OS/2
+ use stdc++ on OS/2 kLIBC
+ clear cf_XOPEN_SOURCE on OS/2
2015-10-18 00:40:46 +00:00
Thomas E. Dickey
02f02dcd44 ncurses 6.0 - patch 20150808
+ build-fix for Ada95 on older platforms without stdint.h
+ build-fix for Solaris, whose /bin/sh and /usr/bin/sed are non-POSIX.
+ update release announcement, summarizing more than 800 changes across
  more than 200 snapshots.
+ minor fixes to manpages, etc., to simplify linking from announcement
  page.
2015-08-09 00:19:07 +00:00
Thomas E. Dickey
be512fa073 ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
  for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
  Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
  nsterm-build342 to reflect changes with successive releases of OSX
  (discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
  #783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
  generated ".pc" file when ld option "--as-needed" is used, or when
  ncurses and tinfo are installed without using rpath (prompted by
  discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
  in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
  libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
  been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
  the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
  found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2015-05-03 01:06:46 +00:00
Thomas E. Dickey
50acaeeb9b ncurses 5.9 - patch 20141115
+ improve description of limits for color values and color pairs in
  curs_color.3x (prompted by patch by Tim van der Molen).
+ add VERSION file, using first field in that to record the ABI version
  used for configure --with-libtool --disable-libtool-version
+ add configure options for applying the ".map" and ".sym" files to
  the ncurses, form, menu and panel libraries.
+ add ".map" and ".sym" files to show exported symbols, e.g., for
  symbol-versioning.
2014-11-16 04:08:00 +00:00
Thomas E. Dickey
acc28c6418 ncurses 5.9 - patch 20140809
+ modify declarations for user-data pointers in C++ binding to use
  reinterpret_cast to facilitate converting typed pointers to void*
  in user's application (patch by Adam Jiang).
+ regenerated html manpages.
+ add note regarding cause and effect for TERM in ncurses manpage,
  having noted clueless verbiage in Terminal.app's "help" file
  which reverses cause/effect.
+ remove special fallback definition for NCURSES_ATTR_T, since macros
  have resolved type-mismatches using casts (cf: 970412).
+ fixes for win_driver.c:
  + handle repainting on endwin/refresh combination.
  + implement beep().
  + minor cleanup.
2014-08-09 23:40:51 +00:00
Thomas E. Dickey
c6f54649ed ncurses 5.9 - patch 20140726
+ eliminate some redundant -I options used for building libraries, and
  ensure that ${srcdir} is added to the include-options (prompted by
  discussion with Paul Gilmartin).
+ modify configure script to work with Minix3.2
+ add form library extension O_DYNAMIC_JUSTIFY option which can be
  used to override the different treatment of justification for static
  versus dynamic fields (adapted from patch by Leon Winter).
+ add a null pointer check in test/edit_field.c (report/analysis by
  Leon Winter, cf: 20130608).
2014-07-27 01:50:25 +00:00
Thomas E. Dickey
4f84dbbd02 ncurses 5.9 - patch 20140201
+ add/use symbol NCURSES_PAIRS_T like NCURSES_COLOR_T, to illustrate
  which "short" types are for color pairs and which are color values.
+ fix build for s390x, by correcting field bit offsets in generated
  representation clauses when int=32 long=64 and endian=big, or at
  least on s390x (patch by Nicolas Boulenguez).
+ minor cleanup change to test/form_driver_w.c (patch by Gaute Hope).
2014-02-02 00:11:40 +00:00
Thomas E. Dickey
e2dee48666 ncurses 5.9 - patch 20130928
+ some build-fixes for ncurses-examples with NetBSD-6.0 curses, though
  it lacks some common functions such as use_env() which is not yet
  addressed.
+ build-fix and some compiler warning fixes for ncurses-examples with
  OpenBSD 5.3
+ fix a possible null-pointer reference in a trace message from newterm.
+ quiet a few warnings from NetBSD 6.0 namespace pollution by
  nonstandard popcount() function in standard strings.h header.
+ ignore g++ 4.2.1 warnings for "-Weffc++" in c++/cursesmain.cc
+ fix a few overlooked places for --enable-string-hacks option.
2013-09-29 01:03:55 +00:00
Thomas E. Dickey
1d743ae945 ncurses 5.9 - patch 20130805
+ minor fixes to the --disable-overwrite logic, to ensure that the
  configured $(includedir) is not cancelled by the mingwxx-filesystem
  rpm macros.
+ add --disable-db-install configure option, to simplify building
  cross-compile support packages.
+ add mingw-ncurses.spec file, for testing cross-compiles.
2013-08-05 09:18:54 +00:00
Thomas E. Dickey
761e4f0825 ncurses 5.9 - patch 20130518
+ corrected ifdefs in test/testcurs.c to allow comparison of mouse
  interface versus pdcurses (cf: 20130316).
+ add pow() to configure-check for math library, needed since
  20121208 for test/hanoi (Debian #708056).
+ regenerated html manpages.
+ update doctype used for html documentation.
2013-05-19 00:22:02 +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
8a82f8535b ncurses 5.9 - patch 20130406
+ improve parameter checking in copywin().
+ modify configure script to work around OS X's "libtool" program, to
  choose glibtool instead.  At the same time, chance the autoconf macro
  to look for a "tool" rather than a "prog", to help with potential use
  in cross-compiling.
+ separate the rpath usage for c++ library from demo program
  (Redhat #911540)
+ update/correct header-dependencies in c++ makefile (report by Werner
  Fink).
+ add --with-cxx-shared to dpkg-script, as done for rpm-script.
2013-04-07 01:11:39 +00:00
Thomas E. Dickey
bfe753d2db ncurses 5.9 - patch 20130316
+ additional fix for tic.c, to allocate missing buffer space.
+ eliminate configure-script warnings for gen-pkgconfig.in
+ correct typo in sgr string for sun-color,
  add bold for consistency with sgr,
  change smso for consistency with sgr -TD
+ correct typo in sgr string for terminator -TD
+ add blink to the attributes masked by ncv in linux-16color (report
  by Benjamin Sittler)
+ improve warning message from post-load checking for missing "%?"
  operator by tic/infocmp by showing the entry name and capability.
+ minor formatting improvement to tic/infocmp -f option to ensure
  line split after "%;".
+ amend scripting for --with-cxx-shared option to handle the debug
  library "libncurses++_g.a" (report by Sven Joachim).
2013-03-17 01:23:04 +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
938680fa3b ncurses 5.9 - patch 20121229
+ fix coverity warnings regarding copying into fixed-size buffers.
+ add throw-declarations in the c++ binding per Coverity warning.
+ minor changes to new-items for consistent reference to bug-report
  numbers.
2012-12-30 01:55:33 +00:00
Thomas E. Dickey
64f44b13d3 ncurses 5.9 - patch 20121208
+ modify test/knight.c to show the number of choices possible for
  each position in automove option, e.g., to allow user to follow
  Warnsdorff's rule to solve the puzzle.
+ modify test/hanoi.c to show the minimum number of moves possible for
  the given number of tiles (prompted by patch by Lucas Gioia).
> fixes based on Coverity report:
+ remove a few redundant checks.
+ correct logic in test/bs.c, when randomly placing a specific type of
  ship.
+ check return value from remove/unlink in tic.
+ check return value from sscanf in test/ncurses.c
+ fix a null dereference in c++/cursesw.cc
+ fix two instances of uninitialized variables when configuring for the
  terminal driver.
+ correct scope of variable used in SetSafeOutcWrapper macro.
+ set umask when calling mkstemp in tic.
+ initialize wbkgrndset() temporary variable when extended-colors are
  used.
2012-12-09 01:53:49 +00:00
Thomas E. Dickey
1d7867d33e ncurses 5.9 - patch 20120608
+ fix an uninitialized variable in -c/-n logic for infocmp changes
  (cf: 20120526).
+ corrected fix for building c++ binding with clang 3.0 (report/patch
  by Richard Yao, Gentoo #417613, cf: 20110409)
+ correct configure check for working poll, fixing the case where stdin
  is redirected, e.g., in rpm/dpkg builds (Debian #676461).
+ add rpm- and dpkg-scripts, to test those build-environments.
  The resulting packages are used only for testing.
2012-06-09 00:43:33 +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
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