Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add missing newline, fixes D_NORMAL diff output; | 2005-10-08 | 1 | -2/+2 | ||
| | | | | ok niallo@ | |||||
* | KNF; | 2005-10-08 | 1 | -4/+6 | ||
| | | | | from sir reyk@ | |||||
* | basic `ci' support is here! more coming soon. | 2005-10-07 | 1 | -68/+89 | ||
| | | | | | | combined effort with joris. ok joris@ | |||||
* | knf and spacing, ok joris@ | 2005-10-07 | 1 | -4/+5 | ||
| | ||||||
* | - add a diff.h header file, corresponding to public functions in diff.c | 2005-10-05 | 1 | -37/+15 | ||
| | | | | | | | | | | | | and some #defines - include this header in rcs.c - link rcs against diff.c this allows us to use the existing diff work from opencvs within functions in the rcs.c API and thus in rcs programs. paves the way for diff support in usr.bin/rcs programs. ok joris@ | |||||
* | missing casts; ok joris | 2005-08-14 | 1 | -6/+6 | ||
| | ||||||
* | use LP_NOTICE instead of LP_INFO where appropriate; | 2005-07-27 | 1 | -2/+2 | ||
| | ||||||
* | KNF; | 2005-07-25 | 1 | -47/+48 | ||
| | ||||||
* | use the cf_name field of the CVSFILE struct instead of using the old | 2005-07-22 | 1 | -4/+3 | ||
| | | | | | | | | CVS_FILE_NAME macro. This macro used to be nifty because of all the referencing for the names, but since we don't do that anymore and use cf_name directly... byebye CVS_FILE_NAME() okay xsa@ | |||||
* | <sys/param.h> is already included in "cvs.h", no need to duplicate; | 2005-07-21 | 1 | -2/+1 | ||
| | ||||||
* | the status variable is gone. | 2005-07-11 | 1 | -4/+1 | ||
| | ||||||
* | add proper handling for realloc() failure cases, avoiding bad idiom and | 2005-07-11 | 1 | -12/+52 | ||
| | | | | | | plugging a few potential memory leaks. ok joris@ | |||||
* | - get rid of an unused variable. | 2005-07-10 | 1 | -20/+18 | ||
| | | | | - stone() and newcand() could fail, handle it. | |||||
* | no need to declare the verbosity var here as it is already done in cvs.h; | 2005-07-10 | 1 | -3/+1 | ||
| | ||||||
* | only display info msg if -q is not specified; | 2005-07-10 | 1 | -2/+5 | ||
| | ||||||
* | kill useless "&& r1 == NULL" expression. | 2005-07-09 | 1 | -2/+2 | ||
| | | | | ok joris@ | |||||
* | explicit casts to const char * | 2005-07-09 | 1 | -3/+3 | ||
| | | | | ok joris@ | |||||
* | - fix commands usage | 2005-06-28 | 1 | -6/+8 | ||
| | | | | | | - fix rdiff aliases ok joris | |||||
* | * introduce cvs_putchar(), to output a single character to stdout. | 2005-06-05 | 1 | -42/+42 | ||
| | | | | | | | | | 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@ | |||||
* | headers ordering (alphabetically) and cleanup, from mbalmer@ and myself; | 2005-05-31 | 1 | -7/+7 | ||
| | ||||||
* | remove LP_ERROR log priority level and rather use LP_ERR as they are both | 2005-05-31 | 1 | -3/+3 | ||
| | | | | | | the same... ok jfb joris | |||||
* | b1 and b2 can be NULL if an invalid revision is given. | 2005-05-31 | 1 | -1/+16 | ||
| | | | | if one of them is NULL, bail out. | |||||
* | check cvs_sendarg() return value; ok joris@ | 2005-05-30 | 1 | -13/+20 | ||
| | ||||||
* | if the user specified a revision to diff, stop caring if the file is | 2005-05-27 | 1 | -2/+2 | ||
| | | | | up to date. | |||||
* | Merge the cvs_cmd and cvs_cmd_info structures and add the necessary | 2005-05-24 | 1 | -143/+196 | ||
| | | | | | | | fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris | |||||
* | remove ununsed code | 2005-05-22 | 1 | -28/+6 | ||
| | ||||||
* | correct wrong error code usage. | 2005-05-20 | 1 | -2/+2 | ||
| | | | | ok jfb@, xsa@ | |||||
* | resurrect missing parts to generate rcsdiff(1)-style diffs with the -n | 2005-04-25 | 1 | -2/+21 | ||
| | | | | | | flag ok xsa | |||||
* | missing '-R' (force recursion) option for diff. | 2005-04-22 | 1 | -1/+4 | ||
| | | | | noticed by brad@ | |||||
* | Modify the CVSFILE structure using a union to keep information about | 2005-04-18 | 1 | -22/+9 | ||
| | | | | | | | | | both files and directories. We can now keep the revision number for regular files, and don't need to fetch the appropriate entry in the command callbacks. This saves a huge amount of parsing on Entries files. ok joris@ | |||||
* | snprintf return value check; joris ok | 2005-04-16 | 1 | -2/+10 | ||
| | ||||||
* | completely fix the diff command | 2005-04-14 | 1 | -2/+2 | ||
| | ||||||
* | introduce our own set of error codes used by the commands to report | 2005-04-12 | 1 | -13/+13 | ||
| | | | | | | what exactly went wrong in case of an error. ok jfb@ | |||||
* | don't include sysexits.h now we don't use those error codes | 2005-04-11 | 1 | -2/+1 | ||
| | | | | anymore. | |||||
* | remove EX_USAGE error codes | 2005-04-11 | 1 | -3/+3 | ||
| | | | | ok jfb@ | |||||
* | first round of EX_* exit codes removal; ok joris@. | 2005-04-03 | 1 | -2/+2 | ||
| | ||||||
* | remove unused variable. | 2005-03-31 | 1 | -3/+1 | ||
| | ||||||
* | move all the client commands to the new command framework. | 2005-03-30 | 1 | -53/+49 | ||
| | | | | | | eliminates a lot of duplicate code. ok jfb@ | |||||
* | Many improvements to the RCS support: | 2005-02-27 | 1 | -2/+2 | ||
| | | | | | | | | | | | | | - make it possible to specify creation and the file mode in rcs_open() - implicitly write the contents to disk on rcs_close() if the RCS handle has been changed - fix a bug in the output of the `expand' keyword - add functions to retrieve and modify the expansion mode - rcs_parse() shouldn't be available to the outside - empty string instead of `(null)' if there is no description ok Joris | |||||
* | - switch to rcsnum_parse() where appropriate | 2005-02-25 | 1 | -5/+3 | ||
| | | | | - make rcsnum_parse() fail if it encounters an invalid character | |||||
* | first round of malloc()/realloc() fixes: | 2005-02-01 | 1 | -15/+74 | ||
| | | | | | | | | | | - avoid using the original pointer to store the return value of realloc(), so we can free it in case of failure - check return values for allocation failures and return errors in the appropriate cases - free the diff buffers once the diff has been generated feedback and testing by Joris Vink | |||||
* | apply sizeof() to the appropriate buffer in a strlcpy() call | 2005-01-29 | 1 | -2/+2 | ||
| | | | | spotted by Andrey Matveev (andrushock at korovino dot net) | |||||
* | missing space and kill a gcc warning | 2005-01-14 | 1 | -3/+4 | ||
| | ||||||
* | resurrect the -N and -p options to the diff command | 2005-01-13 | 1 | -7/+63 | ||
| | | | | requested and tested by brad@, thanks! | |||||
* | remove signedness warnings; jfb ok | 2004-12-28 | 1 | -2/+2 | ||
| | ||||||
* | rename parameters to avoid shadowing global declarations | 2004-12-28 | 1 | -7/+7 | ||
| | ||||||
* | use Argument instead of Argumentx when sending a revision or date | 2004-12-28 | 1 | -5/+5 | ||
| | | | | this makes the -r and -D options work with diff | |||||
* | complain about lost files | 2004-12-14 | 1 | -1/+6 | ||
| | ||||||
* | use mkstemp for local diff -r r1 -r r2; ok jfb@ | 2004-12-08 | 1 | -4/+13 | ||
| | ||||||
* | less whitespace, more pretty. ok jfb | 2004-12-07 | 1 | -8/+1 | ||
| |