Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-11-19 | spacing | Theo de Raadt | |
2006-11-18 | Move buffer name allocation into bnew() where it belongs | Kjell Wooding | |
2006-11-18 | Fix line number bug (actually, dot-mark bug). to reproduce: | Kjell Wooding | |
-split window into two -open a file, set the mark -switch windows, open same file, exchange point-and-mark from peter de wachter (Debian bug#391827) | |||
2006-07-25 | Add bfirstlp(), blastlp() macros, returning the first and last lines | Kjell Wooding | |
of a buffer respectively. Removes an ugly construction than necessitated "go to first line"-type comments throughout the code. No binary change | |||
2006-07-25 | Rename the header line of a buffer to b_headp, from the remarkably | Kjell Wooding | |
unintuitive b_linep. No binary change. | |||
2006-07-08 | Fix a trio of bugs in line numbering: adjusting linenos after undo, | Kjell Wooding | |
cutting a block, and off-by-one linecount. Initial bug discovered by jason | |||
2006-06-01 | Display line number in the mg statusbar. Yes, it seems like a fugly | Kjell Wooding | |
way to do it, but all the clever and pretty ways utterly failed. Basic use seems fine. We'll turdshine the special cases later. If it bothers you, use M-x line-number-mode, or put same in your ~/.mg file to disable. ok cloder, jason | |||
2006-06-01 | find-file-other-window and find-buffer-other-window should split | Kjell Wooding | |
the window if you ask for whatever file you are currently visiting. pointed out, ok beck@ | |||
2006-05-28 | Make Window Flags more mnemonic (and less dumb); i.e. | Kjell Wooding | |
WFHARD -> WFFULL (Redraw full window) WFFORCE -> WFFRAME (Reframe window). No binary change | |||
2006-05-02 | Make buffers store their own working directory. This makes things like | Kjell Wooding | |
grep, compile, lint work as expected (act on current buffer's cwd). Display this path when opening or replacing a file, rather than relying on the user to guess, or remember. | |||
2006-04-06 | Fix a bug whereby a written buffer (^X^W) would not have the correct | Kjell Wooding | |
trailing buffer number appended (e.g. "file<2>") in case an existing buffer shared its basename(). | |||
2006-04-03 | lint love; ok kjell | Theo de Raadt | |
2005-12-20 | Clean up the ugly casted frees. In one case, this meant eliminating a nasty | Kjell Wooding | |
struct/union/casting nightmare when building the list of names for filename completion. In particular, be consistent about strduping and freeing the list data. | |||
2005-12-13 | More name-clash delinting | Kjell Wooding | |
2005-11-18 | greedy use of typedef struct was making code harder to read; ok kjell cloder | Theo de Raadt | |
2005-11-13 | Better error checking of snprintfs. From Han Boetes. | Kjell Wooding | |
2005-10-14 | add missing /* ARGSUSED */ to quiet lint. | Kjell Wooding | |
2005-10-14 | Whoops. C-x C-v (filevisitalt) didn't work on inital scratch buffer. | Kjell Wooding | |
It does now. Noted by deraadt. | |||
2005-10-13 | spacing | Theo de Raadt | |
2005-10-13 | KNF and minor cleanup. Remove an impossible condition check. | Kjell Wooding | |
Also, remove annoying "now readonly" message, as this information is already reflected in the statusbar | |||
2005-10-11 | A while back, undo records were moved from the BUFFER struct to MGWIN. | Kjell Wooding | |
This is nonsensical, and utterly broken if you are undo-ing across multiple buffers. Change them back to being associated with the BUFFER struct. (effectively, just revert the original change) ok deraadt@ | |||
2005-09-28 | fix buflist mode; pr 4524; from jason | Theo de Raadt | |
2005-08-09 | Clean up eread handling in mg. (basically, fallout from the 'enter often | Kjell Wooding | |
means abort' behaviour added during the hackathon). Eliminates redundant ereply function, fixes miscellaneous cores when aborting, and move a number of assumed pathnames into the prompt text, since they are used there anyway. All changes consistent with emacs behavior ok beck@ many, many moons ago. | |||
2005-06-14 | Add explicit public domain notices to all public domain files. | Kjell Wooding | |
ok millert@, deraadt@ | |||
2005-06-03 | Fix memory leak. OK kjell, with comments by beck and kjell | Chad Loder | |
2005-06-03 | Clean up find-alternate-file (C-x C-v) so abort returns to original | Kjell Wooding | |
file, like its emacs ancestor. ok cloder@ | |||
2005-05-31 | fix broken minibuffer defaults introduced in echo.c:1.33 | Kjell Wooding | |
adds eread flag EFDEF allowing null minibuffer response noticed by otto ok cloder@ jason@, works otto@ | |||
2005-05-25 | '1' in buffer-list mode should open the listed buffer in its own window | Jason Wright | |
(ie. it's just like ^M, except for a call to onlywind()). | |||
2005-05-15 | Fix insert-buffer prompt format string. strlcpy returns size_t, not int | Chad Loder | |
(from Han Boetes). Improve error messages (from Han Boetes). OK otto, jaredy, beck | |||
2005-04-03 | This is a no binary change which does: | David Berghoff | |
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification ok henning@ | |||
2005-03-10 | spacing | Theo de Raadt | |
2005-03-09 | fix mg's behaviour with regards to files on which we do not have | Jean-Francois Brousseau | |
write access. diff originally from vincent@ and forgotten for a while. ok rohee@, "toss it in, i'll bitch if it doesn't work" henning@ | |||
2004-07-22 | stage 1 of the infinite minibuffer work - add support for on the fly | Vincent Labrecque | |
buffer reallocation in veread(). This commit only changes the API. All the buffers have exactly the same bounds as before for now. tested by a couple of my very helpful testers! | |||
2003-10-21 | make undo records per MGWIN, not per BUFFER... | Vincent Labrecque | |
2003-08-15 | make dired work more like emacs. (well, make it _work_, and then add a | Vincent Labrecque | |
bunch of missing commands) | |||
2003-06-26 | protos | Vincent Labrecque | |
ok deraadt | |||
2002-07-25 | use vasprintf() instead of vsnprintf + malloc + vsnprintf hack;idea from deraadt | Vincent Labrecque | |
ok art | |||
2002-06-19 | initialize some undo-related variables. | Vincent Labrecque | |
ok deraadt@ | |||
2002-03-16 | Make these special buffers readonly by default. ok art@ | Vincent Labrecque | |
2002-03-16 | add readonly buffer support | Vincent Labrecque | |
plus some KNF ok art@ | |||
2002-03-11 | * Move to ANSI function definitions. | Vincent Labrecque | |
* Add a whole lot of consts where I thought it made sense no ok, but no objections either... | |||
2002-03-05 | Fix a ridiculous bug I introduced in the buffer code. Free the undo records | Vincent Labrecque | |
list correctly. | |||
2002-02-26 | keep undo records in the BUFFER structures insteda of having a huge list. | Vincent Labrecque | |
2002-02-21 | It seems you need to have hacked mg at some point to be considered a | Daniel Hartmeier | |
true old fart, so here's my contribution ;) Don't use the same va_list twice without re-va_start()ing it, doesn't work on macppc. | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2002-02-14 | some KNF | Theo de Raadt | |
2002-02-13 | * Replace unsafe strcpy and strcat calls to safe strlcpy and strlcat. | Vincent Labrecque | |
* Be a little bit more verbose about some errors * Fix some memory leaks in fileio.c ok deraadt@, art@ | |||
2002-01-18 | When listing buffers, detect if the buffer name is too long to fit in the | Artur Grabowski | |
designated space and if it's too long, truncate it correctly and print a '$'-sign at the end of the name. Add support for selecting a buffer with ^M in the buffer list. | |||
2002-01-18 | Remove the NROW and NCOL limits. The static arrays are now replaced with | Artur Grabowski | |
dynamically allocated memory. Code written by Vincent Labrecque <limitln@Psyfreaks.CA> with some minor tweaks by me. | |||
2001-11-25 | snprintf makes me happy | Theo de Raadt | |