Commit Graph

32 Commits

Author SHA1 Message Date
Thomas E. Dickey
47d2fb4537 ncurses 6.2 - patch 20200212
+ update release notes
+ minor build-fixes, mostly to test-package scripts
+ modify check for sizeof(wchar_t) to ensure it gives useful result
  when cross-compiling.
+ drop assumption in configure script that Cygwin's linker is broken.
+ define NCURSES_BROKEN_LINKER if the broken-linker feature is used,
  to simplify configure-checks for ncurses-examples.
+ reassert copyright on ncurses, per discussion in ncurses FAQ:
  https://invisible-island.net/ncurses/ncurses.faq.html#relicensed
+ modify comparison in make_hash.c to correct a special case in
  collision handling for Caps-hpux11
+ add testing utility report_hashing to check hash-tables used for
  terminfo and termcap names.
+ fix a missing prototype for _nc_free_and_exit().
+ update a few comments about tack 1.07
+ use an awk script to split too-long pathnames used in Ada95 sample
  programs for explain.txt
2020-02-12 09:50:22 +00:00
Thomas E. Dickey
bf5877fb3d ncurses 6.1 - patch 20181117
+ ignore the hex/b64 $TERMINFO in toe's listing.
+ correct a status-check in _nc_read_tic_entry() so that if reading
  a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
  the compiled-in search list.
2018-11-18 00:22:59 +00:00
Thomas E. Dickey
aed072e27e ncurses 6.0 - patch 20171223
+ modify ncurses-examples to quiet const-warnings when building with
  PDCurses.
+ modify toe to not exit if unable to read a terminal description,
  e.g., if there is a permission problem.
+ minor fix for progs/toe.c, using _nc_free_termtype2.
+ assign 0 to pointer in _nc_tgetent_leak() after freeing it. Also
  avoid reusing pointer from previous successful call to tgetent
  if the latest call is unsuccessful (patch by Michael Schroeder,
  OpenSuSE #1070450).
+ minor fix for test/tracemunch, initialize $awaiting variable.
2017-12-23 23:06:29 +00:00
Thomas E. Dickey
5e1e572b71 ncurses 6.0 - patch 20170415
+ modify several test programs to use new popup_msgs, adapted from
  help-screen used in test/edit_field.c
+ drop two symbols obsoleted in 2004: _nc_check_termtype, and
  _nc_resolve_uses
+ fix some old copyright dates (cf: 20031025).
+ build-fixes for test/savescreen.c to work with AIX and HPUX.
+ minor fix to configure script, adding a backslash/continuation.
+ extend TERMINAL structure for ABI 6 to store numbers internally as
  integers rather than short, by adding new data for this purpose.
+ more fixes for minor memory-leaks in test-programs.
2017-04-16 01:08:25 +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
4e793faf65 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
2013-05-26 00:59:52 +00:00
Thomas E. Dickey
e2d7d0028f 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).
2013-03-10 00:35:23 +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
173dd87081 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().
2012-07-22 00:50:03 +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
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
292968cf29 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).
2012-01-01 03:05:05 +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
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
11ca5f6299 ncurses 5.6 - patch 20080816
+ add configure option --enable-weak-symbols to turn on new feature.
+ add configure-check for availability of weak symbols.
+ modify linkage with pthread library to use weak symbols so that
  applications not linked to that library will not use the mutexes,
  etc.  This relies on gcc, and may be platform-specific (patch by Dr
  Werner Fink).
+ add note to INSTALL to document limitation of renaming of tic library
  using the --with-ticlib configure option (report by Dr Werner Fink).
+ document (in manpage) why tputs does not detect I/O errors (prompted
  by comments by Samuel Thibault).
+ fix remaining warnings from Klocwork report.
2008-08-17 01:51:55 +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
8144a95f57 ncurses 5.6 - patch 20080105
+ several improvements to terminfo entries based on xterm #230 -TD
+ modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
  "link_test" builds properly.
+ fix for toe command-line options -u/-U to ensure filename is given.
+ fix allocation-size for command-line parsing in infocmp from 20070728
  (report by Miroslav Lichvar)
+ improve resizeterm() by moving ripped-off lines, and repainting the
  soft-keys (report by Katarina Machalkova)
+ add clarification in wclear's manpage noting that the screen will be
  cleared even if a subwindow is cleared (prompted by Christer Enfors
  question).
+ change test/ncurses.c soft-key tests to work with KEY_RESIZE.
2008-01-06 02:04:59 +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
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
5242fccf15 ncurses 5.6 - patch 20070203
+ modify fix_wchnstr() in form library to strip attributes (and color)
  from the cchar_t array (field cells) read from a field's window.
  Otherwise, when copying the field cells back to the window, the
  associated color overrides the field's background color (report by
  Ricardo Cantu).
+ improve tracing for form library, showing created forms, fields, etc.
+ ignore --enable-rpath configure option if --with-shared was omitted.
+ add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
  to allow leak-checking when both tic- and tinfo-libraries are built.
+ drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
  no longer relies on it.
+ disallow combining configure script options --with-ticlib and
  --enable-termcap (report by Rong-En Fan).
+ remove tack from ncurses tree.
2007-02-04 01:44:56 +00:00
Thomas E. Dickey
c6abbc3dd0 ncurses 5.6 - patch 20070120
+ add _nc_leaks_tic() to separate leak-checking of tic library from
  term/ncurses libraries, and thereby eliminate a library dependency.
+ fix test/mk-test.awk to ignore blank lines.
+ correct paths in include/headers, for --srcdir (patch by Miroslav
  Lichvar).
  in a separate library (suggested by Miroslav Lichvar).
2007-01-21 01:25:57 +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
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