Commit Graph

174 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
1501ae2a13 ncurses 6.0 - patch 20180121
> terminfo changes:
+ add xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title
  blocks from xterm #331 -TD
+ add xterm+direct, xterm+indirect, xterm-direct entries from xterm
  #331 -TD
+ modify xterm+256color and xterm+256setaf to use correct number of
  color pairs, for ncurses 6.1 -TD
+ add rs1 capability to xterm-256color -TD
+ modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs to
  match xterm #272, reflecting packager's changes -TD
+ remove "boolean" Se, Ss from st-0.7 -TD
+ add konsole-direct and st-direct -TD
+ remove unsupported "Tc" capability from st-0.7; use st-direct if
  direct-colors are wanted -TD
+ add vte-direct -TD
+ add XT, hpa, indn, and vpa to screen, and invis, E3 to tmux (patch by
  Pierre Carru)
+ use xterm+sm+1006 in xterm-new, vte-2014 -TD
+ use xterm+x11mouse in iterm, iterm2, mlterm3 because xterm's 1006
  mode does not work with those programs.  konsole is debatable -TD
+ add "termite" entry (report by Markus Pfeiffer) -TD
> merge branch begun April 2, 2017 which provides these features:
+ support read/write new binary-format for terminfo which stores
  numeric capabilities as a signed 32-bit integer.  The test programs
  such as picsmap, ncurses were created or updated during 2017 to use
  this feature.
+ the new format is written by the wide-character configuration of
  tic when it finds a numeric capability larger than 32767.
+ other applications such as infocmp built with the wide-character
  ncurses library work as expected.
+ applications built with the "narrow" (8-bit) configuration will
  read the new format, but will limit those extended values to 32767.
+ in either wide/narrow configuration, the structure defined in
  term.h still uses signed 16-bit values.
+ because it is incompatible with the legacy (mid-1980s) binary format,
  a new magic value is provided for the "file" program.
+ the term.5 manual page is updated to describe this new format.
+ the limit on file-size for compiled terminfo is increased in the
  wide-character configuration to 32768.
2018-01-22 01:39:40 +00:00
Thomas E. Dickey
b0bdfbb1c7 ncurses 6.0 - patch 20171230
+ build-fix for ncurses-examples with Fedora27, adding check for
  reset_color_pairs() -- not yet in Fedora's package.
+ consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
  script when the latter happens to use the C compiler rather than
  directly using the loader (report by Jeffrey Walton).
+ set ABI for upcoming 6.1 release in "*.map" files.  While there are
  some remaining internals to apply, no ABI-related changes are
  anticipated.
+ add configure --with-config-suffix option to work around filename
  conflict with Redhat packages versus test-packages.
2017-12-31 01:08:31 +00:00
Thomas E. Dickey
86b16a498d ncurses 6.0 - patch 20171209
+ modify misc/ncurses-config.in to make output with --includedir
  consistent with --cflags, i.e., when --disable-overwrite option was
  configured the output should show the subdirectory where headers
  are.
+ modify MKlib_gen.sh to suppress macros when calling an "implemented"
  function in link_test.c
+ updated ftp-url used in test-packages, etc.
+ modify order of -pie/-shared options in configure script in case
  LDFLAGS uses "-pie", working around a defect or limitation in the GNU
  linker (prompted by patch by Yogesh Prasad, forwarded by Jay Shah).
+ add entry in man_db.renames for user_caps.5
2017-12-10 00:31:04 +00:00
Thomas E. Dickey
8d3ea90215 ncurses 6.0 - patch 20171125
+ modify MKlib_gen.sh to avoid tracing result from getstr/getnstr
  before initialized.
+ add "-a" aspect-ratio option to picsmap.
+ add configure check for default path of rgb.txt, used in picsmap.
+ modify _nc_write_entry() to truncate too-long filename (report by
  Hosein Askari, Debian #882620).
+ build-fix for ncurses-examples with NetBSD curses:
  + it lacks the use_env() function.
  + it lacks libpanel; a recent change used the wrong ifdef symbol.
+ add a macro for is_linetouched() and adjust the function's return
  value to make it possible for most applications to check for an
  error-return (report by Midolikawa H).
+ additional manpage cleanup.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2017-11-26 00:35:16 +00:00
Thomas E. Dickey
b5be26931d ncurses 6.0 - patch 20171028
+ improve man/curs_inwstr.3x, correct end-logic for lib_inwstr.c
  (report by Midolikawa H).
+ fix typo in a few places for "improvements" (patch by Sven Joachim).
+ clear the other half of a double-width character on which a line
  drawing character is drawn.
+ make test/ncurses.c "s" test easier to understand which subtests are
  available; add a "S" wide-character overlap test-screen.
+ modify test/ncurses.c C/c tests to allow for extended color pairs.
+ add endwin() call in error-returns from test/ncurses.c omitted in
  recent redesign of its menu (cf: 20170923).
+ improve install of hashed-db by removing the ".db" file as done for
  directory-tree terminal databases.
+ repair a few overlooked items in include/ncurses_defs from recent
  port/refactoring of test-programs (cf: 20170909).
+ add test/padview.c, to compare pads with direct updates in view.c
2017-10-29 00:35:34 +00:00
Thomas E. Dickey
12b49d3c56 ncurses 6.0 - patch 20170930
+ fix a symbol conflict that made ncurses.c C/c menu not work with
  Solaris xpg4 curses.
+ add refresh() call to dots_mvcur.c, needed to use mvcur() with
  Solaris xpg4 curses after calling newterm().
+ minor fixes for configure script from work on ncurses-examples and
  tin.
+ improve animation in test/xmas.c by adding a time-delay in blinkit().
+ modify several test programs to reflect that ncurses honors existing
  signal handlers in initscr(), while other implementations do not.
+ modify bs.c to make it easier to quit.
+ change ncurses-examples to use attr_t vs chtype to follow X/Open
  documentation more closely since Solaris xpg4-curses uses different
  values for WA_xxx vs A_xxx that rely on attr_t being an unsigned
  short.  Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the
  two sets.
2017-10-01 01:37:33 +00:00
Thomas E. Dickey
5d8dbcdd94 ncurses 6.0 - patch 20170909
+ improve wide-character implementation of myADDNSTR() in frm_driver.c,
  which was inconsistent with the normal implementation.
+ save/restore cursor position in Undo_Justification(), matching
  behavior of Buffer_To_Window() (report by Leon Winter).
+ modify test/knight to provide the "slow" solution for small screens
  using "R", noting that Warnsdorf's method is easily done with "a".
+ modify several test-programs which call use_default_colors() to
  consistently do this only if "-d" option is given.
+ additional changes to test with non-standard variants of curses:
  + modify a loop limit in firework.c to work around absense of limit
    checks in some libraries.
  + fill the last row of a window with "?" in firstlast if waddch does
    not return ERR on the lower-right corner.
+ add checks in test/configure for some functions not in 4.3BSD curses.
+ fix a regression in test/configure (cf: 20170826).
2017-09-10 01:23:51 +00:00
Thomas E. Dickey
5c2245b6fc ncurses 6.0 - patch 20170826
+ fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
+ corrected a warning from tic about keys which are the same, to skip
  over missing/cancelled values.
+ add check in tic for unnecessary use of "2" to denote a shifted
  special key.
+ improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for
  cancelled string capabilities.
+ add check in _nc_parse_entry() for invalid entry name, setting the
  name to "invalid" to avoid problems storing entries.
+ add/improve checks in tic's parser to address invalid input
  + add a check in comp_scan.c to handle the special case where a
    nontext file ending with a NUL rather than newline is given to tic
    as input (Redhat #1484274).
  + allow for cancelled capabilities in _nc_save_str (Redhat #1484276).
  + add validity checks for "use=" target in _nc_parse_entry (Redhat
    #1484284).
  + check for invalid strings in postprocess_termcap (Redhat #1484285)
  + reset secondary pointers on EOF in next_char() (Redhat #1484287).
  + guard _nc_safe_strcpy() and _nc_safe_strcat() against calls using
    cancelled strings (Redhat #1484291).
+ correct typo in curs_memleaks.3x (Sven Joachim).
+ improve test/configure checks for some curses variants not based on
  X/Open Curses.
+ add options for test/configure to disable checks for form, menu and
  panel libraries.
2017-08-27 00:01:25 +00:00
Thomas E. Dickey
a20e6eb464 ncurses 6.0 - patch 20170812
+ improve description of -R option in infocmp manual page (report by
  Stephane Chazelas).
+ add reset_color_pairs() function.
+ add user_caps.5 manual page to document the terminfo extensions used
  by ncurses.
+ improve build scripts, using SIGQUIT vs SIGTRAP; add other configure
  script fixes from work on xterm, lynx and tack.
+ modify install-rule for ncurses-examples to put the data files in
  /usr/share/ncurses-examples
+ improve tracemunch, by changing address-parameters of add_wch(),
  color_content() and pair_content() to dummy parameters.
+ minor optimization to _nc_change_pair, to return quickly when the
  current screen is marked for clearing.
+ in-progress changes to improve performance of test/picsmap.c for
  loading image files.
+ modify allocation for SCREEN's color-pair table to start small, grow
  on demand up to the existing limit.
+ add "RGB" extension capability for direct-color support, use this to
  improve color_content().
+ improve picsmap test-program:
  + if no palette file is needed, attempt to load one based on $TERM,
    checking first in the current directory, then by adding ".dat"
    suffix, and finally in the data-directory, e.g.,
    /usr/share/ncurses-examples
  + add "-l" option for logging
  + add "-d" option for debugging
  + add "-s" option for stepping automatically through list of images,
    with time delay.
  + use tsearch to improve time for loading color table for images.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2017-08-13 00:55:26 +00:00
Thomas E. Dickey
71244b7927 ncurses 6.0 - patch 20170722
+ improve test-packages for ncurses-examples and AdaCurses for lintian
+ modify logic for endwin-state to be able to detect the case where
  the screen was never initialized, using that to trigger a flush of
  ncurses' buffer for mvcur, e.g., in test/dots_mvcur.c for the
  term-driver configuration.
+ add dependency upon ncurses_cfg.h to a few other internal header
  files to allow each to be compiled separately.
+ add dependency upon ncurses_cfg.h to tic's header-files; any program
  using tic-library will have to supply this file.  Legacy tack
  versions supply this file; ongoing tack development has dropped the
  dependency upon tic-library and new releases will not be affected.
2017-07-23 00:30:14 +00:00
Thomas E. Dickey
3e7e5f8b5c ncurses 6.0 - patch 20170624
+ modify c++/etip.h.in to accommodate deprecation of throw() and
  throws() in c++17 (prompted by patch by Romain Geissler).
+ remove some incorrect calls for memory-leaks from 20170617 changes
  (report by Allen Hewes).
+ add test-programs for termattrs and term_attrs.
+ modify _nc_outc_wrapper to use the standard output if the screen was
  not initialized, rather than returning an error.
+ improve checks for low-level terminfo functions when the terminal
  has not been initialized (Redhat #1345963).
+ modify make_hash to allow building with address-sanitizer,
  assuming that --disable-leaks is configured.
+ amend changes for number_format() in 20170506 to avoid undefined
  behavior when shifting (patch by Emanuele Giaquinta).
2017-06-25 01:22:12 +00:00
Thomas E. Dickey
5e1e572b71 ncurses 6.0 - patch 20170415
+ modify several test programs to use new popup_msgs, adapted from
  help-screen used in test/edit_field.c
+ drop two symbols obsoleted in 2004: _nc_check_termtype, and
  _nc_resolve_uses
+ fix some old copyright dates (cf: 20031025).
+ build-fixes for test/savescreen.c to work with AIX and HPUX.
+ minor fix to configure script, adding a backslash/continuation.
+ extend TERMINAL structure for ABI 6 to store numbers internally as
  integers rather than short, by adding new data for this purpose.
+ more fixes for minor memory-leaks in test-programs.
2017-04-16 01:08:25 +00:00
Thomas E. Dickey
a924c24b25 ncurses 6.0 - patch 20170408
+ change logic in wins_nwstr() to avoid addressing data past the output
  of mbstowcs().
+ correct a call to setcchar() in Data_Entry_w() from 20131207 changes.
+ fix minor memory-leaks in test-programs.
+ further improve ifdef in term_entry.h for internal definitions not
  used by tack.
2017-04-09 01:34:02 +00:00
Thomas E. Dickey
3eda6f30a8 ncurses 6.0 - patch 20170401
+ minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
+ add smso for env230, to match sgr -TD
+ remove p7/protect from sgr in fbterm -TD
+ drop setf/setb from fbterm; setaf/setab are enough -TD
+ make xterm-pcolor sgr consistent with other capabilities -TD
+ add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
  (discussion with Nicholas Marriott)
+ add test-programs sp_tinfo and extended_color
+ modify no-leaks code for lib_cur_term.c to account for the tgetent()
  cache.
+ modify setupterm() to save original tty-modes so that erasechar()
  works as expected.  Also modify _nc_setupscreen() to avoid redundant
  calls to get original tty-modes.
+ modify set_curterm() to update ttytype[] data used by longname().
+ modify wattr_set() and wattr_get() to return ERR if win-parameter is
  null, as documented.
+ improve cast used for null-pointer checks in header macros, to
  reduce compiler warnings.
+ modify several functions, using the reserved "opts" parameter to pass
  color- and pair-values larger than 16-bits:
  + getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
    wattr_set(), wchgat(), wcolor_set().
  + Other functions call these with the corresponding altered behavior,
    including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
    slk_color_off(), vid_attr().
+ add new functions for manipulating color- and pair-values larger
  than 16-bits.  These are extended_color_content(),
  extended_pair_content(), extended_slk_color(), init_extended_color(),
  init_extended_pair(), and the corresponding sp-funcs.
2017-04-02 01:27:53 +00:00
Thomas E. Dickey
2e68dc3258 ncurses 6.0 - patch 20170325
+ fix a memory leak in the window-list when creating multiple screens
  (reports by Andres Martinelli, Debian #783486).
+ reviewed calls from link_test.c, added a few more null-pointer
  checks.
+ add a null-pointer check in ungetmouse, in case mousemask was not
  called (report by "Kau").
+ updated curs_sp_funcs.3x for new functions.
2017-03-26 01:21:31 +00:00
Thomas E. Dickey
5eb177874d ncurses 6.0 - patch 20170318
+ change TERMINAL structure in term.h to make it opaque.  Some
  applications misuse its members, e.g., directly modifying it
  rather than using def_prog_mode().
+ modify utility headers such as tic.h to make it clearer which are
  externals that are used by tack.
+ improve curs_slk.3x in particular its discussion of portability.
+ fix cut/paste in legacy_encoding.3x
+ add prototype for find_pair() to new_pair.3x (report by Branden
  Robinson).
+ fix a couple of broken links in generated man-html documentation.
+ regenerate man-html documentation.
2017-03-18 23:27:36 +00:00
Thomas E. Dickey
90d42867e1 ncurses 6.0 - patch 20170311
+ modify vt100 rs2 string to reset vt52 mode and scrolling regions
  (report/analysis by Robert King) -TD
+ add vt100+4bsd building block, use that for older terminals rather
  than "vt100" which is now mostly used as a building block for
  terminal emulators -TD
+ correct a few spelling errors in terminfo.src comments -TD
+ add fbterm -TD
+ fix a typo in ncurses.c test_attr legend (patch by Petr Vanek).
+ changed internal colorpair_t to a struct, eliminating an internal
  8-bit limit on colors
+ add ncurses/new_pair.h
+ add ncurses/base/new_pair.c with alloc_pair(), find_pair() and
  free_pair() functions
+ add test/demo_new_pair.c
2017-03-12 01:04:32 +00:00
Thomas E. Dickey
dcfe712cb3 ncurses 6.0 - patch 20170304
+ improve terminfo manual description of terminfo syntax.
+ clarify the use of wint_t vs wchar_t in curs_get_wstr.3x
+ improve description of endwin() in manual.
+ modify setcchar() and getcchar() to treat negative color-pair as an
  error.
+ fix a typo in include/hashed_db.h (Andre Sa).
2017-03-05 02:40:12 +00:00
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
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
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
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
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
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
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
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
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
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
Thomas E. Dickey
a3725e3927 ncurses 6.0 - patch 20150905
+ add note in curs_addch.3x about line-drawing when it depends upon
  UTF-8.
+ add tic -q option for consistency with infocmp, use it to suppress
  all comments from the "tic -I" output.
+ modify infocmp -q option to suppress the "Reconstructed from"
  header.
+ add infocmp/tic -Q option, which allows one to dump the compiled
  form of the terminal entry, in hexadecimal or base64.
2015-09-06 01:23:48 +00:00
Thomas E. Dickey
21c8ffa0ed ncurses 6.0 - patch 20150822
+ sort options in usage message for infocmp, to make it simpler to
  see unused letters.
+ update usage message for tic, adding "-0" option.
+ documented differences in ESCDELAY versus AIX's implementation.
+ fix some compiler warnings from ports.
+ modify --with-pkg-config-libdir option to make it possible to install
  ".pc" files even if pkg-config is not found (adapted by patch by
  Joshua Root).
2015-08-23 00:47:10 +00:00
Thomas E. Dickey
02f02dcd44 ncurses 6.0 - patch 20150808
+ build-fix for Ada95 on older platforms without stdint.h
+ build-fix for Solaris, whose /bin/sh and /usr/bin/sed are non-POSIX.
+ update release announcement, summarizing more than 800 changes across
  more than 200 snapshots.
+ minor fixes to manpages, etc., to simplify linking from announcement
  page.
2015-08-09 00:19:07 +00:00
Thomas E. Dickey
be512fa073 ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
  for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
  Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
  nsterm-build342 to reflect changes with successive releases of OSX
  (discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
  #783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
  generated ".pc" file when ld option "--as-needed" is used, or when
  ncurses and tinfo are installed without using rpath (prompted by
  discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
  in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
  libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
  been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
  the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
  found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2015-05-03 01:06:46 +00:00
Thomas E. Dickey
fe6abf0923 ncurses 5.9 - patch 20150328
+ add "-f" option to test/savescreen.c to help with testing/debugging
  the extended putwin/getwin.
+ add logic for writing/reading combining characters in the extended
  putwin/getwin.
+ add "--enable-ext-putwin" configure option to turn on the extended
  putwin/getwin.
2015-03-29 01:05:49 +00:00
Thomas E. Dickey
87f20fc6e7 ncurses 5.9 - patch 20150321
+ in-progress changes to provide an extended version of putwin and
  getwin which will be capable of reading screen-dumps between the
  wide/normal ncurses configurations.  These are text files, except
  for a magic code at the beginning:
  0       string          \210\210        Screen-dump (ncurses)
2015-03-22 01:12:56 +00:00
Thomas E. Dickey
a84fd46191 ncurses 5.9 - patch 20141101
+ improve strict compiler-warnings by adding a cast in TRACE_RETURN
  and making a new TRACE_RETURN1 macro for cases where the cast does
  not apply.
2014-11-01 20:48:24 +00:00
Thomas E. Dickey
d7e4a265b5 ncurses 5.9 - patch 20140906
+ build-fix and other improvements for port of ncurses-examples to
  NetBSD.
+ minor compiler-warning fixes.
2014-09-07 00:48:01 +00:00
Thomas E. Dickey
acc28c6418 ncurses 5.9 - patch 20140809
+ modify declarations for user-data pointers in C++ binding to use
  reinterpret_cast to facilitate converting typed pointers to void*
  in user's application (patch by Adam Jiang).
+ regenerated html manpages.
+ add note regarding cause and effect for TERM in ncurses manpage,
  having noted clueless verbiage in Terminal.app's "help" file
  which reverses cause/effect.
+ remove special fallback definition for NCURSES_ATTR_T, since macros
  have resolved type-mismatches using casts (cf: 970412).
+ fixes for win_driver.c:
  + handle repainting on endwin/refresh combination.
  + implement beep().
  + minor cleanup.
2014-08-09 23:40:51 +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
0dc2639645 ncurses 5.9 - patch 20140719
+ make workarounds for compiling test-programs with NetBSD curses.
+ improve configure macro CF_ADD_LIBS, to eliminate repeated -l/-L
  options, from xterm changes.
2014-07-20 00:43:22 +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
d129a54c07 ncurses 5.9 - patch 20140503
+ add vt520ansi terminfo entry (patch by Mike Gran)
+ further improve MinGW support for the scenario where there is an
  ANSI-escapes handler such as ansicon running in the console window
  (patch by Juergen Pfeifer).
2014-05-03 23:36:44 +00:00