summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2004-08-03When creating a file, set its last access and modification times to theJean-Francois Brousseau
last timestamp received by the `Mod-time' command
2004-08-03Move all of the request- and response-specific handlers into separateJean-Francois Brousseau
files and have only the generic function of each type available to the outside
2004-08-03Don't MKADMIN on cvs_file_get()Jean-Francois Brousseau
2004-08-03Fix an annoying error message on checkouts by loading administrativeJean-Francois Brousseau
information from the CVS Entries, Root and Repository files if the CVS directory exists
2004-08-03cleanupJean-Francois Brousseau
2004-08-03Initialize ndirsJean-Francois Brousseau
2004-08-03Add a per-root mask of supported requests and a set of macros to set, getJean-Francois Brousseau
and clear the appropriate bits for each request
2004-08-02Unused variableJean-Francois Brousseau
2004-08-02Remove cruft and unbreak compilationJean-Francois Brousseau
2004-08-02When we connect to a remote server, always send the Version request andJean-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-02Get a step closer to realityJean-Francois Brousseau
2004-08-02* wrap more code between program-dependent ifdef's and fix a bug whileJean-Francois Brousseau
we're at it
2004-08-02* no locks for nowJean-Francois Brousseau
2004-08-02* add the appropriate preprocessor wrappers to compile only the codeJean-Francois Brousseau
required for each program * make cvs_sock_connect() take a full path to the socket
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-08-02Compile the RCS code into the cvs daemon for later useJean-Francois Brousseau
2004-08-02Unused variablesJean-Francois Brousseau
2004-08-02Allocate a dynamic buffer for sorting. This way, we don't bork anymoreJean-Francois Brousseau
on directories with huge sets of files, and fix a bug while we're at it. When sorting failed, the files that had been removed from the list didn't get pushed back in it.
2004-07-31Update the TODO fileJean-Francois Brousseau
2004-07-31All the protocol code is in proto.c nowJean-Francois Brousseau
2004-07-31Remove old codeJean-Francois Brousseau
2004-07-31Minor fixes and remove debugging messagesJean-Francois Brousseau
2004-07-30No more global cvs_rootJean-Francois Brousseau
2004-07-30Remove remaining references to cvs_rootJean-Francois Brousseau
2004-07-30Minor bug fixesJean-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-30missing includeJean-Francois Brousseau
2004-07-30FixJean-Francois Brousseau
2004-07-30Plug in the handler for `cvs status'Jean-Francois Brousseau
2004-07-30Lots of cleanup, and add an internal version of cvs_file_get() so we canJean-Francois Brousseau
link parent directories before the file info is being retrieved. This allows us to open most of the CVS administrative files only once
2004-07-30Handle the `Rcs-diff' response so we can patch on updatesJean-Francois Brousseau
2004-07-30* remove header cruft that belongs in file.hJean-Francois Brousseau
* be more intelligent with the file open mode. It seems rewind() doesn't work too well with a file opened in append mode
2004-07-30When calling cvs_mkadmin(), only create the files if they don't alreadyJean-Francois Brousseau
exist
2004-07-30Add cvs_file_find() to find a particular file from its path within aJean-Francois Brousseau
hierarchy
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-29New protocol API commented out, not ready yetJean-Francois Brousseau
2004-07-29Define a flag to tell if a request expects a response. This will laterJean-Francois Brousseau
allow us to do implicit response handling and remove the third argument to cvs_client_sendreq()
2004-07-29No more cvs_rootJean-Francois Brousseau
2004-07-29Don't export `cvs_root'Jean-Francois Brousseau
2004-07-29Make cvs_client_sendinfo() aware of its root context and remove theJean-Francois Brousseau
exporting of cvs_root
2004-07-29No need to import the `cvs_root' symbol anymore, it is done in cvs.hJean-Francois Brousseau
2004-07-29Use the `CVS' define to simplify exporting symbolsJean-Francois Brousseau
2004-07-29Remove debugging statementsJean-Francois Brousseau
2004-07-29undefine DEBUGJean-Francois Brousseau
2004-07-29Do not error out when calling rcsnum_aton() on the string "0", which isJean-Francois Brousseau
a valid RCSNUM
2004-07-29update meatJean-Francois Brousseau
2004-07-29Loop on the call to getdirentries() until there are no more entries.Jean-Francois Brousseau
Before this, only the first entries of the directory that fit in the buffer were loaded
2004-07-29* move to tail queues for file list managementJean-Francois Brousseau
* when generating the list of files for a directory, put all the subdirectories at the end, sorted
2004-07-29typoJean-Francois Brousseau
2004-07-29Use tail queues instead of lists to manage file entriesJean-Francois Brousseau