summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Expand)Author
2015-01-02Remove unused variable.Mark Lumsden
2014-12-30Remove some checks that will always evaluate to true. Noticed by a veryBrian Callahan
2014-12-06A few last 'easy' #include dedups.Kenneth R Westerback
2014-11-19Fire up your IC fabs!Ingo Schwarze
2014-11-16Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),Philip Guenther
2014-11-16Don't save the return from getindent() if you don't need it; adjustPhilip Guenther
2014-11-16pull in <time.h> for struct timespecPhilip Guenther
2014-11-16ctype macros/functions expect unsigned char values. Note that the lgetc()Philip Guenther
2014-11-16scroll_fwd should be const char *Philip Guenther
2014-11-16constipate charcost()Philip Guenther
2014-11-13Nuke GOOD define and just exit(0) on success. While there removeFlorian Obser
2014-11-03comment out no-tab-mode, since mg is currently compiled without it;Jason McIntyre
2014-10-19Move the description of mg automatic recentering further down theMark Lumsden
2014-10-17If gotoeop() is called requiring more than one iteration, it behavesMark Lumsden
2014-10-16Use reallocarray() where possible. There are further possible overflowsTheo de Raadt
2014-10-15some choice thoughts on back compatTed Unangst
2014-10-13gotoeop() does not behave as expected when there is no '\n' at the end of theMark Lumsden
2014-10-12Fix a bug in backward-paragraph. If the cursor is on the first line ofMark Lumsden
2014-10-11Userland reallocarray() audit.Doug Hogan
2014-09-27sound reasoningSebastian Benoit
2014-08-19Let's talk about obstacles you face when trying to pull off a partial tedu@.Ingo Schwarze
2014-08-14Add bounce matching for [] and {} like mg already does with () and likeBrian Callahan
2014-06-12Remove a comparison that is always true. Reported by clang.Brian Callahan
2014-05-28On delete-window, remember the position of dot and mark in the bufferFlorian Obser
2014-05-08protip: "It's largely bad style to do (int)sizeof"Ted Unangst
2014-04-18We should probably thank OpenSSL.Ingo Schwarze
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
2014-04-03When finding a file in a non-existant directory:Mark Lumsden
2014-04-02Add the '#' character as a comment character in the startup file.Mark Lumsden
2014-03-31Tidy up. No functional change.Mark Lumsden
2014-03-31Allow more than one level of directories to be create viaMark Lumsden
2014-03-31Remove a redundant assignment for slashp in findnonblank().Brian Callahan
2014-03-28let's talk about shitHenning Brauer
2014-03-27Don't use nospace uninitialized in gotobop and gotoeop.Florian Obser
2014-03-27new-line -> newline;Jason McIntyre
2014-03-26Previously, C-t (transpose two chars) did not behave the same asMark Lumsden
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
2014-03-22truer words were never spokenTed Unangst
2014-03-20Add some missing dobeeps.Mark Lumsden
2014-03-14Check if buffer is to be saved as a directory.Mark Lumsden
2014-03-06add missing stdio.h include for fparseln().Jasper Lievisse Adriaanse
2014-03-05complaint handlingFlorian Obser
2014-01-22fix fd leaks in error pathsJonathan Gray
2014-01-21fulfilling theo's wishesHenning Brauer