summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
2014-05-28On delete-window, remember the position of dot and mark in the bufferFlorian Obser
so that an revisiting the buffer the correct line number is displayed. Found by jasper@ OK lum@
2014-05-08protip: "It's largely bad style to do (int)sizeof"Ted Unangst
amusingly, theo phrased this with considerably more restraint than i did.
2014-04-18We should probably thank OpenSSL.Ingo Schwarze
They gave Theo another chance to be happy.
2014-04-17I'm just trying to improve the code...Ted Unangst
2014-04-17spidey sensesStuart Henderson
2014-04-15My mailbox is full of shock.Ted Unangst
2014-04-14"the randomization in this entire codebase is a grand experiment in stupid"Ted Unangst
2014-04-10fix fd leaks in error paths missed last time aroundJonathan Gray
2014-04-09Revert 1.93, it breaks permission checks.Florian Obser
"go for it" deraadt@
2014-04-03When finding a file in a non-existant directory:Mark Lumsden
C-x C-f ~/no/dir/here/fn offer to make the directory by pressing 'y', instead of suggesting the make-directory command. ok jasper@
2014-04-02Add the '#' character as a comment character in the startup file.Mark Lumsden
Include ';' and '#' into man page. ok deraadt@ phessler@
2014-03-31Tidy up. No functional change.Mark Lumsden
2014-03-31Allow more than one level of directories to be create viaMark Lumsden
make-directory again. ok florian@ jasper@
2014-03-31Remove a redundant assignment for slashp in findnonblank().Brian Callahan
Remove a redundant comment in the same place while here. Tweaks from lum@ ok florian@ lum@
2014-03-28let's talk about shitHenning Brauer
2014-03-27Don't use nospace uninitialized in gotobop and gotoeop.Florian Obser
Problem noticed and diff from bcallah@. Slightly different fix by me. OK lum@, bcallah@
2014-03-27new-line -> newline;Jason McIntyre
not sure whether it's worth flattening the other few examples of this in our pages, but since it's used multiple times here without hyphen, at least keeps this page consistent;
2014-03-26Previously, C-t (transpose two chars) did not behave the same asMark Lumsden
Emacs. This diff makes mg behave more so. Though new-line characters are treated as any other. Difference from emacs observed and reported by deraadt@. First diff tested and ridiculed by deraadt@. Second diff not tested and not ridiculed by deraadt@ but at least email responded to.
2014-03-22donebell is no longer required.Mark Lumsden
2014-03-22If no default tag defined, still let user input a tag to find.Mark Lumsden
From Sunil Nimmagadda.
2014-03-22truer words were never spokenTed Unangst
2014-03-20Add some missing dobeeps.Mark Lumsden
ok florian@
2014-03-14Check if buffer is to be saved as a directory.Mark Lumsden
ok florian@
2014-03-06add missing stdio.h include for fparseln().Jasper Lievisse Adriaanse
from Ulrich Mueller, via Han Boetes ok florian@
2014-03-05complaint handlingFlorian Obser
2014-01-22fix fd leaks in error pathsJonathan Gray
ok krw@ phessler@
2014-01-21fulfilling theo's wishesHenning Brauer
2013-12-23Fix two dotline bugs for the price of one.Florian Obser
1) When answering "No newline at end of file, add one?" with y and dot is not at the end of buffer dotline is off by one 2) When displaying the same buffer in two windows, dot in the second window is below dot in the first and a newline is entered in the first window dotline is not updated in the second. OK lum
2013-12-23Move findbuffer() to buffer.c.Mark Lumsden
ok florian@
2013-12-20cannot let theo talking about emacs and mg slideHenning Brauer
2013-12-20Set the correct line number after successfully searching withFlorian Obser
re-search-{backward,forward}. OK lum
2013-12-20Remove a spurious message that appears in dired mode if you press aMark Lumsden
key without a function bound to it. ok florian@
2013-12-19Amend dired-unmark-backward to fit with recent change andMark Lumsden
include DEL in DIRED KEY BINDINGS.
2013-12-19Make dired-unmark-backward behave the same as emacs: move cursor up aMark Lumsden
line then remove 'D' instead of remove 'D' then move up a line. input/ok florian@
2013-10-22Fix previous; ENOCOFFEE.Florian Obser
Move xdirname call into the right if block, pointed out by Ulrich Mueller.
2013-10-22Our man page states that it's not portable to rely on dirname(3) notFlorian Obser
modifying the contents of the passed string. Replace dirname(3) with mg's xdirname portability helper function (a slightly different fix than Gentoo's). Report and initial analysis by Marien Zwart in Gentoo bug #487758 via Han Boetes (hboetes _AT_ gmail). Gentoo bugfix by Ulrich Mueller (ulm _AT_ gentoo). testing on glibc / input Ulrich Mueller; testing on glibc Han Boetes. Thanks! OK jasper@
2013-10-21unbreak make-directory by stripping trailing '/'Florian Obser
OK jasper@
2013-10-20the safety of the internet is called into doubtBret Lambert
prodding and okay mlarkin@
2013-10-08backwards compatibility is king, and will remain king, until 2038.Reyk Floeter
2013-09-24rename re_match to regex_match to prevent a namespace conflict on Linux asJasper Lievisse Adriaanse
reported by Han Boetes. while here, rename re_buff accordingly for consistency. ok florian@
2013-08-13addition for 64bit time_tStuart Henderson
2013-06-15Move upwards passed multiple lines with no characters instead ofMark Lumsden
stopping when first line with no characters is found.
2013-06-03Add the 'g' character and dired-revert to refresh the dired buffer.Mark Lumsden
ok jmc@ for man page.
2013-06-02Add the 'quit-window' dired command and receive a basic English lessonlum
from jmc@ again.
2013-06-02Fix return value in refreshbuffer.lum
2013-06-02Rename the dired-* commands to be like the emacs equivalents.lum
2013-06-01new sentence, new line;Jason McIntyre
2013-06-01Remove 'lint' mode. lint(1) is gone, and the mode was not documentedlum
anywhere. ok jasper@ florian@
2013-06-01If popbuf() fails, calling function should return FALSE.lum
2013-06-01Add dired key bindings. ok and advice jmc@lum