summaryrefslogtreecommitdiff
path: root/usr.bin/mg/extend.c
AgeCommit message (Expand)Author
2006-12-30one more 'verses'->'versus' typo in commentMartin Reindl
2006-12-21Fix a realloc-style bug (curmap = reallocmap(curmap)) inKjell Wooding
2006-07-25Add bfirstlp(), blastlp() macros, returning the first and last linesKjell Wooding
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-06-01make // /~ path rewriting optional in adjustname() and use it everywhereJason Wright
2006-03-30Clean up some allocations. Remove malloc casts, and some easyKjell Wooding
2005-12-20Clean up the ugly casted frees. In one case, this meant eliminating a nastyKjell Wooding
2005-12-20Do some delinting of strl-type functions. Also, remove a superfluousKjell Wooding
2005-12-13More name-clash delintingKjell Wooding
2005-12-13do some silly de-lintingKjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-07add missing ctype.hKjell Wooding
2005-11-07Allow ctrl-key patterns ("^X^C") in keybind function. WillKjell Wooding
2005-10-14add missing /* ARGSUSED */ to quiet lint.Kjell Wooding
2005-10-14put proto in same #ifdef as codeTheo de Raadt
2005-08-09Clean up eread handling in mg. (basically, fallout from the 'enter oftenKjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-04-03This is a no binary change which does:David Berghoff
2005-03-10spacingTheo de Raadt
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent Labrecque
2003-09-22fix leak on realloc failureVincent Labrecque
2002-09-15 rename realocmap to reallocmap, plus some style.Vincent Labrecque
2002-07-03 a few missing tests for malloc()'s return value.Vincent Labrecque
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-06-21fix bad usage of strlcpy()'s return value. (made pointers pointVincent Labrecque
2002-05-29 show the line number in the config file when we find an error.Vincent Labrecque
2002-03-11 remove errno=0 assignments, we don't need these with Hakan's codeVincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
2002-03-10Better long vs int. millert@ ok.Hakan Olsson
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-14 use strtol instead of atoi to get range checking, etcVincent Labrecque
2002-02-13 simplify the define_key() code to use sane functions in two separate bufferVincent Labrecque
2001-07-05Fix a seg fault when an init file can't be readMatthieu Herrb
2001-05-24Make the keymap/mode table growable in runtime.Artur Grabowski
2001-05-24Break out function -> name mappings to an own file.Artur Grabowski
2001-05-24spacesMichael Shalayeff
2001-05-23cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs c...Michael Shalayeff
2001-05-23Get rid of unnecessary casts of NULL.Artur Grabowski
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-05-23Use 'fundamental_map' where 'map_table[0].p_map' or 'name_map("fundamental")'Artur Grabowski
2001-05-23There is no need to use name_mode when all we use from the mode is the map.Artur Grabowski
2001-05-23Deal with another strangeness caused by the abuse of theArtur Grabowski
2001-05-23Add an argument to doscan which is a pointer to a KEYMAP pointer.Artur Grabowski
2001-05-23Get rid of 'prefix' and use NULL instead.Artur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-09-01More -Wall anmd KNF, from op2@tomahawk.SQUiSH.orgTodd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-02-27Move dobindkey() into extend.c where it belongs.Todd C. Miller
2000-02-25further pruningTheo de Raadt
2000-02-25initial import of mg2aTheo de Raadt