Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-05-24 | as a client, the the Root response first, before trying to ask the version | Joris Vink | |
from our server. This will prevent our server from screwing up in cvs_startcmd(). ok jfb@ | |||
2005-05-24 | send the -n flag to the server as part of connection initialization | Jean-Francois Brousseau | |
if it was given on the command-line | |||
2005-05-23 | allow the CVS_CLIENT_LOG stuff to take variables which expand | Joris Vink | |
into usefull information to create unique logfile names. okay jfb@ | |||
2005-05-12 | snprintf checks; joris ok | Xavier Santolaria | |
2005-05-09 | cvs_getln() can fail and return -1. | Joris Vink | |
2005-04-22 | finish support for the '-' token in the Entry file, this allows | Joris Vink | |
us to mark files as removed, and lets the remove command work completely. tested and ok xsa@, jfb@ | |||
2005-04-18 | don't send an Entry reply to the server for unknown files, | Joris Vink | |
fixes "foo is not (any longer) pertinent" errors | |||
2005-04-18 | Modify the CVSFILE structure using a union to keep information about | Jean-Francois Brousseau | |
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@ | |||
2005-04-03 | first round of EX_* exit codes removal; ok joris@. | Xavier Santolaria | |
2005-03-30 | move all the client commands to the new command framework. | Joris Vink | |
eliminates a lot of duplicate code. ok jfb@ | |||
2005-03-26 | fix a variety of things i found at coverity. ok joris@ | Ted Unangst | |
2005-03-13 | unbreak, and do this correct. | Joris Vink | |
2005-03-13 | simplify if {} else {} case. | Joris Vink | |
ok xsa@ | |||
2005-03-04 | add missing 'add' request in cvs_request table. | Joris Vink | |
ok jfb@ | |||
2005-02-04 | cleanup and additional error checking on connection setup | Jean-Francois Brousseau | |
2005-01-14 | minor knf and cleanup, and remove unneeded extern declarations, they | Jean-Francois Brousseau | |
are now in cvs.h | |||
2005-01-14 | sprinkle more error reporting and add a trace when sending a file | Jean-Francois Brousseau | |
to the server | |||
2004-12-22 | spelling corrections; ok jmc@ | David Krause | |
2004-12-16 | make cvs_connect() print an error message and return with an error | Jean-Francois Brousseau | |
code if an unsupported connection method is specified in the root specification, and warn that pserver will never be supported due to its poor security | |||
2004-12-14 | missing `tag' request in the request table | Jean-Francois Brousseau | |
from Joris Vink | |||
2004-12-08 | support for the `Copy-file' response | Jean-Francois Brousseau | |
2004-12-08 | add a small protection to avoid reconnecting to a server to which we | Jean-Francois Brousseau | |
are already connected. instead, cvs will print a notice. | |||
2004-12-08 | avoid resending a directory if it was the last directory sent to the | Jean-Francois Brousseau | |
server | |||
2004-12-07 | less whitespace, more pretty. ok jfb | Ted Unangst | |
2004-12-06 | tighten vertical spacing for else; jfb ok | Theo de Raadt | |
2004-12-02 | This commit is brought to you by the brand new improved and better tasting | Jean-Francois Brousseau | |
OpenCVS commit code. | |||
2004-11-26 | Rewrite the internals of the file management code so that we do not keep | Jean-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-11-16 | more correct error checking, from Joris Vink <amni at pandora dot be> | Jean-Francois Brousseau | |
2004-11-15 | Fix some issues in the protocol dispatch table: | Jean-Francois Brousseau | |
- set the 'log', 'history', 'rdiff' and 'rtag' commands to require a response - replace the entry for 'rannotate' (which doesn't exist) with 'annotate' and also remove 'rlog' (which doesn't exist either) | |||
2004-09-23 | Lower the level of an error message | Jean-Francois Brousseau | |
2004-08-27 | Fix two descriptor leaks | Jean-Francois Brousseau | |
2004-08-13 | Leave stderr alone for the moment | Jean-Francois Brousseau | |
2004-08-12 | Don't attempt to send the `Root' request if the operation is an `init' | Jean-Francois Brousseau | |
2004-08-12 | Don't bother about the server's standard error just yet | Jean-Francois Brousseau | |
2004-08-05 | When spawning the subprocess for the connection, attach a pipe to its | Jean-Francois Brousseau | |
standard error as well | |||
2004-08-04 | * set the maximum number of arguments to 256 for the moment | Jean-Francois Brousseau | |
* cvs_sendresp() is now required, so uncomment it | |||
2004-08-03 | Move all of the request- and response-specific handlers into separate | Jean-Francois Brousseau | |
files and have only the generic function of each type available to the outside | |||
2004-08-02 | When we connect to a remote server, always send the Version request and | Jean-Francois Brousseau | |
add a hack so we don't print it (we receive it through a 'M') but store it in the cvs root structure instead. This will allow us to make better decisions in what we use to communicate with the remote server. | |||
2004-08-02 | * copy most of the code from cvs_resp_handle() into cvs_req_handle() | Jean-Francois Brousseau | |
and add some protection for unimplemented handlers * add a bogus handler for the `Template' response, which we'll handle soon | |||
2004-07-30 | Minor bug fixes | Jean-Francois Brousseau | |
2004-07-30 | Handle the `Rcs-diff' response so we can patch on updates | Jean-Francois Brousseau | |
2004-07-30 | Move to the new API for the client-server protocol. All functions now | Jean-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-29 | New protocol API commented out, not ready yet | Jean-Francois Brousseau | |
2004-07-29 | Define a flag to tell if a request expects a response. This will later | Jean-Francois Brousseau | |
allow us to do implicit response handling and remove the third argument to cvs_client_sendreq() | |||
2004-07-29 | No more cvs_root | Jean-Francois Brousseau | |
2004-07-28 | Fix the timestamp parsing for Mod-time. Months are now being detected | Jean-Francois Brousseau | |
correctly and there is no assumption about Daylight Savings Time | |||
2004-07-27 | * use a mix of mktime() and ctime_r() instead of asctime_r() to calculate | Jean-Francois Brousseau | |
the Mod-time timestamp. This way, mktime() fills in information about the week day and day of year which was not calculated with the previous method * calculate the GMT offset This fixes a bug where each CVS entry in the Entries files would have `Sun' (for Sunday) as the day of the week. | |||
2004-07-27 | * parse the timestamp given to Mod-time correctly and store it so the | Jean-Francois Brousseau | |
next operation on a file can use it (actually, we need to fix the problem with weekdays) * when getting a sticky command and the directory doesn't exist, create it and populate it with CVS admin files | |||
2004-07-26 | * fix two offset bugs in MT stack handling | Jean-Francois Brousseau | |
* create the directory if it does not exist when getting a `Clear-sticky' or `Set-sticky' * fix the cvs_client_getln() that was missing in cvs_resp_statdir() * when receiving a `Created', read the proper lines, then generate a valid pathname to pass to cvs_recvfile() * don't try to compare checksums if the checksum pointer is NULL * in cvs_recvfile(), open the file with the proper flags | |||
2004-07-26 | * start working on the MT support | Jean-Francois Brousseau | |
* add dummy handlers for `Set-sticky', `Clear-sticky' and `Module-expansion' |