summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Expand)Author
2015-06-03Remove unused defines and functions.Brian Callahan
2015-05-08Remove ereply prototype since it is never used. Tweak a comment to reflectBrian Callahan
2015-04-12Prevent use after free in definemacro().Florian Obser
2015-04-03Pull an #include out of an #ifdef.Brian Callahan
2015-03-25unifdef -U NO_DPROMPT and GOSREC.Brian Callahan
2015-03-25Remove unused METACH #define.Brian Callahan
2015-03-25We really don't need ttydef.h -- it is like sysdef.h -- once useful becauseBrian Callahan
2015-03-24When exiting the loop early don't forget to clean up.Florian Obser
2015-03-24unifdef -DBINDKEY -- you can't build mg the other way.Brian Callahan
2015-03-23DIFFTOOL has to be defined for mg to build. TCSASOFT is defined viaBrian Callahan
2015-03-19More unifdef cleanup:Brian Callahan
2015-03-19Clean up the includes in mg.Brian Callahan
2015-03-18Clean up a pair of sentences that aren't true anymore for mg while keepingBrian Callahan
2015-03-17It is impossible to build mg without both -DFKEYS and -DXKEYS. So let'sBrian Callahan
2015-03-17correct command name; from kaspars bankovskisJason McIntyre
2015-03-16Change the internal name of the newline function to deconflict with aBrian Callahan
2015-02-17shuffle reallocarray arguments around for better overflow checkingTed Unangst
2015-02-17undef tryreallocarray like tryrealloc when done.Ted Unangst
2015-01-13Remove a variable that's not really being used.Brian Callahan
2015-01-05As pointed out by Kaspars Bankovskis on tech@, there is no ifdef forMark Lumsden
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