Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-24 | make the -r description match that in rcsmerge(1), as far as is possible; | Jason McIntyre | |
ok xsa | |||
2006-04-24 | be consistent in error messages for wrongly specified keyword substitution | Xavier Santolaria | |
mode for `-k'. | |||
2006-04-21 | move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner; | Xavier Santolaria | |
"the voices in my head say OK!" joris@. | |||
2006-04-21 | remove overkill cvs_log() and rather use warn()/warnx(). | Xavier Santolaria | |
OK ray@ and discussed with joris@. | |||
2006-04-19 | switch -q handling to bitwise flags; OK ray@ niallo@. | Xavier Santolaria | |
2006-04-14 | spaces | Theo de Raadt | |
2006-04-14 | - don't append the extension if it's already there (PR 5076). | Joris Vink | |
- show magic branches in rlog (thanks for that nicer hack niall). - correct output in rcsdiff, so we perfectly match gnu's all these bugs were found by sturm@ while he was using cvsweb (which uses the RCS tools). "it is in my view that you should put it in" niallo@ | |||
2006-04-13 | clean up temporary files when we finish running. | Joris Vink | |
"cool" niallo@ | |||
2006-04-13 | *** empty log message *** | Ray Lai | |
2006-04-12 | Clean up <rev> handling. Whenever a revision is specified after a | Ray Lai | |
flag, it calls one of two new functions: rcs_setrevstr() or rcs_setrevstr2(). rcs_setrevstr() sets a string to another string, and complains if it was set more than once. rcs_setrevstr2() takes two strings, sets one after the other, and fatal()s if more than two strings were given. All <rev> handling is now done in the loop that goes through each argv. This is necessary for parsing symbols, which will be much easier after this. Along the way a lot of memory leaks were cleaned up. There is one area where rcs_set_rev() is called, which allocates a RCSNUM and stores it in pb.newrev, but it segfaults whenever I try to rcsnum_free() it. I put an /* XXX */ comment there for now. Passes regression tests and the code is less complicated in some ways (to me). Suggestions and OK xsa@ | |||
2006-04-10 | make sure we add the correct name mkstemp(3) creates for us | Joris Vink | |
to the worklist of temporary files. this way we definatly don't leave any files behind in /tmp. tested & okay niallo@ | |||
2006-04-10 | change rcs_kwexp_set() return type to void and simplify its use. OK niallo@. | Xavier Santolaria | |
2006-04-06 | -z can take no argument. | Xavier Santolaria | |
2006-03-30 | add temporary files to the worklist before creating them, this prevents | Joris Vink | |
a race when the user would interrupt the program when it was returning from cvs_buf_write_stmp() and leave the temporary files behind. | |||
2006-03-24 | Allow the -x flag to be used without an extension. | Ray Lai | |
``that makes sense'' xsa@ | |||
2006-03-20 | delint; cvs_buf_write_stmp() will never return non-zero: | Niall O'Higgins | |
- remove superfluous error handling for cvs_buf_write_stmp() - change cvs_buf_write_stmp() return type to void ok joris@ xsa@ | |||
2006-03-16 | Follow exit() with /* NOTREACHED*/ for lint. | Ray Lai | |
``OK niallo@'' niallo@ | |||
2006-03-15 | - zap filename arg in rcsdiff_rev() since its not used. | Niall O'Higgins | |
ok ray@ | |||
2006-03-08 | make openrcs use the worklist framework to keep track of temporary files | Joris Vink | |
and remove them in case it gets interrupted. suggested by deraadt@, ok niallo@ | |||
2006-03-07 | -z support for RCS; | Joris Vink | |
2006-03-06 | update usage(); | Jason McIntyre | |
2006-03-06 | move compat flags into a STANDARDS section; | Jason McIntyre | |
2006-03-06 | fix output to mimic gnu/usr.bin/rcs. | Xavier Santolaria | |
2006-03-06 | many spacing cleanups | Theo de Raadt | |
2006-03-05 | now that rcs_getrev() isn't doing keyword expansion anymore and rcsdiff(1) | Niall O'Higgins | |
expects to be comparing files with expanded keywords, we need to add a couple of calls to rcs_kwexp_buf() to rcsdiff.c. two minor output fixes in this diff also. ok xsa@ eyeballed by Rai Lai | |||
2006-01-05 | cleanup, move log.h and rcs.h inclusion into rcsprog.h; | Xavier Santolaria | |
2006-01-02 | #include's cleanup; ok joris@ niallo@. | Xavier Santolaria | |
2005-12-27 | - implement lazy-parsing of rcs files, that is only parse as much as we | Niall O'Higgins | |
need. this can save us much work, particularly with very large rcs files. first of a few important performance improvements. ok joris@ | |||
2005-12-20 | spread the use of fatal(); | Xavier Santolaria | |
2005-12-10 | - its wrong to use exit() here; return instead. | Niall O'Higgins | |
ok joris@ | |||
2005-12-05 | kill unused var; | Xavier Santolaria | |
2005-12-01 | - fix up context and unified diff output in both open rcs and open cvs so | Niall O'Higgins | |
that the date is set correctly. ok joris@ | |||
2005-11-29 | consistency in variables naming; | Xavier Santolaria | |
2005-11-28 | sync usage() for `-xsuffixes'; | Xavier Santolaria | |
2005-11-28 | -T is here for compatibility; | Xavier Santolaria | |
2005-11-25 | add support for `-kmode'; | Xavier Santolaria | |
2005-11-23 | initial bits for -T support; | Xavier Santolaria | |
2005-11-22 | - print to stderr in some cases | Xavier Santolaria | |
- few bits for `-kmode' | |||
2005-11-21 | enable `-xsuffixes' support as it has been added a few days ago | Xavier Santolaria | |
in rcs_statfile(); niallo ok | |||
2005-11-21 | - print some more informative messages | Xavier Santolaria | |
- minor knf niallo ok | |||
2005-11-16 | - add file existence check | Xavier Santolaria | |
- do not pollute with uneeded error messages | |||
2005-11-14 | print RCS file path; | Xavier Santolaria | |
2005-10-27 | TMPDIR support; joris ok | Xavier Santolaria | |
2005-10-16 | - sync rcsdiff_usage(); | Niall O'Higgins | |
2005-10-13 | To be fully compatibly with the GNU RCS tools we need to have the | Joris Vink | |
same way of parsing commandline options. Since getopt(3) allows spaces between arguments and GNU RCS tools does not we needed to roll out our own way of option handling, and here it is. ok niallo@ | |||
2005-10-12 | minor knf; | Xavier Santolaria | |
2005-10-12 | various usage cleanup; ok joris | Theo de Raadt | |
2005-10-11 | correctly set the filename by setting the diff_file variable; | Joris Vink | |
fixes the (null) stuff seen when using rcsdiff; ok niallo@ | |||
2005-10-09 | if there is a problem generating the diff for one of the files, continue | Niall O'Higgins | |
to process other files but eventually exit with status 2. this mimics GNU rcs behaviour. ok joris@ | |||
2005-10-08 | sync rcsdiff_usage() | Niall O'Higgins | |