summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-05-29fix pastoXavier Santolaria
2006-05-29make diff accept symbols for -r too now that we haveJoris Vink
a translation function.
2006-05-29make the log command use rcs_translate_tagJoris Vink
2006-05-29add rcs_translate_tag which will translate a specifiedJoris Vink
revision or symbol given to us on the command line into the matching revision in the RCS file (if any);
2006-05-29i forgot to handle directories inside the 'log' code,Joris Vink
which resulted in a very painfull segfault later on. found by reyk@
2006-05-29add needs to be passed arguments on the command line, andJoris Vink
isnt supposed to just run over our parent directory if none are specified. found by reyk@
2006-05-29i was wrong adding ".*" to the default ignore patterns,Joris Vink
so remove it from there again.
2006-05-29remove likes some CR_RECURSE_DIRS luvin' too.Joris Vink
2006-05-29add remove support, hacked by xsa@ but lots of modificationsJoris Vink
from me to actually make it work properly. commiting since xsa@ is not around and i want to move forward. ray@ agrees.
2006-05-29if the timestamp of the file has changed andJoris Vink
no longer matches the timestamp in the CVS/Entries file, be sure to compare the file contents to the revision contents to be positive the file actually changed. otherwise we would see a file as modified if somebody would for example open it in vi and simply :wq it.
2006-05-29unused varJoris Vink
2006-05-29- sizeof(struct tm) -> sizeof(*tb)Niall O'Higgins
little tidbit from the flight to c2k6 ok joris@
2006-05-29- zap unrequired casts for rcs_buf_release().Niall O'Higgins
2006-05-29Another mnemonic rename, missed the first time.Kjell Wooding
Also missed the ok cloder.
2006-05-28Kill the bflag, which was really just used to shut up a useless warningChad Loder
regarding unreachable breaks, we committed a smarter fix for this a while back, so the flag is not needed anymore. Lint will still accept and silently ignore this flag for now.
2006-05-28Kill the -a option for lint, which controlled (inconsistently) warningsChad Loder
regarding narrowing conversions. For now, lint still accepts and ignores the -a option, but soon I will remove it utterly and change the default LINTFLAGS.
2006-05-28Fix engrish, okay joris@Pedro Martelletto
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
WFHARD -> WFFULL (Redraw full window) WFFORCE -> WFFRAME (Reframe window). No binary change
2006-05-28Remove a lot of xstrdup() calls in getopt() loops, which are usuallyRay Lai
unnecessary. These xstrdup() calls don't call xfree() before anyway, so if a flag is given multiple times memory leaks would have resulted. OK joris@
2006-05-28add a way to look if a buffer differs from another oneJoris Vink
2006-05-28make it look a little less chaotic.Joris Vink
2006-05-28teach log how to handle the revisions passed on the command line.Joris Vink
the following now works: 'opencvs log -r1.5:1.15 foobar'
2006-05-28add code which allows us to select revisions based uponJoris Vink
a string given by the user on the command line, much like rcs_revision_select in OpenRCS. this will be usefull for some commands.
2006-05-28add basic 'cvs log' support.Joris Vink
2006-05-28Move -A<oldfile> handling into separate chunk of code. This alsoRay Lai
removes a memory leak if -A is given multiple times. OK joris@
2006-05-28Don't fill in the rd_locker if we are creating a new RCS file.Ray Lai
OK joris@
2006-05-28our add command can now add directories to the repository as well.Joris Vink
2006-05-28several fixes to the file api:Joris Vink
- default to CVS_FILE when something is totally unknown - cvs_get_repository_path() now returns the full repository path for the given argument. - cvs_get_repository_name() returns the contents of CVS/Repository to the caller. - allow command callbacks to specify if our recursion code needs to skip the directory or not. - when checking for a admin directory, make sure it is in fact a directory. if it is not we dont want to recurse inside.
2006-05-28build a lint library for us to use aboveTheo de Raadt
2006-05-28warn() already prints __progname for us, okay deraadt@ hshoexer@Pedro Martelletto
2006-05-28teach opencvs about the dlimit keyword in CVSROOT/config.Joris Vink
put some trace messages in place while im here.
2006-05-28enable basic add command, only works on files right now.Joris Vink
2006-05-28add rf_dead field to RCSFILE which can tell usJoris Vink
if an RCSFILE is dead, will come in usefull later in commands.
2006-05-28if we run into a file that was suppose to be a directoryJoris Vink
or a directory that is suppose to be a file, abort right away because something bad probably happened.
2006-05-28allow commands to shut up the output from cvs_file_classifyJoris Vink
if the commands want to output certain stuff themselfs
2006-05-28Re-add '-' getopt flag, since getopt can actually handle it.Ray Lai
Requested by deraadt@.
2006-05-28teach opencvs ci how to commit files that have been added,Joris Vink
opencvs can now commit modified files, removed files and added files. hip hip hurray!
2006-05-28o KNFRay Lai
o Remove unnecessary casts o Add __dead o Remove /* NOTREACHED */ o Remove cases '?' and '-' o Use more conventional getopt(3) syntax (argc -= optind; argv += optind; right after while loop) OK deraadt@
2006-05-28enable merging on update. if your file in your working copyJoris Vink
has been modified by yourself and there is a newer revision we try and merge them together. if the merge fails and has conflicts it will mark them inside the file, you will need to resolve these by hand first before you will be able to commit your modified file. works transparent with gnu cvs, as it is suppose to.
2006-05-27Handle crypt(3) returning NULL. Found by Gustavo C. Pereira.Moritz Jodeit
ok deraadt@
2006-05-27SRCS should refer to the .l and .c files; spotted by naddyTheo de Raadt
2006-05-27Move stderr redirection to a common location, as suggested by vincent aKjell Wooding
while ago. While here, get rid of some of the stupid static buffer sizes. I've been running with this for quite a while.
2006-05-27do not close the same entries list twice, this caused a double free;Joris Vink
2006-05-27Move mg "line to c-string" functionality to a function.Kjell Wooding
2006-05-27and now you can use -N to diff removed files tooJoris Vink
2006-05-27handle comments and leading spaces correctlyJoris Vink
in CVSROOT/config
2006-05-27allow diff to pick up newly added files with the -N flag.Joris Vink
2006-05-27more standard ignore patternJoris Vink
2006-05-27Kill upHex and use %X instead. Crazy old code found by deraadt.Claudio Jeker
2006-05-27Moving netstat from kvm snooping to retrieving the routing tables viaClaudio Jeker
sysctl. Most code is stolen from route -- which was stolen from netstat. kvm snooping code is still in and useable. Put it in deraadt@ henning@