Commit Graph

510 Commits

Author SHA1 Message Date
Thomas E. Dickey
44a63c85c1 ncurses 6.0 - patch 20170212
+ build-fixes for PGI compilers (report by Adam J. Stewart)
  + accept whitespace in sed expression for generating expanded.c
  + modify configure check that g++ compiler warnings are not used.
  + add configure check for -fPIC option needed for shared libraries.
+ let configure --disable-ext-funcs override the default for the
  --enable-sp-funcs option.
+ mark some structs in form/menu/panel libraries as potentially opaque
  without modifying API/ABI.
+ add configure option --enable-opaque-curses for ncurses library and
  similar options for the other libraries.
2017-02-13 01:32:22 +00:00
Thomas E. Dickey
048a1c1a65 ncurses 6.0 - patch 20170204
+ trim newlines, tabs and escaped newlines from terminfo "paths" passed
  to db-iterator.
+ ignore zero-length files in db-iterator; these are useful for
  instance to suppress "$HOME/.terminfo" when not wanted.
+ amended "b64:" encoder to work with the terminfo reader.
+ modify terminfo reader to accept "b64:" format using RFC-3548 in
  as well as RFC-4648 url/filename-safe format.
+ modify terminfo reader to accept "hex:" format as generated by
  "infocmp -0qQ1" (cf: 20150905).
+ adjust authors comment to reflect drop below 1% for SV.
2017-02-05 02:12:49 +00:00
Thomas E. Dickey
302a066a01 ncurses 6.0 - patch 20170128
+ minor comment-fixes to help automate links to bug-urls -TD
+ add dvtm, dvtm-256color -TD
+ add settings corresponding to xterm-keys option to tmux entry to
  reflect upcoming change to make that option "on" by default
  (patch by Nicholas Marriott).
+ uncancel Ms in tmux entry (Harry Gindi, Nicholas Marriott).
+ add dumb-emacs-ansi -TD
+ improve discussion of early history of tput program.
2017-01-29 01:44:57 +00:00
Thomas E. Dickey
dc690a36a0 ncurses 6.0 - patch 20170121
+ incorporate A_COLOR mask into COLOR_PAIR(), in case user application
  provides an out-of-range pair number (report by Elijah Stone).
+ clarify description in tput manual page regarding support for
  termcap names (prompted by FreeBSD #214709).
+ remove a restriction in tput's support for termcap names which
  omitted capabilities normally not shown in termcap translations
  (cf: 990123).
+ modify configure script for clang as used on FreeBSD, to work around
  clang's differences in exit codes vs gcc.
2017-01-22 02:22:50 +00:00
Thomas E. Dickey
f344f8539c ncurses 6.0 - patch 20170114
+ improve discussion of early history of tset/reset programs.
+ clarify in manual pages that the optional verbose option level is
  available only when ncurses is configured for tracing.
+ amend change from 20161231 to avoid writing traces to the standard
  error after initializing the trace feature using the environment
  variable.
2017-01-15 01:42:56 +00:00
Thomas E. Dickey
58552e8c76 ncurses 6.0 - patch 20170107
+ amend changes for tput to reset tty modes to "sane" if the program
  is run as "reset", like tset.  Likewise, ensure that tset sends
  either reset- or init-strings.
+ improve manual page descriptions of tput init/reset and tset/reset,
  to make it easier to see how they are similar and different.
+ move a static result from key_name() to _nc_globals
+ modify _nc_get_screensize to allow for use_env() and use_tioctl()
  state to be per-screen when sp-funcs are configured, better matching
  the behavior when using the term-driver configuration.
+ improve cross-references in manual pages for often used functions
+ move SCREEN field for use_tioctl() data before the ncursesw fields,
  and limit that to the sp-funcs configuration to improve termlib
  compatibility (cf:  20120714).
+ correct order of initialization for traces in use_env() and
  use_tioctl() versus first trace calls.
2017-01-08 01:40:29 +00:00
Thomas E. Dickey
5461fc336d ncurses 6.0 - patch 20161231
+ fix errata for ncurses-howto (report by Damien Ruscoe).
+ fix a few places in configure/build scripts where DESTDIR and rpath
  were combined (report by Thomas Klausner).
+ merge current st description (report by Harry Gindi) -TD
+ modify flash capability for linux and wyse entries to put the delay
  between the reverse/normal escapes rather than after -TD
+ modify program tabs to pass the actual tty file descriptor to
  setupterm rather than the standard output, making padding work
  consistently.
+ explain in clear's manual page that it writes to stdout.
+ add special case for verbose debugging traces of command-line
  utilities which write to stderr (cf: 20161126).
+ remove a trace with literal escapes from skip_DECSCNM(), added in
  20161203.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2016-12-31 23:48:48 +00:00
Thomas E. Dickey
62ca6190a9 ncurses 6.0 - patch 20161224
+ correct parmeters for copywin call in _nc_Synchronize_Attributes()
  (patch by Leon Winter).
+ improve color-handling section in terminfo manual page (prompted by
  patch by Mihail Konev).
+ modify programs clear, tput and tset to pass the actual tty file
  descriptor to setupterm rather than the standard output, making
  padding work.
2016-12-25 01:53:57 +00:00
Thomas E. Dickey
c885a3fdd0 ncurses 6.0 - patch 20161217
+ add tput-colorcube demo script.
+ add -r and -s options to tput-initc demo, to match usage in xterm.
+ flush the standard output in _nc_flush for the case where SP is zero,
  e.g., when called via putp.  This fixes a scenario where "tput flash"
  did not work after changes in 20130112.
2016-12-18 01:43:10 +00:00
Thomas E. Dickey
1b540608ea ncurses 6.0 - patch 20161210
+ add configure script option --disable-wattr-macros for use in cases
  where one wants to use the same headers for ncurses5/ncurses6
  development, by suppressing the wattr* macros which differ due to
  the introduction of extended colors (prompted by comments in
  Debian #230990, Redhat #1270534).
+ add test/tput-initc to demonstrate tput used to initialize palette
  from a data file.
+ modify test/xterm*.dat to use the newer color4/color12 values.
2016-12-11 02:45:02 +00:00
Thomas E. Dickey
1dd25cc025 ncurses 6.0 - patch 20161203
+ improve discussion of field validation in form_driver.3x manual page.
+ update curs_trace.3x manual page.
2016-12-04 02:16:58 +00:00
Thomas E. Dickey
ee27d238ca ncurses 6.0 - patch 20161126
+ modify linux-16color to not mask dim, standout or reverse with the
  ncv capability -TD
+ add 0.1sec mandatory delay to flash capabilities using the VT100
  reverse-video control -TD
+ omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
  entry, to avoid conflict with the user-defined mapping.  The reset
  feature will use ISO-8859-1 in any case (Mikulas Patocka).
+ improve check in tic for delays by also warning about beep/flash
  when a delay is not embedded, or if those use the VT100 reverse
  video escape without using a delay.
+ minor fix for syntax-check of delays from 20161119 changes.
+ modify trace() to avoid overwriting existing file (report by Maor
  Shwartz).
2016-11-27 02:38:26 +00:00
Thomas E. Dickey
5606eb4861 ncurses 6.0 - patch 20161119
+ add check in tic for some syntax errors of delays, as well as use of
  proportional delays for non-line capabilities.
+ document history of the clear program and the E3 extension, prompted
  by various discussions including
  http://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer
2016-11-20 02:06:40 +00:00
Thomas E. Dickey
16fea43a50 ncurses 6.0 - patch 20161112
+ improve -W option in tic/infocmp:
  + correct order of size-adjustments in wrapped lines
  + if -f option splits line, do not further split it with -W
  + begin a new line when adding "use=" after a wrapped line
2016-11-13 02:39:52 +00:00
Thomas E. Dickey
78ff8d169c ncurses 6.0 - patch 20161105
+ fix typo in man/terminfo.tail (Alain Williams).
+ correct program-name in adacurses6-config.1 manual page.
2016-11-06 00:04:10 +00:00
Thomas E. Dickey
9c110809dc ncurses 6.0 - patch 20161029
+ add new function "unfocus_current_field" (Leon Winter)
2016-10-30 01:40:40 +00:00
Thomas E. Dickey
f06e14af5e ncurses 6.0 - patch 20161022
+ modify tset -w (and tput reset) to update the program's copy of the
  screensize if it was already set in the system, to improve tabstop
  setting which relies upon knowing the actual screensize.
+ add functionality of tset -w to tput, like the "-c" feature this is
  not optional in tput.
+ add "clear" as a possible link/alias to tput.
+ improve tput's check for being called as "init" or "reset" to allow
  for transformed names.
+ split-out the "clear" function from progs/clear.c, share with
  tput to get the same behavior, e.g., the E3 extension.
2016-10-23 01:59:31 +00:00
Thomas E. Dickey
c3b21f65a2 ncurses 6.0 - patch 20161015
+ amend internal use of tputs to consistently use the number of lines
  affected, e.g., for insert/delete character operations.  While
  merging terminfo source early in 1995, several descriptions used the
  "*" proportional delay for these operations, prompting a change in
  doupdate.
+ regenerate llib-* files.
+ regenerate HTML manpages.
+ fix several formatting issues with manual pages.
2016-10-16 00:57:24 +00:00
Thomas E. Dickey
7af6369697 ncurses 6.0 - patch 20161008
+ adjust size in infocmp/tic to work with strlcpy.
+ fix configure script to record when strlcat is found on OpenBSD.
+ build-fix for "recent" OpenBSD vs baudrate.
2016-10-09 01:54:00 +00:00
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