summaryrefslogtreecommitdiff
path: root/usr.bin/mg/buffer.c
AgeCommit message (Expand)Author
2012-08-31Allow an error message for a filename that is too long to be seen andlum
2012-08-30Some line counter goodness from Florian Obser.lum
2012-08-30This diff allows the user to decide what to do with buffers thatlum
2012-03-14Remove the NO_HELP conditional directives. If defined, mg will not compile andlum
2011-01-23Wrap basename,dirname with xbasename, xdirname funtions,Kjell Wooding
2011-01-21It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ...Kjell Wooding
2011-01-18Add missing prototypes and move dired.c to "extensions" in Makefile.lum
2010-06-30you keep saying LIST_END. I do not think it means what you think itOwain Ainsworth
2009-06-05swap function order to bring into scopeTheo de Raadt
2009-06-04If a buffer is created with a name that starts and ends with an askeriskKjell Wooding
2009-06-04Add the notion of an "ephemeral" popup, so we can flag a windowKjell Wooding
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding
2009-06-02Fix up some comments to match realityKjell Wooding
2008-09-15Enable dirty buffer detection in mg.Kjell Wooding
2007-05-28Add a global-wd-mode command, which toggles between the currentKjell Wooding
2006-11-19spacingTheo de Raadt
2006-11-18Move buffer name allocation into bnew() where it belongsKjell Wooding
2006-11-18Fix line number bug (actually, dot-mark bug). to reproduce:Kjell Wooding
2006-07-25Add bfirstlp(), blastlp() macros, returning the first and last linesKjell Wooding
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-07-08Fix a trio of bugs in line numbering: adjusting linenos after undo,Kjell Wooding
2006-06-01Display line number in the mg statusbar. Yes, it seems like a fuglyKjell Wooding
2006-06-01find-file-other-window and find-buffer-other-window should splitKjell Wooding
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
2006-05-02Make buffers store their own working directory. This makes things likeKjell Wooding
2006-04-06Fix a bug whereby a written buffer (^X^W) would not have the correctKjell Wooding
2006-04-03lint love; ok kjellTheo de Raadt
2005-12-20Clean up the ugly casted frees. In one case, this meant eliminating a nastyKjell Wooding
2005-12-13More name-clash delintingKjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-13Better error checking of snprintfs. From Han Boetes.Kjell Wooding
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