summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common
AgeCommit message (Expand)Author
2022-04-21v_event_get: check qp->output for NULL before passing to e_memcmp().Todd C. Miller
2022-02-20Fix vi recovery mode.Theo Buehler
2021-10-25vi(1): fix use after free with unsaved bufferDave Voutila
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-04-13Require that the argument to the window option be non-zero.Todd C. Miller
2021-01-26satisfy -fno-common by repairing one enum declTheo de Raadt
2020-04-30Add an expandtab option, similar to what vim supports.Todd C. Miller
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