Commit Graph

24 Commits

Author SHA1 Message Date
Thomas E. Dickey
02f1dee48f ncurses 6.1 - patch 20191214
+ add exit_curses() and exit_terminfo() to replace internal symbols for
  leak-checking.
2019-12-15 02:10:35 +00:00
Thomas E. Dickey
8890c8f28a ncurses 6.1 - patch 20191207
+ fix a few warnings for test-package builds
+ add curses_trace(), to replace trace().
2019-12-08 02:13:02 +00:00
Thomas E. Dickey
88e7914aca ncurses 6.1 - patch 20190504
+ improve workaround for Solaris wcwidth versus line-drawing characters
  (report by Pavel Stehule).
+ add special case in tic to validate RGB string-capability extension.
+ corrected string/parameter-field for RGB in Caps-ncurses.
2019-05-05 00:42:44 +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
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
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
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
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
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
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
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
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
c99e3eba2c ncurses 6.0 - patch 20150711
+ modify scripts to build/use test-packages for the pthreads
  configuration of ncurses6.
+ add references to ttytype and termcap symbols in demo_terminfo.c and
  demo_termcap.c to ensure that when building ncursest.map, etc., that
  the corresponding names such as _nc_ttytype are added to the list of
  versioned symbols (report by Werner Fink)
+ fix regression from 20150704 (report/patch by Werner Fink).
2015-07-12 01:32:50 +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
4ec5af5be8 ncurses 6.0 - patch 20150613
+ fix overflow warning for OSX with lib_baudrate.c (cf: 20010630).
+ modify script used to generate map/sym files to mark 5.9.20150530 as
  the last "5.9" version, and regenerated the files.  That makes the
  files not use ".current" for the post-5.9 symbols.  This also
  corrects the label for _nc_sigprocmask used in when weak symbols are
  configured for the ncursest/ncursestw libraries (prompted by
  discussion with Sven Joachim).
+ fix typo in NEWS (report by Sven Joachim).
  "--with-abi-version=5" option.
2015-06-14 01:15:46 +00:00
Thomas E. Dickey
c6cfd97b8b ncurses 5.9 - patch 20150214
+ regenerate html manpages using improved man2html from work on xterm.
+ regenerated ".map" and ".sym" files using improved script, accounting
  for the "--enable-weak-symbols" configure option (report by Werner
  Fink).
2015-02-15 01:42:27 +00:00
Thomas E. Dickey
a6ccf7a72f ncurses 5.9 - patch 20150131
+ regenerated ".map" and ".sym" files using improved script, showing
  the combinations of configure options used at each stage.
2015-02-01 02:07:33 +00:00
Thomas E. Dickey
5865ab4cec ncurses 5.9 - patch 20150117
+ improve description in INSTALL of the --with-versioned-syms option.
+ add combination of --with-hashed-db and --with-ticlib to
  configurations for ".map" files (report by Werner Fink).
2015-01-18 01:43:30 +00:00
Thomas E. Dickey
4ad721f3e6 ncurses 5.9 - patch 20150110
+ add a step to generating ".map" files, to declare any remaining
  symbols beginning with "_" as local, at the last version node.
+ improve configure checks for pkg-config, addressing a variant found
  with FreeBSD ports.
+ modify win_driver.c to provide characters for special keys, like
  ansi.sys, when keypad mode is off, rather than returning nothing at
  all (discussion with Eli Zaretskii).
+ add "broken_linker" and "hashed-db" configure options to combinations
  use for generating the ".map" and ".sym" files.
+ avoid using "ld" directly when creating shared library, to simplify
  cross-compiles.  Also drop "-Bsharable" option from shared-library
  rules for FreeBSD and DragonFly (FreeBSD #196592).
+ fix a memory leak in form library Free_RegularExpression_Type()
  (report by Pavel Balaev).
2015-01-11 01:37:29 +00:00
Thomas E. Dickey
b8cca229aa ncurses 5.9 - patch 20150103
+ modify_nc_flush() to retry if interrupted (patch by Stian Skjelstad).
+ change map files to make _nc_freeall a global, since it may be used
  via the Ada95 binding when checking for memory leaks.
+ improve sed script used in 20141220 to account for wide-, threaded-
  variations in ABI 6.
2015-01-04 01:53:54 +00:00
Thomas E. Dickey
7b077b4a85 ncurses 5.9 - patch 20141213
+ modify misc/gen-pkgconfig.in to add -I option for include-directory
  when using both --prefix and --disable-overwrite (report by Misty
  De Meo).
+ add configure option --with-pc-suffix to allow minor renaming of
  ".pc" files and the corresponding library.  Use this in the test
  package for ncurses6.
+ modify configure script so that if pkg-config is not installed, it
  is still possible to install ".pc" files (report by Misty De Meo).
+ updated ".sym" files, removing symbols which are marked as "local"
  in the corresponding ".map" files.
+ updated ".map" files to reflect move of comp_captab and comp_hash
  from tic-library to tinfo-library in 20090711 (report by Sven
  Joachim).
2014-12-14 02:33:09 +00:00
Thomas E. Dickey
762520a793 ncurses 5.9 - patch 20141129
+ improved ".map" files by generating them with a script that builds
  ncurses with several related configurations and merges the results.
  A further refinement is planned, to make the tic- and tinfo-library
  symbols use the same versions across each of the four configurations
  which are represented (reports by Sven Joachim, Werner Fink).
2014-11-30 00:36:42 +00:00
Thomas E. Dickey
50acaeeb9b ncurses 5.9 - patch 20141115
+ improve description of limits for color values and color pairs in
  curs_color.3x (prompted by patch by Tim van der Molen).
+ add VERSION file, using first field in that to record the ABI version
  used for configure --with-libtool --disable-libtool-version
+ add configure options for applying the ".map" and ".sym" files to
  the ncurses, form, menu and panel libraries.
+ add ".map" and ".sym" files to show exported symbols, e.g., for
  symbol-versioning.
2014-11-16 04:08:00 +00:00