Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-31 | Silence some warnings generated by clang. | Martijn van Duren | |
Original diff by espie@ with some minor tweaks by myself. OK espie@ and florian@ | |||
2017-07-03 | Remove settings that were unimplemented for 20 years; update STANDARDS. | Anthony J. Bentley | |
ok jmc@ natano@ | |||
2017-06-30 | Add mdoc(7) macros to vi's built-in lists of roff paragraph/section macros. | Anthony J. Bentley | |
ok jmc@, no objection schwarze@ | |||
2017-06-24 | Fix a check in ADD_SPACE_{GOTO,RET} that potentially allowed for a | Martijn van Duren | |
NULL-dereference. OK tom@ | |||
2017-06-12 | Use openat() and unlinkat() instead of chdir()ing to the recovery dir. | Todd C. Miller | |
Since we use flock() and not fcntl() locking we can open the recovery file read-only. OK martijn@ | |||
2017-04-26 | Remove extraneous ", NULL" in the assignment of msgstr which was | Todd C. Miller | |
leftover from when msg_cat() was removed. From Anton Lindqvist | |||
2017-04-18 | free(NULL) is ok so use it; from Michael W. Bombardieri | Theo de Raadt | |
2017-01-20 | Nuke some excess whitespace. | Kenneth R Westerback | |
2016-12-18 | Use %zu/%d to print size_t/ssize_t. Cast recno_t (a.k.a. u_int32_t) | Kenneth R Westerback | |
to (unsigned long) to match %lu formats. Makes gcc happier and quieter. ok deraadt@ | |||
2016-08-27 | Pull in <sys/time.h> for struct timespec and timeval | Philip Guenther | |
ok deraadt@ | |||
2016-08-14 | Kill '#if defined(DEBUG) && 0' blocks that used %q | Philip Guenther | |
ok bentley@ on principle | |||
2016-08-01 | Remove vi's "directory" option and TMPDIR support. | Anthony J. Bentley | |
ok jung@ | |||
2016-06-29 | If /tmp/vi.recover doesn't exist, don't create it. Warn once | Theo Buehler | |
that it doesn't exist, afterwards fail silently. ok millert | |||
2016-05-27 | Revert CHAR_T removal. Some signedness flaws were introduced. | Martijn van Duren | |
Found the hard way by jca@ | |||
2016-05-07 | Free memory if realloc fails. The application is most likely to terminate after | Martijn van Duren | |
a failure, but if it does not we better clean up after ourselfs. OK deraadt@ and stefan@ | |||
2016-05-02 | Remove CHAR_T in favor of native types. | Martijn van Duren | |
schwarze@ agrees with the direction. Few tweaks and OK tb@ | |||
2016-02-03 | Remove needless alias macros for malloc and calloc. No binary change. I | mmcc | |
got this upstreamed a few weeks ago. ok tb (less a few style tweaks), martijn (who suggested style tweaks) | |||
2016-01-30 | replace tail with basename | martijn | |
OK tb@ | |||
2016-01-30 | replace progname variable in gs structure with getprogname | martijn | |
OK zhuk@ and tb@ | |||
2016-01-27 | remove v_estr in favor of warn and warnx | martijn | |
OK schwarze@, zhuk@ fine with me tb@ | |||
2016-01-20 | Remove ARG_CHAR_T, a relic from when the code was written K&R style. | Anthony J. Bentley | |
ok millert@ schwarze@ | |||
2016-01-09 | decls before code; from Martijn van Duren | Theo de Raadt | |
2016-01-06 | Remove the msg_cat() function and adjust its former callers. | Todd C. Miller | |
From Martijn van Duren | |||
2016-01-06 | Remove the numeric identifiers at the beginning of the messages | Todd C. Miller | |
which used to be used as the message number to lookup in the catalog. From Martijn van Duren | |||
2016-01-06 | Remove the message catalog DB. This removes the msg_open() and | Todd C. Miller | |
msg_close() functions along with the msgcat command. From Martijn van Duren | |||
2015-12-07 | Remove needless type casts and corresponding type parameters from | mmcc | |
allocation macros. No binary change. ok tb@ | |||
2015-11-24 | Turn on filename tab completion in vi by default. | Anthony J. Bentley | |
From FreeBSD. ok claudio@ tb@ | |||
2015-11-20 | vi -S doesn't need proc or exec. | Anthony J. Bentley | |
ok tb@ | |||
2015-11-19 | "tty proc exec", not "proc exec tty" | Anthony J. Bentley | |
2015-11-19 | Remove cscope support in vi. | Anthony J. Bentley | |
It makes no sense to keep support for a non-base tool in base, especially for a feature that few if any people use. | |||
2015-11-15 | Vi needs flock, for those who haven't set nolock in .exrc for years... | Anthony J. Bentley | |
Pointed out by Theo Buehler. | |||
2015-11-15 | Basic pledge for vi. | Anthony J. Bentley | |
ok deraadt@ | |||
2015-07-07 | Fix a regression caused by timespec changes when vi is run without | Todd C. Miller | |
a file to edit. Based on a diff from Patrick Keshishian. | |||
2015-04-24 | struct timespec/clock_gettime(3) conversion for vi(1). | Bryan Steele | |
ok guenther@ | |||
2015-04-19 | Don't lock the file for "vi -R" or "view". OK deraadt@ | Todd C. Miller | |
2015-03-28 | vi was using two separate isblank functions: one defined in <ctype.h> and | Brian Callahan | |
the other #defined in common/key.h. There is no reason to have both. For consistency use the isblank function from <ctype.h>, remove the #define in common/key.h, and add #include <ctype.h> to the files that were missing the header. ok brynet@ | |||
2015-03-27 | Some vi cleanup, unifdef's some signal blocking code that has never been | Bryan Steele | |
enabled in our tree, also removes some stragglers from a global struct referencing nonexistent Tcl/TK and "IP support". And finally.. deletes an empty file missed by earlier cleanup by bentley@. Inspired by and ok bcallah@ | |||
2015-03-10 | Display "Search wrapped" even when searching from the end of the file. | Anthony J. Bentley | |
From Zhihao Yuan. ok millert@ miod@ | |||
2015-02-06 | Do not rely on unspecified behavior for the size_t overflow check. | Todd C. Miller | |
OK miod@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-11-20 | Remove the vi perl api. | Anthony J. Bentley | |
There have been various build errors for coming on two years now. It doesn't work and nobody has expressed any interest in saving it. From natano; ok millert@ | |||
2014-11-19 | Remove ifdef checks for LIBRARY. | Anthony J. Bentley | |
It is undocumented and triggers the same conditional inclusions as PURIFY does. From Martin Natano. | |||
2014-11-14 | from natano: | Ted Unangst | |
_PATH_BSHELL, _PATH_SENDMAIL, _PATH_TMP and _PATH_TTY are defined in <paths.h> and _PATH_SYSV_TTY is unused. All of them can be removed from pathnames.h. The other defines can be made unconditionally. | |||
2014-11-14 | from natano: | Ted Unangst | |
The 'tcl' command in vi does nothing, except to print the message "Vi was not loaded with a Tcl interpreter". Printing the standard message for unknown commands would be equally descriptive with the benefit of reducing code size. | |||
2014-11-14 | from natano: | Ted Unangst | |
The vi editor contains code for two different file locking methods - one using flock(), the other using fcntl(). The fcntl method is unused and has severe limitations (as described in a code comment). Let's remove it for sake of readibility. | |||
2014-11-12 | Remove more portability bits for older systems; from Martin Natano | Todd C. Miller | |
2014-11-12 | Ansify vi. | Anthony J. Bentley | |
ok bcallah@ millert@ | |||
2014-11-10 | remove old, unnecessary compat code. from Martin Natano | Ted Unangst | |
2014-11-06 | Clean up unused header files and docs referring to them. | Anthony J. Bentley | |
From Martin Natano. ok nicm@ | |||
2014-10-14 | create a REALLOCARRAY macro, and use it where it gives us overflow | Theo de Raadt | |
protection for free ok guenther |