Commit Graph

17 Commits

Author SHA1 Message Date
Thomas E. Dickey
7fa7badf32 ncurses 6.0 - patch 20171014
+ minor cleanup to test/view.c:
  + eliminate "-n" option by simply reading the whole file.
  + implement page up/down commands.
+ add check in tput for init/reset operands to ensure those use a
  terminal.
+ improve manual pages which discuss chtype, cchar_t types and the
  attribute values which can be stored in those types.
+ correct array-index when parsing "-T" command-line option in tabs
  program.
+ modify demo_new_pair.c to pass extended pairs to setcchar().
+ add test/dots_xcurses.c to illustrate a different approach used for
  extended colors which can be contrasted with dots_curses.c.
+ add a check in tic to note when a description uses non-mandatory
  delays without xon_xoff.  This is not an error, but some descriptions
  for a terminal emulator may use the combination incorrectly.
2017-10-15 01:25:24 +00:00
Thomas E. Dickey
cd142df6d9 ncurses 6.0 - patch 20171007
+ modify "-T" option of clear and tput to call use_tioctl() to obtain
  the operating system's notion of the screensize if possible.
+ review/repair some exit-codes for tput, making usage-message exit
  with 2 rather than 1, and a failure to open terminal 4+errno.
+ amend check in tput, tabs and clear to allow those to use the
  database-only features in cron if a -T option gives a suitable
  terminal name (report by Lauri Tirkkonen).
+ correct an ifdef in test/ncurses.c for systems with soft-keys but
  not slk_color().
+ regenerate man-html documentation.
2017-10-08 00:48:04 +00:00
Thomas E. Dickey
5461fc336d ncurses 6.0 - patch 20161231
+ fix errata for ncurses-howto (report by Damien Ruscoe).
+ fix a few places in configure/build scripts where DESTDIR and rpath
  were combined (report by Thomas Klausner).
+ merge current st description (report by Harry Gindi) -TD
+ modify flash capability for linux and wyse entries to put the delay
  between the reverse/normal escapes rather than after -TD
+ modify program tabs to pass the actual tty file descriptor to
  setupterm rather than the standard output, making padding work
  consistently.
+ explain in clear's manual page that it writes to stdout.
+ add special case for verbose debugging traces of command-line
  utilities which write to stderr (cf: 20161126).
+ remove a trace with literal escapes from skip_DECSCNM(), added in
  20161203.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2016-12-31 23:48:48 +00:00
Thomas E. Dickey
955553313a ncurses 6.0 - patch 20150704
+ fix a few problems reported by Coverity.
+ fix comparison against "/usr/include" in misc/gen-pkgconfig.in
  (report by Daiki Ueno, Debian #790548, cf:  20141213).
2015-07-05 01:59:07 +00:00
Thomas E. Dickey
0819b56c30 ncurses 5.9 - patch 20150418
+ avoid a blank line in output from tabs program by ending it with
  a carriage return as done in FreeBSD (patch by James Clarke).
+ build-fix for the "--enable-ext-putwin" feature when not using
  wide characters (report by Werner Fink).
+ modify autoconf macros to use scripting improvement from xterm.
+ add -brtl option to compiler options on AIX 5-7, needed to link
  with the shared libraries.
+ add --with-extra-suffix option to help with installing nonconflicting
  ncurses6 packages, e.g., avoiding header- and library-conflicts.
  NOTE: as a side-effect, this renames
	  adacurses-config to adacurses5-config and
	  adacursesw-config to adacursesw5-config
+ modify debian/rules test package to suffix programs with "6".
+ clarify in curs_inopts.3x that window-specific settings do not
  inherit into new windows.
2015-04-19 00:05:38 +00:00
Thomas E. Dickey
808858ace0 ncurses 5.9 - patch 20150404
+ improve description of start_color() in the manual.
+ modify several files in ncurses- and progs-directories to allow
  const data used in internal tables to be put by the linker into the
  readonly text segment.
2015-04-04 23:57:48 +00:00
Thomas E. Dickey
a7de4c96ca ncurses 5.9 - patch 20130615
+ minor changes to some configure macros to make them more reusable.
+ fixes for tabs program (prompted by report by Nick Andrik):
  + corrected logic in command-line parsing of -a and -c predefined
    tab-lists options.
  + allow "-0" and "-8" options to be combined with others, e.g.,"-0d".
  + make warning messages more consistent with the other utilities by
    not printing the full pathname of the program.
  + add -V option for consistency with other utilities.
+ fix off-by-one in columns for tabs program when processing an option
  such as "-5" (patch by Nick Andrik).
2013-06-15 22:39:16 +00:00
Thomas E. Dickey
98d8891f42 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.
2012-11-18 02:58:41 +00:00
Thomas E. Dickey
91fa4688e8 ncurses 5.9 - patch 20121026
+ improve malloc/realloc checking (prompted by discussion in Redhat
  #866989).
+ add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
+ updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST.  The
  first corrects pattern used for Mac OS X's customization of gcc.
2012-10-27 23:06:26 +00:00
Thomas E. Dickey
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
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
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
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
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
65ee0f2ca5 ncurses 5.7 - patch 20081122
+ change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
  Ada95 (patch by Juergen Pfeifer).
+ document in TO-DO an issue with Cygwin's package for GNAT (report
  by Mike Dennison).
+ improve error-checking of command-line options in "tabs" program.
2008-11-23 01:33:11 +00:00
Thomas E. Dickey
412da50547 ncurses 5.7 - patch 20081115
+ change several terminfo entries to make consistent use of ANSI
  clear-all-tabs -TD
+ add "tabs" program (prompted by Debian #502260).
+ add configure --without-manpages option (request by Mike Frysinger).
2008-11-16 02:16:59 +00:00