Commit Graph

36 Commits

Author SHA1 Message Date
Thomas E. Dickey
396a05943b ncurses 5.6 - patch 20080412
+ change test/ditto.c to use openpty() and xterm.
+ add locks for copywin(), dupwin(), overlap(), overlay() on their
  window parameters.
+ add locks for initscr() and newterm() on updates to the SCREEN
  pointer.
+ finish table in curs_thread.3x manpage.
2008-04-13 01:03:15 +00:00
Thomas E. Dickey
60014650d5 ncurses 5.6 - patch 20080329
+ add null-pointer checks in set_term() and delscreen().
+ move _nc_windows into _nc_globals, since windows can be pads, which
  are not associated with a particular screen.
+ change use_screen() to pass the SCREEN* parameter rather than
  stdscr to the callback function.
+ force libtool to use tag for 'CC' in case it does not detect this,
  e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
  (report/patch by Michael Haubenwallner).
+ override OBJEXT to "lo" when building with libtool, to work on
  platforms such as AIX where libtool supports only static libraries
  (report/patch by Michael Haubenwallner).
+ add configure --with-pthread option, for building with the POSIX
  thread library.
2008-03-29 23:48:44 +00:00
Thomas E. Dickey
176aaa579a ncurses 5.6 - patch 20080301
+ fixes from 20080223 resolved issue with mutexes; change to use
  recursive mutexes to fix memory leak in delwin() as called from
  _nc_free_and_exit().
2008-03-02 00:28:54 +00:00
Thomas E. Dickey
d44d7f381b ncurses 5.6 - patch 20080223
+ fix a size-difference in _nc_globals which caused hanging of mutex
  lock/unlock when termlib was built separately.
+ avoid using nanosleep() in threaded configuration since that often
  is implemented to suspend the entire process.
2008-02-24 01:25:21 +00:00
Thomas E. Dickey
c4d90db4f4 ncurses 5.6 - patch 20080112
+ remove recursive-mutex definitions, finish threading demo for worm.c
+ remove a redundant adjustment of lines in resizeterm.c's
  adjust_window() which caused occasional misadjustment of stdscr when
  softkeys were used.
2008-01-13 02:05:47 +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
e0371a7943 ncurses 5.6 - patch 20071222
+ continue implementing support for threading demo by adding mutex
  for delwin().
2007-12-23 01:43:39 +00:00
Thomas E. Dickey
c7bc3019ea ncurses 5.6 - patch 20071124
+ modify configure option --with-hashed-db to accept a parameter which
  is the install-prefix of a given Berkeley Database (prompted by
  pierre4d2 comments).
+ rewrite wrapper for wcrtomb(), making it work on Solaris.  This is
  used in the form library to determine the length of the buffer needed
  by field_buffer (report by Alfred Fung).
+ remove unneeded window-parameter from C++ binding for wresize (report
  by Chris Lee).
2007-11-25 02:05:21 +00:00
Thomas E. Dickey
40df80d8d3 ncurses 5.6 - patch 20071117
+ modify the support for filesystems which do not support mixed-case to
  generate 2-character (hexadecimal) codes for the lower-level of the
  filesystem terminfo database (request by Michail Vidiassov).
+ add configure option --enable-mixed-case, to allow overriding the
  configure script's check if the filesystem supports mixed-case
  filenames.
+ add wresize() to C++ binding (request by Chris Lee).
+ define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
  it simpler to tell if the extended functions and/or colors are
  declared.
2007-11-18 02:09:05 +00:00
Thomas E. Dickey
b17ff3673e ncurses 5.6 - patch 20071103
+ update memory-leak checks for changes to names.c and codes.c
+ correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
2007-11-04 00:06:31 +00:00
Thomas E. Dickey
cc79c103a0 ncurses 5.6 - patch 20071020
+ continue implementing support for threading demo by adding mutex
  for use_window().
+ add mrxvt terminfo entry, add/fix xterm building blocks for modified
  cursor keys -TD
+ compile with FreeBSD "contemporary" TTY interface (patch by
  Rong-En Fan).
2007-10-20 23:21:19 +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
28e9f9700c ncurses 5.6 - patch 20071006
+ add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
  changes the CharEq() macro to an inline function to allow comparing
  cchar_t struct's without comparing gaps in a possibly unpacked
  memory layout (report by Miroslav Lichvar).
2007-10-06 23:01:06 +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
aabbbcb789 ncurses 5.6 - patch 20070908
+ add use_window() and use_screen() functions, to develop into support
  for threaded library (incomplete).
+ fix typos in man/curs_opaque.3x which kept the install script from
  creating symbolic links to two aliases created in 20070818 (report by
  Rong-En Fan).
2007-09-08 22:25:05 +00:00
Thomas E. Dickey
f7b8e526e0 ncurses 5.6 - patch 20070901
+ remove a spurious newline from output of html.m4, which caused links
  for Ada95 html to be incorrect for the files generated using m4.
+ start investigating mutex's for SCREEN manipulation (incomplete).
+ minor cleanup of codes.c/names.c for --enable-const
+ expand/revise "Routine and Argument Names" section of ncurses manpage
  to address report by David Givens in newsgroup discussion.
+ fix interaction between --without-progs/--with-termcap configure
  options (report by Michail Vidiassov).
+ fix typo in "--disable-relink" option (report by Michail Vidiassov).
2007-09-02 00:20:31 +00:00
Thomas E. Dickey
cd858895e9 ncurses 5.6 - patch 20070812
+ amend treatment of infocmp "-r" option to retain the 1023-byte limit
  unless "-T" is given (cf: 981017).
+ modify comp_captab.c generation to use big-strings.
+ make _nc_capalias_table and _nc_infoalias_table private accessed via
  _nc_get_alias_table() since the tables are used only within the tic
  library.
+ modify configure script to skip Intel compiler in CF_C_INLINE.
+ make _nc_info_hash_table and _nc_cap_hash_table private accessed via
  _nc_get_hash_table() since the tables are used only within the tic
  library.
2007-08-12 16:31:21 +00:00
Thomas E. Dickey
6bbba9cd97 ncurses 5.6 - patch 20070716
+ restore a call to obtain screen-size in _nc_setupterm(), which
  is used in tput and other non-screen applications via setupterm()
  (Debian #433357, reported by Florent Bayle, Christian Ohm,
  cf: 20070310).
2007-07-16 22:24:03 +00:00
Thomas E. Dickey
a1aff38c94 ncurses 5.6 - patch 20070609
+ add test/key_name.c
+ add stdscr cases to test/inchs.c and test_inch_wide.c
+ update test/configure
+ correct formatting of DEL (0x7f) in _nc_vischar().
+ null-terminate result of wunctrl().
+ add null-pointer check in key_name() (report by Andreas Krennmair,
  cf: 20020901).
2007-06-10 00:41:32 +00:00
Thomas E. Dickey
3853a8e97d ncurses 5.6 - patch 20070602
+ adapt mouse-handling code from menu library in form-library
  (discussion with Clive Nicolson).
+ add a modification of test/dots.c, i.e., test/dots_mvcur.c to
  illustrate how to use mvcur().
+ modify wide-character flavor of SetAttr() to preserve the
  WidecExt() value stored in the .attr field, e.g., in case it
  is overwritten by chgat (report by Aleksi Torhamo).
+ correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
+ build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
2007-06-03 00:04:38 +00:00
Thomas E. Dickey
2c829dd4fa ncurses 5.6 - patch 20070526
+ modify keyname() to use "^X" form only if meta() has been called, or
  if keyname() is called without initializing curses, e.g., via
  initscr() or newterm() (prompted by LinuxBase #1604).
+ document some portability issues in man/curs_util.3x
+ add a shadow copy of TTY buffer to _nc_prescreen to fix applications
  broken by moving that data into SCREEN (cf: 20061230).
2007-05-26 23:44:27 +00:00
Thomas E. Dickey
1051e5f924 ncurses 5.6 - patch 20070512
+ add 'O' (wide-character panel test) in ncurses.c to demonstrate a
  problem reported by Sadrul H Chowdhury with repainting parts of
  a fullwidth cell.
+ modify slk_init() so that if there are preceding calls to
  ripoffline(), those affect the available lines for soft-keys (adapted
  from patch by Clive Nicolson).
+ document some portability issues in man/curs_getyx.3x
2007-05-13 00:52:59 +00:00
Thomas E. Dickey
7a27c7d49c ncurses 5.6 - patch 20070421 2007-04-22 00:57:08 +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
7eb4be765b ncurses 5.6 - patch 20070106
+ change MKunctrl.awk to reduce relocation table for unctrl.o
+ change MKkeyname.awk to reduce relocation table for keyname.o
  (patch by Miroslav Lichvar).
2007-01-07 01:32:36 +00:00
Thomas E. Dickey
f70db18a0c ncurses 5.6 - patch 20061230
+ modify configure check for libtool's version to trim blank lines
  (report by sci-fi@hush.ai).
+ modify some modules to allow them to be reentrant if _REENTRANT is
  defined: lib_baudrate.c, resizeterm.c (local data only)
+ eliminate static data from some modules: add_tries.c, hardscroll.c,
  lib_ttyflags.c, lib_twait.c
+ improve manpage install to add aliases for the transformed program
  names, e.g., from --program-prefix.
+ used linklint to verify links in the HTML documentation, made fixes
  to manpages as needed.
+ fix a typo in curs_mouse.3x (report by William McBrine).
+ fix install-rule for ncurses5-config to make the bin-directory.
2006-12-24 02:11:39 +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