aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vi
Commit message (Collapse)AuthorAgeFilesLines
* nvi: import version 2.2.2Baptiste Daroussin2026-01-148-446/+440
|\
* | nvi: import version 2.2.1-52c07e8Baptiste Daroussin2025-01-021-25/+26
|\|
* | nvi: import version 2.2.1Baptiste Daroussin2023-09-272-86/+86
|\|
* | Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-164-4/+0
| | | | | | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* | Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-163-3/+0
| | | | | | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* | Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-192-2/+7
| |
* | ncurses: chase dependency changes in the source treeBaptiste Daroussin2021-10-041-1/+1
| | | | | | | | Differential Revision: https://reviews.freebsd.org/D32098
* | import nvi 2.2.0-3bbdfe4Baptiste Daroussin2021-05-216-2/+619
|\|
* | Update nvi to 2.2.0-05ed8b9Baptiste Daroussin2020-10-012-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | This version incorporates many fixes in particular a fix for vi -w Another approach was proposed to merge those fixes (see review), I find it easier to track changes if we keep importing snapshot on regular basis PR: 241985 Reported by: fernape Differential Revision: https://reviews.freebsd.org/D26158 Notes: svn path=/head/; revision=366309
* | Update nvi to 2.2.0Baptiste Daroussin2020-09-094-11/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main changes: * Vim-style expandtab option * Provides Turkish translation * Backspace now deletes \ rather than being escaped * T during motion commands is now VI-compatible * Encoding related fixes, such as UTF-8 detection * Fixed a number of memory management issues MFC after: 3 weeks Notes: svn path=/head/; revision=365499
* | Remove RELEASE_CRUNCH hereWarner Losh2019-07-191-1/+1
| | | | | | | | | | | | | | | | If someone wants to subset, they can set MK_ICONV=no. We no longer use it for the release. Notes: svn path=/head/; revision=350154
* | Fix .depend files to work for build tools.Bryan Drewery2019-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | This is somewhat of a follow-up to r335746. MFC after: 2 weeks Sponsored by: DellEMC Notes: svn path=/head/; revision=349062
* | Don't use CCACHE for linking.Bryan Drewery2018-06-271-1/+1
| | | | | | | | | | | | | | | | MFC after: 2 weeks Sponsored by: Dell EMC Notes: svn path=/head/; revision=335733
* | DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | | | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* | Adopt SRCTOP in usr.binWarner Losh2017-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* | make vi message catalogues build independent of localeEd Maste2017-02-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r275234 addressed sort automatically converting 8-bit locales to UTF-8 by using "LANG=C sort", but LC_ALL overrides LANG if set, so the issue may still be present depending on the user's environment. Use LC_ALL=C instead. Reported by: tests.reproducible-builds.org Reviewed by: bapt MFC after: 1 week Sponsored by: The Linux Foundation / Core Infrastructure Initiative Differential Revision: https://reviews.freebsd.org/D9765 Notes: svn path=/head/; revision=314139
* | DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools.Bryan Drewery2016-05-091-1/+1
| | | | | | | | | | | | | | | | | | This avoids running target binaries. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299289
* | MFHGlen Barber2016-04-161-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=298092
| * | META_MODE: Don't rebuild build-tools targets during normal build.Bryan Drewery2016-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids 'build command changed' due to CFLAGS/CC changes during the normal build. Without this the build-tools targets end up rebuilding for the *target* rather than keeping the native versions built in build-tools. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297997
* | | Fix build.Glen Barber2016-02-021-1/+2
| | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295175
* | | Create a package for vi(1) and related files.Glen Barber2016-02-022-1/+6
|/ / | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295155
* | META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* | Use more appropriate ${SHAREDIR} rather than /usr/share.Bryan Drewery2015-10-271-1/+1
| | | | | | | | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290083
* | Unbreak nvi message catalog generation for 8 bit locales.Alexander Kabaev2015-08-271-3/+3
| | | | | | | | | | | | | | | | | | | | Feeding any file encoded in 8 bit locales such as KOI8-RU to sort utility running under UTF-8 locale produces astonishing result of recoding the output to UTF-8. To counter that, just run sort under 'C' locale for now. Notes: svn path=/head/; revision=287204
* | Add META_MODE support.Simon J. Gerraty2015-06-131-0/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * | dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * | Merge sync of headSimon J. Gerraty2015-05-272-7/+3
| |\ \ | |/ / |/| | | | | Notes: svn path=/projects/bmake/; revision=283595
| * | Merge head from 7/28Simon J. Gerraty2014-08-191-5/+0
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ \ Merge headSimon J. Gerraty2014-04-281-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | | | Updated dependenciesSimon J. Gerraty2013-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256419
| * | | | | Merge from headSimon J. Gerraty2013-09-0514-434/+2970
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | Update nvi to 2.1.3 which fixes the data corruption when locale conversionBaptiste Daroussin2015-04-101-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | failed Notes: svn path=/head/; revision=281373
* | | | | | | MF projects/building-blocks r275198:Enji Cooper2014-11-291-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ${.TARGET} instead of hardcoding the name in the dump build rule Notes: svn path=/head/; revision=275234
| * | | | | | | Use ${.TARGET} instead of hardcoding the name in the dump build ruleEnji Cooper2014-11-271-1/+1
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/building-blocks/; revision=275198
* / | | | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-5/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | | | | Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=268804
* | | | | | Revert r261296. This removes the WITHOUT_NCURSESW option.Brooks Davis2014-05-151-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was the wrong direction. We will instead remove use of the non-wide-character supporting libncurses. Notes: svn path=/head/; revision=266157
* | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | | Merge from CheriBSD:Brooks Davis2014-01-301-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit c1acf022c533c5ae27e0cd556977eafe3f5959eb Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Fri Jan 17 21:46:44 2014 +0000 Add an option WITHOUT_NCURSESW to suppress building and linking to libncursesw. While wide character support it useful we'd like to only need one ncurses library on embedded systems. MFC after: 4 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=261296
* | | Give up on using iconv to convert to UTF-8 at build time. I don't see anyPeter Wemm2013-08-1210-50/+2783
| | | | | | | | | | | | | | | | | | | | | | | | practical way to make iconv(1) as a build tool. Instead pre-convert. This gives us UTF-8 nvi catalogs even on systems without iconv enabled. Notes: svn path=/head/; revision=254244
* | | Don't build the UTF-8 version of the catalogs without iconv enabled.Peter Wemm2013-08-111-8/+7
| | | | | | | | | | | | | | | | | | | | | Pointy-hat to: peter (don't do things at 4am!) Notes: svn path=/head/; revision=254230
* | | Don't install a ru_SU.KOI8-R symlink, 'make delete-old' will just removePeter Wemm2013-08-111-1/+0
| | | | | | | | | | | | | | | | | | | | | it again. Notes: svn path=/head/; revision=254227
* | | Update nvi-1.79 to 2.1.1-4334a8297fPeter Wemm2013-08-115-434/+239
|\| | | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the gsoc-2011 project to clean up and backport multibyte support from other nvi forks in a form we can use. USE_WIDECHAR is on unless building for the rescue crunchgen. This should allow editing in the native locale encoding. USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. This adds the ability to do things like edit a KOI8-R file while having $LANG set to (say) en_US.UTF-8. iconv is used to transcode the characters for display. Other points: * It uses gencat and catopen/etc instead of homegrown msg catalog stuff. * A lot of stuff has been trimmed out, eg: the perl and tcl bindings which we could never use in base anyway. * It uses ncursesw when in widechar mode. This could be interesting. GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1 Repo at: https://github.com/lichray/nvi2 Obtained from: Zhihao Yuan <lichray@gmail.com> Notes: svn path=/head/; revision=254225
| * Import of nvi-1.79, minus a few bits that we dont need (eg: postscriptPeter Wemm1996-11-01182-103477/+0
| | | | | | | | | | | | | | | | | | | | files, curses, db, regex etc that we already have). The other glue will follow shortly. Obtained from: Keith Bostic <bostic@bostic.com> Notes: svn path=/vendor/nvi/dist/; revision=19304