Commit Graph

611 Commits

Author SHA1 Message Date
Thomas E. Dickey
b60a2772d9 ncurses 6.1 - patch 20190209
+ add check in tic to provide warnings for mismatched number of
  parameters in the documented user-capability extensions.
2019-02-10 02:53:50 +00:00
Thomas E. Dickey
4677e861e7 ncurses 6.1 - patch 20190202
+ modify rpm test-package ".spec" file to work around naming conflict
  with Redhat's package for ncurses6.
+ modify no-leaks code in test/picsmap to avoid non-standard tdestroy.
+ amend change to configure script which altered the top-level makefile
  to avoid attempting to install the terminfo database when it was not
  configured, to allow for installing the ".pc" files which are also
  in the misc directory (report by Steve Wills).
2019-02-03 01:24:46 +00:00
Thomas E. Dickey
fe8c285d2a ncurses 6.1 - patch 20190126
+ change some "%define" statements in test-packages for RPMs to
  "%global" to work around changes in rpm 4.14 from recent Redhat.
+ fixes for O_INPUT_FIELD extension (patch by Leon Winter).
+ eliminate fixed buffer-size when reading $TERMCAP variable.
+ correct logic in read_entry.c which prevented $TERMCAP variable from
  being interpreted as a fallback to terminfo entry (prompted by
  Savannah #54556, cf: 20110924).
2019-01-27 02:01:01 +00:00
Thomas E. Dickey
eccca377f5 ncurses 6.1 - patch 20190121
+ add a check in test/configure to work around non-ncurses termcap.h
  file in Slackware.
+ corrected flag for "seq" method of db 1.8.5 interface, needed by toe
  on some of the BSDs.
+ updated "string-hacks" feature.
+ minor improvements to manpage typography.
+ corrected conditionally-compiled limit on color pairs (report by
  "Hudd").
+ add -x option to test/pair_content, test/color_content for testing
  init_extended_pair, extended_pair_content, init_extended_color,
  extended_color_content
+ add -p option to test/pair_content, test/color_content to show the
  return values from the tested functions.
+ improve manual page curs_color.3x discussion of error returns and
  extensions.
+ add O_INPUT_FIELD extension to form library (patch by Leon Winter).
+ override/suppress --enable-db-install if --disable-database configure
  option was given.
+ change a too-large terminal entry in tic from a fatal error to a
  warning (prompted by discussion with Gabriele Balducci).
2019-01-22 00:49:19 +00:00
Thomas E. Dickey
acb4184f8f ncurses 6.1 - patch 20190112
+ fix typo in term(5), improve explanation of format (report by Otto
  Modinos).
+ add nsterm-direct -TD
+ use SGR 1006 mouse for konsole-base -TD
+ use SGR 1006 mouse for putty -TD
+ add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)
2019-01-13 01:08:21 +00:00
Thomas E. Dickey
6a586fefa9 ncurses 6.1 - patch 20190105
+ add dummy "check" rule in top-level and test-Makefile to simply
  building test-packages for Arch.
+ modify configure script to avoid conflict with a non-POSIX feature
  that enables all parts of the system headers by default.  Some
  packagers have come to rely upon this behavior (FreeBSD #234049).
+ update config.guess, config.sub
2019-01-06 02:32:59 +00:00
Thomas E. Dickey
bfe3845eb1 ncurses 6.1 - patch 20181229
+ improve man/curs_mouse.3x with regard to xterm
+ modify tracemunch to accept filename parameters in addition to use
  as a pipe/filter.
+ minor optimization to reduce calls to _nc_reserve_pairs (prompted by
  discussion with Bryan Christ).
+ add test/pair_content.c and test/color_content.c
+ modify infocmp to omit filtering of "OTxx" names which are used for
  obsolete capabilities, when the output is sorted by long-names.
  Doing this helps when making a table of the short/long capability
  names.
2018-12-30 01:55:38 +00:00
Thomas E. Dickey
45291421be ncurses 6.1 - patch 20181215
+ several fixes for gcc8 strict compiler warnings.
+ fix a typo in comments (Aaron Gyes).
+ add nsterm-build309 to replace nsterm-256color, assigning the latter
  as an alias of nsterm, to make mouse work with nsterm-256color -TD
+ base gnome-256color entry on "gnome", not "vte", for consistency -TD
+ updates for configure macros from work on tin and xterm:
  + CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the
    _DEFAULT_SOURCE symbol.
  + CF_VA_COPY, add fallback check if neither va_copy/__va_copy is
    supported, to try copying the pointers for va_list, or as an array.
    Also add another fallback check, for __builtin_va_copy(), which
    could be used with AIX xlc in c89 mode.
2018-12-16 02:17:42 +00:00
Thomas E. Dickey
321b81e6b3 ncurses 6.1 - patch 20181208
+ modify wbkgd() and wbkgrnd() to improve compatibility with SVr4
  curses, changing the way the window rendition is updated when the
  background character is modified (report by Valery Ushakov).
2018-12-09 02:29:47 +00:00
Thomas E. Dickey
31418a0e4a ncurses 6.1 - patch 20181201
+ add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen).
+ add "@" command to test/ncurses F-test, to allow rapid jump to
  different character pages.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2018-12-02 01:14:13 +00:00
Thomas E. Dickey
4496a3f032 ncurses 6.1 - patch 20181125
+ build-fix (reports by Chih-Hsuan Yen, Sven Joachim).
2018-11-25 11:38:20 +00:00
Thomas E. Dickey
44963481f1 ncurses 6.1 - patch 20181124
+ check --with-fallbacks option to ensure there is a value, and add
  the fallback information to top-level Makefile summary.
+ add some traces in initialization to show whether a fallback entry is
  used.
+ build-fix for test/movewindow with ncurses-examples on Solaris.
+ add "-l" option to test/background, to dump screen contents in a form
  that lets different curses implementations be compared.
+ modify the initialization checks for mouse so that the xterm+sm+1006
  block will work with terminal descriptions not mentioning xterm
  (report by Tomas Janousek).
2018-11-25 01:20:22 +00:00
Thomas E. Dickey
bf5877fb3d ncurses 6.1 - patch 20181117
+ ignore the hex/b64 $TERMINFO in toe's listing.
+ correct a status-check in _nc_read_tic_entry() so that if reading
  a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
  the compiled-in search list.
2018-11-18 00:22:59 +00:00
Thomas E. Dickey
4bbfbf869d ncurses 6.1 - patch 20181110
+ several workarounds to ensure proper C compiler used in parts of
  Ada95 tree.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2018-11-11 02:45:34 +00:00
Thomas E. Dickey
22a4b929f4 ncurses 6.1 - patch 20181027
+ add OpenGL clients alacritty and kitty -TD
+ add Smulx for tmux, vte-2018 -Nicholas Marriott
2018-10-28 00:58:09 +00:00
Thomas E. Dickey
5f0c3bcf3f ncurses 6.1 - patch 20181020
+ ignore $TERMINFO as a default value in configure script if it came
  from the infocmp -Q option.
+ allow value for --with-versioned-syms to be a relative pathname
+ add a couple of broken-linker symbols to the list of versioned
  symbols to help with link-time optimization versus weak symbols.
+ apply shift/control/alt logic when decoding xterm's 1006 mode to
  wheel-mouse events (Redhat #1610681).
2018-10-21 01:13:21 +00:00
Thomas E. Dickey
c28f91b50f ncurses 6.1 - patch 20181013
+ amend change from 20180818, which undid a fix for the $INSTALL value
  to make it an absolute path.
2018-10-14 01:50:11 +00:00
Thomas E. Dickey
3bc481a075 ncurses 6.1 - patch 20181006
+ improve a configure check to work with newer optimizers (report by
  Denis Pronin, Gentoo #606142).
+ fix typo in tput.c (Sven Joachim, cf: 20180825).
2018-10-07 01:00:25 +00:00
Thomas E. Dickey
19e522ff96 ncurses 6.1 - patch 20180929
+ fix typo in tvi955 -TD
+ corrected acsc for regent60 -TD
+ add alias n7900 -TD
+ corrected acsc for tvi950 -TD
+ remove bogus kf0 from tvi950 -TD
+ added function-key definitions to agree with Televideo 950 manual -TD
+ add bel to tvi950 -TD
+ add shifted function-keys to regent60 -TD
+ renumber regent40 function-keys to match manual -TD
+ add cd (clr_eos) to adds200 -TD
2018-09-30 01:01:20 +00:00
Thomas E. Dickey
3247e20e3f ncurses 6.1 - patch 20180923
+ build-fix: remove a _tracef call which was used for debugging (report
  by Chris Clayton).
2018-09-23 09:07:52 +00:00
Thomas E. Dickey
b73ae15cdc ncurses 6.1 - patch 20180922
+ ignore interrupted system-call in test/ncurses's command-line, e.g.,
  if the terminal were resized.
+ add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
  #1610681, cf: 20141011).
+ modify rpm test-packages to not use --disable-relink with Redhat,
  since Fedora 28's tools do not work with that feature.
2018-09-22 23:44:43 +00:00
Thomas E. Dickey
093902b419 ncurses 6.1 - patch 20180908
+ document --with-pcre2 configure option in INSTALL.
+ improve workaround for special case in PutAttrChar() where a cell is
  marked as alternate-character set, to handle a case where the
  character in the cell does not correspond to any of the ASCII
  fallbacks (report by Leon Winter, cf: 20180505).
+ amend change to form library which attempted to avoid unnecessary
  update of cursor position in non-public fields, to simply disable
  output in this case (patch by Leon Winter, cf: 20180414).
+ improve check for LINE_MAX runtime limit, to accommodate broken
  implementations of sysconf().
2018-09-09 01:14:35 +00:00
Thomas E. Dickey
30393be892 ncurses 6.1 - patch 20180901
+ improve manual page for wgetnstr, giving background for the length
  parameter.
+ define a limit for wgetnstr, wgetn_wstr when length is negative or
  "too large".
+ update configure script to autoconf 2.52.20180819 (Debian #887390).
2018-09-02 00:30:36 +00:00
Thomas E. Dickey
7d6371e470 ncurses 6.1 - patch 20180825
+ add a section to tput manual page clarifying how it determines the
  terminal size (prompted by discussion with Grant Jenks).
+ add "--disable-relink" to rpm test-packages, for consistency with the
  deb test-packages.
+ split spec-file into ncurses6.spec and ncursest6.spec to work around
  toolset breakage in Fedora 28.
+ drop mention of "--disable-touching", which was not in the final
  20180818 updates.
2018-08-26 00:49:33 +00:00
Thomas E. Dickey
df51c7005b ncurses 6.1 - patch 20180818
+ build-fix for PDCurses with ncurses-examples.
+ improved CF_CC_ENV_FLAGS.
+ modify configure scripts to reduce relinking/ranlib during library
  install (Debian #903790):
  + use "install -p" when available, to avoid need for ranlib of
    static libraries.
  + modify scripts which use "--disable-relink" to add a 1-second
    sleep to work around tools which use whole-second timestamps, e.g.,
    in utime() rather than the actual file system resolution.
+ add "--disable-touching" option for using "install -p" option during
  the install, e.g., so that header-files have a predictable timestamp.
2018-08-19 01:04:13 +00:00
Thomas E. Dickey
99e9dbb684 ncurses 6.1 - patch 20180804
+ improve logic for clear with E3 extension, in case the terminal
  scrolls content onto its saved-lines before actually clearing
  the display, by clearing the saved-lines after clearing the
  display (report/patch by Nicholas Marriott).
2018-08-05 01:06:31 +00:00
Thomas E. Dickey
17c5992a16 ncurses 6.1 - patch 20180728
+ improve documentation regarding feature-test macros in curses.h
+ improve documentation regarding the virtual and physical screens.
+ formatting fixes for manpages, regenerate man-html documentation.
2018-07-29 01:43:55 +00:00
Thomas E. Dickey
6941ed1e8b ncurses 6.1 - patch 20180721
+ build-fixes for gcc8.
+ corrected acsc for wy50 -TD
+ add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
+ remove ansi+rep mis-added to interix in 2018-02-23 -TD
2018-07-22 01:11:25 +00:00
Thomas E. Dickey
32345daa97 ncurses 6.1 - patch 20180714
+ add enum, regex examples to test/demo_forms
+ add configure check for pcre-posix library to help with MinGW port.
2018-07-15 00:59:40 +00:00
Thomas E. Dickey
746490c7ab ncurses 6.1 - patch 20180707
+ build-fixes for gcc8.
+ correct order of WINDOW._ttytype versus WINDOW._windowlist in
  report_offsets.
+ fix a case where tiparm could return null if the format-string was
  empty (Debian #902630).
2018-07-08 01:27:14 +00:00
Thomas E. Dickey
78b0123661 ncurses 6.1 - patch 20180630
+ add acsc string to vi200 (Nibby Nebbulous)
  add right/down-arrow to vi200's acsc -TD
+ add "x" to tput's getopt string so that "tput -x clear" works
  (Nicholas Marriott).
+ minor fixes prompted by anonymous report on stack overflow:
  + correct order of checks in _nc_get_locale(), for systems lacking
    locale support.
  + add "#error" in a few places to flag unsupported configurations
2018-07-01 00:24:49 +00:00
Thomas E. Dickey
5da4544722 ncurses 6.1 - patch 20180623
+ use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
  to simplify building with MSVC, since the former are defined in both
  compiler configurations (report by Ali Abdulkadir).
+ further improvements to configure-checks from work on dialog, i.e.,
  updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
  CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
  CF_TRY_XOPEN_SOURCE.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2018-06-24 00:40:50 +00:00
Thomas E. Dickey
d60228973b ncurses 6.1 - patch 20180616
+ build-fix for ncurses-examples related to gcc8-fixes (cf: 20180526).
+ reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
  combines with _XOPEN_SOURCE (Debian #900987).
+ change target configure level for _XOPEN_SOURCE to 600 to address
  use of vsscanf and setenv.
+ improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from
  work on dialog.
2018-06-17 02:07:06 +00:00
Thomas E. Dickey
e23d7db3de ncurses 6.1 - patch 20180609
+ modify generatesd ncurses*config and ncurses.pc, ncursesw.pc, etc.,
  to list helper libraries such as gpm for static linking (Debian
  #900839).
+ marked vwprintw and vwscanw as deprecated; recommend using vw_printw
  and vw_scanw, respectively.
2018-06-09 23:57:16 +00:00
Thomas E. Dickey
8556933f52 ncurses 6.1 - patch 20180602
+ add RPM test-package "ncursest-examples".
+ modified RPM test-package to work with Mageia6.
2018-06-03 01:08:44 +00:00
Thomas E. Dickey
0237f10a29 ncurses 6.1 - patch 20180526
+ add note in curs_util.3x about unctrl.h
+ review/improve header files to ensure that those include necessary
  files except for the previously-documented cases (report by Isaac
  Pascual Monells).
+ improved test-package scripts, adapted from byacc 1.9 20180525.
+ fix some gcc8 warnings seen in Redhat package build, but
  work around bug in gcc8 compiler warnings in comp_parse.c
2018-05-27 01:00:14 +00:00
Thomas E. Dickey
cccf831ed7 ncurses 6.1 - patch 20180519
+ formatting fixes for manpages, regenerate man-html documentation.
+ trim spurious whitespace from tmux in 2018-02-24 changes;
  fix some inconsistencies in/between tmux- and iterm2-entries for SGR
  (report by C Anthony Risinger)
+ improve iterm2 using some xterm features which it has adapted -TD
+ add check in pair_content() to handle the case where caller asks
  for an uninitialized pair (Debian #898658).
2018-05-19 22:19:12 +00:00
Thomas E. Dickey
9208e1bde5 ncurses 6.1 - patch 20180512
+ remove trailing ';' from GCC_DEPRECATED definition.
+ repair a change from 20110730 which left an error-check/warning dead.
+ fix several minor Coverity warnings.
2018-05-12 23:58:52 +00:00
Thomas E. Dickey
61d8ae54ff ncurses 6.1 - patch 20180505
+ add deprecation warnings for internal functions called by older
  versions of tack.
+ fix a special case in PutAttrChar() where a cell is marked as
  alternate-character set, but the terminal does not actually support
  the given graphic character.  This would happen in an older terminal
  such as vt52, which lacks most line-drawing capability.
+ use configure --with-config-suffix option to work around filename
  conflict with Debian packages versus test-packages.
+ update tracemunch to work with perl 5.26.2, which changed the rules
  for escaping regular expressions.
2018-05-06 00:58:46 +00:00
Thomas E. Dickey
ed8a29294e ncurses 6.1 - patch 20180428
+ document new form-extension O_EDGE_INSERT_STAY (report by Leon
  Winter).
+ correct error-returns listed in manual pages for a few form functions
  (report by Leon Winter).
+ add a check in form-library for null-pointer dereference:
	unfocus_current_field (form);
	form_driver (form, REQ_VALIDATION);
  (patch by Leon Winter).
2018-04-28 22:44:02 +00:00
Thomas E. Dickey
b93d96b78a ncurses 6.1 - patch 20180414
+ modify form library to optionally delay cursor movement on a field
  edge/boundary (patch by Leon Winter).
+ modify form library to avoid unnecessary update of cursor position in
  non-public fields (patch by Leon Winter).
+ remove unused _nc_import_termtype2() function.
+ also add/improve null-pointer checks in other places
+ add a null-pointer check in _nc_parse_entry to handle an error when
  a use-name is invalid syntax (report by Chung-Yi Lin).
2018-04-14 22:50:05 +00:00
Thomas E. Dickey
02c4e383be ncurses 6.1 - patch 20180407
+ clarify in manual pages that vwprintw and vwscanw are obsolete,
  not part of X/Open Curses since 2007.
+ use "const" in some prototypes rather than NCURSES_CONST where X/Open
  Curses was updated to do this, e.g., wscanw, newterm, the terminfo
  interface.  Also use "const" for consistency in the termcap
  interface, which was withdrawn by X/Open Curses in Issue 5 (2007).
  As of Issue 7, X/Open Curses still lacks "const" for certain return
  values, e.g., keyname().
2018-04-08 00:58:31 +00:00
Thomas E. Dickey
74137fec04 ncurses 6.1 - patch 20180331
+ improve terminfo write/read by modifying the fourth item of the
  extended header to denote the number of valid strings in the extended
  string table (prompted by a comment in unibilium's sources).
2018-04-01 02:19:08 +00:00
Thomas E. Dickey
073e4446d2 ncurses 6.1 - patch 20180324
+ amend Scaled256() macro in test/picsmap.c to cover the full range
  0..1000 (report by Roger Pau Monne).
+ add some checks in tracemunch for undefined variables.
2018-03-25 00:33:35 +00:00
Thomas E. Dickey
b86393354b ncurses 6.1 - patch 20180317
+ fix a check in infotocap which may not have detected a problem when
  it should have.
+ add a check in tic for the case where setf/setb are given using
  different strings, but provide identical results to setaf/setab.
+ further improve fix for terminfo.5 (patch by Kir Kolyshkin).
+ reorder loop-limit checks in winsnstr() in case the string has no
  terminating null and only the number of characters is used (patch
  by Gyorgy Jeney).
2018-03-18 01:26:15 +00:00
Thomas E. Dickey
2017ab0e60 ncurses 6.1 - patch 20180303
+ modify TurnOn/TurnOff macros in lib_vidattr.c and lib_vid_attr.c to
  avoid expansion of "CUR" in trace.
+ improve a few lintian warnings in test-packages.
+ modify lib_setup to avoid calling pthread_self() without first
  verifying that the address is valid, i.e., for weak symbols
  (report/patch by Werner Fink).
+ modify generated terminfo.5 to not use "expand" and related width
  on the last column of tables, making layout on wide terminals look
  better (adapted from patch by Kir Kolyshkin).
+ add a category to report_offsets, e.g., "w" for wide-character, "t"
  for threads to make the report more readable.  Reorganized the
  structures reported to make the categories more apparent.
+ simplify some ifdef's for extended-colors.
+ add NCURSES_GLOBALS and NCURSES_PRESCREEN to report_offsets, to show
  how similar the different tinfo configurations are.
2018-03-04 02:17:44 +00:00
Thomas E. Dickey
e348f7adec ncurses 6.1 - patch 20180224
+ modify _nc_resolve_uses2() to detect incompatible types when merging
  a "use=" clause of extended capabilities.  The problem was seen in a
  defective terminfo integrated from simpleterm sources in 20171111,
  compounded by repair in 20180121.
+ correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD
+ fix remaining flash capabilities with trailing mandatory delays -TD
+ correct cut/paste in NEWS (report by Sven Joachim).
+ improve fix for Debian #882620 by reusing limit2 variable (report by
  Julien Cristau, Sven Joachim).
2018-02-24 23:23:52 +00:00
Thomas E. Dickey
d545d5dd98 ncurses 6.1 - patch 20180217
+ remove incorrect free() from 20170617 changes (report by David Macek).
+ correct type for "U8" in user_caps.5; it is a number not boolean.
+ add a null-pointer check in safe_sprintf.c (report by Steven Noonan).
+ improve fix for Debian #882620 by reusing limit2 variable (report
  Julien Cristau, Sven Cristau).
2018-02-18 01:45:21 +00:00
Thomas E. Dickey
79695a2ff3 ncurses 6.1 - patch 20180210
+ modify misc/Makefile.in to install/uninstall explicit list in case
  the build-directory happens to have no ".pc" files when an uninstall
  is performed (report by Jeffrey Walton).
+ deprecate safe-sprintf, since the vsnprintf function, which does what
  was needed, was standardized long ago.
+ add several development/experimental options to development packages.
+ minor reordering of options in configure script to make the threaded
  and reentrant options distinct from the other extensions which are
  normally enabled.
2018-02-11 00:39:07 +00:00
Thomas E. Dickey
9da7d09296 ncurses 6.1 - patch 20180203
+ minor fixes to test/*.h to make them idempotent.
+ add/use test/parse_rgb.h to show how the "RGB" capability works.
+ add a clarification in user_caps.5 regarding "RGB" capability.
+ add extended_slk_color{,_sp} symbols to the appropriate
  package/*.{map,sym} files (report by Sven Joachim, cf: 20170401).
2018-02-04 02:13:47 +00:00