Commit Graph

41 Commits

Author SHA1 Message Date
Thomas E. Dickey
f06e14af5e ncurses 6.0 - patch 20161022
+ modify tset -w (and tput reset) to update the program's copy of the
  screensize if it was already set in the system, to improve tabstop
  setting which relies upon knowing the actual screensize.
+ add functionality of tset -w to tput, like the "-c" feature this is
  not optional in tput.
+ add "clear" as a possible link/alias to tput.
+ improve tput's check for being called as "init" or "reset" to allow
  for transformed names.
+ split-out the "clear" function from progs/clear.c, share with
  tput to get the same behavior, e.g., the E3 extension.
2016-10-23 01:59:31 +00:00
Thomas E. Dickey
e2e9c09c48 ncurses 6.0 - patch 20160910
+ trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
  Leon Winter).
+ trim some obsolete/incorrect wording about EINTR from wgetch manual
  page (patch by Leon Winter).
+ really correct 20100515 change (patch by Rich Coe).
+ add "--enable-string-hacks" option to test/configure
+ completed string-hacks for "sprintf", etc., including test-programs.
+ make "--enable-string-hacks" work with Debian by checking for the
  "bsd" library and its associated "<bsd/string.h>" header.
2016-09-11 01:24:00 +00:00
Thomas E. Dickey
4d01f5de85 ncurses 6.0 - patch 20160827
+ add "v" menu entry to test/ncurses.c to show baudrate and other
  values.
+ add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c,
  lib_baudrate.c
+ modify CF_XOPEN_SOURCE macro:
  + add "uclinux" to case for "linux" (patch by Yann E. Morin)
  + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5
    (patch by Corinna Vinschen, from changes to tin).
+ improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
  as "ccache" (report by Enrico Scholz).
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2016-08-28 01:39:30 +00:00
Thomas E. Dickey
29a36e53e1 ncurses 6.0 - patch 20160820
+ update tput manual page to reflect changes to manipulate terminal
  modes by sharing functions with tset.
+ add the terminal-mode parts of "reset" (aka tset) to the "tput reset"
  command, making the two almost the same except for window-size.
+ adapt logic used in dialog "--keep-tite" option for test/filter.c as
  "-a" option.  When set, test/filter attempts to suppress the
  alternate screen.
+ correct a typo in interix entry -TD
2016-08-21 01:36:58 +00:00
Thomas E. Dickey
96592d7171 ncurses 6.0 - patch 20160806
+ improve CF_GNU_SOURCE configure macro to optionally define
  _DEFAULT_SOURCE work around a nuisance in recent glibc releases.
+ move the terminfo-specific parts of tput's "reset" function into
  the shared reset_cmd.c, making the two forms of reset use the same
  strings.
+ split-out the terminal initialization functions from tset as
  progs/reset_cmd.c, as part of changes to merge the reset-feature
  with tput.
2016-08-07 01:26:32 +00:00
Thomas E. Dickey
aa70bf3c76 ncurses 6.0 - patch 20160730
+ change tset's initialization to allow it to get settings from the
  standard input as well as /dev/tty, to be more effective when
  output or error are redirected.
+ improve discussion of history and portability for tset/reset/tput
  manual pages.
2016-07-30 22:26:22 +00:00
Thomas E. Dickey
59c1a9740d ncurses 6.0 - patch 20160723
+ improve error message from tset/reset when both stderr/stdout are
  redirected to a file or pipe.
+ improve organization of curs_attr.3x, curs_color.3x
2016-07-24 00:45:26 +00:00
Thomas E. Dickey
5723efe1a5 ncurses 6.0 - patch 20160416
+ add workaround in configure script for inept transition to PIE vs
  PIC builds documented in
	  https://fedoraproject.org/wiki/Changes/Harden_All_Packages
+ add "reset" to list of programs whose names might change in manpages
  due to program-transformation configure options.
+ drop long-obsolete "-n" option from tset.
2016-04-17 01:32:24 +00:00
Thomas E. Dickey
96e4e128ae ncurses 6.0 - patch 20151107
+ modify tset's assignment to TERM in its output to reflect the name by
  which the terminal description is found, rather than the primary
  name.  That was an unnecessary part from the initial conversion of
  tset from termcap to terminfo.  The termcap program in 4.3BSD did
  this to avoid using the short 2-character name (report by Rich
  Burridge).
+ minor fix to configure script to ensure that rules for resulting.map
  are only generated when needed (cf: 20151101).
+ modify configure script to handle the case where tic-library is
  renamed, but the --with-debug option is used by itself without
  normal or shared libraries (prompted by comment in Debian #803482).
2015-11-08 02:34:05 +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
87f20fc6e7 ncurses 5.9 - patch 20150321
+ in-progress changes to provide an extended version of putwin and
  getwin which will be capable of reading screen-dumps between the
  wide/normal ncurses configurations.  These are text files, except
  for a magic code at the beginning:
  0       string          \210\210        Screen-dump (ncurses)
2015-03-22 01:12:56 +00:00
Thomas E. Dickey
cc387b11f4 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.
2013-12-15 02:33:31 +00:00
Thomas E. Dickey
73ab536b63 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.
2013-10-13 00:58:13 +00:00
Thomas E. Dickey
db2f78f941 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)
2013-03-24 01:05:56 +00:00
Thomas E. Dickey
1c551ea75e 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.
2012-12-16 01:26:24 +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
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
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
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
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
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
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
684ea7a157 ncurses 5.7 - patch 20090314
+ modify scripts to generate ncurses*-config and pc-files to add
  dependency for tinfo library (patch by Charles Wilson).
+ improve comparison of program-names when checking for linked flavors
  such as "reset" by ignoring the executable suffix (reports by Charles
  Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
  list).
+ suppress configure check for static/dynamic linker flags for gcc on
  Solaris 10, since gcc is confused by absence of static libc, and
  does not switch back to dynamic mode before finishing the libraries
  (reports by Joel Bertrand, Alan Pae).
+ minor fixes to Intel compiler warning checks in configure script.
+ modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
+ modify set_curterm() to make broken-linker configuration work with
  changes from 20090228 (report by Charles Wilson).
2009-03-15 01:02:54 +00:00
Thomas E. Dickey
f6718d80c9 ncurses 5.6 - patch 20081011
+ update html documentation.
+ add -m and -s options to test/keynames.c and test/key_names.c to test
  the meta() function with keyname() or key_name(), respectively.
+ correct return value of key_name() on error; it is null.
+ document some unresolved issues for rpath and pthreads in TO-DO.
+ fix a missing prototype for ioctl() on OpenBSD in tset.c
+ add configure option --disable-tic-depends to make explicit whether
  tic library depends on ncurses/ncursesw library, amends change from
  20080823 (prompted by Debian #501421).
2008-10-11 23:44:29 +00:00
Thomas E. Dickey
d736364fc0 ncurses 5.6 - patch 20080913
+ change shared-library configuration for OpenBSD, make rpath work.
+ build-fixes for using libutf8, e.g., on OpenBSD 3.7
2008-09-14 01:09:37 +00:00
Thomas E. Dickey
8f527f87c0 ncurses 5.6 - patch 20080804
+ modify _nc_panelhook() data to account for a permanent memory leak.
+ fix memory leaks in test/demo_menus
+ fix most warnings from Klocwork tool (report by Larry Zhou).
+ modify configure script CF_XOPEN_SOURCE macro to add case for
  "dragonfly" from xterm #236 changes.
+ modify configure script --with-hashed-db to let $LIBS override the
  search for the db library (prompted by report by Samson Pierre).
2008-08-05 01:06:16 +00:00
Thomas E. Dickey
491a3f08b7 ncurses 5.6 - patch 20071013
+ modify makefile rules to allow clear, tput and tset to be built
  without libtic.  The other programs (infocmp, tic and toe) rely on
  that library.
+ add/modify null-pointer checks in several functions for SP and/or
  the WINDOW* parameter (report by Thorben Krueger).
+ fixes for field_buffer() in formw library (see Redhat Bugzilla
  #310071, patches by Miroslav Lichvar).
+ improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
  Lichvar).
+ update/improve mlterm and rxvt terminfo entries, e.g., for
  the modified cursor- and keypad-keys -TD
2007-10-14 00:38:28 +00:00
Thomas E. Dickey
e6c7286022 ncurses 5.6 - patch 20070929
+ add new functions to lib_trace.c to setup mutex's for the _tracef()
  calls within the ncurses library.
+ for the reentrant model, move _nc_tputs_trace and _nc_outchars into
  the SCREEN.
+ start modifying test/worm.c to provide threading demo (incomplete).
+ separated ifdef's for some BSD-related symbols in tset.c, to make
  it compile on LynxOS (report by Greg Gemmer).
2007-09-29 23:30:37 +00:00
Thomas E. Dickey
772f879d17 ncurses 5.6 - patch 20070721
+ change winnstr() to stop at the end of the line (cf: 970315).
+ add test/test_get_wstr.c
+ add test/test_getstr.c
+ add test/test_inwstr.c
+ add test/test_instr.c
2007-07-21 23:58:49 +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
Thomas E. Dickey
c633e5103a ncurses 5.2 2000-10-21 00:42:11 -04:00
Thomas E. Dickey
b1f61d9f3a ncurses 5.1 2000-07-08 22:46:08 -04:00
Thomas E. Dickey
0eb88fc528 ncurses 5.0 1999-10-24 00:32:42 -04:00
Thomas E. Dickey
661078ddbd ncurses 4.2 1998-02-28 23:21:12 -05:00
Thomas E. Dickey
3a9b6a3bf0 ncurses 4.1 1997-05-14 23:00:00 -05:00