Commit Graph

33 Commits

Author SHA1 Message Date
Thomas E. Dickey
44a4147009 ncurses 5.9 - patch 20111008
+ moved static data from db_iterator.c to lib_data.c
+ modify db_iterator.c for memory-leak checking, fix one leak.
+ modify misc/gen-pkgconfig.in to use Requires.private for the parts
  of ncurses rather than Requires, as well as Libs.private for the
  other library dependencies (prompted by Debian #644728).
2011-10-09 00:51:26 +00:00
Thomas E. Dickey
af4c589f0c ncurses 5.9 - patch 20111001
+ modify tic "-K" option to only set the strict-flag rather than force
  source-output.  That allows the same flag to control the parser for
  input and output of termcap source.
+ modify _nc_getent() to ignore backslash at the end of a comment line,
  making it consistent with ncurses' parser.
+ restore a special-case check for directory needed to make termcap
  text files load as if they were databases (cf: 20110924).
+ modify tic's resolution/collision checking to attempt to remove the
  conflicting alias from the second entry in the pair, which is
  normally following in the source file.  Also improved the warning
  message to make it simpler to see which alias is the problem.
+ improve performance of the database iterator by caching search-list.
2011-10-02 00:58:34 +00:00
Thomas E. Dickey
41677b308e ncurses 5.7 - patch 20100515
+ add configure option --enable-pthreads-eintr to control whether the
  new EINTR feature is enabled.
+ modify logic in pthread configuration to allow EINTR to interrupt
  a read operation in wgetch() (Novell #540571, patch by Werner Fink).
+ drop mkdirs.sh, use "mkdir -p".
+ add configure option --disable-libtool-version, to use the
  "-version-number" feature which was added in libtool 1.5 (report by
  Peter Haering).  The default value for the option uses the newer
  feature, which makes libraries generated using libtool compatible
  with the standard builds of ncurses.
+ updated test/configure to match configure script macros.
+ fixes for configure script from lynx changes:
  + improve CF_FIND_LINKAGE logic for the case where a function is
    found in predefined libraries.
  + revert part of change to CF_HEADER (cf: 20100424)
2010-05-16 00:56:17 +00:00
Thomas E. Dickey
c6540b9c89 ncurses 5.7 - patch 20100123
+ for term-driver configuration, ensure that the driver pointer is
  initialized in setupterm so that terminfo/termcap programs work.
+ amend fix for Debian #542031 to ensure that wattrset() returns only
  OK or ERR, rather than the attribute value (report by Miroslav
  Lichvar).
+ reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
  _nc_screen_of() compatible between normal/wide libraries again (patch
  by Miroslav Lichvar)
+ review/fix include-dependencies in modules files (report by Miroslav
  Lichvar).
2010-01-24 01:42:57 +00:00
Thomas E. Dickey
49e6baa949 ncurses 5.7 - patch 20091128
+ modify mk-1st.awk to allow tinfo library to be built when term-driver
  is enabled.
+ add error-check to configure script to ensure that sp-funcs is
  enabled if term-driver is, since some internal interfaces rely upon
  this.
2009-11-29 02:00:36 +00:00
Thomas E. Dickey
582d14ba03 ncurses 5.7 - patch 20091121
+ fix case where progs/tput is used while sp-funcs is configure; this
  requires save/restore of out-character function from _nc_prescreen
  rather than the SCREEN structure (report by Charles Wilson).
+ fix typo in man/curs_trace.3x which caused incorrect symbolic links
+ improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
2009-11-22 01:54:35 +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
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
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
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
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
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
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
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
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
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
0eb88fc528 ncurses 5.0 1999-10-24 00:32:42 -04:00