summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
2004-09-15Add some amusing ones.Marco Peereboom
2004-08-23anotherHenning Brauer
2004-08-06And another...Marco Peereboom
2004-08-06oops. noted by lizardo@openbsd.org.mxArtur Grabowski
2004-08-04Batman?Artur Grabowski
2004-07-30A true gem.Marco Peereboom
2004-07-26document behaviour of mg +-number fileMichael Coulter
ok vincent@ better wording from jmc@
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent 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-19correct error checking for strtonum, from mjc@bitz.caVincent Labrecque
2004-07-11oopsVincent Labrecque
I just realized I gave a really bad advise to pval, negative goto-line are entirely valid (mean # of lines from end of file) go back to INT_MIN as the lower bound
2004-07-11change lower bound to 0, row shouldn't be negative; suggested & ok vincentPeter Valchev
2004-07-11use strtonum instead of strtoul and don't abuse a long for intPeter Valchev
functionality; ok vincent
2004-07-09when 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-07-08make lint happier; vincent okTheo de Raadt
2004-07-08misplaced return NULL in the error pathVincent Labrecque
found by lint via deraadt ok deraadt
2004-07-08simplify the file writing loopVincent Labrecque
looked at by ian, tested on i386, macppc, sparc64
2004-06-28Unbreak. The bird noises were confusing me.Ryan Thomas McBride
2004-06-28Theo denys all allegations that he's becoming more relaxed.Ryan Thomas McBride
2004-06-12make M-x gid try to guess the symbol name to look up by looking at theVincent Labrecque
current word. ok beck@
2004-06-07gotta love this one ...Michael Shalayeff
2004-05-10anotherJolan Luff
2004-04-04Can't resist.Bob Beck
<deraadt> don't they recognize their moral responsibility to entertain me?
2004-03-05don't panic if we can't getcwd() initially, just chdir("/")Vincent Labrecque
spotted by and ok henning
2004-02-27one moreMichael Shalayeff
2004-02-02be just like gnu emacs when more than 2 files are specified on the commandVincent Labrecque
line: create a buffer list window
2004-02-01remove old precompiler weirdness that is not really needed...Vincent Labrecque
2004-01-27make mail-mode more intelligent on middle-of-line insertions, and add aVincent Labrecque
comment to change the wrapping column. (mail-set-margin) tested by henning and phessler, thanks!
2004-01-21support format `%p' to print pointers in eformat()Vincent Labrecque
2004-01-15fix an early free that made compile-goto-error work only from time to timeVincent Labrecque
2004-01-12request modeline redrawing to see mail-mode appear as soon as the modeVincent Labrecque
is turned on
2004-01-03as if we didn't know...Henning Brauer
2003-12-15shorter function namesVincent Labrecque
2003-12-04split the screen in multiple windows when more than one files are givenVincent Labrecque
on the command line ok deraadt
2003-12-04fix sign extension bug that broke meta key supportVincent Labrecque
from sra@hactrn.net
2003-11-29save the previous undo position as an offset in the buffer instead ofVincent Labrecque
a line/offset pair
2003-11-14read(2) returns ssize_t, not size_t. spotted by Andrey Matveev.Vincent Labrecque
2003-11-09better boundary placement.Vincent Labrecque
there should be no more problems with inserting files now...
2003-11-09fix a bug i introduced in -r1.19, we should still use the current bufferVincent Labrecque
to test for the end of circular lists.
2003-11-09remove the only use of the hackish undo_add_custom function.Vincent Labrecque
2003-11-09proper test for circular list traversal, and nul-terminate strings forVincent Labrecque
safety.
2003-11-09fix up terminal correctly on panic (keeps terminal state correct whenVincent Labrecque
started with an invalid $TERM) spotted by deraadt
2003-11-09remove unused structure elementVincent Labrecque
2003-11-09fix the undo record size for insert-file so we do not get an extra byteVincent Labrecque
2003-11-09knfVincent Labrecque
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-27fix crash on startup by using the good allocation routine in edinit()Vincent Labrecque
spotted and ok by henning
2003-10-24dont compare int to NULL, millert@ okAnil Madhavapeddy
2003-10-21make undo records per MGWIN, not per BUFFER...Vincent Labrecque
2003-10-13remember the new filename on ^X^WVincent Labrecque
ok deraadt
2003-09-22canonical reallocVincent Labrecque
ok tedu henning