Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-02-25 | Fix a coredump occurring when the terminal is resized while mg is | Otto Moerbeek | |
suspended. Problem reported and fixed tested by reyk@; tweak by kjell@; ok kjell@ | |||
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 | Last round of easy delinting. | Kjell Wooding | |
2005-12-13 | More name-clash delinting | Kjell Wooding | |
2005-12-13 | If you're going to pass a length parameter, you should use it. | Kjell Wooding | |
2005-11-22 | Move kill-related commands to their own file. | Kjell Wooding | |
This will help move to a kill-ring. | |||
2005-11-20 | toast NO_DIRED #ifdef; ok kjell | Theo de Raadt | |
2005-11-18 | Split kill buffer code into a separate function. | Kjell Wooding | |
2005-11-18 | clean up some comments after theo's cleanup | Kjell Wooding | |
2005-11-18 | greedy use of typedef struct was making code harder to read; ok kjell cloder | Theo de Raadt | |
2005-11-18 | Casefold on replace was killed ages ago (it was wrong). Remove a | Kjell Wooding | |
leftover (unused) variable. | |||
2005-11-07 | Move most of the dired hooks into dired.c. While here, enable some | Kjell Wooding | |
dired functions that were written, but not bound to keys. No other functional change. Tested by Han Boetes. | |||
2005-10-14 | move the dired routines into dired.c where they belong. | Kjell Wooding | |
ok cloder@ | |||
2005-10-13 | Make dired buffer read-only by default. | Kjell Wooding | |
Noticed by Han Boetes | |||
2005-10-13 | Use dired mode automatically if file specified for loading is | Kjell Wooding | |
a directory. Modified version of patch from Han Boetes. ok cloder@ | |||
2005-10-13 | Make mg's grep and compile more path-aware, by defaulting to | Kjell Wooding | |
the path of the invoking buffer. Also, make subshell output look more like emacs (show directory, completion time). oked at one point by deraadt@ | |||
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-10-11 | Enable the 'next-error' (C-x `) keybinding by default. | Kjell Wooding | |
Niklas, this one is for you. ok deraadt@, cloder@ | |||
2005-10-06 | Make mg undo much more emacs like (and correct). | Kjell Wooding | |
Undo boundaries are now placed at newlines, and undo of search-replace works as expected. Fixes bad behaviour reported by matthieu Ok deraadt@, beck@ | |||
2005-06-14 | Add explicit public domain notices to all public domain files. | Kjell Wooding | |
ok millert@, deraadt@ | |||
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-30 | add find-alternate-file command and binding for ^X^V; ok cloder | Jason Wright | |
(you're welcome kjell) | |||
2005-05-27 | Add emacs-style replace-string function that does not prompt you | Chad Loder | |
to confirm replacements. OK jason, deraadt | |||
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-12 | spacing | Theo de Raadt | |
2005-03-10 | fix more BACKUP/NOBACKUP/NO_BACKUP confusion, again no binary change. | Henning Brauer | |
spotted by jmc@ | |||
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! | |||
2004-07-09 | when saving a file, check whether it is newline terminated and if it is not, | Vincent Labrecque | |
prompt the user and add the newline if he agrees. tested by a lot of helpful tech@ guys, approved by henning | |||
2004-01-27 | make mail-mode more intelligent on middle-of-line insertions, and add a | Vincent Labrecque | |
comment to change the wrapping column. (mail-set-margin) tested by henning and phessler, thanks! | |||
2003-11-29 | save the previous undo position as an offset in the buffer instead of | Vincent Labrecque | |
a line/offset pair | |||
2003-11-09 | remove the only use of the hackish undo_add_custom function. | Vincent Labrecque | |
2003-11-09 | remove unused structure element | Vincent Labrecque | |
2003-10-27 | fix crash on startup by using the good allocation routine in edinit() | Vincent Labrecque | |
spotted and ok by henning | |||
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 | |||
2003-05-05 | add a mail-mode, to do automatic line-wrapping. | Vincent Labrecque | |
(at the same time, change the command line parsing to support a -f <mode> that is slightly different from the one in gnu emacs, we apply it to all buffers created from command line arguments, so you can use "mg -f mail-mode" as your editor. manpage change coming soon) ok henning | |||
2003-01-06 | support +number; rewritten from buggy code by mjc@bitz.ca, vincent ok | Theo de Raadt | |
2002-07-24 | remove the CHANGE undo record type, use a combination of delete and insert | Vincent Labrecque | |
to have the same behavior in a simpler way. ok art@ | |||
2002-07-01 | KNF + ansi; from zyrnix (only the easy part of his diffs) | Vincent Labrecque | |
2002-06-21 | remove the "extern" for a variable that does not exist anymore. | Vincent Labrecque | |
2002-05-29 | add an "auto-execute" feature, that allows binding function calls to | Vincent Labrecque | |
certain patterns. for example, `auto-execute "*.c" auto-indent-mode'. ok art@ | |||
2002-05-29 | add a function to visit a file read-only mapped to C-x C-v | Vincent Labrecque | |
ok art@ | |||
2002-03-18 | Enter the new undo code. it is still disabled since it has bugs, but it's | Vincent Labrecque | |
somewhat more useful.... ok millert@ + no objections on ICB | |||
2002-03-16 | This should've been commited yesterday, before the funmap change. | Vincent Labrecque | |
ok millert@ | |||
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-02-26 | keep undo records in the BUFFER structures insteda of having a huge list. | Vincent Labrecque | |
2002-02-21 | KNF | Theo de Raadt | |