Commit Graph

129 Commits

Author SHA1 Message Date
Thomas E. Dickey
3f5a74a97c ncurses 5.7 - patch 20090822
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-08-23 01:14:12 +00:00
Thomas E. Dickey
d27c5b45cc ncurses 5.7 - patch 20090808
+ separate _nc_find_entry() and _nc_find_type_entry() from
  implementation details of hash function.
2009-08-08 23:45:56 +00:00
Thomas E. Dickey
8485ec820b ncurses 5.7 - patch 20090801
+ improve discussion in INSTALL for use of system's tic/infocmp for
  cross-compiling and building fallbacks.
+ modify test/demo_termcap.c to correspond better to options in
  test/demo_terminfo.c
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ fix logic for 'V' in test/ncurses.c tests f/F.
2009-08-02 00:48:52 +00:00
Thomas E. Dickey
85201fb672 ncurses 5.7 - patch 20090728
+ correct logic in tigetnum(), which caused tput program to treat all
  string capabilities as numeric (report by Rajeev V Pillai,
  cf: 20090711).
2009-07-28 23:10:32 +00:00
Thomas E. Dickey
d803343ca3 ncurses 5.7 - patch 20090725
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-07-25 22:32:12 +00:00
Thomas E. Dickey
dfaa1a3001 ncurses 5.7 - patch 20090718
+ fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
  20070704 changes.
+ modify _nc_find_type_entry() to use hashing.
+ make CCHARW_MAX value configurable, noting that changing this would
  change the size of cchar_t, and would be ABI-incompatible.
+ modify test-programs, e.g,.  test/view.c, to address subtle
  differences between Tru64/Solaris and HPUX/AIX getcchar() return
  values.
+ modify length returned by getcchar() to count the trailing null
  which is documented in X/Open (cf: 20020427).
+ fixes for test programs to build/work on HPUX and AIX, etc.
2009-07-19 01:03:05 +00:00
Thomas E. Dickey
ccb812c9ce ncurses 5.7 - patch 20090711
+ improve performance of tigetstr, etc., by using hashing code from tic.
+ minor fixes for memory-leak checking.
+ add test/demo_terminfo, for comparison with demo_termcap
2009-07-11 23:12:47 +00:00
Thomas E. Dickey
5b7f4de105 ncurses 5.7 - patch 20090704
+ remove wide-character checks from unctrl() (patch by Clemens Ladisch).
+ revise wadd_wch() and wecho_wchar() to eliminate dependency on
  unctrl().
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-07-04 23:55:21 +00:00
Thomas E. Dickey
da1f84b7eb ncurses 5.7 - patch 20090627
+ update llib-lncurses[wt] to use sp-funcs.
+ various code-fixes to build/work with --disable-macros configure
  option.
+ add several new files from Juergen Pfeifer which will be used when
  integration of "sp-funcs" is complete.  This includes a port to
  MinGW.
2009-06-28 01:00:34 +00:00
Thomas E. Dickey
3ce2c58251 ncurses 5.7 - patch 20090613
+ move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
  make includes of term.h without curses.h work (report by "Nix").
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-06-14 00:39:29 +00:00
Thomas E. Dickey
dc6f2587b1 ncurses 5.7 - patch 20090607
+ fix a regression in lib_tputs.c, from ongoing merges.
2009-06-07 14:35:36 +00:00
Thomas E. Dickey
d4ede7c5fa ncurses 5.7 - patch 20090606
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-06-07 00:51:13 +00:00
Thomas E. Dickey
26522e4669 ncurses 5.7 - patch 20090530
+ fix an infinite recursion when adding a legacy-coding 8-bit value
  using insch() (report by Clemens Ladisch).
+ free home-terminfo string in del_curterm() (patch by Dan Weber).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-05-30 23:24:28 +00:00
Thomas E. Dickey
1886515007 ncurses 5.7 - patch 20090523
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-05-24 01:18:15 +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
fc79b49bd8 ncurses 5.7 - patch 20090411
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
  This change finishes merging for menu and panel libraries, does
  part of the form library.
2009-04-11 22:39:24 +00:00
Thomas E. Dickey
1bdf9cf115 ncurses 5.7 - patch 20090328
+ extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
  function key definitions from emx-base for consistency -TD
+ correct missing final 'p' in pfkey capability of ansi.sys-old (report
  by Kalle Olavi Niemitalo).
+ improve test/ncurses.c 'F' test, show combining characters in color.
+ quiet a false report by cppcheck in c++/cursesw.cc by eliminating
  a temporary variable.
+ use _nc_doalloc() rather than realloc() in a few places in ncurses
  library to avoid leak in out-of-memory condition (reports by William
  Egert and Martin Ettl based on cppcheck tool).
+ add --with-ncurses-wrap-prefix option to test/configure (discussion
  with Charles Wilson).
+ use ncurses*-config scripts if available for test/configure.
+ update test/aclocal.m4 and test/configure
> patches by Charles Wilson:
+ modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
  version numbers (e.g.  which include alphabetic chars, as well as
  digits, after the final '.').
+ improve use of -no-undefined option for libtool by setting an
  intermediate variable LT_UNDEF in the configure script, and then
  using that in the libtool link-commands.
+ fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
  from 2009031 changes.
+ improve mk-1st.awk script by writing separate cases for the
  LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
  termlib) is to be linked.
+ modify configure.in to allow broken-linker configurations, not just
  enable-reentrant, to set public wrap prefix.
2009-03-29 00:06:57 +00:00
Thomas E. Dickey
2782cd7cf3 ncurses 5.7 - patch 20090321
+ add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
  build with tic and term libraries (patch by Charles Wilson).
+ add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
  (report by Charles Wilson).
+ fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
  the form, menu or panel libraries (patch by Charles Wilson).
+ add configure option --with-wrap-prefix to allow setting the prefix
  for functions used to wrap global variables to something other than
  "_nc_" (discussion with Charles Wilson).
2009-03-22 00:51: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
b94faec6aa ncurses 5.7 - patch 20090228
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ modify declaration of cur_term when broken-linker is used, but
  enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
2009-02-28 23:06:36 +00:00
Thomas E. Dickey
9fab8ab6b6 ncurses 5.7 - patch 20090221
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-02-22 02:08:00 +00:00
Thomas E. Dickey
78e49873c6 ncurses 5.7 - patch 20090214
+ add configure script --enable-sp-funcs to enable the new set of
  extended functions.
+ start integrating patches by Juergen Pfeifer:
  + add extended functions which specify the SCREEN pointer for several
    curses functions which use the global SP (these are incomplete;
    some internals work is needed to complete these).
  + add special cases to configure script for MinGW port.
2009-02-15 02:14:18 +00:00
Thomas E. Dickey
e9d205b516 ncurses 5.7 - patch 20081213
+ add check for failure to open hashed-database needed for db4.6
  (GenToo #245370).
+ corrected --without-manpages option; previous change only suppressed
  the auxiliary rules install.man and uninstall.man
+ add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
  GenToo #250454).
+ fixes from NetBSD port at
  http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
  patch-ac (build-fix for DragonFly)
  patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
+ improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
  by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
  search-lists.
+ correct title string for keybound manpage (patch by Frederic Culot,
  OpenBSD documentation/6019),
2008-12-13 23:26:23 +00:00
Thomas E. Dickey
879fd5bd9d ncurses 5.7 - patch 20081206
+ move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
  work for progs/clear, progs/tabs, etc.
+ correct buffer-size after internal resizing of wide-character
  set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
+ add "-i" option to test/filter.c to tell it to use initscr() rather
  than newterm(), to investigate report on comp.unix.programmer that
  ncurses would clear the screen in that case (it does not - the issue
  was xterm's alternate screen feature).
+ add check in mouse-driver to disable connection if GPM returns a
  zero, indicating that the connection is closed (Debian #506717,
  adapted from patch by Samuel Thibault).
2008-12-07 01:42:58 +00:00
Thomas E. Dickey
e70a86c3d4 ncurses 5.7 2008-11-02 21:13:51 -05:00
Thomas E. Dickey
b6bff46512 ncurses 5.6 - patch 20081012
+ add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
  original to teraterm2.3 -TD
+ update "gnome" terminfo to 2.22.3 -TD
+ update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
+ add "aterm" terminfo -TD
+ add "linux2.6.26" terminfo -TD
+ add logic to tic for cancelling strings in user-defined capabilities,
  overlooked til now.
2008-10-13 00:34:11 +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
76af49c338 ncurses 5.6 - patch 20080927
+ fix build for --with-dmalloc by workaround for redefinition of
  strndup between string.h and dmalloc.h
+ fix build for --disable-sigwinch
+ add environment variable NCURSES_GPM_TERMS to allow override to use
  GPM on terminals other than "linux", etc.
+ disable GPM mouse support when $TERM does not happen to contain
  "linux", since Gpm_Open() no longer limits its assertion to terminals
  that it might handle, e.g., within "screen" in xterm.
+ reset mouse file-descriptor when unloading GPM library (report by
  Miroslav Lichvar).
+ fix build for --disable-leaks --enable-widec --with-termlib
> patch by Juergen Pfeifer:
+ use improved initialization for soft-label keys in Ada95 sample code.
+ discard internal symbol _nc_slk_format (unused since 20080112).
+ move call of slk_paint_info() from _nc_slk_initialize() to
  slk_intern_refresh(), improving initialization.
2008-09-28 01:08:36 +00:00
Thomas E. Dickey
48310f11b2 ncurses 5.6 - patch 20080823
+ modify configure check for pthread library to work with OSF/1 5.1,
  which uses #define's to associate its header and library.
+ use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
  makes threaded code work on HPUX 11.23
+ fix a bug in demo_menus in freeing menus (cf: 20080804).
+ modify configure script for the case where tic library is used (and
  possibly renamed) to remove its dependency upon ncurses/ncursew
  library (patch by Dr Werner Fink).
+ correct manpage for menu_fore() which gave wrong default for
  the attribute used to display a selected entry (report by Mike Gran).
+ add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
  Debian #495815) -TD
2008-08-24 00:26: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
01cec7497c ncurses 5.6 - patch 20080712
+ compiler-warning fixes for Solaris.
2008-07-13 00:35:08 +00:00
Thomas E. Dickey
7c4bc0fa99 ncurses 5.6 - patch 20080705
+ use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
  make those work properly with the "--enable-ext-mouse" configuration
  (cf: 20050205).
+ improve documentation of build-cc options in INSTALL.
+ work-around a bug in gcc 4.2.4 on AIX, which does not pass the
  -static/-dynamic flags properly to linker, causing test/bs to
  not link.
2008-07-06 00:36:01 +00:00
Thomas E. Dickey
3ce60e9f58 ncurses 5.6 - patch 20080628
+ correct some ifdef's needed for the broken-linker configuration.
+ make debugging library's $BAUDRATE feature work for termcap
  interface.
+ make $NCURSES_NO_PADDING feature work for termcap interface (prompted
  by comment on FreeBSD mailing list).
+ add screen.mlterm terminfo entry -TD
+ improve mlterm and mlterm+pcfkeys terminfo entries -TD
2008-06-29 00:12:36 +00:00
Thomas E. Dickey
ca276baf72 ncurses 5.6 - patch 20080621
+ regenerated html documentation.
+ expand manpage description of parameters for form_driver() and
  menu_driver() (prompted by discussion with Adam Spragg).
+ add null-pointer checks for cur_term in baudrate() and
  def_shell_mode(), def_prog_mode()
+ fix some memory leaks in delscreen() and wide acs.
2008-06-22 00:16:39 +00:00
Thomas E. Dickey
1078c0231b ncurses 5.6 - patch 20080607
+ finish changes to wgetch(), making it switch as needed to the
  window's actual screen when calling wrefresh() and wgetnstr().  That
  allows wgetch() to get used concurrently in different threads with
  some minor restrictions, e.g., the application should not delete a
  window which is being used in a wgetch().
+ simplify mutex's, combining the window- and screen-mutex's.
2008-06-08 00:40:16 +00:00
Thomas E. Dickey
bd7ef7c230 ncurses 5.6 - patch 20080531
+ modify wgetch() to use the screen which corresponds to its window
  parameter rather than relying on SP; some dependent functions still
  use SP internally.
+ factor out most use of SP in lib_mouse.c, using parameter.
+ add internal _nc_keyname(), replacing keyname() to associate with a
  particular SCREEN rather than the global SP.
+ add internal _nc_unctrl(), replacing unctrl() to associate with a
  particular SCREEN rather than the global SP.
+ add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
  its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
+ add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
  preference to the global _nc_globals.tracechr_buf buffer.
2008-05-31 23:49:39 +00:00
Thomas E. Dickey
9edffa2f21 ncurses 5.6 - patch 20080524
+ modify _nc_keypad() to make it switch temporarily as needed to the
  screen which must be updated.
+ wrap cur_term variable to help make _nc_keymap() thread-safe, and
  always set the screen's copy of this variable in set_curterm().
+ restore curs_set() state after endwin()/refresh() (report/patch
  Miroslav Lichvar)
2008-05-25 00:49:27 +00:00
Thomas E. Dickey
a21e1b511e ncurses 5.6 - patch 20080517
+ modify configure script to note that --enable-ext-colors and
  --enable-ext-mouse are not experimental, but extensions from
  the ncurses ABI 5.
+ corrected manpage description of setcchar() (discussion with
  Emanuele Giaquinta).
+ fix for adding a non-spacing character at the beginning of a line
  (report/patch by Miroslav Lichvar).
2008-05-18 00:27:17 +00:00
Thomas E. Dickey
ed530db2c5 ncurses 5.6 - patch 20080503
+ modify screen.* terminfo entries using new screen+fkeys to fix
  overridden keys in screen.rxvt (Debian #478094) -TD
+ modify internal interfaces to reduce wgetch()'s dependency on the
  global SP.
+ simplify some loops with macros each_screen(), each_window() and
  each_ripoff().
+ continue modifying test/ditto.c toward making it demonstrate
  multithreaded use_screen(), using fifos to pass data between screens.
+ fix typo in form.3x (report by Mike Gran).
2008-05-04 00:48:16 +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
25358bc041 ncurses 5.6 - patch 20080119
+ fixes to build with --disable-ext-funcs
+ add manpage for use_window and use_screen.
+ add set_tabsize() and set_escdelay() functions.
2008-01-20 00:51:10 +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
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
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
17e1f876e3 ncurses 5.6 - patch 20070818
+ add 9term terminal description (request by Juhapekka Tolvanen) -TD
+ modify comp_hash.c's string output to avoid misinterpreting a null
  "\0" followed by a digit.
+ modify MKnames.awk and MKcodes.awk to support big-strings.
  This only applies to the cases (broken linker, reentrant) where
  the corresponding arrays are accessed via wrapper functions.
+ split MKnames.awk into two scripts, eliminating the shell redirection
  which complicated the make process and also the bogus timestamp file
  which was introduced to fix "make -j".
+ add test/test_opaque.c, test/test_arrays.c
+ add wgetscrreg() and wgetparent() for applications that may need it
  when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
2007-08-19 00:27:58 +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
03a795bde5 ncurses 5.6 - patch 20070728
+ make _nc_capalias_table and _nc_infoalias_table private, accessed via
  _nc_get_alias_table() since they are used only by parse_entry.c
+ make _nc_key_names private since it is used only by lib_keyname.c
+ add --disable-big-strings configure option to control whether
  unctrl.c is generated using the big-string optimization - which may
  use strings longer than supported by a given compiler.
+ reduce relocation tables for tic, infocmp by changing type of
  internal hash tables to short, and make those private symbols.
+ eliminate large fixed arrays from progs/infocmp.c
2007-07-29 00:27:12 +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
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
7a27c7d49c ncurses 5.6 - patch 20070421 2007-04-22 00:57:08 +00:00
Thomas E. Dickey
2639531af0 ncurses 5.6 - patch 20070407 2007-04-08 01:10:28 +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
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
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
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