summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2004-07-30Xrs from Alexey E. Suslikov;Jason McIntyre
2004-07-30- sort optionsJason McIntyre
- missing full stop - uppercase `id' - add SEE ALSO; suggested by Alexey E. Suslikov - add `-d host:port' to usage()
2004-07-30Add cvs_file_find() to find a particular file from its path within aJean-Francois Brousseau
hierarchy
2004-07-30- better width for options listJason McIntyre
- sort options - small tweaks - Xrs from Alexey E. Suslikov
2004-07-30- better width for options listJason McIntyre
- some Xrs from Alexey E. Suslikov;
2004-07-30A true gem.Marco Peereboom
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
2004-07-29* when comparing timestamps, use the last modification time insteadJean-Francois Brousseau
of the last access time. No wonder all the files appeared as modified * always show directories as up to date * skeleton for cvs_file_getspec()
2004-07-29Define 'CVS' or 'CVSD' depending on which program we are compiling andJean-Francois Brousseau
add a bunch of warnings for cvs
2004-07-29Don't set the output filename when in -t mode. Avoids an error whenTodd C. Miller
the input filename lacks a .gz. OK mickey@
2004-07-28Only put a space in the client buffer if the request has a non-NULLJean-Francois Brousseau
argument. This is only for prettying and makes us closer to the GNU behaviour
2004-07-28more s/illegal/invalid/Markus Friedl
2004-07-28call setsid() _before_ re-execMarkus Friedl
2004-07-28remove dead Xr to uucp(1); from misc@;Jason McIntyre
ok millert@
2004-07-28Remove a debugging messageJean-Francois Brousseau
2004-07-28Fix $OpenBSD$ tagJean-Francois Brousseau
2004-07-28Pass the appropriate argument to cvs_client_connect()Jean-Francois Brousseau
2004-07-28Add a small cache for parsed CVSROOT strings and return a pointer to aJean-Francois Brousseau
previously cached entry when we encounter the same string more than once.
2004-07-28Pass the appropriate arguments to cvs_client_connect() andJean-Francois Brousseau
cvs_client_disconnect()
2004-07-28* prepare for an overhaul of the connection code by adding a cvsrootJean-Francois Brousseau
parameter to the cvs_client_connect() and cvs_client_disconnect() functions, so we rely less and less on a global variable
2004-07-28Add a newline at the end of the strings put in CVS/Root andJean-Francois Brousseau
CVS/Repository, like GNU CVS does
2004-07-28Fix the timestamp parsing for Mod-time. Months are now being detectedJean-Francois Brousseau
correctly and there is no assumption about Daylight Savings Time
2004-07-27the `.#*' pattern actually still matches, include it in standardJean-Francois Brousseau
ignore patterns
2004-07-27Fix directory loading with the new file structure allocation codeJean-Francois Brousseau
2004-07-27Be less retarded when parsing the contents of a CVS/Root fileJean-Francois Brousseau
2004-07-27Comment out unused code and some minor cleanup. Add the prototype andJean-Francois Brousseau
skeleton for cvs_printf(), which will be used to output strings that do not need all of the handling that cvs_log() performs. This will be used among other things to prepend the `M' and `E' family of responses to output made by the `server' command.
2004-07-27* use a mix of mktime() and ctime_r() instead of asctime_r() to calculateJean-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 theJean-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-27macro fixesJared Yanovich
punctuation use 'Bl -diag' for diagnostic lists ok jmc
2004-07-27* when opening an Entries file for writing, open the file in append modeJean-Francois Brousseau
* when parsing the entries, break if we encounter the last line 'D' * when adding the line to the file, generate it from the fields instead of taking the line
2004-07-27* don't always return 0 in cvs_client_sendreq()Jean-Francois Brousseau
2004-07-27Zero out the cvs root structure before assigning the fields, otherwiseJean-Francois Brousseau
we can end up with pretty strange results
2004-07-27* create cvs_file_alloc() to keep one copy of the file allocation codeJean-Francois Brousseau
and reuse it * add cvs_file_create() to explicitly create a file or directory * add cvs_mkadmin() to fill the administrative files for a CVS directory
2004-07-26* make checkout work in remote mode (almost)Jean-Francois Brousseau
2004-07-26Fix headerJean-Francois Brousseau