summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-06-21add a hash table mechanism based upon hcreate(3) but one that allowsJoris Vink
us to maintain multiple hash tables concurrently. immediatly start using it to keep track of what directories we have already created and what CVS dirs we already created so we do not recreate them when we do not need to. we will be switching more internals to use this soon. rejoice for cheaper lookups. ok tobias@
2008-06-21use optopt to get invalid flag, instead of return value of getopt,Martynas Venckus
which is always '?'; ok djm@
2008-06-20Don't parse CVS/Root during import.Tobias Stoeckmann
ok joris
2008-06-20admin is only allowed on files which have an entry in CVS/Entries.Tobias Stoeckmann
ok joris
2008-06-20Properly send -D arguments to server when run as a client. Issue spottedTobias Stoeckmann
by sthen. ok joris
2008-06-20If -N has been specified along -D for diff, treat invalid dates as ↵Tobias Stoeckmann
non-existent file. Spotted by sthen. ok joris
2008-06-19knf; Mark LumsdenTheo de Raadt
2008-06-19Moved the unset of TZ environment variable out of atot into main, removingTobias Stoeckmann
an unused static var and test out of atot. With input by jsing and millert, ok millert
2008-06-19If checkout/update -p is requested with a specific tag for a file whichTobias Stoeckmann
doesn't contain this tag, don't print head. ok joris
2008-06-19Add entries to history file only if it already exists.Tobias Stoeckmann
ok joris
2008-06-19do not print spurious whitespace when reading from stdin;Otto Moerbeek
from Bernd Ahlers with a twist from me; ok millert@
2008-06-19printf(1) does not take any options but still needs to ignore the "--"Todd C. Miller
(end of options) flag. OK deraadt@ espie@
2008-06-18Don't free the buffer name until after you call adjustname.Kjell Wooding
Fixes a segfault that occurs when you write a file to an alternate name. Introduced by yours truly in 20060406. how did it last this long?
2008-06-17Plug memory and file descriptor leaks, diff by Jonathan Armani.Tobias Stoeckmann
ok joris
2008-06-17Regular expressions to match repository are allowed to have % in front.Tobias Stoeckmann
Diff by Jonathan Armani.
2008-06-17unused varsJoris Vink
2008-06-17unbreak diff for newly added files, tsk.Joris Vink
2008-06-16- add 'q', which does the same as eofMartynas Venckus
- add '?', which will help - make use of mflag, instead of special-case interactive - change mflag++ to mflag = 1, because theoretically it can go out of range "i like it" millert@. man page help and ok jmc@
2008-06-16could not resist. OK ok buddy henningClaudio Jeker
2008-06-16Rename the isatty argument to is_tty so we don't shadow isatty(3).Darren Tucker
ok markus@
2008-06-16fix transfer interrupting when confirmrest mode is used. changeMartynas Venckus
confirm() to have a 'force' argument, so that ointer/oconf dance is not needed, and to prevent further bugs like this; ok millert@
2008-06-15first pass: it would be nice if mg users read over this page and sent usJason McIntyre
any fixes;
2008-06-15don't call isatty() on a pty master, instead pass a flag down toDamien Miller
channel_set_fds() indicating that te fds refer to a tty. Fixes a hang on exit on Solaris (bz#1463) in portable but is actually a generic bug; ok dtucker deraadt markus
2008-06-15Allow MaxAuthTries within a Match block. ok djm@Darren Tucker
2008-06-15MaxSessions is allowed in a Match block tooDarren Tucker
2008-06-15Typos, forgotten wordKjell Wooding
2008-06-15How about we actually document the 230-odd functions that make upKjell Wooding
mg now? Keymaps, too. I've guaranteed to have mucked up somewhere in here, but really - this man page can't really get less useful. Modes to come.
2008-06-15if we are using RCS_PARSE_FULLY we can close the RCS file descriptorJoris Vink
as soon as we are done parsing, since we no longer need it for anything.
2008-06-15accept empty password, since that's exactly what rfc1738 tells usMartynas Venckus
to do; theo agrees, millert oks
2008-06-15Support the addition of new files in branches.Tobias Stoeckmann
ok joris
2008-06-15open the RCS file descriptor with O_RDONLY, like all other code does.Joris Vink
ok tobias@
2008-06-15in debug mode (-d), hide password in the same way as command() does;Martynas Venckus
ok millert@
2008-06-15make further prompts work after eof, don't spam with prompts inMartynas Venckus
m*() cases; ok millert@
2008-06-15turd polishing (useless chatter removed), ok djmHenning Brauer
2008-06-14- remove ports category after discussion w/ manyPeter Valchev
- sync architectures list with reality and fix a few names ok theo
2008-06-14unfuck CVS/Tag creation, karma sucks doesn't it.Joris Vink
2008-06-14Mention that scp follows symlinks during -r. bz #1466, from nectar at appleDarren Tucker
2008-06-14suppress the warning message from chdir(homedir) failuresDamien Miller
when chrooted (bz#1461); ok dtucker
2008-06-14ensure default umask disallows at least group and world write; ok djm@Darren Tucker
2008-06-14wrap long line at 80 charsDarren Tucker
2008-06-14We do not need a whole MODE for blinking one character.Kjell Wooding
both emacsen automatically blink, so mg should too. This can be overridden in your ~/.mg by adding, e.g. global-set-key ")" self-insert-command So, I've eliminated blink mode, and renamed "blink-matching-paren-hack" to "blink-and-insert". It's not just for parens anyway. While I'm here, set up an empty (rescan) target for backtab, so I can bind something convenient to it; e.g. global-set-key "\e[Z" backward-char Finally, remove all references to Scribd. Theo doesn't hate this, though I would hesitate to call it an ok.
2008-06-14Add compile (c-C c-P) to the c-mode keymap (export from grep.c)Kjell Wooding
Also, attempt to make indent an atomic undo operation.
2008-06-14unf*ck undo.Kjell Wooding
No seriously. Reposition the cursor to the start of the redo position, like emacs. This gets us halfway to being emacs-finger-friendly. For the rest, introduce a rptcount variable to count successive invocations of the same function. This means undo will abort properly on C-g, and other such interruptions. This is a lot of diff for a simple-seeming problem. Emacs undo is hard.
2008-06-14Conforming to RCS specification, it is possible but unlikely to encounterTobias Stoeckmann
an RCS file which has no head revision set. Some commands actually can work with them (log, status) so support these files. Fixes A LOT of possible segmentation faults. ok joris
2008-06-14Added support for sticky date set in CVS/Tag and CVS/Entries per directory.Tobias Stoeckmann
ok joris
2008-06-14don't always re-open the same CVS/Entries file, instead keep theJoris Vink
last opened CVS/Entries around to operate on and close it whenever we switch directory. gives us a small performance boost, obviously. while doing this, switch the way we write revisions to disk by using fwrite(3) so stuff can get written to disk in chunks instead of writing everything line by line, another win. with help from otto@ ok tobias@
2008-06-14Run cvs_remove_force only if -f has been specified.Tobias Stoeckmann
ok joris
2008-06-14No need to add \n at the end of format string for a fatal call.Tobias Stoeckmann
2008-06-14Don't trick user into believing that it's actually possible to add a fileTobias Stoeckmann
to repository which is even ready to be checked out. "probably right" joris
2008-06-14Fixed wrong function name in fatal call.Tobias Stoeckmann