Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-11 | needs pledge "getpw" also | Theo de Raadt | |
2015-11-11 | pledge "stdio rpath wpath cpath fattr proc exec tty" seems to work. | Theo de Raadt | |
there are a few system, popen, fork... ok florian | |||
2015-11-11 | Clear the mini buffer once a question has been displayed. ok jasper@ | Mark Lumsden | |
2015-11-09 | use strncasecmp() | Jasper Lievisse Adriaanse | |
ok lum@ | |||
2015-11-09 | no need to initialize variables that are being initialized a few lines below | Jasper Lievisse Adriaanse | |
ok lum@ on a previous diff | |||
2015-11-08 | whitespace | Jasper Lievisse Adriaanse | |
2015-10-31 | mark *Completions* buffer as read-only | Jasper Lievisse Adriaanse | |
ok lum@ | |||
2015-10-29 | I assume KRANDOM was the previous name for FFRAND. KRANDOM is not in | Mark Lumsden | |
the mg source now. | |||
2015-10-29 | Fix opening dired from the command line. Incorrect cursor placement | Mark Lumsden | |
and make the error more useful when there is a problem opening a directory. Reported by and ok jasper@ | |||
2015-10-29 | This sausage is made from unsound meat. | Ted Unangst | |
2015-10-13 | Check if a file name can be extracted from a line before marking for | Mark Lumsden | |
deletion. | |||
2015-10-12 | Maintain a list of files marked for deletion while refreshing a dired | Mark Lumsden | |
buffer. Previously, when refreshing the buffer the files marked for deletion would be lost. Since the relationship between the files that have been marked for deletion and those that exist on disk is volatile, I have chosen to implement the discovery of marked files during the refresh function as opposed to maintaining a dired buffer specific list. | |||
2015-10-12 | Correctly mark-up some recent additions. ok jmc@ | Mark Lumsden | |
2015-10-10 | Make functions that accept multiple iterations via C-u N, honour 0. | Mark Lumsden | |
Except C-k which has a defined behaviour. In mg, C-t doesn't complete n iterations if requested, but probably should, hence it has been included in this diff. | |||
2015-10-10 | Call onlywind() properly. | Mark Lumsden | |
2015-10-09 | Fix line number bug when calling onlywind(). | Mark Lumsden | |
2015-09-29 | Check to see if the file to be opened is a directory as soon as is | Mark Lumsden | |
feasible. Currently, mg does this check much later on which means some functions (e.g showbuffer()) are called multiple times. This fixes the location of the cursor when opening a directory using filevisit, findvisitalt and poptofile. ok jasper@ | |||
2015-09-29 | rename random.c to util.c so it doesn't look scary. (util.c repo copied) | Ted Unangst | |
ok deraadt guenther | |||
2015-09-29 | Delete the final, inscrutable NOSTRICT and VARARGS lint comments | Philip Guenther | |
ok millert@ | |||
2015-09-29 | Mark eread(), veread(), and eformat() as printf-like and | Philip Guenther | |
Convert eread(buf, a2, a3, a4) to eread("%s", a2, a3, a4, buf) ok millert@ lum@ | |||
2015-03-19 | Clean up the includes in mg. | Brian Callahan | |
This does the following: Moves all POSIX headers from sysdef.h into the individual .c files so that each file now only includes what it needs. All headers are properly sorted. Moves the remainder of sysdef.h to other files (mostly def.h) and deletes sysdef.h now that it's no longer contains anything. Tweak a comment that references sysdef.h so that it no longer does that. ok florian@ | |||
2015-03-16 | Change the internal name of the newline function to deconflict with a | Brian Callahan | |
function of the same name in term.h. This is the first step towards cleaning up mg's includes. No user-visible changes. ok florian@ | |||
2014-03-26 | Previously, C-t (transpose two chars) did not behave the same as | Mark 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. | |||
2013-03-25 | Display the window's column number in mode line not the | Florian Obser | |
column number of the active window. OK jasper@ | |||
2012-05-18 | Allow no-tab-mode to compile. From James Turner. | Mark Lumsden | |
note: no-tab-mode needs more work done before removing the NOTABs. | |||
2011-01-21 | It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ↵ | Kjell Wooding | |
was built. no binary change here. confirmed by lum@, tested by Henri Kemppainen | |||
2011-01-19 | patch from Henri Kemppainen: | Kjell Wooding | |
clean up undo boundaries for functions in random.c This catches an error, where twiddling in an empty file could disable undo boundaries for the rest of the session. proper undo boundaries around newline() will have to wait until proper reference counting is done... Thanks! | |||
2011-01-18 | Add join-line, bound to M-^ | Kjell Wooding | |
Join the current line to the previous. original diff by Henri Kemppainen. minor mod to add undo boundaries. Thanks! | |||
2011-01-17 | Add back-to-indentation. (M-m) | Kjell Wooding | |
Move the dot to the first non-whitespace character on the current line. from Henri Kemppainen . ok theo | |||
2008-09-15 | Expose the undo commands as proper mg functions. | Kjell Wooding | |
This should have no functional change on undo, but it does facilitate testing undo behavior. | |||
2008-06-11 | Add delete-leading-space, delete-trailing-space, | Kjell Wooding | |
indent-current-line utility functions for stripping leading/trailing whitespace, and setting a fixed indent respectively. | |||
2007-02-08 | Fix a comment | Kjell Wooding | |
2006-11-17 | Fix a needless inversion of flag names; i.e. change them from the | Kjell Wooding | |
negative to the positive. undo_boundary_enable(TRUE) makes a LOT more sense than undo_no_boundary(FALSE). While here, whack a global, and fix a bug noted by otto: undoing a file insertion sometimes left stray characters around. ok beck@, otto@ | |||
2006-07-25 | Add bfirstlp(), blastlp() macros, returning the first and last lines | Kjell Wooding | |
of a buffer respectively. Removes an ugly construction than necessitated "go to first line"-type comments throughout the code. No binary change | |||
2006-07-25 | Rename the header line of a buffer to b_headp, from the remarkably | Kjell Wooding | |
unintuitive b_linep. No binary change. | |||
2006-06-01 | kill another superfluous strlen | Kjell Wooding | |
2006-06-01 | Style. no practical change. | Kjell Wooding | |
2006-06-01 | Make transpose (c-T) undoable. | Kjell Wooding | |
There is still a bug here, but it lies in undo (cursor position when undo wraps the undo list), and is purely cosmetic for now. | |||
2005-11-22 | Move kill-related commands to their own file. | Kjell Wooding | |
This will help move to a kill-ring. | |||
2005-11-19 | Clean up some lint. | Kjell Wooding | |
2005-11-18 | greedy use of typedef struct was making code harder to read; ok kjell cloder | Theo de Raadt | |
2005-11-18 | Don't ifdef out. Delete it. That's what the attic is for. | Kjell Wooding | |
2005-10-13 | Make undoing of a yank operation work as expected | Kjell Wooding | |
(i.e. undo boundaries are placed around entire yanked block) ok cloder@ | |||
2005-06-14 | Add explicit public domain notices to all public domain files. | Kjell Wooding | |
ok millert@, deraadt@ | |||
2005-04-03 | This is a no binary change which does: | David Berghoff | |
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification ok henning@ | |||
2003-05-20 | Finish KNF of prototypes. That should be all of them. | Chad Loder | |
OK vincent@ | |||
2003-05-16 | fix the goal calculation routine so moving up and down moves to the right | Vincent Labrecque | |
column. ok jason | |||
2002-05-30 | fix segfault when using just-one-space on an empty line; from | Vincent Labrecque | |
dkm_holdings@hotmail.com ok art@ | |||
2002-02-14 | some KNF | Theo de Raadt | |
2001-05-24 | spaces | Michael Shalayeff | |