Commit Graph

18 Commits

Author SHA1 Message Date
Thomas E. Dickey
3eda6f30a8 ncurses 6.0 - patch 20170401
+ minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
+ add smso for env230, to match sgr -TD
+ remove p7/protect from sgr in fbterm -TD
+ drop setf/setb from fbterm; setaf/setab are enough -TD
+ make xterm-pcolor sgr consistent with other capabilities -TD
+ add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
  (discussion with Nicholas Marriott)
+ add test-programs sp_tinfo and extended_color
+ modify no-leaks code for lib_cur_term.c to account for the tgetent()
  cache.
+ modify setupterm() to save original tty-modes so that erasechar()
  works as expected.  Also modify _nc_setupscreen() to avoid redundant
  calls to get original tty-modes.
+ modify set_curterm() to update ttytype[] data used by longname().
+ modify wattr_set() and wattr_get() to return ERR if win-parameter is
  null, as documented.
+ improve cast used for null-pointer checks in header macros, to
  reduce compiler warnings.
+ modify several functions, using the reserved "opts" parameter to pass
  color- and pair-values larger than 16-bits:
  + getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
    wattr_set(), wchgat(), wcolor_set().
  + Other functions call these with the corresponding altered behavior,
    including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
    slk_color_off(), vid_attr().
+ add new functions for manipulating color- and pair-values larger
  than 16-bits.  These are extended_color_content(),
  extended_pair_content(), extended_slk_color(), init_extended_color(),
  init_extended_pair(), and the corresponding sp-funcs.
2017-04-02 01:27:53 +00:00
Thomas E. Dickey
2e68dc3258 ncurses 6.0 - patch 20170325
+ fix a memory leak in the window-list when creating multiple screens
  (reports by Andres Martinelli, Debian #783486).
+ reviewed calls from link_test.c, added a few more null-pointer
  checks.
+ add a null-pointer check in ungetmouse, in case mousemask was not
  called (report by "Kau").
+ updated curs_sp_funcs.3x for new functions.
2017-03-26 01:21:31 +00:00
Thomas E. Dickey
4f84dbbd02 ncurses 5.9 - patch 20140201
+ add/use symbol NCURSES_PAIRS_T like NCURSES_COLOR_T, to illustrate
  which "short" types are for color pairs and which are color values.
+ fix build for s390x, by correcting field bit offsets in generated
  representation clauses when int=32 long=64 and endian=big, or at
  least on s390x (patch by Nicolas Boulenguez).
+ minor cleanup change to test/form_driver_w.c (patch by Gaute Hope).
2014-02-02 00:11:40 +00:00
Thomas E. Dickey
5bfda87916 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).
2012-07-29 00:02:59 +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
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
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
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
404cc3f5b0 ncurses 5.7 - patch 20090510
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-05-10 23:36:12 +00:00
Thomas E. Dickey
d998cb49bf ncurses 5.7 - patch 20090425 2009-05-03 00:59:25 +00:00
Thomas E. Dickey
7a6bbc8cf4 ncurses 5.7 - patch 20090418
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-04-19 00:38:07 +00:00
Thomas E. Dickey
86b23c4fe3 ncurses 5.7 - patch 20081129
+ improve a workaround in adding wide-characters, when a control
  character is found.  The library (cf: 20040207) uses unctrl() to
  obtain a printable version of the control character, but was not
  passing color or video attributes.
+ improve test/ncurses.c 'a' test, using unctrl() more consistently to
  display meta-characters.
+ turn on _XOPEN_CURSES definition in curses.h
+ add eterm-color entry (report by Vincent Lefevre) -TD
+ correct use of key_name() in test/ncurses.c 'A' test, which only
  displays wide-characters, not key-codes since 20070612 (report by
  Ricardo Cantu).
2008-11-30 00:38:32 +00:00
Thomas E. Dickey
0be8085145 ncurses 5.6 - patch 20070310
+ increase size of array in _nc_visbuf2n() to make "tic -v" work
  properly in its similar_sgr() function (report/analysis by Peter
  Santoro).
+ add --enable-reentrant configure option for ongoing changes to
  implement a reentrant version of ncurses:
  + libraries are suffixed with "t"
  + wrap several global variables (curscr, newscr, stdscr, ttytype,
    COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
    functions returning values stored in SCREEN or cur_term.
  + move some initialization (LINES, COLS) from lib_setup.c,
    i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
2007-03-11 01:07:00 +00:00
Thomas E. Dickey
82a087c4c4 ncurses 5.6 - patch 20070303
+ regenerated html documentation.
+ add NCURSES_OPAQUE symbol to curses.h, will use to make structs
  opaque in selected configurations.
+ move the chunk in lib_acs.c which resets acs capabilities when
  running on a terminal whose locale interferes with those into
  _nc_setupscreen(), so the libtinfo/libtinfow files can be made
  identical (requested by Miroslav Lichvar).
+ do not use configure variable SHLIB_LIBS for building libraries
  outside the ncurses directory, since that symbol is customized
  only for that directory, and using it introduces an unneeded
  dependency on libdl (requested by Miroslav Lichvar).
+ modify mk-1st.awk so the generated makefile rules for linking or
  installing shared libraries do not first remove the library, in
  case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
  Chua).
+ revised section "Using NCURSES under XTERM" in ncurses-intro.html
  (prompted by newsgroup comment by Nick Guenther).
2007-03-04 00:18:45 +00:00
Thomas E. Dickey
027ae42953 ncurses 5.6 2006-12-17 23:32:42 -05:00
Thomas E. Dickey
55ccd2b959 ncurses 5.5 2005-10-09 14:41:57 -04:00
Thomas E. Dickey
a8987e73ec ncurses 5.4 2004-02-08 21:15:26 -05:00
Thomas E. Dickey
46722468f4 ncurses 5.3 2002-10-12 23:35:53 -04:00