summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Collapse)Author
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
2003-09-22fix leak on realloc failureVincent Labrecque
ok henning tedu
2003-09-19do not += snprintf; andrushock@korovino.netTheo de Raadt
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-16spacingTheo de Raadt
2003-08-15make dired work more like emacs. (well, make it _work_, and then add aVincent Labrecque
bunch of missing commands)
2003-08-15 actually extract the filename off the ls line. makes dired *slightly*Vincent Labrecque
more useful.
2003-07-16anotherHenning Brauer
2003-06-26protosVincent Labrecque
ok deraadt
2003-06-12spellingPeter Valchev
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-01some string formats.Artur Grabowski
vincent@ ok
2003-06-01various format string cleanups; tedu okTheo de Raadt
2003-05-26of course my 1000th commit has to go to theo.c and must be about germans ;-)Henning Brauer
2003-05-20Finish KNF of prototypes. That should be all of them.Chad Loder
OK vincent@
2003-05-18unreliable non-hurlersHenning Brauer
2003-05-18moose bbq is full of quotesTodd T. Fries
2003-05-17live from the moose bbqHenning Brauer
2003-05-16fix the goal calculation routine so moving up and down moves to the rightVincent Labrecque
column. ok jason
2003-05-15anotherHenning Brauer
2003-05-11More.Dale Rahn
2003-05-08use NULL to indicate failure in functions that return pointers, not FALSE.Vincent Labrecque
typo in comment from Patrick Latifi (patrick.l@hermes.usherb.ca)
2003-05-06fix a small memleak on errors. noticed by pat latifi.Vincent Labrecque
ok millert, fgsch
2003-05-05document the new -f <mode> command line option.Vincent Labrecque
ok jmc
2003-05-05add a mail-mode, to do automatic line-wrapping.Vincent Labrecque
(at the same time, change the command line parsing to support a -f <mode> that is slightly different from the one in gnu emacs, we apply it to all buffers created from command line arguments, so you can use "mg -f mail-mode" as your editor. manpage change coming soon) ok henning
2003-04-18hackers of the planet earthMichael Shalayeff
2003-04-18get someMichael Shalayeff
2003-04-16Fix a buffer overflow in complt_list(); it was allocating spaceTodd C. Miller
based on nrow when it wanted ncol. Also make the space-padding more bulletproof and avoid trying to pad w/ 0 characters. Closed PR 3190; vincent@ OK
2003-04-16lalloc() - return NULL on error, not FALSETodd C. Miller
lrealloc() - don't realloc if new size <= old size. Avoids a realloc(p, 0) vincent@ OK
2003-04-13correct snprintf bound value, ok millert@, deraadt@Anil Madhavapeddy
2003-04-08remember the last M-x compile command used.Vincent Labrecque
ok art@