Commit Graph

541 Commits

Author SHA1 Message Date
Thomas E. Dickey
646aa4040e ncurses 6.0 - patch 20161001
+ add -W option to tic/infocmp to force long strings to wrap.  This is
  in addition to the -w option which attempts to fit capabilities into
  a given line-length.
+ add linux-m1 minitel entries (patch by Alexandre Montaron).
+ correct rs2 string for vt100-nam -TD
2016-10-02 01:31:28 +00:00
Thomas E. Dickey
1b84471a41 ncurses 6.0 - patch 20160924
+ modify _nc_tic_expand to escape comma if it immediately follows a
  percent sign, to work with minitel change.
+ updated minitel and viewdata descriptions (Alexandre Montaron).
2016-09-24 23:30:47 +00:00
Thomas E. Dickey
89175dffb0 ncurses 6.0 - patch 20160917
+ build-fix for gnat6, which unhelpfully attempts to compile C files.
+ fix typo in 20160910 changes (Debian #837892, patch by Sven Joachim).
2016-09-18 02:03:51 +00:00
Thomas E. Dickey
e2e9c09c48 ncurses 6.0 - patch 20160910
+ trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
  Leon Winter).
+ trim some obsolete/incorrect wording about EINTR from wgetch manual
  page (patch by Leon Winter).
+ really correct 20100515 change (patch by Rich Coe).
+ add "--enable-string-hacks" option to test/configure
+ completed string-hacks for "sprintf", etc., including test-programs.
+ make "--enable-string-hacks" work with Debian by checking for the
  "bsd" library and its associated "<bsd/string.h>" header.
2016-09-11 01:24:00 +00:00
Thomas E. Dickey
bdb754b9f0 ncurses 6.0 - patch 20160903
+ correct 20100515 change for weak signals versus sigprocmask (report
  by Rich Coe).
+ modify misc/Makefile.in to work around OpenBSD "make" which unlike
  all other versions of "make" does not recognize continuation lines
  of comments.
+ amend the last change to CF_C_ENV_FLAGS to move only the
  preprocessor, optimization and warning flags to CPPFLAGS and CFLAGS,
  leaving the residue in CC.  That happens to work for gcc's various
  "model" options, but may require tuning for other compilers (report
  by Sven Joachim).
2016-09-04 02:05:36 +00:00
Thomas E. Dickey
4d01f5de85 ncurses 6.0 - patch 20160827
+ add "v" menu entry to test/ncurses.c to show baudrate and other
  values.
+ add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c,
  lib_baudrate.c
+ modify CF_XOPEN_SOURCE macro:
  + add "uclinux" to case for "linux" (patch by Yann E. Morin)
  + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5
    (patch by Corinna Vinschen, from changes to tin).
+ improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
  as "ccache" (report by Enrico Scholz).
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2016-08-28 01:39:30 +00:00
Thomas E. Dickey
29a36e53e1 ncurses 6.0 - patch 20160820
+ update tput manual page to reflect changes to manipulate terminal
  modes by sharing functions with tset.
+ add the terminal-mode parts of "reset" (aka tset) to the "tput reset"
  command, making the two almost the same except for window-size.
+ adapt logic used in dialog "--keep-tite" option for test/filter.c as
  "-a" option.  When set, test/filter attempts to suppress the
  alternate screen.
+ correct a typo in interix entry -TD
2016-08-21 01:36:58 +00:00
Thomas E. Dickey
4298026c68 ncurses 6.0 - patch 20160813
+ add a dependency upon generated-sources in Ada95/src/Makefile.in to
  handle a case of "configure && make install".
+ trim trailing blanks from include/Caps*, to work around a problem
  in sed (Debian #818067).
2016-08-14 02:00:38 +00:00
Thomas E. Dickey
96592d7171 ncurses 6.0 - patch 20160806
+ improve CF_GNU_SOURCE configure macro to optionally define
  _DEFAULT_SOURCE work around a nuisance in recent glibc releases.
+ move the terminfo-specific parts of tput's "reset" function into
  the shared reset_cmd.c, making the two forms of reset use the same
  strings.
+ split-out the terminal initialization functions from tset as
  progs/reset_cmd.c, as part of changes to merge the reset-feature
  with tput.
2016-08-07 01:26:32 +00:00
Thomas E. Dickey
aa70bf3c76 ncurses 6.0 - patch 20160730
+ change tset's initialization to allow it to get settings from the
  standard input as well as /dev/tty, to be more effective when
  output or error are redirected.
+ improve discussion of history and portability for tset/reset/tput
  manual pages.
2016-07-30 22:26:22 +00:00
Thomas E. Dickey
59c1a9740d ncurses 6.0 - patch 20160723
+ improve error message from tset/reset when both stderr/stdout are
  redirected to a file or pipe.
+ improve organization of curs_attr.3x, curs_color.3x
2016-07-24 00:45:26 +00:00
Thomas E. Dickey
53ea71aa10 ncurses 6.0 - patch 20160709
+ work around Debian's antique/unmaintained version of mawk when
  building link_test.
+ improve test/list_keys.c, showing ncurses's convention of modifiers
  for special keys, based on xterm.
2016-07-09 22:50:56 +00:00
Thomas E. Dickey
3353ecc7ed ncurses 6.0 - patch 20160702
+ improve test/list_keys.c, using $TERM if no parameters areg given.
2016-07-03 00:26:06 +00:00
Thomas E. Dickey
3e0f770501 ncurses 6.0 - patch 20160625
+ build-fixes for ncurses "test_progs" rule.
+ amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
  work (report by Sven Joachim).
2016-06-26 01:11:40 +00:00
Thomas E. Dickey
692356778a ncurses 6.0 - patch 20160618
+ build-fixes for ncurses-examples with NetBSD curses.
+ improve test/list_keys.c, fixing column-widths and sorting the list
  to make it more readable.
2016-06-19 01:16:22 +00:00
Thomas E. Dickey
603f0cb25b ncurses 6.0 - patch 20160611
+ revise fix for Debian #805618 (report by Vlado Potisk, cf: 20151128).
+ modify test/ncurses.c a/A screens to make exiting on an escape
  character depend on the start of keypad and timeout modes, to allow
  better testing of function-keys.
+ modify rs1 for xterm-16color, xterm-88color and xterm-256color to
  reset palette using "oc" string as in linux -TD
+ use ANSI reply for u8 in xterm-new, to reflect vt220-style responses
  that could be returned -TD
+ added a few capabilities fixed in recent vte -TD
2016-06-12 00:45:07 +00:00
Thomas E. Dickey
bf66beed16 ncurses 6.0 - patch 20160604
+ correct logic for -f option in test/demo_terminfo.c
+ add test/list_keys.c
2016-06-05 01:19:49 +00:00
Thomas E. Dickey
76a4793373 ncurses 6.0 - patch 20160528
+ further workaround for PIE/PIC breakage which causes gpm to not link.
+ fix most cppcheck warnings, mostly style, in ncurses library.
2016-05-29 02:00:14 +00:00
Thomas E. Dickey
56f1e8cd80 ncurses 6.0 - patch 20160521
+ improved manual page description of tset/reset versus window-size.
+ fixes to work with a slightly broken compiler configuration which
  cannot compile "Hello World!" without adding compiler options
  (report by Ola x Nilsson):
  + pass appropriate compiler options to the CF_PROG_CC_C_O macro.
  + when separating compiler and options in CF_CC_ENV_FLAGS, ensure
    that all options are split-off into CFLAGS or CPPFLAGS
  + restore some -I options removed in 20140726 because they appeared
    to be redundant.  In fact, they are needed for a compiler that
    cannot combine -c and -o options.
2016-05-22 00:49:17 +00:00
Thomas E. Dickey
5dbe81a41e ncurses 6.0 - patch 20160514
+ regenerate HTML manpages.
+ improve manual pages for wgetch and wget_wch to point out that they
  might return values without names in curses.h (Debian #822426).
+ make linux3.0 entry the default linux entry (Debian #823658) -TD
+ modify linux2.6 entry to improve line-drawing so that the linux3.0
  entry can be used in non-UTF-8 mode -TD
+ document return value of use_extended_names (report by Mike Gran).
2016-05-15 01:40:05 +00:00
Thomas E. Dickey
5c085efbe3 ncurses 6.0 - patch 20160507
+ amend change to _nc_do_color to restore the early return for the
  special case used in _nc_screen_wrap (report by Dick Streefland,
  cf: 20151017).
+ modify test/ncurses.c:
  + check return-value of putwin
  + correct ifdef which made the 'g' test's legend not reflect changes
    to keypad- and scroll-modes.
+ correct return-value of extended putwin (report by Mike Gran).
2016-05-08 00:34:20 +00:00
Thomas E. Dickey
4b386ffba9 ncurses 6.0 - patch 20160423
+ modify test/ncurses.c 'd' edit-color menu to optionally read xterm
  color palette directly from terminal, as well as handling KEY_RESIZE
  and screen-repainting with control/L and control/R.
+ add 'oc' capability to xterm+256color, allowing palette reset for
  xterm -TD
2016-04-24 01:26:19 +00:00
Thomas E. Dickey
5723efe1a5 ncurses 6.0 - patch 20160416
+ add workaround in configure script for inept transition to PIE vs
  PIC builds documented in
	  https://fedoraproject.org/wiki/Changes/Harden_All_Packages
+ add "reset" to list of programs whose names might change in manpages
  due to program-transformation configure options.
+ drop long-obsolete "-n" option from tset.
2016-04-17 01:32:24 +00:00
Thomas E. Dickey
11dcb05d1b ncurses 6.0 - patch 20160409
+ modify test/blue.c to use Unicode values for card-glyphs when
  available, as well as improving the check for CP437 and CP850.
2016-04-10 00:35:23 +00:00
Thomas E. Dickey
092f1e4b79 ncurses 6.0 - patch 20160402
+ regenerate HTML manpages.
+ improve manual pages for utilities with respect to POSIX versus
  X/Open Curses.
2016-04-03 01:37:30 +00:00
Thomas E. Dickey
2a32bee362 ncurses 6.0 - patch 20160326
+ regenerate HTML manpages.
+ improve test/demo_menus.c, allowing mouse-click on the menu-headers
  to switch the active menu.  This requires a new extension option
  O_MOUSE_MENU to tell the menu driver to put mouse events which do not
  apply to the active menu back into the queue so that the application
  can handle the event.
2016-03-27 01:05:59 +00:00
Thomas E. Dickey
c72b2c2c48 ncurses 6.0 - patch 20160319
+ improve description of tgoto parameters (report by Steffen Nurpmeso).
+ amend workaround for Solaris line-drawing to restore a special case
  that maps Unicode line-drawing characters into the acsc string for
  non-Unicode locales (Debian #816888).
2016-03-20 01:23:38 +00:00
Thomas E. Dickey
79185cda09 ncurses 6.0 - patch 20160312
+ modified test/filter.c to illustrate an alternative to getnstr, that
  polls for input while updating a clock on the right margin as well
  as responding to window size-changes.
2016-03-13 01:08:52 +00:00
Thomas E. Dickey
0d92180288 ncurses 6.0 - patch 20160305
+ omit a redefinition of "inline" when traces are enabled, since this
  does not work with gcc 5.3.x MinGW cross-compiling (cf: 20150912).
2016-03-06 02:17:40 +00:00
Thomas E. Dickey
bcdff1f4b3 ncurses 6.0 - patch 20160220
+ modify test/configure script to check for pthread dependency of
  ncursest or ncursestw library when building ncurses examples, e.g.,
  in case weak symbols are used.
+ modify configure macro for shared-library rules to use -Wl,-rpath
  rather than -rpath to work around a bug in scons (FreeBSD #178732,
  cf: 20061021).
+ double-width multibyte characters were not counted properly in
  winsnstr and wins_nwstr (report/example by Eric Pruitt).
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2016-02-21 02:44:32 +00:00
Thomas E. Dickey
89ca7974b0 ncurses 6.0 - patch 20160213
+ amend fix for _nc_ripoffline from 20091031 to make test/ditto.c work
  in threaded configuration.
+ move _nc_tracebits, _tracedump and _tracemouse to curses.priv.h,
  since they are not part of the suggested ABI6.
2016-02-14 00:43:22 +00:00
Thomas E. Dickey
445bfe6a0f ncurses 6.0 - patch 20160206
+ define WIN32_LEAN_AND_MEAN for MinGW port, making builds faster.
+ modify test/ditto.c to allow $XTERM_PROG environment variable to
  override "xterm" as the name of the program to run in the threaded
  configuration.
2016-02-07 01:06:54 +00:00
Thomas E. Dickey
6208c89f98 ncurses 6.0 - patch 20160130
+ improve formatting of man/curs_refresh.3x and man/tset.1 manpages
+ regenerate HTML manpages using newer man2html to eliminate some
  unwanted blank lines.
2016-01-31 02:15:39 +00:00
Thomas E. Dickey
e3d8d5a5a9 ncurses 6.0 - patch 20160123
+ ifdef'd header-file definition of mouse_trafo() with NCURSES_NOMACROS
  (report by Corey Minyard).
+ fix some strict compiler-warnings in traces.
2016-01-24 02:28:05 +00:00
Thomas E. Dickey
efd717f13e ncurses 6.0 - patch 20160116
+ tidy up comments about hardcoded 256color palette (report by
  Leonardo Brondani Schenkel) -TD
+ add putty-noapp entry, and amend putty entry to use application mode
  for better consistency with xterm (report by Leonardo Brondani
  Schenkel) -TD
+ modify _nc_viscbuf2() and _tracecchar_t2() to trace wide-characters
  as a whole rather than their multibyte equivalents.
+ minor fix in wadd_wchnstr() to ensure that each cell has nonzero
  width.
+ move PUTC_INIT calls next to wcrtomb calls, to avoid carry-over of
  error status when processing Unicode values which are not mapped.
2016-01-17 02:21:18 +00:00
Thomas E. Dickey
cea2b8032d ncurses 6.0 - patch 20160102
+ modify ncurses c/C color test-screens to take advantage of wide
  screens, reducing the number of lines used for 88- and 256-colors.
+ minor refinement to check versus ncv to ignore two parameters of
  SGR 38 and 48 when those come from color-capabilities.
2016-01-03 01:50:40 +00:00
Thomas E. Dickey
4b1d778499 ncurses 6.0 - patch 20151226
+ add check in tic for use of bold, etc., video attributes in the
  color capabilities, accounting whether the feature is listed in ncv.
+ add check in tic for conflict between ritm, rmso, rmul versus sgr0.
2015-12-27 01:49:34 +00:00
Thomas E. Dickey
45766a7ed4 ncurses 6.0 - patch 20151219
+ add a paragraph to curs_getch.3x discussing key naming (discussion
  with James Crippen).
+ amend workaround for Solaris vs line-drawing to take the configure
  check into account.
+ add a configure check for wcwidth() versus the ncurses line-drawing
  characters, to use in special-casing systems such as Solaris.
2015-12-20 02:44:39 +00:00
Thomas E. Dickey
ec78532c7a ncurses 6.0 - patch 20151212
+ improve CF_XOPEN_CURSES macro used in test/configure, to define as
  needed NCURSES_WIDECHAR for platforms where _XOPEN_SOURCE_EXTENDED
  does not work.  Also modified the test program to ensure that if
  building with ncurses, that the cchar_t type is checked, since that
  normally is since 20111030 ifdef'd depending on this test.
+ improve 20121222 workaround for broken acs, letting Solaris "work"
  in spite of its m.isconfigured wcwidth which marks all of the line
  drawing characters as double-width.
2015-12-13 02:17:16 +00:00
Thomas E. Dickey
b11cef1e31 ncurses 6.0 - patch 20151205
+ update form_cursor.3x, form_post.3x, menu_attributes.3x to list
  function names in NAME section (patch by Jason McIntyre).
+ minor fixes to manpage NAME/SYNOPSIS sections to consistently use
  rule that either all functions which are prototyped in SYNOPSIS are
  listed in the NAME section, or the manual-page name is the sole item
  listed in the NAME section.  The latter is used to reduce clutter,
  e.g., for the top-level library manual pages as well as for certain
  feature-pages such as SP-funcs and threading (prompted by patches by
  Jason McIntyre).
+ add option to preserve leading whitespace in form fields (patch by
  Leon Winter).
2015-12-06 01:07:45 +00:00
Thomas E. Dickey
cfd9c6f8e5 ncurses 6.0 - patch 20151128
+ add missing assignment in lib_getch.c to make notimeout() work
  (Debian #805618).
+ add 't' toggle for notimeout() function in test/ncurses.c a/A screens
+ add viewdata terminal description (Alexandre Montaron).
+ fix a case in tic/infocmp for formatting capabilities where a
  backslash at the end of a string was mishandled.
+ fix some typos in curs_inopts.3x (Benno Schulenberg).
2015-11-29 01:57:16 +00:00
Thomas E. Dickey
fd1066cc97 ncurses 6.0 - patch 20151121
+ fix some inconsistencies in the pccon* entries -TD
+ add bold to pccon+sgr+acs and pccon-base (Tati Chevron).
+ add keys f12-f124 to pccon+keys (Tati Chevron).
+ add test/test_sgr.c program to exercise all combinations of sgr.
2015-11-22 02:17:21 +00:00
Thomas E. Dickey
96e4e128ae ncurses 6.0 - patch 20151107
+ modify tset's assignment to TERM in its output to reflect the name by
  which the terminal description is found, rather than the primary
  name.  That was an unnecessary part from the initial conversion of
  tset from termcap to terminfo.  The termcap program in 4.3BSD did
  this to avoid using the short 2-character name (report by Rich
  Burridge).
+ minor fix to configure script to ensure that rules for resulting.map
  are only generated when needed (cf: 20151101).
+ modify configure script to handle the case where tic-library is
  renamed, but the --with-debug option is used by itself without
  normal or shared libraries (prompted by comment in Debian #803482).
2015-11-08 02:34:05 +00:00
Thomas E. Dickey
5817afea01 ncurses 6.0 - patch 20151101
+ amend change for pkg-config which allows build of pc-files when no
  valid pkg-config library directory was configured to suppress the
  actual install if it is not overridden to a valid directory at
  install time (cf: 20150822).
+ modify editing script which generates resulting.map to work with the
  clang configuration on recent FreeBSD, which gives an error on an
  empty "local" section.
+ fix a spurious "(Part)" message in test/ncurses.c b/B tests due
  to incorrect attribute-masking.
2015-11-02 00:38:02 +00:00
Thomas E. Dickey
a0b91dc27f ncurses 6.0 - patch 20151024
+ modify MKexpanded.c to update the expansion of a temporary filename
  to "expanded.c", for use in trace statements.
+ modify layout of b/B tests in test/ncurses.c to allow for additional
  annotation on the right margin; some terminals with partial support
  did not display well.
+ fix typo in curs_attr.3x (patch by Sven Joachim).
+ fix typo in INSTALL (patch by Tomas Cech).
+ improve configure check for setting WILDCARD_SYMS variable; on ppc64
  the variable is in the Data section rather than Text (patch by Michel
  Normand).
+ using configure option "--without-fallbacks" incorrectly caused
  FALLBACK_LIST to be set to "no" (patch by Tomas Cech).
+ updated minitel entries to fix kel problem with emacs, and add
  minitel1b-nb (Alexandre Montaron).
+ reviewed/updated nsterm entry Terminal.app in OSX -TD
+ replace some dead URLs in comments with equivalents from the
  Internet Archive -TD
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2015-10-25 00:51:43 +00:00
Thomas E. Dickey
def73dda3f ncurses 6.0 - patch 20151017
+ modify ncurses/Makefile.in to sort keys.list in POSIX locale
  (Debian #801864, patch by Esa Peuha).
+ remove an early-return from _nc_do_color, which can interfere with
  data needed by bkgd when ncurses is configured with extended colors
  (patch by Denis Tikhomirov).
> fixes for OS/2 (patches by KO Myung-Hun)
+ use button instead of kbuf[0] in EMX-specific part of lib_mouse.c
+ support building with libtool on OS/2
+ use stdc++ on OS/2 kLIBC
+ clear cf_XOPEN_SOURCE on OS/2
2015-10-18 00:40:46 +00:00
Thomas E. Dickey
9eb6f49919 ncurses 6.0 - patch 20151010
+ add configure check for openpty to test/configure script, for ditto.
+ minor fixes to test/view.c in investigating Debian #790847.
+ update autoconf patch to 2.52.20150926, incorporates a fix for Cdk.
+ add workaround for breakage of POSIX makefiles by recent binutils
  change.
+ improve check for working poll() by using posix_openpt() as a
  fallback in case there is no valid terminal on the standard input
  (prompted by discussion on bug-ncurses mailing list, Debian #676461).
2015-10-11 01:01:49 +00:00
Thomas E. Dickey
a919b0ee00 ncurses 6.0 - patch 20150926
+ change makefile rule for removing resulting.map to distclean rather
  than clean.
+ add /lib/terminfo to terminfo-dirs in ".deb" test-package.
+ add note on portability of resizeterm and wresize to manual pages.
2015-09-27 01:08:16 +00:00
Thomas E. Dickey
b9a2bd87a7 ncurses 6.0 - patch 20150919
+ clarify in resizeterm.3x how KEY_RESIZE is pushed onto the input
  stream.
+ clarify in curs_getch.3x that the keypad mode affects ability to
  read KEY_MOUSE codes, but does not affect KEY_RESIZE.
+ add overlooked build-fix needed with Cygwin for separate Ada95
  configure script, cf: 20150606 (report by Nicolas Boulenguez)
2015-09-20 01:24:12 +00:00
Thomas E. Dickey
4aaab5e7c8 ncurses 6.0 - patch 20150912
+ fixes for configure/build using clang on OSX (prompted by report by
  William Gallafent).
  + do not redefine "inline" in ncurses_cfg.h; this was originally to
    solve a problem with gcc/g++, but is aggravated by clang's misuse
    of symbols to pretend it is gcc.
  + add braces to configure script to prevent unwanted add of
    "-lstdc++" to the CXXLIBS symbol.
  + improve/update test-program used for checking existence of stdc++
    library.
  + if $CXXLIBS is set, the linkage test uses that in addition to $LIBS
2015-09-13 00:36:49 +00:00