summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/diff.c
AgeCommit message (Collapse)Author
2005-04-03first round of EX_* exit codes removal; ok joris@.Xavier Santolaria
2005-03-31remove unused variable.Joris Vink
2005-03-30move all the client commands to the new command framework.Joris Vink
eliminates a lot of duplicate code. ok jfb@
2005-02-27Many improvements to the RCS support:Jean-Francois Brousseau
- 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
2005-02-25- switch to rcsnum_parse() where appropriateJean-Francois Brousseau
- make rcsnum_parse() fail if it encounters an invalid character
2005-02-01first round of malloc()/realloc() fixes:Jean-Francois Brousseau
- 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
2005-01-29apply sizeof() to the appropriate buffer in a strlcpy() callJean-Francois Brousseau
spotted by Andrey Matveev (andrushock at korovino dot net)
2005-01-14missing space and kill a gcc warningJean-Francois Brousseau
2005-01-13resurrect the -N and -p options to the diff commandJean-Francois Brousseau
requested and tested by brad@, thanks!
2004-12-28remove signedness warnings; jfb okXavier Santolaria
2004-12-28rename parameters to avoid shadowing global declarationsJean-Francois Brousseau
2004-12-28use Argument instead of Argumentx when sending a revision or dateJean-Francois Brousseau
this makes the -r and -D options work with diff
2004-12-14complain about lost filesJean-Francois Brousseau
2004-12-08use mkstemp for local diff -r r1 -r r2; ok jfb@Damien Miller
2004-12-07less whitespace, more pretty. ok jfbTed Unangst
2004-12-06tighten vertical spacing for else; jfb okTheo de Raadt
2004-12-06Missing prototype for cvs_diff_sendflags(), removes a gcc warningJean-Francois Brousseau
2004-11-26Rewrite the internals of the file management code so that we do not keepJean-Francois Brousseau
a full path to each file we load, and cache file names so we can have multiple references to a single name. This saves a lot of memory on large trees such as /usr/src, especially on 'Makefile', 'README' and such.
2004-08-12Fix handling of unknown directoriesJean-Francois Brousseau
2004-08-06Start using the global files listJean-Francois Brousseau
2004-07-30fix diffing by sending the base directory just before sending the 'diff'Jean-Francois Brousseau
command, and remove some debugging messages
2004-07-30Move to the new API for the client-server protocol. All functions nowJean-Francois Brousseau
take a cvs root structure as parameter. This will allow for much easier management of CVS trees that make use of multiple roots.
2004-07-14prepare the entries interface so we can add entriesJean-Francois Brousseau
2004-07-14print diffargs correctly instead of a (null). This should make the diffJean-Francois Brousseau
output exactly the same as the one from GNU CVS
2004-07-13* initial import from the cvs-tools moduleJean-Francois Brousseau