Commit Graph

267 Commits

Author SHA1 Message Date
Thomas E. Dickey
471bc00736 ncurses 5.9 - patch 20120707
+ add ncurses_mingw.h to installed headers (prompted by patch by
  Juergen Pfeifer).
+ clarify return-codes from wgetch() in response to SIGWINCH (prompted
  by Novell #769788).
+ modify resizeterm() to always push a KEY_RESIZE onto the fifo, even
  if screensize is unchanged.  Modify _nc_update_screensize() to push a
  KEY_RESIZE if there was a SIGWINCH, even if it does not call
  resizeterm().  These changes eliminate the case where a SIGWINCH is
  received, but ERR returned from wgetch or wgetnstr because the screen
  dimensions did not change (Novell #769788).
2012-07-07 23:45:45 +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
c2ed42e6ca ncurses 5.9 - patch 20120622
+ add -d, -e and -q options to test/demo_terminfo and test/demo_termcap
+ fix caching of environment variables in database-iterator (patch by
  Philippe Troin, Redhat #831366).
2012-06-23 00:36:11 +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
83589fb4c6 ncurses 5.9 - patch 20120512
+ corrected 'op' for bterm (report by Samuel Thibault) -TD
+ modify test/background.c to demonstrate a background character
  holding a colored ACS_HLINE.  The behavior differs from SVr4 due to
  the thick- and double-line extension (cf: 20091003).
+ modify handling of acs characters in PutAttrChar to avoid mapping an
  unmapped character to a space with A_ALTCHARSET set.
+ rewrite vt520 entry based on vt420 -TD
2012-05-12 23:45:23 +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
beb0f0c691 ncurses 5.9 - patch 20120428
+ fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD
+ add eslok flag to dec+sl -TD
+ dec+sl applies to vt320 and up -TD
+ drop wsl width from xterm+sl -TD
+ reuse xterm+sl in putty and nsca-m -TD
+ add ansi+tabs to vt520 -TD
+ add ansi+enq to vt220-vt520 -TD
+ fix a compiler warning in example in ncurses-intro.doc (Paul Waring).
+ added paragraph in keyname manpage telling how extended capabilities
  are interpreted as key definitions.
+ modify tic's check of conflicting key definitions to include extended
  capability strings in addition to the existing check on predefined
  keys.
2012-04-29 00:54:13 +00:00
Thomas E. Dickey
a5c5f83f57 ncurses 5.9 - patch 20120414
+ add consistency check in tic for screen's "XT" capability.
+ add section in terminfo.src summarizing the user-defined capabilities
  used in that file -TD
2012-04-14 23:45:59 +00:00
Thomas E. Dickey
18b7b94579 ncurses 5.9 - patch 20120407
+ fix an inconsistency between tic/infocmp "-x" option; tic omits all
  non-standard capabilities, while infocmp was ignoring only the user
  definable capabilities.
+ improve special case in tic parsing of description to allow it to be
  followed by terminfo capabilities.  Previously the description had to
  be the last field on an input line to allow tic to distinguish
  between termcap and terminfo format while still allowing commas to be
  embedded in the description.
+ correct variable name in gen_edit.sh which broke configurability of
  the --with-xterm-kbs option.
+ revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD
+ further amend 20110910 change, providing for configure-script
  override of the "linux" terminfo entry to install and changing the
  default for that to "linux2.2" (Debian #665959).
2012-04-08 00:45:28 +00:00
Thomas E. Dickey
70e1890695 ncurses 5.9 - patch 20120324
+ amend an old fix so that next_char() exits properly for empty files,
  e.g., from reading /dev/null (cf: 20080804).
+ modify tic so that it can read from the standard input, or from
  a character device.  Because tic uses seek's, this requires writing
  the data to a temporary file first (prompted by remark by Sven
  Joachim) (cf: 20000923).
2012-03-24 23:37:46 +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
ba39fbc2e0 ncurses 5.9 - patch 20120310
+ fix some strict compiler warnings for abi6 and 64-bits.
+ use begin_va_copy/end_va_copy macros in lib_printw.c (cf: 20120303).
+ improve a limit-check in infocmp.c (Werner Fink):
2012-03-11 01:59:25 +00:00
Thomas E. Dickey
b0916ab669 ncurses 5.9 - patch 20120303
+ minor tidying of terminfo.tail, clarify reason for limitation
  regarding mapping of \0 to \200
+ minor improvement to _nc_copy_termtype(), using memcpy to replace
  loops.
+ fix no-leaks checking in test/demo_termcap.c to account for multiple
  calls to setupterm().
+ modified the libgpm change to show previous load as a problem in the
  debug-trace.
> merge some patches from OpenSUSE rpm (Werner Fink):
+ ncurses-5.7-printw.dif, fixes for varargs handling in lib_printw.c
+ ncurses-5.7-gpm.dif, do not dlopen libgpm if already loaded by
  runtime linker
+ ncurses-5.6-fallback.dif, do not free arrays and strings from static
  fallback entries
2012-03-04 00:07:09 +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
01433b4eed ncurses 5.9 - patch 20120128
+ add mach-gnu (Debian #614316, patch by Samuel Thibault)
+ add mach-gnu-color, tweaks to mach-gnu terminfo -TD
+ make sgr for sun-color agree with smso -TD
+ make sgr for prism9 agree with other caps -TD
+ make sgr for icl6404 agree with other caps -TD
+ make sgr for ofcons agree with other caps -TD
+ make sgr for att5410v1, att4415, att620 agree with other caps -TD
+ make sgr for aaa-unk, aaa-rv agree with other caps -TD
+ make sgr for avt-ns agree with other caps -TD
+ amend fix intended to separate fixups for acsc to allow "tic -cv" to
  give verbose warnings (cf:  20110730).
+ modify misc/gen-edit.sh to make the location of the tabset directory
  consistent with misc/Makefile.in, i.., using ${datadir}/tabset
  (Debian #653435, patch by Sven Joachim).
2012-01-29 02:06:41 +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
43bb25186a ncurses 5.9 - patch 20120107
+ various improvments for MinGW (patch by Juergen Pfeifer):
  + modify stat() calls to ignore the st_size member
  + drop mk-dlls.sh script.
  + change recommended regular expression library.
  + modify rain.c to allow for threaded configuraton.
  + modify tset.c to allow for case when size-change logic is not used.
2012-01-08 02:27:57 +00:00
Thomas E. Dickey
5e36f11fea ncurses 5.9 - patch 20111217
+ review/fix places in manpages where --program-prefix configure option
  was not being used.
+ add -D option to infocmp, to show the database locations that it
  could use.
+ fix build for the special case where term-driver, ticlib and termlib
  are all enabled.  The terminal driver depends on a few features in
  the base ncurses library, so tic's dependencies include both ncurses
  and termlib.
+ fix build work for term-driver when --enable-wgetch-events option is
  enabled.
+ use <stdint.h> types to fix some questionable casts to void*.
2011-12-18 00:13:30 +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
2f5be2a67c ncurses 5.9 - patch 20111119
+ remove obsolete/conflicting fallback definition for _POSIX_SOURCE
  from curses.priv.h, fixing a regression with IRIX64 and Tru64
  (cf: 20110416)
+ modify _nc_tic_dir() to ensure that its return-value is nonnull,
  i.e., the database iterator was not initialized.  This case is needed
  to when tic is translating to termcap, rather than loading the
  database (cf:  20111001).
2011-11-20 02:38:21 +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
44a4147009 ncurses 5.9 - patch 20111008
+ moved static data from db_iterator.c to lib_data.c
+ modify db_iterator.c for memory-leak checking, fix one leak.
+ modify misc/gen-pkgconfig.in to use Requires.private for the parts
  of ncurses rather than Requires, as well as Libs.private for the
  other library dependencies (prompted by Debian #644728).
2011-10-09 00:51:26 +00:00
Thomas E. Dickey
af4c589f0c ncurses 5.9 - patch 20111001
+ modify tic "-K" option to only set the strict-flag rather than force
  source-output.  That allows the same flag to control the parser for
  input and output of termcap source.
+ modify _nc_getent() to ignore backslash at the end of a comment line,
  making it consistent with ncurses' parser.
+ restore a special-case check for directory needed to make termcap
  text files load as if they were databases (cf: 20110924).
+ modify tic's resolution/collision checking to attempt to remove the
  conflicting alias from the second entry in the pair, which is
  normally following in the source file.  Also improved the warning
  message to make it simpler to see which alias is the problem.
+ improve performance of the database iterator by caching search-list.
2011-10-02 00:58:34 +00:00
Thomas E. Dickey
b9cd971c38 ncurses 5.9 - patch 20110925
+ add a missing "else" in changes to _nc_read_tic_entry().
2011-09-24 23:55:13 +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
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
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
fc108369da ncurses 5.9 - patch 20110903
+ propagate error-returns from wresize, i.e., the internal
  increase_size and decrease_size functions through resize_term (report
  by Tim van der Molen, cf:  20020713).
+ fix typo in tset manpage (patch by Sven Joachim).
2011-09-04 00:30:36 +00:00
Thomas E. Dickey
bd257b9d8d ncurses 5.9 - patch 20110820
+ add a check to ensure that termcap files which might have "^?" do
  not use the terminfo interpretation as "\177".
+ minor cleanup of X-terminal emulator section of terminfo.src -TD
+ add terminator entry -TD
+ add simpleterm entry -TD
+ improve wattr_get macros by ensuring that if the window pointer is
  null, then the attribute and color values returned will be zero
  (cf: 20110528).
2011-08-21 00:33:59 +00:00
Thomas E. Dickey
c002077d39 ncurses 5.9 - patch 20110813
+ add substitution for $RPATH_LIST to misc/ncurses-config.in
+ improve performance of tic with hashed-database by caching the
  database connection, using atexit() to cleanup.
+ modify treatment of 2-character aliases at the beginning of termcap
  entries so they are not counted in use-resolution, since these are
  guaranteed to be unique.  Also ignore these aliases when reporting
  the primary name of the entry (cf: 20040501)
+ double-check gn (generic) flag in terminal descriptions to
  accommodate old/buggy termcap databases which misused that feature.
+ minor fixes to _nc_tgetent(), ensure buffer is initialized even on
  error-return.
2011-08-14 00:27:10 +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
bd75bb126b ncurses 5.9 - patch 20110625
+ improve cleanup() function in lib_tstp.c, using _exit() rather than
  exit() and checking for SIGTERM rather than SIGQUIT (prompted by
  comments forwarded by Nicholas Marriott).
+ reduce name pollution from term.h, moving fallback #define's for
  tcgetattr(), etc., to new private header nc_termios.h (report by
  Sergio NNX).
+ two minor fixes for tracing (patch by Vassili Courzakis).
+ improve trace initialization by starting it in use_env() and
  ripoffline().
+ review old email, add details for some changelog entries.
2011-06-26 00:21:18 +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
c120fddebe ncurses 5.9 - patch 20110521
+ fix warnings from clang 2.7 "--analyze"
2011-05-22 00:54: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
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
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
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
Thomas E. Dickey
8639fbcc9f ncurses 5.7 - patch 20110205
+ add xterm-utf8 entry as a demo of the U8 feature -TD
+ add U8 feature to denote entries for terminal emulators which do not
  support VT100 SI/SO when processing UTF-8 encoding -TD
+ improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
  extended terminfo capability U8 (prompted by mailing list
  discussion).
2011-02-06 02:33:36 +00:00
Thomas E. Dickey
70322aa06a ncurses 5.7 - patch 20110122
+ start documenting interface changes for upcoming 5.8 release.
+ correct limit-checks in derwin().
+ correct limit-checks in newwin(), to ensure that windows have nonzero
  size (report by Garrett Cooper).
+ fix a missing "weak" declaration for pthread_kill (patch by Nicholas
  Alcock).
+ improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
  by discussion with Kevin Martin).
2011-01-23 01:23:10 +00:00
Thomas E. Dickey
b040313679 ncurses 5.7 - patch 20110115
+ modify Ada95/configure script to make the --with-curses-dir option
  work without requiring the --with-ncurses option.
+ modify test programs to allow them to be built with NetBSD curses.
+ document thick- and double-line symbols in curs_add_wch.3x manpage.
+ document WACS_xxx constants in curs_add_wch.3x manpage.
+ fix some warnings for clang 2.6 "--analyze"
+ modify Ada95 makefiles to make html-documentation with the project
  file configuration if that is used.
+ update config.guess, config.sub
2011-01-16 01:24:20 +00:00
Thomas E. Dickey
3a935d9991 ncurses 5.7 - patch 20110108
+ regenerated html manpages.
+ minor fixes to enable lint when trace is not enabled, e.g., with
  clang --analyze.
+ fix typo in man/default_colors.3x (patch by Tim van der Molen).
+ update ncurses/llib-lncurses*
2011-01-09 01:17:12 +00:00
Thomas E. Dickey
b87ec59eb4 ncurses 5.7 - patch 20110101
+ fix remaining strict compiler warnings in ncurses library ABI=5,
  except those dealing with function pointers, etc.
2011-01-02 01:08:28 +00:00
Thomas E. Dickey
f79b52fddd ncurses 5.7 - patch 20101225
+ modify nc_tparm.h, adding guards against repeated inclusion, and
  allowing TPARM_ARG to be overridden.
+ fix some strict compiler warnings in ncurses library.
2010-12-26 01:22:11 +00:00
Thomas E. Dickey
aa4fd77b76 ncurses 5.7 - patch 20101211
+ suppress ncv in screen entry, allowing underline (patch by Alejandro
  R Sedeno).
+ also suppress ncv in konsole-base -TD
+ fixes in wins_nwstr() and related functions to ensure that special
  characters, i.e., control characters are handled properly with the
  wide-character configuration.
+ correct a comparison in wins_nwstr() (Redhat #661506).
+ correct help-messages in some of the test-programs, which still
  referred to quitting with 'q'.
2010-12-12 01:44:54 +00:00
Thomas E. Dickey
96d6b16de0 ncurses 5.7 - patch 20101204
+ add special case to _nc_infotocap() to recognize the setaf/setab
  strings from xterm+256color and xterm+88color, and provide a reduced
  version which works with termcap.
+ remove obsolete emacs "Local Variables" section from documentation
  (request by Sven Joachim).
+ update doc/html/index.html to include NCURSES-Programming-HOWTO.html
  (report by Sven Joachim).
2010-12-04 21:15:53 +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
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
36b653e854 ncurses 5.7 - patch 20100925
+ add "XT" capability to entries for terminals that support both
  xterm-style mouse- and title-controls, for "screen" which
  special-cases TERM beginning with "xterm" or "rxvt" -TD
> patch by Juergen Pfeifer:
+ use 64-Bit MinGW toolchain (recommended package from TDM, see
  README.MinGW).
+ support pthreads when using the TDM MinGW toolchain
2010-09-26 01:21:45 +00:00
Thomas E. Dickey
d4ff840fdd ncurses 5.7 - patch 20100828
+ modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD
+ add check in terminfo source-reader to provide more informative
  message when someone attempts to run tic on a compiled terminal
  description (prompted by Debian #593920).
+ note in infotocap and captoinfo manpages that they read terminal
  descriptions from text-files (Debian #593920).
+ improve acsc string for vt52, show arrow keys (patch by Benjamin
  Sittler).
2010-08-29 00:20:14 +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
71c0306f08 ncurses 5.7 - patch 20100731
+ modify initialization check for win32con driver to eliminate need for
  special case for TERM "unknown", using terminal database if available
  (prompted by discussion with Roumen Petrov).
+ for MinGW port, ensure that terminal driver is setup if tgetent()
  is called (patch by Roumen Petrov).
+ document tabs "-0" and "-8" options in manpage.
+ fix Debian "lintian" issues with manpages reported in
  http://lintian.debian.org/full/csmall@debian.org.html#ncurses
2010-08-01 00:45:28 +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
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
626c294438 ncurses 5.7 - patch 20100206
+ update mrxvt terminfo entry -TD
+ modify win_driver.c to support mouse single-clicks.
+ correct name for termlib in ncurses*-config, e.g., if it is renamed
  to provide a single file for ncurses/ncursesw libraries (patch by
  Miroslav Lichvar).
2010-02-07 01:40:29 +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
c6540b9c89 ncurses 5.7 - patch 20100123
+ for term-driver configuration, ensure that the driver pointer is
  initialized in setupterm so that terminfo/termcap programs work.
+ amend fix for Debian #542031 to ensure that wattrset() returns only
  OK or ERR, rather than the attribute value (report by Miroslav
  Lichvar).
+ reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
  _nc_screen_of() compatible between normal/wide libraries again (patch
  by Miroslav Lichvar)
+ review/fix include-dependencies in modules files (report by Miroslav
  Lichvar).
2010-01-24 01:42:57 +00:00
Thomas E. Dickey
c04d54322f ncurses 5.7 - patch 20100116
+ modify win_driver.c to initialize acs_map for win32 console, so
  that line-drawing works.
+ modify win_driver.c to initialize TERMINAL struct so that programs
  such as test/lrtest.c and test/ncurses.c which test string
  capabilities can run.
+ modify term-driver modules to eliminate forward-reference
  declarations.
2010-01-17 01:52:00 +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
40cf934fff ncurses 5.7 - patch 20100102
+ minor improvement to tic's checking of similar SGR's to allow for the
  most common case of SGR 0.
+ modify getmouse() to act as its documentation implied, returning on
  each call the preceding event until none are left.  When no more
  events remain, it will return ERR.
2010-01-03 02:07:10 +00:00
Thomas E. Dickey
99c50261a0 ncurses 5.7 - patch 20091219
+ remove old check in mvderwin() which prevented moving a derived
  window whose origin happened to coincide with its parent's origin
  (report by Katarina Machalkova).
+ improve test/ncurses.c to put mouse droppings in the proper window.
+ update minix terminfo entry -TD
+ add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
2009-12-20 02:23:49 +00:00
Thomas E. Dickey
3996fe0bf7 ncurses 5.7 - patch 20091212
+ correct transfer of multicolumn characters in multirow
  field_buffer(), which stopped at the end of the first row due to
  filling of unused entries in a cchar_t array with nulls.
+ updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
+ modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
  nulls.
+ use strdup() in set_menu_mark(), restore .marklen struct member on
  failure.
+ eliminate clause 3 from the UCB copyrights in read_termcap.c and
  tset.c per
	ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
  (patch by Nicholas Marriott).
+ replace a malloc in tic.c with strdup, checking for failure (patch by
  Nicholas Marriott).
+ update config.guess, config.sub from
	http://savannah.gnu.org/projects/config
2009-12-13 01:36:17 +00:00
Thomas E. Dickey
cb9a015f66 ncurses 5.7 - patch 20091205
+ correct layout of working window used to extract data in
  wide-character configured by set_field_buffer (patch by Rafael
  Garrido Fernandez)
+ improve some limit-checks related to filename length in reading and
  writing terminfo entries.
+ ensure that filename is always filled in when attempting to read
  a terminfo entry, so that infocmp can report the filename (patch
  by Nicholas Marriott).
2009-12-06 01:32:45 +00:00
Thomas E. Dickey
49e6baa949 ncurses 5.7 - patch 20091128
+ modify mk-1st.awk to allow tinfo library to be built when term-driver
  is enabled.
+ add error-check to configure script to ensure that sp-funcs is
  enabled if term-driver is, since some internal interfaces rely upon
  this.
2009-11-29 02:00:36 +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
f783dbd488 ncurses 5.7 - patch 20091114
+ updated man/curs_trace.3x
+ limit hashing for termcap-names to 2-characters (Ubuntu #481740).
+ change a variable name in lib_newwin.c to make it clearer which
  value is being freed on error (patch by Nicholas Marriott).
2009-11-15 02:00:17 +00:00
Thomas E. Dickey
f5da57ad7e ncurses 5.7 - patch 20091107
+ improve test/ncurses.c color-cycling test by reusing attribute-
  and color-cycling logic from the video-attributes screen.
+ add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
  library which help make it compatible with interop applications
  (patch by Juergen Pfeifer).
+ add configure option --enable-interop, for integrating changes
  for generic/interop support to form-library by Juergen Pfeifer
2009-11-08 00:45:43 +00:00
Thomas E. Dickey
fb24ca09ea ncurses 5.7 - patch 20091031
+ modify use of $CC environment variable which is defined by X/Open
  as a curses feature, to ignore it if it is not a single character
  (prompted by discussion with Benjamin C W Sittler).
+ add START_TRACE in slk_init
+ fix a regression in _nc_ripoffline which made test/ncurses.c not show
  soft-keys, broken in 20090927 merging.
+ change initialization of "hidden" flag for soft-keys from true to
  false, broken in 20090704 merging (Ubuntu #464274).
+ update nsterm entries (patch by Benjamin C W Sittler, prompted by
  discussion with Fabian Groffen in GenToo #206201).
+ add test/xterm-256color.dat
2009-11-01 01:07:09 +00:00
Thomas E. Dickey
3a0d9d27e0 ncurses 5.7 - patch 20091024
+ quiet some pedantic gcc warnings.
+ modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
  SIGWINCH, and discard that value, to avoid confusing application
  (patch by Eygene Ryabinkin, FreeBSD bin/136223).
2009-10-25 01:06:00 +00:00
Thomas E. Dickey
59108c98bd ncurses 5.7 - patch 20091010
+ supply a null-terminator to buffer in _nc_viswibuf().
+ fix a sign-extension bug in unget_wch() (report by Mike Gran).
+ minor fixes to error-returns in default function for tputs, as well
  as in lib_screen.c
2009-10-11 00:32:49 +00:00
Thomas E. Dickey
2a250f30ac ncurses 5.7 - patch 20091003
+ add WACS_xxx definitions to wide-character configuration for thick-
  and double-lines (discussion with Slava Zanko).
+ remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
+ add ccc and initc capabilities to xterm-16color -TD
> patch by Benjamin C W Sittler:
+ add linux-16color
+ correct initc capability of linux-c-nc end-of-range
+ similar change for dg+ccc and dgunix+ccc
2009-10-04 00:56:38 +00:00
Thomas E. Dickey
322d0bb554 ncurses 5.7 - patch 20090927
+ move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
  that module since 20090711 is in libtinfo.
+ add configure option --enable-term-driver, to allow compiling with
  terminal-driver.  That is used in mingw port, and (being somewhat
  more complicated) is an experimental alternative to the conventional
  termlib internals.  Currently, it requires the sp-funcs feature to
  be enabled.
+ completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
  library (some work remains for forms library).
2009-09-20 00:37:00 +00:00
Thomas E. Dickey
9e3a472c06 ncurses 5.7 - patch 20090919
+ document return code from define_key (report by Mike Gran).
+ make some symbolic links in the terminfo directory-tree shorter
  (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
+ fix some groff warnings in terminfo.5, etc., from recent Debian
  changes.
+ change ncv and op capabilities in sun-color terminfo entry to match
  Sun's entry for this (report by Laszlo Peter).
+ improve interix smso terminfo capability by using reverse rather than
  bold (report by Kristof Zelechovski).
2009-09-20 00:37:00 +00:00
Thomas E. Dickey
3511767aa7 ncurses 5.7 - patch 20090912
+ add some test programs (and make these use the same special keys
  by sharing linedata.h functions):
  test/test_addstr.c
  test/test_addwstr.c
  test/test_addchstr.c
  test/test_add_wchstr.c
+ correct internal _nc_insert_ch() to use _nc_insert_wch() when
  inserting wide characters, since the wins_wch() function that it used
  did not update the cursor position (report by Ciprian Craciun).
2009-09-13 01:17:05 +00:00
Thomas E. Dickey
ce7b402c14 ncurses 5.7 - patch 20090906
+ fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
  work.
+ add null-pointer checks to other opaque-functions.
+ add is_pad() and is_subwin() functions for opaque access to WINDOW
  (discussion with Mark Dickinson).
+ correct merge to lib_newterm.c, which broke when sp-funcs was
  enabled.
2009-09-06 18:03:59 +00:00
Thomas E. Dickey
8fc9fa113b ncurses 5.7 - patch 20090905
+ build-fix for building outside source-tree (report by Sven Joachim).
+ fix Debian lintian warning for man/tabs.1 by making section number
  agree with file-suffix (report by Sven Joachim).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-09-06 00:18:02 +00:00
Thomas E. Dickey
c8e187fc96 ncurses 5.7 - patch 20090829
+ workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
  amd64 (Debian #542031).
+ fix typo in curs_mouse.3x (Debian #429198).
2009-08-29 22:41:54 +00:00
Thomas E. Dickey
3f5a74a97c ncurses 5.7 - patch 20090822
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-08-23 01:14:12 +00:00
Thomas E. Dickey
bbb7fd3729 ncurses 5.7 - patch 20090815
+ correct use of terminfo capabilities for initializing soft-keys,
  broken in 20090509 merging.
+ modify wgetch() to ensure it checks SIGWINCH when it gets an error
  in non-blocking mode (patch by Clemens Ladisch).
+ use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
  help with builds on non-Unix platforms such as OS/2 EMX.
+ modify scripting for misc/run_tic.sh to test configure script's
  $cross_compiling variable directly rather than comparing host/build
  compiler names (prompted by comment in GenToo #249363).
+ fix configure script option --with-database, which was coded as an
  enable-type switch.
+ build-fixes for --srcdir (report by Frederic L W Meunier).
2009-08-16 00:18:43 +00:00