aboutsummaryrefslogtreecommitdiff
path: root/contrib/nvi/common/log.c
Commit message (Collapse)AuthorAgeFilesLines
* nvi: import version 2.2.1-52c07e8Baptiste Daroussin2025-01-021-1/+0
|\
* | nvi: Replace Clang-only __builtin_is_aligned with C code (#124)Zhihao Yuan2024-11-271-1/+1
| | | | | | | | | | | | We should use alignof in the future. Obtained from: https://github.com/lichray/nvi2/commit/25c4d7db4ea638a31ac458b733a3b67b0a0ff634
* | nvi: use memmove to realign buffersBrooks Davis2024-11-271-17/+5
| | | | | | | | | | | | | | | | | | Replace a rather convoluted realignment algorithm with memmove(). In addition to being hard to understand, the code would read beyond the end of the input buffer in certain conditions (found on CheriBSD). Sponsored by: DARPA Pull Request: https://github.com/lichray/nvi2/pull/122
* | Update nvi to 2.2.0-05ed8b9Baptiste Daroussin2020-10-011-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-091-46/+15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update nvi to 2.1.3 which fixes the data corruption when locale conversionBaptiste Daroussin2015-04-101-15/+15
|\| | | | | | | | | | | | | failed Notes: svn path=/head/; revision=281373
* | Update nvi-1.79 to 2.1.1-4334a8297fPeter Wemm2013-08-111-62/+112
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Post-cvs2svn flatten pass.Peter Wemm2013-08-111-717/+0
|/ | | | Notes: svn path=/vendor/nvi/dist/; revision=254210
* Import of nvi-1.79, minus a few bits that we dont need (eg: postscriptPeter Wemm1996-11-011-0/+717
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