Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-29 | - use <dirent.h> not <sys/dir.h> (this appeases FreeBSD's annoying #warning) | Jason Wright | |
- grab <sys/time.h> before <sys/resource.h> like getrusage(2) says ok kjell | |||
2006-06-01 | kill another superfluous strlen | Kjell Wooding | |
2006-06-01 | Style. no practical change. | Kjell Wooding | |
2006-06-01 | Fix message on empty goto-line. While here, lose a strlen and KNF. | Kjell Wooding | |
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 | fix style | Kjell Wooding | |
2006-06-01 | make // /~ path rewriting optional in adjustname() and use it everywhere | Jason Wright | |
except for the command line specified files. ok kjell,cloder | |||
2006-06-01 | Initialize current window, and clear the readonly flag earlier in file | Kjell Wooding | |
read process. This allows code in the autoexec path (i.e. ~/.mg) to operate on the buffer, making ~/.mg files much more useful. | |||
2006-06-01 | Make transpose (c-T) undoable. | Kjell Wooding | |
There is still a bug here, but it lies in undo (cursor position when undo wraps the undo list), and is purely cosmetic for now. | |||
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-06-01 | Cleanup, and a new one from Aleksander Piotrowski: | Kjell Wooding | |
"cache aliasing is a problem that would have stopped in 1992 if someone had killed about 5 people who worked at Sun." | |||
2006-05-29 | Another mnemonic rename, missed the first time. | Kjell Wooding | |
Also missed the ok cloder. | |||
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-27 | Move stderr redirection to a common location, as suggested by vincent a | Kjell Wooding | |
while ago. While here, get rid of some of the stupid static buffer sizes. I've been running with this for quite a while. | |||
2006-05-27 | Move mg "line to c-string" functionality to a function. | Kjell Wooding | |
2006-05-08 | spacing | Kjell Wooding | |
2006-05-08 | minor man page tweaks. From han boetes. | Kjell Wooding | |
2006-05-03 | correct one more comment | Kjell Wooding | |
2006-05-03 | Do some KNF, clean up some unused junk that has lying around for 40-odd | Kjell Wooding | |
cvs revisions, and fix a few comments to match reality | |||
2006-05-03 | len = strlen(foo); if foo[len - 1]... will do bad things if len == 0. | Kjell Wooding | |
Avoid, and rearrange a test so it can't (hypothetically) overflow. | |||
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 | few more int that can become a size_t | Theo de Raadt | |
2006-04-03 | fixed "text in message line would get stuck there" issue. | Kjell Wooding | |
feedback from Philip Guenther and Han Boetes | |||
2006-04-03 | lint love; ok kjell | Theo de Raadt | |
2006-04-03 | Always leave compile buffer on first line after compilation. | Kjell Wooding | |
Change 0->NUL while I'm here. | |||
2006-04-02 | test char against '\0', not 0 | Kjell Wooding | |
2006-04-02 | fix ^W (delete to start of word) in minibuffer; | Kjell Wooding | |
i.e. actually kill text, don't just move the pointer. | |||
2006-03-30 | Clean up some allocations. Remove malloc casts, and some easy | Kjell Wooding | |
malloc(A*B)->calloc changes. | |||
2006-03-28 | Use <sp> and <cr> as shortcuts for y/n (like emacs) | Kjell Wooding | |
requested by Han Boetes. | |||
2006-03-10 | i am going to be hated for including this one | Damien Miller | |
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@ | |||
2006-02-03 | Fix off by one ocurring if ^W immediate follows ^S; testing marc@; | Otto Moerbeek | |
ok kjell@; PR 4991 | |||
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-20 | Do some delinting of strl-type functions. Also, remove a superfluous | Kjell Wooding | |
word in the undo-list. | |||
2005-12-20 | Fix broken "Undo of undo" when line is empty. Noticed by theo. | Kjell Wooding | |
2005-12-15 | NULL != '\0'. Spotted by Han Boetes and a linux gcc. | Kjell Wooding | |
2005-12-14 | argh. One problem with fixing a hidden global symbol is that if you miss one, | Kjell Wooding | |
you get no warning. Fixes an immediate core in describe-bindings. | |||
2005-12-13 | Fix a typo (introduced in rev 1.6) that utterly broke cost calculations. | Kjell Wooding | |
In theory, mg should now be much more efficient on slow displays (hello, zaurus). Spotted by lint. ok millert. | |||
2005-12-13 | Last round of easy delinting. | Kjell Wooding | |
2005-12-13 | More name-clash delinting | Kjell Wooding | |
2005-12-13 | do some silly de-linting | Kjell Wooding | |
2005-12-13 | If you're going to pass a length parameter, you should use it. | Kjell Wooding | |
2005-12-13 | Add a "M-x lint" mode, now that lint is next-error friendly. | Kjell Wooding | |
While here, delint some name clashes. | |||
2005-11-22 | Move kill-related commands to their own file. | Kjell Wooding | |
This will help move to a kill-ring. | |||
2005-11-22 | Fix backwards insert into kill buffer (aaa \n bbb M-BS M-BS c-Y) by | Kjell Wooding | |
batching string before prepending. ok cloder, (grudgingly) beck | |||
2005-11-22 | Fix up an ambiguous else (though ifdefed out at the moment) | Kjell Wooding | |
2005-11-21 | kill kill kill unused stuff; ok kjell | Theo de Raadt | |
2005-11-20 | #ifdef NO_DIR can go too. From Han Boetes. | Kjell Wooding | |
2005-11-20 | Don't bind help to a null function | Kjell Wooding | |