Commit Graph

408 Commits

Author SHA1 Message Date
Thomas E. Dickey
82035cb9d3 ncurses 5.7 - patch 20101128
+ modify test/configure and test/Makefile.in to handle this special
  case of building within a build-tree (Debian #34182):
	mkdir -p build && cd build && ../test/configure && make
2010-11-28 18:37:37 +00:00
Thomas E. Dickey
c340bf75ca ncurses 5.7 - patch 20101127
+ miscellaneous build-fixes for Ada95 and test-directories when built
  out-of-tree.
+ use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
+ fix typo in rmso for tek4106 entry -Goran Weinholt
2010-11-28 00:33:36 +00:00
Thomas E. Dickey
92e599aba4 ncurses 5.7 - patch 20101120
+ improve checks in test/configure for X libraries, from xterm #267
  changes.
+ modify test/configure to allow it to use the build-tree's libraries
  e.g., when using that to configure the test-programs without the
  rpath feature (request by Sven Joachim).
+ repurpose "gnome" terminfo entries as "vte", retaining "gnome" items
  for compatibility, but generally deprecating those since the VTE
  library is what actually defines the behavior of "gnome", etc.,
  since 2003 -TD
2010-11-20 23:49:50 +00:00
Thomas E. Dickey
52aa842907 ncurses 5.7 - patch 20101113
+ compiler warning fixes for test programs.
+ various build-fixes for test-programs with pdcurses.
+ updated configure checks for X packages in test/configure from xterm
  #267 changes.
+ add configure check to gnatmake, to accommodate cygwin.
2010-11-14 01:43:00 +00:00
Thomas E. Dickey
90e3b6f9d5 ncurses 5.7 - patch 20101106
+ correct list of sub-directories needed in Ada95 tree for building as
  a separate package.
+ modify scripts in test-directory to improve builds as a separate
  package.
2010-11-06 23:26:17 +00:00
Thomas E. Dickey
b35ecb17e0 ncurses 5.7 - patch 20101023
+ correct parsing of relative tab-stops in tabs program (report by
  Philip Ganchev).
+ adjust configure script so that "t" is not added to library suffix
  when weak-symbols are used, allowing the pthread configuration to
  more closely match the non-thread naming (report by Werner Fink).
+ modify configure check for tic program, used for fallbacks, to a
  warning if not found.  This makes it simpler to use additonal
  scripts to bootstrap the fallbacks code using tic from the build
  tree (report by Werner Fink).
+ fix several places in configure script using ${variable-value} form.
+ modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
  which do not support selectively linking against static libraries
  (report by John P. Hartmann)
+ fix an unescaped dash in man/tset.1 (report by Sven Joachim).
2010-10-24 00:27:42 +00:00
Thomas E. Dickey
f7340994c9 ncurses 5.7 - patch 20101009
+ correct comparison used for setting 16-colors in linux-16color
  entry (Novell #644831) -TD
+ improve linux-16color entry, using "dim" for color-8 which makes it
  gray rather than black like color-0 -TD
+ drop misc/ncu-indent and misc/jpf-indent; they are provided by an
  external package "cindent".
2010-10-09 21:07:05 +00:00
Thomas E. Dickey
cef50b3afc ncurses 5.7 - patch 20101002
+ improve linkages in html manpages, adding references to the newer
  pages, e.g., *_variables, curs_sp_funcs, curs_threads.
+ add checks in tic for inconsistent cursor-movement controls, and for
  inconsistent printer-controls.
+ fill in no-parameter forms of cursor-movement where a parameterized
  form is available -TD
+ fill in missing cursor controls where the form of the controls is
  ANSI -TD
+ fix inconsistent punctuation in form_variables manpage (patch by
  Sven Joachim).
+ add parameterized cursor-controls to linux-basic (report by Dae) -TD
> patch by Juergen Pfeifer:
+ document how to build 32-bit libraries in README.MinGW
+ fixes to filename computation in mk-dlls.sh.in
+ use POSIX locale in mk-dlls.sh.in rather than en_US (report by Sven
  Joachim).
+ add a check in mk-dlls.sh.in to obtain the size of a pointer to
  distinguish between 32-bit and 64-bit hosts.  The result is stored
  in mingw_arch
2010-10-03 00:50:21 +00:00
Thomas E. Dickey
36b653e854 ncurses 5.7 - patch 20100925
+ add "XT" capability to entries for terminals that support both
  xterm-style mouse- and title-controls, for "screen" which
  special-cases TERM beginning with "xterm" or "rxvt" -TD
> patch by Juergen Pfeifer:
+ use 64-Bit MinGW toolchain (recommended package from TDM, see
  README.MinGW).
+ support pthreads when using the TDM MinGW toolchain
2010-09-26 01:21:45 +00:00
Thomas E. Dickey
0ac2306dd3 ncurses 5.7 - patch 20100918
+ regenerated html manpages.
+ minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages.
+ add manpage for sp-funcs.
+ add sp-funcs to test/listused.sh, for documentation aids.
2010-09-19 00:45:46 +00:00
Thomas E. Dickey
d448186ac2 ncurses 5.7 - patch 20100911
+ add manpages for summarizing public variables of curses-, terminfo-
  and form-libraries.
+ minor fixes to manpages for consistency (patch by Jason McIntyre).
+ modify tic's -I/-C dump to reformat acsc strings into canonical form
  (sorted, unique mapping) (cf: 971004).
+ add configure check for pthread_kill(), needed for some old
  platforms.
2010-09-12 00:58:29 +00:00
Thomas E. Dickey
275aeb5889 ncurses 5.7 - patch 20100904
+ add configure option --without-tests, to suppress building test
  programs (request by Frederic L W Meunier).
2010-09-05 01:24:19 +00:00
Thomas E. Dickey
d4ff840fdd ncurses 5.7 - patch 20100828
+ modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD
+ add check in terminfo source-reader to provide more informative
  message when someone attempts to run tic on a compiled terminal
  description (prompted by Debian #593920).
+ note in infotocap and captoinfo manpages that they read terminal
  descriptions from text-files (Debian #593920).
+ improve acsc string for vt52, show arrow keys (patch by Benjamin
  Sittler).
2010-08-29 00:20:14 +00:00
Thomas E. Dickey
9bb12d03d8 ncurses 5.7 - patch 20100814
+ document in manpages that "mv" functions first use wmove() to check
  the window pointer and whether the position lies within the window
  (suggested by Poul-Henning Kamp).
+ fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch
  by Tim van der Molen).
+ modify configure script to transform library names for tic- and
  tinfo-libraries so that those build properly with Mac OS X shared
  library configuration.
+ modify configure script to ensure that it removes conftest.dSYM
  directory leftover on checks with Mac OS X.
+ modify configure script to cleanup after check for symbolic links.
2010-08-15 00:45:51 +00:00
Thomas E. Dickey
da518a7ad2 ncurses 5.7 - patch 20100807
+ correct a typo in mk-1st.awk (patch by Gabriele Balducci)
  (cf: 20100724)
+ improve configure checks for location of tic and infocmp programs
  used for installing database and for generating fallback data,
  e.g., for cross-compiling.
+ add Markus Kuhn's wcwidth function for compiling MinGW
+ add special case to CF_REGEX for cross-compiling to MinGW target.
2010-08-08 00:55:18 +00:00
Thomas E. Dickey
71c0306f08 ncurses 5.7 - patch 20100731
+ modify initialization check for win32con driver to eliminate need for
  special case for TERM "unknown", using terminal database if available
  (prompted by discussion with Roumen Petrov).
+ for MinGW port, ensure that terminal driver is setup if tgetent()
  is called (patch by Roumen Petrov).
+ document tabs "-0" and "-8" options in manpage.
+ fix Debian "lintian" issues with manpages reported in
  http://lintian.debian.org/full/csmall@debian.org.html#ncurses
2010-08-01 00:45:28 +00:00
Thomas E. Dickey
d96f3e9b8a ncurses 5.7 - patch 20100724
+ add a check in tic for missing set_tab if clear_all_tabs given.
+ improve use of symbolic links in makefiles by using "-f" option if
  it is supported, to eliminate temporary removal of the target
  (prompted by http://www.t2-project.org/packages/ncurses.html)
+ minor improvement to test/ncurses.c, reset color pairs in 'd' test
  after exit from 'm' main-menu command.
+ improved ncu-indent, from mawk changes, allows more than one of
  GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line.
+ add hard-reset for rs2 to wsvt25 to help ensure that reset ends
2010-07-25 01:01:36 +00:00
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