Commit graph

75 commits

Author SHA1 Message Date
Warner Losh d37eb51047 contrib: Remove various $FreeBSD$ tags not upstream
Sponsored by:		Netflix
2024-05-31 13:49:17 -06:00
Mark Johnston b2da103239 ncurses: Apply a tputs() fix from patch 20210403
From the (substantially larger) upstream commit:
+ call delay_output_sp to handle BSD-style padding when tputs_sp is
  called, whether directly or internally, to ensure that the SCREEN
  pointer is passed correctly (reports by Henric Jungheim, Juraj
  Lutter).

This fixes bison segfaults observed when colourized output is enabled.
Thanks to jrtc27@ for identifying the upstream fix.

PR:		256731
MFC after:	3 days
2021-08-11 13:08:23 -04:00
Baptiste Daroussin 7a65641922 ncurses: import version 6.2-20210220 2021-02-25 19:26:56 +01:00
Baptiste Daroussin e18651243e Update to 6.2-20200215
While I didn't plan another upgrade, This version incorporate fixes from
kevans@ so let's upgrade to it
2020-02-19 17:09:08 +00:00
Baptiste Daroussin aae38d10b4 Update ncurses to 20200118
Among the changes from before:
- Add support for extended colors on widechar version
- Enable ncurses extended functions
- Enable version 2 of the extended mouse support
- Enable SCREEN extensions

Modification that differs from upstream:
- _nc_delink_entries used to be exposed and was turn static,
  turn it back as dynamic to not break abi
- Adapt our old termcap.c to modern ncurses

MFC after:	3 weeks
2020-02-18 08:11:52 +00:00
Kyle Evans d8b7b73571 ncurses: correct check for gcc >= 5.0
The hack in question is intended to workaround seemingly bogus #line markers
in cpp output. As far as I can tell, llvm cpp doesn't do this by default, so
there's no reason to add -P.

In our /bin/sh, the main incantation should be placed in a sub-shell in
order to properly pipe the output to fgrep.

The main motivation for this change is admittedly to stop emitting the noise
about clang not being gcc in make -s buildworld

MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D22952
2020-02-14 04:16:22 +00:00
Dimitry Andric 8ebfbdbef8 In ncurses baudrate definitions, avoid warnings about implicit
conversions from int to short changing the values.  This applies to
B38400 and higher, since their values do not fit into a short.

However, since the wrapped values are still unique, and they only serve
as keys, there is no problem in adding a cast to silence the warnings.
This also avoids changing the ABI, which would happen if we changed
NCURSES_OSPEED to int.

Discussed with:	Thomas Dickey
MFC after:	1 week
2016-08-27 20:33:19 +00:00
Bryan Drewery 29df9f6b75 DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools.
This avoids running target binaries.

Sponsored by:	EMC / Isilon Storage Division
2016-05-09 22:21:09 +00:00
Alexander Kabaev c247c492af Make ncurses build with GCC 5.0 and up
Merge the end result of two upstream changes:

Original fix from 20141206:
  + 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).

Later fixed in different manner in 20150725:
  + use alternate workaround for gcc 5.x feature (adapted from patch by
    Mikhail Peselnik).
2015-08-27 14:00:20 +00:00
Xin LI fd13916c8b Workaround a GCC warning to unbreak ARM build.
Reported by:	ian
2014-03-03 08:01:36 +00:00
Xin LI 73f0a83d68 MFV r262639: ncurses 5.9 20140222 snapshot.
Requested by:	bapt
2014-03-02 08:58:21 +00:00
Xin LI 06bfebdedb MFV r262617: ncurses 5.9. 2014-02-28 23:48:13 +00:00
Dimitry Andric db763e7cdf Correct use_screen() and use_window() prototypes in curs_threads(3x).
Submitted by:	Yanhui Shen <shen.elf@gmail.com>
MFC after:	3 days
2012-05-22 06:28:53 +00:00
Rong-En Fan ba09753559 Merge r210464 from vendor/ncurses/dist:
- Fix wrong manpage title for keybound.3X

 PR:		docs/148864
 Obtained from: ncurses-5.7-20081213 snapshot
2010-07-25 11:48:27 +00:00
Rong-En Fan e99c18762e Merge r198489 from vendor/ncurses/dist:
Pull upstream patch to fix ee(1) crash when received SIGWINCH:

   modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
   SIGWINCH, and discard that value, to avoid confusing application
   (patch by Eygene Ryabinkin, FreeBSD bin/136223).

PR:		136223
Submitted by:	Eygene Ryabinkin
Obtained from:	ncurses-5.7-20091024 snapshot
MFC after:	3 days
2009-10-26 13:03:52 +00:00
Rong-En Fan d87cbd8b75 - Update instructions for Subversion import
- Remove FREEBSD-vendor as edwin@ is working on a automatically contrib
  software status page generation
2008-11-15 09:30:09 +00:00
Rong-En Fan 5d08fb1f77 - Update ncurses to 5.7-20081102 (5.7 release) and build glue
- This also removes $FreeBSD$ from two now unmodifed source files
  ncurses/tinfo/lib_raw.c and ncurses/tinfo/lib_baudrate.c

MFC after:	2 months (after 7.1 and 6.4 are released)
2008-11-15 09:23:48 +00:00
Rong-En Fan a388f19919 - Flatten the vendor area 2008-11-09 09:06:04 +00:00
Rong-En Fan 68fa82ebe1 - update maintainer's info per src/MAINTAINERS 2008-06-04 07:38:38 +00:00
Rong-En Fan 6f67bb1485 - Update for 5.6-20080503 2008-05-09 02:30:24 +00:00
Rong-En Fan aa59d4d4c5 Import ncurses 5.6-20080503 snapshot onto the vender branch 2008-05-09 02:28:12 +00:00
Rong-En Fan b285ba3630 This commit was generated by cvs2svn to compensate for changes in r178866,
which included commits to RCS files with non-trunk default branches.
2008-05-09 02:28:12 +00:00
Rong-En Fan d52218b200 - Update instructions for snapshot import 2008-02-11 13:42:45 +00:00
Rong-En Fan 60aa916070 Per discussion on developers@, add vendor information for ncurses. 2008-02-11 13:40:20 +00:00
Rong-En Fan d8977eaf36 Import ncurses 5.6-20080209 snapshot onto the vender branch 2008-02-11 13:37:14 +00:00
Rong-En Fan ce14abc704 This commit was generated by cvs2svn to compensate for changes in r176187,
which included commits to RCS files with non-trunk default branches.
2008-02-11 13:37:14 +00:00
Rong-En Fan 9242ce6620 - Update notes 2007-12-30 11:19:29 +00:00
Rong-En Fan 4454585cdd - Resolve conflicts
- Our changes in lib_termcap.c is now merged in upstream
2007-12-30 11:15:46 +00:00
Rong-En Fan 536bf19adc - Remove files that are removed in upstream 2007-12-30 11:10:17 +00:00
Rong-En Fan 45ed6d05ba This commit was generated by cvs2svn to compensate for changes in r174996,
which included commits to RCS files with non-trunk default branches.
2007-12-30 11:10:17 +00:00
Rong-En Fan 5ca44d1c91 Import ncurses 5.6-20071222 snapshot onto the vender branch 2007-12-30 11:08:14 +00:00
Rong-En Fan ca7562e9c2 This commit was generated by cvs2svn to compensate for changes in r174993,
which included commits to RCS files with non-trunk default branches.
2007-12-30 11:08:14 +00:00
Rong-En Fan 1fe671fed0 Add instructions for future update.
Approved by:	delphij
2007-01-20 08:24:05 +00:00
Rong-En Fan 01b82453a3 Remove files that are no longer exist.
Approved by:	delphij
2007-01-20 08:21:19 +00:00
Rong-En Fan 7d0e8efafb - Resolve conflicts
- Remove files that are removed in vender branch

Approved by:	delphij
2007-01-20 07:39:17 +00:00
Rong-En Fan 4a1a95108d Import ncurses 5.6-20061217 onto the vender branch
Approved by:	delphij
2007-01-20 07:32:02 +00:00
Rong-En Fan 2bc3093fdf This commit was generated by cvs2svn to compensate for changes in r166124,
which included commits to RCS files with non-trunk default branches.
2007-01-20 07:32:02 +00:00
Ruslan Ermilov 555c9cae3c Fix from upstream: unbreak generation of the terminfo.5 manpage.
PR:		docs/46709, docs/56981, docs/80871
MFC after:	3 days
Obtained from:	ftp://invisible-island.net/ncurses/ncurses-5.5.tar.gz
2006-10-14 19:50:57 +00:00
Ruslan Ermilov 9110424caf This commit was generated by cvs2svn to compensate for changes in r163356,
which included commits to RCS files with non-trunk default branches.
2006-10-14 19:50:57 +00:00
Poul-Henning Kamp 879e5da3b4 Switch to contemporary TTY interface. 2005-07-15 07:41:26 +00:00
Andrey A. Chernov 211e7e4108 Fix problem with missing pseudographics on stock xterm* entries -
import official fix onto the vendor branch.

Submitted by:	Thomas Dickey <dickey@herndon4.his.com>
Approved by:	no response from maintainer
2002-10-12 10:22:52 +00:00
Andrey A. Chernov de77341b0d This commit was generated by cvs2svn to compensate for changes in r104977,
which included commits to RCS files with non-trunk default branches.
2002-10-12 10:22:52 +00:00
Peter Wemm d91c14de79 Merge ncurses 5.2-20020615 changes onto mainline. 2002-06-20 19:44:40 +00:00
Peter Wemm b82face19f Import ncurses 5.2-20020615 to fix a first-column display bug. 2002-06-20 19:42:51 +00:00
Peter Wemm f7c5a79be8 This commit was generated by cvs2svn to compensate for changes in r98503,
which included commits to RCS files with non-trunk default branches.
2002-06-20 19:42:51 +00:00
Peter Wemm 3badd6bcab Removed in latest import 2002-05-21 06:52:47 +00:00
Peter Wemm 3e1a1dd23d This commit was generated by cvs2svn to compensate for changes in r97055,
which included commits to RCS files with non-trunk default branches.
2002-05-21 06:52:47 +00:00
Peter Wemm a17d2cb23c Merge ncurses-5.2-20010512 -> ncurses-5.2-20020518 changes onto mainline. 2002-05-21 05:38:04 +00:00
Peter Wemm 39f2269fcb Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
2002-05-21 05:30:25 +00:00
Peter Wemm 7467abe828 This commit was generated by cvs2svn to compensate for changes in r97049,
which included commits to RCS files with non-trunk default branches.
2002-05-21 05:30:25 +00:00