summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2006-01-25this snprintf() occurence should have been removed in previous commit.Xavier Santolaria
2006-01-25use cvs_rcs_getpath() here too + some strings cleanup whilst here.Xavier Santolaria
2006-01-25strings cleanup; OK niallo@.Xavier Santolaria
2006-01-25use cvs_rcs_getpath() instead of duplicating code.Xavier Santolaria
2006-01-25snprintf() cleanup; OK niallo@.Xavier Santolaria
2006-01-23snprintf() -> strlcpy()/strlcat(); OK niallo@.Xavier Santolaria
2006-01-23print complete command name in usage, not aliases.Xavier Santolaria
2006-01-23wrap usage;Xavier Santolaria
2006-01-16- in cvs_buf_free(), don't try to free() b->cb_buf if it has not beenNiall O'Higgins
allocated. fixes PR4974. From: <ttakah@lapis.plala.or.jp>
2006-01-15- don't try to malloc 0 bytes of memory if an empty buffer is requested; delayNiall O'Higgins
the malloc till cvs_buf_grow(). fixes PR4972. ok joris@
2006-01-10- rewrite RCS keyword expansion. the old way of doing it was very slow,Niall O'Higgins
this method avoids lots of expensive buffer operations, and gives OpenCVS a considerable speed boost. ok xsa@ "put it in" joris@
2006-01-10- add cvs_buf_getc() function; returns byte at specified buffer position.Niall O'Higgins
needed for the next commit. ok xsa@ joris@
2006-01-10zap unused variables;Xavier Santolaria
2006-01-08make cvs_init_create_files() return type void; ok joris@.Xavier Santolaria
2006-01-06mark up fix;Jason McIntyre
2006-01-06restructure the section on cvs sub-commands: make each commandJason McIntyre
a sub-section, and put the command usage in an indented display; this removes the problem of line split on complicated usage, and makes the usage itself much easier to maintain (no mark up to worry about). page looks nicer too ;) ok joris xsa
2006-01-06ingore local update of newly added files. this fixes some possibleReyk Floeter
NULL pointer conditions and also removes some obsolete extra checks. ok joris@
2006-01-06uninitialized pointer could confuse the cleanup checkReyk Floeter
ok joris@
2006-01-06zap <paths.h>;Xavier Santolaria
2006-01-04make cvs_sendresp() return type void; ok joris@.Xavier Santolaria
2006-01-03renaming zlib.{c,h} files to compress.{c,h} and link to build;Xavier Santolaria
was pretty stupid calling them that way; ok joris@ niallo@.
2006-01-03use fatal();Xavier Santolaria
2006-01-03knf;Xavier Santolaria
2006-01-02zap, kill and eliminate unused code;Joris Vink
2006-01-02- nuke remaining err(), errx() and warnx() instances.Xavier Santolaria
- make cvs_log_init() return type void. ok joris@.
2006-01-02more includes cleanup;Xavier Santolaria
2006-01-02rename variable to fix shadow warning;Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2006-01-01more code cleanup;Joris Vink
ok xsa@ i'm commiting only hours after newyear, ah the joys of being a true geek.
2005-12-31minor knf;Xavier Santolaria
2005-12-30knfReyk Floeter
2005-12-30- zap unused 'rf_ref' member of RCSFILE structure.Niall O'Higgins
spotted by joris@
2005-12-30- simplify an unecessary if/else construct in rcs_open()Niall O'Higgins
spotted by joris@
2005-12-30more code cleanup, ok niallo@ and xsa@Joris Vink
2005-12-30- realloc() -> xrealloc(), was missed in the original sweep.Niall O'Higgins
2005-12-30minor style nits;Xavier Santolaria
2005-12-30adjust some thruth in a comment.Joris Vink
2005-12-30major cleanup of the functions handling the remote cvs protocol.Joris Vink
makes the code a lot more readable and understandable. ok xsa@ and niallo@
2005-12-30spacingJoris Vink
2005-12-30pass LP_ABORT to cvs_vlog() instead of LP_ERR.Joris Vink
2005-12-29we were wrongly decrementing cvs_mtskt_depth when handlingJoris Vink
a '-' MT response. this caused checkout and update to fail remotely. caught by xfree().
2005-12-28don't use rf_pdata when it's not allocated.Joris Vink
2005-12-27- optimise rcsnum_tostr(). we call this function a LOT and using multipleNiall O'Higgins
snprintf()s in it is SLOW. second of a few important performance improvements. ok joris@
2005-12-27- implement lazy-parsing of rcs files, that is only parse as much as weNiall 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-24add an argument to cvs_chdir() which enables or not the removalXavier Santolaria
of the directory we just chdir'd to. Useful when the function fails especially for the server mode and its temporary directory. This way it's not left behind on exit. ok joris@.
2005-12-24remove useless cvs_buf_alloc() failure checks;Joris Vink
2005-12-24we should be calling cvs_vlog(); to at least get some decent output;Joris Vink
2005-12-23cvs_buf_write() did not properly set new permissionsJoris Vink
on already existing files. niallo agrees.
2005-12-22cvs_rcs_getpath() cannot fail anymore;Xavier Santolaria
2005-12-22cvs_chdir() cannot fail anymore;Xavier Santolaria