341235 |
29-Nov-2018 |
yuripv |
MFC r340976: vi: fix UTF-8 detection.
PR: 202290 Submitted by: lampa@fit.vutbr.cz Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D17950 |
340583 |
18-Nov-2018 |
emaste |
MFC r340288: nvi: remove superfluous space before ^\
This fixes alignment in vi's 'viusage' command and has been fixed upstream and in OpenBSD.
Submitted by: Raf Czlonka (github:rjc) |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
281373 |
10-Apr-2015 |
bapt |
Update nvi to 2.1.3 which fixes the data corruption when locale conversion failed
|
276479 |
31-Dec-2014 |
dim |
Upgrade our copy of clang, llvm and lldb to 3.5.0 release.
Please note that this version now requires C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Roman Divacky, Andrew Turner, Justin Hibbits and Antoine Brodin for their invaluable help with this import.
Approved by: portmgr (antoine) MFC after: 1 month
|
259088 |
08-Dec-2013 |
peter |
Vendor import nvi-2.1.2-c80f493b038 a multikey mapping fix
PR: bin/182463
|
257999 |
11-Nov-2013 |
peter |
Merge nvi-2.1.1 -> 2.1.2
|
254225 |
11-Aug-2013 |
peter |
Update nvi-1.79 to 2.1.1-4334a8297f
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>
|
254213 |
11-Aug-2013 |
peter |
Bootstrap svn:mergeinfo as of the 2008 run of cvs2svn.
|
250667 |
15-May-2013 |
jh |
Rename O_DIRECTORY to O_TMP_DIRECTORY to avoid shadowing the fcntl.h O_DIRECTORY flag.
PR: bin/173924 Obtained from: git://repo.or.cz/nvi.git
|
246874 |
16-Feb-2013 |
dim |
Fix two instances of undefined behaviour in contrib/nvi.
Found by: clang ToT Obtained from: NetBSD Reviewed by: jh MFC after: 3 days
|
208612 |
28-May-2010 |
jh |
Fixes from NetBSD for nvi visual mode:
- Fix handling of ^@ when reading an ex command. Don't try to replay the previous input. - Fix handling of ^C in insert mode and when reading an ex command. Repeating an interrupted input could cause a crash and interrupting ex command input could cause a file corruption. - Fix a bug which causes crashes in file name completion when a file name is longer than the screen width. - When an error occurs in v_txt(), leave the input mode.
PR: bin/21089, bin/136393 Obtained from: NetBSD
|
208611 |
28-May-2010 |
jh |
Fix misspelling of "substitution".
PR: bin/130874 Submitted by: Yoshihiro Ota
|
170371 |
06-Jun-2007 |
rafan |
- Sort the headers per style(9)
Reminded by: yar Approved by: delphij (mentor, implicit)
|
170356 |
06-Jun-2007 |
rafan |
- Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missing header <term.h>, which is required by both tputs() and tgoto().
Without this header, nvi crashes with the call to tputs() at line 114. This is because the first argument of tputs() is a pointer, and the returned pointer from tgoto() is casted to an integer by compiler.
For some reasons, this only crashes on amd64+CURRENT. On 6.x system, this does not happen.
PR: 101248 Reported by: yar, infofarmer, Roland Smith Tested by: infofarmer, delphij, rafan Approved by: delphij (mentor)
|
149196 |
17-Aug-2005 |
cperciva |
Remove the dates from these files. They serve no purpose and result in these files spuriously changing each time they are built.
Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
|
116731 |
23-Jun-2003 |
ache |
Remove ru_SU, we don't need it in favour to ru_RU
Submitted by: ru
|
116730 |
23-Jun-2003 |
ache |
Copy ru_SU spelling fixes to ru_RU
Submitted by: ru
|
112012 |
08-Mar-2003 |
jdp |
Fixes for the Russian translations of the messages.
PR: bin/48035, bin/48036 Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru> Reviewed by: ache MFC after: 4 weeks
|
90026 |
31-Jan-2002 |
sheldonh |
Merge rev 1.1.1.3 from vendor branch: fix refresh / warning deadlock
|
90023 |
31-Jan-2002 |
sheldonh |
Merge rev 1.1.1.2 from the vendor branch: fix leftright scrolling for long lines
|
90022 |
31-Jan-2002 |
sheldonh |
Add $FreeBSD$ CVS Id tag so that I can merge rev 1.1.1.2 from the vendor branch. This file was taken off the vendor branch in 1998, before we started enforcing the presence of CVS Id tags. :-(
|
90020 |
31-Jan-2002 |
sheldonh |
This commit was generated by cvs2svn to compensate for changes in r90019, which included commits to RCS files with non-trunk default branches.
|
89011 |
07-Jan-2002 |
sheldonh |
This commit was generated by cvs2svn to compensate for changes in r89010, which included commits to RCS files with non-trunk default branches.
|
86201 |
09-Nov-2001 |
rwatson |
o nvi failed to correctly handle EINTR returned from tcsetattr(), exiting instead of recovering, which happens in particular during a rapid series of SIGWINCH's. This change forces nvi to loop on the call in the event that the call is interrupted.
Interestingly, I submitted this bug report in 1998, and a solution was posted shortly thereafter by Matthias Buelow; it's been sitting in the PR database ever since.
Note: this takes this file off the vendor branch. If and when we find a vendor for this code, the fix should be given back to them.
PR: bin/8438 Submitted by: Matthias Buelow <mkb@altair.mayn.de> MFC after: 1 month
|
85526 |
26-Oct-2001 |
jkh |
Close buffer overflow noted in security advisory DSA-085. Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org> Obtained from: Debian
|
79950 |
19-Jul-2001 |
dd |
Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT) (ironically, the assumption is in a code block which is conditional on its converse). This isn't strictly the correct fix; it's more of a workaround to prevent an infinite loop. The correct fix (see ports/editors/nvi-devel/files/patch-vi-relative r1.1) would take a file off the vendor branch, but since the result for this version of nvi is identical, this route was elected.
PR: 28687 Approved by: -developers
|
79444 |
09-Jul-2001 |
obrien |
It is just stupid to have to do ``<ESC>!rm -f %'' to write a file you own. So lets stop that nonsense and allow `w!' to do something useful.
Submitted by: green
|
75583 |
17-Apr-2001 |
sobomax |
Update/improve Ukrainian translation.
Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)
|
70641 |
03-Jan-2001 |
ben |
more(3) -> more(1), and add $FreeBSD$
PR: 24033 Submitted by: Rich Morin <rdm@cfcl.com>
|
69483 |
01-Dec-2000 |
ru |
This commit was generated by cvs2svn to compensate for changes in r69482, which included commits to RCS files with non-trunk default branches.
|
69474 |
01-Dec-2000 |
sheldonh |
Catch up to perl-5.6.0.
|
64961 |
22-Aug-2000 |
phantom |
Ukrainian message catalogs for vi.
Submitted by: Kunytsa Oleksander <kunia@snark.ukma.kiev.ua>
|
55738 |
10-Jan-2000 |
kris |
10 X's in mkstemp().
|
51347 |
17-Sep-1999 |
jmas |
Re-encode spanish messages using ISO-8859-1. Patches also sent to bostic@bostic.com.
PR: bin/5966 Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
|
51277 |
14-Sep-1999 |
ru |
Fix a coredump when commands in ~/.exrc prepended with addresses.
PR: 13000
|
50142 |
22-Aug-1999 |
hoek |
Fix potential buffer overflow when using gtags.
Submitted by: Shigio Yamaguchi [3]shigio@wafu.netgate.net (gtags author) PR: bin/7607
|
49457 |
06-Aug-1999 |
brian |
Set the close-on-exec flag when we lock the file we're editing. This prevents any background sub-command executed from inheriting the descriptor & lock (and making vi think that someone else is editing the file when it re-edits).
Remembered from: An OpenBSD commit message from May '99
|
45257 |
03-Apr-1999 |
bde |
Fixed printf format errors.
|
41839 |
16-Dec-1998 |
peter |
Make this work with the perl5 in the source tree - the API has "evolved" and some code glitches had to be fixed.
|
38022 |
02-Aug-1998 |
bde |
Fixed printf format errors.
|
29728 |
22-Sep-1997 |
wosch |
Polish message catalogs for vi.
Submitted by: abial@warman.org.pl PR: 4522
|
29561 |
18-Sep-1997 |
charnier |
Typo: environmental variable -> environment variable.
|
29329 |
13-Sep-1997 |
wosch |
spelling corrections.
PR: docs/4450 Submitted by: josh@quick.net
|
25011 |
18-Apr-1997 |
jkh |
Enable GLOBAL tags support for nvi. Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
|
21824 |
17-Jan-1997 |
joerg |
Everyone's favorite: finally bump vi's escapetime.
Closes bin/2510: vi escape keys over slow... (and i think yet another one)
Submitted by: kargl@troutmask.apl.washington.edu (Steven G. Kargl)
|
21100 |
30-Dec-1996 |
peter |
Bump default escapetime from 1 (ie: 100ms) to 3 (ie: 300ms). Hopefully this will make it less likely to misinterpret arrow keys as seperate keys when running over anything slower than a console.
This has been talked about for a while, I hope it's long enough but not too long to be annoying.
|
19970 |
26-Nov-1996 |
ache |
More fixes to Russian catalog
Should go to 2.2 (wrong number of % formatting found in old version)
|
19960 |
25-Nov-1996 |
joerg |
Update the French message catalog to use ISO 8859-1 instead of IBM437 characters.
2.2 candidate.
Submitted by: roberto@keltia.freenix.fr (Ollivier Robert)
|
19439 |
06-Nov-1996 |
ache |
Restore 8bit stripped down in all lines Without this change all messages looks very funny
2.2 candidate
|
19305 |
01-Nov-1996 |
peter |
This commit was generated by cvs2svn to compensate for changes in r19304, which included commits to RCS files with non-trunk default branches.
|