Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove xfree(), like already done for RCS. From Michael W Bombardieri, | 2015-11-05 | 1 | -2/+3 | |
| | | | | ok mmcc | ||||
* | Move some global variables/statics to locals, from Michael W | 2011-12-27 | 1 | -2/+2 | |
| | | | | Bombardieri. | ||||
* | cmdp can be NULL while still in cvs_getopt(), so deal with this | 2008-06-12 | 1 | -3/+6 | |
| | | | | | | inside of cvs_vlog() since cvs_getopt() might be calling it. spotted by Jonathan Armani | ||||
* | style ferry comes around | 2008-06-11 | 1 | -29/+31 | |
| | |||||
* | Use a fixed string in case of vasprintf() error instead of relying on | 2008-04-24 | 1 | -2/+2 | |
| | | | | | | | strerror(). Although our vasprintf() sets errno, we cannot rely on it on other systems. ok ray (who spotted this issue), xsa | ||||
* | Simply the use of cmdp and cvs_command by zapping cvs_command and working | 2008-01-10 | 1 | -15/+7 | |
| | | | | | | | | solely with cmdp. This remedies some reliability issues with invalid commands supplied and also fixes a GNU cvs style incompatibility with release command. > Based on patch from Igor Zinovik | ||||
* | Properly send out rcs info header with "E " in server mode (stderr in | 2007-09-07 | 1 | -2/+2 | |
| | | | | | | | local mode). Format style change also enables opencvs to be used with cvsweb (+ adjustment). OK joris@ | ||||
* | add support for cvs rlog. | 2007-06-26 | 1 | -5/+6 | |
| | | | | | | from Mickey. ok joris@ ray@ | ||||
* | Simplify cvs_vlog() to avoid endless fatal() loop on some error case. | 2007-05-10 | 1 | -41/+32 | |
| | | | | | Problem spotted and fix submitted by Tobias Stoeckmann. OK niallo@. | ||||
* | general includes cleanup sweep. ok joris@ niallo@ | 2007-02-22 | 1 | -3/+3 | |
| | |||||
* | snprintf() -> xsnprintf() | 2007-01-31 | 1 | -6/+6 | |
| | |||||
* | first part of opencvs remote, fairly useable on existing trees | 2006-07-07 | 1 | -5/+6 | |
| | | | | | | | | | | | | | | although i advise against using it on real development trees for now. only a few commands work right so far: - commit - diff - status - log - update (partially working) if you feel like testing remote and run into bugs feel free to contact me, and please include a full trace (-t). | ||||
* | commit the new opencvs code, i have been hacking on | 2006-05-27 | 1 | -174/+19 | |
| | | | | | | | | | | | | this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now. | ||||
* | change cvs_log() and cvs_vlog() return type to void; OK niallo@. | 2006-04-20 | 1 | -11/+6 | |
| | |||||
* | remove a metric buttload of excessive () | 2006-04-14 | 1 | -3/+3 | |
| | | | | no binary change; ok ray | ||||
* | Add error checking for vasprintf. Stylistic suggestions from xsa@. | 2006-04-13 | 1 | -24/+23 | |
| | | | | OK xsa@ | ||||
* | - remove unused function cvs_putchar() | 2006-03-15 | 1 | -19/+1 | |
| | | | | "well then zap it" joris@ | ||||
* | - nuke remaining err(), errx() and warnx() instances. | 2006-01-02 | 1 | -5/+2 | |
| | | | | | - make cvs_log_init() return type void. ok joris@. | ||||
* | #include's cleanup; ok joris@ niallo@. | 2006-01-02 | 1 | -9/+2 | |
| | |||||
* | switch to xmalloc stuff, me and xsa@ agreed on this a long | 2005-12-10 | 1 | -2/+2 | |
| | | | | | | | | | time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@ | ||||
* | fix cvs_log() so it doesn't segfault when called before | 2005-10-09 | 1 | -4/+10 | |
| | | | | | | cvs_command is set. problem found by & discussed with Nuno Morgadinho thanks! | ||||
* | Add preprocessor directives needed for usr.bin/rcs programs to compile. | 2005-09-19 | 1 | -1/+17 | |
| | | | | ok joris@ | ||||
* | increase ebuf[] size in cvs_vlog() wrt strerror(3) return value; | 2005-08-05 | 1 | -2/+2 | |
| | | | | ok jfb@. | ||||
* | rather make LP_NOTICE send to stderr not LP_INFO, pointed out by jfb@. | 2005-07-27 | 1 | -3/+3 | |
| | | | | ok jfb@. | ||||
* | make LP_INFO send to stderr; ok joris@. | 2005-07-27 | 1 | -2/+2 | |
| | |||||
* | KNF; | 2005-07-25 | 1 | -5/+5 | |
| | |||||
* | remove trailing whitespaces | 2005-07-07 | 1 | -2/+2 | |
| | | | | from deraadt@ | ||||
* | remove ancient and unused CVS define. it was a leftover from | 2005-06-07 | 1 | -11/+2 | |
| | | | | | | the daemon. ok xsa@ | ||||
* | * introduce cvs_putchar(), to output a single character to stdout. | 2005-06-05 | 1 | -2/+18 | |
| | | | | | | | | | if we are in server mode send 'M' when needed. * switch diff command to cvs_printf() and cvs_putchar() so it will output correctly in local and server mode. ok xsa@, jfb@ | ||||
* | make cvs_printf() a bit smarter, so it can be called without having | 2005-06-02 | 1 | -3/+9 | |
| | | | | | | to worry about the 'M' in server mode. OK jfb@ | ||||
* | - set LP_ABORT log level when action is abored by user instead of LP_ERR | 2005-06-02 | 1 | -3/+8 | |
| | | | | | | | - missing \n in output of an unchanged log message warning - always use the command name in error messages instead of aliases ok jfb@. | ||||
* | headers ordering (alphabetically) and cleanup, from mbalmer@ and myself; | 2005-05-31 | 1 | -5/+4 | |
| | |||||
* | unbreak | 2005-04-06 | 1 | -1/+3 | |
| | |||||
* | make cvs_printf() work as advertised when running as server | 2005-04-06 | 1 | -4/+29 | |
| | |||||
* | make LP_TRACE messages go through again, and assign them a level of | 2005-03-28 | 1 | -4/+6 | |
| | | | | | | LOG_DEBUG for the syslog facility ok xsa@ | ||||
* | fix a variety of things i found at coverity. ok joris@ | 2005-03-26 | 1 | -2/+2 | |
| | |||||
* | when a log message is generated by the server and is sent to | 2005-02-22 | 1 | -2/+4 | |
| | | | | | standard error, instead redirect it to standard out with the appropriate `E' prefix to indicate an error response message | ||||
* | properly initialize the syslog_data structure | 2005-02-16 | 1 | -2/+2 | |
| | |||||
* | remove the LP_FILTER_TOGGLE operation, which is really pointless, and | 2005-02-15 | 1 | -26/+18 | |
| | | | | use a bitmask to keep track of the log filters | ||||
* | Permit the client to generate trace output when the -t option is given | 2004-12-15 | 1 | -5/+15 | |
| | | | | | by using the LP_TRACE level to cvs_log(). Traces are filtered by default. | ||||
* | less whitespace, more pretty. ok jfb | 2004-12-07 | 1 | -7/+2 | |
| | |||||
* | tighten vertical spacing for else; jfb ok | 2004-12-06 | 1 | -3/+2 | |
| | |||||
* | make sure va_end() is always called in all possible paths | 2004-11-28 | 1 | -3/+1 | |
| | | | | ok jfb | ||||
* | Add a new log level LP_ABORT, which modifies the behaviour of prefix | 2004-08-05 | 1 | -9/+15 | |
| | | | | | | generation by outputting something similar to GNU CVS: cvs [<command> aborted]: message | ||||
* | Adapt the logging so any messages generated by the server will be | 2004-08-05 | 1 | -2/+23 | |
| | | | | | | prepended with a 'M' or 'E' command, depending on the log level, and follow the GNU behaviour of printing the command name after the program name in messages | ||||
* | Comment out unused code and some minor cleanup. Add the prototype and | 2004-07-27 | 1 | -4/+27 | |
| | | | | | | | skeleton for cvs_printf(), which will be used to output strings that do not need all of the handling that cvs_log() performs. This will be used among other things to prepend the `M' and `E' family of responses to output made by the `server' command. | ||||
* | * initial import from the cvs-tools module | 2004-07-13 | 1 | -0/+254 | |