summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common
AgeCommit message (Expand)Author
2019-07-22In secure mode (-S), skip sending mail when executing the :pre[serve]Ingo Schwarze
2019-05-21Also apply stricter pledge when secure mode is set via rc file or command.Martijn van Duren
2018-07-11Remove an old and false comment. REALLOC now free(3)s the code if reallocMartijn van Duren
2017-12-14Enable the awk scripts to generate ex_def.h and options_def.h.Martijn van Duren
2017-11-26Fix segfault which could be triggered by deleting a backwards sentence ifRicardo Mestre
2017-11-10When tracing is compiled in make sure it flushes its content to disk asMartijn van Duren
2017-11-10Fix a use after free when sending SIGHUP or SIGTERM to vi when in editingMartijn van Duren
2017-11-10Add rcv_openat() function that does the open, makes sure it is aTodd C. Miller
2017-11-10Avoid using system(3) when running "sendmail -t". We already haveTodd C. Miller
2017-07-31Silence some warnings generated by clang.Martijn van Duren
2017-07-03Remove settings that were unimplemented for 20 years; update STANDARDS.Anthony J. Bentley
2017-06-30Add mdoc(7) macros to vi's built-in lists of roff paragraph/section macros.Anthony J. Bentley
2017-06-24Fix a check in ADD_SPACE_{GOTO,RET} that potentially allowed for aMartijn van Duren
2017-06-12Use openat() and unlinkat() instead of chdir()ing to the recovery dir.Todd C. Miller
2017-04-26Remove extraneous ", NULL" in the assignment of msgstr which wasTodd C. Miller
2017-04-18free(NULL) is ok so use it; from Michael W. BombardieriTheo de Raadt
2017-01-20Nuke some excess whitespace.Kenneth R Westerback
2016-12-18Use %zu/%d to print size_t/ssize_t. Cast recno_t (a.k.a. u_int32_t)Kenneth R Westerback
2016-08-27Pull in <sys/time.h> for struct timespec and timevalPhilip Guenther
2016-08-14Kill '#if defined(DEBUG) && 0' blocks that used %qPhilip Guenther
2016-08-01Remove vi's "directory" option and TMPDIR support.Anthony J. Bentley
2016-06-29If /tmp/vi.recover doesn't exist, don't create it. Warn onceTheo Buehler
2016-05-27Revert CHAR_T removal. Some signedness flaws were introduced.Martijn van Duren
2016-05-07Free memory if realloc fails. The application is most likely to terminate afterMartijn van Duren
2016-05-02Remove CHAR_T in favor of native types.Martijn van Duren
2016-02-03Remove needless alias macros for malloc and calloc. No binary change. Immcc
2016-01-30replace tail with basenamemartijn
2016-01-30replace progname variable in gs structure with getprognamemartijn
2016-01-27remove v_estr in favor of warn and warnxmartijn
2016-01-20Remove ARG_CHAR_T, a relic from when the code was written K&R style.Anthony J. Bentley
2016-01-09decls before code; from Martijn van DurenTheo de Raadt
2016-01-06Remove the msg_cat() function and adjust its former callers.Todd C. Miller
2016-01-06Remove the numeric identifiers at the beginning of the messagesTodd C. Miller
2016-01-06Remove the message catalog DB. This removes the msg_open() andTodd C. Miller
2015-12-07Remove needless type casts and corresponding type parameters frommmcc
2015-11-24Turn on filename tab completion in vi by default.Anthony J. Bentley
2015-11-20vi -S doesn't need proc or exec.Anthony J. Bentley
2015-11-19"tty proc exec", not "proc exec tty"Anthony J. Bentley
2015-11-19Remove cscope support in vi.Anthony J. Bentley
2015-11-15Vi needs flock, for those who haven't set nolock in .exrc for years...Anthony J. Bentley
2015-11-15Basic pledge for vi.Anthony J. Bentley
2015-07-07Fix a regression caused by timespec changes when vi is run withoutTodd C. Miller
2015-04-24struct timespec/clock_gettime(3) conversion for vi(1).Bryan Steele
2015-04-19Don't lock the file for "vi -R" or "view". OK deraadt@Todd C. Miller
2015-03-28vi was using two separate isblank functions: one defined in <ctype.h> andBrian Callahan
2015-03-27Some vi cleanup, unifdef's some signal blocking code that has never beenBryan Steele
2015-03-10Display "Search wrapped" even when searching from the end of the file.Anthony J. Bentley
2015-02-06Do not rely on unspecified behavior for the size_t overflow check.Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-20Remove the vi perl api.Anthony J. Bentley