summaryrefslogtreecommitdiff
path: root/usr.bin/mg/buffer.c
AgeCommit message (Expand)Author
2005-10-14add missing /* ARGSUSED */ to quiet lint.Kjell Wooding
2005-10-14Whoops. C-x C-v (filevisitalt) didn't work on inital scratch buffer.Kjell Wooding
2005-10-13spacingTheo de Raadt
2005-10-13KNF and minor cleanup. Remove an impossible condition check.Kjell Wooding
2005-10-11A while back, undo records were moved from the BUFFER struct to MGWIN.Kjell Wooding
2005-09-28fix buflist mode; pr 4524; from jasonTheo de Raadt
2005-08-09Clean up eread handling in mg. (basically, fallout from the 'enter oftenKjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-06-03Fix memory leak. OK kjell, with comments by beck and kjellChad Loder
2005-06-03Clean up find-alternate-file (C-x C-v) so abort returns to originalKjell Wooding
2005-05-31fix broken minibuffer defaults introduced in echo.c:1.33Kjell Wooding
2005-05-25'1' in buffer-list mode should open the listed buffer in its own windowJason Wright
2005-05-15Fix insert-buffer prompt format string. strlcpy returns size_t, not intChad Loder
2005-04-03This is a no binary change which does:David Berghoff
2005-03-10spacingTheo de Raadt
2005-03-09fix mg's behaviour with regards to files on which we do not haveJean-Francois Brousseau
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent Labrecque
2003-10-21make undo records per MGWIN, not per BUFFER...Vincent Labrecque
2003-08-15make dired work more like emacs. (well, make it _work_, and then add aVincent Labrecque
2003-06-26protosVincent Labrecque
2002-07-25use vasprintf() instead of vsnprintf + malloc + vsnprintf hack;idea from deraadtVincent Labrecque
2002-06-19initialize some undo-related variables.Vincent Labrecque
2002-03-16 Make these special buffers readonly by default. ok art@Vincent Labrecque
2002-03-16 add readonly buffer supportVincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
2002-03-05 Fix a ridiculous bug I introduced in the buffer code. Free the undo recordsVincent Labrecque
2002-02-26keep undo records in the BUFFER structures insteda of having a huge list.Vincent Labrecque
2002-02-21It seems you need to have hacked mg at some point to be considered aDaniel Hartmeier
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-14some KNFTheo de Raadt
2002-02-13 * Replace unsafe strcpy and strcat calls to safe strlcpy and strlcat.Vincent Labrecque
2002-01-18When listing buffers, detect if the buffer name is too long to fit in theArtur Grabowski
2002-01-18Remove the NROW and NCOL limits. The static arrays are now replaced withArtur Grabowski
2001-11-25snprintf makes me happyTheo de Raadt
2001-08-18handle vsnprintf returning -1Theo de Raadt
2001-05-24spacesMichael Shalayeff
2001-05-23Get rid of unnecessary casts of NULL.Artur Grabowski
2001-05-23sprintf instead of two strcpy (there was a bug here)Artur Grabowski
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-05-23Creatively use addlinef when listing buffers (C-X-C-B).Artur Grabowski
2001-05-23Don't include the trailing NUL in output.Artur Grabowski
2001-05-23It's unnecessary to have addline as a function. Make it a macro.Artur Grabowski
2001-05-23Add addlinef that's an addline with printf-style format arguments.Artur Grabowski
2001-05-04Cleanups in filename and buffer name handling.Artur Grabowski
2001-05-04Qick fix for an overflow in C-X C-B.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