summaryrefslogtreecommitdiff
path: root/usr.bin/mg/file.c
AgeCommit message (Expand)Author
2003-01-06support +number; rewritten from buggy code by mjc@bitz.ca, vincent okTheo de Raadt
2002-09-15don't add undo records when we open a file, only when we insert it.Vincent Labrecque
2002-07-25 replace the ugly and buggy adjustname function by a simple one usingVincent Labrecque
2002-07-03 a few missing tests for malloc()'s return value.Vincent Labrecque
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-06-19add an undo insert record on insert-file. this makes insert-file undoable.Vincent Labrecque
2002-05-29 add an "auto-execute" feature, that allows binding function calls toVincent Labrecque
2002-05-29 add a function to visit a file read-only mapped to C-x C-vVincent Labrecque
2002-03-16 add readonly buffer supportVincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
2002-02-19 Make multiple buffers with the same basename work correctly.. (like GNUVincent Labrecque
2002-02-14some KNFTheo de Raadt
2002-02-13 Oups, don't print fname<1> when there's only one buffer for this file.Vincent Labrecque
2002-02-13 Make mg malloc the l_text element instead of reallocating whole LINEVincent Labrecque
2002-02-13 * Replace unsafe strcpy and strcat calls to safe strlcpy and strlcat.Vincent Labrecque
2001-05-24spacesMichael Shalayeff
2001-05-23Get rid of unnecessary casts of NULL.Artur Grabowski
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-05-04Cleanups in filename and buffer name handling.Artur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-09-01More -Wall anmd KNF, from op2@tomahawk.SQUiSH.orgTodd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-02-26change WINDOW -> MGWIN to avoid curses type conflictTodd C. Miller
2000-02-25initial import of mg2aTheo de Raadt