Commit Graph

584 Commits

Author SHA1 Message Date
Thomas E. Dickey
d1a026123a ncurses 5.9 - patch 20110528
+ add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
+ used ncurses/link_test to check for behavior when the terminal has
  not been initialized and when an application passes null pointers
  to the library.  Added checks to cover this (prompted by Redhat
  #707344).
+ modify MKlib_gen.sh to make its main() function call each function
  with zero parameters, to help find inconsistent checking for null
  pointers, etc.
2011-05-29 00:20:42 +00:00
Thomas E. Dickey
c120fddebe ncurses 5.9 - patch 20110521
+ fix warnings from clang 2.7 "--analyze"
2011-05-22 00:54:42 +00:00
Thomas E. Dickey
3f20704179 ncurses 5.9 - patch 20110514
+ compiler-warning fixes in panel and progs.
+ modify CF_PKG_CONFIG macro, from changes to tin -TD
+ modify CF_CURSES_FUNCS configure macro, used in test directory
  configure script:
  + work around (non-optimizer) bug in gcc 4.2.1 which caused
    test-expression to be omitted from executable.
  + force the linker to see a link-time expression of a symbol, to
    help work around weak-symbol issues.
2011-05-15 00:38:25 +00:00
Thomas E. Dickey
cecf066335 ncurses 5.9 - patch 20110507
+ update discussion of MKfallback.sh script in INSTALL; normally the
  script is used automatically via the configured makefiles.  However
  there are still occasions when it might be used directly by packagers
  (report by Gunter Schaffler).
+ modify misc/ncurses-config.in to omit the "-L" option from the
  "--libs" output if the library directory is /usr/lib.
+ change order of tests for curses.h versus ncurses.h headers in the
  configure scripts for Ada95 and test-directories, to look for
  ncurses.h, from fixes to tin -TD
+ modify ncurses/tinfo/access.c to account for Tandem's root uid
  (report by Joachim Schmitz).
2011-05-08 00:57:14 +00:00
Thomas E. Dickey
e460260b42 ncurses 5.9 - patch 20110430
+ modify rules in Ada95/src/Makefile.in to ensure that the PIC option
  is not used when building a static library (report by Nicolas
  Boulenguez):
+ Ada95 build-fix for big-endian architectures such as sparc.  This
  undoes one of the fixes from 20110319, which added an "Unused" member
  to representation clauses, replacing that with pragmas to suppress
  warnings about unused bits (patch by Nicolas Boulenguez):
2011-05-01 00:43:48 +00:00
Thomas E. Dickey
950eed9ace ncurses 5.9 - patch 20110423
+ add check in test/configure for use_window, use_screen.
+ add configure-checks for getopt's variables, which may be declared
  as different types on some Unix systems.
+ add check in test/configure for some legacy curses types of the
  function pointer passed to tputs().
+ modify init_pair() to accept -1's for color value after
  assume_default_colors() has been called (Debian #337905).
+ modify test/background.c, adding commmand-line options to demonstrate
  assume_default_colors() and use_default_colors().
2011-04-24 00:53:45 +00:00
Thomas E. Dickey
48c8a4fe45 ncurses 5.9 - patch 20110416
+ modify configure script/source-code to only define _POSIX_SOURCE if
  the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
  and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
+ update config.guess, config.sub
2011-04-16 19:26:53 +00:00
Thomas E. Dickey
e8685f5e41 ncurses 5.9 - patch 20110409
+ fixes to build c++ binding with clang 3.0 (patch by Alexander
  Kolesen).
+ add check for unctrl.h in test/configure, to work around breakage in
  some ncurses packages.
+ add "--disable-widec" option to test/configure script.
+ add "--with-curses-colr" and "--with-curses-5lib" options to the
  test/configure script to address testing with very old machines.
2011-04-10 00:33:46 +00:00
Thomas E. Dickey
9de646fe8f ncurses 5.9 - patch 20110404 2011-04-04 22:59:59 +00:00
Thomas E. Dickey
d91d170b30 ncurses 5.8 - patch 20110402
+ various build-fixes for the rpm/dpkg scripts.
+ add "--enable-rpath-link" option to Ada95/configure, to allow
  packages to suppress the rpath feature which is normally used for
  the in-tree build of sample programs.
+ corrected definition of libdir variable in Ada95/src/Makefile.in,
  needed for rpm script.
+ add "--with-shared" option to Ada95/configure script, to allow
  making the C-language parts of the binding use appropriate compiler
  options if building a shared library with gnat.
2011-04-02 19:23:53 +00:00
Thomas E. Dickey
362db2575a ncurses 5.8 - patch 20110329
> portability fixes for Ada95 binding:
+ add configure check to ensure that SIGINT works with gnat.  This is
  needed for the "rain" sample program.  If SIGINT does not work, omit
  that sample program.
+ correct typo in check of $PKG_CONFIG variable in Ada95/configure
+ add ncurses_compat.c, to supply functions used in the Ada95 binding
  which were added in 5.7 and later.
+ modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
  upon GNU sed.
2011-03-29 10:57:44 +00:00
Thomas E. Dickey
2b635f090e ncurses 5.8 - patch 20110326
+ add special check in Ada95/configure script for ncurses6 reentrant
  code.
+ regen Ada html documentation.
+ build-fix for Ada shared libraries versus the varargs workaround.
+ add rpm and dpkg scripts for Ada95 and test directories, for test
  builds.
+ update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
  CF_X_ATHENA_LIBS.
+ add configure check to determine if gnat's project feature supports
  libraries, i.e., collections of .ali files.
+ make all dereferences in Ada95 samples explicit.
+ fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
+ add configure check for, ifdef's for math.h which is in a separate
  package on Solaris and potentially not installed (report by Petr
  Pavlu).
> fixes for Ada95 binding (Nicolas Boulenguez):
+ improve type-checking in Ada95 by eliminating a few warning-suppress
  pragmas.
+ suppress unreferenced warnings.
+ make all dereferences in binding explicit.
2011-03-27 01:06:46 +00:00
Thomas E. Dickey
9776951416 ncurses 5.8 - patch 20110319
+ regen Ada html documentation.
+ change order of -I options from ncurses*-config script when the
  --disable-overwrite option was used, so that the subdirectory include
  is listed first.
+ modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
+ modify configure script to provide value for HTML_DIR in
  Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
  distributed separately (report by Nicolas Boulenguez).
+ modify configure script to add -g and/or -O3 to ADAFLAGS if the
  CFLAGS for the build has these options.
+ amend change from 20070324, to not add 1 to the result of getmaxx
  and getmaxy in the Ada binding (report by Nicolas Boulenguez for
  thread in comp.lang.ada).
+ build-fix Ada95/samples for gnat 4.5
+ spelling fixes for Ada95/samples/explain.txt
> fixes for Ada95 binding (Nicolas Boulenguez):
+ add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
+ add workaround for binding to set_field_type(), which uses varargs.
  The original binding from 990220 relied on the prevalent
  implementation of varargs which did not support or need va_copy().
+ add dependency on gen/Makefile.in needed for *-panels.ads
+ add Library_Options to library.gpr
+ add Languages to library.gpr, for gprbuild
2011-03-20 00:59:06 +00:00
Thomas E. Dickey
687aeec3e3 ncurses 5.8 - patch 20110307
+ revert changes to limit-checks from 20110122 (Debian #616711).
> minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
+ corrected a minor sign error in a field of Low_Level_Field_Type, to
  conform to form.h.
+ replaced C_Int by Curses_Bool as return type for some callbacks, see
  fieldtype(3FORM).
+ modify samples/sample-explain.adb to provide explicit message when
  explain.txt is not found.
2011-03-08 02:01:18 +00:00
Thomas E. Dickey
9817912d80 ncurses 5.8 - patch 20110305
+ improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
+ fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
  for compiler warnings (report by Nicolas Boulenguez).
+ modify Ada95/gen/gen.c to declare unused bits in generated layouts,
  needed to compile when chtype is 64-bits using gnat 4.4.5
2011-03-07 10:49:20 +00:00
Thomas E. Dickey
f86cbeb5f9 ncurses 5.8 - patch 20110226
+ update release notes, for 5.8.
+ regenerated html manpages.
+ change open() in _nc_read_file_entry() to fopen() for consistency
  with write_file().
+ modify misc/run_tic.in to create parent directory, in case this is
  a new install of hashed database.
+ fix typo in Ada95/mk-1st.awk which causes error with original awk.
+ add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
2011-02-26 20:51:01 +00:00
Thomas E. Dickey
90ffd62494 ncurses 5.7 - patch 20110220
+ configure script rpath fixes from xterm #269.
+ workaround for cygwin's non-functional features.h, to force ncurses'
  configure script to define _XOPEN_SOURCE_EXTENDED when building
  wide-character configuration.
+ build-fix in run_tic.sh for OS/2 EMX install
+ add cons25-debian entry (patch by Brian M Carlson, Debina #607662).
2011-02-21 02:00:14 +00:00
Thomas E. Dickey
da5e7c6148 ncurses 5.7 - patch 20110212
+ regenerated html manpages.
+ use _tracef() in show_where() function of tic, to work correctly with
  special case of trace configuration.
2011-02-13 01:16:30 +00:00
Thomas E. Dickey
8639fbcc9f ncurses 5.7 - patch 20110205
+ add xterm-utf8 entry as a demo of the U8 feature -TD
+ add U8 feature to denote entries for terminal emulators which do not
  support VT100 SI/SO when processing UTF-8 encoding -TD
+ improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
  extended terminfo capability U8 (prompted by mailing list
  discussion).
2011-02-06 02:33:36 +00:00
Thomas E. Dickey
70322aa06a ncurses 5.7 - patch 20110122
+ start documenting interface changes for upcoming 5.8 release.
+ correct limit-checks in derwin().
+ correct limit-checks in newwin(), to ensure that windows have nonzero
  size (report by Garrett Cooper).
+ fix a missing "weak" declaration for pthread_kill (patch by Nicholas
  Alcock).
+ improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
  by discussion with Kevin Martin).
2011-01-23 01:23:10 +00:00
Thomas E. Dickey
b040313679 ncurses 5.7 - patch 20110115
+ modify Ada95/configure script to make the --with-curses-dir option
  work without requiring the --with-ncurses option.
+ modify test programs to allow them to be built with NetBSD curses.
+ document thick- and double-line symbols in curs_add_wch.3x manpage.
+ document WACS_xxx constants in curs_add_wch.3x manpage.
+ fix some warnings for clang 2.6 "--analyze"
+ modify Ada95 makefiles to make html-documentation with the project
  file configuration if that is used.
+ update config.guess, config.sub
2011-01-16 01:24:20 +00:00
Thomas E. Dickey
3a935d9991 ncurses 5.7 - patch 20110108
+ regenerated html manpages.
+ minor fixes to enable lint when trace is not enabled, e.g., with
  clang --analyze.
+ fix typo in man/default_colors.3x (patch by Tim van der Molen).
+ update ncurses/llib-lncurses*
2011-01-09 01:17:12 +00:00
Thomas E. Dickey
b87ec59eb4 ncurses 5.7 - patch 20110101
+ fix remaining strict compiler warnings in ncurses library ABI=5,
  except those dealing with function pointers, etc.
2011-01-02 01:08:28 +00:00
Thomas E. Dickey
f79b52fddd ncurses 5.7 - patch 20101225
+ modify nc_tparm.h, adding guards against repeated inclusion, and
  allowing TPARM_ARG to be overridden.
+ fix some strict compiler warnings in ncurses library.
2010-12-26 01:22:11 +00:00
Thomas E. Dickey
aa4fd77b76 ncurses 5.7 - patch 20101211
+ suppress ncv in screen entry, allowing underline (patch by Alejandro
  R Sedeno).
+ also suppress ncv in konsole-base -TD
+ fixes in wins_nwstr() and related functions to ensure that special
  characters, i.e., control characters are handled properly with the
  wide-character configuration.
+ correct a comparison in wins_nwstr() (Redhat #661506).
+ correct help-messages in some of the test-programs, which still
  referred to quitting with 'q'.
2010-12-12 01:44:54 +00:00
Thomas E. Dickey
96d6b16de0 ncurses 5.7 - patch 20101204
+ add special case to _nc_infotocap() to recognize the setaf/setab
  strings from xterm+256color and xterm+88color, and provide a reduced
  version which works with termcap.
+ remove obsolete emacs "Local Variables" section from documentation
  (request by Sven Joachim).
+ update doc/html/index.html to include NCURSES-Programming-HOWTO.html
  (report by Sven Joachim).
2010-12-04 21:15:53 +00:00
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