Commit Graph

191 Commits

Author SHA1 Message Date
Thomas E. Dickey
4573ed8af0 ncurses 5.7 - patch 20100717
* add hard-reset for rs2 to wsvt25 to help ensure that reset ends
  the alternate character set (patch by Nicholas Marriott)
+ remove tar-copy.sh and related configure/Makefile chunks, since the
  Ada95 binding is now installed using rules in Ada95/src.
2010-07-18 00:59:25 +00:00
Thomas E. Dickey
43f75d22e2 ncurses 5.7 - patch 20100703
+ continue integrating changes to use gnatmake project files in Ada95
  + add/use configure check to turn on project rules for Ada95/src.
+ revert the vfork change from 20100130, since it does not work.
2010-07-04 00:06:47 +00:00
Thomas E. Dickey
3b18e0dcb8 ncurses 5.7 - patch 20100626
+ continue integrating changes to use gnatmake project files in Ada95
  + old gnatmake (3.15) does not produce libraries using project-file;
    work around by adding script to generate alternate makefile.
2010-06-27 01:14:50 +00:00
Thomas E. Dickey
0141530788 ncurses 5.7 - patch 20100619
+ continue integrating changes to use gnatmake project files in Ada95
  + add configure --with-ada-sharedlib option, for the test_make rule.
  + move Ada95-related logic into aclocal.m4, since additional checks
    will be needed to distinguish old/new implementations of gnat.
2010-06-20 00:56:51 +00:00
Thomas E. Dickey
421caba60c ncurses 5.7 - patch 20100612
+ start integrating changes to use gnatmake project files in Ada95 tree
  + add test_make / test_clean / test_install rules in Ada95/src
  + change install-path for adainclude directory to /usr/share/ada (was
    /usr/lib/ada).
+ update Ada95/configure.
+ add mlterm+256color entry, for mlterm 3.0.0 -TD
+ modify test/configure to use macros to ensure consistent order
  of updating LIBS variable.
2010-06-12 21:29:38 +00:00
Thomas E. Dickey
6b43eaddcd ncurses 5.7 - patch 20100605
+ change search order of options for Solaris in CF_SHARED_OPTS, to
  work with 64-bit compiles.
+ correct quoting of assignment in CF_SHARED_OPTS case for aix
  (cf: 20081227)
2010-06-06 00:57:09 +00:00
Thomas E. Dickey
f9d358b4f3 ncurses 5.7 - patch 20100529
+ regenerated html documentation.
+ modify test/configure to support pkg-config for checking X libraries
  used by PDCurses.
+ add/use configure macro CF_ADD_LIB to force consistency of
  assignments to $LIBS, etc.
+ fix configure script for combining --with-pthread
  and --enable-weak-symbols options.
2010-05-30 01:08:46 +00:00
Thomas E. Dickey
a2ea66477b ncurses 5.7 - patch 20100522
+ correct cross-compiling configure check for CF_MKSTEMP macro, by
  adding a check cache variable set by AC_CHECK_FUNC (report by
  Pierre Labastie).
+ simplify include-dependencies of make_hash and make_keys, to reduce
  the need for setting BUILD_CPPFLAGS in cross-compiling when the
  build- and target-machines differ.
+ repair broken-linker configuration by restoring a definition of SP
  variable to curses.priv.h, and adjusting for cases where sp-funcs
  are used.
+ improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
  variable to override (prompted by report by Pablo Cazallas).
2010-05-23 00:52:44 +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
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
11dead3981 ncurses 5.7 - patch 20100424
+ fix some strict compiler warnings in ncurses library.
+ modify configure macro CF_HEADER_PATH to not look for variations in
  the predefined include directories.
+ improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
  with gcc 4.x's c89 alias, which gives warning messages for cases
  where older versions would produce an error.
2010-04-25 01:40:39 +00:00
Thomas E. Dickey
614f0d6711 ncurses 5.7 - patch 20100417
+ modify _nc_capcmp() to work with cancelled strings.
+ correct translation of "^" in _nc_infotocap(), used to transform
  terminfo to termcap strings
+ add configure --disable-rpath-hack, to allow disabling the feature
  which adds rpath options for libraries in unusual places.
+ improve CF_RPATH_HACK_2 by checking if the rpath option for a given
  directory was already added.
+ improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
  directories (which will be ignored).
2010-04-18 01:13:38 +00:00
Thomas E. Dickey
10539f5afe ncurses 5.7 - patch 20100410
+ improve win_driver.c handling of mouse:
  + discard motion events
  + avoid calling _nc_timed_wait when there is a mouse event
  + handle 4th and "rightmost" buttons.
+ quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
  cases where there are embedded blanks in the rpath option.
2010-04-10 23:46:02 +00:00
Thomas E. Dickey
cf94c7485f ncurses 5.7 - patch 20100403
+ add configure check for exctags vs ctags, to work around pkgsrc.
+ simplify logic in _nc_get_screensize() to make it easier to see how
  environment variables may override system- and terminfo-values
  (prompted by discussion with Igor Bujna).
+ make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
+ improve handling of color-pairs embedded in attributes for the
  extended-colors configuration.
+ modify MKlib_gen.sh to build link_test with sp-funcs.
+ build-fixes for OpenSolaris aka Solaris 11, for wide-character
  configuration as well as for rpath feature in *-config scripts.
2010-04-04 01:26:17 +00:00
Thomas E. Dickey
94bd28fde2 ncurses 5.7 - patch 20100327
+ refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
  reusable.
+ improve configure CF_REGEX, similar fixes.
+ improve configure CF_FIND_LINKAGE, adding add check between system
  (default) and explicit paths, where we can find the entrypoint in the
  given library.
+ add check if Gpm_Open() returns a -2, e.g., for "xterm".  This is
  normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
  Ensure that Gpm_Close() is called in this case.
2010-03-28 00:37:08 +00:00
Thomas E. Dickey
155b34efd7 ncurses 5.7 - patch 20100320
+ rename atari and st52 terminfo entries to atari-old, st52-old, use
  newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan
  Hourihane).
2010-03-20 23:57:06 +00:00
Thomas E. Dickey
8c0ecb76c7 ncurses 5.7 - patch 20100313
+ modify install-rule for manpages so that *-config manpages will
  install when building with --srcdir (report by Sven Joachim).
+ modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
  option is not the same as --disable-leaks (GenToo #305889).
+ modify #define's for build-compiler to suppress cchar_t symbol from
  compile of make_hash and make_keys, improving cross-compilation of
  ncursesw (report by Bernhard Rosenkraenzer).
+ modify CF_MAN_PAGES configure macro to replace all occurrences of
  TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
  Kaseorg).
2010-03-13 21:18:05 +00:00
Thomas E. Dickey
d49a800c7f ncurses 5.7 - patch 20100306
+ generate manpages for the *-config scripts, adapted from help2man
  (suggested by Sven Joachim).
+ use va_copy() in _nc_printf_string() to avoid conflicting use of
  va_list value in _nc_printf_length() (report by Wim Lewis).
2010-03-07 00:37:08 +00:00
Thomas E. Dickey
677412a37f ncurses 5.7 - patch 20100227
+ add Ada95/configure script, to use in tar-file created by
  Ada95/make-tar.sh
+ fix typo in wresize.3x (patch by Tim van der Molen).
+ modify screen-bce.XXX entries to exclude ech, since screen's color
  model does not clear with color for that feature -TD
2010-02-28 01:35:06 +00:00
Thomas E. Dickey
4f10f7dff4 ncurses 5.7 - patch 20100220
+ add make-tar.sh scripts to Ada95 and test subdirectories to help with
  making those separately distributable.
+ build-fix for static libraries without dlsym (Debian #556378).
+ fix a syntax error in man/form_field_opts.3x (patch by Ingo
  Schwarze).
2010-02-21 02:19:47 +00:00
Thomas E. Dickey
06d92ef542 ncurses 5.7 - patch 20100213
+ add several screen-bce.XXX entries -TD
2010-02-13 23:54:33 +00:00
Thomas E. Dickey
626c294438 ncurses 5.7 - patch 20100206
+ update mrxvt terminfo entry -TD
+ modify win_driver.c to support mouse single-clicks.
+ correct name for termlib in ncurses*-config, e.g., if it is renamed
  to provide a single file for ncurses/ncursesw libraries (patch by
  Miroslav Lichvar).
2010-02-07 01:40:29 +00:00
Thomas E. Dickey
41068edef0 ncurses 5.7 - patch 20100130
+ use vfork in test/ditto.c if available (request by Mike Frysinger).
+ miscellaneous cleanup of manpages.
+ fix typo in curs_bkgd.3x (patch by Tim van der Molen).
+ build-fix for --srcdir (patch by Miroslav Lichvar).
2010-01-31 01:29:33 +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
c04d54322f ncurses 5.7 - patch 20100116
+ modify win_driver.c to initialize acs_map for win32 console, so
  that line-drawing works.
+ modify win_driver.c to initialize TERMINAL struct so that programs
  such as test/lrtest.c and test/ncurses.c which test string
  capabilities can run.
+ modify term-driver modules to eliminate forward-reference
  declarations.
2010-01-17 01:52:00 +00:00
Thomas E. Dickey
77afe78361 ncurses 5.7 - patch 20100109
+ modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
  consistently to add new -D's while removing duplicates.
+ modify a few configure macros to consistently put new options
  before older in the list.
+ add tiparm(), based on review of X/Open Curses Issue 7.
+ minor documentation cleanup.
+ update config.guess, config.sub from
	http://savannah.gnu.org/projects/config
  (caveat - its maintainer put 2010 copyright date on files dated 2009)
2010-01-10 01:50:23 +00:00
Thomas E. Dickey
40cf934fff ncurses 5.7 - patch 20100102
+ minor improvement to tic's checking of similar SGR's to allow for the
  most common case of SGR 0.
+ modify getmouse() to act as its documentation implied, returning on
  each call the preceding event until none are left.  When no more
  events remain, it will return ERR.
2010-01-03 02:07:10 +00:00
Thomas E. Dickey
2debf76e0c ncurses 5.7 - patch 20091227
+ change order of lookup in progs/tput.c, looking for terminfo data
  first.  This fixes a confusion between termcap "sg" and terminfo
  "sgr" or "sgr0", originally from 990123 changes, but exposed by
  20091114 fixes for hashing.  With this change, only "dl" and "ed" are
  ambiguous (Mandriva #56272).
2009-12-27 16:59:25 +00:00
Thomas E. Dickey
f36e772702 ncurses 5.7 - patch 20091226
+ add bterm terminfo entry, based on bogl 0.1.18 -TD
+ minor fix to rxvt+pcfkeys terminfo entry -TD
+ build-fixes for Ada95 tree for gnat 4.4 "style".
2009-12-27 02:37:03 +00:00
Thomas E. Dickey
99c50261a0 ncurses 5.7 - patch 20091219
+ remove old check in mvderwin() which prevented moving a derived
  window whose origin happened to coincide with its parent's origin
  (report by Katarina Machalkova).
+ improve test/ncurses.c to put mouse droppings in the proper window.
+ update minix terminfo entry -TD
+ add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
2009-12-20 02:23:49 +00:00
Thomas E. Dickey
3996fe0bf7 ncurses 5.7 - patch 20091212
+ correct transfer of multicolumn characters in multirow
  field_buffer(), which stopped at the end of the first row due to
  filling of unused entries in a cchar_t array with nulls.
+ updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
+ modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
  nulls.
+ use strdup() in set_menu_mark(), restore .marklen struct member on
  failure.
+ eliminate clause 3 from the UCB copyrights in read_termcap.c and
  tset.c per
	ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
  (patch by Nicholas Marriott).
+ replace a malloc in tic.c with strdup, checking for failure (patch by
  Nicholas Marriott).
+ update config.guess, config.sub from
	http://savannah.gnu.org/projects/config
2009-12-13 01:36:17 +00:00
Thomas E. Dickey
cb9a015f66 ncurses 5.7 - patch 20091205
+ correct layout of working window used to extract data in
  wide-character configured by set_field_buffer (patch by Rafael
  Garrido Fernandez)
+ improve some limit-checks related to filename length in reading and
  writing terminfo entries.
+ ensure that filename is always filled in when attempting to read
  a terminfo entry, so that infocmp can report the filename (patch
  by Nicholas Marriott).
2009-12-06 01:32:45 +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
f783dbd488 ncurses 5.7 - patch 20091114
+ updated man/curs_trace.3x
+ limit hashing for termcap-names to 2-characters (Ubuntu #481740).
+ change a variable name in lib_newwin.c to make it clearer which
  value is being freed on error (patch by Nicholas Marriott).
2009-11-15 02:00:17 +00:00
Thomas E. Dickey
f5da57ad7e ncurses 5.7 - patch 20091107
+ improve test/ncurses.c color-cycling test by reusing attribute-
  and color-cycling logic from the video-attributes screen.
+ add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
  library which help make it compatible with interop applications
  (patch by Juergen Pfeifer).
+ add configure option --enable-interop, for integrating changes
  for generic/interop support to form-library by Juergen Pfeifer
2009-11-08 00:45:43 +00:00
Thomas E. Dickey
fb24ca09ea ncurses 5.7 - patch 20091031
+ modify use of $CC environment variable which is defined by X/Open
  as a curses feature, to ignore it if it is not a single character
  (prompted by discussion with Benjamin C W Sittler).
+ add START_TRACE in slk_init
+ fix a regression in _nc_ripoffline which made test/ncurses.c not show
  soft-keys, broken in 20090927 merging.
+ change initialization of "hidden" flag for soft-keys from true to
  false, broken in 20090704 merging (Ubuntu #464274).
+ update nsterm entries (patch by Benjamin C W Sittler, prompted by
  discussion with Fabian Groffen in GenToo #206201).
+ add test/xterm-256color.dat
2009-11-01 01:07:09 +00:00
Thomas E. Dickey
3a0d9d27e0 ncurses 5.7 - patch 20091024
+ quiet some pedantic gcc warnings.
+ modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
  SIGWINCH, and discard that value, to avoid confusing application
  (patch by Eygene Ryabinkin, FreeBSD bin/136223).
2009-10-25 01:06:00 +00:00
Thomas E. Dickey
03cbf5c46f ncurses 5.7 - patch 20091017
+ modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
  a possibly colon-separated list (Debian #550716).
2009-10-17 13:00:00 +00:00
Thomas E. Dickey
59108c98bd ncurses 5.7 - patch 20091010
+ supply a null-terminator to buffer in _nc_viswibuf().
+ fix a sign-extension bug in unget_wch() (report by Mike Gran).
+ minor fixes to error-returns in default function for tputs, as well
  as in lib_screen.c
2009-10-11 00:32:49 +00:00
Thomas E. Dickey
2a250f30ac ncurses 5.7 - patch 20091003
+ add WACS_xxx definitions to wide-character configuration for thick-
  and double-lines (discussion with Slava Zanko).
+ remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
+ add ccc and initc capabilities to xterm-16color -TD
> patch by Benjamin C W Sittler:
+ add linux-16color
+ correct initc capability of linux-c-nc end-of-range
+ similar change for dg+ccc and dgunix+ccc
2009-10-04 00:56:38 +00:00
Thomas E. Dickey
322d0bb554 ncurses 5.7 - patch 20090927
+ move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
  that module since 20090711 is in libtinfo.
+ add configure option --enable-term-driver, to allow compiling with
  terminal-driver.  That is used in mingw port, and (being somewhat
  more complicated) is an experimental alternative to the conventional
  termlib internals.  Currently, it requires the sp-funcs feature to
  be enabled.
+ completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
  library (some work remains for forms library).
2009-09-20 00:37:00 +00:00
Thomas E. Dickey
9e3a472c06 ncurses 5.7 - patch 20090919
+ document return code from define_key (report by Mike Gran).
+ make some symbolic links in the terminfo directory-tree shorter
  (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
+ fix some groff warnings in terminfo.5, etc., from recent Debian
  changes.
+ change ncv and op capabilities in sun-color terminfo entry to match
  Sun's entry for this (report by Laszlo Peter).
+ improve interix smso terminfo capability by using reverse rather than
  bold (report by Kristof Zelechovski).
2009-09-20 00:37:00 +00:00
Thomas E. Dickey
3511767aa7 ncurses 5.7 - patch 20090912
+ add some test programs (and make these use the same special keys
  by sharing linedata.h functions):
  test/test_addstr.c
  test/test_addwstr.c
  test/test_addchstr.c
  test/test_add_wchstr.c
+ correct internal _nc_insert_ch() to use _nc_insert_wch() when
  inserting wide characters, since the wins_wch() function that it used
  did not update the cursor position (report by Ciprian Craciun).
2009-09-13 01:17:05 +00:00
Thomas E. Dickey
ce7b402c14 ncurses 5.7 - patch 20090906
+ fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
  work.
+ add null-pointer checks to other opaque-functions.
+ add is_pad() and is_subwin() functions for opaque access to WINDOW
  (discussion with Mark Dickinson).
+ correct merge to lib_newterm.c, which broke when sp-funcs was
  enabled.
2009-09-06 18:03:59 +00:00
Thomas E. Dickey
8fc9fa113b ncurses 5.7 - patch 20090905
+ build-fix for building outside source-tree (report by Sven Joachim).
+ fix Debian lintian warning for man/tabs.1 by making section number
  agree with file-suffix (report by Sven Joachim).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
2009-09-06 00:18:02 +00:00
Thomas E. Dickey
c8e187fc96 ncurses 5.7 - patch 20090829
+ workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
  amd64 (Debian #542031).
+ fix typo in curs_mouse.3x (Debian #429198).
2009-08-29 22:41:54 +00:00
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
bbb7fd3729 ncurses 5.7 - patch 20090815
+ correct use of terminfo capabilities for initializing soft-keys,
  broken in 20090509 merging.
+ modify wgetch() to ensure it checks SIGWINCH when it gets an error
  in non-blocking mode (patch by Clemens Ladisch).
+ use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
  help with builds on non-Unix platforms such as OS/2 EMX.
+ modify scripting for misc/run_tic.sh to test configure script's
  $cross_compiling variable directly rather than comparing host/build
  compiler names (prompted by comment in GenToo #249363).
+ fix configure script option --with-database, which was coded as an
  enable-type switch.
+ build-fixes for --srcdir (report by Frederic L W Meunier).
2009-08-16 00:18:43 +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