]> ncurses.scripts.mit.edu Git - ncurses.git/log
ncurses.git
10 years agoncurses 5.9 - patch 20131214
Thomas E. Dickey [Sun, 15 Dec 2013 02:33:31 +0000 (02:33 +0000)]
ncurses 5.9 - patch 20131214

+ modify configure-script/ifdef's to allow OLD_TTY feature to be
  suppressed if the type of ospeed is configured using the option
  --with-ospeed to not be a short.  By default, it is a short for
  termcap-compatibility (adapted from suggestion by Christian
  Weisgerber).
+ correct a typo in _nc_baudrate() (patch by Christian Weisgerber,
  cf: 20061230).
+ fix a few -Wlogical-op warnings.
+ updated llib-l* files.

10 years agoncurses 5.9 - patch 20131207
Thomas E. Dickey [Sun, 8 Dec 2013 01:49:22 +0000 (01:49 +0000)]
ncurses 5.9 - patch 20131207

+ add form_driver_w() entrypoint to wide-character forms library, as
  well as test program form_driver_w (adapted from patch by Gaute
  Hope).

10 years agoncurses 5.9 - patch 20131123
Thomas E. Dickey [Sun, 24 Nov 2013 00:40:08 +0000 (00:40 +0000)]
ncurses 5.9 - patch 20131123

+ minor fix for CF_GCC_WARNINGS to special-case options which are not
  recognized by clang.

10 years agoncurses 5.9 - patch 20131116
Thomas E. Dickey [Sun, 17 Nov 2013 00:20:49 +0000 (00:20 +0000)]
ncurses 5.9 - patch 20131116

+ add special case to configure script to move _XOPEN_SOURCE_EXTENDED
  definition from CPPFLAGS to CFLAGS if it happens to be needed for
  Solaris, because g++ errors with that definition (report by
  Jean-Pierre Flori, Sage #15268).
+ correct logic in infocmp's -i option which was intended to ignore
  strings which correspond to function-keys as candidates for piecing
  together initialization- or reset-strings.  The problem dates to
  1.9.7a, but was overlooked until changes in -Wlogical-op warnings for
  gcc 4.8 (report by David Binderman).
+ updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, adding
  checks for -Wextra, -Wignored-qualifiers and -Wlogical-op
+ updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, moving
  checks for -Wextra and -Wdeclaration-after-statement into the macro,
  and adding checks for -Wignored-qualifiers, -Wlogical-op and
  -Wvarargs
+ updated CF_CURSES_UNCTRL_H and CF_SHARED_OPTS macros from ongoing
  work on cdk.
+ update config.sub from
http://git.savannah.gnu.org/cgit/config.git

10 years agoncurses 5.9 - patch 20131110
Thomas E. Dickey [Mon, 11 Nov 2013 02:07:31 +0000 (02:07 +0000)]
ncurses 5.9 - patch 20131110

+ minor cleanup of terminfo.tail

10 years agoncurses 5.9 - patch 20131102
Thomas E. Dickey [Sat, 2 Nov 2013 22:03:16 +0000 (22:03 +0000)]
ncurses 5.9 - patch 20131102

+ use TS extension to describe xterm's title-escapes -TD
+ modify terminator and nsterm-s to use xterm+sl-twm building block -TD
+ update hurd.ti, add xenl to reflect 2011-03-06 change in
  http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/console/display.c
  (Debian #727119).
+ simplify pfkey expression in ansi.sys -TD

10 years agoncurses 5.9 - patch 20131027
Thomas E. Dickey [Mon, 28 Oct 2013 08:09:20 +0000 (08:09 +0000)]
ncurses 5.9 - patch 20131027

+ correct/simplify ifdef's for cur_term versus broken-linker and
  reentrant options (report by Jean-Pierre Flori, cf: 20090530).
+ modify release/version combinations in test build-scripts to make
  them more consistent with other packages.

10 years agoncurses 5.9 - patch 20131019
Thomas E. Dickey [Sun, 20 Oct 2013 01:21:20 +0000 (01:21 +0000)]
ncurses 5.9 - patch 20131019

+ add nc_mingw.h to installed headers for MinGW port; needed for
  compiling ncurses-examples.
+ add rpm-script for testing cross-compile of ncurses-examples.

10 years agoncurses 5.9 - patch 20131014
Thomas E. Dickey [Mon, 14 Oct 2013 22:13:49 +0000 (22:13 +0000)]
ncurses 5.9 - patch 20131014

+ fix new typo in CF_ADA_INCLUDE_DIRS macro (report by Roumen Petrov).

10 years agoncurses 5.9 - patch 20131012
Thomas E. Dickey [Sun, 13 Oct 2013 00:58:13 +0000 (00:58 +0000)]
ncurses 5.9 - patch 20131012

+ fix a few compiler warnings in progs and test.
+ minor fix to package/debian-mingw/rules, do not strip dll's.
+ minor fixes to configure script for empty $prefix, e.g., when doing
  cross-compiles to MinGW.
+ add script for building test-packages of binaries cross-compiled to
  MinGW using NSIS.

10 years agoncurses 5.9 - patch 20131005
Thomas E. Dickey [Sun, 6 Oct 2013 00:21:13 +0000 (00:21 +0000)]
ncurses 5.9 - patch 20131005

+ minor fixes for ncurses-example package and makefile.
+ add scripts for test-builds of cross-compiler packages for ncurses6
  to MinGW.

10 years agoncurses 5.9 - patch 20130928
Thomas E. Dickey [Sun, 29 Sep 2013 01:03:55 +0000 (01:03 +0000)]
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.

10 years agoncurses 5.9 - patch 20130921
Thomas E. Dickey [Sat, 21 Sep 2013 22:57:50 +0000 (22:57 +0000)]
ncurses 5.9 - patch 20130921

+ fix typo in curs_attr.3x (patch by Sven Joachim, cf: 20130831).
+ build-fix for --with-shared option for DragonFly and FreeBSD (report
  by Rong-En Fan, cf: 20130727).

10 years agoncurses 5.9 - patch 20130907
Thomas E. Dickey [Sun, 8 Sep 2013 00:00:20 +0000 (00:00 +0000)]
ncurses 5.9 - patch 20130907

+ build-fixes for MSYS for two test-programs (patches by Ray Donnelly,
  Alexey Pavlov).
+ revert change to two of the dpkg format files, to work with dpkg
  before/after Debian #700177.
+ fix gcc -Wconversion warning in wattr_get() macro.
+ add msys and msysdll to known host/configuration types (patch by
  Alexey Pavlov).
+ modify CF_RPATH_HACK configure macro to not rely upon "-u" option
  of sort, improving portability.
+ minor improvements for test-programs from reviewing Solaris port.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git

10 years agoncurses 5.9 - patch 20130831
Thomas E. Dickey [Sat, 31 Aug 2013 21:14:42 +0000 (21:14 +0000)]
ncurses 5.9 - patch 20130831

+ modify test/ncurses.c b/B tests to display lines only for the
  attributes which a given terminal supports, to make room for an
  italics test.
+ completed ncv table in terminfo.tail; it did not list the wide
  character codes listed in X/Open Curses issue 7.
+ add A_ITALIC extension (prompted by discussion with Egmont Koblinger).

10 years agoncurses 5.9 - patch 20130824
Thomas E. Dickey [Sun, 25 Aug 2013 00:03:40 +0000 (00:03 +0000)]
ncurses 5.9 - patch 20130824

+ fix some gcc 4.8 -Wconversion warnings.
+ change format of dpkg test-scripts to quilted to work around bug
  introduced by Debian #700177.
+ discard cached keyname() values if meta() is changed after a value
  was cached using (report by Kurban Mallachiev).

10 years agoncurses 5.9 - patch 20130816
Thomas E. Dickey [Sun, 18 Aug 2013 00:20:29 +0000 (00:20 +0000)]
ncurses 5.9 - patch 20130816

+ add checks in tic to warn about terminals which lack cursor
  addressing, capabilities or having those, are marked as hard_copy or
  generic_type.
+ use --without-progs in mingw-ncurses rpm.
+ split out _nc_init_termtype() from alloc_entry.c to use in MinGW
  port when tic and other programs are not needed.

10 years agoncurses 5.9 - patch 20130805
Thomas E. Dickey [Mon, 5 Aug 2013 09:18:54 +0000 (09:18 +0000)]
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.

10 years agoncurses 5.9 - patch 20130727
Thomas E. Dickey [Sun, 28 Jul 2013 00:32:27 +0000 (00:32 +0000)]
ncurses 5.9 - patch 20130727

+ improve configure macros from ongoing work on cdk, dialog, xterm:
  + CF_ADD_LIB_AFTER - fix a problem with -Wl options
  + CF_RPATH_HACK - add missing result-message
  + CF_SHARED_OPTS - modify to use $rel_builddir in cygwin and mingw
    dll symbols (which can be overridden) rather than explicit "../".
  + CF_SHARED_OPTS - modify NetBSD and DragonFly symbols to use ${CC}
    rather than ${LD} to improve rpath support.
  + CF_SHARED_OPTS - add a symbol to denote the temporary files that
    are created by the macro, to simplify clean-rules.
  + CF_X_ATHENA - trim extra libraries to work with -Wl,--as-needed
+ fix a regression in hashed-database support for NetBSD, which uses
  the key-size differently from other implementations (cf: 20121229).

10 years agoncurses 5.9 - patch 20130720
Thomas E. Dickey [Sat, 20 Jul 2013 20:58:29 +0000 (20:58 +0000)]
ncurses 5.9 - patch 20130720

+ further improvements for setupterm manpage, clarifying the
  initialization of cur_term.

10 years agoncurses 5.9 - patch 20130713
Thomas E. Dickey [Sun, 14 Jul 2013 01:08:41 +0000 (01:08 +0000)]
ncurses 5.9 - patch 20130713

+ improve manpages for initscr and setupterm.
+ minor compiler-warning fixes

10 years agoncurses 5.9 - patch 20130706
Thomas E. Dickey [Sat, 6 Jul 2013 22:59:22 +0000 (22:59 +0000)]
ncurses 5.9 - patch 20130706

+ add fallback defs for <inttypes.h> and <stdint.h> (cf: 20120225).
+ add check for size of wchar_t, use that to suppress a chunk of
  wcwidth.h in MinGW port.
+ quiet linker warnings for MinGW cross-compile with dll's using the
  --enable-auto-import flag.
+ add ncurses.map rule to ncurses/Makefile to help diagnose symbol
  table issues.

10 years agoncurses 5.9 - patch 20130622
Thomas E. Dickey [Sat, 22 Jun 2013 23:39:25 +0000 (23:39 +0000)]
ncurses 5.9 - patch 20130622

+ modify the clear program to take into account the E3 extended
  capability to clear the terminal's scrollback buffer (patch by
  Miroslav Lichvar, Redhat #815790).
+ clarify in resizeterm manpage that LINES and COLS are updated.
+ updated ansi example in terminfo.tail, correct misordered example
  of sgr.
+ fix other doclifter warnings for manpages
+ remove unnecessary ".ta" in terminfo.tail, add missing ".fi"
  (patch by Eric Raymond).

10 years agoncurses 5.9 - patch 20130615
Thomas E. Dickey [Sat, 15 Jun 2013 22:39:16 +0000 (22:39 +0000)]
ncurses 5.9 - patch 20130615

+ minor changes to some configure macros to make them more reusable.
+ fixes for tabs program (prompted by report by Nick Andrik):
  + corrected logic in command-line parsing of -a and -c predefined
    tab-lists options.
  + allow "-0" and "-8" options to be combined with others, e.g.,"-0d".
  + make warning messages more consistent with the other utilities by
    not printing the full pathname of the program.
  + add -V option for consistency with other utilities.
+ fix off-by-one in columns for tabs program when processing an option
  such as "-5" (patch by Nick Andrik).

10 years agoncurses 5.9 - patch 20130608
Thomas E. Dickey [Sun, 9 Jun 2013 01:17:29 +0000 (01:17 +0000)]
ncurses 5.9 - patch 20130608

+ add to test/demo_forms.c examples of using the menu-hooks as well
  as showing how the menu item user-data can be used to pass a callback
  function pointer.
+ add test/dots_termcap.c
+ remove setupterm call from test/demo_termcap.c
+ build-fix if --disable-ext-funcs configure option is used.
+ modified test/edit_field.c and test/demo_forms.c to move the lengths
  into a user-data structure, keeping the original string for later
  expansion to free-format input/out demo.
+ modified test/demo_forms.c to load data from file.
+ added note to clarify Terminal.app's non-emulation of the various
  terminal types listed in the preferences dialog -TD
+ fix regression in error-reporting in lib_setup.c (Debian #711134,
  cf: 20121117).
+ build-fix for a case where --enable-broken_linker and
  --enable-reentrant options are combined (report by George R Goffe).

10 years agoncurses 5.9 - patch 20130525
Thomas E. Dickey [Sun, 26 May 2013 00:59:52 +0000 (00:59 +0000)]
ncurses 5.9 - patch 20130525

+ modify mvcur() to distinguish between internal use by the ncurses
  library, and external callers, preventing it from reading the content
  of the screen which is only nonblank when curses calls have updated
  it.  This makes test/dots_mvcur.c avoid painting colored cells in
  the left margin of the display.
+ minor fix to test/dots_mvcur.c
+ move configured symbols USE_DATABASE and USE_TERMCAP to term.h as
  NCURSES_USE_DATABASE and NCURSES_USE_TERMCAP to allow consistent
  use of these symbols in term_entry.h

10 years agoncurses 5.9 - patch 20130518
Thomas E. Dickey [Sun, 19 May 2013 00:22:02 +0000 (00:22 +0000)]
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.

10 years agoncurses 5.9 - patch 20130511
Thomas E. Dickey [Sat, 11 May 2013 21:33:59 +0000 (21:33 +0000)]
ncurses 5.9 - patch 20130511

+ move nsterm-related entries out of "obsolete" section to more
  plausible "ansi consoles" -TD
+ additional cleanup of table-of-contents by reordering -TD
+ revise fix for check for 8-bit value in _nc_insert_ch(); prior fix
  prevented inserts when video attributes were attached to the data
  (cf: 20121215) (Redhat #959534).

10 years agoncurses 5.9 - patch 20130504
Thomas E. Dickey [Sat, 4 May 2013 23:59:52 +0000 (23:59 +0000)]
ncurses 5.9 - patch 20130504

+ fixes for issues found by Coverity:
  + correct FNKEY() macro in progs/dump_entry.c, allowing kf11-kf63 to
    display when infocmp's -R option is used for HP or AIX subsets.
  + fix dead-code issue with test/movewindow.c
  + improve limited-checking in _nc_read_termtype().

10 years agoncurses 5.9 - patch 20130427
Thomas E. Dickey [Sat, 27 Apr 2013 23:24:20 +0000 (23:24 +0000)]
ncurses 5.9 - patch 20130427

+ fix clang 3.2 warning in progs/dump_entry.c
+ drop AC_TYPE_SIGNAL check; ncurses relies on c89 and later.

11 years agoncurses 5.9 - patch 20130413
Thomas E. Dickey [Sun, 14 Apr 2013 00:01:10 +0000 (00:01 +0000)]
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).

11 years agoncurses 5.9 - patch 20130406
Thomas E. Dickey [Sun, 7 Apr 2013 01:11:39 +0000 (01:11 +0000)]
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.

11 years agoncurses 5.9 - patch 20130324
Thomas E. Dickey [Mon, 25 Mar 2013 00:03:56 +0000 (00:03 +0000)]
ncurses 5.9 - patch 20130324

+ build-fix for libtool configuration (reports by Daniel Silva Ferreira
  and Roumen Petrov).

11 years agoncurses 5.9 - patch 20130323
Thomas E. Dickey [Sun, 24 Mar 2013 01:05:56 +0000 (01:05 +0000)]
ncurses 5.9 - patch 20130323

+ build-fix for OS X, to handle changes for --with-cxx-shared feature
  (report by Christian Ebert).
+ change initialization for vt220, similar entries for consistency
  with cursor-key strings (NetBSD #47674) -TD
+ further improvements to linux-16color (Benjamin Sittler)

11 years agoncurses 5.9 - patch 20130316
Thomas E. Dickey [Sun, 17 Mar 2013 01:23:04 +0000 (01:23 +0000)]
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).

11 years agoncurses 5.9 - patch 20130309
Thomas E. Dickey [Sun, 10 Mar 2013 00:35:23 +0000 (00:35 +0000)]
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).

11 years agoncurses 5.9 - patch 20130302
Thomas E. Dickey [Sun, 3 Mar 2013 01:02:00 +0000 (01:02 +0000)]
ncurses 5.9 - patch 20130302

+ add section to terminfo manpage discussing user-defined capabilities.
+ update manpage description of NCURSES_NO_SETBUF, explaining why it
  is obsolete.
+ add a check in waddch_nosync() to ensure that tab characters are
  treated as control characters; some broken locales claim they are
  printable.
+ add some traces to the Windows console driver.
+ initialize a temporary array in _nc_mbtowc, needed for some cases
  of raw input in MinGW port.

11 years agoncurses 5.9 - patch 20130218
Thomas E. Dickey [Mon, 18 Feb 2013 11:49:35 +0000 (11:49 +0000)]
ncurses 5.9 - patch 20130218

+ correct ifdef on change to lib_twait.c (report by  Werner Fink).
+ update config.guess, config.sub

11 years agoncurses 5.9 - patch 20130216
Thomas E. Dickey [Sun, 17 Feb 2013 00:03:45 +0000 (00:03 +0000)]
ncurses 5.9 - patch 20130216

+ modify test/testcurs.c to work with mouse for ncurses as it does for
  pdcurses.
+ modify test/knight.c to work with mouse for pdcurses as it does for
  ncurses.
+ modify internal recursion in wgetch() which handles cooked mode to
  check if the call to wgetnstr() returned an error.  This can happen
  when both nocbreak() and nodelay() are set, for instance (report by
  Nils Christopher Brause) (cf: 960418).
+ fixes for issues found by Coverity:
  + add a check for valid position in ClearToEOS()
  + fix in lib_twait.c when --enable-wgetch-events is used, pointer
    use after free.
  + improve a limit-check in make_hash.c
  + fix a memory leak in hashed_db.c

11 years agoncurses 5.9 - patch 20130209
Thomas E. Dickey [Sun, 10 Feb 2013 02:14:53 +0000 (02:14 +0000)]
ncurses 5.9 - patch 20130209

+ modify test/configure script to make it simpler to override names
  of curses-related libraries, to help with linking with pdcurses in
  mingw environment.
+ if the --with-terminfo-dirs configure option is not used, there is
  no corresponding compiled-in value for that.  Fill in "no default
  value" for that part of the manpage substitution.

11 years agoncurses 5.9 - patch 20130202
Thomas E. Dickey [Sun, 3 Feb 2013 01:25:51 +0000 (01:25 +0000)]
ncurses 5.9 - patch 20130202

+ correct initialization in knight.c which let it occasionally make
  an incorrect move (cf: 20001028).
+ improve documentation of the terminfo/termcap search path.

11 years agoncurses 5.9 - patch 20130126
Thomas E. Dickey [Sun, 27 Jan 2013 02:16:18 +0000 (02:16 +0000)]
ncurses 5.9 - patch 20130126

+ further fixes to mvcur to pass callback function (cf: 20130112),
  needed to make test/dots_mvcur work.
+ reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
  help reduce flicker.
+ modify configure script to omit "+b" from linker options for very
  old HP-UX systems (report by Dennis Grevenstein)
+ add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
  by Dennis Grevenstein).
+ restore memmove/strdup support for antique systems (request by
  Dennis Grevenstein).
+ change %l behavior in tparm to push the string length onto the stack
  rather than saving the formatted length into the output buffer
  (report by Roy Marples, cf: 980620).

11 years agoncurses 5.9 - patch 20130119
Thomas E. Dickey [Sun, 20 Jan 2013 01:59:01 +0000 (01:59 +0000)]
ncurses 5.9 - patch 20130119

+ fixes for issues found by Coverity:
  + fix memory leak in safe_sprintf.c
  + add check for return-value in tty_update.c
  + correct initialization for -s option in test/view.c
  + add check for numeric overflow in lib_instr.c
  + improve error-checking in copywin
+ add advice in infocmp manpage for termcap users (Debian #698469).
+ add "-y" option to test/demo_termcap and test/demo_terminfo to
  demonstrate behavior with/without extended capabilities.
+ updated termcap manpage to document legacy termcap behavior for
  matching capability names.
+ modify name-comparison for tgetstr, etc., to accommodate legacy
  applications as well as to improve compatbility with BSD 4.2
  termcap implementations (Debian #698299) (cf: 980725).

11 years agoncurses 5.9 - patch 20130112
Thomas E. Dickey [Sun, 13 Jan 2013 02:00:14 +0000 (02:00 +0000)]
ncurses 5.9 - patch 20130112

+ correct prototype in manpage for vid_puts.
+ drop ncurses/tty/tty_display.h, ncurses/tty/tty_input.h, since they
  are unused in the current driver model.
+ modify mvcur to use stdout except when called within the ncurses
  library.
+ modify vidattr and vid_attr to use stdout as documented in manpage.
+ amend changes made to buffering in 20120825 so that the low-level
  putp() call uses stdout rather than ncurses' internal buffering.
  The putp_sp() call does the same, for consistency (Redhat #892674).

11 years agoncurses 5.9 - patch 20130105
Thomas E. Dickey [Sun, 6 Jan 2013 01:29:15 +0000 (01:29 +0000)]
ncurses 5.9 - patch 20130105

+ add "-s" option to test/view.c to allow it to start in single-step
  mode, reducing size of trace files when it is used for debugging
  MinGW changes.
+ revert part of 20121222 change to tinfo_driver.c
+ add experimental logic in win_driver.c to improve optimization of
  screen updates.  This does not yet work with double-width characters,
  so it is ifdef'd out for the moment (prompted by report by Erwin
  Waterlander regarding screen flicker).

11 years agoncurses 5.9 - patch 20121229
Thomas E. Dickey [Sun, 30 Dec 2012 01:55:33 +0000 (01:55 +0000)]
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.

11 years agoncurses 5.9 - patch 20121222
Thomas E. Dickey [Sun, 23 Dec 2012 02:10:42 +0000 (02:10 +0000)]
ncurses 5.9 - patch 20121222

+ add *.dSYM directories to clean-rule in ncurses directory makefile,
  for Mac OS builds.
+ add a configure check for gcc option -no-cpp-precomp, which is not
  available in all Mac OS X configurations (report by Andras Salamon,
  cf: 20011208).
+ improve 20021221 workaround for broken acs, handling a case where
  that ACS_xxx character is not in the acsc string but there is a known
  wide-character which can be used.

11 years agoncurses 5.9 - patch 20121215
Thomas E. Dickey [Sun, 16 Dec 2012 01:26:24 +0000 (01:26 +0000)]
ncurses 5.9 - patch 20121215

+ fix several warnings from clang 3.1 --analyze, includes correcting
  a null-pointer check in _nc_mvcur_resume.
+ correct display of double-width characters with MinGW port (report
  by Erwin Waterlander).
+ replace MinGW's wcrtomb(), fixing a problem with _nc_viscbuf
> fixes based on Coverity report:
+ correct coloring in test/bs.c
+ correct check for 8-bit value in _nc_insert_ch().
+ remove dead code in progs/tset.c, test/linedata.h
+ add null-pointer checks in lib_tracemse.c, panel.priv.h, and some
  test-programs.

11 years agoncurses 5.9 - patch 20121208
Thomas E. Dickey [Sun, 9 Dec 2012 01:53:49 +0000 (01:53 +0000)]
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.

11 years agoncurses 5.9 - patch 20121201
Thomas E. Dickey [Sun, 2 Dec 2012 02:34:01 +0000 (02:34 +0000)]
ncurses 5.9 - patch 20121201

+ also replace MinGW's wctomb(), fixing a problem with setcchar().
+ modify test/view.c to load UTF-8 when built with MinGW by using
  regular win32 API because the MinGW functions mblen() and mbtowc()
  do not work.

11 years agoncurses 5.9 - patch 20121124
Thomas E. Dickey [Sun, 25 Nov 2012 02:13:01 +0000 (02:13 +0000)]
ncurses 5.9 - patch 20121124

+ correct order of color initialization versus display in some of the
  test-programs, e.g., test_addstr.c
> fixes based on Coverity report:
+ delete windows on exit from some of the test-programs.

11 years agoncurses 5.9 - patch 20121117
Thomas E. Dickey [Sun, 18 Nov 2012 02:58:41 +0000 (02:58 +0000)]
ncurses 5.9 - patch 20121117

> fixes based on Coverity report:
+ add missing braces around FreeAndNull in two places.
+ various fixes in test/ncurses.c
+ improve limit-checks in tinfo/make_hash.c, tinfo/read_entry.c
+ correct malloc size in progs/infocmp.c
+ guard against negative array indices in test/knight.c
+ fix off-by-one limit check in test/color_name.h
+ add null-pointer check in progs/tabs.c, test/bs.c, test/demo_forms.c,
  test/inchs.c
+ fix memory-leak in tinfo/lib_setup.c, progs/toe.c,
  test/clip_printw.c, test/demo_menus.c
+ delete unused windows in test/chgat.c, test/clip_printw.c,
  test/insdelln.c, test/newdemo.c on error-return.

11 years agoncurses 5.9 - patch 20121110
Thomas E. Dickey [Sun, 11 Nov 2012 01:22:06 +0000 (01:22 +0000)]
ncurses 5.9 - patch 20121110

+ modify configure macro CF_INCLUDE_DIRS to put $CPPFLAGS after the
  local -I include options in case someone has set conflicting -I
  options in $CPPFLAGS (prompted by patch for ncurses/Makefile.in by
  Vassili Courzakis).
+ modify the ncurses*-config scripts to eliminate relative paths from
  the RPATH_LIST variable, e.g., "../lib" as used in installing shared
  libraries or executables.

11 years agoncurses 5.9 - patch 20121102
Thomas E. Dickey [Sat, 3 Nov 2012 23:59:23 +0000 (23:59 +0000)]
ncurses 5.9 - patch 20121102

+ realign these related pages:
    curs_add_wchstr.3x
    curs_addchstr.3x
    curs_addstr.3x
    curs_addwstr.3x
  and fix a long-ago error in curs_addstr.3x which said that a -1
  length parameter would only write as much as fit onto one line
  (report by Reuben Thomas).
+ remove obsolete fallback _nc_memmove() for memmove()/bcopy().
+ remove obsolete fallback _nc_strdup() for strdup().
+ cancel any debug-rpm in package/ncurses.spec
+ reviewed vte-2012, reverted most of the change since it was incorrect
  based on testing with tack -TD
+ un-cancel the initc in vte-256color, since this was implemented
  starting with version 0.20 in 2009 -TD

11 years agoncurses 5.9 - patch 20121026
Thomas E. Dickey [Sat, 27 Oct 2012 23:06:26 +0000 (23:06 +0000)]
ncurses 5.9 - patch 20121026

+ improve malloc/realloc checking (prompted by discussion in Redhat
  #866989).
+ add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
+ updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST.  The
  first corrects pattern used for Mac OS X's customization of gcc.

11 years agoncurses 5.9 - patch 20121017
Thomas E. Dickey [Wed, 17 Oct 2012 09:57:52 +0000 (09:57 +0000)]
ncurses 5.9 - patch 20121017

+ fix change to _nc_scroll_optimize(), which incorrectly freed memory
  (Redhat #866989).

11 years agoncurses 5.9 - patch 20121013
Thomas E. Dickey [Sat, 13 Oct 2012 23:32:37 +0000 (23:32 +0000)]
ncurses 5.9 - patch 20121013

+ add vte-2012, gnome-2012, making these the defaults for vte/gnome
  (patch by Christian Persch).

11 years agoncurses 5.9 - patch 20121006
Thomas E. Dickey [Sun, 7 Oct 2012 01:23:59 +0000 (01:23 +0000)]
ncurses 5.9 - patch 20121006

+ improve CF_GCC_VERSION to work around Debian's customization of gcc
  --version message.
+ improve configure macros as done in byacc:
  + drop 2.13 compatibility; use 2.52.xxxx version only since EMX port
    has used that for a while.
  + add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e.,
    for experimental use.
  + remove unused configure macros.
+ modify configure script and makefiles to quiet new autoconf warning
  for LIBS_TO_MAKE variable.
+ modify configure script to show $PATH_SEPARATOR variable.
+ update config.guess, config.sub

11 years agoncurses 5.9 - patch 20120922
Thomas E. Dickey [Sat, 22 Sep 2012 23:21:49 +0000 (23:21 +0000)]
ncurses 5.9 - patch 20120922

+ modify setupterm to set its copy of TERM to "unknown" if configured
  for the terminal driver and TERM was null or empty.
+ modify treatment of TERM variable for MinGW port to allow explicit
  use of the windows console driver by checking if $TERM is set to
  "#win32con" or an abbreviation of that.
+ undo recent change to fallback definition of vsscanf() to build with
  older Solaris compilers (cf: 20120728).
  to help with MinGW port.
+ modifications for MinGW port to make wide-character display usable.

11 years agoncurses 5.9 - patch 20120908
Thomas E. Dickey [Sun, 9 Sep 2012 00:20:10 +0000 (00:20 +0000)]
ncurses 5.9 - patch 20120908

+ add test-screens to test/ncurses to show 256-characters at a time,
  to help with mingw port.

11 years agoncurses 5.9 - patch 20120903
Thomas E. Dickey [Mon, 3 Sep 2012 22:21:48 +0000 (22:21 +0000)]
ncurses 5.9 - patch 20120903

+ simplify varargs logic in lib_printw.c; va_copy is no longer needed
  there.
+ modifications for mingw port to make wide-character display usable.

11 years agoncurses 5.9 - patch 20120902
Thomas E. Dickey [Mon, 3 Sep 2012 00:51:11 +0000 (00:51 +0000)]
ncurses 5.9 - patch 20120902

+ regenerate configure script (report by Sven Joachim, cf: 20120901).

11 years agoncurses 5.9 - patch 20120901
Thomas E. Dickey [Sun, 2 Sep 2012 01:02:56 +0000 (01:02 +0000)]
ncurses 5.9 - patch 20120901

+ add a null-pointer check in _nc_flush (cf: 20120825).
+ fix a case in _nc_scroll_optimize() where the _oldnums_list array
  might not be allocated.
+ improve comparisons in configure.in for unset shell variables.

11 years agoncurses 5.9 - patch 20120826
Thomas E. Dickey [Mon, 27 Aug 2012 01:13:03 +0000 (01:13 +0000)]
ncurses 5.9 - patch 20120826

+ increase size of ncurses' output-buffer, in case of very small
  initial screen-sizes.
+ fix evaluation of TERMINFO and TERMINFO_DIRS default values as needed
  after changes to use --datarootdir (reports by Gabriele Balducci,
  Roumen Petrov).

11 years agoncurses 5.9 - patch 20120825
Thomas E. Dickey [Sat, 25 Aug 2012 23:18:18 +0000 (23:18 +0000)]
ncurses 5.9 - patch 20120825

+ change output buffering scheme, using buffer maintained by ncurses
  rather than stdio, to avoid problems with SIGTSTP handling (report
  by Brian Bloniarz).

11 years agoncurses 5.9 - patch 20120811
Thomas E. Dickey [Sun, 12 Aug 2012 01:10:31 +0000 (01:10 +0000)]
ncurses 5.9 - patch 20120811

+ update autoconf patch to 2.52.20120811, adding --datarootdir
  (prompted by discussion with Erwin Waterlander).
+ improve description of --enable-reentrant option in README and the
  INSTALL file.
+ add nsterm-256color, make this the default nsterm -TD
+ remove bw from nsterm-bce, per testing with tack -TD

11 years agoncurses 5.9 - patch 20120804
Thomas E. Dickey [Sat, 4 Aug 2012 23:37:25 +0000 (23:37 +0000)]
ncurses 5.9 - patch 20120804

+ update test/configure, adding check for tinfo library.
+ improve limit-checks for the getch fifo (report by Werner Fink).
+ fix a remaining mismatch between $with_echo and the symbols updated
  by CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by
  Sven Joachim, cf:  20120317).
+ modify followup check for pkg-config's library directory in the
  --enable-pc-files option to validate syntax (report by Sven Joachim,
  cf: 20110716).

11 years agoncurses 5.9 - patch 20120728
Thomas E. Dickey [Sun, 29 Jul 2012 00:02:59 +0000 (00:02 +0000)]
ncurses 5.9 - patch 20120728

+ correct path for ncurses_mingw.h in include/headers, in case build
  is done outside source-tree (patch by Roumen Petrov).
+ modify some older xterm entries to align with xterm source -TD
+ separate "xterm-old" alias from "xterm-r6" -TD
+ add E3 extended capability to xterm-basic and putty -TD
+ parenthesize parameters of other macros in curses.h -TD
+ parenthesize parameter of COLOR_PAIR and PAIR_NUMBER in curses.h
  in case it happens to be a comma-expression, etc.  (patch by Nick
  Black).

11 years agoncurses 5.9 - patch 20120721
Thomas E. Dickey [Sun, 22 Jul 2012 00:50:03 +0000 (00:50 +0000)]
ncurses 5.9 - patch 20120721

+ improved form_request_by_name() and menu_request_by_name().
+ eliminate two fixed-size buffers in toe.c
+ extend use_tioctl() to have expected behavior when use_env(FALSE) and
  use_tioctl(TRUE) are called.
+ modify ncurses test-program, adding -E and -T options to demonstrate
  use_env() versus use_tioctl().

11 years agoncurses 5.9 - patch 20120714
Thomas E. Dickey [Sun, 15 Jul 2012 00:40:37 +0000 (00:40 +0000)]
ncurses 5.9 - patch 20120714

+ add use_tioctl() function (adapted from patch by Werner Fink,
  Novell #769788):

11 years agoncurses 5.9 - patch 20120707
Thomas E. Dickey [Sat, 7 Jul 2012 23:45:45 +0000 (23:45 +0000)]
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).

11 years agoncurses 5.9 - patch 20120630
Thomas E. Dickey [Sat, 30 Jun 2012 23:07:18 +0000 (23:07 +0000)]
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).

11 years agoncurses 5.9 - patch 20120622
Thomas E. Dickey [Sat, 23 Jun 2012 00:36:11 +0000 (00:36 +0000)]
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).

11 years agoncurses 5.9 - patch 20120616
Thomas E. Dickey [Sat, 16 Jun 2012 23:57:20 +0000 (23:57 +0000)]
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).

11 years agoncurses 5.9 - patch 20120608
Thomas E. Dickey [Sat, 9 Jun 2012 00:43:33 +0000 (00:43 +0000)]
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.

11 years agoncurses 5.9 - patch 20120602
Thomas E. Dickey [Sun, 3 Jun 2012 00:52:00 +0000 (00:52 +0000)]
ncurses 5.9 - patch 20120602

+ add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD
+ add kdch1, etc., to qvt108 -TD
+ add dl1/il1 to some entries based on dl/il values -TD
+ add dl to simpleterm -TD
+ add consistency-checks in tic for insert-line vs delete-line
  controls, and insert/delete-char keys
+ correct no-leaks logic in infocmp when doing comparisons, fixing
  duplicate free of entries given via the command-line, and freeing
  entries loaded from the last-but-one of files specified on the
  command-line.
+ add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord,
  analysis by Martin Husemann).
+ add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by
  Onno van der Linden).

11 years agoncurses 5.9 - patch 20120526
Thomas E. Dickey [Sat, 26 May 2012 23:58:56 +0000 (23:58 +0000)]
ncurses 5.9 - patch 20120526

+ extend -c and -n options of infocmp to allow comparing more than two
  entries.
+ correct check in infocmp for number of terminal names when more than
  two are given.
+ correct typo in curs_threads.3x (report by Yanhui Shen on
  freebsd-hackers mailing list).

11 years agoncurses 5.9 - patch 20120512
Thomas E. Dickey [Sat, 12 May 2012 23:45:23 +0000 (23:45 +0000)]
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

11 years agoncurses 5.9 - patch 20120505
Thomas E. Dickey [Sat, 5 May 2012 23:38:59 +0000 (23:38 +0000)]
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.

11 years agoncurses 5.9 - patch 20120428
Thomas E. Dickey [Sun, 29 Apr 2012 00:54:13 +0000 (00:54 +0000)]
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.

11 years agoncurses 5.9 - patch 20120421
Thomas E. Dickey [Sat, 21 Apr 2012 21:46:50 +0000 (21:46 +0000)]
ncurses 5.9 - patch 20120421

+ improve cleanup of temporary files in tic using atexit().
+ add msgr to vt420, similar DEC vtXXX entries -TD
+ add several missing vt420 capabilities from vt220 -TD
+ factor out ansi+pp from several entries -TD
+ change xterm+sl and xterm+sl-twm to include only the status-line
  capabilities and not "use=xterm", making them more generally useful
  as building-blocks -TD
+ add dec+sl building block, as example -TD
+ add XT to some terminfo entries to improve usefulness for other
  applications than screen, which would like to pretend that xterm's
  title is a status-line.  -TD
+ change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review
  of ordering and overrides -TD

12 years agoncurses 5.9 - patch 20120414
Thomas E. Dickey [Sat, 14 Apr 2012 23:45:59 +0000 (23:45 +0000)]
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

12 years agoncurses 5.9 - patch 20120407
Thomas E. Dickey [Sun, 8 Apr 2012 00:45:28 +0000 (00:45 +0000)]
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).

12 years agoncurses 5.9 - patch 20120331
Thomas E. Dickey [Sun, 1 Apr 2012 00:16:56 +0000 (00:16 +0000)]
ncurses 5.9 - patch 20120331

+ update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317).
+ correct order of use-clauses in st-256color -TD
+ modify configure script to look for gnatgcc if the Ada95 binding
  is built, in preference to the default gcc/cc (suggested by
  Nicolas Boulenguez).
+ modify configure script to ensure that the same -On option used for
  the C compiler in CFLAGS is used for ADAFLAGS rather than simply
  using -O3 (suggested by Nicolas Boulenguez)

12 years agoncurses 5.9 - patch 20120324
Thomas E. Dickey [Sat, 24 Mar 2012 23:37:46 +0000 (23:37 +0000)]
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).

12 years agoncurses 5.9 - patch 20120317
Thomas E. Dickey [Sun, 18 Mar 2012 00:14:18 +0000 (00:14 +0000)]
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.

12 years agoncurses 5.9 - patch 20120310
Thomas E. Dickey [Sun, 11 Mar 2012 01:59:25 +0000 (01:59 +0000)]
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):

12 years agoncurses 5.9 - patch 20120303
Thomas E. Dickey [Sun, 4 Mar 2012 00:07:09 +0000 (00:07 +0000)]
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

12 years agoncurses 5.9 - patch 20120228
Thomas E. Dickey [Wed, 29 Feb 2012 01:38:26 +0000 (01:38 +0000)]
ncurses 5.9 - patch 20120228

+ fix breakage in tic/infocmp from 20120225 (report by Werner Fink).

12 years agoncurses 5.9 - patch 20120225
Thomas E. Dickey [Sun, 26 Feb 2012 01:59:00 +0000 (01:59 +0000)]
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

12 years agoncurses 5.9 - patch 20120218
Thomas E. Dickey [Sun, 19 Feb 2012 02:09:31 +0000 (02:09 +0000)]
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).

12 years agoncurses 5.9 - patch 20120211
Thomas E. Dickey [Sun, 12 Feb 2012 01:33:57 +0000 (01:33 +0000)]
ncurses 5.9 - patch 20120211

+ make sgr for xterm-pcolor agree with other caps -TD
+ make sgr for att5425 agree with other caps -TD
+ make sgr for att630 agree with other caps -TD
+ make sgr for linux entries agree with other caps -TD
+ make sgr for tvi9065 agree with other caps -TD
+ make sgr for ncr260vt200an agree with other caps -TD
+ make sgr for ncr160vt100pp agree with other caps -TD
+ make sgr for ncr260vt300an agree with other caps -TD
+ make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD
+ make sgr for cygwin, cygwinDBG agree with other caps -TD
+ add configure option --with-xterm-kbs to simplify configuration for
  Linux versus most other systems.

12 years agoncurses 5.9 - patch 20120204
Thomas E. Dickey [Sun, 5 Feb 2012 01:59:13 +0000 (01:59 +0000)]
ncurses 5.9 - patch 20120204

+ improved tic -D option, avoid making target directory and provide
  better diagnostics.

12 years agoncurses 5.9 - patch 20120128
Thomas E. Dickey [Sun, 29 Jan 2012 02:06:41 +0000 (02:06 +0000)]
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).

12 years agoncurses 5.9 - patch 20120121
Thomas E. Dickey [Sun, 22 Jan 2012 01:23:31 +0000 (01:23 +0000)]
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).

12 years agoncurses 5.9 - patch 20120114
Thomas E. Dickey [Sun, 15 Jan 2012 00:46:23 +0000 (00:46 +0000)]
ncurses 5.9 - patch 20120114

+ several improvements to test/movewindow.c (prompted by discussion on
  Linux Mint forum):
  + modify movement commands to make them continuous
  + rewrote the test for mvderwin
  + rewrote the test for recursive mvwin
+ split-out reusable CF_WITH_NCURSES_ETC macro in test/configure.in
+ updated configure macro CF_XOPEN_SOURCE, build-fixes for Mac OS X
  and OpenBSD.
+ regenerated html manpages.
+ various improvments for MinGW (Juergen Pfeifer):

12 years agoncurses 5.9 - patch 20120107
Thomas E. Dickey [Sun, 8 Jan 2012 02:27:57 +0000 (02:27 +0000)]
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.

12 years agoncurses 5.9 - patch 20111231
Thomas E. Dickey [Sun, 1 Jan 2012 03:05:05 +0000 (03:05 +0000)]
ncurses 5.9 - patch 20111231

+ modify toe's report when -a and -s options are combined, to add
  a column showing which entries belong to a given database.
+ add -s option to toe, to sort its output.
+ modify progs/toe.c, simplifying use of db-iterator results to use
  caching improvements from 20111001 and 20111126.
+ correct generation of pc-files when ticlib or termlib options are
  given to rename the corresponding tic- or tinfo-libraries (report
  by Sven Joachim).

12 years agoncurses 5.9 - patch 20111224
Thomas E. Dickey [Sun, 25 Dec 2011 01:53:43 +0000 (01:53 +0000)]
ncurses 5.9 - patch 20111224

+ document a portability issue with tput, i.e., that scripts which work
  with ncurses may fail in other implementations that do no parameter
  analysis.
+ add putty-sco entry -TD

12 years agoncurses 5.9 - patch 20111217
Thomas E. Dickey [Sun, 18 Dec 2011 00:13:30 +0000 (00:13 +0000)]
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*.