Commit Graph

76 Commits

Author SHA1 Message Date
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
aefc1659d7 ncurses 5.9 - patch 20150307
+ document limitations of getwin in manual page (prompted by discussion
  with John S Urban).
+ extend test/savescreen.c to demonstrate that color pair values
  and graphic characters can be restored using getwin.
2015-03-08 00:58:13 +00:00
Thomas E. Dickey
e14300b95d ncurses 5.9 - patch 20150228
+ modify win_driver.c to eliminate the constructor, to make it more
  usable in an application which may/may not need the console window
  (report by Grady Martin).
2015-03-01 02:12:21 +00:00
Thomas E. Dickey
ad0373780c ncurses 5.9 - patch 20150221
+ capture define's related to -D_XOPEN_SOURCE from the configure check
  and add those to the *-config and *.pc files, to simplify use for
  the wide-character libraries.
+ modify ncurses.spec to accommodate Fedora21's location of pkg-config
  directory.
+ correct sense of "--disable-lib-suffixes" configure option (report
  by Nicolas Boos, cf: 20140426).
2015-02-22 02:09:20 +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
fe2691bfa4 ncurses 5.9 - patch 20150124
+ add configure check to determine if "local: _*;" can be used in the
  ".map" files to selectively omit symbols beginning with "_".  On at
  least recent FreeBSD, the wildcard applies to all "_" symbols.
+ remove obsolete/conflicting rule for ncurses.map from
  ncurses/Makefile.in (cf:  20130706).
2015-01-25 02:11:07 +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
1cfa1119f2 ncurses 5.9 - patch 20141227
+ regenerate ".map" files, using step overlooked in 20141213 to use
  the same patch-dates across each file to match ncurses.map (report by
  Sven Joachim).
2014-12-28 01:17:04 +00:00
Thomas E. Dickey
596d5db3cd ncurses 5.9 - patch 20141221
+ fix an incorrect variable assignment in 20141220 changes (report by
  Sven Joachim).
2014-12-21 18:22:29 +00:00
Thomas E. Dickey
b0b1980be1 ncurses 5.9 - patch 20141220
+ updated Ada95/configure with macro changes from 20141213
+ tie configure options --with-abi-version and --with-versioned-syms
  together, so that ABI 6 libraries have distinct symbol versions from
  the ABI 5 libraries.
+ replace obsolete/nonworking link to man2html with current one,
  regenerate html-manpages.
2014-12-21 02:25:56 +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
97bb4678dc ncurses 5.9 - patch 20141206
+ updated ".map" files so that each symbol that may be shared across
  the different library configurations has the same label.  Some
  review is needed to ensure these are really compatible.
+ modify MKlib_gen.sh to work around change in development version of
  gcc introduced here:
	  https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
	  https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
  (reports by Marcus Shawcroft, Maohui Lei).
+ improved configure macro CF_SUBDIR_PATH, from lynx changes.
2014-12-07 03:10: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
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
6434e809cb ncurses 5.9 - patch 20141018
+ reviewed terminology 0.6.1, add function key definitions.  None of
  the vt100-compatibility issues were improved -TD
+ improve infocmp conversion of extended capabilities to termcap by
  correcting the limit check against parametrized[], as well as filling
  in a check if the string happens to have parameters, e.g., "xm"
  in recent changes.
+ add check for zero/negative dimensions for resizeterm and resize_term
  (report by Mike Gran).
2014-10-19 02:16:50 +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
9ee3995474 ncurses 5.9 - patch 20140920
+ add ncurses*-config to bin-directory of sample package-scripts.
+ add check to ensure that getopt is available; this is a problem in
  some older cross-compiler environments.
+ expanded on the description of --disable-overwrite in INSTALL
  (prompted by reports by Joakim Tjernlund, Thomas Klausner).
  See Gentoo #522586 and NetBSD #49200 for examples.
  which relates to the clarified guidelines.
+ remove special logic from CF_INCLUDE_DIRS which adds the directory
  for the --includedir from the build (report by Joakim Tjernlund).
+ add case for Unixware to CF_XOPEN_SOURCE, from lynx changes.
+ update config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2014-09-21 01:02:18 +00:00
Thomas E. Dickey
11d10ad0a1 ncurses 5.9 - patch 20140913
+ add a configure check to ignore some of the plethora of non-working
  C++ cross-compilers.
+ build-fixes for Ada95 with gnat 4.9
2014-09-14 01:20:16 +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
0266ec7510 ncurses 5.9 - patch 20140831
+ modify test/demo_termcap.c and test/demo_terminfo.c to make their
  options more directly comparable, and add "-i" option to specify
  a terminal description filename to parse for names to lookup.
2014-09-01 01:29:48 +00:00
Thomas E. Dickey
17d9459c7a ncurses 5.9 - patch 20140823
+ fix special case where double-width character overwrites a single-
  width character in the first column (report by Egmont Koblinger,
  cf: 20050813).
2014-08-24 00:42:29 +00:00
Thomas E. Dickey
0948e2c7ac ncurses 5.9 - patch 20140816
+ fix colors in ncurses 'b' test which did not work after changing
  it to put the test-strings in subwindows (cf: 20140705).
+ merge redundant SEE-ALSO sections in form and menu manpages.
2014-08-17 01:15:55 +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
c6f54649ed ncurses 5.9 - patch 20140726
+ eliminate some redundant -I options used for building libraries, and
  ensure that ${srcdir} is added to the include-options (prompted by
  discussion with Paul Gilmartin).
+ modify configure script to work with Minix3.2
+ add form library extension O_DYNAMIC_JUSTIFY option which can be
  used to override the different treatment of justification for static
  versus dynamic fields (adapted from patch by Leon Winter).
+ add a null pointer check in test/edit_field.c (report/analysis by
  Leon Winter, cf: 20130608).
2014-07-27 01:50: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
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
ab61bfec8c ncurses 5.9 - patch 20140705
+ add w/W toggle to ncurses.c 'B' test, to demonstrate permutation of
  video-attributes and colors with double-width character strings.
2014-07-06 01:43:07 +00:00
Thomas E. Dickey
1bab6fd2bd ncurses 5.9 - patch 20140629
+ correct check in win_driver.c for saving screen contents, e.g., when
  NCURSES_CONSOLE2 is set (cf: 20140503).
+ reorganize b/B menu items in ncurses.c, putting the test-strings into
  subwindows.  This is needed for a planned change to use Unicode
  fullwidth characters in the test-screens.
+ correct update to form status for _NEWTOP, broken by fixes for
  compiler warnings (patch by Leon Winter, cf: 20120616).
2014-06-30 00:28:28 +00:00
Thomas E. Dickey
987faea670 ncurses 5.9 - patch 20140621
+ change shared-library suffix for AIX 5 and 6 to ".so", avoiding
  conflict with the static library (report by Ben Lentz).
+ document RPATH_LIST in INSTALLATION file, as part of workarounds for
  upgrading an ncurses library using the "--with-shared" option.
+ modify test/ncurses.c c/C tests to cycle through subsets of the
  total number of colors, to better illustrate 8/16/88/256-colors by
  providing directly comparable screens.
+ add test/dots_curses.c, for comparison with the low-level examples.
2014-06-21 23:56:54 +00:00
Thomas E. Dickey
6be6b9d920 ncurses 5.9 - patch 20140614
+ fix dereference before null check found by Coverity in tic.c
  (cf: 20140524).
+ fix sign-extension bug in read_entry.c which prevented "toe" from
  reading empty "screen+italics" entry.
+ modify sgr for screen.xterm-new to support dim capability -TD
+ add dim capability to nsterm+7 -TD
+ cancel dim capability for iterm -TD
+ add dim, invis capabilities to vte-2012 -TD
+ add sitm/ritm to konsole-base and mlterm3 -TD
2014-06-15 00:37:21 +00:00
Thomas E. Dickey
d334d9351a ncurses 5.9 - patch 20140609
> fix regression in screen terminfo entries (reports by Christian
  Ebert, Gabriele Balducci) -TD
+ revert the change to screen; see notes for why this did not work -TD
+ cancel sitm/ritm for entries which extend "screen", to work around
  screen's hardcoded behavior for SGR 3 -TD
2014-06-09 21:58:06 +00:00
Thomas E. Dickey
bd0d93918c ncurses 5.9 - patch 20140607
+ separate masking for sgr in vidputs from sitm/ritm, which do not
  overlap with sgr functionality.
+ remove unneeded -i option from adacurses-config; put -a in the -I
  option for consistency (patch by Pascal Pignard).
+ update xterm-new to patch #305 -TD
+ change format of test-scripts for Debian Ada95 and ncurses-examples
  packages to quilted to work around Debian #700177 (cf: 20130907).
+ build fix for form_driver_w.c as part of ncurses-examples package for
  older ncurses than 20131207.
+ add Hello World example to adacurses-config manpage.
+ remove unused --enable-pc-files option from Ada95/configure.
+ add --disable-gnat-projects option for testing.
+ revert changes to Ada95 project-files configuration (cf: 20140524).
+ corrected usage message in adacurses-config.
2014-06-07 23:21:57 +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
c9c32236e2 ncurses 5.9 - patch 20140510
+ cleanup recently introduced compiler warnings for MingW port.
+ workaround for ${MAKEFLAGS} configure check versus GNU make 4.0,
  which introduces more than one gratuitous incompatibility.
2014-05-11 00:01:10 +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
3a2f63eb5a ncurses 5.9 - patch 20140419
+ update config.guess, config.sub from
	http://git.savannah.gnu.org/cgit/config.git
2014-04-20 00:09:24 +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
0a402bd0b8 ncurses 5.9 - patch 20140329
+ add check in tic for mismatch between ccc and initp/initc
+ cancel ccc in putty-256color and konsole-256color for consistency
  with the cancelled initc capability (patch by Sven Zuhlsdorf).
+ add xterm+256setaf building block for various terminals which only
  get the 256-color feature half-implemented -TD
+ updated "st" entry (leaving the 0.1.1 version as "simpleterm") to
  0.4.1 -TD
2014-03-30 00:23:11 +00:00
Thomas E. Dickey
1165d1f8ac ncurses 5.9 - patch 20140323
+ fix typo in "mlterm" entry (report by Gabriele Balducci) -TD
2014-03-23 21:22:47 +00:00
Thomas E. Dickey
e3509ece56 ncurses 5.9 - patch 20140322
+ use types from <stdint.h> in sample build-scripts for chtype, etc.
+ modify configure script and curses.h.in to allow the types specified
  using --with-chtype and related options to be defined in <stdint.h>
+ add terminology entry -TD
+ add mlterm3 entry, use that as "mlterm" -TD
+ inherit mlterm-256color from mlterm -TD
2014-03-23 00:28:32 +00:00
Thomas E. Dickey
f8a14dc012 ncurses 5.9 - patch 20140315
+ modify _nc_New_TopRow_and_CurrentItem() to ensure that the menu's
  top-row is adjusted as needed to ensure that the current item is
  on the screen (patch by Johann Klammer).
+ add wgetdelay() to retrieve _delay member of WINDOW if it happens to
  be opaque, e.g., in the pthread configuration (prompted by patch by
  Soren Brinkmann).
2014-03-16 00:46:02 +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