summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2004-08-10Cleanup, and don't close the Entries file handle for a directory when weJean-Francois Brousseau
are done loading its contents. We will need the file for whatever changes we bring to it
2004-08-06Cleanup and fix a call to cvs_splitpath()Jean-Francois Brousseau
2004-08-06* add a flag CF_NOSYMS to avoid loading information about symbolic linksJean-Francois Brousseau
and fix 2 calls to cvs_splitpath() * unbreak cvs_file_find()
2004-08-06Fix usage of cvs_splitpath()Jean-Francois Brousseau
2004-08-06Fix the SIGINT handlerJean-Francois Brousseau
2004-08-06Simplify cvs_splitpath() by requiring only one buffer to copy the resultJean-Francois Brousseau
into
2004-08-06Handle case insensitivity for realJean-Francois Brousseau
2004-08-06Handle the '-b' and '-x' global options even if we don't support them,Jean-Francois Brousseau
and add support for case insensitivity
2004-08-06Add fields to keep track of the file's mode and last modification timeJean-Francois Brousseau
2004-08-06Unused variableJean-Francois Brousseau
2004-08-06Start using the global files listJean-Francois Brousseau
2004-08-06Have one global hierarchy of files that are being affected. This willJean-Francois Brousseau
allow us to build the tree in memory as well as on disk for operations such as checkout and update. It will also allow us to write all Entries in a single disk write and to avoid creating empty directories on updates when pruning is requested
2004-08-06the CF_STAT flag is useless now, all we have to do is extract the requiredJean-Francois Brousseau
information and keep it in the file structure
2004-08-05When splitting a path, strip the trailing slashes before splitting it,Jean-Francois Brousseau
otherwise a path with a trailing slash would give an empty file name and the original path as the base part
2004-08-05Add a new log level LP_ABORT, which modifies the behaviour of prefixJean-Francois Brousseau
generation by outputting something similar to GNU CVS: cvs [<command> aborted]: message
2004-08-05Adapt the logging so any messages generated by the server will beJean-Francois Brousseau
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
2004-08-05When spawning the subprocess for the connection, attach a pipe to itsJean-Francois Brousseau
standard error as well
2004-08-04Simplify entry parsingJean-Francois Brousseau
2004-08-04Handlers for the `valid-requests' and `Valid-responses' requestsJean-Francois Brousseau
2004-08-04* set the maximum number of arguments to 256 for the momentJean-Francois Brousseau
* cvs_sendresp() is now required, so uncomment it
2004-08-04Handler for the `Global_opt' requestJean-Francois Brousseau
2004-08-04Handler for the `Argument' and `Argumentx' requestsJean-Francois Brousseau
2004-08-03Implement cvs_ent_remove()Jean-Francois Brousseau
2004-08-03Add a section for macrosJean-Francois Brousseau
2004-08-03Fix some small bugs and make macros work for realJean-Francois Brousseau
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