Commit Graph

31 Commits

Author SHA1 Message Date
Thomas E. Dickey
0819b56c30 ncurses 5.9 - patch 20150418
+ avoid a blank line in output from tabs program by ending it with
  a carriage return as done in FreeBSD (patch by James Clarke).
+ build-fix for the "--enable-ext-putwin" feature when not using
  wide characters (report by Werner Fink).
+ modify autoconf macros to use scripting improvement from xterm.
+ add -brtl option to compiler options on AIX 5-7, needed to link
  with the shared libraries.
+ add --with-extra-suffix option to help with installing nonconflicting
  ncurses6 packages, e.g., avoiding header- and library-conflicts.
  NOTE: as a side-effect, this renames
	  adacurses-config to adacurses5-config and
	  adacursesw-config to adacursesw5-config
+ modify debian/rules test package to suffix programs with "6".
+ clarify in curs_inopts.3x that window-specific settings do not
  inherit into new windows.
2015-04-19 00:05:38 +00:00
Thomas E. Dickey
73b54c0812 ncurses 5.9 - patch 20140802
+ minor portability fixes for MinGW:
  + ensure WINVER is defined in makefiles rather than using headers
  + add check for gnatprep "-T" option
  + work around bug introduced by gcc 4.8.1 in MinGW which breaks
    "trace" feature:
    http://stackoverflow.com/questions/20877689/gcc-4-8-1-minggw-d-option-does-not-work-as-usual
+ fix most compiler warnings for Cygwin ncurses-examples.
+ restore "redundant" -I options in test/Makefile.in, since they are
  typically needed when building the derived ncurses-examples package
  (cf: 20140726).
2014-08-03 01:14:25 +00:00
Thomas E. Dickey
bd0d93918c ncurses 5.9 - patch 20140607
+ separate masking for sgr in vidputs from sitm/ritm, which do not
  overlap with sgr functionality.
+ remove unneeded -i option from adacurses-config; put -a in the -I
  option for consistency (patch by Pascal Pignard).
+ update xterm-new to patch #305 -TD
+ change format of test-scripts for Debian Ada95 and ncurses-examples
  packages to quilted to work around Debian #700177 (cf: 20130907).
+ build fix for form_driver_w.c as part of ncurses-examples package for
  older ncurses than 20131207.
+ add Hello World example to adacurses-config manpage.
+ remove unused --enable-pc-files option from Ada95/configure.
+ add --disable-gnat-projects option for testing.
+ revert changes to Ada95 project-files configuration (cf: 20140524).
+ corrected usage message in adacurses-config.
2014-06-07 23:21:57 +00:00
Thomas E. Dickey
34d602f272 ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
  environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
  terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
  because the parameters to be incremented were already on the internal
  stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
  activate additional checks which compare the results from running
  tparm() on the terminfo expressions versus the translated termcap
  expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
  cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
  instead of <>.
+ samples/ncurses2-util.adb:  removed unused with clause.  The warning
  was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off).  The latter,
  available with older GNATs, needs no configure test.  This also
  replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling.  Using two parameters allows
  some basic formatting, and avoids a warning about security with some
  compiler flags.
+ for generated Ada sources, replace many snippets with one pure
  package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated.  As it
  was used in a case statement, values were tested by the Ada compiler
  to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 01:22:18 +00:00
Thomas E. Dickey
89407f55b3 ncurses 5.9 - patch 20131116
+ add special case to configure script to move _XOPEN_SOURCE_EXTENDED
  definition from CPPFLAGS to CFLAGS if it happens to be needed for
  Solaris, because g++ errors with that definition (report by
  Jean-Pierre Flori, Sage #15268).
+ correct logic in infocmp's -i option which was intended to ignore
  strings which correspond to function-keys as candidates for piecing
  together initialization- or reset-strings.  The problem dates to
  1.9.7a, but was overlooked until changes in -Wlogical-op warnings for
  gcc 4.8 (report by David Binderman).
+ updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, adding
  checks for -Wextra, -Wignored-qualifiers and -Wlogical-op
+ updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, moving
  checks for -Wextra and -Wdeclaration-after-statement into the macro,
  and adding checks for -Wignored-qualifiers, -Wlogical-op and
  -Wvarargs
+ updated CF_CURSES_UNCTRL_H and CF_SHARED_OPTS macros from ongoing
  work on cdk.
+ update config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2013-11-17 00:20:49 +00:00
Thomas E. Dickey
b802d89ac4 ncurses 5.9 - patch 20130907
+ build-fixes for MSYS for two test-programs (patches by Ray Donnelly,
  Alexey Pavlov).
+ revert change to two of the dpkg format files, to work with dpkg
  before/after Debian #700177.
+ fix gcc -Wconversion warning in wattr_get() macro.
+ add msys and msysdll to known host/configuration types (patch by
  Alexey Pavlov).
+ modify CF_RPATH_HACK configure macro to not rely upon "-u" option
  of sort, improving portability.
+ minor improvements for test-programs from reviewing Solaris port.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2013-09-08 00:00:20 +00:00
Thomas E. Dickey
fd52bfa497 ncurses 5.9 - patch 20130427
+ fix clang 3.2 warning in progs/dump_entry.c
+ drop AC_TYPE_SIGNAL check; ncurses relies on c89 and later.
2013-04-27 23:24:20 +00:00
Thomas E. Dickey
2403eaecbe ncurses 5.9 - patch 20130126
+ further fixes to mvcur to pass callback function (cf: 20130112),
  needed to make test/dots_mvcur work.
+ reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
  help reduce flicker.
+ modify configure script to omit "+b" from linker options for very
  old HP-UX systems (report by Dennis Grevenstein)
+ add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
  by Dennis Grevenstein).
+ restore memmove/strdup support for antique systems (request by
  Dennis Grevenstein).
+ change %l behavior in tparm to push the string length onto the stack
  rather than saving the formatted length into the output buffer
  (report by Roy Marples, cf: 980620).
2013-01-27 02:16:18 +00:00
Thomas E. Dickey
c3e8eb8e74 ncurses 5.9 - patch 20121006
+ improve CF_GCC_VERSION to work around Debian's customization of gcc
  --version message.
+ improve configure macros as done in byacc:
  + drop 2.13 compatibility; use 2.52.xxxx version only since EMX port
    has used that for a while.
  + add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e.,
    for experimental use.
  + remove unused configure macros.
+ modify configure script and makefiles to quiet new autoconf warning
  for LIBS_TO_MAKE variable.
+ modify configure script to show $PATH_SEPARATOR variable.
+ update config.guess, config.sub
2012-10-07 01:23:59 +00:00
Thomas E. Dickey
8789460c7a ncurses 5.9 - patch 20120505
+ remove p6 (bold) from opus3n1+ for consistency -TD
+ remove acs stuff from env230 per clues in Ingres termcap -TD
+ modify env230 sgr/sgr0 to match other capabilities -TD
+ modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
+ make sgr for dku7202 agree with other caps -TD
+ make sgr for ibmpc agree with other caps -TD
+ make sgr for tek4107 agree with other caps -TD
+ make sgr for ndr9500 agree with other caps -TD
+ make sgr for sco-ansi agree with other caps -TD
+ make sgr for d410 agree with other caps -TD
+ make sgr for d210 agree with other caps -TD
+ make sgr for d470c, d470c-7b agree with other caps -TD
+ remove redundant AC_DEFINE for NDEBUG versus Makefile definition.
+ fix a back-link in _nc_delink_entry(), which is needed if ncurses is
  configured with --enable-termcap and --disable-getcap.
2012-05-05 23:38:59 +00:00
Thomas E. Dickey
3e800f58dd ncurses 5.9 - patch 20120331
+ update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317).
+ correct order of use-clauses in st-256color -TD
+ modify configure script to look for gnatgcc if the Ada95 binding
  is built, in preference to the default gcc/cc (suggested by
  Nicolas Boulenguez).
+ modify configure script to ensure that the same -On option used for
  the C compiler in CFLAGS is used for ADAFLAGS rather than simply
  using -O3 (suggested by Nicolas Boulenguez)
2012-04-01 00:16:56 +00:00
Thomas E. Dickey
85b1a47885 ncurses 5.9 - patch 20120317
+ correct a check made in lib_napms.c, so that terminfo applications
  can again use napms() (cf: 20110604).
+ add a note in tic.h regarding required casts for ABSENT_BOOLEAN
  (cf: 20040327).
+ correct scripting for --disable-echo option in test/configure.
+ amend check for missing c++ compiler to work when no error is
  reported, and no variables set (cf: 20021206).
+ add/use configure macro CF_DISABLE_ECHO.
2012-03-18 00:14:18 +00:00
Thomas E. Dickey
a108bc76f2 ncurses 5.9 - patch 20120121
+ add --with-lib-prefix option to allow configuring for old/new flavors
  of OS/2 EMX.
+ modify check for gnat version to allow for year, as used in FreeBSD
  port.
+ modify check_existence() in db_iterator.c to simply check if the
  path is a directory or file, according to the need.  Checking for
  directory size also gives no usable result with OS/2 (cf: 20120107).
+ support OS/2 kLIBC (patch by KO Myung-Han).
2012-01-22 01:23:31 +00:00
Thomas E. Dickey
03f728e5bb ncurses 5.9 - patch 20111022
+ correct logic for discarding mouse events, retaining the partial
  events used to build up click, double-click, etc, until needed
  (cf: 20110917).
+ fix configure script to avoid creating unused Ada95 makefile when
  gnat does not work.
+ cleanup width-related gcc 3.4.3 warnings for 64-bit platform, for the
  internal functions of libncurses.  The external interface of courses
  uses bool, which still produces these warnings.
2011-10-23 01:04:18 +00:00
Thomas E. Dickey
22fd3b2368 ncurses 5.9 - patch 20110924
+ modify _nc_read_tic_entry() so that hashed-database is checked before
  filesystem.
+ updated CF_CURSES_LIBS check in test/configure script.
+ modify configure script and makefiles to split TIC_ARGS and
  TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables,
  to help separate searches for tic- and tinfo-libraries (patch by Nick
  Alcock aka "Nix").
+ build-fix for lib_mouse.c changes (ch: 20110917).
2011-09-24 23:21:18 +00:00
Thomas E. Dickey
3c19a91c36 ncurses 5.9 - patch 20110910
+ modify misc/gen_edit.sh to select a "linux" entry which works with
  the current kernel rather than assuming it is always "linux3.0"
  (cf: 20110716).
+ revert a change to getmouse() which had the undesirable side-effect
  of suppressing button-release events (report by Damien Guibouret,
  cf: 20100102).
+ add xterm+kbs fragment from xterm #272 -TD
+ add configure option --with-pkg-config-libdir to provide control over
  the actual directory into which pc-files are installed, do not use
  the pkg-config environment variables (discussion with Frederic L W
  Meunier).
+ add link to mailing-list archive in announce.html.in, as done in
  FAQ (prompted by question by Andrius Bentkus).
+ improve manpage install by adjusting the "#include" examples to
  show the ncurses-subdirectory used when --disable-overwrite option
  is used.
+ install an alias for "curses" to the ncurses manpage, tied to the
  --with-curses-h configure option (suggested by Reuben Thomas).
2011-09-11 01:26:11 +00:00
Thomas E. Dickey
d6509484bd ncurses 5.9 - patch 20110716
+ replace an assert() in _nc_Free_Argument() with a regular null
  pointer check (report/analysis by Franjo Ivancic).
+ modify configure --enable-pc-files option to take into account the
  PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
+ add/use xterm+tmux chunk from xterm #271 -TD
+ resync xterm-new entry from xterm #271 -TD
+ add E3 extended capability to linux-basic (Miroslav Lichvar)
+ add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
+ add SI/SO change to linux2.6 entry (Debian #515609) -TD
+ fix inconsistent tabset path in pcmw (Todd C. Miller).
+ remove a backslash which continued comment, obscuring altos3
  definition with OpenBSD toolset (Nicholas Marriott).
2011-07-17 00:59:52 +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
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
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
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
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