Commit Graph

136 Commits

Author SHA1 Message Date
Thomas E. Dickey
7b2974498f ncurses 5.6 - patch 20070612
+ corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
  #226 -TD
+ split-out key_name() from MKkeyname.awk since it now depends upon
  wunctrl() which is not in libtinfo (report by Rong-En Fan).
2007-06-12 23:12:17 +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
3ec8f79f3c ncurses 5.6 - patch 20070505
+ fix a bug in Ada95/samples/ncurses which caused a variable to
  become uninitialized in the "b" test.
+ fix Ada95/gen/Makefile.in adahtml rule to account for recent
  movement of files, fix a few incorrect manpage references in the
  generated html.
+ add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
  memory-checking.
+ correct some functions in Ada95 binding which were using return value
  from C where none was returned:  idcok(), immedok() and wtimeout().
+ amend recent changes for Ada95 binding to make it build with
  Cygwin's linker, e.g., with configure options
	--enable-broken-linker --with-ticlib
2007-05-06 00:26:41 +00:00
Thomas E. Dickey
3faafb2efc ncurses 5.6 - patch 20070428
+ add a configure check for gcc's options for inlining, use that to
  quiet a warning message where gcc's default behavior changed from
  3.x to 4.x.
+ improve warning message when checking if GPM is linked to curses
  library by not warning if its use of "wgetch" is via a weak symbol.
+ add loader options when building with static libraries to ensure that
  an installed shared library for ncurses does not conflict.  This is
  reported as problem with Tru64, but could affect other platforms
  (report Martin Mokrejs, analysis by Tim Mooney).
+ fix build on cygwin after recent ticlib/termlib changes, i.e.,
  + adjust TINFO_SUFFIX value to work with cygwin's dll naming
  + revert a change from 20070303 which commented out dependency of
    SHLIB_LIST in form/menu/panel/c++ libraries.
+ fix initialization of ripoff stack pointer (cf: 20070421).
2007-04-29 00:13:28 +00:00
Thomas E. Dickey
7a27c7d49c ncurses 5.6 - patch 20070421 2007-04-22 00:57:08 +00:00
Thomas E. Dickey
efd59f16f3 ncurses 5.6 - patch 20070414 2007-04-14 23:23:43 +00:00
Thomas E. Dickey
2639531af0 ncurses 5.6 - patch 20070407 2007-04-08 01:10:28 +00:00
Thomas E. Dickey
5a9c046f10 ncurses 5.6 - patch 20070331
+ modify Ada95 binding to build with --enable-reentrant by wrapping
  global variables (bug: acs_map does not yet work).
+ modify Ada95 binding to use the new access-functions, allowing it
  to build/run when NCURSES_OPAQUE is set.
+ add access-functions and macros to return properties of the WINDOW
  structure, e.g., when NCURSES_OPAQUE is set.
+ improved install-sh's quoting.
+ use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
  other programs.
  NCURSES_OPAQUE set, since we cannot pass a reference to
2007-04-01 00:48:02 +00:00
Thomas E. Dickey
33b3156f43 ncurses 5.6 - patch 20070324
+ eliminate part of the direct use of WINDOW data from Ada95 interface.
+ fix substitutions for termlib filename to make configure option
  --enable-reentrant work with --with-termlib.
+ change a constructor for NCursesWindow to allow compiling with
  NCURSES_OPAQUE defined, since we cannot pass a reference to
  an opaque pointer.
2007-03-25 00:28:09 +00:00
Thomas E. Dickey
65d8011455 ncurses 5.6 - patch 20070317
+ ignore --with-chtype=unsigned since unsigned is always added to
  the type in curses.h; do the same for --with-mmask-t.
+ change warning regarding --enable-ext-colors and wide-character
  in the configure script to an error.
+ tweak error message in CF_WITH_LIBTOOL to distinguish other programs
  such as Darwin's libtool program (report by Michail Vidiassov)
+ modify edit_man.sh to allow for multiple substitutions per line.
+ set locale in misc/ncurses-config.in since it uses a range
+ change permissions libncurses++.a install (report by Michail
  Vidiassov).
+ corrected length of temporary buffer in wide-character version
  of set_field_buffer() (related to report by Bryan Christ).
2007-03-17 21:11:16 +00:00
Thomas E. Dickey
b5a763d403 ncurses 5.6 - patch 20070311
+ fix mk-1st.awk script install_shlib() function, broken in 20070224
  changes for cygwin (report by  Michail Vidiassov).
2007-03-11 14:41:19 +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
b6d7123594 ncurses 5.6 - patch 20070224
+ change internal return codes of _nc_wgetch() to check for cases
  where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
  ungetch'd, and read by wget_wch().
+ fix static-library build broken in 20070217 changes to remove "-ldl"
  (report by Miroslav Lichvar).
+ change makefile/scripts for cygwin to allow building termlib.
+ use Form_Hook in manpages to match form.h
+ use Menu_Hook in manpages, as well as a few places in menu.h
+ correct form- and menu-manpages to use specific Field_Options,
  Menu_Options and Item_Options types.
+ correct prototype for _tracechar() in manpage (cf: 20011229).
+ correct prototype for wunctrl() in manpage.
2007-02-25 01:57:04 +00:00
Thomas E. Dickey
0c9774ef66 ncurses 5.6 - patch 20070217
+ fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
  Lichvar).
+ modify relinking of shared libraries to apply only when rpath is
  enabled, and add --disable-relink option which can be used to
  disable the feature altogether (reports by Michail Vidiassov,
  Adam J Richter).
+ fix --with-termlib option for wide-character configuration, stripping
  the "w" suffix in one place (report by Miroslav Lichvar).
+ remove "-ldl" from some library lists to reduce dependencies in
  programs (report by Miroslav Lichvar).
+ correct description of --enable-signed-char in configure --help
  (report by Michail Vidiassov).
+ add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
  which matches an earlier change to CF_SHARED_OPTS, from xterm #224
  fixes.
+ remove "${DESTDIR}" from -install_name option used for linking
  shared libraries on Darwin (report by Michail Vidiassov).
2007-02-18 01:51:57 +00:00
Thomas E. Dickey
614ef82f41 ncurses 5.6 - patch 20070210
+ add test/inchs.c, test_inch_wide.c, to test win_wchnstr().
+ remove libdl from library list for termlib (report by Miroslav
  Lichvar).
+ fix configure.in to allow --without-progs --with-termlib (patch by
  Miroslav Lichvar).
+ modify win_wchnstr() to ensure that only a base cell is returned
  for each multi-column character (prompted by report by Wei Kong
  regarding change in mvwin_wch() cf: 20041023).
2007-02-11 01:34:24 +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
ca5fdd32fd ncurses 5.6 - patch 20070128
+ fix typo in configure script that broke --with-termlib option
  (report by Rong-En Fan).
2007-01-28 17:23:09 +00:00
Thomas E. Dickey
1559c1ba9c ncurses 5.6 - patch 20070127
+ improve fix for FreeBSD gnu/98975, to allow for null pointer passed
  to tgetent() (report by Rong-en Fan).
+ update tack/HISTORY and tack/README to tell how to build it after
  it is removed from the ncurses tree.
+ fix configure check for libtool's version to trim blank lines
  (report by sci-fi@hush.ai).
+ review/eliminate other original-file artifacts in cursesw.cc, making
  its license consistent with ncurses.
+ use ncurses vw_scanw() rather than reading into a fixed buffer in
  the c++ binding for scanw() methods.
+ eliminate fixed-buffer vsprintf() calls in c++ binding.
2007-01-28 00:56:00 +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
53d4e8a950 ncurses 5.6 - patch 20070113
+ add a break-statement in misc/shlib to ensure that it exits on the
  _first_ matched directory (report by Paul Novak).
+ add tack/configure, which can be used to build tack outside the
  ncurses build-tree.
+ add --with-ticlib option, to build/install the tic-support functions
  in a separate library (suggestd by Miroslav Lichvar).
2007-01-14 01:43:23 +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
6f8ad7d77b ncurses 5.6 - patch 20061223
+ modify configure script to omit the tic (terminfo compiler) support
  from ncurses library if --without-progs option is given.
+ modify install rule for ncurses5-config to do this via "install.libs"
+ modify shared-library rules to allow FreeBSD 3.x to use rpath.
+ update config.guess, config.sub
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