Commit Graph

156 Commits

Author SHA1 Message Date
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
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
93ed44d781 ncurses 6.0 - patch 20170923
+ modify menu for test/ncurses.c to fit on 24-line screen.
+ build-fix for configure --with-caps=uwin
+ add options to test_arrays.c, for selecting termcap vs terminfo, etc.
2017-09-23 16:23:58 +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
a201678509 ncurses 6.0 - patch 20170715
+ modify command-line parameters for "convert" used in picsmap to work
  with ImageMagick 6.8 and newer.
+ fix build-problem with tack and ABI-5 (Debian #868328).
+ repair termcap-format from tic/infocmp broken in 20170701 fixes
  (Debian #868266).
+ reformat terminfo.src with 20170513 updates.
+ improve test-packages to address lintian warnings.
2017-07-16 00:53:16 +00:00
Thomas E. Dickey
b22573b1ba ncurses 6.0 - patch 20170701
+ modify update_getenv() in db_iterator.c to ensure that environment
  variables which are not initially set will be checked later if an
  application happens to set them (patch by Guillaume Maudoux).
+ remove initialization-check for calling napms() in the term-driver
  configuration; none is needed.
+ add help-screen to test/test_getstr.c and test/test_get_wstr.c
+ improve compatibility between different configurations of new_prescr,
  fixing a case with threaded code and term-driver where c++/demo did
  not work (cf: 20160213).
+ the fixes for Redhat #1464685 obscured a problem subsequently
  reported in Redhat #1464687; the given test-case was no longer
  reproducible.  Testing without the fixes for the earlier reports
  showed a problem with buffer overflow in dump_entry.c, which is
  addressed by reducing the use of a fixed-size buffer.
+ add/improve checks in tic's parser to address invalid input
  (Redhat #1464684, #1464685, #1464686, #1464691).
  + alloc_entry.c, add a check for a null-pointer.
  + parse_entry.c, add several checks for valid pointers as well as
    one check to ensure that a single character on a line is not
    treated as the 2-character termcap short-name.
+ fix a memory leak in delscreen() (report by Bai Junq).
+ improve tracemunch, showing thread identifiers as names.
+ fix a use-after-free in NCursesMenu::~NCursesMenu()
+ further amend incorrect calls for memory-leaks from 20170617 changes
  (report by Allen Hewes).
2017-07-02 01:01:29 +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
af3d0ee323 ncurses 6.0 - patch 20170617
+ fill in some places where TERMTYPE2 vs TERMTYPE was not used
  (report by Allen Hewes).
+ use ExitTerminfo() internally in error-exits for ncurses' setupterm
  to help with leak checking.
+ use ExitProgram() in error-exit from initscr() to help with leak
  checking.
+ review test-programs, adding checks for cases where the terminal
  cannot be initialized.
2017-06-18 00:37:29 +00:00
Thomas E. Dickey
2560bc3dae ncurses 6.0 - patch 20170603
+ add option to picsmap to use color-palette files, e.g., for mapping
  to xterm-256color.
+ move the data in SCREEN used for the alloc_pair() function to the
  end, to restore compatibility between ncurses/ncursesw libtinfo
  (report/patch by Miroslav Lichvar).
+ add build-time utility "report_offsets" to help show when the various
  configurations of tinfo library are compatible or not.
2017-06-04 02:00:28 +00:00
Thomas E. Dickey
a8e3f06ac3 ncurses 6.0 - patch 20170422
+ build-fix for termcap-configuration (report by Chi-Hsuan Yen).
+ improve terminfo manual page discussion of control- and graphics-
  characters.
+ remove tic warning about "^?" in string capabilities, which was
  marked as an extension (cf: 20000610, 20110820); however all Unix
  implementations support this and X/Open Curses does not address it.
  On the other hand, termcap never did support this feature.
+ correct missing comma-separator between string capabilities in
  icl6402 and m2-nam -TD
+ restore rmir/smir in ansi+idc to better match original ansiterm+idc,
  add alias ansiterm (report by Robert King).
+ amend an old check for ambiguous use of "ma" in terminfo versus
  a termcap use, if the capability is cancelled to treat it as number.
+ correct a case in _nc_captoinfo() which read "%%" and emitted "%".
+ modify sscanf calls in _nc_infotocap() for patterns "%{number}%+%c"
  and "%'char'%+%c" to check that the final character is really 'c',
  avoiding a case in icl6404 which cannot be converted to termcap.
+ in _nc_infotocap(), add a check to ensure that terminfo "^?" is not
  written to termcap, because the BSDs did not implement that.
+ in _nc_tic_expand() and _nc_infotocap(), improve string-length check
  when deciding whether to use "^X" or "\xxx" format for control
  characters, to make the output of tic/infocmp more predictable.
+ limit termcap "%d" width to 2 digits on input, and use "%2" in
  preference to "%02" on output.
+ correct terminfo/termcap conversion of "%02" and "%03" into "%2" and
  "%3"; the result repeated the last character.
+ add man/scr_dump.5 to document screen-dump format.
2017-04-22 22:55:55 +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
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
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
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
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
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
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
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
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
91e802b0dd ncurses 6.0 - patch 20150627
+ modify configure script to remove deprecated ABI 5 symbols when
  building ABI 6.
+ add symbols _nc_Default_Field, _nc_Default_Form, _nc_has_mouse to
  map-files, but marked as deprecated so that they can easily be
  suppressed from ABI 6 builds (Debian #788610).
+ comment-out "screen.xterm" entry, and inherit screen.xterm-256color
  from xterm-new (report by Richard Birkett) -TD
+ modify read_entry.c to set the error-return to -1 if no terminal
  databases were found, as documented for setupterm.
+ add test_setupterm.c to demonstrate normal/error returns from the
  setupterm and restartterm functions.
+ amend cleanup change from 20110813 which removed redundant definition
  of ret_error, etc., from tinfo_driver.c, to account for the fact that
  it should return a bool rather than int (report/analysis by Johannes
  Schindelin).
2015-06-28 01:06:27 +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
16e3e58a50 ncurses 5.9 - patch 20141025
+ in-progress changes to integrate the win32 console driver with the
  msys2 configuration.
2014-10-25 09:48:06 +00:00
Thomas E. Dickey
83e9a85c42 ncurses 5.9 - patch 20141011
+ add experimental support for xterm's 1005 mouse mode, to use in a
  demonstration of its limitations.
+ add experimental support for "%u" format to terminfo.
+ modify test/ncurses.c to also show position reports in 'a' test.
+ minor formatting fixes to _nc_trace_mmask_t, make this function
  exported to help with debugging mouse changes.
+ improve behavior of wheel-mice for xterm protocol, noting that there
  are only button-presses for buttons "4" and "5", so there is no need
  to wait to combine events into double-clicks (report/analysis by
  Greg Field).
+ provide examples xterm-1005 and xterm-1006 terminfo entries -TD
+ implement decoder for xterm SGR 1006 mouse mode.
2014-10-12 01:08:25 +00:00
Thomas E. Dickey
a8845f1fea ncurses 5.9 - patch 20140927
+ implement curs_set in win_driver.c
+ implement flash in win_driver.c
+ fix an infinite loop in win_driver.c if the command-window loses
  focus.
+ improve the non-buffered mode, i.e., NCURSES_CONSOLE2, of
  win_driver.c by temporarily changing the buffer-size to match the
  window-size to eliminate the scrollback.  Also enforce a minimum
  screen-size of 24x80 in the non-buffered mode.
+ modify generated misc/Makefile to suppress install.data from the
  dependencies if the --disable-db-install option is used, compensating
  for the top-level makefile changes used to add ncurses*-config in the
  20140920 changes (report by Steven Honeyman).
2014-09-28 00:19:13 +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
6b96eb711c ncurses 5.9 - patch 20140712
+ correct Charable() macro check for A_ALTCHARSET in wide-characters.
+ build-fix for position-debug code in tty_update.c, to work with or
  without sp-funcs.
2014-07-12 23:53:41 +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
Thomas E. Dickey
7d3e03f12f ncurses 5.9 - patch 20140426
+ add --disable-lib-suffixes option (adapted from patch by Juergen
  Pfeifer).
+ merge some changes from Juergen Pfeifer's work with MSYS2, to
  simplify later merging:
  + use NC_ISATTY() macro for isatty() in library
  + add _nc_mingw_isatty() and related functions to windows-driver
  + rename terminal driver entrypoints to simplify grep's
+ remove a check in the sp-funcs flavor of newterm() which allowed only
  the first call to newterm() to succeed (report by Thomas Beierlein,
  cf: 20090927).
2014-04-26 21:45:12 +00:00
Thomas E. Dickey
63e3cafac1 ncurses 5.9 - patch 20140412
+ modify configure script:
  + drop the -no-gcc option from Intel compiler, from lynx changes.
  + extend the --with-hashed-db configure option to simplify building
    with different versions of Berkeley database using FreeBSD ports.
+ improve initialization for MinGW port (patch by Juergen Pfeifer):
  + enforce Windows-style path-separator if cross-compiling,
  + add a driver-name method to each of the drivers,
  + allow the Windows driver name to match "unknown", ignoring case,
  + lengthen the built-in name for the Windows console driver to
    "#win32console", and
  + move the comparison of driver-names allowing abbreviation, e.g.,
    to "#win32con" into the Windows console driver.
2014-04-13 00:46:18 +00:00
Thomas E. Dickey
ef2d99350e ncurses 5.9 - patch 20140308
+ modify ifdef in read_entry.c to handle the case where
  NCURSES_USE_DATABASE is not defined (patch by Xin Li).
+ add cast in form_driver_w() to fix ARM build (patch by Xin Li).
+ add logic to win_driver.c to save/restore screen contents when not
  allocating a console-buffer (cf: 20140215).
2014-03-09 00:21:30 +00:00
Thomas E. Dickey
4f84dbbd02 ncurses 5.9 - patch 20140201
+ add/use symbol NCURSES_PAIRS_T like NCURSES_COLOR_T, to illustrate
  which "short" types are for color pairs and which are color values.
+ fix build for s390x, by correcting field bit offsets in generated
  representation clauses when int=32 long=64 and endian=big, or at
  least on s390x (patch by Nicolas Boulenguez).
+ minor cleanup change to test/form_driver_w.c (patch by Gaute Hope).
2014-02-02 00:11:40 +00:00
Thomas E. Dickey
89407f55b3 ncurses 5.9 - patch 20131116
+ add special case to configure script to move _XOPEN_SOURCE_EXTENDED
  definition from CPPFLAGS to CFLAGS if it happens to be needed for
  Solaris, because g++ errors with that definition (report by
  Jean-Pierre Flori, Sage #15268).
+ correct logic in infocmp's -i option which was intended to ignore
  strings which correspond to function-keys as candidates for piecing
  together initialization- or reset-strings.  The problem dates to
  1.9.7a, but was overlooked until changes in -Wlogical-op warnings for
  gcc 4.8 (report by David Binderman).
+ updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, adding
  checks for -Wextra, -Wignored-qualifiers and -Wlogical-op
+ updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, moving
  checks for -Wextra and -Wdeclaration-after-statement into the macro,
  and adding checks for -Wignored-qualifiers, -Wlogical-op and
  -Wvarargs
+ updated CF_CURSES_UNCTRL_H and CF_SHARED_OPTS macros from ongoing
  work on cdk.
+ update config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2013-11-17 00:20:49 +00:00
Thomas E. Dickey
e6319890fa ncurses 5.9 - patch 20131027
+ correct/simplify ifdef's for cur_term versus broken-linker and
  reentrant options (report by Jean-Pierre Flori, cf: 20090530).
+ modify release/version combinations in test build-scripts to make
  them more consistent with other packages.
2013-10-28 08:09:20 +00:00
Thomas E. Dickey
952539d2f6 ncurses 5.9 - patch 20130831
+ modify test/ncurses.c b/B tests to display lines only for the
  attributes which a given terminal supports, to make room for an
  italics test.
+ completed ncv table in terminfo.tail; it did not list the wide
  character codes listed in X/Open Curses issue 7.
+ add A_ITALIC extension (prompted by discussion with Egmont Koblinger).
2013-08-31 21:14:42 +00:00
Thomas E. Dickey
dff527f594 ncurses 5.9 - patch 20130824
+ fix some gcc 4.8 -Wconversion warnings.
+ change format of dpkg test-scripts to quilted to work around bug
  introduced by Debian #700177.
+ discard cached keyname() values if meta() is changed after a value
  was cached using (report by Kurban Mallachiev).
2013-08-25 00:03:40 +00:00
Thomas E. Dickey
2403eaecbe ncurses 5.9 - patch 20130126
+ further fixes to mvcur to pass callback function (cf: 20130112),
  needed to make test/dots_mvcur work.
+ reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
  help reduce flicker.
+ modify configure script to omit "+b" from linker options for very
  old HP-UX systems (report by Dennis Grevenstein)
+ add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
  by Dennis Grevenstein).
+ restore memmove/strdup support for antique systems (request by
  Dennis Grevenstein).
+ change %l behavior in tparm to push the string length onto the stack
  rather than saving the formatted length into the output buffer
  (report by Roy Marples, cf: 980620).
2013-01-27 02:16:18 +00:00
Thomas E. Dickey
a1e63be290 ncurses 5.9 - patch 20130112
+ correct prototype in manpage for vid_puts.
+ drop ncurses/tty/tty_display.h, ncurses/tty/tty_input.h, since they
  are unused in the current driver model.
+ modify mvcur to use stdout except when called within the ncurses
  library.
+ modify vidattr and vid_attr to use stdout as documented in manpage.
+ amend changes made to buffering in 20120825 so that the low-level
  putp() call uses stdout rather than ncurses' internal buffering.
  The putp_sp() call does the same, for consistency (Redhat #892674).
2013-01-13 02:00:14 +00:00
Thomas E. Dickey
925cd3b851 ncurses 5.9 - patch 20121222
+ add *.dSYM directories to clean-rule in ncurses directory makefile,
  for Mac OS builds.
+ add a configure check for gcc option -no-cpp-precomp, which is not
  available in all Mac OS X configurations (report by Andras Salamon,
  cf: 20011208).
+ improve 20021221 workaround for broken acs, handling a case where
  that ACS_xxx character is not in the acsc string but there is a known
  wide-character which can be used.
2012-12-23 02:10:42 +00:00
Thomas E. Dickey
1c551ea75e ncurses 5.9 - patch 20121215
+ fix several warnings from clang 3.1 --analyze, includes correcting
  a null-pointer check in _nc_mvcur_resume.
+ correct display of double-width characters with MinGW port (report
  by Erwin Waterlander).
+ replace MinGW's wcrtomb(), fixing a problem with _nc_viscbuf
> fixes based on Coverity report:
+ correct coloring in test/bs.c
+ correct check for 8-bit value in _nc_insert_ch().
+ remove dead code in progs/tset.c, test/linedata.h
+ add null-pointer checks in lib_tracemse.c, panel.priv.h, and some
  test-programs.
2012-12-16 01:26:24 +00:00
Thomas E. Dickey
64f44b13d3 ncurses 5.9 - patch 20121208
+ modify test/knight.c to show the number of choices possible for
  each position in automove option, e.g., to allow user to follow
  Warnsdorff's rule to solve the puzzle.
+ modify test/hanoi.c to show the minimum number of moves possible for
  the given number of tiles (prompted by patch by Lucas Gioia).
> fixes based on Coverity report:
+ remove a few redundant checks.
+ correct logic in test/bs.c, when randomly placing a specific type of
  ship.
+ check return value from remove/unlink in tic.
+ check return value from sscanf in test/ncurses.c
+ fix a null dereference in c++/cursesw.cc
+ fix two instances of uninitialized variables when configuring for the
  terminal driver.
+ correct scope of variable used in SetSafeOutcWrapper macro.
+ set umask when calling mkstemp in tic.
+ initialize wbkgrndset() temporary variable when extended-colors are
  used.
2012-12-09 01:53:49 +00:00
Thomas E. Dickey
286b1e1135 ncurses 5.9 - patch 20121201
+ also replace MinGW's wctomb(), fixing a problem with setcchar().
+ modify test/view.c to load UTF-8 when built with MinGW by using
  regular win32 API because the MinGW functions mblen() and mbtowc()
  do not work.
2012-12-02 02:34:01 +00:00
Thomas E. Dickey
5ae2721913 ncurses 5.9 - patch 20121102
+ realign these related pages:
    curs_add_wchstr.3x
    curs_addchstr.3x
    curs_addstr.3x
    curs_addwstr.3x
  and fix a long-ago error in curs_addstr.3x which said that a -1
  length parameter would only write as much as fit onto one line
  (report by Reuben Thomas).
+ remove obsolete fallback _nc_memmove() for memmove()/bcopy().
+ remove obsolete fallback _nc_strdup() for strdup().
+ cancel any debug-rpm in package/ncurses.spec
+ reviewed vte-2012, reverted most of the change since it was incorrect
  based on testing with tack -TD
+ un-cancel the initc in vte-256color, since this was implemented
  starting with version 0.20 in 2009 -TD
2012-11-03 23:59:23 +00:00
Thomas E. Dickey
91fa4688e8 ncurses 5.9 - patch 20121026
+ improve malloc/realloc checking (prompted by discussion in Redhat
  #866989).
+ add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
+ updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST.  The
  first corrects pattern used for Mac OS X's customization of gcc.
2012-10-27 23:06:26 +00:00
Thomas E. Dickey
0573f2d712 ncurses 5.9 - patch 20120901
+ add a null-pointer check in _nc_flush (cf: 20120825).
+ fix a case in _nc_scroll_optimize() where the _oldnums_list array
  might not be allocated.
+ improve comparisons in configure.in for unset shell variables.
2012-09-02 01:02:56 +00:00
Thomas E. Dickey
6c611e6696 ncurses 5.9 - patch 20120825
+ change output buffering scheme, using buffer maintained by ncurses
  rather than stdio, to avoid problems with SIGTSTP handling (report
  by Brian Bloniarz).
2012-08-25 23:18:18 +00:00